@charset "UTF-8";
/*
 * 全ページ共通のレイアウト（ヘッダー / フッター）
 * 寸法は Figma「TOPページ-パソコン版」1920px 基準の実測値。
 */

/* ============================================================
 * ヘッダー  Figma: 6097:970 / 1920 x 100
 * ロゴ left8 top12 340x71 ／ サイト名 left363 top29 519x44
 * Search left1662 ／ Language left1743 ／ MENU left1848（右余白21px）
 * ========================================================== */

/*
 * Figma:「ヘッダーは追従（上端で停止）」(6156:3974)
 * 画面上端に貼り付いたままにする。スクロールし始めたら下に影を落として、
 * 本文の上に乗っていることが分かるようにする（影の付け外しは scroll-fx.js）。
 */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	transition: box-shadow 0.3s var(--ease-out);
}

.site-header.is-stuck {
	box-shadow: 0 2px 12px rgb(14 104 46 / 12%);
}

.site-header__inner {
	display: flex;
	align-items: center;
	height: var(--header-height);
	padding-inline: var(--space-2xs) var(--space-md);
}

.site-header__brand {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.site-header__brand:hover {
	opacity: 0.8;
}

.site-header__logo {
	width: 340px;
	height: auto;
}

.site-header__sitename {
	width: 519px;
	height: auto;
}

.site-header__utils {
	display: flex;
	align-items: center;
	gap: var(--space-xl);
	margin-left: auto;
}

/* Language はドロップダウンの基準になるので位置指定を持たせる */
.header-util-wrap {
	position: relative;
}

/*
 * base.css のリセットは詳細度 0（:where）なので、SWELL の button/a の
 * 装飾には勝てない。ここはクラス指定で明示的に打ち消す。
 */
.header-util {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3xs);
	line-height: 1;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	appearance: none;
}

.header-util__icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.header-util__label {
	font-size: 15px;
	font-weight: 500;
	color: var(--color-text);
	white-space: nowrap;
}

/* MENU は葉のシンボルと文字が1枚の画像に入っているのでラベルを持たない */
.header-util__icon--menu {
	width: 51px;
	height: 54px;
}

.header-util[aria-expanded="true"] {
	opacity: 0.7;
}

/* --- 言語切替のドロップダウン ------------------------------- */

.header-lang {
	position: absolute;
	top: calc(100% + var(--space-xs));
	right: 0;
	min-width: 74px;
	padding: var(--space-3xs) 0;
	background: #fff;
	border: 1px solid var(--midori-green);
	--panel-round: 4px;
	border-radius: 4px;
	box-shadow: var(--shadow-card);
}

.header-lang[hidden] {
	display: none;
}

