@charset "utf-8";

/*-----
 * Default Layout
 */
* {
	margin: 0;
	padding: 0;
}
html {
	overflow-y: scroll;
}
body {
	padding-top: 100px;
	/*min-width: 960px;*/
	color: #000;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-text-size-adjust: none;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
	line-height: 140%;
}
p, dt, dd, li, th, td {
/*
	max-width: 766px;
	font-size: 0.8rem;
	line-height: 1.5rem;
*/
	font-size: 0.8rem;
	line-height: 1.5rem;
/*	text-align: justify;*/
}
li {
	list-style: none;
}
li li {
	font-size: 100%;
}

table.tableCV {
	width: 100%;
	border-collapse: collapse;
}

table.tableCV * {
	font-size: 0.8rem;
	line-height: 1.8rem;
	vertical-align: top;
}

table.tableCV tr td:nth-child(1) {
  width:80px;
}

table.tableNews {
	width: 100%;
	border-collapse: collapse;
}

table.tableNews * {
	font-size: 0.8rem;
	line-height: 1.2rem;
	vertical-align: top;
	padding-bottom: 10px;
}

table.tableNews tr img:hover {
	opacity: 0.5;
}

table.tableNews tr td:nth-child(1) {
	width:15%;
	min-width: 100px;
	padding-right: 30px;
}

img {
	border: none;
	vertical-align: bottom;
}
b {
	font-weight: normal;
}
i {
	font-style: italic;
}
small {
	font-size: smaller;
}
/* html5 */
article, aside, canvas, details, figcaption, figure, footer, header, menu, nav, section, summary {
	display: block;
}
a {
	color:gray;
}

/*
 * コンテンツ
 */
/*div.contents {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}*/

div.contents {
	padding-left: 10%;
	padding-right: 10%;
}

#container {
	padding-left: 5%;
	padding-right: 20%;
}

#container-center {
	padding-left: 10%;
	padding-right: 10%;
}

#subContainer {
	padding-left: 20%;
	padding-right: 5%;
}

/*
#subContainer > #worksData {
	padding-left: 20%;
	padding-right: 5%;
}
*/

div.imgRight {
	padding-left: 20%;
	padding-right: 2%;
}

div.imgLeft {
	padding-left: 2%;
	padding-right: 20%;
}


div.space {
	padding: 30px;
}

div.spaceLarge {
	padding: 50px;
}

img.works{
	width: 100%;
	max-height: 70vh;
	object-fit: cover;	
/*	max-width: 766px;*/
}

img.worksTate{
	width: auto;
	max-height: 70vh;
}

ul.worksSub {
/*	padding-top: 50px;*/
	padding-bottom: 5px;
	display: flex;
	justify-content: center;
}

ul.worksSub > li {
	list-style: none;
	padding-right: 5px;
}

/*
ul.worksSub > li:nth-child(2) {
	margin: 0 5px;
}
*/

ul.worksSub > li > img {
	display: block;
    aspect-ratio: 3/2;
    width: 100%;
    height: 100%;
    object-fit: cover;	
/*
	width: 100%;
	object-fit: cover;
*/
}

img.smallWorks{
	width: 80%;
}

p.captionEN {
	padding-top: 20px;
	font-size: 0.8rem;
	max-width: 766px;
	line-height: 1.2rem;
}
/*
p.captionEN span {
	display: block;
	font-size: 0.6rem;
	line-height: 1rem;
}
*/

p.captionJP {
	padding-top: 5px;
	font-size: 0.6rem;
	max-width: 766px;
}

p.captionDiscriptionJP {
	max-width: 766px;
	padding-top: 50px;
	font-size: 0.8rem;
	line-height: 1.5rem;
}

p.captionDiscriptionAlignRight {
	max-width: 766px;
	padding-top: 10px;
	font-size: 0.8rem;
	line-height: 1.5rem;
	text-align: right;
}

p.nomal_text {
	font-size: 0.8rem;
	line-height: 1.2rem;
	padding-bottom: 20px;
}

