@charset "UTF-8";
/*
 * ヘッダー（template-parts/header.php・parts/header/）
 * 色は Arkhe CSS Editor の変数（--arkc-main-color: #3f3b00 など）に合わせる。
 * ブレークポイント：961px 以上で横並びのナビ、960px 以下で MENU ボタン＋ドロワー。
 */

:root {
	--gmn-header-h: 76px;
	--gmn-ink: var(--arkc-main-color, #3f3b00);
	--gmn-cream: #fff8ee;
	--gmn-accent: #c1272d; /* ロゴの落款の赤 */
}

@media (max-width: 960px) {
	:root { --gmn-header-h: 60px; }
}

/* ページ内リンクの着地点を、固定のヘッダーの下にする */
html { scroll-behavior: smooth; }
#top-recommended-section,
#top-course-section,
#top-interior-view-secion,
#top-parking-section,
#footer {
	scroll-margin-top: var(--gmn-header-h);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
 * ヘッダー本体（スティッキーヘッダー）
 * ------------------------------------------------------------ */
.gmn-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 900;
	width: 100%;
	height: var(--gmn-header-h);
	color: var(--gmn-ink);
	background: rgba(255, 248, 238, 0.96);
	box-shadow: 0 2px 12px rgba(63, 59, 0, 0.12);
	transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

/* トップの上端（メインビジュアルの上）では背景を透かす */
.gmn-header[data-front="1"][data-scrolled="false"] {
	background: transparent;
	box-shadow: none;
}

.admin-bar .gmn-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .gmn-header { top: 46px; }
}

.gmn-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1280px;
	height: 100%;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 40px);
}

.gmn-header__logo {
	display: block;
	flex-shrink: 0;
	line-height: 0;
}

.gmn-header__logo img {
	width: auto;
	height: 40px;
}

@media (max-width: 960px) {
	.gmn-header__logo img { height: 32px; }
}

/* ------------------------------------------------------------
 * 横並びのグローバルナビ（961px 以上）
 * ------------------------------------------------------------ */
.gmn-nav { display: none; }

@media (min-width: 961px) {
	.gmn-nav { display: block; }
}

