
/* CSS Document */

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

contents
=================================================*/

#top-image {
	width: 100%;
	height: 100vh;
	min-height: 400px;
	max-height: 700px;
	position: relative;
	z-index: 3;
}
#top-image .bg {
	width: 100%;
	height: 100%;
	position: absolute;
	background: linear-gradient(55deg, #ff8000 0%, #ffd200 80%);
	top: 0;
	left: 0;
	z-index: 1;
}
#top-image .bg.bl {
	background: linear-gradient(55deg, #000099 0%, #009cff 80%);
}
#top-image .top-image-inner {
	width: 90%;
	max-width: 1200px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 4;
}
#top-image .top-image-inner h1 {
	position: relative;
	color: #FFF;
	font-size: clamp(6rem, 10vw, 12rem);
	line-height: 90%;
}
#top-image .top-image-inner h1 span {
	display: inline-block;
	font-size: clamp(2rem, 5vw, 5.5rem);
	line-height: 110%;
	border: clamp(4px, 1vw, 8px) solid #FFF;
	margin-top: .5em;
	padding: .4em 1.2em;
}
#top-image #particles-js {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.line {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: -10%;
	clip-path: inset(0 100% -10% 0);
	z-index: 3;
}
.line-w {
	width: 39%;
	position: absolute;
	top: 0;
	right: 0;
	clip-path: inset(0 100% 0 0);
	z-index: 3;
}
.load #top-image .line {
	animation: line-open 3s forwards ease-in-out 1s;
}
.load #top-image .line-w {
	animation: line-open 3s forwards ease-in-out 1.5s;
}
@keyframes line-open {
	0% {
		clip-path: inset(0 100% 0 0);
	}
	30% {
		clip-path: inset(0 0 0 0);
	}
	100% {
		clip-path: inset(0 0 0 100%);
	}
}
#top-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.block-title {
	position: relative;
	width: min(21.6%, 260px);
	min-width: 180px;
	border: clamp(4px, .7vw, 8px) solid #00006a;
	aspect-ratio: 1 / 1;
}
.block-title h2 {
	width: 100%;
	position: absolute;
	color: #00006a;
	text-align: center;
	font-size: clamp(2.2rem, 3vw, 3.2rem);
	line-height: 120%;
	
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	z-index: 1;
}
.block-title h2 span {
	display: block;
	font-size: clamp(1.6rem, 1.8vw, 1.8rem);
}

.block-title-c {
	position: relative;
	width: 290px;
	aspect-ratio: 1 / 1;
	background: linear-gradient(0deg, #030096, #0500c6);
	clip-path: circle(50% at 50% 50%);
}
.block-title-c::before {
	content: " ";
	display: block;
	position: absolute;
	width: min(24%, 70px);
	aspect-ratio: 1 / 1;
	background-image: url("../../recruit/images/icon1.png");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: contain;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, -40%);
	z-index: 1;
}
.block-title-c h2 {
	width: 100%;
	position: absolute;
	color: #FFF;
	text-align: center;
	font-size: clamp(2.2rem, 3vw, 3.2rem);
	line-height: 120%;
	
	top: 45%;
	left: 0;
	transform: translate(0, -50%);
	z-index: 2;
}
.block-title-c span {
	display: block;
	font-size: clamp(1.6rem, 1.8vw, 1.8rem);
	line-height: 160%;
	color: #ff7e00;
	margin-bottom: .5em;
}

.under-contents {
	width: 90%;
	max-width: 1000px;
	text-align: center;
	color: #999;
	border: clamp(3px, 0.5vw, 5px) solid #999;
	margin: 0 auto;
	padding: min(5%, 40px);
}
.under-contents h1 {
	margin-bottom: min(4%, 40px);
}
.under-contents h1 span {
	display: block;
	font-size: 60%;
	line-height: 160%;
}

@media only screen and (min-width:1px) and (max-width: 768px) {
	
	#top-image {
		height: 300px;
		min-height: 300px;
		max-height: 300px;
		position: relative;
		margin-top: 60px;
		z-index: 3;
	}
	#top-image .top-image-inner h1 {
		text-align: center;
	}
	
	.block-title {
		position: relative;
		width: 100%;
		min-width: 100%;
		aspect-ratio: auto;
		margin-bottom: 2em;
	}
	.block-title h2 {
		width: 100%;
		position: relative;
		top: 0;
		left: 0;
		transform: translate(0, 0);
		padding: .6em 1em .5em;
	}
	.block-title h2 br {
		display: none!important;
	}
	.block-title h2 span {
		display: block;
		font-size: clamp(1.6rem, 1.8vw, 1.8rem);
	}
	
	.block-title-c {
		position: relative;
		width: 240px;
	}
}

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

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

}

