@charset "UTF-8";

/* ============================================================
 * ドロワーナビ（959px以下で使用）
 * ========================================================== */

/* 開閉ボタン */
.drawer-nav__button {
	display: none;
	position: relative;
	z-index: 120;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 48px;
	height: 48px;
	color: var(--color-ink);
}

.drawer-nav__button-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	transition: transform .3s, opacity .3s;
}

.drawer-nav__button-text {
	font-size: 9px;
	line-height: 1;
}

.drawer-nav__button.is-open .drawer-nav__button-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.drawer-nav__button.is-open .drawer-nav__button-bar:nth-child(2) {
	opacity: 0;
}

.drawer-nav__button.is-open .drawer-nav__button-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* 本体 */
.drawer-nav {
	display: none;
}

.drawer-nav__overlay {
	position: fixed;
	inset: 0;
	z-index: 101;
	opacity: 0;
	background: rgba(0, 0, 0, .4);
	pointer-events: none;
	transition: opacity .3s;
}

.drawer-nav__overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.drawer-nav__content {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 110;
	display: flex;
	flex-direction: column;
	width: 400px;
	max-width: 86%;
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--color-white);
	transform: translateX(100%);
	transition: transform .3s;
}

.drawer-nav__content.is-open {
	transform: translateX(0);
}

.drawer-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	min-height: 64px;
	padding: 0 8px 0 16px;
	border-bottom: 1px solid var(--color-line);
}

.drawer-nav__logo {
	width: auto;
	height: 40px;
}

.drawer-nav__close {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	width: 48px;
	height: 48px;
	color: var(--color-ink);
	font-size: 9px;
}

/* BUY / SELL */
.drawer-nav__cta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 20px 16px 16px;
}

.drawer-nav__cta-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-height: 78px;
	padding: 0 14px;
	border-radius: 8px;
}

.drawer-nav__cta-item .en {
	font-size: 15px;
	line-height: 1;
}

.drawer-nav__cta-name {
	font-size: 17px;
	font-weight: 900;
	line-height: 1.3;
}

.drawer-nav__cta-item--buy {
	background: var(--color-accent);
	color: var(--color-white);
}

.drawer-nav__cta-item--sell {
	border: 1px solid var(--color-accent);
	background: var(--color-white);
	color: var(--color-ink);
}

.drawer-nav__cta-item--sell .en {
	color: var(--color-accent);
}

/* メニュー */
.drawer-nav__list {
	padding: 0 16px;
}

.drawer-nav__item {
	position: relative;
	border-bottom: 1px solid var(--color-line);
}

.drawer-nav__link {
	display: flex;
	align-items: baseline;
	gap: 12px;
	min-height: 56px;
	padding: 14px 40px 14px 0;
	color: var(--color-ink);
}

.drawer-nav__link-ja {
	font-size: 16px;
	font-weight: 700;
}

.drawer-nav__link-en {
	color: var(--color-sub);
	font-size: 12px;
}

/* 子メニュー開閉ボタン（767px以下のみ表示） */
.drawer-nav__toggle {
	display: none;
	position: absolute;
	top: 4px;
	right: 0;
	width: 48px;
	height: 48px;
}

.drawer-nav__toggle::before,
.drawer-nav__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background: var(--color-accent);
	transform: translate(-50%, -50%);
	transition: transform .3s;
}

.drawer-nav__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.drawer-nav__toggle.is-open::after {
	transform: translate(-50%, -50%) rotate(0);
}

.drawer-nav__child {
	padding: 0 0 14px 14px;
}

.drawer-nav__child-link {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--color-body);
	font-size: 14px;
}

.drawer-nav__child-link::before {
	content: "";
	width: 8px;
	height: 1px;
	margin-right: 8px;
	background: var(--color-accent);
}

/* 予約 */
.drawer-nav__reserve {
	margin: 18px 16px 0;
	padding: 16px;
	border-radius: 8px;
	background: var(--color-accent-soft);
}

.drawer-nav__reserve-title {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 900;
}

.drawer-nav__reserve-buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.drawer-nav__reserve-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 8px;
	border-radius: 6px;
	background: var(--color-white);
	color: var(--color-ink);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

/* サブリンク */
.drawer-nav__sub {
	display: flex;
	gap: 20px;
	padding: 10px 16px 0;
}

.drawer-nav__sub-link {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--color-body);
	font-size: 13px;
}

/* 下部 TEL / LINE */
.drawer-nav__foot {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: auto;
	padding: 12px;
	border-top: 1px solid var(--color-line);
}

.drawer-nav__foot-tel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	border: 1px solid var(--color-accent);
	border-radius: 28px;
	color: var(--color-accent);
	font-weight: 700;
}

.drawer-nav__foot-tel .en {
	font-size: 19px;
	font-style: normal;
	line-height: 1.1;
}

.drawer-nav__foot-time {
	color: var(--color-sub);
	font-size: 10px;
	font-weight: 500;
}

.drawer-nav__foot-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 56px;
	border-radius: 28px;
	background: var(--color-line-green);
	color: var(--color-white);
	font-size: 14px;
	font-weight: 700;
}

.drawer-nav__foot-line img {
	width: auto;
	height: 22px;
}

/* ------------------------------------------------------------
 * ~959px：ドロワーを使用（子メニューは常時展開）
 * ---------------------------------------------------------- */
@media screen and (max-width: 959px) {
	.drawer-nav__button {
		display: flex;
	}

	.drawer-nav {
		display: block;
	}
}

/* ------------------------------------------------------------
 * ~767px：子メニューをアコーディオンに
 * ---------------------------------------------------------- */
@media screen and (max-width: 767px) {
	.drawer-nav__toggle {
		display: block;
	}

	.drawer-nav__child {
		display: none;
	}

	.drawer-nav__child.is-open {
		display: block;
	}
}
