.loading{
	background: #ffffff;
	position: fixed;
	z-index: 12000;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: grid;
  	place-items: center;
  	pointer-events: none;
}

.loading p{
	margin-top: -150px;
	overflow: hidden;
}

@media screen and (min-width:768px){
	.loading p{
		margin-top: 0;
		overflow: hidden;
	}
}
#fv{
	position: relative;
	height: 100vh;
}

.fv_img{
	height: 82.00899550224888vh;
	margin-top: 60px;
}

@media screen and (min-width:768px){
	.fv_img{
		height: 82.41758241758242vh;
		margin-top: 84px;
	}
}

.title{
	display: flex;
	flex-wrap: wrap;
	position: absolute;
	bottom: 15.800183%;
}

.title_anime{
	font-family:"Zen Old Mincho", serif;
	font-size: clamp(46px, 46 / 375 * 100vw ,56px);
	font-weight: 700;
	color: #F3E8C1;
	line-height: 92%;
}

@media screen and (min-width:768px){
	.title{
		bottom: 8.800183%;
	}

.title_anime{
	font-size: clamp(53px, 128 / 1920 * 100vw ,128px);
	line-height: 150%;
}

.name{
	transition-delay: 1s;
}

.portfolio{
	transition-delay: 0.1s;
}

}

/* about================================= */
.about_wrap{
	width: 89.3334%;
	margin: 0 auto;
}


@media screen and (min-width:1024px){
	.about_wrap{
		width: 77.114583%;
		 margin: 30px 0 0 0;
        margin-left: 15.572917%;
		display: flex;
		justify-content: space-between;
		flex-direction: row-reverse;
	}
}

@media screen and (min-width:1440px){
	.about_wrap{
		width: 64.11458333%;
		margin-left:20.57291667%;
	}
}

.about_img{
	width: 50.44776119402985%;
	aspect-ratio: 468 / 622;
	margin-left: auto;
	margin-right: 10px;
	overflow: hidden;
}

.about_img img{
		height: calc(100% + 50px);
	}
@media screen and (min-width:768px){
	.about_img{
		width: 36.447761%;
		height: 57.59259259259259%;
		
	}

	
	.about_img img{
		height: calc(100% + 70px);
	}

	.about_text{
		margin-top: 15.625vw;
	}
}
@media screen and (min-width:1024px){
	.about_img{
		width: 38.0178716490658%;
		margin: 0;
		height: 57.59259259259259%;
	}

	.about_text{
		width: 52.861089%;
	}
}

@media screen and (min-width:1440px){
	.about_text{
		width: 44.861089%;
	}
}

.about_text h2{
	position: relative;
	margin-top: 110px;
}

@media screen and (min-width:768px){
	.about_text h2{
		margin-top: 0;
	}
}

.about_text h2::before{
	content: "ABOUT";
	font-family:"Zen Old Mincho", serif;
	font-size: 48px;
	color: #EFE9D3;
	position: absolute;
	top: -85px;
	left: 0;
	line-height: 150%;
}

        
@media screen and (min-width:768px){
	.about_text h2::before{
		font-size: clamp(96px,calc(156 / 1920 * 100vw) ,156px);
		top: -140px;
        
	}
}
@media screen and (min-width:1024px){
	.about_text h2::before{
        left: -80px;
	}
}

@media screen and (min-width:1440px){
	.about_text h2::before{
		top: -236px;
        left: -250px;
	}
}
.about_text h2 span{
	font-size: clamp(24px,calc(24 / 375 * 100vw) ,32px);
	font-family:"Zen Old Mincho", serif;
	position: relative;
	z-index: 1;
}

.line::after{
	content: "";
	width: 100%;
	height: 10px;
	background: #D9C781;
	position: absolute;
	left: 0;
	bottom: 5px;
	transform: scaleX(0);
	transform-origin: left;
	z-index: -1;
	transition: transform 0.6s ease-in-out;
}

.line.line_animation::after {
  transform: scaleX(1);
}

.line_animation.first::after {
  transition-delay: 0.6s;
  transform: scaleX(1);
}

.line_animation.second::after {
  transition-delay: 1.4s;
  transform: scaleX(1);
}
.about_text p{
	line-height: 200%;
	font-weight: 500;
}