.contents h1 {
	/*text-decoration: underline;*/
	border-bottom: solid 1px black;
	margin-bottom: 20px;
}

/*
 * スライド
 */

#slide {
	position: relative;
	width: 100%;
/*	height: 50vh;*/
/*	padding-top: 66.6%;*/
	padding-top: 100vh;
	z-index: -1;
}

#slide div {
	position: absolute;
	top: 0;
  	left: 0;
	width: 100%;
	opacity: 0;
/*	animation: change-img-anim 56s infinite;*/
/*
	animation-duration: 15s;
	animation-iteration-count: infinite;
*/
}

#slide div img {
	width: 100%;
	height: 80vh;
	object-fit: cover;	
}

#slide div p {
	background: #fff;
}

#slide div:nth-of-type(1) {
/*	animation-delay: 0s;*/
	animation: change-img-anim 70s 0s infinite forwards;
}
#slide div:nth-of-type(2) {
/*	animation-delay: 8s;*/
	animation: change-img-anim 70s 8s infinite forwards;
}
#slide div:nth-of-type(3) {
/*	animation-delay: 16s;*/
	animation: change-img-anim 70s 16s infinite forwards;
}
#slide div:nth-of-type(4) {
/*	animation-delay: 24s;*/
	animation: change-img-anim 70s 24s infinite forwards;
}
#slide div:nth-of-type(5) {
/*	animation-delay: 32s;*/
	animation: change-img-anim 70s 32s infinite forwards;
}
#slide div:nth-of-type(6) {
/*	animation-delay: 40s;*/
	animation: change-img-anim 70s 40s infinite forwards;
}
#slide div:nth-of-type(7) {
/*	animation-delay: 48s;*/
	animation: change-img-anim 70s 48s infinite forwards;
}
#slide div:nth-of-type(8) {
/*	animation-delay: 48s;*/
	animation: change-img-anim 70s 56s infinite forwards;
}
#slide div:nth-of-type(9) {
/*	animation-delay: 48s;*/
	animation: change-img-anim 70s 62s infinite forwards;
}

@keyframes change-img-anim {
	0%{ opacity: 0; z-index: 10}
	5%{ opacity: 1;}
	95%{ opacity: 1;}
	100%{ opacity: 0; z-index: 0}
}

/*
 * グリッド
 */
#gridContainer {
	display: grid;
	padding-left: 10%;
	padding-right: 10%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#gridContainer div {
	padding-right: 5%;
}

#gridContainer div a {
	text-decoration: none;
	color: black;
}

#gridContainer div a:hover img {
	transform: scale(0.95);
	transition: 0.5s;
/*	opacity: 0.6;*/
}

#gridContainer div img {
	aspect-ratio: 1/1;
  	width: 100%;
	height: auto;
	object-fit: cover;
}

p.gridCapTitle {
	padding-top: 10px;
	font-size: 0.8rem;
	line-height: 1rem;
	font-weight: bold;
	max-width: 766px;
}

p.gridCapInfo {
	padding-top: 10px;
	padding-bottom: 20%;
	font-size: 0.6rem;
	line-height: 1rem;
	max-width: 766px;
}


/* サブ画像 */
#subImgContainerTYY {
	display: grid;
	padding-top: 0px;
	padding-bottom: 5px;
	grid-gap: 5px;
	grid-template-rows: auto auto; /*40vh 40vh*/
	grid-template-columns: 1fr 1fr;
}

#subImgContainerTYY img {
    display: block;
    aspect-ratio: 3/2;
    width: 100%;
    height: 100%;
    object-fit: cover;	
}

#subImgContainerTYY img:nth-child(1) {
	grid-row: 1/3;
	grid-column: 1/2;
}

#subImgContainerTYY img:nth-child(2) {
	grid-row: 1/2;
	grid-column: 2/3;
}

#subImgContainerTYY img:nth-child(3) {
	grid-row: 2/3;
	grid-column: 2/3;
}

#subImgContainer4Y {
	display: grid;
	padding-top: 0px;
	grid-gap: 5px;
	grid-template-columns: 1fr 1fr;
}

