
/******************************************
HEADER
*******************************************/

header{
	background:url(../img/index/header_bg.png) repeat-y top center;
	background-size: 1800px 1000px;
}
header #head_bg{
	height: 950px;
	background:
	url(../img/index/header.png?t=0710) no-repeat top center;
	background-size: 0 auto;
	-webkit-animation-name: tlogo_in;
	animation-name: tlogo_in;
	animation-duration: 1s;
	animation-delay:0.5s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}
@keyframes tlogo_in {
    0%{
	background-size: 0 auto;
	background-position: center center;
    }
    100%{
       background-size: 1000px auto;
       background-position: center 60px;
    }
}

header h1{
	font-size: 10px;
	line-height: 14px;
	text-align: center;
	color: #e0cab7;
	padding: 10px 0 25px 0;
}

header #topnav{
	font-family: 'M PLUS 1p', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 20px;
	color: #cb9d96;
}
header #topnav a{
	color: #fff;
	-webkit-transition	: 0.2s ease-in-out;
	-moz-transition	: 0.2s ease-in-out;
	-o-transition	: 0.2s ease-in-out;
	transition		: 0.2s ease-in-out;
}
header #topnav a:hover{
	text-decoration: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
}

header #toptel{
	margin-top: 420px;
}
header #toptel > a{
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	color: #fff;
	margin: 0 0 5px 0;
}
header #toptel > a span{
	width: 38px;
	font-size: 26px;
	line-height: 38px;
	color: #6b433c;
	background: #fff;
	border-radius: 50%;
	margin-right: 10px;
}
header #toptel > a img{
	width: 53px;
	height: auto;
	margin-right: 8px;
}
header #toptel > a em{
	font-family: 'M PLUS 1p', sans-serif;
	font-weight: 800;
	font-size: 42px;
	line-height: 1;
}

header #toptel p{
	font-size: 16px;
	line-height: 20px;
	color: #fff;
}
header #toptel p a{	color: #fff;}


/** video **/
#video{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	min-width: 100vw;
	min-height: 100vh;
	width: auto;
	height: auto;
	z-index: -2;
	background: #000;
    -webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}



main{	padding: 0;}


/******************************************
SAMPLE
*******************************************/

#sample{
	width: 1200px;
	height: 530px;
	font-size: 0;
	line-height: 0;
	text-align: center;
	background: url(../img/index/sample_pc.png) no-repeat top center;
	padding-top: 131px;
	position: absolute;
	z-index: 2;
	top: 510px;
	left: calc(50% - 600px);
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#sample:after{
	content: '';
	width: 225px;
	height: 225px;
	background: url(../img/index/sample_i.png) no-repeat;
	background-size: 225px 225px;
	position: absolute;
	z-index: 2;
	top: 138px;
	left: 142px;
	-webkit-animation-name: jello;
	animation-name: jello;
	animation-duration: 1.5s;
	animation-delay:3.0s;
	animation-iteration-count: infinite;
}

#sample_pc{
	padding-left: 6px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#sample_pc a{
	display: inline-block;
	width: 530px;
	overflow: hidden;
}
#sample_pc img{
	width: auto;
	height: 330px;
	animation: none;
        transform: none;
        transition: unset;
}

#sample_sp{
	display: inline-block;
	vertical-align: top;
	position: absolute;
	top: 222px;
	right: 145px;
}
#sample_sp img{
	width: 148px;
	height: auto;
	animation: none;
        transform: none;
        transition: unset;
}


/******************************************
RESULT
*******************************************/

#result{
	color: #4e3836;
	background: rgb(255,255,255);
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(247,238,228,1) 50%, rgba(247,238,228,1) 100%);
	padding: 120px 0 60px 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#result h2{
	font-family: 'M PLUS 1p', sans-serif;
	font-weight: 800;
	font-size: 52px;
	line-height: 60px;
	margin: 0 0 5px 0;
}

