@charset "UTF-8";

/*==========================================
 PC［1001px~］
===========================================*/
/*------------
 sliderArea
------------*/
#sliderArea {
	margin: 0 0 -120px;
	width: 100%;
	background: var(--main-color);
	position: relative;
	top: -120px;
	z-index: -1;
}

#sliderArea:before {
	content: 'a';
	width: 100%;
	height: 150px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, 0) 100%);
}

#slider {
	display: flex;
}

#slider img {
	width: 100%;
	height: 555px;
	object-fit: cover;
}

.catchcopy {
	padding: 40px 15%;
	width: 35%;
	font-size: 20px;
	line-height: 2;
	font-weight: bold;
	background: #fff;
	position: absolute;
	left: 0;
	top: 35%;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.typewritertext {
	width: 7em;
	border-right: 2px solid #fff;
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
}

/* Animation */
.typewriteranime {
	animation: typewriter 3s steps(19) 1s 1 normal both,
		blinkCursor 800ms steps(19) 6 normal;
}

.typewriteranime2 {
	animation: typewriter2 3s steps(19) 1s 1 normal both,
		blinkCursor 800ms steps(19) 4 normal;
	animation-delay: 4s;
}

@keyframes typewriter {
	from {
		width: 0;
	}

	to {
		width: 6.25em;
	}
}

@keyframes blinkCursor {
	from {
		border-right-color: #333;
	}

	to {
		border-right-color: transparent;
	}
}

@keyframes typewriter2 {
	from {
		width: 0;
	}

	to {
		width: 5.25em;
	}
}

/*------------
MESSAGE
------------*/
#messeageArea {
	position: relative;
	overflow: hidden;
}

#messeageArea::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 300px 0 0 100vw;
	border-color: transparent transparent transparent var(--bg-color);
	z-index: -1;
}

#messeageArea .section {
	padding-bottom: 0;
}

#messeageArea .flex>div {
	width: 48%;
	position: relative;
}

.top-messeage-img {
	margin-top: 5%;
	width: 100%;
	height: auto;
}

.messeage-img img {
	width: 30%;
	height: 200px;
	object-fit: cover;
}

.messeage-img img:first-child,
.messeage-img img:last-child {
	position: relative;
	top: -200px;
}

/*------------
btmArea
------------*/
#btmArea {
	background: var(--bg-color);
}

#btmArea .flex {
	justify-content: space-around;
	gap: 1em 15px;
}

#btmArea .bnr-btm {
	width: 23%;
}

/*------------
 news　
------------*/
#newsArea {
	position: relative;
}

#newsArea h2 {
	margin: 0;
	width: 150px;
	display: inline-block;
}

/*お知らせのリスト*/
.news {
	width: calc(100% - 250px);
	text-align: left;
}

.news dt {
	padding: 25px 0 10px;
	font-size: 1.5rem;
	float: left;
	color: #ccc;
}

.news dd {
	margin-left: 120px;
	padding: 20px 0 25px;
	font-size: 1.6rem;
	line-height: 2.5rem;
	position: relative;
	font-weight: bold;
}

.news dd:after {
	content: '';
	margin: 0 0 0 -120px;
	width: calc(100% + 120px);
	height: 1px;
	border-bottom: solid 1px #ddd;
	position: absolute;
	right: 0;
	left: 0;
	bottom: 0;
}

.new {
	margin-right: 10px;
	width: 40px;
	height: 20px;
	display: inline-block;
	text-align: center;
	background-color: var(--main-color);
	color: #fff;
	font-size: 1.1rem;
	font-weight: normal;
	border-radius: 20px;
	line-height: 1.6;
}

#newsArea .btm {
	position: absolute;
	bottom: 0;
}



/*------------
RECRUIT
------------*/
#recruitArea {
	/*padding: 60px 0;
	background: url("../images/top-recruit.jpg");*/
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#recruitArea>.section {
	padding: 0;
	background: #fff;
	text-align: center;
}

#recruitArea .flex.section {
	width: 100%;
	justify-content: center;
	column-gap: 15px;
}

#recruitArea a.bnr-btm {
	margin: 0 0 1em;
	width: 30%;
}

/*------------
 youtube
------------*/
#youtubeArea {
	padding-bottom: 60px;
	background: #fff;
}

#youtubeArea .section>div {
	margin: 0 auto;
	width: 47%;
	display: flex;
	flex-direction: column;
}

#youtubeArea h2 {
	margin: 20px 0;
	font-size: 2.5rem;
}

.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

/*==========================================
 tb［540px-1024px以下］
===========================================*/
@media screen and (max-width: 1024px) {

	/*------------
	 sliderArea
	------------*/
	#sliderArea {
		top: -70px;
	}

	#sliderArea:before {
		content: none;
	}

	.catchcopy {
		padding: 40px 5%;
		width: 220px;
	}

	/*------------
	RECRUIT
	------------*/
	#recruitArea a.bnr-btm {
		width: 48%;
	}

	/*------------
	messeage
	------------*/
	.messeage-img img:first-child,
	.features-img img:last-child {
		top: 0;
	}

	.messeage-img img:nth-child(2) {
		top: 15%;
		position: relative;
	}

	/*------------
	btmArea
	------------*/
	#btmArea .bnr-btm {
		width: 45%;
	}

}

/*==========================================
 sp［540px以下］
===========================================*/
@media screen and (max-width: 540px) {

	/*------------
	 sliderArea
	------------*/
	#sliderArea {
		margin: 0;
		top: 0;
	}

	#slider img {
		height: 300px;
	}

	.catchcopy {
		padding: 5%;
		width: 50%;
		font-size: 5vw;
		bottom: -50px;
		top: initial;
	}

	/*------------
	messeage
	------------*/
	#messeageArea .section {
		padding-bottom: 50px;
	}

	#messeageArea .flex>div {
		width: 100%;
	}

	.messeage-img {
		width: 100%;
	}

	.messeage-img img:last-child {
		top: 0;
	}

	/*------------
	RECRUIT
	------------*/
	#recruitArea a.bnr-btm {
		width: 100%;
	}

	/*------------
	 btmArea　
	------------*/
	#btmArea .flex {
		padding-top: 50px;
	}

	#btmArea a.bnr-btm {
		margin: 0;
		width: 100%;
	}

	/*------------
	 news　
	------------*/
	/*お知らせのリスト*/
	.news {
		width: 100%;
	}

	.news dd {
		font-size: 1.4rem;
	}

	#newsArea .btm {
		position: relative;
	}

	/*------------
	RECRUIT
	------------*/
	#recruitArea .flex.section {
		justify-content: center;
	}

	#recruitArea a.bnr-btm:last-child {
		margin: 0;
	}

	/*------------
	 youtube
	------------*/
	#youtubeArea .section>div {
		padding-top: 0;
		flex-direction: column;
		width: 100%;
	}

}