@media screen and (min-width:768px){
	.about_text p{
		line-height: 250%;
		color: #444;
	}
}

.about_text p:first-of-type{
	margin-top: 30px;
}
.about_text p:last-of-type{
	margin-top: 10px;
}
.button{
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 200px;
	height: 50px;
	margin-top: 20px;
	font-weight: 500;
}

.button:hover .arrow{
	transform: translateX(20px);
}
@media screen and (min-width:768px){
	.button{
		width: 216px;
		height: 50px;
		margin-top: 30px;
		font-weight: 500;
	}
}

.arrow{
	font-family: inter;
	border: 1px solid #222;
	border-radius: 50%;
	display: flex;
	padding: 14px 16px;
	font-size: 12px;
	transition: all 0.3s;
}

.dec{
	overflow: hidden;
	display: flex;
	padding: 80px 0 100px;
}

@media screen and (min-width:768px){
	.dec{
		padding: 5.20833vw 0 10.41666vw;
	}
}

@keyframes dec {
	0% {
	  transform: translateX(0%);
	}
	  
	100% {
		transform: translateX(-100%);
		}
}

.dec p{
	font-size: 48px;
	font-family:"Zen Old Mincho", serif;
	color: #F3F0DF;
	letter-spacing: 1px;
	animation: dec 30s infinite linear;
	white-space: nowrap;
}

@media screen and (min-width:768px){
	.dec p{
		font-size: 128px;
		font-size: clamp(96px,calc(128 / 1920 * 100vw) ,128px);
		animation: dec 30s infinite linear;
	}
}

/* works================================= */
.works_wrap{
	width: 89.3334%;
	margin: 0 auto;
}

.work{
 display:block; 
 position:relative;
 text-decoration:none;
}

.works_img{
  display:block;
  width:100%;
  transition:0.4s;
}

.work:before{
  content:"詳しく見る";
  display:block;
  color:#fff;
  line-height:48px;
  text-align:center;
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  opacity:0;
  z-index:3;
  transition:0.4s;
  font-size: 20px;
  font-family:"Zen Old Mincho", serif;
}
.work:hover .works_img{
  filter:blur(4px);
}
.work:hover:before{
  opacity:1;
}
@media screen and (min-width:768px){
	.works_wrap{
		width: 75.5208334%;
	}

	.work_all{
		display: flex;
		flex-wrap: wrap;
        justify-content: space-between;
	}

	.work{
		aspect-ratio: 16 / 9;
	}
	
	.work:nth-child(n+3){
		margin-top: 120px;
	}
}

.work_all{
	margin-top: 50px;
}

@media screen and (min-width:768px){
	.work_all{
		margin-top: 80px;
	}
}
.works_wrap h2{
	position: relative;
}

.works_wrap h2::before{
	content: "WORK";
	font-family:"Zen Old Mincho", serif;
	font-size: 48px;
	color: #EFE9D3;
	position: absolute;
	top: 90%;
    left: 60%;
	line-height: 150%;
	z-index: -1;
}

@media screen and (min-width:768px){
	.works_wrap h2::before{
	font-size: clamp(96px,calc(156 / 1920 * 100vw) ,156px);
	color: #EFE9D3;
	position: absolute;
	top: 55px;
    left: auto;
    right: -8%;
    transform: translateY(-50%);
}
}

.works_img{
	margin-top: 40px;
	aspect-ratio:16 / 9;
}

@media screen and (min-width:768px){
	.works_img{
		margin-top: 0;
		aspect-ratio:16 / 9;
		height: 20.520833vw;
	}
}
.works_category{
	line-height: 150%;
	font-family:"Zen Old Mincho", serif;
	color: #8F8F8F;
}
/*message================================*/
.message_img1{
	width: 41.067%;
	-webkit-clip-path: inset(100% 0 0 0);
	clip-path: inset(100% 0 0  0);
	transition: 1s ease-out;
	aspect-ratio:430 / 355;
} 
.message_img1.active{
	-webkit-clip-path: inset(0);
	clip-path: inset(0);	
}
@media screen and (min-width:768px){
	.message_img1{
		width: 22.3958333%;
	}
}