#result .r1{
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 30px;
	margin: 0 0 40px 0;
}

#result .r2{
	font-size: 14px;
	line-height: 25px;
	margin: 0 0 50px 0;
}

#result_pc{
	width: 1200px;
	margin: 0 auto;
	position: relative;
	text-align: center;
}
#result_pc a{
	display: inline-block;
	vertical-align: top;
	transition-duration: 0.2s;
	transition-timing-function : ease-out;
}
#result_pc a:hover{
	transform: scale(1.2);
	z-index: 4 !important;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
}

#result_pc a img{
	-webkit-box-reflect:below 1px -webkit-gradient(linear,left 90%,left 100%, from(transparent), to(rgba(255, 255, 255, 0.3)));
}
#result_pc a:nth-of-type(1){
	position: relative;
	z-index: 3;
}
#result_pc a:nth-of-type(1) img{
	width: 475px;
	height: auto;
}
#result_pc a:nth-of-type(2){
	position: absolute;
	top: 24px;
	left: calc(50% - 400px);
	z-index: 2;
}
#result_pc a:nth-of-type(3){
	position: absolute;
	top: 24px;
	right: calc(50% - 400px);
	z-index: 2;
}
#result_pc a:nth-of-type(2) img,
#result_pc a:nth-of-type(3) img{
	width: 400px;
	height: auto;
}
#result_pc a:nth-of-type(4){
	position: absolute;
	top: 41px;
	left: 75px;
	z-index: 1;
}
#result_pc a:nth-of-type(5){
	position: absolute;
	top: 41px;
	right: 75px;
	z-index: 1;
}
#result_pc a:nth-of-type(4) img,
#result_pc a:nth-of-type(5) img{
	width: 345px;
	height: auto;
}

#result_pc a:nth-of-type(1) img{ animation-delay:0.0s;}
#result_pc a:nth-of-type(2) img{ animation-delay:0.2s;}
#result_pc a:nth-of-type(3) img{ animation-delay:0.4s;}
#result_pc a:nth-of-type(4) img{ animation-delay:0.6s;}
#result_pc a:nth-of-type(5) img{ animation-delay:0.8s;}

#result_sp{
	position: relative;
	z-index: 4;
	top: -65px;
	font-size: 0;
	line-height: 0;
	text-align: center;
}
#result_sp a{
	display: inline-block;
	vertical-align: top;
	margin: 0 10px;
	transition-duration: 0.2s;
	transition-timing-function : ease-out;
}
#result_sp a:hover{
	transform: scale(1.2);
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
}
#result_sp a img{
	width: 127px;
	height: auto;
	-webkit-box-reflect:below 1px -webkit-gradient(linear,left 90%,left 100%, from(transparent), to(rgba(255, 255, 255, 0.3)));
}

#result_sp a:nth-of-type(1) img{ animation-delay:1.0s;}
#result_sp a:nth-of-type(2) img{ animation-delay:1.1s;}
#result_sp a:nth-of-type(3) img{ animation-delay:1.2s;}
#result_sp a:nth-of-type(4) img{ animation-delay:1.3s;}



/******************************************
REASON
*******************************************/

#reason{
	position: relative;
	text-align: center;
	padding: 60px 0 60px 0;
	color: #fff;
	background: url(../img/index/reason.jpg) no-repeat top center fixed;
	background-size: cover;
}
#reason:after{
	content: '';
	width: 185px;
	height: 185px;
	background: url(../img/index/reason_i.png) no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: -70px;
	left: calc(50% + 245px);
	-webkit-animation-name: jello;
	animation-name: jello;
	animation-duration: 1.5s;
	animation-delay:1.0s;
	animation-iteration-count: infinite;
}

#reason h2{
	position: relative;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 44px;
	line-height: 50px;
	margin: 0 0 70px 0;
}
#reason h2:after{
	content: '';
	width: 100px;
	height: 2px;
	background: #fff;
	position: absolute;
	bottom: -35px;
	left: calc(50% - 50px);
}