.header-lang__item a {
	display: block;
	padding: var(--space-3xs) var(--space-xs);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.header-lang__item.is-current a {
	background: #fffde7;
	font-weight: 700;
}

.header-lang__item a:hover {
	background: var(--midori-green);
	color: #fff;
	opacity: 1;
}

/* ============================================================
 * フッター  Figma: 2026:345 / 1920 x 509
 * 上端 95px が波、その下が #67b37e のベタ
 * ========================================================== */

.site-footer {
	position: relative;
	isolation: isolate; /* 飾りの重なりをフッターの中で完結させる */
	color: var(--color-text-invert);
}

/*
 * フッター脇の飾り（Figma: 004 1 / 004 2）。
 * Figma では緑の地の**上**に乗っている（濃い緑のドットの塊が見える）。リンクより下に置く。
 * 以前は z-index:-1 で、フッターが重なりの基準になっていなかったため地色（.site-footer__body）の裏に隠れていた。
 * いまは地色（位置指定なしの箱）より上に描き、中身（.site-footer__body > *）を position:relative でさらに上に出す。
 * 座標はフッター上端（波の始まり）を 0 とした相対値をインラインで受け取る。
 */
.site-footer__deco {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.site-footer__body > * {
	position: relative;
}

/* Figma の 004 1 / 004 2 は不透明度 50%。元画像には乗っていないのでここで掛ける */
.site-footer__deco img {
	position: absolute;
	/* --x は左端から、--r は右端から（midonavi_deco_pos）。front-page の飾りと同じ扱い */
	left: var(--x, auto);
	right: var(--r, auto);
	top: var(--y);
	width: var(--w);
	height: var(--h);
	max-width: none;
	object-fit: cover;
	opacity: 0.5;
}

/*
 * 波は原寸 2863x191 の PNG（上が透明・下が #67b37e）。
 * Figma では原寸のまま画面幅 1920 より左右にはみ出して置かれており、
 * 画面内には波が12山ぶん見える。cover で伸ばすと山の数が変わるので
 * 原寸指定＋中央寄せにして、上から 96px ぶんだけを見せる。
 * 96px から下は .site-footer__body の地色と継ぐ。
 */
.site-footer__wave {
	height: 96px;
	background-image: url("../images/bg-wave-footer.png");
	background-repeat: no-repeat;
	background-position: center top;
	/* 2863px より広い画面でも途切れないよう、横にだけ伸ばす（.band__wave と同じ扱い） */
	background-size: max(2863px, 100%) 191px;
}

.site-footer__body {
	background: var(--midori-green-light);
	padding-block: var(--space-2xl) var(--space-xs);
}

/*
 * カラムの左位置は Figma 実測（316 / 647 / 930 / 1288px）＝ 列幅 331 / 283 / 358 / 328px。
 *
 * ⚠️ これを px で固定すると、本文幅が 972px を下回る中間幅で**右にはみ出す**
 *    （768px で +306px、1024px で +59px あふれていた）。
 *    比率として持ち、`minmax(0, …)` で受けると、どの画面幅でも収まる。
 *    1300px では今までと同じ位置に並ぶ。
 */
/*
 * 2026-09-30 PPTX p3 で「外国語サイト」の列を外し、4列目はお問い合わせの箱になった。
 * リンク3列（.site-footer__nav）と箱を横に並べる。箱は住所が1行に入る幅を取る。
 */
.site-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	align-items: start;
	gap: var(--space-xl);
	width: var(--content-width);
	margin-inline: auto;
}

.site-footer__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: var(--space-xs);
}

.site-footer__contact {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	padding: var(--space-md) var(--space-lg);
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
	font-style: normal;
	line-height: 1.7;
	color: #333;
}

.site-footer__contact-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3xs);
	flex: none;
	font-size: 13px;
	color: #333;
}

.site-footer__contact-icon {
	color: var(--midori-green-light);
}

.site-footer .site-footer__contact a {
	color: inherit;
}

.site-footer__column {
	font-size: var(--fs-footer);
	font-weight: 700;

	/* Figma は 25px / 37.5px ＝ 1.5。文字サイズが縮むと行間も追従するようにする */
	line-height: 1.5;

	/*
	 * 列が細い SP で「観光マップダウンロ / ード」のように語の途中で折れるのを避ける。
	 * keep-all で語の中では折らず、折ってよい位置は footer.php の \u{200B} で示す。
	 * それでも入らない幅では anywhere で折れる（はみ出させない）。
	 */
	word-break: keep-all;
	overflow-wrap: anywhere;
}

/* SWELL のリンク色に勝たせる */
.site-footer a {
	color: var(--color-text-invert);
	text-decoration: none;
}

/* ホバーは base.css の「少し薄くする」に任せる（下線は出さない方針） */

/* 1行ぶんの空き。行の高さ（1.5em）に合わせて縮む */
.site-footer__spacer {
	height: 1.5em;
}

.site-footer__copyright {
	margin-top: var(--space-lg);
	font-size: var(--fs-copyright);
	font-weight: 700;
	text-align: center;
	line-height: 37.5px;
}

/* ============================================================
 * メニューパネル
 * Figma: PC-MENU-OPEN (6128:392)
 *
 * カンプから取っているのは「構成・色・文字サイズ・装飾」まで。
 * 幅と高さはカンプの数値を写さず、中身とレイアウトに任せている。
 * ========================================================== */

.menu-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	overflow: hidden;
	background: var(--midori-green-light);
	/* 下だけ角丸。clip-path にも同じ値を渡す（--panel-round） */
	--panel-round: 0 0 50px 50px;
	border-radius: 0 0 50px 50px;
	color: #fff;
}

