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

#page_title {
	margin:0 auto 20px;
	background: url('../images/about/pagetitle.webp') no-repeat bottom center;
}

main section article {
	max-width: 1238px !important;
}

#contents1 article {
	width: 100% !important;
	max-width: initial !important;
}

#contents1 details {
	width:100%;
	margin-bottom: 60px;
	position: fixed;
	right: 0;
	top: 120px;
	z-index: 5000;
	padding: 30px 0;
}

#details_inner {
	height: calc(100dvh - 180px);
	width:100%;
}
#details_inner_inner{
	transform-origin: top center;
	width: max-content;
	height: max-content;
	background:#fff;
	margin:0 auto;
	border: 5px solid #156a90;
	box-sizing:border-box;
}
#contents1 summary {
	cursor: pointer;
	list-style: none;
	border: 2px solid #156a90;
	background: #fff;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	margin: 0 auto;
	box-sizing: border-box;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 10;
}

#contents1 summary:after {
	content: "▼";
	color: #156a90;
	position: absolute;
	right: 31px;
	top: 11%;
	margin: auto;
	font-size: 30px;
}

#contents1 details:open summary {}

#contents1 details:open summary:after {
	content: "×";
}

#top5 {
	background: #ffde00 url('../images/index/right.svg') no-repeat bottom 10% right 5%;
	padding: 0px 5dvw 50px;
	box-sizing: border-box;
	margin: 0 auto 100px;
	text-align: center;
}

#top5 h2 {
	line-height: 90px;
	border-radius: 10px;
	font-size: 40px;
	position: relative;
	background: #fff;
	text-align: center;
	border-radius: 0 0 10px 10px;
	margin: 0 auto 70px;
	font-family: "honoka-maru-gothic", sans-serif;
	font-weight: 400;
	font-style: normal;
	line-height: 100px;
	max-width: 1120px;
}

#top5 h2 img {
	/* position: absolute; */
	/* top: -30px; */
	/* left: 10%; */
}

/* #top5 h2:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -15px;
	border: 15px solid transparent;
	border-top: 15px solid #fff;
} */

#top5-4 {
	max-width: 1200px;
	margin: 0 auto 35px;
}

#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: "honoka-maru-gothic", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 24px;
	position: relative;
}

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

#contents1 .more a {
	display: inline-block;
	padding: 0 30px;
	line-height: 70px;
	border-radius: 37px;
	font-size: 24px;
	text-decoration: none;
	border: 2px solid #156a90;
}

#contents1 .more a:hover {
	background: #1da2b2;
	color: #fff;
}

#contents1 .more a small {
	font-size: 18px;
}

.subnav2 ul {
	list-style: none;
	padding: 0 0 0px;
	display: flex;
	gap: 50px;
	justify-content: center;
}

.subnav2 ul li {
	width: 300px;
}

.subnav2 ul li a {
	display: flex;
	align-items: center;
	border: 2px solid #156a90;
	border-radius: 15px;
	padding: 10px;
	color: #156a90;
	text-decoration: none;
	justify-content: center;
	gap: 10px;
	font-size: 20px;
	height: 90px;
	box-sizing: border-box;
}

.subnav2 ul li a:hover {
	background: #156a90;
	color: #fff;
}

.subnav2 ul li a img {
	height: 50px;
	width: 50px;
	display: block;
	object-fit: contain;
}

#contents1 {
	margin: 0 auto 30px;
}

#contents1 article {
	text-align: center;
}

.bg {
	height: 475px;
	text-align: center;
	color: #fff;
	position: relative;
	display:flex;
	justify-content:center;
	gap:40px;
	align-items:center;
}

.icon {
	width: 160px;
	flex:none;
	height: 160px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	left: 40px;
	top: 0;
	bottom: 0;
}

.icon img {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: contain;
}

.bg a {
	display: block;
	font-size: 50px;
	text-decoration: none;
	color: #fff;
	line-height: 475px;
}

.bg a img {
	margin-left: 20px;
}

.bg .link{
}
#contents2 .bg {
	background: url('../images/service/bg1.webp') no-repeat center center;
}

#contents3 .bg {
	background: url('../images/service/bg2.webp') no-repeat center center;
}

#contents4 .bg {
	background: url('../images/service/bg3.webp') no-repeat center center;
}

#contents2 ul,
#contents3 ul,
#contents4 ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 48px;
	max-width: 880px;
	margin: 0 auto;
}

#contents2 ul li,
#contents3 ul li,
#contents4 ul li {
	width: calc((100% - 96px) / 3);
}

#contents2 ul li a,
#contents3 ul li a,
#contents4 ul li a {
	display: block;
	border: 1px solid #156a90;
	color: #156a90;
	text-decoration: none;
	line-height: 38px;
	text-align: center;
	border-radius: 20px;
}

#contents2 ul li a:hover,
#contents3 ul li a:hover,
#contents4 ul li a:hover {
	background: #156a90;
	color: #fff;
}

#contents2 ul li a small,
#contents3 ul li a small,
#contents4 ul li a small {
	font-size: 17px;
	letter-spacing: -0.1em;
}

#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 0;
}

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

#top4 article ul {
	list-style: none;
	padding: 0 3%;
	margin: -20px auto 0;
	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: no-repeat;
	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: 0;
	margin: 0 auto;
	background: transparent;
	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: -80px 0 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(17vw * 0.9);
	left: calc(50% - 90px);
}

/* #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;
}



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

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

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


#contact_button2{
	transform: scale(0.8);
	transform-origin: 50% 0;
}