@charset "UTF-8";

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

.sliderwrap {
	margin-top: -50px;
	margin-left: auto;
	position: relative;
	width: min(95%, 930px);
	height: 555px;
}

#slider {
	opacity: 0;
	transition: opacity .3s linear;
}

#slider.slick-initialized {
	opacity: 1;
}

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

.progress {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 7px;
	height: 100%;
}

.bar {
	display: block;
	width: 5px;
	height: 100%;
	background: #000;
}

.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;
}

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

@keyframes typewriter {
	from {
		width: 0;
	}

	to {
		width: 7.25em;
	}
}

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

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

@keyframes typewriter2 {
	from {
		width: 0;
	}

	to {
		width: 6.25em;
	}
}

.subcopy {
	width: 100%;
	margin: -50px 0 0 auto;
	font-weight: bold;
	font-size: clamp(1.6rem, 8vw, 9.2rem);
	white-space: nowrap;
	overflow: hidden;
	line-height: 1;
	text-align: end;
	color: #fff;
	z-index: 1;
	position: relative;
}

/*------------
 bannerArea
------------*/
#bannerArea {
	background: #fff;
}

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

#bannerArea .section>div {
	width: 48%;
}

#bannerArea a {
	display: block;
	width: 100%;
	height: 100%;
	transition-duration: .3s;
}

@media (hover: hover) {
	#bannerArea a:hover {
		opacity: .7;
	}
}

#bannerArea img {
	width: 100%;
	height: auto;
}

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

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


#newsArea>div {
	width: 48%;
}

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

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

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

.news dd {
	margin-left: 120px;
	padding: 25px 0;
	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;
	transform: translateY(-2px);
}


/*------------
FEATURES
------------*/
#featuresArea {
	position: relative;
	overflow: hidden;
}

#featuresArea::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;
}

.features-text {
	width: 40%;
	text-align: justify;
}

.features-img {
	width: 50%;
}

.features-img img {
	width: 30%;
	height: auto;
	object-fit: cover;
}

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

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

#worksArea .section {
	padding: 0 0 60px;
}

#worksArea h2 {
	margin: 0 0 30px;
}

#works-slider {
	margin-right: calc(((100vw - 100%) / 2) * -1);
}

#works-slider li {
	margin: 0 20px 0 0;
	padding: 0 0 10px;
	width: 300px !important;
}

#works-slider li a {
	box-shadow: 0 0 10px rgba(0, 0, 0, .2);
	display: flex;
	flex-direction: column;
	color: var(--text-color);
	background: #fff;
}

#works-slider li img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	order: 1;
}

#works-slider li h3 {
	margin: 15px 15px 0;
	order: 2;
	font-size: 2.5rem;
}

#works-slider li p {
	margin: 0 15px 15px;
	order: 3;
	font-size: 1.6rem;
}

/*slickの矢印*/
.slick-arrow {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--main-color);
	position: absolute;
	right: 3%;
	top: 40%;
}

.prev.slick-arrow {
	left: 3%;
	z-index: 1;
	transition-delay: .3s;
}

.slick-arrow:after {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	transform: rotate(45deg);
	position: absolute;
	top: 45%;
	right: 45%;
}

.prev.slick-arrow:after {
	transform: rotate(-135deg);
	right: 40%;
}

.slick-arrow:hover {
	opacity: .8;
	cursor: pointer;
}

.prev.slick-arrow.slick-disabled,
.next.slick-arrow.slick-disabled {
	display: none !important;
}


/*------------
RECRUIT
------------*/
#recruitArea {
	padding: 15px 0;
	background-color: var(--main-color);
	position: relative;
}

#recruitArea:after {
	content: '';
	width: 50vw;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	background: url("../images/top-recruit.jpg");
	background-size: cover;
}

#recruitArea .section {
	padding-bottom: 0;
	background: #fff;
	z-index: 1;
	position: relative;
	border: solid 10px var(--main-color);
	text-align: center;
}

.recruit-img {
	margin: 0 auto;
	width: 100%;
	height: 250px;
	object-fit: cover;
	object-position: center 15%;
	display: block;
}

/*------------
 youtube
------------*/
#youtubeArea,
#youtubeArea.section {
	background: #fff;
}

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

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

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

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


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

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

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

	.subcopy {
		margin: 0;
	}

	/*------------
	 bannerArea
	------------*/
	#bannerArea .section {
		margin-top: 60px;
	}

	/*------------
	 news　
	------------*/
	/*お知らせのリスト*/
	#newsArea>div {
		width: 100%;
	}


	/*------------
	FEATURES
	------------*/
	.features-img img {
		height: 250px;
	}

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

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

	/*------------
	WORKS
	------------*/
	.slick-arrow {
		top: -30%;
	}

	.prev.slick-arrow {
		left: inherit;
		right: calc(3% + 100px);
	}

	.next.slick-arrow.slick-disabled {
		opacity: .5;
		display: block !important;
	}

	/*------------
	RECRUIT
	------------*/
	#recruitArea {
		padding: 5%;
	}

	#recruitArea .section {
		padding: 5% 5% 0;
	}

	#recruitArea .section p {
		text-align: justify;
	}

}

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


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

	.sliderwrap {
		margin-top: 0;
		padding: 0 0 45%;
		height: 100%;
	}

	#slider img {
		height: 300px;
	}

	.progress {
		height: 300px;
		top: 0;
	}

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

	.subcopy {
		width: 50%;
		display: inline-block;
		white-space: break-spaces;
		position: absolute;
		bottom: 0;
		right: 0;
	}

	/*------------
	 bannerArea
	------------*/
	#bannerArea .section {
		margin-top: 0;
	}



	/*------------
	FEATURES
	------------*/
	.features-text,
	.features-img {
		width: 100%;
	}

	/*------------
	WORKS
	------------*/
	#worksArea .section {
		padding: 60px 0;
	}


	/*------------
	RECRUIT
	------------*/
	#recruitArea {
		padding: 10% 5%;
	}

	#recruitArea .section {
		padding: 5% 0 0;
	}

	#recruitArea p {
		margin: 0 5%;
	}

	#recruitArea img {
		width: 100%;
		object-fit: contain;
		height: auto;
	}

	#recruitArea:after {
		content: '';
		height: 50%;
		width: 100%;
		position: absolute;
		top: inherit;
		bottom: 0;
		right: 0;
		background: url("../images/top-recruit.jpg");
		background-size: cover;
	}

	/*------------
	 youtube
	------------*/
	#youtubeArea>div {
		width: 100%;
	}

	#youtubeArea h2 {
		order: 1;
	}

	.youtube {
		order: 2;
	}

	/*------------
	CONTACT
	------------*/
	.contact-text {
		position: static;
	}

	#contactArea h2 {
		margin-bottom: 40px;
	}

	.tel-num {
		font-size: 10vw;
	}

	#contactArea .flex>a {
		width: 100%;
	}

	#contactArea .flex>a:first-child {
		margin: 0 0 5%;
	}
}