.gmn-nav__list {
	display: flex;
	gap: clamp(20px, 2.6vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.gmn-nav__link {
	position: relative;
	display: block;
	padding: 8px 0;
	color: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
}

.gmn-nav__link::after {
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 2px;
	background: var(--gmn-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
	content: "";
}

.gmn-nav__link:hover::after,
.gmn-nav__link:focus-visible::after {
	transform: scaleX(1);
}

/* ------------------------------------------------------------
 * MENU ボタン（960px 以下）
 * ------------------------------------------------------------ */
.gmn-menu-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 6px 4px;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

@media (min-width: 961px) {
	.gmn-menu-btn { display: none; }
}

.gmn-menu-btn__lines {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 28px;
}

.gmn-menu-btn__lines span {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform 0.25s ease;
}

.gmn-menu-btn__lines span:nth-child(2) { width: 75%; margin-left: auto; }

.gmn-menu-btn:hover .gmn-menu-btn__lines span:nth-child(2) { transform: translateX(-25%); }

.gmn-menu-btn__label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1;
}

/* ------------------------------------------------------------
 * ドロワーメニュー（全画面）
 * ------------------------------------------------------------ */
.gmn-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000; /* フローティングボタンより上 */
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	color: var(--gmn-cream);
	background: #282500; /* 透かさず塗りつぶす（Mitsu 11-12） */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}

.gmn-drawer.is-open {
	opacity: 1;
	visibility: visible;
}

body.gmn-drawer-open { overflow: hidden; }

.gmn-drawer__close {
	position: absolute;
	top: 12px;
	right: clamp(16px, 3vw, 40px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 8px 4px;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

.gmn-drawer__close-x {
	position: relative;
	display: block;
	width: 28px;
	height: 28px;
}

.gmn-drawer__close-x::before,
.gmn-drawer__close-x::after {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	content: "";
}

.gmn-drawer__close-x::before { transform: rotate(45deg); }
.gmn-drawer__close-x::after { transform: rotate(-45deg); }

.gmn-drawer__close-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1;
}

.gmn-drawer__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	padding: 80px 24px 120px;
	text-align: center;
}

.gmn-drawer__logo {
	width: auto;
	height: 40px;
	filter: brightness(0) invert(1); /* <img> で出すとき（SVG が読めなかったとき）だけ：黒のロゴを白に */
	opacity: 0.92;
}

/* SVG で出すとき（inc/header-footer.php の goemon_logo_dark_svg()）：文字はクリーム、落款は赤（中の字は白）のまま */
.gmn-drawer__logo.is-svg {
	display: block;
	filter: none;
	opacity: 1;
}

.gmn-logo-dark {
	display: block;
	width: auto;
	height: 100%;
	aspect-ratio: 308.54 / 63.27; /* 元の SVG の viewBox */
	overflow: visible;
}

.gmn-logo-dark .is-ink { fill: var(--gmn-cream, #fff8ee); }
.gmn-logo-dark .is-red { fill: #c1272d; }
.gmn-logo-dark .is-white { fill: #fff; }

/* ------------------------------------------------------------
 * フローティングボタン（parts/footer/float-buttons.php。プラグイン Blog Floating Button の代わり）
 * 背景の帯は無く、ボタンだけを画面の下に固定する。「×」は無く、いつも出しておく。
 * 大きさと色は前のプラグインの形（高さ 48px・角丸・緑と赤のグラデーション・下に濃い線）に合わせた。
 * 高さは header.js が測って --gmn-fbar-h に入れる（メインビジュアルのロゴと料理がかからないように）。
 * ------------------------------------------------------------ */
.gmn-fbtn {
	position: fixed;
	right: 0;
	/* iPhone の下の余白（ホームのバー）にかからないように。余白が無いときは 10px */
	bottom: max(10px, env(safe-area-inset-bottom));
	left: 0;
	z-index: 9999; /* ドロワー（100000）より下 */
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 0 10px;
	pointer-events: none; /* ボタンの間と左右の空きは、下のページを押せるように */
}

.gmn-fbtn__btn {
	display: flex;
	flex: 0 1 300px;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	min-width: 0;
	height: 48px;
	padding: 0 12px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
	white-space: nowrap;
	border-radius: 40px;
	/* 帯が無くなったので、明るい地でも浮いて見えるよう影を付ける */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
	pointer-events: auto;
	transition: opacity 0.2s ease;
}

.gmn-fbtn__btn:hover,
.gmn-fbtn__btn:focus-visible {
	color: #fff;
	opacity: 0.88;
}

.gmn-fbtn__btn--tel {
	background: linear-gradient(to bottom, #009f07 0%, #00d209 100%);
	border-bottom: 3px solid #006c05;
}

.gmn-fbtn__btn--web {
	background: linear-gradient(to bottom, #d00a0a 0%, #f41919 100%);
	border-bottom: 3px solid #a00808;
}

.gmn-fbtn__icon { flex: none; }

/* ドロワーを開いている間は隠す（ドロワーの中に同じボタンがある） */
body.gmn-drawer-open .gmn-fbtn { visibility: hidden; }

/* テーマのボタンに替えたので、プラグイン Blog Floating Button の帯は出さない（プラグインが動いていても二重に出ないように） */
/* （プラグインが #bfb_content_pc { display: block !important; } を出すので、それより強い指定にする） */
html body #bfb_content_pc,
html body #bfb_content_sp { display: none !important; }

@media print {
	.gmn-fbtn { display: none; }
}

.gmn-drawer__nav {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.gmn-drawer__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: inherit;
	text-decoration: none;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.gmn-drawer.is-open .gmn-drawer__item { opacity: 1; transform: none; }
.gmn-drawer.is-open .gmn-drawer__item:nth-child(2) { transition-delay: 0.05s; }
.gmn-drawer.is-open .gmn-drawer__item:nth-child(3) { transition-delay: 0.1s; }
.gmn-drawer.is-open .gmn-drawer__item:nth-child(4) { transition-delay: 0.15s; }

.gmn-drawer__item-jp {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.gmn-drawer__item-en {
	color: #d9c98f;
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.gmn-drawer__item:hover .gmn-drawer__item-jp,
.gmn-drawer__item:focus-visible .gmn-drawer__item-jp {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--gmn-accent);
	text-underline-offset: 6px;
}

/* 予約のボタン（電話・Web。色はフローティングボタンに合わせた緑と赤） */
.gmn-drawer__cta {
	display: grid;
	gap: 12px;
	width: min(100%, 320px);
}

.gmn-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 12px 20px;
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	transition: opacity 0.2s ease;
}

.gmn-btn:hover,
.gmn-btn:focus-visible { opacity: 0.88; }

.gmn-btn--tel { background: #1f9e1f; }
.gmn-btn--web { background: #d7261e; }

.gmn-btn__label {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.gmn-btn__sub {
	font-size: 12px;
	letter-spacing: 0.06em;
	opacity: 0.9;
}

.gmn-drawer__note {
	margin: 0;
	font-size: 12px;
	opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
	.gmn-header,
	.gmn-drawer,
	.gmn-drawer__item,
	.gmn-nav__link::after,
	.gmn-menu-btn__lines span {
		transition: none;
	}
}
