#gnav0 a {
	color: #fff !important;
	background: #156a90;
	border: 2px solid #156a90 !important;
}

#mainimage {
	height: calc(100dvh - 120px);
	position: relative;
	z-index: 1;
}

.image-container,
#slide,
.slick-list,
.slick-track,
#slide li {
	height: 100%;
}

.image-container img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mainimage_catch {
	position: absolute;
	top: 10dvh;
	height: calc(100% - 10dvh);
	left: 19%;
}

.mainimage_catch h2 {
	font-size: clamp(30px, 2dvw, 36px);
	color: #fff;
	writing-mode: vertical-rl;
	font-family: "fot-tsukuardgothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
	height: 100%;
	text-shadow: 0 0 5px #000, 0 0 10px #000;
	line-height: 1.5em;
}

#slide1 .mainimage_catch {
	left: 80%;
	height: auto;
}

#slide1 .mainimage_catch h2{
	height: auto;
	display: inline-block;
}

#slide4 > div > h2{
	text-align: right;
	display: inline-block;
	height: auto;
}

#slide2 .mainimage_catch{
	top: 50%;
	transform: translate(0, -50%);
}

#slide2 .mainimage_catch h2{
	/* height: 30vw; */
}

#slide2 .mainimage_catch{
	left: 20%;
}

#slide4 .mainimage_catch {
	position: absolute;
	height: auto;
    top: 50%;
    left: 34% !important;
    transform: translate(0, -60%);
}

#slide4 .mainimage_catch span{
	display: inline-block;
	transform: translateX(clamp(22px, 1.4vw, 28px));
}

#mainimage_contact {
	position: absolute;
	right: 55px;
	top: 0px;
	z-index: 5;
}

#mainimage_contact:hover {
	/* opacity: 0.8; */
	transition: 0.5s;
}

#mainimage_contact a {
	display: block;
	color: #fff;
	overflow: hidden;
	width: 348px;
	height: 300px;
	border-radius: 50%;
	box-shadow: 0 3px 5px rgba(21, 106, 144, 0.8);
	background: #fff;
	text-decoration: none;
	position: relative;
	top: 40px;
	z-index: 1;
}

#mainimage_contact #contact_met {
	display: block;
	position: absolute;
	top: 0px;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 2;
}

#mainimage_contact dt {
	height: 210px;
	padding: 80px 0 0;
	box-sizing: border-box;
	background: #0dbca1;
	font-size: 36px;
	text-align: center;
	font-family: "fot-tsukuardgothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 1.2em;
}

#mainimage_contact dt a:hover{
	opacity: 1;
}

#mainimage_contact:hover dt{
	background-color: #0ECBAE;
	text-shadow: 0 0 2px #0dbca1,0 0 2px #0dbca1,0 0 2px #0dbca1,0 0 2px #0dbca1,0 0 2px #0dbca1;
}

#mainimage_contact dt span {
	font-size: 40px;
}

#mainimage_contact dd {
	height: 95px;
	padding: 15px 0 0;
	box-sizing: border-box;
	text-align: center;
	color: #08806D;
}

#mainimage_contact dd span {
	border-bottom: 2px dashed #b2a650;
	font-weight: 700;
	line-height: 40px;
	display: inline-block;
}

#mainimage_contact dd span img {
	vertical-align: middle;
}

@media screen and (max-width: 1500px) {
	#mainimage_contact {
		right: 20px;
	}

	#mainimage_contact a {
		width: 205px;
		height: 205px;
		top: 40px;
	}

	#mainimage_contact dt {
		height: 110px;
		padding: 50px 0 0;
		font-size: 20px;
	}

	#mainimage_contact dt span {
		font-size: 24px !important;
	}

}

#top1_wrap {
	position: relative;
	width: 100%;
	overflow-x: hidden;
	margin-top: -310px;
	padding: 130px 0 0;
	z-index: 5;
}

#top4:before {
	content: "";
	display: block;
	position: absolute;
	z-index: 2;
	background: #fff;
	height: 540px;
	border-radius: 50%;
	width: 158%;
	box-sizing: border-box;
	margin: 0 auto;
	left: -29%;
	z-index: 2;
}

#top4 h2,
#top4 article {
	position: relative;
	z-index: 3;
}

#top5 h2,
#top5 article {
	position: relative;
	z-index: 3;
}

#top4 h2 {
	text-align: center;
	margin: 0 auto 30px;
}

#top4 article {
	padding: 80px 0 0;
}

#top4 article ul {
	list-style: none;
	padding: 0 3%;
	margin: 0 auto;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
}

#top4 article ul li {
	width: 20%;
	max-width: 336px;
	position: relative;
}

#top4 article ul li:nth-child(1) {
	padding: 2% 0 0;
}

#top4 article ul li:nth-child(3) {
	padding: 5% 0 0;
}

#top4 article ul li:nth-child(5) {
	padding: 5% 0 0;
}

