@charset "utf-8";
/*オープニング*/
.opening {
	width:100%;
	height:100vh;
	animation-name:motion;
	animation-duration:2s;
	animation-timing-function:ease;
	transition-property: filter; 
}
@keyframes motion {
	0% {
		filter: blur(50px);
	}
	100% {
		filter: blur(0);
	}
}
/*共通*/
body {
    font-family: YakuHanJP, noto-sans-cjk-jp, "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, メイリオ, Osaka, "MS PGothic", arial, helvetica, sans-serif;
	color: #D9D5D5;
	font-weight: 200;
	letter-spacing: 0.1em;
}
#video-area{
    position: fixed;
    z-index: -1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
}
#video {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}
#video-area .MV_filter {
    background: linear-gradient(148deg, rgba(217,213,213,0.2) 0%, rgba(33,24,22,0.2) 90%);
}
/*スクロールでmv透明*/
.MV_wrap {
	transition: 0.6s;
	position: fixed;
	width: 100%;
	height: 100%;
    top: 0;
    left: 0;
}
.MV_opacity {
	opacity: 0;
	transition: 1s;
}
/*bgロゴアニメ*/
.BG_logo {
	bottom: 0;
    left: 0;
    position: absolute;
    width: 50%;
	transition: 1s;
}
.BG_anime {
	transform: translate(-3%,1%) scale(1.2,1.2);
	transition: 1s;
}
a {
	transition: 0.2s;
	color: #D9D5D5;
}
img {
	width: 100%;
}
.pc {
	display: none;
}
/*フェードイン*/
.js-fadein{
  opacity: 0;
   transform: translateY(40px);
   transition: all 1s;
}
/*キラリアニメ*/
.kirari {
	position: relative;
	overflow: hidden;
}
.kirari::before {
	content: "";
	position: absolute;
	background-color: #bbb;
	height: 1px;
	top: 42px;
	left: 0;
	width: 100%;
}
.kirari::after {
	content: "";
  position: absolute;
  top: 42px;
  left: 0;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  height: 1px;
  width: 100%;
  border-radius: 50%;
  animation: scanner-loop 5s linear infinite;
}
@keyframes scanner-loop
{
  0% {
    left: 0;
  }
  3% {
    left: 100%;
  }
	6% {
    left: 0;
  }
}
/*ハンバーガー*/
.navToggle.active {
	position: fixed;
	z-index: 10000;
}
.navToggle {
	width: 40px;
	height: 40px;
	cursor: pointer;
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 3;
}
.navToggle span {
	display: block;
	width: 36px;
	border-bottom: solid 2px #000000;
	position: absolute;
	left: 0;
}
.navToggle span:nth-child(1) {
	top: 5px;
}
.navToggle span:nth-child(2) {
	top: 17px;
}
.navToggle span:nth-child(3) {
	top: 28px;
}
.navToggle.active span:nth-child(1),
.navToggle.active span:nth-child(2) {
	top: 14px;
	transform: rotate(-45deg);
}
.navToggle.active span:nth-child(3){
	top: 14px;
	transform: rotate(45deg);
}
/*メニュー*/
.gnavi {
	height: 100vh;
	background: linear-gradient(148deg, rgba(217,213,213,0.8) 0%, rgba(33,24,22,0.8) 90%);
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	width: 100%;
	box-sizing: border-box;
	transform: translateY(-100vh);
	opacity: 0;
	transition: opacity 0.8s;
	transition: all 0.3s;
	overflow: auto;
	padding-right: 10%;
	padding-left: 10%;
	text-align: center;
}
.gnavi.active {
	transform: translateY(0);
	opacity: 1;
	transition: transform 0;
	transition: opacity 0.8s;
}
.gnavi a {
	color: #000000;
}
/*==================================================
　左から右に線が伸びる（下部）
===================================*/
.gnavi li a{
    /*線の基点とするためrelativeを指定*/
  position: relative;
}
.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 0;
    /*線の形状*/
    width: 100%;
    height: 1px;
    background:#000000;
    /*アニメーションの指定*/
    transition: all .2s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}
/*現在地とhoverの設定*/
.gnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
header li {
	font-size: 1.2rem;
	margin-bottom: 50px;
	font-weight: 300;
}
header ul {
	margin: 50vh auto 0;
	transform: translateY(-50%);
}
header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	position: fixed;
	width: 100%;
	padding-top: 10px;
	z-index: 1;
	max-width: 1330px;
    left: 50%;
    transform: translateX(-50%);
	padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}