#reason p{
	font-size: 14px;
	line-height: 25px;
}


/******************************************
POINT
*******************************************/

#point{
	position: relative;
	text-align: center;
	padding: 60px 0;
	background: #fff;
}

.pbox_bg{
	margin-bottom: 50px;
}
.pbox_bg:last-of-type{	margin-bottom: 0;}
.pbox_bg:nth-of-type(odd){
	background: rgb(250,246,245);
	background: linear-gradient(90deg, rgba(250,246,245,1) 0%, rgba(250,246,245,1) 60%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
}
.pbox_bg:nth-of-type(even){
	background: rgb(250,246,245);
	background: linear-gradient(270deg, rgba(250,246,245,1) 0%, rgba(250,246,245,1) 60%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
}

.pbox{
	position: relative;
	width: 1200px;
	min-height: 420px;
	text-align: left;
	margin: 0 auto;
	padding: 60px 0 50px 95px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.pbox_bg:nth-of-type(even) .pbox{
	padding-left: 495px;
}

.pbox h3{
	position: relative;
	z-index: 2;
	width: 610px;
	font-family: 'M PLUS 1p', sans-serif;
	font-weight: 600;
	font-size: 38px;
	line-height: 55px;
	color: #4e3836;
	margin: 0 0 20px 0;
	padding: 10px 0;
	border-bottom: 1px solid #4e3836;
	animation-delay:2s;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.pbox_bg:nth-of-type(even) .pbox h3{
	padding-left: 100px;
}

.pbox .point{
	display: inline-block;
	vertical-align: top;
	width: 80px;
	height: 80px;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 14px;
	text-align: center;
	color: #fff;
	background: #ae6c62;
	border-radius: 50%;
	padding-top: 17px;
	position: absolute;
	top: 65px;
	left: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.pbox .point em{
	display: inline-block;
	vertical-align: top;
	font-size: 34px;
	line-height: 34px;
}

.pbox_bg:nth-of-type(even) .pbox .point{
	left: auto;
	right: 0;
}

.pbox .point em{}

.pbox img{
	display: inline-block;
	vertical-align: top;
	position: absolute;
	width: 550px;
	height: 360px;
	top: 30px;
	object-fit: cover;
}
.pbox_bg:nth-of-type(odd) .pbox img{	right: 0;}
.pbox_bg:nth-of-type(even) .pbox img{	left: 0;}

.pbox p{
	width: 500px;
	font-size: 14px;
	line-height: 25px;
	margin-bottom: 20px;
}
.pbox_bg:nth-of-type(even) .pbox p,
.pbox_bg:nth-of-type(even) .pbox .bt2{	margin-left: 100px;}

.pbox p:nth-of-type(2){
	position: relative;
	font-size: 12px;
	line-height: 16px;
	padding-left: 15px;
}
.pbox p:nth-of-type(2) span{
	position: absolute;
	top: 0;
	left: 0;
}


/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 650px) {

	/******************************************
	HEADER
	*******************************************/

	header{
		background: url(../img/index/sp_header_bg.png) repeat-y top center;
		background-size: 100% auto;
	}
	header #head_bg{
		padding-top: calc(210 / 320 * 100% + 5vh);
		height: 25vh;
		background: url(../img/index/header.png?t=0710) no-repeat center 3vh;
		background-size: 0 auto;
	}
	@keyframes tlogo_in {
		0%{
			background-size: 0 auto;
			background-position: center center;
		}
		100%{
			background-size: 110% auto;
			background-position: center 12vh;
		}
	}
	header h1{
		font-size: 10px;
		line-height: 14px;
		text-align: center;
		padding: 0;
		position: absolute;
		top: -100vh;
	}
	header #topnav{	display: none;}
	header #toptel{
		margin-top: 0;
	}
	header #toptel > a{
		display: inline-flex;
		align-items: center;
		align-content: center;
		justify-content: center;
		color: #fff;
		margin: 0 0 5px 0;
	}
	header #toptel > a span{
		width: 26px;
		font-size: 20px;
		line-height: 26px;
		margin-right: 5px;
	}
	header #toptel > a img{
		width: 30px;
		height: auto;
		margin-right: 3px;
	}
	header #toptel > a em{
		font-size: 22px;
		line-height: 1;
	}
	header #toptel p{
		font-size: 13px;
		line-height: 16px;
	}
	#video{
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translateX(-50%) translateY(-50%);
		min-width: 100%;
		min-height: 100%;
		width: auto;
		height: 100vh;
		z-index: -2;
	}
	main{	padding: 0;}


	/******************************************
	SAMPLE
	*******************************************/
	#sample_bg{	background: #fff;}
	#sample{
		position: relative;
		top: -25vw;
		left: auto;
		width: auto;
		height: auto;
		font-size: 0;
		line-height: 0;
		text-align: center;
		padding-top: calc(24 / 320 * 100%);
		padding-bottom: calc(29 / 320 * 100%);
		background: url(../img/index/sample_sp.png) top center / cover no-repeat;
		-webkit-background-size: contain;
		background-size: contain;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	#sample:after{
		content: '';
		width: 23vw;
		height: 23vw;
		background: url(../img/index/sample_i.png) no-repeat;
		background-size: 100% auto;
		position: absolute;
		z-index: 2;
		top: 2vw;
		left: 2vw;
	}
	#sample_pc{
		padding-left: 0;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	#sample_pc a{
		display: inline-block;
		width: 53.5vw;
		overflow: hidden;
	}
	#sample_pc img{
		width: 100%;
		height: auto;
	}
	#sample_sp{
		display: inline-block;
		vertical-align: top;
		position: absolute;
		top: calc(106 / 320 * 100%);
		right: calc(17.6 / 320 * 100%);
	}
	#sample_sp img{
		width: 14.5vw;
		height: auto;
	}


	/******************************************
	RESULT
	*******************************************/
	#result{
		margin-top: -25vw;
		padding: 20px 0 30px 0;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	#result h2{
		font-size: 7vw;
		line-height: 1.2;
		margin: 0 0 0 0;
	}
	#result .r1{
		font-size: 14px;
		line-height: 20px;
		margin: 0 0 20px 0;
	}
	#result .r2{
		font-size: 14px;
		line-height: 25px;
		text-align: left;
		margin: 0 0 15px 0;
		padding: 0 15px;
	}

	#result_pc{
		width: 100%;
		margin: 0;
		position: relative;
		text-align: center;
	}
	#result_pc a{
		display: inline-block;
		vertical-align: top;
	}
	#result_pc a img{
		-webkit-box-reflect:below 1px -webkit-gradient(linear,left 90%,left 100%, from(transparent), to(rgba(255, 255, 255, 0.3)));
	}
	#result_pc a:nth-of-type(1){
		position: relative;
		z-index: 3;
	}
	#result_pc a:nth-of-type(1) img{
		width: 50vw;
		height: auto;
	}
	#result_pc a:nth-of-type(2){
		position: absolute;
		top: calc(50% - 10vw);
		left: calc(50% - 38vw);
		z-index: 2;
	}
	#result_pc a:nth-of-type(3){
		position: absolute;
		top: calc(50% - 10vw);
		right: calc(50% - 38vw);
		z-index: 2;
	}
	#result_pc a:nth-of-type(2) img,
	#result_pc a:nth-of-type(3) img{
		width: 25vw;
		height: auto;
	}
	#result_pc a:nth-of-type(4){
		position: absolute;
		top: calc(50% - 6.5vw);
		left: calc(50% - 47vw);
		z-index: 1;
	}
	#result_pc a:nth-of-type(5){
		position: absolute;
		top: calc(50% - 6.5vw);
		right: calc(50% - 47vw);
		z-index: 1;
	}
	#result_pc a:nth-of-type(4) img,
	#result_pc a:nth-of-type(5) img{
		width: 15vw;
		height: auto;
	}


	#result_sp{
		position: relative;
		z-index: 4;
		top: -5vw;
		font-size: 0;
		line-height: 0;
		text-align: center;
		margin: 0 0 20px 0;
		padding: 0 5px;
	}
	#result_sp a{
		display: inline-block;
		vertical-align: top;
		width: calc(90% / 4 - 10px);
		margin: 0 5px;
	}
	#result_sp a img{
		width: 100%;
		height: auto;
	}

	/******************************************
	REASON
	*******************************************/
	#reason{
		padding: 50px 15px 30px 15px;
		background-attachment: scroll;
	}
	#reason:after{
		content: '';
		width: 90px;
		height: 90px;
		position: absolute;
		top: -30px;
		left: auto;
		right: 5px;
	}
	#reason h2{
		font-size: 6.4vw;
		line-height: 1.2;
		margin: 0 0 50px 0;
	}
	#reason h2:after{
		content: '';
		width: 80px;
		height: 2px;
		background: #fff;
		position: absolute;
		bottom: -28px;
		left: calc(50% - 40px);
	}
	#reason p{
		font-size: 14px;
		line-height: 25px;
		text-align: left;
	}


	/******************************************
	POINT
	*******************************************/
	#point{
		padding: 0;
	}
	.pbox_bg{
		margin-bottom: 0;
	}
	.pbox_bg:last-of-type{	margin-bottom: 0;}
	.pbox_bg:nth-of-type(odd){
		background: rgb(250,246,245);
	}
	.pbox_bg:nth-of-type(even){
		background: #fff;
	}
	.pbox{
		position: relative;
		width: auto;
		min-height: 0;
		text-align: center;
		margin: 0;
		padding: 30px 15px;
	}
	.pbox_bg:nth-of-type(even) .pbox{ padding-left: 15px;}
	.pbox h3{
		position: relative;
		z-index: 2;
		width: auto;
		font-size: 20px;
		line-height: 24px;
		text-align: left;
		margin: 0 0 10px 0;
		padding: 10px 0 20px 55px;
	}
	.pbox_bg:nth-of-type(even) .pbox h3{
		text-align: left;
		padding-left: 55px;
	}
	.pbox .point{
		width: 45px;
		height: 45px;
		font-size: 10px;
		line-height: 10px;
		text-align: center;
		padding-top: 10px;
		position: absolute;
		z-index: 3;
		top: 30px;
		left: 15px;
	}
	.pbox .point em{
		font-size: 18px;
		line-height: 18px;
	}

	.pbox_bg:nth-of-type(even) .pbox .point{
		left: 15px;
		right: auto;
	}

	.pbox .point em{}
	.pbox img{
		position: static;
		width: 100%;
		height: 100%;
		margin: 0 0 10px 0;
		aspect-ratio: 10 / 3;
		object-fit: cover;
		
	}
	.pbox_bg:nth-of-type(odd) .pbox img{	right: 0;}
	.pbox_bg:nth-of-type(even) .pbox img{	left: 0;}

	.pbox p{
		width: auto;
		font-size: 14px;
		line-height: 25px;
		text-align: left;
		margin-bottom: 10px;
	}
	.pbox_bg:nth-of-type(even) .pbox p,
	.pbox_bg:nth-of-type(even) .pbox .bt2{	margin-left: 0;}

	.pbox p:nth-of-type(2){
		position: relative;
		font-size: 11px;
		line-height: 18px;
		padding-left: 15px;
	}
	.pbox p:nth-of-type(2) span{
		position: absolute;
		top: 0;
		left: 0;
	}
}