/*
 * 両端の飾り。--x は左端から、--r は右端から（front-page の飾りと同じ書き方）。
 *
 * ⚠️ 不透明度は 0.16。**Figma のレイヤー指定は 50% だが、それでは濃すぎる。**
 * カンプの書き出し（1440x289）で飾りの領域の平均色を測ると #6bad77（地色 #67b37e から
 * 16 しか離れていない）。50% で置くと #8bc77c（差 57）になり、黄緑の塊がはっきり出る。
 * 0.16 にすると差 18 で、カンプとほぼ同じ「言われないと気づかない」濃さになる。
 * 指定値ではなく**カンプの見た目**に合わせている（Mask group 側にも不透明度が
 * 掛かっているとみられるが、metadata からは取れない）。
 */
.menu-panel__deco {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/*
 * 大きさはパネルの高さを基準にする。px で固定すると、画面が広いときだけ
 * 小さく見えてしまう。左右の端から少しはみ出させて、両隅に寄せる。
 */
.menu-panel__deco img {
	position: absolute;
	width: auto;
	height: 140%;
	max-width: none;
	/*
	 * Figma のレイヤー指定どおり 50%。以前の画像（不透明の黄緑）では 50% だと濃すぎて 0.16 まで下げていたが、
	 * 2026-09-29 に Figma の画像自体が半透明の緑（deco-footer-2026.png）に差し替わったので指定値に戻した。
	 */
	opacity: 0.5;
}

.menu-panel__deco img:first-child {
	right: -3%;
	top: -30%;
}

.menu-panel__deco img:last-child {
	left: -3%;
	top: -10%;
}

/* Figma: 上 20.7px / 下 21px。中身は本文幅 */
/*
 * 左右2ブロックを等分する。
 *
 * ⚠️ `1fr` ではなく `minmax(0, 1fr)`。`1fr` は**中身の最小幅より狭くならない**ので、
 * 折り返さない長い項目（「八王子観光コンベンション」など）を抱えた右ブロックに
 * 引っぱられて、左右の幅が揃わなくなる。
 */
.menu-panel__inner {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	/* 「見出しの行」と「リンクの行」。subgrid で左右の高さを揃える */
	grid-template-rows: auto auto;
	column-gap: var(--space-3xl);
	/*
	 * 本文幅（1300px）だと 6列に割ったとき1列が 200px ほどしかなく、
	 * 「お仕事のご相談は商工会へ」のような長い項目が広い画面でも折り返してしまう。
	 * パネルはヘッダーの一部で本文と縦を揃える必要がないので、必要なだけ広く取る。
	 */
	width: min(100% - var(--gutter) * 2, 1500px);
	margin-inline: auto;
	padding-block: var(--space-xl);
}

/*
 * 左右で見出しの文字サイズが違う（MENU のほうが大きい）。
 * subgrid で同じ行に載せると、**背の高いほうに揃って区切り線の位置が一致する**。
 * 数値で押し込まずに済む。
 */
.menu-panel__block {
	display: grid;
	grid-row: span 2;
	grid-template-rows: subgrid;
	row-gap: var(--space-2xs);
}

/*
 * 見出しと区切り線。Figma の Line6 / Line7 は
 * 見出しの幅ではなく**ブロックの幅いっぱい**に引かれている（2px）。
 */
.menu-panel__head {
	display: flex;
	align-items: flex-end;   /* 行の高さが揃うので、文字は下端に寄せる */
	margin: 0;
	padding-bottom: var(--space-3xs);
	border-bottom: 2px solid;
	color: var(--midori-green-deep);
	line-height: 1.25;
}

.menu-panel__head--menu {
	font-size: 26px;
	border-bottom-color: var(--midori-yellow);
}

.menu-panel__head--related {
	font-size: 22px;
	border-bottom-color: var(--midori-green-deep);
}

/* 3等分。長い項目にカラム幅を押し広げられないよう minmax(0, …) にする */
.menu-panel__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Figma: 18px bold / 行高 25px */
.menu-panel__col {
	font-size: var(--fs-menu);
	font-weight: 700;
	line-height: 25px;
}

/*
 * 折り返しは止めない。画面が狭いときに長い項目（「お仕事のご相談は商工会へ」など）が
 * 隣の列に食い込むより、2行になったほうが読める。
 * 広い画面では余裕があるので1行のまま収まる。
 */
.menu-panel__col a {
	color: #fff;
	text-decoration: none;
}

/* ホバーは base.css の「少し薄くする」に任せる（下線は出さない方針） */

/* 小見出し。押せないので色で区別する */
.menu-panel__label {
	color: var(--midori-green-deep);
}

/* Figma は全角空白で下げている。文字ではなく余白で下げる */
.menu-panel__sub {
	padding-left: 1em;
}

.menu-panel__spacer {
	height: 25px;
}

/* ============================================================
 * 検索パネル
 * Figma: PC-search-open (6004:342)
 *
 * カンプから取ったのは構成・色・文字サイズ・装飾まで。
 * 幅と高さは中身に任せ、Search ボタンの真下に吊るす。
 * ========================================================== */

.search-panel {
	position: absolute;
	top: 100%;
	/* Search ボタンの下に出す。右端まで行かないよう、少し内側に寄せる */
	right: var(--space-7xl);
	width: min(380px, calc(100vw - var(--gutter) * 2));
	overflow: hidden;
	background: var(--midori-green-deep);
	--panel-round: 0 0 50px 50px;
	border-radius: 0 0 50px 50px;
}

/*
 * 右下にはみ出す飾り。大きさはパネル幅を基準にして、画面幅によらず同じ見え方にする。
 *
 * 不透明度 0.5 はカンプの書き出しから逆算した値。
 * このノードには不透明度の指定が付いていないが、そのまま（100%）置くと
 * 黄色い塊になってしまう。カンプ上の色（#52ae30 前後）と地色 #0e682e、
 * 元画像の色から解くと 0.54 になったので、0.5 に丸めている。
 */
.search-panel__deco {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.search-panel__deco img {
	position: absolute;
	right: -32%;
	bottom: -20%;
	width: 130%;
	height: auto;
	max-width: none;
	opacity: 0.5;
}

.search-panel__form {
	position: relative;
	display: grid;
	gap: var(--space-sm);
	padding: var(--space-lg) var(--space-lg) var(--space-md);
}

/* --- フリーワード ------------------------------------------- */

.search-panel__field {
	display: flex;
	align-items: center;
	gap: var(--space-2xs);
	padding: var(--space-2xs) var(--space-sm);
	border-radius: 12px;
	background: #fff;
}

.search-panel__icon {
	flex: none;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

/* SWELL の input 装飾を打ち消して、枠のない素の入力にする */
.search-panel__field input {
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-size: 17px;
	line-height: 1.6;
	color: var(--color-text);
}

.search-panel__field input::placeholder {
	color: rgb(0 0 0 / 53%);
}

.search-panel__field input:focus {
	outline: none;
}

/* キーボード操作のときだけ、入れ物のほうに枠を出す */
.search-panel__field:focus-within {
	outline: 2px solid var(--midori-yellow);
	outline-offset: 2px;
}

/* --- チェックのカード --------------------------------------- */

.search-panel__card {
	display: grid;
	gap: var(--space-md);
	padding: var(--space-md) var(--space-sm) var(--space-lg);
	border-radius: 0 0 35px 35px;
	background: var(--midori-bg-pale);
	box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}

.search-panel__group {
	margin: 0;
	padding: 0;
	border: 0;
}

.search-panel__legend {
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--midori-green-deep);
}

/*
 * カンプは項目を絶対配置で散らしてあるが、実際は「横に流して折り返す」形。
 * 文字数がばらばらなので列を固定せず、wrap に任せる。
 */
.search-panel__checks {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2xs) var(--space-sm);
	margin-top: var(--space-2xs);
}

/* 地区は文字数が揃っているので、カンプどおり3列で揃える */
.search-panel__checks--grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-panel__check {
	display: flex;
	align-items: center;
	gap: var(--space-3xs);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--midori-green);
	cursor: pointer;
}

