
/* CSS Document */

/*==================================================

top-contents
=================================================*/

.top-wrapper {
	width: 100%;
	position: relative;
	background: #000;
}

#top-image {
	width: 100%;
	position: relative;
	background-image: url("../../images/mv.webp");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
   overflow: hidden;
	margin: 0 auto;
}
#top-image .top-title {
   width: 90%;
	max-width: 1600px;
	position: relative;
	color: #fff;
	text-align: center;
	margin: 0 auto;
	padding: 8em 0;
	z-index: 3;
}
#top-image .top-title h1 {
   width: 100%;
	position: relative;
	font-size: clamp(4rem, 14vw, 18rem);
	text-align: center;
	font-weight: 500;
   line-height: 1;
	margin: 0 auto;
}
#top-image .top-title h2 {
   width: 100%;
	position: relative;
	font-size: clamp(1.6rem, 2.4vw, 2.8rem);
	color: #fff;
	text-align: center;
   line-height: 1.8;
	font-weight: 700;
	margin-top: 2em;
}
#top-image::after {
	content: " ";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .2);
	top: 0;
	left: 0;
	z-index: 1;
}

#top-image .mv-border {
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url("../../images/mv_bar.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	top: 0;
	left: 0;
	z-index: 2;
}

/* JS有効時はチラつき防止で最初は隠す */

.js-anim .js-flicker-title {
   opacity: 0;
}

.js-flicker-title .char {
   display: inline-block;
   opacity: 0;
}

/* 点灯：蛍光灯風にチカチカしてから点灯 */
.js-flicker-title .char.is-on {
   animation: flickerIn 0.5s steps(1, end) forwards;
}

@keyframes flickerIn {
   0%   { opacity: 0; }
   10%  { opacity: 1; }
   20%  { opacity: 0; }
   35%  { opacity: 1; }
   45%  { opacity: 0; }
   60%  { opacity: 1; }
   70%  { opacity: 0.4; }
   85%  { opacity: 1; }
   100% { opacity: 1; }
}

#business {
	width: 100%;
	max-width: 1600px;
	background-image: url("../../images/border.svg");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: auto 80%;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 50px 0;
	margin: min(6%, 60px) auto;
	padding: min(10%, 100px) 2% 0 6%;
}
#business dl {
   width: 36%;
   background: linear-gradient(90deg, #e35705, #e3030d);
   clip-path: polygon(clamp(60px, 7vw, 110px) 0, 100% 0, calc(100% - clamp(60px, 7vw, 110px)) 100%, 0 100%);
   margin-left: -5%;
}
#business dl dt {
	margin: 0;
}
#business dl dt img {
	width: 100%;
	height: auto;
	display: block;
}
#business dl dd {
	color: #FFF;
	padding: 10% 0 10% 5%;
}
#business dl dd .inner {
	width: 80%;
	text-align: center;
}

#business dl dd h2 {
	font-size: clamp(1.8rem, 2vw, 2.4rem);
	line-height: 1.6;
}
#business dl dd h2 span {
	display: block;
	font-size: 71.4%;
	line-height: 1.6;
}
#business dl dd .inner .button {
	width: 75%;
	margin: 1em auto 0;
}

#about dl {
	width: 90%;
	max-width: 1400px;
	display: flex;
	align-items: stretch;
	color: #FFF;
	clip-path: polygon(clamp(60px, 7vw, 110px) 0, 100% 0, calc(100% - clamp(60px, 7vw, 110px)) 100%, 0 100%);
	background: linear-gradient(90deg, #e35705 40%, #e3030d);
	margin: min(10%, 100px) auto;
}
#about dl dt {
	width: 50%;
	flex-shrink: 0;
	clip-path: polygon(0 0, 100% 0, calc(100% - clamp(60px, 7vw, 110px)) 100%, 0 100%);
	margin: 0;
}

#about dl dt img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
#about dl dd {
	flex: 1;
	padding: 6% 0 5%;
}
#about dl dd .inner {
	width: 80%;
	text-align: center;
}
#about dl dd h1 {
	font-size: clamp(2.4rem, 3.2vw, 3.8rem);
	line-height: 1.6;
}
#about dl dd h1 span {
	display: block;
	font-size: 71.4%;
	line-height: 1.6;
}
#about dl dd .inner .button {
	width: 75%;
	max-width: 240px;
	margin: 1em auto 0;
}

@media (hover: hover) {
	#business dl dt a:hover {
		opacity: 1;
	}
	#about dl dt a:hover {
		opacity: 1;
	}
}

#recruit {
	width: 100%;
	background-image: url("../../images/recruit_bg.webp");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	margin: min(10%, 100px) auto 0;
}
#recruit .inner {
	width: 80%;
	max-width: 1000px;
	margin: 0 auto;
	padding: min(10%, 100px) 0;
}
#recruit h1 {
	color: #FFF;
	font-size: clamp(3rem, 5vw, 8rem);
	line-height: 1.4;
}
#recruit h1 span {
	display: block;
	font-size: 45%;
	line-height: 1.4;
}
#recruit .button {
	width: 75%;
	max-width: 240px;
	margin-top: 1.8em;
}

#contents img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

@media only screen and (min-width:1px) and (max-width: 768px) {
	
	#top-image {
		margin: 60px auto 0;
	}
	
	#business {
		width: 100%;
		flex-direction: column;
		background: linear-gradient(180deg, #e35705, #e3030d);
		background-size: 200%;
		gap: 20px 0;
		margin: 0 auto;
		padding: min(10%, 100px) 0;
	}

	#business dl {
      width: 90%;
		max-width: 480px;
      display: flex;
      align-items: stretch;
      clip-path: none;
		background: #fff;
		margin: 0 auto;
   }
   #business dl dt {
      width: 40%;
      flex-shrink: 0;
      margin: 0;
   }
	
   #business dl dt img {
      width: 100%;
      height: 100%;
		display: block;
      object-fit: cover;
   }
   #business dl dd {
      flex: 1;
		padding: 5% 3% 5%;
   }
	#business dl dd .inner {
		width: 100%;
		color: #000;
		
		text-align: center;
		margin: 0 auto;
	}
	
	#about dl {
		width: 100%;
		clip-path: none;
	}
	#about dl dt {
		width: 40%;
		clip-path: none;
		margin: 0;
	}
	#about dl dd {
		flex: 1;
		padding: 5% 5% 5%;
	}
	#about dl dd .inner {
		width: 100%;
	}
	#about dl dd .inner .button {
		width: 100%;
		margin: 1em auto 0;
	}
	
	
	#recruit {
		background-position: center center;
	}
	#recruit .inner {
		text-align: center;
		margin: 0 auto;
	}
	#recruit .button {
		margin: 1.8em auto 0;
	}
}

@media only screen and (min-width:1px) and (max-width: 568px) {
	

}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}