.message_img2{
	width: 64%;
	margin: 40px 0 0 auto;
	-webkit-clip-path: inset(100% 0 0 0);
	clip-path: inset(100% 0 0  0);
	transition:all  1s ease-in-out;
	transition-delay: 0.5s;
	aspect-ratio:758 / 241;
}
.message_img2.active{
	-webkit-clip-path: inset(0);
	clip-path: inset(0);	
}

@media screen and (min-width:768px){
	.message_img2{
		width: 39.4791667%;
		margin: -15.365% 6.614583% 0 auto;
	}
}
.message_img3{
	width: 23.467%;
	margin: 35px 20px 0 auto;
	-webkit-clip-path: inset(100% 0 0 0);
	clip-path: inset(100% 0 0  0);
	transition:all 1.2s ease-in-out;
	transition-delay: 0.5s;
	aspect-ratio:300 / 450;
}
.message_img3.active{
	-webkit-clip-path: inset(0);
	clip-path: inset(0);	
}
@media screen and (min-width:768px){
	.message_img3{
		width: 15.625%;
		margin: 1.3021% 0 0 auto;
		margin-top: 1.3021%;
	}
}
.message_img4{
	width: 55.466%;
	margin-top: -80px;
	-webkit-clip-path: inset(100% 0 0 0);
	clip-path: inset(100% 0 0  0);
	transition: 1s ease-in-out;
	aspect-ratio:729 / 319;
}
.message_img4.active{
	-webkit-clip-path: inset(0);
	clip-path: inset(0);	
}

@media screen and (min-width:768px){
	.message_img4{
		width: 37.96875%;
		margin: -19.792% 0 0 14.79167%;
	}
}

.message h2{
	margin-top: 70px;
	margin-left: -2%;
	font-size: clamp(22px,22 / 400 * 100vw,24px);
}

@media screen and (min-width:768px){
	.message h2{
		font-size: clamp(30px,32 / 1920 * 100vw,32px);
		margin-top: 40px;
		margin-left: -2.15625%
	}
}

.message_text{
	width: 89.3334%;
	margin: 0 auto;
	margin-top: 30px;
	position: relative;
	z-index: 1;
	opacity: 0;
	transition: 1.8s ;
}

@media screen and (min-width:768px){
	.message_text{
		width: 62.677083%;
        margin: 0 0 0 13.833333%;
		max-width: 859px;
	}
}

@media screen and (min-width:1240px){
	.message_text{
		width: 55.67708333333333%;
		margin: 0 0 0 20.8333333333333%;
	}
}


.message_text p{
	margin-top: 20px;
	font-family:"Zen Old Mincho", serif;
	line-height: 170%;
	color: #333;
}

@media screen and (min-width:768px){
	.message_text p{
		margin-top: 50px;
		font-size: 20px;
	}
}
.anime {
	overflow: hidden;
}
.anime img{
	height: calc(100% + 70px);
}

/*form================================*/
#contact{
	width: 89.3334%;
	margin: 0 auto;
	padding: 150px 0 150px 0;
}

@media screen and (min-width:768px){
	#contact{
		width: 90.875%
	}
}
@media screen and (min-width:1024px){
	#contact{
		width: 79.875%;
		padding: 300px 0 250px 0;
	}
}

@media screen and (min-width:1440px){
	#contact{
		width: 46.875%;
		padding: 300px 0 250px 0;
	}
}

#contact h2{
	font-size: clamp(24px,calc(24 / 375 * 100vw),32px);
	text-align: center;
	position: relative;

}

#contact p{
	font-family:"Zen Old Mincho", serif;
	text-align: center;
	font-size: 12px;
}

@media screen and (min-width:768px){
	#contact p{
		font-size: 14px;
		margin-top: 10px;
	}
}

#contact h2::before{
	content: "CONTACT";
	font-family:"Zen Old Mincho", serif;
	font-size: 48px;
	color: #EFE9D3;
	position: absolute;
	top: -35%;
	left: 50%;
	transform: translate(-50%,-50%);
	line-height: 150%;
	z-index: -1;
}

