@charset "UTF-8";

/*----------------------------------
index
----------------------------------*/



/*----------------------------------
KeyVisual 
----------------------------------*/
#kv{
	position: relative;
	width: 100%;
	min-height:100vh;
	min-height: calc(var(--vh, 1vh) * 100);
	height: 100%;
	overflow: hidden;
	background: url("../images/index/top.jpg") no-repeat center;
	background-size: cover;
	display: flex;
	display: -webkit-flex;
	display:-ms-flexbox;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	align-items: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
}
	@media (orientation: landscape) and (max-height: 600px) {
		#kv{
			min-height: auto;
			height: 700px;
		}
	}

#kv .title{
	position: relative;
	top: -1.5em;
	max-width: 800px;/*height308px*/
	width: 88%;
	padding: 0 1.75em;
	opacity: 0;
	animation-name: fadein-title;
	animation-duration: .6s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
	animation-delay: 0.15s;
	line-height: 0;
}
@keyframes fadein-title {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
	@media screen and (max-width: 1024px) {
		#kv .title{
			padding: 0 2.75em;
		}
	}
	@media screen and (max-width: 767px) {
		#kv .title{
			top: 0;
		}
	}
	@media (orientation: portrait) and (max-width: 600px) {
		#kv .title{
			padding: 0;
		}
	}


#kv .copy-title{
	max-width: 600px;
	width: 100%;
	text-align: center;
	padding: 0 1.75em;
	position: absolute;
	bottom: 7em;
	font-size: 1.08em;
	letter-spacing: .25em;
}
#kv .copy-title span{
	display: inline-block;
	opacity: 0;
	animation: 1.5s linear forwards fadein-copy;
}
#kv .copy-title span.copy01{
	animation-delay: 1s;
}
#kv .copy-title span.copy02{
	animation-delay: 2s;
}
#kv .copy-title span.copy03{
	animation-delay: 3s;
}
@keyframes fadein-copy {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

	@media screen and (max-width: 767px) {
		#kv .copy-title{
			bottom: 10em;
		}
	}
	@media screen and (max-width: 600px) {
		#kv .copy-title{
			bottom: 6.5em;
			font-size: 1em;
		}
		#kv .copy-title span{
			display: block;
		}
	}
	@media (orientation: landscape) and (max-height: 600px) {
		#kv .copy-title{
			bottom: 7em;
			padding: 0;
		}
	}


#kv a.next-scroll{
	content: '';
	position: absolute;
	left: 50%;
	bottom: 1.5em;
	width: 30px;
	height: 30px;
	margin-left: -15px;
	border: 0px;
	border-bottom: solid 2px #fff;
	border-left: solid 2px #fff;
	-ms-transform: translateY(0) rotate(-45deg);
	-webkit-transform: translateY(0) rotate(-45deg);
	transform: translateY(0) rotate(-45deg);
	cursor: pointer;
	opacity: 0;
	animation-name: scroll;
	animation-duration: 1s;
	animation-timing-function: ease;
	animation-iteration-count: infinite;
	animation-delay: 4s;
}
@keyframes scroll {
	0% {opacity: 1; transform:translateY(0) rotate(-45deg) }
	25% {opacity: 1; transform:translateY(-.5em) rotate(-45deg)}
	50% {opacity: 1; transform:translateY(-.5em) rotate(-45deg)}
	100% {opacity: 1; transform:translateY(0) rotate(-45deg)}
}


/*----------------------------------
共通（pagetitle）
----------------------------------*/
.pagetitle-eng{
	font-size: 5em;
	font-family: 'Roboto Slab', serif;
	font-weight: 300;
	line-height: 1.0;
}
#story .pagetitle-eng{
	margin-bottom: .25em;
}
#method .pagetitle-eng{
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	position: absolute;
	top: 0;
	left: 0;
}
#cases .pagetitle-eng{
	position: absolute;
	top: -1em;
	left: 0;
}


	@media screen and (max-width: 1024px) {
		.pagetitle-eng{
			font-size: 4em;
		}
	}
	@media screen and (max-width: 600px) {
		.pagetitle-eng{
			font-size: 2.5em;
		}
		#story .pagetitle-eng{
			margin-bottom: .5em;
		}
		#cases .pagetitle-eng{
			left: 6%;
		}
	}


/*----------------------------------
Story
----------------------------------*/
#story{
	position: relative;
	padding: 3em 0 0 0;
	background: #ededed;
	position: relative;
}
#story .story-wrap{
	max-width: 980px;
	width: 88%;
	margin: 0 auto;
	display: block;
}
.story-wrap .txt{
	font-size: 1.75em;
	line-height: 1.4;
	font-weight: bold;
}
	@media screen and (max-width: 600px) {
		#story{
			padding-top: 2.5em;
		}
		.story-wrap .txt{
			font-size: 1.5em;
		}
	}

