@charset "UTF-8";
/* CSS Document */

#contents{
	position: relative;
	max-width: 1000px;
	width: 85%;
	margin: 18% auto 3%;
	color: #737373;
}

/*-----タイトル-----*/

h1{
	font-size: 65px;
	line-height: 1.5;
	margin: 10% 0;
	animation-name: titleAnime;
	animation-fill-mode:forwards;
	animation-duration: 1s;
	animation-delay: 1s;
	opacity: 0;
	z-index: -3;
}
@keyframes titleAnime{
	from{
		opacity: 0;
		left: -30px;
	}
	to{
		opacity: 1;
		left: 0;
	}
}

@media screen and (min-width:768px) and ( max-width:1024px){
	h1{
	font-size: 45px;
}
}

@media screen and ( max-width:767px){
	h1{
	font-size: 30px;
}
}

/*-----タイトル、ここまで-----*/


/*-----リード文-----*/
.lead{
	margin-bottom: 35%;
	z-index: -3;
}


.lead-text{
	font-size: 25px;
	font-weight: 10;
	animation-name: lead-textAnime;
	animation-fill-mode:forwards;
	animation-duration: 1s;
	animation-delay: 1.5s;
	opacity: 0;
}

@keyframes lead-textAnime{
	from{
		opacity: 0;
		bottom: -50px;
	}
	to{
		opacity: 1;
		bottom: 0;
	}
}

@media screen and (min-width:768px) and ( max-width:1024px){
	.lead-text{
	font-size: 17px;
	font-weight: 10;
	opacity: 0;
}
}

@media screen and ( max-width:767px){
	.lead-text{
	font-size: 12px;
	font-weight: 7;
	opacity: 0;
}
}


@media screen and (min-width:768px){
.secret{
	display: none;
}
}



/*-----リード文、ここまで-----*/


/*-----以下、内容-----*/
/*-----フェードアニメ-----*/

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
animation-delay: 0.2s;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(-50px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/*-----スクロールで現れる要素を透過しておく-----*/

.fadeUptrgger2{
	opacity: 0;
}

/*---------------------------------------*/
/*-----フェードアニメ、ここまで-----*/



#movie{
	display: grid;
	position: relative;
	margin: 10% 0 30%;
	height: 130%;
	color: #737373;
}

#movie h2{
	color: #7DCCF3;
	font-size: 3em;
}

.movie-box{
	position: relative;
	background-color: #7DCCF3;
	margin: 0 0 0%;
	padding: 5%;
	color: white;
	z-index: -2;
}

#movie img{
	border: medium;
	border-color: #7DCCF3;
}

#movie .explane{
	border: medium;
	border-color: #7DCCF3;
}


#web{
	display: grid;
	position: relative;
	margin: 10% 0 30%;
	height: 130%;
}

#web h2{
	color: #89c997;
	font-size: 3em;
}

.web-box{
	position: relative;
	background-color: #89c997;
	margin: 0;
	padding: 5%;
	color: white;
	z-index: -2;
}


#narration{
	display: grid;
	position: relative;
	margin: 10% 0 30%;
	height: 130%;
}

#narration h2{
	color: #F39D76;
	font-size: 3em;
}

.narration-box{
	position: relative;
	background-color: #F39D76;
	margin: 0;
	padding: 5%;
	color: white;
	z-index: -2;
}

img{
	margin: 0;
	object-fit: contain;
	width: 100%;
	height: 75%;
}

.grid{
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(240px, 1fr));
	gap: 3%;
	height: 110%;
}

.item{
	display: block;
	width: 100%;
	height: 100%;
	transition: 0.7s;
}

.explane{
	background-color: white;
	padding: 2%;
}

.item h3{
	font-size: 1.1em;
	color: #737373;
	line-height: 1.2;
}

.item p{
	font-size: 1em;
	color: #737373;
	line-height: 1.2;
}

a:hover .item{
	opacity: 0.4;
	transition: 0.7s;
}


@media screen and (min-width:768px) and ( max-width:1024px){
	#movie h2{
		font-size: 2.2em;
	}
	
	#web h2{
		font-size: 2.2em;
	}
	
	#narration h2{
		font-size: 2.2em;
	}
	
	.box-inside h3{
	font-size: 20px;
	}

	.box-inside p{
		font-size: 20px;
	}

}

@media screen and ( max-width:767px){
	#movie h2{
		font-size: 1.6em;
	}
	
	#web h2{
		font-size: 1.6em;
	}
	
	#narration h2{
		font-size: 1.6em;
	}
	
	
	.box-inside h3{
	font-size: 12px;
	}

	.box-inside p{
		font-size: 12px;
	}

}





/*-----本文、ここまで-----*/


/*-----以下、フッター-----*/

footer{
	border-top: 1px #737373 solid;
}

#profile{
	position:relative;
	max-width: 1000px;
	width: 85%;
	margin: 2% auto;
	z-index: 0;
}

#profile ul{
	list-style: none;
	font-size: 20px;
}

#profile ul li{
	margin: 0;
}

@media screen and (min-width:768px) and ( max-width:1024px){
	#profile ul{
			font-size: 15px;
	}
}

@media screen and ( max-width:767px){
	#profile ul{
		font-size: 10px;
	}
}


.copyright{
	margin: 2% auto;
	text-align: center;
	font-size: 13px;
}



/*-----以下、個別ページ-----*/

#workscontents{
	position: relative;
	max-width: 1000px;
	width: 85%;
	margin: 10% auto 18%;
	color: #737373;
	opacity: 0;
	animation-name: workscontents;
	animation-fill-mode: forwards;
	animation-duration: 1s;
	animation-delay: 0.5s;
}

@keyframes workscontents{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
	
}

.address{
	font-size: 18px;
	margin-bottom: 5%;
}

.backpage{
	color: #737373;
	text-decoration-line: underline;
	transition: 0.5s;
}

.backpage:hover{
	color: #BFBFBF;
	transition: 0.5s;
}

.genre{
	font-size: 50px;
	text-align: center;
	line-height: 3;
}

.sample{
	width: 100%;
	height: 100%;
	margin: 0 auto;
	text-align: center;
	object-fit: contain;
}

.websample{
	width: 100%;
	height: 100%;
	margin: 0 auto;
	text-align: center;
}

iframe{
	margin: 0 auto;
}

.web_works{
	width: 560px;
	height: 400px;
	margin: 0 auto;
	overflow-y: visible;
}

.web_works img{
	width: 100%;
	object-fit: cover;
}

.sample-box{
	margin: 10% auto;
	max-width: 700px;
}

.sample-box h2{
	margin-bottom: 5%;
	font-size: 23px;
	text-align: center;
	line-height: 1.5;
}

.sample-box p{
	margin-top: 5%;
	font-size: 23px;
}

.sample-box dl{
	display: flex;
	margin: 0 auto;
	width: 300px;
	font-size: 23px;
	line-height: 1.5;
}

.sample-box dl dt{
	margin: 0 auto;
}

.sample-box dl dd{
	margin: 0 auto;
}