@media screen and (min-width:768px){
	#contact h2::before{
		font-size: clamp(96px,calc(156 / 1920 * 100vw) ,156px);
		top: -145%;
		left: 50%;
	}
}

@media screen and (min-width:768px){
	.form_pc{
		display: flex;
		position: relative;
		justify-content: space-between;
		align-items:flex-start;
		padding: 0 55px;
		margin-top: 50px;
	}

	.form_pc::after{
		content: "";
		width: 100%;
		height: 1px;
		background: repeating-linear-gradient(to right,#B8A356,#B8A356 2px,transparent 2px, transparent 5px);
		position: absolute;
		bottom: 0;
		left: 0;
	}
}

#contact dl{
	margin-top: 80px;
}

@media screen and (min-width:768px){
	#contact dl{
		margin-top: 100px;
	}
}

#contact dt{
	font-size:16px;
	margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
	font-family:"Zen Old Mincho", serif;
	padding: 0 10px;
}

@media screen and (min-width:768px){
	#contact dt{
		margin-top: 0;
		padding: 0;
	}
}

#contact dt span{
	color: #eee;
    background-color: #760505;
    padding: 5px 10px;
    font-size: 10px;
}


#contact dd{
	margin-top: 10px;
	padding: 0 10px 20px 10px;
	position: relative;
}
@media screen and (min-width:768px){
	#contact dd{
		width: 73.41772151898734%;
		margin-top: 0;
		padding: 0 0 50px 0;
	}
}

#contact dd::after{
	content: "";
	width: 100%;
	height: 1px;
	background: repeating-linear-gradient(to right,#B8A356,#B8A356 2px,transparent 2px, transparent 5px);
	position: absolute;
	bottom: 0;
	left: 0;
}

@media screen and (min-width:768px){
	#contact dd::after{
		display: none;
	}
}

input{
	width: 100%;
	height: 40px;
	background: #EFEEE8;
	border: #eee;
	padding: 10px;
	border-radius: 3px;
	overflow: hidden;
}

@media screen and (min-width:768px){
	input{
		height: 60px;
	}
}

label{
	display: flex;
	align-items: center;
	font-size: 16px;
	color: #eee;
	font-family:"Zen Old Mincho", serif;
}

textarea{
	width: 100%;
	background: #EFEEE8;
	border: #EFEEE8;
	height: 250px;
	padding: 10px;
	border-radius: 3px;
}

#privacy input[type=checkbox]{
	width: 20px;
	height: 20px;
	margin: 0;
	margin-right: 15px;
}



#privacy{
    justify-content: center;
    margin-top: 80px;
	color: #222;
}

@media screen and (min-width:768px){
	#privacy{
		margin-top: 100px;
	}
}

#privacy a{
    border-bottom: 1px solid #eee;
	font-size: 12px;
}

#privacy span{
	font-size: 12px;
	color: #222;
}

@media screen and (min-width:768px){
	#privacy a,#privacy span{
		font-size: 14px;
	}
}
.submit{
	text-align: center;
	position: relative;
	margin: 0 auto;
	margin-top: 50px;
	width: 210px;
	transition: all 0.3s ease-in-out;
}


.submit:hover {
  	opacity: 0.7;

}
@media screen and (min-width:768px){
	.submit{
		width: 240px;
	}
}

input[type=submit]{
	width: 210px;
	height: 63px;
	font-size: 16px;
	font-family:"Zen Old Mincho", serif;
	color: #222;
	background: #EFE9D3;
	cursor: pointer;
	border-radius: 48px;
	padding-right: 30px;
	letter-spacing: 5px;
	transition: ease-in-out 0.3s;
}

@media screen and (min-width:768px){
	input[type=submit]{
		width: 240px;
		height: 69px;
		font-size: 20px;
		border-radius: 48px;
		padding-right: 30px;
		letter-spacing: 5px;
	}
}

.submit span{
	position: absolute;
	top: 50%;
	right: -8px;
	transform: translate(-50%,-50%);
}

input::placeholder{
	font-size: 12px;
	font-family:"Zen Old Mincho", serif;
}
textarea::placeholder{
	font-size: 12px;
	font-family:"Zen Old Mincho", serif;
}