#top4 article ul li img {
	max-width: initial !important;
	width: 102%;
	display: block;
	position: relative;
	left: -1%;
}

#top4 {
	margin: 0 auto 40px;
	padding: 0 3%;
}

#komattakoto li {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

#komattakoto li.fade-up {
	opacity: 1;
	transform: translateY(0);
}

#top5 {
	position: relative;
	box-sizing: border-box;
	padding: 0 0 8vw;
	background: url('../images/index/bg_onayami2025_10_07.svg');
	background-repeat: repeat-x;
	background-position: top center;
	background-size: max(105vw,1300px);
	margin: 40px auto 100px;
	z-index: 2;
}

#top5 h2 {
	position: relative;
	/* top: -8.5vw; */
	box-sizing: border-box;
	height: 17.6vw;
	padding: 3.7vw 0 0;
	margin: 0 auto;
	/* background: url('../../../../media/index/toraRopeFrame.svg') no-repeat center center; */
	background-size: 150%;
	text-align: center;
}

#top5 h2 img {
	/* position: absolute; */
	top: -30px;
	left: 10%;
	width: 47vw;
	height: auto;
}

#top5 article img {
	display: block;
	margin: 0 auto 40px;
}

#top5 article ul {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 10px;
}

#kojishuryo{
	position: absolute;
	width: 181px;
	height: 119px;
	top: calc(24vw * 0.9);
	left: calc(50% - 90px);
}
@media screen and (max-width: 1200px) {
	#kojishuryo{
		top: calc(28dvw * 0.9);
	}
}
/* #top5 article ul::before{
	content: url('../../../../media/index/kirakira.svg');
	position: absolute;
	bottom: -3vw;
    left: 7vw;
} */

/* #top5 article ul::after{
	content: url('../../../../media/index/kirakira2.svg');
	position: absolute;
	top: -3vw;
    right: 7vw;
} */


#top5 article ul li {
	width: 15vw;
	margin: 0.3vw;
}

#flowLine {
	width: 55vw;
}

#contact_button2 {
	position: absolute;
	z-index: 6;
	bottom: -6vw;
	left: 50%;
	transform: translateX(-50%);
}

#contact_button2 a{
	display: block;
	background-color: #fff;
	border-radius: 20px;
}

#contact_button2 a:hover img{
	opacity: 0.85;
}


#contact_button2 img {
	width: 41.666dvw;
	max-width: 800px;
}

#top5-4 ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px 55px;
	list-style: none;
	padding: 0;
}

#top5-4 ul li {
	width: calc((100% - 110px) / 3);
	flex: none;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 20px;
	position: relative;
	text-align: center;
	font-weight: bold;
	padding: 65px 0 20px;
}

#top5-4 ul li:last-child {
	width: 720px !important;
}

#top5-4 ul li img {
	display: block;
	position: absolute;
	top: -20px;
	left: 0;
	right: 0;
	margin: auto;
}

#top5-4 ul li span {
	color: #ec6941;
}

#top5-4 ul li strong {
	font-size: 22px;
}

#top5-5 {
	text-align: center;
	font-family: "fot-tsukuardgothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 24px;
	position: relative;
}

#top5-5 strong {
	font-size: 40px;
	font-weight: normal;
}

#contact_button {
	padding: 15px 0;
	line-height: 40px;
	position: absolute;
	bottom: -80px;
	left: 0;
	right: 0;
	margin: auto;
}

#contact_button a {
	max-width: 200px;
	display: block;
	color: #fff;
	padding: 0 20px 0 50px;
	margin: 0 auto;
	text-decoration: none;
	text-align: center;
	background: #156a90 url('../images/common/icon_contact.svg') no-repeat left 10px center;
	border-radius: 20px;
}

#contact_button a:hover {
	color: #fff !important;
	background: #1da2b2 url('../images/common/icon_contact.svg') no-repeat left 10px center;
}

#top1 {
	height: max(71vw, 890px);
	padding: max(6.75vw, 80px) 0 0;
	box-sizing: border-box;
	background: url('../images/index/bg_daen.svg') no-repeat center center;
	background-size: cover;
}

#top1 article {
	text-align: center;
	padding: 0 20px;
	/* max-width: 100dvw; */
	margin: 0 auto;
	box-sizing: border-box;
}

#top1 h2 {
	font-size: 2.3475vw;
	color: #000;
	margin: 0 auto 2.3475vw;
	font-family: "fot-tsukuardgothic-std", sans-serif;
	font-weight: 500;
	font-style: normal;
	position: relative;
	display: flex;
	justify-content: center;
	gap: 1.1718vw;
}

#top1 h2:before {
	content: "";
	display: block;
	border-left: 8px double #000;
	transform: rotate(-15deg);
}

#top1 h2:after {
	content: "";
	border-right: 8px double #000;
	transform: rotate(15deg);
}

#top1 h3 {
	font-size: 40px;
	margin: 0 auto 35px;
	font-family: "fot-tsukuardgothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
}