header h1 {
	width: 90px;
	padding-top: 12px;
}
header h1 a {
	display: block;
}
/*メインビジュアル*/
.mainvisual {
	position: relative;
	height: 100vh;
	z-index: 0;
}
.mainvisual p {
	position: absolute;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
    top: 50vh;
    transform: translateY(-50%);
    left: 5%;
	z-index: 99;
}
.mainvisual img {
	height: 100vh;
	object-fit: cover;
}
/*スライダーアニメ*/
.slide-animation{
    animation: fadezoom 20s 0s;
}
@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.MV_filter {
	position: absolute;
	background: linear-gradient(148deg, rgba(217,213,213,0.5) 0%, rgba(33,24,22,0.5) 90%);
	height: 100vh;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 98;
}
/*スクロールダウン全体の場所*/
.scroll {
	position: absolute;
	bottom: 10vh;
    right: 5%;
	z-index: 101;
}
/*Scrollテキストの描写*/
.scroll span {
	position: absolute;
	bottom: 0;
	transform: translateY(-100%);
	left: 10px;
    color: #D9D5D5;
	/*縦書き設定*/
  -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
/* 線の描写 */
.scroll::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 1px;
	height: 150px;
	background: #D9D5D5;
}
/* 丸の描写 */
.scroll::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: -3px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #D9D5D5;
	animation:
    circlemove 2.2s ease-in-out infinite,
    cirlemovehide 2.2s ease-in-out infinite;
}
/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
      0%{bottom:150px;}
     100%{bottom:-5px;}
}
/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
     50%{opacity:1;}
    100%{opacity:0;}
 }
main {
	padding-top: calc(100vh + 50px);
}
/*section共通*/
section {
	padding-top: 160px;
	padding-left: 5%;
	padding-right: 5%;
	box-sizing: border-box;
}
section h2 {
	font-weight: 200;
	padding-bottom: 30px;
	line-height: 1.8;
}
section:nth-child(even) h2 {
	text-align: right;
}
.rollAnime.roll span {
    transition-property: opacity,transform;
    transform: rotateY(360deg);
    transition: all .8s cubic-bezier(.77,0,.175,1);
    transition-timing-function: cubic-bezier(.77,0,.175,1);
    display: inline-block;
}
/*section_about*/
#about {
	line-height: 1.8;
}
#about dl {
	font-size: 1.2rem;
	margin-bottom: 25px;
}
#about dt {
	margin-bottom: 15px;
}
/*section_service*/ 
#service span.ja {
	display: block;
	font-size: 0.6rem;
	margin-top: 25%;
}
#service ul {
	position: relative;
	height: calc(38vw * 4);
	margin-top: 10px;
}
#service li {
background: url(../images/service_flame.svg)left top/contain no-repeat;
    width: 52%;
    height: 37vw;
	position: absolute;
}
#service li:nth-child(odd) {
	left: 0;
}
#service li:nth-child(even) {
	right: 0;
}
#service li:nth-child(3), #service li:nth-child(4) {
	top: 38vw;
}
#service li:nth-child(5), #service li:nth-child(6) {
	top: calc(38vw * 2);
}
#service li:nth-child(7), #service li:nth-child(8) {
	top: calc(38vw * 3);
}
#service li span.text {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 20%;
}
#service li span.comingsoon {
	font-size: 0.8rem;
}
#service a li span.text::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	position: absolute;
	right: -20px;
	top: 12%;
	background: url("../images/link_icon.png") left top/contain no-repeat;
}
#service a:hover li span.text::before {
	transition: 0.6s;
  	transform: rotateY(360deg);
}
#service a li span.text span.ja {
	display: block;
}
#service a:hover li span.text span.ja {
	transform: none;
}
#service a li span.text span {
  display: inline-block;
}
#service a:hover li span.text span {
  transition: .6s;
  -webkit-transform: rotateY(360deg);
  transform: rotateY(360deg);
}
#service a:hover li span.text span:nth-of-type(1) {
  -webkit-transition-delay: .02s;
  transition-delay: .02s;
}
#service a:hover li span.text span:nth-of-type(2) {
  -webkit-transition-delay: .04s;
  transition-delay: .04s;
}
#service a:hover li span.text span:nth-of-type(3) {
  -webkit-transition-delay: .06s;
  transition-delay: .06s;
}
#service a:hover li span.text span:nth-of-type(4) {
  -webkit-transition-delay: .08s;
  transition-delay: .08s;
}
#service a:hover li span.text span:nth-of-type(5) {
  -webkit-transition-delay: .10s;
  transition-delay: .10s;
}
#service a:hover li span.text span:nth-of-type(6) {
  -webkit-transition-delay: .12s;
  transition-delay: .12s;
}
#service a:hover li span.text span:nth-of-type(7) {
  -webkit-transition-delay: .14s;
  transition-delay: .14s;
}
#service a:hover li span.text span:nth-of-type(8) {
  -webkit-transition-delay: .16s;
  transition-delay: .16s;
}
/*section_company*/
#company dl {
	line-height: 1.8;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
