@charset "utf-8";

.l-header {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 4000;
	width: 100%;
	font-family: 'Shippori Mincho B1', 'Cormorant', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, 'ＭＳ ゴシック', sans-serif;
	font-weight: 400;
}

.l-flex {
	display: flex;
}

.l-inner {
	margin: 0 auto;
	max-width: 1200px;
}

.c-link-btn {
	width: 160px;
	color: #fff;
	background: #005ba4;
	border: 2px solid #005ba4;
	border-radius: 8px;
	font-weight: 400;
	font-size: 1.14em;
	line-height: 1.45;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px;
}

.c-link-btn:hover {
	background: #fff;
	color: #005ba4;
	transition: .2s all ease;
}

.c-link-btn a:hover {
	text-decoration: none;
}

.c-link-btn span {
	display: inline-block;
	margin-right: 12px;
}

.p-header {
	background: #fff;
}

.p-header-inner {
	align-items: center;
	justify-content: space-between;
	/*padding: 1.43em 2.86em;*/
	padding: 0 2.86em;
	height: calc(105 / var(--break) * 100vw);
}

.p-header-logo {
	width: 280px;
	max-width: 100%;
}

.p-header-logo a {
	display: block;
}

.p-header-right {
	gap: 4vw;
	align-items: center;
}

.p-header-menu ul {
	gap: 4vw;
}

.p-header-menu ul li a {
	font-size: 1.28em;
	cursor: pointer;
	text-decoration-thickness: 3px;
	text-decoration-color: #ea565f;
	text-underline-offset: .4em;
}

.p-header-menu ul li a:hover {
	/*text-decoration: none;*/
	text-decoration-line: underline;
	text-decoration-style: solid;
}

.js-header-menu-active {
	color: #005ba4;
	font-weight: bold;
	text-decoration-line: underline;
	text-decoration-style: solid;
}

.p-megamenu {
	position: fixed;
	background: #005ba4;
	top: 0;
	left: 0;
	z-index: 3999;
	width: 100%;
	height: 500px;
	display: flex;
	font-family: 'Shippori Mincho B1', 'Cormorant', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, 'ＭＳ ゴシック', sans-serif;
	font-weight: 400;
	top: -3000px;
	opacity: 0;
}

.p-megamenu-ttl {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-weight: bold;
	background: #06c;
	width: 400px;
	padding-top: 5.1em;
	text-align: center;
}

@media(max-width: 1399px) {
	.p-megamenu-ttl {
		width: 320px;
	}
}

.p-megamenu-ttl h2 {
	font-size: 2.86em;
	line-height: 1.45;
}

.p-megamenu-ttl span {
	font-size: 2.14em;
	line-height: 1.45;
}

.p-megamenu-content {
	width: 1280px;
	max-width: 1280px;
	padding: 12.86em 6vw 5.71em 2.86em;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

@media(max-width: 1399px) {
	.p-megamenu-content {
		width: 960px;
		padding-left: 1.5vw;
		padding-right: 1.14em;
	}
}

.p-megamenu-list {
	padding: .71em 0;
}

.p-megamenu-list nav ul {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 2.29em;
}

@media(max-width: 1399px) {
	.p-megamenu-list nav ul {
		gap: 1.43em;
	}
}

.p-megamenu-list nav ul li a {
	text-decoration: none;
}

.p-megamenu-list__link {
	display: block;
	max-width: 100%;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	text-align: center;
}

.p-megamenu-list__link:hover {
	transition: .2s all ease;
}

.p-megamenu-list__link:hover img {
	transform: scale(1.2);
	transition: .2s all ease;
}

.p-megamenu-list__link:hover .p-megamenu-list__link-text::after {
	transition: .2s all ease;
	content: "";
}

.p-megamenu-list__link-image {
	overflow: hidden;
}

.p-megamenu-list__link-image img {
	vertical-align: top;
}

.p-megamenu-list__link-text {
	padding: 1em .714em;
	transition: color .5s ease;
	position: relative;
}

.p-megamenu-list__link-text::after {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.p-megamenu-list__link p {
	color: #005ba4;
	line-height: 1.2;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 1.29em;
}

.p-megamenu-list__link span {
	font-size: 1em;
	letter-spacing: 1.4px;
	font-weight: 500;
}

.js-megamenu-active {
	transition: .7s all ease;
	top: 0;
	opacity: 1;
}
@media(min-width: 768px) and (max-width:960px) {
}
@media(max-width: 767px) {
	.p-header-inner {
		padding: 0 3.2vw;
		height: calc(130 / var(--break) * 100vw);
	}

	.p-header-logo {
		width: calc(280 / var(--break) * 100vw);
		z-index: 10000;
	}

}