.story-wrap .txt div:nth-child(2){
	padding-left: .5em;
}
.story-wrap .txt span{
	font-size: 1.5em;
}

/* btn */
.btn-story a{
	z-index: 1;
	width: 5em;
	height: 3.5em;
	background: #313131;
	border: 2px solid #313131;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
	position: relative;
	cursor: pointer; 
	display: block;
	margin: 1.25em 0 0 4em;
	transition: background 1.0s;
}
.btn-story a:after {
	content: '';
	width: 0; 
	height: 0; 
	border-style: solid;
	border-width: .75em 0 .75em 1.5em;
	border-color: transparent transparent transparent #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	transition: border-color 1.0s;
}
.btn-story:hover a{
	background: #fff;
}
.btn-story:hover a:after{
	border-color: transparent transparent transparent #313131;
}

/* thumbnail */
#story .thumb{
	padding-top: 12em;
}
	@media screen and (min-width: 1500px) {
		#story .thumb{
			padding-top: 15em;
		}
	}
	@media screen and (max-width: 1024px) {
		#story .thumb{
			padding-top: 13em;
		}
	}
	@media screen and (max-width: 767px) {
		#story .thumb{
			padding-top: 10em;
		}
	}

#story .thumb img{
	width: 100%;
	height: auto;
	line-height: 0;
	padding: 0;
	position: absolute;
	bottom: 0;
	z-index: -1;
}
	@media screen and (max-width: 1024px) {
		#story .thumb img{
			width: 100%;
			height: 310px;
			object-fit: cover;
			object-position: 60% 50%;
		}
	}
	@media screen and (max-width: 767px) {
		#story .thumb img{
			height: 200px;
			object-position: 67% 50%;
		}
	}
	@media screen and (max-width: 600px) {
		#story .thumb img{
			height: 180px;
		}
	}


/*----------------------------------
method
----------------------------------*/

#method{
	margin: 4em 0 0 0;
}
.method-wrap{
	max-width: 980px;
	width: 88%;
	margin:0 auto;
	position: relative;
}

/* flex  */
.method-item {
	position: relative;
	width: 100%;
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding-left: 7em;
	padding-top: 2.25em;
}
	@media screen and (max-width: 1024px) {
		.method-item{
			padding-left: 6em;
		}
	}
	@media screen and (max-width: 600px) {
		.method-item{
			padding-left: 4.5em;
		}
	}


.method01{
	flex-direction: row-reverse;
	margin-bottom: 2em;
}
.method-item .txt,
.method-item a{
	width: 50%;
}
.method01 .txt{
	padding-left: 1.5em;
}
.method02 .txt{
	text-align: right;
	padding-right: 1.5em;
}


	@media screen and (max-width: 600px) {
		.method-item .txt,
		.method-item a{
			width: 100%;
		}
		.method01 .txt{
			padding-left: 0;
			padding-bottom: 1em;
		}
		.method02 .txt{
			text-align: left;
			padding-right: 0;
			padding-bottom: 1em;
		}
	}

/* txt  */
.method-item .txt{
	white-space: nowrap;
	word-break: keep-all;
	line-height: 1.4;
	font-weight: 600;
	font-size: 1.5em;
	font-feature-settings: "palt";
}

.method-item .txt span.big{
	font-size: 1.66666em;
}
.method-item .txt span.small{
	font-size: 0.916666em
}
	@media screen and (max-width: 980px) {
		.method-item .txt{
			font-size: 1.375em;
		}
		.method01 .txt span.small{
			display: block;
		}
	}
	@media screen and (max-width: 600px) {
		.method01 .txt span.small{
			display: inline;
		}
	}
	@media screen and (max-width: 374px) {
		.method01 .txt span.small{
			display: block;
		}
	}


/* thumbnail */
.method-item .thumb{
	position: relative;
	background: #eee;
	padding: 0;
	line-height: 0;
}
.method-item .thumb img{
	transition: 1.0s;
	z-index: -1;
}
.method-item a:hover .thumb img{
	opacity: .5;
}

/* title */
.method-title{
	white-space: nowrap;
	word-break: keep-all;
	font-size: 2em;
	line-height:1.0;
	font-family: 'Noto Serif JP', serif;
	position: absolute;
	bottom: -.5em;
	right: -.25em;
}
	@media screen and (max-width: 860px) {
		.method-title{
			font-size: 1.375em;
		}
	}


