@charset "UTF-8";

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

　top-intro

=================================================*/
.mainvisual {
	width: 100%;
	margin: 0 auto 30px;
	padding: 0 0 0.9375vw;
	background: url("../images/common/mainvisual_boder01.jpg") center bottom / 100% auto no-repeat;
}
.mainvisual-wrap {
    position: relative;
    margin: 0;
    padding: 0 0 56.25%;
}
.mainvisual .mainvisual-video,
.mainvisual .mainvisual-img {
	position: absolute;
	top: 0;
	left: 0;
}
.mainvisual .mainvisual-img {
	opacity: 0;
	z-index: -1;
}
.mainvisual .mainvisual-img.finished {
	opacity: 1;
}
.video-sp { display: none !important; }

@media screen and (max-width: 768px) {

	.mainvisual {
		width: 100%;
		margin: 0 auto 30px;
		padding: 0 0 2.26666666vw;
		background: url("../images/common/mainvisual_boder_sp_01.jpg") center bottom / 100% auto no-repeat;
	}
	.mainvisual-wrap {
		padding: 0 0 177.777777vw;
		transition: all 0.5s ease;
	}
	.mainvisual .mainvisual-video,
	.mainvisual .mainvisual-img {
		position: absolute;
		top: 0;
		left: 0;
	}
	.mainvisual .mainvisual-img figure img {
		width: 100vw;
		margin: 0;
	}
	.video-pc { display: none !important; }
	.video-sp { display: block !important; }
}

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

　Service