#subImgContainer4Y img {
    display: block;
    aspect-ratio: 3/2;
    width: 100%;
    height: 100%;
	grid-template-rows: 40vh 40vh;
    object-fit: cover;	
}

#subImgContainer4Y img:nth-child(1) {
	grid-row: 1/2;
	grid-column: 1/2;
}

#subImgContainer4Y img:nth-child(2) {
	grid-row: 1/2;
	grid-column: 2/3;
}

#subImgContainer4Y img:nth-child(3) {
	grid-row: 2/3;
	grid-column: 1/2;
}

#subImgContainer4Y img:nth-child(4) {
	grid-row: 2/3;
	grid-column: 2/3;
}


/*
 * Worksテキスト
 */
p.worksTitle {
	padding-top: 30px;
	font-size: 1.2rem;
	font-weight: bold;
	max-width: 766px;
}

p.worksInfo {
	padding-top: 10px;
	padding-bottom: 50px;
	font-size: 0.7rem;
	line-height: 1.2rem;
	max-width: 766px;
}

p.worksText {
	max-width: 766px;
	font-size: 0.8rem;
	line-height: 1.5rem;
	text-align: justify;
}

p.worksTextAlignRight {
	max-width: 766px;
	padding-top: 10px;
	font-size: 0.6rem;
	line-height: 1rem;
	text-align: right;
}

p.captionR {
	padding-top: 5px;
	font-size: 0.6rem;
	line-height: 1rem;
	text-align: right;
}

p.captionL {
	padding-top: 5px;
	font-size: 0.6rem;
	line-height: 1rem;
}

#worksData {
	margin-bottom: 150px;
}

/*
 * フッター
 */
#footer {
	padding: 0 97px;
}
#footer div.inner {
	overflow: hidden;
	position: relative;
	margin: 7px auto 0;
	padding: 100px 0 50px;
	/*border-top: 1px solid #000/*E60012*//*;*/
}
#footer p{
	text-align: center;
	font-size: 12px;
	line-height: 120%;
}
/* コピーライト */
#copyright {
	clear: both;
	padding-top: 14px;
	letter-spacing: 0.5px;
}

/*フォーム*/
form {
	width: 500px;
	margin: auto;
}

.form-item input {
	width: 500px;
	height: 30px;
	font-size: 0.8rem;
	border: 1px solid black;
	margin-bottom: 20px;
}

.form-item textarea {
	width: 500px;
	height: 200px;
	font-size: 0.8rem;
	border: 1px solid black;
	margin-bottom: 20px;
}

.form-submit button {
	font-size: 0.8rem;
	border: 1px solid black;
	color: white;
	background: gray;
	padding: 5px 10px;
	
/*	float: right;*/
}

.form-submit button:hover {
	opacity: 0.8;
}

.form-honeypot {
	display: none;
}

#print {
	display: none;
}

@media screen and (max-width:1280px) {
	#gridContainer {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

/*-----
 *  Mobile Layout: 480px, 320px
 */
@media screen and (max-width:767px) {
	html {
		overflow-y: visible;
	}
	body {
		min-width: inherit;
		font-size: 19px !important;
	}
	
	div.contents {
		padding-left: 8%;
		padding-right: 8%;
	}
	
	#container,
	#subContainer {
		padding-left: 8%;
		padding-right: 8%;
	}
	
	#gridContainer {
		padding-left: 5%;
		padding-right: 5%;
		grid-template-columns: 1fr 1fr;
	}
	#subImgContainerTYY {
		grid-template-rows: auto auto;
	}
	#subImgContainer4Y {
		grid-template-rows: auto auto;
	}
	form {
		width: 100%;
		margin: auto;
	}

	.form-item input,
	.form-item textarea {
		width: 100%;
	}
	#slide{
		padding-top: 80vh;
	}
	
	#slide div img {
		height: 60vh;
	}
	
	#slide div img {
		width: 100%;
		height: 60vh;
		object-fit: cover;
	}
	
	img.worksTate{
		width: 100%;
		height: 60vh;
		object-fit: cover;
	}
} /* Mobile Layout */