/* SWELL の input 装飾を消して、枠だけの四角から組み直す */
.search-panel__check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	appearance: none;
	border: 2px solid var(--midori-green);
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

/* チェック時は塗りつぶして白いレ点を出す（カンプに checked の絵は無いので素直に） */
.search-panel__check input:checked {
	background: var(--midori-green);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
	background-size: 100% 100%;
}

.search-panel__check input:focus-visible {
	outline: 2px solid var(--midori-green-deep);
	outline-offset: 2px;
}

/* カテゴリがまだ無いものは押せない。押せると思わせないよう薄くする */
.search-panel__check.is-unavailable {
	opacity: 0.4;
	cursor: default;
}

.search-panel__check.is-unavailable input {
	cursor: default;
}

/* --- 絞り込むボタン ----------------------------------------- */

.search-panel__submit {
	justify-self: center;
	padding: var(--space-3xs) var(--space-4xl);
	border: 2px solid var(--midori-green);
	border-radius: 0;
	background: none;
	font-size: 15px;
	font-weight: 700;
	color: var(--midori-green-deep);
	transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.search-panel__submit:hover {
	background: var(--midori-green);
	color: #fff;
}

.search-panel__submit:focus-visible {
	outline: 2px solid var(--midori-green-deep);
	outline-offset: 2px;
}

/* ============================================================
 * ヘッダーのパネルの出方（検索 / 言語 / メニュー）
 *
 * 開閉そのものは hidden 属性、動きはここ（js/header.js が is-open を付ける）。
 * 押してから出きるまで 0.24 秒。ボタンを押した手応えが欲しいので、
 * 待たされたと感じない長さに収めている。閉じるほうは 0.16 秒と少し速い
 * （消えるものをゆっくり見せても意味がない）。
 * ========================================================== */

/*
 * 上から下へ、幕が下りるように出す。
 * パネルそのものを translate で降ろすとヘッダーより上にはみ出して見えてしまうので、
 * **見える範囲（clip-path）を下へ広げる**やり方にしている。
 * 中身は少しだけ遅れて降りてきて、滑り込む感じを出す。
 *
 * 角丸はパネルごとに違うので --panel-round で受け取る。
 * clip-path の round に同じ値を渡さないと、切った瞬間に角丸が失われる。
 */
.search-panel,
.menu-panel,
.header-lang {
	clip-path: inset(0 0 100% 0 round var(--panel-round, 0));
	transition: clip-path 0.18s var(--ease-out);
}

.search-panel.is-open,
.menu-panel.is-open,
.header-lang.is-open {
	clip-path: inset(0 0 0 0 round var(--panel-round, 0));
	transition-duration: 0.28s;
	transition-timing-function: var(--ease-soft);
}

/* 中身。パネルが開ききるより気持ち早く追いつかせる */
.menu-panel__inner,
.search-panel__form,
.header-lang__item {
	translate: 0 -14px;
	transition: translate 0.18s var(--ease-out);
}

.menu-panel.is-open .menu-panel__inner,
.search-panel.is-open .search-panel__form,
.header-lang.is-open .header-lang__item {
	translate: none;
	transition-duration: 0.26s;
	transition-timing-function: var(--ease-soft);
}

/* 動きを減らす設定なら、出入りは瞬時に */
@media (prefers-reduced-motion: reduce) {
	.search-panel,
	.menu-panel,
	.header-lang,
	.search-panel.is-open,
	.menu-panel.is-open,
	.header-lang.is-open {
		clip-path: none;
		transition: none;
	}

	.menu-panel__inner,
	.search-panel__form,
	.header-lang__item {
		translate: none;
		transition: none;
	}
}

/* メニューの関連リンクは語の途中で折らない（「八王子観光コンベンショ / ン」になっていた）。折ってよい位置は header.php でゼロ幅スペース */
.menu-panel__sub a {
	word-break: keep-all;
	overflow-wrap: anywhere;
}

/* 連絡先は区切りの位置でだけ折る（「西橋 / 本」のように語の途中で折れないように） */
.site-footer__contact-body span {
	display: inline-block;
}

/* 中間の幅では、リンク3列の横に箱を置くと列が細くなり語の途中で折れる。箱はリンクの下へ */
@media (max-width: 1100px) {

	.site-footer__main {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-lg);
	}

	.site-footer__contact {
		justify-self: start;
		max-width: 100%;
	}
}

