/* =========================================================================
   くわしいメニュー表（info.misawa-tokokoto.com/menu）
   - トークン・ヘッダー・フッター・＼／見出し・.reveal は hub.css / tokens.css を再利用する。
   - 基本部品（ボタン・最後のカード）はワーケーションLP（workation.css）の写し。
     **クラス名は mn- に変えてある**が形は同じ（白カード + 2px墨枠 + 角丸0 / 2px点線罫線 /
     手書き見出し / イチョウは線と文字だけ）。
   - 詳細のポップアップは partner.css の運営者プロフィール（ネイティブ dialog）と同じ作り。
   - フォームの見た目（.cf-*）は contact.html と同じもの。
   - 図解（step.1〜3）は、以前の1枚画像（lp/assets/menu-table.webp・2026-10-11 に削除）の並びを、このデザインシステムの
     部品で組み直したもの。**新しい色を足さない**（docs/LP-COMPONENTS.md）。
   ========================================================================= */

@media (max-width: 620px) {
  .h-slash { font-size: 17px; gap: 6px; letter-spacing: .02em; }
  .section__lead { font-size: 11.5px; letter-spacing: .03em; }
}
.h-slash { margin: 0; }
/* ヘッダーが sticky（103px）なので、ページ内リンクの着地点をその分ずらす。 */
[id] { scroll-margin-top: 116px; }
@media (max-width: 760px) { [id] { scroll-margin-top: 84px; } }

/* ====================== 大見出し（設備ページの .fc-major と同じ形） ======================
   文字は hub.css の .h-title。下の線は見出しの幅いっぱいの長い線＋右端の短い線（公式HPの見出し飾り）。
   hub.css の .h-deco（固定64pxの線）は、字数の多い見出しだと短すぎるので使わない（2026-10-06 井上さん指摘）。 */
.mn-major { text-align: center; padding-top: clamp(48px, 7vw, 84px); }
.mn-major .h-title {
  padding-bottom: 14px;
  background:
    linear-gradient(var(--color-ink), var(--color-ink)) left bottom / calc(100% - 26px) 2px no-repeat,
    linear-gradient(var(--color-ink), var(--color-ink)) right bottom / 16px 2px no-repeat;
}
.mn-major__lead { max-width: 46em; margin: 20px auto 0; font-size: 13px; line-height: 2.1; letter-spacing: .06em; }
@media (max-width: 620px) {
  .mn-major .h-title { font-size: 26px; padding-bottom: 11px; background-size: calc(100% - 20px) 2px, 12px 2px; }
  .mn-major__lead { font-size: 12.5px; text-align: left; }
}

/* ====================== 図解：段の見出し（step. N ＋ 見出し） ====================== */
.mn-step { padding: clamp(28px, 4.4vw, 48px) 0 0; }
.mn-step__head { text-align: center; margin: 0 0 14px; }
.mn-step__no {
  display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(15px, 1.9vw, 19px);
  letter-spacing: .08em; line-height: 1.2; color: var(--color-sub);
}
/* りいクッキーは 400 の1ウェイトしか無い。h2 の既定(700)のままだと合成ボールドで字が潰れるので、
   このファイルで手書きフォントを当てるところには必ず font-weight: 400 を添えている。 */
.mn-step__title {
  margin: 2px 0 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 3.2vw, 32px); letter-spacing: .06em; line-height: 1.35;
  word-break: keep-all; overflow-wrap: anywhere;
}

/* 図解の白い枠 */
.mn-frame { background: var(--color-white); border: var(--border-card); padding: clamp(12px, 2.6vw, 26px); }

/* 次の段へ（▼） */
.mn-next { display: flex; justify-content: center; padding: clamp(18px, 3vw, 30px) 0 0; }
.mn-next::before {
  content: ""; border-left: 15px solid transparent; border-right: 15px solid transparent;
  border-top: 18px solid var(--color-ink);
}