=================================================*/
.service {
	position: relative;
	width: 100%;
	margin: 0 auto 70px;
}
.service::after {
	position: absolute;
	content: '';
	display: block;
	top: 0;
	left: 50%;
	width: 202px;
	height: 74%;
	background-color: #EFEFEF;
	transform: translateX(-50%);
	z-index: -1;
}
.service-content {
	max-width: 1180px;
	margin: 0 auto;
	padding: 10px 35px 0;
}
.service-content h3 {
	max-width: 816px;
	margin: 0 auto 50px;
}
.service-content h3 span {
	display: inline-block;
	width: 509px;
	padding: 0 0 13px;
	border-bottom: 18px solid #000;
}
.service-content ul {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.service-content ul li {
	position: relative;
	margin: 0 0 40px;
}
.service-content ul li:nth-of-type(2),
.service-content ul li:nth-of-type(3) {
	width: 421px;
	margin: 0 40px;
	text-align: center;
}
.service-content ul li a {
	display: block;
	margin-top: 15px;
}
.service-content h4 {
	position: relative;
	width: 258px;
	margin: 0 auto 20px;
	padding: 5px 0;
	text-align: center;
	font-size: 2.1rem;
	font-weight: 900;
}
.service-content p {
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.7;
}
.service-content figure {
	position: relative;
	margin: 15px auto 20px;
	z-index: 5;
}
.service-content ul li:nth-of-type(2)::after {
	position: absolute;
	content: '';
	display: block;
	top: 70px;
	left: 50%;
	width: 120%;
	height: 202px;
	background-color: #EFEFEF;
	z-index: -1;
}


@media screen and (max-width: 1079px) {

	.service {
		margin: 0 auto 6.48748842vw;
	}
	.service::after {
		width: 18.721038vw;
		height: 70%;
	}
	.service-content {
		padding: 0.926784059vw 3.24374421vw;
	}
	.service-content h3 {
		max-width: 75.6255792vw;
		margin: 0 auto 4.6339203vw;
	}
	.service-content h3 span {
		width: 47.1733086vw;
		padding: 0 0 1.20481928vw;
		border-bottom: 1.66821131vw solid #000;
	}
	.service-content ul li {
		margin: 0 0 3.70713624vw;
	}
	.service-content ul li:nth-of-type(2),
	.service-content ul li:nth-of-type(3) {
		width: 39.0176089vw;
		margin: 0 3.70713624vw;
	}
	.service-content ul li a {
		margin-top: 1.39017609vw;
	}
	.service-content h4 {
		width: 23.9110287vw;
		margin: 0 auto 1.85356812vw;
		padding: 0.46339203vw 0;
		font-size: clamp(1.5rem, (100vw - 769px) * 6 / 310 + 15px, 2.1rem);
	}
	.service-content p {
		font-size: clamp(1.2rem, (100vw - 769px) * 5 / 310 + 12px, 1.7rem);
	}
	.service-content figure {
		margin: 1.39017609vw auto 1.85356812vw;
	}
	.service-content ul li:nth-of-type(2) figure::after {
	}
	.service-content ul li:nth-of-type(2)::after {
		top: 6.48748842vw;
		width: 46.8211307vw;
		height: 18.721038vw;
	}

	.service-content ul li:nth-of-type(1) p img {
		width: 7.13623726vw;
	}
	.service-content ul li:nth-of-type(2) p img,
	.service-content ul li:nth-of-type(3) p img {
		width: 5.74606117vw;
	}

}

@media screen and (max-width: 768px) {

	.service {
		margin: 0 auto 6.48748842vw;
	}
	.service::after {
		width: 17.3333333vw;
		height: 60%;
	}
	.service-content {
		padding: 0 2.66666666vw 3.24374421vw;
	}
	.service-content h3 {
		max-width: 71.6vw;
		margin: 0 auto 4.6339203vw;
	}
	.service-content h3 span {
		width: 44.4vw;
		padding: 0 0 1.20481928vw;
		border-bottom: 1.66821131vw solid #000;
	}
	.service-content h3 span img {
		width: 23.7333333vw;
	}
	.service-content ul {
		justify-content: space-between;
	}
	.service-content ul li {
		margin: 0 0 2.66666666vw;
	}
	.service-content ul li:nth-of-type(2),
	.service-content ul li:nth-of-type(3) {
		width: 46vw;
		margin: 0;
	}
	.service-content ul li a {
		margin-top: 1.39017609vw;
	}
	.service-content h4 {
		width: 30.933333vw;
		margin: 0 auto 1.85356812vw;
		padding: 0.46339203vw 0;
		font-size: clamp(1.1rem, (100vw - 375px) * 11 / 393 + 11px, 2.2rem);
	}
	.service-content p {
		font-size: clamp(1rem, (100vw - 375px) * 10 / 393 + 10px, 2rem);
	}
	.service-content figure {
		width: 36.2666666vw;
		margin: 1.39017609vw auto 1.85356812vw;
	}
	.service-content ul li:nth-of-type(2) figure::after {
		top: 0.926784059vw;
		width: 46.8211307vw;
		height: 17.3333333vw;
	}
	.service-content ul li:nth-of-type(1) p img {
		width: 6.53333333vw;
	}
	.service-content ul li:nth-of-type(2) p img,
	.service-content ul li:nth-of-type(3) p img {
		width: 5.33333333vw;
	}

}


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

　news

=================================================*/
.news {
	margin: 0 auto 85px;
	padding: 0;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}
.news-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 1000px;
	margin: 0 auto;
	padding: 50px 0;
	border-left: 1px solid #000;
}
.news-content h2 {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 295px;
	background-color: #E9E9E9;
}
.news-content h2::before {
	content: '';
	position: absolute;
	top: 0;
	left: -50vw;
	width: 50vw;
	height: 100%;
	background-color: #E9E9E9;
	z-index: -1;
}

.news-content ul {
	overflow: hidden scroll;
	width: calc(100% - 295px);
	height: 295px;
	margin: 0 auto;
	padding-left: 40px;
	text-align: left;
}
.news-content ul li {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
	padding: 0;
	font-size: clamp(1.4rem, (100vw - 1080px) * 2 / 320 + 14px, 1.6rem);
	font-weight: 700;
	line-height: 1.4;
}
.news-content ul li p {
	width: 100%;
	text-align: left;
}

@media screen and (max-width: 1079px) {

	.news-content {
		padding-right: 30px;
	}

}

@media screen and (max-width: 768px) {

	.news {
		margin: 0 auto 8vw;
	}
	.news-content {
		flex-direction: column;
		justify-content: space-between;
		padding: 1.33333333vw 0;
		border-left: none;
	}
	.news-content h2 {
		width: 100%;
		padding: 2.66666666vw;
		border-bottom: 1px solid #000;
	}
	.news-content h2::before {
		display: none;
	}
	.news-content h2 img {
		width: 14.8vw;
	}
	.news-content ul {
		width: 100%;
		height: 34.9333333vw;
		height: 100px;
		padding: 2.66666666vw 16vw;
		background-color: #E9E9E9;
	}
	.news-content ul li {
		font-size: clamp(1rem, (100vw - 375px) * 6 / 393 + 10px, 1.6rem);
		margin-bottom: 1.33333333vw;
	}

}