/* --- 言語切替（Google 翻訳のウィジェット。js/header.js） ------------------- */

/* 項目はボタン（SWELL が button に当てる padding・枠・地色を打ち消し、リンクだった頃と同じ見た目に） */
.header-lang__btn {
	display: block;
	width: 100%;
	margin: 0;
	padding: var(--space-3xs) var(--space-xs);
	border: 0;
	border-radius: 0;
	background: none;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	color: inherit;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}

.header-lang__item.is-current .header-lang__btn {
	background: #fffde7;
	font-weight: 700;
}

.header-lang__btn:hover,
.header-lang__btn:focus-visible {
	background: var(--midori-green);
	color: #fff;
}

/* ウィジェット本体（Google の select）は使わないので見せない。display:none だと初期化されないので画面外へ */
.mdn-google-translate {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/*
 * Google が翻訳中に画面の上へ出す帯（iframe）と、それに合わせて body に付く top のずれを消す。
 * 帯が出るとヘッダー（sticky）が押し下げられる。クラス名は Google 側で変わることがあるので iframe の種類でも当てる。
 */
body > .skiptranslate,
iframe.skiptranslate,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
	display: none !important;
}

body {
	top: 0 !important;
}

/* 翻訳した文のマウスオーバーで出る原文のふきだし・文の強調を出さない */
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-yAWNEb-L7lbkb {
	display: none !important;
}