/* ====================== 写真（押すと詳細が開く） ====================== */
.mn-photo {
  position: relative; display: block; aspect-ratio: 5 / 3; overflow: hidden;
  background: #ddd; border: var(--border-card); transition: box-shadow var(--t-fast);
}
.mn-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
/* 「詳細が開く」ことの目印（＋）。写真の右下に固定する。 */
.mn-more {
  position: absolute; right: 0; bottom: 0; width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--color-ink); color: #fff;
}
.mn-more svg, .mn-typebtn svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 620px) { .mn-more { width: 24px; height: 24px; } .mn-more svg { width: 14px; height: 14px; } }

/* 見出しのボタンを、カード全体まで広げて押せるようにする（中に ul などを置けるよう、
   カードそのものは button にしない）。 */
.mn-hit {
  appearance: none; background: none; border: 0; padding: 0; margin: 0; color: inherit;
  font: inherit; letter-spacing: inherit; line-height: inherit; text-align: inherit; cursor: pointer;
}
.mn-hit::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mn-hit:focus-visible { outline: none; }
.mn-hit:focus-visible::after { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.mn-tap { position: relative; }
.mn-tap:hover .mn-photo { box-shadow: 0 0 0 3px var(--color-accent); }
.mn-tap:hover .mn-photo img { transform: scale(1.04); }

/* ====================== step.1 宿泊タイプ ====================== */
.mn-stay__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.6vw, 28px); align-items: start;
}
.mn-room { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.mn-room__head { width: 100%; }
.mn-room__name {
  margin: 12px 0 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(16px, 2.2vw, 22px); letter-spacing: .05em; line-height: 1.4;
}
@media (max-width: 620px) { .mn-room__name { font-size: clamp(13px, 4.1vw, 16px); letter-spacing: .02em; white-space: nowrap; } }
.mn-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.mn-pills li {
  background: var(--color-bg); color: var(--color-sub); padding: 2px 12px;
  font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .04em; white-space: nowrap;
}
/* 部屋から泊まり方へつなぐ点線 */
.mn-dots { display: block; width: 0; height: 18px; margin: 8px auto; border-left: 3px dotted var(--color-ink); }
.mn-types { display: flex; align-items: flex-start; justify-content: center; gap: 8px; width: 100%; }
.mn-type { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1 1 0; min-width: 0; max-width: 230px; }
.mn-or { flex: none; font-family: var(--font-display); font-weight: 400; font-size: 15px; line-height: 44px; }
.mn-typebtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 44px; padding: 8px 10px;
  background: var(--color-ink); color: #fff; border: 2px solid var(--color-ink); border-radius: var(--radius-button);
  font-family: var(--font-button); font-weight: var(--fw-bold); font-size: clamp(13.5px, 1.7vw, 17px);
  letter-spacing: .06em; line-height: 1.3; cursor: pointer;
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.mn-typebtn:hover { box-shadow: 0 0 0 3px var(--color-accent); transform: translateY(-1px); }
.mn-typebtn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.mn-price {
  font-size: clamp(12.5px, 1.5vw, 15px); font-weight: var(--fw-bold); letter-spacing: .02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
/* 枠の右下からぶら下がる「校舎1棟貸切」と、次の段への▼を同じ帯に置く */
.mn-stay__after { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.mn-stay__after .mn-next { grid-column: 2; grid-row: 1; padding-top: 0; }
.mn-whole { grid-column: 3; grid-row: 1; justify-self: end; width: min(230px, 100%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mn-whole .mn-dots { margin: 0 auto; }
/* スマホは1列ぶんが130pxほどしか無く、ボタンを横に2つ並べると字が割れる。泊まり方は縦に積み、
   「校舎1棟貸切」はグランピングの列の真下、▼はその下の段に置く。 */
@media (max-width: 620px) {
  .mn-types { flex-direction: column; align-items: stretch; gap: 2px; }
  .mn-type { flex: none; max-width: none; }
  .mn-or { font-size: 13px; line-height: 1.5; text-align: center; }
  .mn-pills li { max-width: 100%; padding: 2px 8px; font-size: 10px; letter-spacing: .02em; white-space: normal; overflow-wrap: anywhere; }
  .mn-stay__after { display: block; }
  .mn-whole { width: calc(50% - 6px); margin-left: auto; }
  .mn-stay__after .mn-next { padding-top: 16px; }
}

/* ====================== step.2 / step.3 のカード ====================== */
.mn-bar {
  margin: 0 0 clamp(12px, 2vw, 18px); padding: 6px 12px; background: var(--color-ink); color: #fff;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(15px, 2vw, 19px);
  letter-spacing: .14em; line-height: 1.5; text-align: center;
}
.mn-bar--next { margin-top: clamp(18px, 3vw, 28px); }
.mn-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px) clamp(10px, 1.8vw, 18px);
}
/* ★スマホでも2列のまま。1列に落とすとページが縦に伸びすぎる（workation.css と同じ判断）。 */
@media (max-width: 620px) { .mn-grid { grid-template-columns: 1fr 1fr; } }
.mn-tile { display: flex; flex-direction: column; text-align: center; min-width: 0; }
.mn-tile__name {
  margin: 8px 0 0; font-size: clamp(12.5px, 1.5vw, 14.5px); font-weight: var(--fw-bold);
  line-height: 1.45; letter-spacing: .03em;
  /* 文字の途中では折らず、<wbr> と空白でだけ折る（「…ベーグル&コ／ーヒー」のような泣き別れを防ぐ） */
  word-break: keep-all; overflow-wrap: anywhere;
}
.mn-tile__price {
  margin: 2px 0 0; font-size: clamp(12px, 1.45vw, 14px); font-weight: var(--fw-bold);
  line-height: 1.5; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  word-break: keep-all; overflow-wrap: anywhere;
}
.mn-nb { white-space: nowrap; }   /* ここでは折らない（折るなら手前の <wbr> で） */
/* 写真の無いマス（ひとこと） */
.mn-tile--note {
  justify-content: center; align-items: center; padding: 6px;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(13px, 1.7vw, 16px); line-height: 2; letter-spacing: .06em;
}
@media (max-width: 620px) { .mn-tile--note { font-size: clamp(11.5px, 3.5vw, 13.5px); letter-spacing: .04em; } }
/* 5マス目のひとこと。3列の最後の行を埋めるように2列ぶん使う（スマホの2列では横いっぱい） */
.mn-tile--wide { grid-column: span 2; }
.mn-aside { margin: 8px 0 0; text-align: right; font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .04em; }

/* 朝ごはん：写真の右に、名前・料金・中身のチェックリスト（ふきだし） */
.mn-bf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
@media (max-width: 760px) { .mn-bf { grid-template-columns: 1fr; } }
.mn-bfitem {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
  column-gap: 12px; align-items: start; min-width: 0;
}
.mn-bfitem .mn-photo { grid-row: 1 / span 2; }
.mn-bfitem__bd { min-width: 0; }
.mn-bfitem .mn-tile__name { margin-top: 0; }
.mn-check {
  position: relative; margin-top: 12px; padding: 8px 10px; background: var(--color-bg);
  font-size: 11.5px; font-weight: var(--fw-bold); line-height: 1.9; letter-spacing: .03em;
}
.mn-check::before {
  content: ""; position: absolute; left: 20px; top: -8px;
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid var(--color-bg);
}
/* スマホは右の列が120pxほどしか無く、チェックリストの字が1〜2字だけ次の行に落ちる。
   リストは写真の下の段に下ろし、横いっぱいの2列で見せる。 */
@media (max-width: 620px) {
  .mn-bfitem { grid-template-rows: auto auto; }
  .mn-bfitem .mn-photo { grid-row: 1; }
  .mn-check { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
  .mn-check::before { left: calc(52% + 14px); }
}
.mn-check li { display: flex; align-items: baseline; gap: 6px; word-break: keep-all; overflow-wrap: anywhere; }
.mn-check li::before { content: "✓"; color: var(--color-accent); font-weight: 700; flex: none; }

/* ====================== ミニ校長 ======================
   素材はキャラ素材室の parts/<番号>.png（番号は変えない）。文字に被らない位置に、小さく。 */
.mn-hasChara { position: relative; }
.mn-chara { position: absolute; z-index: 3; object-fit: contain; pointer-events: none; }
.mn-chara--sleep { width: 84px; height: 58px; right: 26px; bottom: calc(100% + 1px); }   /* 枠の上の縁に寝そべる */
@media (max-width: 620px) { .mn-chara--sleep { width: 60px; height: 42px; right: 6px; } }

/* ふきだし。白地＋2px墨枠。しっぽは枠と同じ色の三角を2枚重ねて作る */
.mn-bubble {
  --tail: 20px;   /* しっぽの張り出し。左右どちらのしっぽもこの1つで動く */
  position: relative; margin: 0; padding: 10px 16px; background: var(--color-white); border: var(--border-card);
  font-family: var(--font-display); font-weight: 400; font-size: clamp(13px, 1.6vw, 15.5px); line-height: 1.9; letter-spacing: .05em;
  text-align: center; word-break: keep-all;
}
.mn-bubble::before, .mn-bubble::after { content: ""; position: absolute; top: 50%; margin-top: -9px; border: 9px solid transparent; }
.mn-bubble::before { left: calc(-1 * var(--tail)); border-right-color: var(--color-ink); }
.mn-bubble::after { left: calc(4px - var(--tail)); border-right-color: var(--color-white); }
.mn-bubble--right::before { left: auto; right: calc(-1 * var(--tail)); border-right-color: transparent; border-left-color: var(--color-ink); }
.mn-bubble--right::after { left: auto; right: calc(4px - var(--tail)); border-right-color: transparent; border-left-color: var(--color-white); }

/* 格子のマスに入る版（step.2）。キャラの右にふきだし */
.mn-tile--say { flex-direction: row; align-items: center; justify-content: center; gap: 22px; padding: 6px; }
.mn-say__chara { flex: none; width: auto; height: clamp(84px, 9vw, 116px); }
/* 格子の下の1行（step.3）。右寄せで、ふきだしの右にキャラ */
.mn-say { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin: clamp(12px, 2vw, 18px) 0 0; }
.mn-say .mn-bubble { max-width: 520px; }
.mn-sp { display: none; }
@media (max-width: 620px) {
  .mn-tile--say { gap: 12px; }
  .mn-say { gap: 12px; justify-content: center; }
  .mn-say__chara { height: 78px; }
  .mn-bubble { --tail: 18px; padding: 8px 12px; letter-spacing: .03em; }
  .mn-sp { display: inline; }
}
/* 帯の下のひとこと（食事のオプション） */
.mn-grid__lead { margin: -4px 0 12px; font-size: 12px; color: var(--color-sub); text-align: center; letter-spacing: .04em; }
/* ＼／見出しの横に立つキャラ（メニューBOOK） */
.mn-withChara { flex-direction: row; align-items: flex-end; justify-content: center; gap: 14px; }
.mn-withChara > div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mn-withChara__img { width: auto; height: 84px; flex: none; }
@media (max-width: 620px) {
  /* 狭い幅では見出しが2行に折れて ＼／ がずれるので、キャラは見出しの上に */
  .mn-withChara { flex-direction: column; align-items: center; gap: 2px; }
  .mn-withChara__img { height: 60px; }
}

/* 注記 */
.mn-disc { font-size: 11px; color: var(--color-sub); line-height: 1.95; margin-top: 12px; }
.mn-disc--center { text-align: center; }
.mn-disc a { color: var(--color-link); text-decoration: underline; }

/* ====================== ボタン ====================== */
.mn-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.mn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px; border: var(--border-card); border-radius: var(--radius-button);
  font-family: var(--font-button); font-weight: var(--fw-bold); font-size: 14px; letter-spacing: .05em;
  background: var(--color-white); color: var(--color-ink); cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.mn-btn:hover { background: var(--color-accent-soft); transform: translateY(-2px); }
.mn-btn--primary { background: var(--color-ink); color: #fff; }
.mn-btn--primary:hover { background: var(--color-ink); color: #fff; box-shadow: 0 0 0 3px var(--color-accent); }
.mn-btn .ext { font-size: 11px; color: inherit; opacity: .8; }
@media (max-width: 620px) { .mn-btn { width: 100%; font-size: 13.5px; } }

/* ====================== フロアマップ ====================== */
.mn-floor { background: var(--color-white); border: var(--border-card); padding: clamp(6px, 2vw, 18px); }
/* 画像の上端には手書きの「フロアマップ」が描き込まれている。見出しは ＼／ で別に置くので、
   その帯（高さ1432のうち上285px）と下端の余白（70px）を窓の外へ逃がす。
   拡大表示では元の画像がそのまま出る。 */
.mn-floor__win { display: block; overflow: hidden; aspect-ratio: 2004 / 1077; }
.mn-floor__win img { width: 100%; height: auto; margin-top: -14.22%; }

/* ====================== 詳細版「合宿メニューBOOK」 ====================== */
.mn-book {
  background: var(--color-white); border: var(--border-card); padding: clamp(14px, 3vw, 28px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(14px, 3vw, 28px); align-items: center;
}
@media (max-width: 760px) { .mn-book { grid-template-columns: 1fr; } }
.mn-book__img { border: var(--border-card); }
.mn-book__img img { width: 100%; height: auto; }
.mn-book__list li {
  display: flex; align-items: baseline; gap: 9px; padding: 9px 2px;
  border-bottom: var(--rule-dotted); font-size: 13px; font-weight: var(--fw-bold); line-height: 1.75;
}
.mn-book__list li::before { content: "✓"; color: var(--color-accent); font-weight: 700; flex: none; }
.mn-book__sub { margin: 14px 0 0; font-size: 13px; font-weight: var(--fw-bold); line-height: 1.9; }
.mn-book .mn-ctas { justify-content: flex-start; margin-top: 14px; }

/* ====================== 予約に進む／ご相談（メモ帳のイラストの上に置く） ======================
   ご案内ページ（/form）と同じ lp/assets/note-card.png（1166×1096・透過）を下敷きにする。
   あちらは Canva 原本を座標で再現しているが、ここは文字量に合わせて伸びる作り。 */
.mn-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 36px); max-width: 880px; margin: 0 auto; }
@media (max-width: 700px) { .mn-notes { grid-template-columns: 1fr; max-width: 440px; } }
.mn-note {
  position: relative; display: flex; flex-direction: column;
  background: url("/lp/assets/note-card.png") center / 100% 100% no-repeat;
  padding: 12% 9% 9%; min-height: 0;
}
.mn-note__bd { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.mn-note__t { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(21px, 2.8vw, 27px); letter-spacing: .06em; line-height: 1.5; }
.mn-note__d { margin: 10px 0 0; font-size: clamp(12px, 1.4vw, 13.5px); font-weight: var(--fw-bold); line-height: 1.95; letter-spacing: .03em; }
.mn-note__d b { font-family: var(--font-display); font-weight: 400; font-size: 1.2em; }
.mn-note__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: auto; padding: 14px 26px; min-width: 60%;
  background: var(--color-ink); color: #fff; border: 2px solid var(--color-ink); border-radius: var(--radius-button);
  font-family: var(--font-button); font-weight: var(--fw-bold); font-size: 15px; letter-spacing: .08em;
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.mn-note__btn img { width: 22px; height: auto; }
.mn-note__btn:hover { box-shadow: 0 0 0 3px var(--color-accent); transform: translateY(-2px); }
.mn-note__bd > .mn-note__d:last-of-type { margin-bottom: 18px; }
.mn-person { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; text-align: left; }
.mn-person img { width: 104px; height: 78px; object-fit: cover; border: var(--border-card); flex: none; }
.mn-person__n { font-size: 12.5px; font-weight: var(--fw-bold); line-height: 1.6; }
.mn-person__b { font-size: 11.5px; line-height: 1.8; color: var(--color-sub); margin-top: 2px; }

/* ====================== 詳細のポップアップ ====================== */
.mn-dialog {
  width: min(640px, calc(100% - 28px)); max-height: 86vh; max-height: min(86dvh, 780px); margin: auto; padding: 0;
  overflow: hidden; color: var(--color-ink); background: var(--color-white); border: var(--border-card); border-radius: 0;
}
.mn-dialog::backdrop { background: rgba(29, 26, 20, .72); }
/* 開いている間は後ろのページを動かさない（スマホで背面だけスクロールして迷子になるのを防ぐ）。
   スクロールバーの幅は常に確保しておき、開閉でページが横にずれないようにする。 */
html { scrollbar-gutter: stable; }
html:has(.mn-dialog[open]) { overflow: hidden; }
.mn-dialog__panel { display: flex; flex-direction: column; max-height: 86vh; max-height: min(86dvh, 780px); }
.mn-dialog__head {
  display: flex; flex: none; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 15px 18px 13px; background: var(--color-bg); border-bottom: var(--border-card);
}
/* 題はシミュレーターの名前がそのまま入る（長いものがある）。折り返しは行の長さをそろえ、
   対応ブラウザでは文節で折る。 */
.mn-dialog__title {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 21px; letter-spacing: .05em; line-height: 1.45;
  text-wrap: balance; word-break: auto-phrase;
}
.mn-dialog__sub { margin: 3px 0 0; color: var(--color-sub); font-size: 11px; font-weight: var(--fw-bold); line-height: 1.6; letter-spacing: .05em; }
.mn-dialog__sub:empty { display: none; }
.mn-dialog__close {
  display: grid; flex: none; width: 38px; height: 38px; padding: 0; place-items: center; appearance: none;
  color: var(--color-ink); background: var(--color-white); border: var(--border-card); border-radius: 0;
  font: inherit; font-size: 24px; line-height: 1; cursor: pointer;
}
.mn-dialog__close:hover { background: var(--color-accent-soft); }
.mn-dialog__close:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.mn-dialog__body { padding: 18px 22px 24px; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 620px) {
  .mn-dialog__head { padding: 13px 12px 11px; }
  .mn-dialog__title { font-size: 18px; }
  .mn-dialog__body { padding: 14px 14px 20px; }
}

/* ポップアップの中身（宿泊タイプ・食事・オプションで同じ形） */
.mn-detail__photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 14px; }
.mn-detail__photos .mn-photo { margin: 0; }
/* 広い画面では写真が縦に場所を取りすぎて、説明と料金がスクロールの下に隠れる。少し横長に切る。 */
@media (min-width: 621px) { .mn-detail__photos .mn-photo:only-child { aspect-ratio: 2 / 1; } }
.mn-detail__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 12px; }
.mn-detail__price b {
  font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: .03em; line-height: 1.3;
  color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.mn-detail__price span { font-size: 11.5px; font-weight: var(--fw-bold); color: var(--color-sub); }
.mn-detail__lead { margin: 0 0 12px; font-size: 13px; line-height: 1.95; }
.mn-detail__note { margin: 14px 0 0; font-size: 11.5px; color: var(--color-sub); line-height: 1.9; }
.mn-detail__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mn-detail__cta .mn-btn { min-height: 46px; padding: 10px 18px; font-size: 13.5px; }

/* 料金シミュレーター（tripla）の説明文。tools/sync-menu-sim.py が写してくる。
   元の文面は変えず、色や枠の指定だけ外して、このデザインシステムの部品に乗せ替えている。 */
.mn-desc { font-size: 13px; line-height: 1.95; overflow-wrap: anywhere; }
.mn-desc b, .mn-desc strong { font-weight: var(--fw-bold); }
.mn-desc ul { margin: 2px 0 6px; padding-left: 1.3em; list-style: disc; }
.mn-desc small { display: block; font-size: 11.5px; color: var(--color-sub); line-height: 1.85; }
.mn-desc a { color: var(--color-link); text-decoration: underline; }
.mn-desc hr { border: 0; border-top: var(--rule-dotted); margin: 9px 0; }
.mn-desc__box { margin: 12px 0; padding: 12px 14px; background: var(--color-bg); }
.mn-desc__box:last-child { margin-bottom: 0; }
.mn-desc__lead { margin: 0 0 8px; font-weight: var(--fw-bold); }
/* tripla の説明にある小さな黒ラベル（利用・食材・機材…）。フォームの「必須」バッジと同じ見た目 */
.mn-desc__label {
  display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 2px;
  background: var(--color-ink); color: var(--color-white); font-size: 11px; line-height: 1.5; font-weight: var(--fw-bold); vertical-align: baseline;
}

/* 食事の詳細（項目と中身の表。workation.css の .wk-facts と同じ形） */
.mn-facts { border-top: var(--rule-dotted); }
.mn-facts__row { display: flex; align-items: baseline; gap: 14px; padding: 9px 2px; border-bottom: var(--rule-dotted); }
.mn-facts__k { font-family: var(--font-display); font-weight: 400; font-size: 13px; letter-spacing: .04em; min-width: 96px; flex-shrink: 0; }
.mn-facts__v { font-size: 12.5px; line-height: 1.9; flex: 1; min-width: 0; }
.mn-facts__v em { font-style: normal; font-weight: var(--fw-bold); color: inherit; }
@media (max-width: 620px) {
  .mn-facts__row { flex-direction: column; gap: 2px; }
  .mn-facts__k { min-width: 0; }
}

/* ====================== 資料請求フォーム（見た目は contact.html と同じ） ====================== */
.cf-wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--pad-x) 0; }
.cf-f { margin-top: 22px; }
.cf-f > label {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--color-ink); margin-bottom: 8px;
}
.cf-req, .cf-opt {
  display: inline-block; margin-left: 8px; padding: 2px 7px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .06em; border-radius: 2px; vertical-align: 2px;
}
.cf-req { background: var(--color-ink); color: #fff; }
.cf-opt { background: #e4e4e4; color: var(--color-sub); }
.cf-f input[type=text], .cf-f input[type=email], .cf-f input[type=tel], .cf-f select, .cf-f textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; line-height: 1.7;
  padding: 12px 13px; background: var(--color-white); color: var(--color-ink);
  border: 2px solid var(--color-ink); border-radius: var(--radius-button); appearance: none;
}
.cf-f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23333' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 12px 8px; padding-right: 36px; }
.cf-f textarea { min-height: 96px; resize: vertical; }
.cf-f input:focus, .cf-f select:focus, .cf-f textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.cf-f.bad input, .cf-f.bad select, .cf-f.bad textarea { border-color: #b6482a; }
.cf-err { display: none; margin-top: 6px; font-size: 12px; color: #b6482a; font-weight: 700; }
.cf-f.bad .cf-err { display: block; }
.cf-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; }
.cf-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-accent-fill); }
.cf-check label { font-size: 12.5px; line-height: 1.9; color: var(--color-ink); }
.cf-submit {
  width: 100%; margin-top: 26px; padding: 17px 20px; font-family: var(--font-button);
  font-size: 16px; font-weight: 700; letter-spacing: .1em; color: #fff;
  background: var(--color-ink); border: 2px solid var(--color-ink);
  border-radius: var(--radius-button); cursor: pointer; transition: opacity var(--t-fast);
}
.cf-submit:hover { opacity: .85; }
.cf-submit[disabled] { opacity: .5; cursor: default; }
.cf-msg { margin-top: 12px; font-size: 13px; font-weight: 700; color: #b6482a; line-height: 1.8; }
/* ボットよけ（人には見えない） */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 送信完了 */
.cf-done { display: none; text-align: center; padding: 10px 0 0; }
.cf-done.on { display: block; }
.cf-done h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 400; margin: 0 0 16px; }
.cf-done p { font-size: 13.5px; line-height: 2; color: var(--color-ink); margin: 0 0 12px; }
.cf-donebtns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.cf-donebtn {
  display: inline-block; padding: 14px 26px; font-family: var(--font-button); font-size: 14px;
  font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--color-ink);
  border: 2px solid var(--color-ink); border-radius: var(--radius-button); text-decoration: none;
}
.cf-donebtn.ghost { background: var(--color-white); color: var(--color-ink); }

.mn-back { text-align: center; padding: 26px 0 0; font-size: 12.5px; }
.mn-back a { border-bottom: 2px solid var(--color-accent); padding-bottom: 1px; font-weight: var(--fw-bold); }