#company dt {
	width: 35%;
}
#company dd {
	width: 65%;
}
.company_map {
	height: 220px;
}
/*section_contact*/
#contact {
	line-height: 1.8;
	text-align: right;
}
/*footer*/
footer {
	max-width: 1330px;
	text-align: center;
	margin-top: 150px;
	border-top: solid 1px #D9D5D5;
	margin-bottom: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-left: 5%;
	margin-right: 5%;
}
@media screen and (min-width: 780px) {
	.sp {
		display: none;
	}
	/*MVキャッチコピーのアニメーション*/
	.typo {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	}
	.typo span {
	  display: inline-block;
	  width: 30ch;
	  overflow: hidden;
	  white-space: nowrap;
	  border-right: 2px solid transparent;
	  animation: typing 3s steps(23), caret 0.5s steps(1) infinite;
	}
	@keyframes typing {
	  from {
		width: 0;
	  }
	}
	@keyframes caret {
	  50% {
		border-right-color: currentColor;
	  }
	}
	.gnavi {
		width: auto;
		height: auto;
		background: initial;
		opacity: 1;
		position: static;
		transform: translateY(0);
		display: flex;
		align-items: center;
		justify-content: space-around;
		overflow: visible;
		padding-right: 0;
		padding-left: 0;
	}
	header ul {
		display: flex;
		align-items: center;
	}
	header li {
		margin-left: 25px;
		font-size: 1rem;
		margin-bottom: 0;
	}
	header li.FB {
		margin: 0;
		margin-left: 25px;
	}
	header ul {
		margin: 0;
		transform: none;
	}
	header {
		padding-top: 20px;
	}
	header h1 {
		padding-top: 0;
	}
	.BG_logo {
		width: 35%;
	}
	section {
		max-width: 1120px;
		box-sizing: border-box;
		margin: 0 auto;
	}
	#about {
		line-height: 2;
	}
	#service li {
		width: 36%;
		height: 22vw;
	}
	#service li span.text {
		font-size: 1.2rem;
	}
	#service span.ja {
	    font-size: 0.8rem;
	}
	#service li span.comingsoon {
		font-size: 0.8rem;
	}
	#service ul {
		width: 90%;
		margin-right: 0;
		margin-left: auto;
		height: calc(22vw * 3);
	    margin-top: 30px;
	}
	#service li:nth-child(odd) {
		left: auto;
	}
	#service li:nth-child(even) {
		right: auto;
	}
	#service li:nth-child(3), #service li:nth-child(4) {
		top: auto;
	}
	#service li:nth-child(5), #service li:nth-child(6) {
		top: auto;
	}
	#service li:nth-child(7), #service li:nth-child(8) {
		top: auto;
	}
	#service li:nth-child(1), #service li:nth-child(4) {
		left: 0;
	}
	#service li:nth-child(2), #service li:nth-child(5), #service li:nth-child(7) {
		left: 50%;
		transform: translateX(-50%);
	}
	#service li:nth-child(3), #service li:nth-child(6), #service li:nth-child(8) {
		right: 0;
	}
	#service li:nth-child(4), #service li:nth-child(5), #service li:nth-child(6) {
		top: calc(22vw + 10px);
	}
	#service li:nth-child(7), #service li:nth-child(8) {
		top: calc((22vw + 10px) *2);
	}
	#service a li span.text::before {
		right: -10px;
		top: 18%;
	}
	.company_wrap {
		display: flex;
		justify-content: space-between;
	} 
	.company_text {
		width: 60%;
	}
	#company dl {
	    line-height: 2;
	}
	#company dt {
		width: 20%;
	}
	#company dd {
		width: 75%;
	}
	.company_map {
		width: 40%;
		height: 300px;
	}
	#contact {
	    line-height: 2;
	}
}
@media screen and (min-width: 1330px) {
	header {
		padding-left: 0;
		padding-right: 0;
	}
	.mainvisual p {
		font-size: 1.4rem;
	}
	section {
		padding-top: 260px;
		padding-left: 0;
		padding-right: 0;
	}
	#service li {
		width: 36%;
		height: 17vw;
	}
	#service li span.text {
		font-size: 1.4rem;
	}
	#service span.ja {
	    font-size: 0.9rem;
	}
	#service li span.comingsoon {
		font-size: 0.9rem;
	}
	#service ul {
		width: 80%;
		margin-right: 0;
		margin-left: auto;
		height: calc(18vw * 3);
	}
	#service li:nth-child(4), #service li:nth-child(5), #service li:nth-child(6) {
		top: calc(17vw + 20px);
	}
	#service li:nth-child(7), #service li:nth-child(8) {
		top: calc((17vw + 20px) *2);
	}
	#service a li span.text::before {
		right: -20px;
		top: 16%;
		width: 25px;
		height: 25px;
	}
	footer {
		margin-left: auto;
		margin-right: auto;
		margin-top: 260px;
	}
}