@charset "utf-8";
/* CSS Document */

#open_menu,
#sp_box {
	display: none;
}

#spicon {
	position: fixed;
	z-index: 9999;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#spicon::before {
	display: none;
}

#spicon span {
	width: 100%;
	transition: all .4s;
}

#spicon.m_active span:nth-child(1) {
	transform: translateY(10px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
	opacity: 0;
}

#spicon.m_active span:nth-child(3) {
	transform: translateY(-10px) rotate(-135deg);
}

#open_menu {
	position: fixed;
	z-index: 9990;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	background: #fff;
	overflow: hidden;
}


#center_box {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	background: transparent;
	z-index: 1;
}

#center_box::before {
	content: "";
	position: absolute;
	top: 1.6em;
	left: 3%;
	width: 13%;
	height: 4em;
	background: url("../images/logo.webp") left center / contain no-repeat;
	pointer-events: none;
}

#center_box::after {
	content: "";
	position: absolute;
	top: 1.6em;
	left: 16%;
	width: 14%;
	height: 4em;
	background: url("../images/logo2.webp") left center / contain no-repeat;
	pointer-events: none;
}

@media only screen and (max-width: 1024px) {
	#sp_box {
		display: block;
	}

	#spicon {
		top: 1.2em;
		right: 1.2em;
		width: 5.2em;
		height: 3.4em;
		padding: 0.95em 1.2em;
		border: none;
		border-radius: 999px;
		background: #fff;
		box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.12);
	}

	#spicon span {
		width: 100%;
		border-bottom: 0.16em solid #0052ad;
		border-radius: 999px;
	}

	#spicon span:nth-child(2) {
		width: 72%;
		margin-left: auto;
	}

	#spicon span:nth-child(3) {
		width: 86%;
		margin-left: auto;
	}

	#spicon.m_active {
		background: #0052ad;
		box-shadow: 0 0.35em 1em rgba(0, 64, 151, 0.22);
	}

	#spicon.m_active span {
		width: 100%;
		margin-left: 0;
		border-bottom-color: #fff;
	}

	#center_box {
		min-height: 100dvh;
		padding: 9em 0 7em;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	#center_box ul {
		position: relative;
		z-index: 2;
		width: 76%;
		margin-left: auto;
		margin-right: auto;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1em;
	}

	#center_box li {
		position: relative;
	}

	#center_box li a {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 4em;
		padding: 0 1.4em;
		border-radius: 999px;
		background: #fff;
		color: #333333;
		font-size: clamp(18px, 2.4vw, 24px);
		font-weight: 800;
		line-height: 1.2;
		letter-spacing: 0.12em;
		box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.1);
	}

	#center_box li a::before {
		content: "";
		position: absolute;
		right: 1.82em;
		width: 0;
		height: 0;
		border-top: 0.28em solid transparent;
		border-bottom: 0.28em solid transparent;
		border-left: 0.42em solid #fff;
		z-index: 2;
	}

	#center_box li a::after {
		content: "";
		width: 1.35em;
		height: 1.35em;
		border-radius: 50%;
		background: #004097;
	}

	.sp_entry {
		position: relative;
		z-index: 2;
		width: 38%;
		margin-top: 1.4em;
		margin-left: auto;
		margin-right: auto;
	}

	.sp_entry a {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 3.6em;
		border-radius: 999px;
		background: #14c184;
		color: #fff;
		font-size: 20px;
		font-weight: 800;
		line-height: 1;
		padding-left: 35px;
		gap: 30px;
		letter-spacing: 0.22em;
		box-shadow: 0 0.25em 0.75em rgba(0, 150, 92, 0.22);
	}

	.sp_entry .arrow:after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);
		width: 0;
		height: 0;
		border-style: solid;
		border-top: 7px solid transparent;
		border-bottom: 7px solid transparent;
		border-left: 10px solid #14c184;
		border-right: 0;
		z-index: 2;
	}
	.sp_entry .arrow {
		background-color: #FFF;
		width: 30px;
		height: 30px;
		position: relative;
		border-radius: 50%;
	}


	.h_nav {
		display: block;
		width: 0;
		height: 0;
		min-width: 0;
		min-height: 0;
		background: transparent;
		box-shadow: none;
		border-radius: 0;
		overflow: visible;
		pointer-events: none;
	}

	.h_nav ul {
		display: none;
	}

}

@media only screen and (max-width: 768px) {
	#spicon {
		top: 1em;
		right: 1em;
		width: 4.6em;
		height: 3.2em;
		padding: 0.9em 1.05em;
	}

	#center_box {
		padding: 6.5em 0 5.5em;
		align-items: flex-start;
	}

	#center_box::before {
		top: 1.2em;
		left: 4%;
		width: 22%;
		height: 3.2em;
	}

	#center_box::after {
		top: 1.2em;
		left: 24%;
		width: 25%;
		height: 3.2em;
	}

	#center_box li a::before {
		right: 1.7em;
	}

	#center_box ul {
		width: 84%;
		grid-template-columns: 1fr;
		gap: 0.8em;
	}

	#center_box li a {
		min-height: 3.8em;
		padding: 0 1.25em;
	}

	.sp_entry {
		width: 84%;
		margin-top: 1.5em;
	}
}