.method-title span{
	background: #313131;
	border: 2px solid #313131;
	color: #fff;
	padding: .1em .25em;
	transition: background 1.0s,color 1.0s;
}
.method-item a:hover .method-title span{
	background: #fff;
	color: #313131;
}



/*----------------------------------
cases
----------------------------------*/
#cases{
	background: linear-gradient(90deg, #fff 0%, #fff 50%, #dedede 50%, #dedede 100%);
	position: relative;
	margin: 10em 0 0 0;
}
	@media screen and (max-width: 600px) {
		#cases{
			background: linear-gradient(#fff 0%, #fff 50%, #dedede 50%, #dedede 100%);
		}
	}

#cases:before{
	width: 100%;
	height: 100%;
	background: url(../images/index/dotted.png) repeat center;
	background-size: 6px auto;
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	z-index: 0;
}

.cases-wrap{
	position: relative;
	max-width: 980px;
	width: 88%;
	margin: 0 auto;
}
.cases-flex{
	width: 100%;
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.cases-flex a.item{
	display: block;
	width: 50%;
	max-width: clac(980px / 2);
	min-height: 320px;
	position: relative;
	padding: 2em 0;
}
	@media screen and (max-width: 834px) {
		.cases-flex a.item{
			min-height: 270px;
		}
	}
	@media screen and (max-width: 768px) {
		.cases-flex a.item{
			min-height: 250px;
		}
	}
	@media screen and (max-width: 600px) {
		.cases-wrap{
			width: 100%;
		}
		.cases-flex a.item{
			width: 100%;
			min-height: 190px;
		}
	}


.cases-flex a.cases32{
	background: url(../images/index/cases-32.png)no-repeat right bottom;
	background-size: contain;
}
.cases-flex a.cases42{
	background: url(../images/index/cases-42.png)no-repeat right bottom;
	background-size: contain;
}
	@media screen and (max-width: 768px) {
		.cases-flex a.cases32,
		.cases-flex a.cases42{
			background-size: cover;
		}
	}
	@media screen and (max-width: 600px) {
		.cases-flex a.cases32,
		.cases-flex a.cases42{
			background-size: auto 120%;
		}
	}

	@media screen and (max-width: 450px) {
		.cases-flex a.cases32,
		.cases-flex a.cases42{
			background-size: contain;
		}
	}

/* no  */
.cases-flex .item .no{
	font-size: 13em;
	font-weight: 500;
	line-height: 1;
	font-family: 'Roboto Slab', serif;
	transition: opacity 1.0s;
	z-index: 0;
	position: absolute;
	bottom: .025em;
	left: .125em;
	opacity: 1;
	color: #aaa;
}
	@media screen and (max-width: 834px) {
		.cases-flex .item .no{
			font-size: 10em;
		}
	}


.cases-flex a.item:hover .no{
	opacity: .4;
}

/* title  */
.cases-title{
	font-size: 2.625em;
	height: 100%;
	line-height: 1.2;
	font-weight: bold;
	position: absolute;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	top: .75em;
	left: 1.25em;
	font-feature-settings: "palt";
	z-index: 1;
}
	@media screen and (max-width: 834px) {
		.cases-title{
			font-size: 2.25em;
		}
	}
	@media screen and (max-width: 768px) {
		.cases-title{
			font-size: 2em;
		}
	}


/* view  */
.cases-view-positon{
	position: absolute;
	bottom: 1em;
	right: 1em;
}
.cases-view{
	font-family: 'Quicksand', sans-serif;
	font-weight: bold;
	letter-spacing: .125em;
	position: relative;
	display: inline-block;
	transition: padding 1.0s;
	padding-left: 2.5em;
}
.cases-flex a.item:hover .cases-view{
	padding-left: 3.25em;
}
.cases-view:before{
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 2em;
	height: 1px;
	background: #313131;
}
.cases-view:after{
	content: "";
	position: absolute;
	width: .5em;
	height: 1px;
	background: #313131;
	margin-top: -2px;
	top: 50%;
	left: -1px;
	transform: rotate(-45deg);
}



/*----------------------------------
contact
----------------------------------*/

#contact{
	background: #272727 url(../images/index/contact.jpg) 70% center no-repeat; 
	background-size: cover;
	position: relative;
	padding: 7em 0 5em;
	margin-top: 5em;
}
.contact-wrap{
	max-width: 980px;
	width: 88%;
	margin: 0 auto;
	color: #fff;
}
.contact-wrap a{
	color: #fff;
}
.contact-msg{
	line-height: 2;
	max-width: 28em;
}
.contact-midashi{
	color: #fff;
	font-size: 2.5em;
	line-height: 1.2;
	margin-bottom: 1em;
}
	@media screen and (max-width: 600px) {
		.contact-midashi{
			font-size: 2em;
		}
	}


