@charset "UTF-8";

/* Original Common Header */
.p-original-header,
.p-original-header * {
	box-sizing: border-box;
}

.p-original-header {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 48px);
	min-height: 88px;
	padding: 18px clamp(20px, 4vw, 48px);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: none;
	border-bottom: 0;
	color: #061225;
}

.p-original-header__brand {
	margin-right: auto;
	color: #061225;
	font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(20px, 1.55vw, 24px);
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
}

.p-original-header__nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 15px;
	font-weight: 700;
}

.p-original-header__nav a,
.p-original-header__tel {
	color: #061225;
	text-decoration: none;
	white-space: nowrap;
}

.p-original-header__tel {
	font-size: 20px;
	font-weight: 900;
}

.p-original-header__menu {
	display: none;
}

.p-original-header__backdrop,
.p-original-header__drawer {
	display: none;
}

/* Original Common Button */
.p-original-button,
.p-original-top-button,
.p-original-lp-button:not(.p-original-lp-button--white) {
	max-width: 100%;
	border-radius: 999px;
	color: #ffffff;
	font-weight: 900;
	text-decoration: none;
	text-shadow: none;
	-webkit-text-fill-color: #ffffff;
}

.p-original-lp-button--white {
	color: #0071bc;
	-webkit-text-fill-color: #0071bc;
}

.p-original-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 47px;
	padding: 12px 18px 12px 28px;
	line-height: 1;
}

.p-original-button::after {
	content: "↗";
	flex: 0 0 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: 10px;
	border-radius: 50%;
	background: #ffc247;
	color: #ffffff;
	font-size: 12px;
	line-height: 1;
}

.p-original-button--blue,
.p-original-top-button--blue,
.p-original-lp-button--blue {
	background-color: #0071bc;
	box-shadow: 0 14px 28px rgba(0, 113, 188, 0.22);
}

.p-original-button--orange,
.p-original-top-button--orange,
.p-original-lp-button--orange {
	background-color: #ff7a34;
	box-shadow: 0 14px 28px rgba(255, 122, 52, 0.24);
}

.p-original-top-button--orange::after {
	background-color: #ffc247;
}

.p-original-lp-button--orange span {
	background-color: #ffc247;
}

.p-original-lp-button--blue span {
	background-color: #12a9df;
}

@media (max-width: 1100px) {
	.p-original-header {
		flex-wrap: wrap;
	}

	.p-original-header__nav {
		order: 3;
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 820px) {
	body.is-original-menu-open {
		overflow: hidden;
	}

	.p-original-header {
		position: sticky;
		top: 0;
		justify-content: space-between;
		min-height: auto;
		padding: 16px;
		text-align: left;
	}

	.p-original-header__brand {
		width: auto;
		margin-right: 0;
		font-size: 18px;
	}

	.p-original-header__menu {
		position: relative;
		z-index: 61;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #0071bc;
		color: #ffffff;
		cursor: pointer;
	}

	.p-original-header__menu-line {
		position: absolute;
		left: 14px;
		width: 20px;
		height: 2px;
		border-radius: 999px;
		background: currentColor;
		transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
	}

	.p-original-header__menu-line:nth-child(1) {
		top: 16px;
	}

	.p-original-header__menu-line:nth-child(2) {
		top: 23px;
	}

	.p-original-header__menu-line:nth-child(3) {
		top: 30px;
	}

	.p-original-header__menu-text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.p-original-header.is-menu-open .p-original-header__menu-line:nth-child(1) {
		top: 23px;
		transform: rotate(45deg);
	}

	.p-original-header.is-menu-open .p-original-header__menu-line:nth-child(2) {
		opacity: 0;
	}

	.p-original-header.is-menu-open .p-original-header__menu-line:nth-child(3) {
		top: 23px;
		transform: rotate(-45deg);
	}

	.p-original-header__nav {
		display: none;
	}

	.p-original-header__tel,
	.p-original-header__button {
		display: none;
	}

	.p-original-header__backdrop {
		position: fixed;
		inset: 0;
		z-index: 58;
		display: block;
		background: rgba(6, 18, 37, 0.38);
		opacity: 1;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.p-original-header__drawer {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 59;
		display: flex;
		flex-direction: column;
		width: min(78vw, 380px);
		height: 100dvh;
		padding: 28px 28px 34px;
		background: #ffffff;
		box-shadow: -18px 0 42px rgba(7, 19, 39, 0.18);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.32s ease;
	}

	.p-original-header.is-menu-open .p-original-header__backdrop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.p-original-header.is-menu-open .p-original-header__drawer {
		transform: translateX(0);
	}

	.p-original-header__close {
		align-self: flex-end;
		display: grid;
		place-items: center;
		width: 54px;
		height: 54px;
		margin: 0 0 28px;
		border: 0;
		border-radius: 50%;
		background: #eef6ff;
		color: #005bac;
		font-size: 34px;
		font-weight: 500;
		line-height: 1;
		cursor: pointer;
	}

	.p-original-header__drawer-nav {
		display: grid;
		gap: 0;
		margin: 0 0 30px;
	}

	.p-original-header__drawer-nav a {
		display: block;
		padding: 20px 0;
		border-bottom: 1px solid rgba(0, 113, 188, 0.28);
		color: #061225;
		font-size: 19px;
		font-weight: 900;
		line-height: 1.5;
		text-decoration: none;
	}

	.p-original-header__drawer-nav a:first-child {
		border-top: 1px solid rgba(0, 113, 188, 0.28);
	}

	.p-original-header__drawer-contact {
		display: grid;
		gap: 14px;
		margin-top: auto;
		padding-top: 24px;
	}

	.p-original-header__drawer-contact .p-original-button {
		width: 100%;
		min-height: 54px;
		padding-inline: 20px;
		font-size: 15px;
	}
}