#top1 li a:hover img {}

#top1 .more {
	margin: 0 auto 90px;
}

#top1 .more a {
	display: block;
	margin: 0 auto;
	text-decoration: none;
	font-weight: 700;
	border: 1px solid #156a90;
	line-height: 58px;
	border-radius: 30px;
	padding: 0 30px 0 10px;
	max-width: 200px;
	text-align: center;
	background: url('../images/common/arrow1.svg') no-repeat right 10px center;
}

#top1 .more a:hover {
	color: #fff;
	background: #156a90 url('../images/common/arrow1.svg') no-repeat right 10px center;
}

#top1 article ul {
	list-style: none;
	gap: 1.5625vw;
	display: flex;
	padding: 0;
	/* max-height: calc(100dvh - 200px); */
}

#top1 article ul li {
	background: #fff;
}

#top1 article ul li a {
	height: 100%;
	display: block;
	position: relative;
}

#top1 article ul li img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 1;
}

#top1 article ul li a strong {
	background: #156a90;
	color: #fff;
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 13.768vw;
	z-index: 2;
	mix-blend-mode: multiply;
}

#top1 article ul li a span {
	color: #fff;
	width: 100%;
	display: block;
	line-height: 13.768vw;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 3;
	font-size: clamp(24px, 2dvw, 48px);
	text-align: center;
	background: url('../images/common/arrow2.svg') no-repeat bottom right;
}

#top2 {
	position: relative;
	z-index: 1;
	height: 580px;
	background: url('../images/index/bg1.webp') no-repeat bottom center;
	padding: 260px 0 0 6.25dvw;
	margin-top: -230px;
	margin-bottom: 180px;
}

#top2 article {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	padding: 40px 0;
	justify-content: flex-end;
}

#top2 article img {
	height: 250px;
	width: auto;
}

#top2 article .comment {
	width: 460px;
	flex: none;
	color: #fff;
	font-size: 24px;
	line-height: 1.8em;
	padding: 100px 0 0;
}

#top2 h2 {
	font-size: 40px;
	margin: 0 auto 35px;
	font-family: "fot-tsukuardgothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-align: center;
}

#top2 .more {
	padding: 20px 0 0;
}

#top2 .more a {
	display: block;
	margin: 0 auto;
	text-decoration: none;
	font-weight: 700;
	border: 1px solid #156a90;
	line-height: 58px;
	border-radius: 30px;
	padding: 0 30px 0 10px;
	max-width: 200px;
	text-align: center;
	font-size: 18px;
	background: #fff url('../images/common/arrow1.svg') no-repeat right 10px center;
}

#top2 .more a:hover {
	color: #fff;
	background: #156a90 url('../images/common/arrow1.svg') no-repeat right 10px center;
}

#top3 {
	max-width: 1200px;
	height: 465px;
	margin: 0 auto 130px;
	background: url('../images/index/bg_recruit.webp') no-repeat top center;
	background-size: 100% auto;
}

#top3 article {
	max-width: 940px;
	padding: 85px 110px 0 350px;
	box-sizing: border-box;
	margin: 0 auto;
}

#top3 h2 {
	font-size: 40px;
	margin: 0 auto 70px;
	font-family: "fot-tsukuardgothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-align: center;
}

#top3 .more {
	padding: 70px 0 0;
}

#top3 .more a {
	display: block;
	margin: 0 auto;
	text-decoration: none;
	font-weight: 700;
	border: 1px solid #156a90;
	line-height: 58px;
	border-radius: 30px;
	padding: 0 30px 0 10px;
	max-width: 200px;
	text-align: center;
	font-size: 18px;
	background: rgba(255, 255, 255, 0.7) url('../images/common/arrow1.svg') no-repeat right 10px center;
}

#top3 .more a:hover {
	color: #fff;
	background: #156a90 url('../images/common/arrow1.svg') no-repeat right 10px center;
}

#news {
	margin: 0 auto 75px;
}

#news h2 {
	font-size: 40px;
	margin: 0 auto 20px;
	font-family: "fot-tsukuardgothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-align: center;
}

#news article {
	max-width: 1040px;
	margin: 0 auto;
}

#news article dl {
	display: flex;
	border: 1px solid #156a90;
	border-top: 5px solid #156a90;
	color: #156a90;
	padding: 10px 35px;
	margin: 0 auto 20px;
}

#news article dl dt {
	width: 165px;
	flex: none;
}

#news .more {
	text-align: center;
}

#news .more a {
	display: inline-block;
	border-bottom: 2px dashed #156a90;
	line-height: 40px;
	text-decoration: none;
}


#top5>article>ul>li:nth-child(3) {
	margin: 70px 0 0 0;
}

#top5>article>ul>li:nth-child(1),
#top5>article>ul>li:nth-child(5) {
	margin: 170px 0 0 0;
}

#top5>article>ul>li:nth-child(2),
#top5>article>ul>li:nth-child(4) {
	margin: 120px 0 0 0;
}