.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q {
	background: none !important;
	box-shadow: none !important;
}

/*
 * 言語切替のドロップダウンの見た目を Figma のコンポーネント「Language」（2:3 > 4263:935 language=open）に合わせる（2026-09-30）。
 * 角のない白い箱・濃いめの枠（黒 53%・約 2px）・Noto Sans JP Medium 16px の中央寄せ・行間 1.4、
 * いまの言語だけ黄緑の帯（#e2e76e）で区切る。ボタンの真下・中央に出す（以前は右寄せ・緑の枠・角丸・影で、サイトの他の部品と揃っていなかった）。
 */
.header-lang {
	top: calc(100% + var(--space-2xs));
	right: auto;
	left: 50%;
	translate: -50% 0;
	min-width: 76px;
	padding: 0;
	border: 2px solid rgb(0 0 0 / 53%);
	--panel-round: 0px;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
}

.header-lang__btn {
	padding: 0 var(--space-xs);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: #000;
	text-align: center;
}

.header-lang__item.is-current .header-lang__btn {
	padding-block: var(--space-3xs);
	border-bottom: 2px solid rgb(0 0 0 / 53%);
	background: #e2e76e;
	font-weight: 500;
}

/* 最後の項目の下に少しだけ余白（Figma の白い箱の下端） */
.header-lang__item:last-child .header-lang__btn {
	padding-bottom: var(--space-3xs);
}

/* 日本語以外を選んでいるときは、いまの言語が先頭でないので上に区切り線も付ける */
.header-lang__item.is-current:not(:first-child) .header-lang__btn {
	border-top: 2px solid rgb(0 0 0 / 53%);
}

.header-lang__btn:hover,
.header-lang__btn:focus-visible {
	background: var(--midori-green);
	color: #fff;
}

.header-lang__item.is-current .header-lang__btn:hover {
	background: #e2e76e;
	color: #000;
	cursor: default;
}

/* メニューの項目を画面幅で片方だけ見せる（header.php の4つめの値。八王子観光コンベンションの置き場所が PC と SP で違う） */
@media (min-width: 768px) {
	.menu-panel .is-sp-only {
		display: none;
	}
}

@media (max-width: 767px) {
	.menu-panel .is-pc-only {
		display: none;
	}
}

/*
 * メニューの「ミウルのSNS」: 文字の下に X・Instagram の白いロゴ（Figma 6301:957 / 958。X 20px・Instagram 22px・間隔 8px・列の左端にそろえる）。
 * 押せる範囲はロゴより広く（上下左右 4px）取る。
 */
.menu-panel__sns-label {
	display: block;
}

.menu-panel__sns-icons {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0 0 0 -4px;
}

.menu-panel__sns-icons a {
	display: block;
	padding: 4px;
	line-height: 0;
}

.menu-panel__sns-icons a + a {
	margin-left: 0; /* 8px の間隔は両側の padding 4px ずつで作る */
}

.menu-panel__sns-icons img {
	display: block;
	width: 20px;
	height: 20px;
}

.menu-panel__sns-icons a + a img {
	width: 22px;
	height: 22px;
}
