/* 長距離フェリーの客室ガイド
   正本: ~/.claude/article-ui-regulation.md・~/.claude/site-layout-regulation.md（確定値は docs/layout-style-guide.md） */
:root {
  --ink: #1d2433;
  --ink2: #333b4c;
  --muted: #4a5263;
  --indigo: #0f3b57;
  --indigo-deep: #0a2a40;
  --link: #0d5a86;
  --accent: #b04a1a;
  --accent-ink: #8a3810;
  --bg: #dde8ee;
  --panel: #ffffff;
  --band: #dcebf2;
  --zebra: #f4f6f9;
  --rowhead: #e9edf2;
  --callout: #fbf0e9;
  --quote: #f2f5f8;
  --warn: #9b2f2f;
  --warn-bg: #fbf1f0;
  --ok: #2c6637;
  --marker: #fbf6af;
  --line: #cfd6df;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(15, 59, 87, 0.06) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, #dde8ee, #e7eef2);
}
a { color: var(--link); }
a:hover { color: var(--indigo-deep); }

h1, h2, h3 {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
  line-height: 1.45;
}
@supports (word-break: auto-phrase) {
  h1, h2, h3 { word-break: auto-phrase; }
}

/* ヘッダー（固定） */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--indigo);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
header.site nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
}
header.site .site-name {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  margin-right: auto;
}
header.site .nav-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
header.site .nav-links a { color: #e9eef4; text-decoration: none; font-size: 16px; padding: 2px 0; border-bottom: 2px solid transparent; }
header.site .nav-links a:hover, header.site .nav-links a[aria-current="page"] { color: #fff; border-bottom-color: #d9a86b; }

/* ヒーロー（小さく。1440px幅で260px以下・390px幅で380px以下） */
.hero {
  background-color: #dde5ee;
  background-image: repeating-linear-gradient(45deg, rgba(35, 64, 95, 0.06) 0 2px, transparent 2px 10px);
  border-bottom: 3px solid var(--indigo);
}
.hero .inner { max-width: 1120px; margin: 0 auto; padding: 18px 24px 20px; }
.hero h1 { font-size: 28px; margin: 6px 0 8px; color: var(--indigo-deep); }
.hero .lead { margin: 0; font-size: 17px; color: var(--ink2); max-width: 900px; }
.hero .meta { margin: 6px 0 0; font-size: 16px; color: var(--muted); }

.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 16px; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px; color: var(--muted); }
.breadcrumb a { color: var(--link); }
.breadcrumb li[aria-current] { color: var(--muted); }

/* 本体 */
main { padding: 24px 16px 48px; }
.panel {
  max-width: 1120px;
  margin: 0 auto 28px;
  background: var(--panel);
  border-radius: 10px;
  padding: 28px 32px 32px;
  box-shadow: 0 1px 3px rgba(24, 44, 67, 0.12);
}
.article { max-width: 680px; }
.article p, .article li { font-size: 18px; line-height: 2; color: var(--ink2); }
.article p { margin: 0 0 14px; }
.article ul, .article ol:not(.steps) { padding-left: 1.4em; margin: 0 0 16px; }

/* h2 は薄い帯＋左のアクセントバー（真っ黒帯にしない） */
.panel h2 {
  font-size: 24px;
  margin: 34px 0 16px;
  padding: 9px 14px;
  background-color: var(--band);
  border-left: 5px solid var(--indigo);
  border-radius: 0 8px 8px 0;
  color: var(--indigo-deep);
}
.panel h2:first-child { margin-top: 0; }
.panel h3 { font-size: 20px; margin: 26px 0 10px; color: var(--indigo-deep); }

/* 蛍光マーカー（結論文） */
.mk { background: linear-gradient(transparent 62%, var(--marker) 62%); font-weight: 700; color: var(--ink); }

/* 表：ヘッダー行は濃色地＋白文字、本文行は縞 */
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.7; }
table.wide { min-width: 960px; }
thead th { background-color: var(--indigo); color: #fff; text-align: left; font-weight: 700; padding: 10px 12px; vertical-align: bottom; }
tbody td, tbody th { padding: 10px 12px; vertical-align: top; border-top: 1px solid var(--line); text-align: left; }
tbody tr:nth-child(even) td { background-color: var(--zebra); }
tbody th { background-color: var(--rowhead); font-weight: 700; color: var(--indigo-deep); white-space: nowrap; }
td .none { color: var(--muted); }
caption { caption-side: top; text-align: left; font-size: 16px; color: var(--muted); padding: 0 0 8px; }

/* 注記・確認日（左帯callout） */
.callout { background: var(--callout); border-left: 5px solid var(--accent); border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 0 0 18px; }
.callout p { margin: 0 0 6px; font-size: 17px; line-height: 1.9; color: var(--ink2); }
.callout p:last-child { margin-bottom: 0; }
.callout .label { font-weight: 700; color: var(--accent-ink); }

/* 注意（警告色の左帯＋×）と対処（成功色の→） */
.warn { background: var(--warn-bg); border-left: 5px solid var(--warn); border-radius: 0 8px 8px 0; padding: 12px 18px; margin: 0 0 18px; }
.warn p { margin: 0; font-size: 17px; line-height: 1.9; }
.warn p::before { content: "× "; color: var(--warn); font-weight: 700; }
.fix { margin: 6px 0 0; font-size: 17px; }
.fix::before { content: "→ "; color: var(--ok); font-weight: 700; }

/* 原文の引用 */
.quote { margin: 0 0 14px; padding: 10px 16px; background: var(--quote); border-left: 3px solid #8aa2bd; border-radius: 0 6px 6px 0; }
.quote p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--ink2); }
.quote .from { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; }

/* 要点（大きな番号の編集的リスト） */
.points { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: pt; }
.points li { counter-increment: pt; position: relative; padding: 4px 0 12px 58px; font-size: 18px; line-height: 1.9; color: var(--ink2); }
.points li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 30px; font-weight: 700; color: var(--accent); line-height: 1.2; }

/* 手順（番号サークル＋縦線） */
ol.steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: st; }
ol.steps li { counter-increment: st; position: relative; padding: 0 0 18px 50px; }
ol.steps li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
ol.steps li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: #b9c6d4; }
ol.steps li:last-child::after { display: none; }
ol.steps .step-title { font-weight: 700; margin: 0 0 4px; font-size: 18px; color: var(--indigo-deep); }
ol.steps p { margin: 0; }

/* よくある質問 */
.faq-item { margin: 0 0 16px; }
.faq-q, .faq-a { position: relative; margin: 0; padding: 10px 14px 10px 52px; font-size: 17px; line-height: 1.9; }
.faq-q { font-weight: 700; color: var(--ink); }
.faq-a { background: #eef3f8; border-radius: 8px; color: var(--ink2); }
.faq-q::before, .faq-a::before { position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.faq-q::before { content: "Q"; background: var(--indigo); color: #fff; }
.faq-a::before { content: "A"; background: #c9d6e4; color: var(--indigo-deep); }

/* ブランド別の詳細 */
.brand-detail { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.brand-detail h3 { margin-top: 0; }
.brand-detail dl { margin: 0 0 10px; display: grid; grid-template-columns: 8em 1fr; gap: 6px 14px; font-size: 17px; line-height: 1.8; }
.brand-detail dt { font-weight: 700; color: var(--indigo-deep); }
.brand-detail dd { margin: 0; color: var(--ink2); }

/* トップのカテゴリ */
.wide-page { max-width: 1400px; margin: 0 auto; }
.wide-page .panel { max-width: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin: 0 0 8px; }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); }
.card .band { height: 10px; background: var(--indigo); }
.card.labels .band { background: var(--accent); }
.card.water .band { background: #2f6e7a; }
.card .body { padding: 14px 18px 16px; }
.card .kind { font-size: 16px; color: var(--muted); margin: 0 0 4px; }
.card .title { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 20px; font-weight: 700; color: var(--indigo-deep); margin: 0 0 8px; line-height: 1.5; }
.card .title::after { content: " →"; color: var(--accent); }
.card .desc { font-size: 16px; color: var(--ink2); margin: 0; line-height: 1.8; }
.card:hover { border-color: var(--indigo); }

.brand-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.brand-list li { background: var(--zebra); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 16px; }

/* フッター */
footer { background: var(--indigo-deep); color: #dfe6ee; margin-top: 12px; }
footer .foot-inner { max-width: 1400px; margin: 0 auto; padding: 22px 24px 28px; }
footer p { margin: 0 0 8px; font-size: 16px; }
footer .foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: #e9eef4; }

@media (max-width: 700px) {
  .hero .inner { padding: 14px 16px 16px; }
  .hero h1 { font-size: 24px; }
  .panel { padding: 20px 16px 24px; border-radius: 8px; }
  .panel h2 { font-size: 21px; }
  .panel h3 { font-size: 19px; }
  header.site nav { padding: 8px 16px; }
  .cards { grid-template-columns: 1fr; }
  .brand-detail dl { grid-template-columns: 1fr; gap: 2px; }
  .brand-detail dd { margin-bottom: 8px; }
  main { padding: 16px 10px 36px; }
}
.meta-note { font-size: 16px; color: var(--muted); margin: 0 0 8px; }

/* 本文＋補足欄の2列（本文は680px以内のまま、右の空白を目次・関連ページで埋める） */
.split { display: grid; grid-template-columns: minmax(0, 680px) minmax(240px, 1fr); gap: 40px; align-items: start; }
.split .article { max-width: none; }
.side { position: sticky; top: 76px; }
.side-box { background: var(--zebra); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 14px 16px; margin: 0 0 14px; }
.side-box .side-title { margin: 0 0 6px; font-weight: 700; font-size: 16px; color: var(--accent-ink); }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li { font-size: 16px; line-height: 1.7; padding: 6px 0; border-top: 1px dashed var(--line); }
.side-box li:first-child { border-top: 0; }
.side .brand-list { margin: 0; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.panel.narrow { max-width: 820px; }
.hero.wide .inner { max-width: 1400px; }
.card .title { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
@supports (word-break: auto-phrase) { .card .title { word-break: auto-phrase; } }
.cards.featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.featured .card:first-child { grid-column: span 2; }
.cards.featured .card:first-child .title { font-size: 24px; }
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 8px; }
  .side { position: static; }
  .details-grid { grid-template-columns: 1fr; }
  .cards.featured { grid-template-columns: 1fr; }
  .cards.featured .card:first-child { grid-column: auto; }
}
@media (max-width: 700px) {
  header.site .nav-links { flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 16px; }
  header.site .nav-links a { white-space: nowrap; }
}
.side-box .brand-list li { padding: 3px 12px; border: 1px solid var(--line); background: #fff; }

/* スマホでは比較表を1ブランドずつの縦並びにする（横スクロールで読ませない） */
@media (max-width: 700px) {
  table.wide { min-width: 0; }
  table.wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.wide, table.wide tbody, table.wide tr, table.wide th, table.wide td { display: block; width: 100%; }
  table.wide tr { border-top: 3px solid var(--indigo); }
  table.wide tbody th { white-space: normal; border-top: 0; padding: 10px 12px 6px; }
  table.wide tbody td { border-top: 1px solid var(--line); background: #fff; }
  table.wide tbody tr:nth-child(even) td { background: #fff; }
  table.wide td[data-label]::before { content: attr(data-label); display: block; font-weight: 700; color: var(--indigo-deep); font-size: 16px; }
}
.kind-tag { display: inline-block; font-size: 16px; padding: 1px 10px; border-radius: 999px; background: var(--band); color: var(--indigo-deep); border: 1px solid #b9cfdc; white-space: nowrap; }
td.yes { color: var(--ok); font-weight: 700; }

/* 比較表の列幅（船の列を折り返し、等級・鍵の列が1文字幅に潰れないようにする） */
@media (min-width: 701px) {
  table.wide tbody th { white-space: normal; width: 200px; }
  table.wide td { min-width: 96px; }
  table.wide td[data-label="等級"] { min-width: 120px; }
  table.wide td[data-label="鍵"], table.wide td[data-label="設備・備品"] { min-width: 150px; }
}

/* 運賃表はスマホでも表のまま（金額の列を縦に崩さない） */
table.fare td { white-space: nowrap; }
table.fare th, table.fare td { padding: 8px 6px; }
table.fare tbody th { white-space: normal; }
table.fare tbody th { word-break: keep-all; }
@media (max-width: 700px) { table.fare th, table.fare td { padding: 8px 4px; } }

/* 作り直しの型（2026-09-28。見本 kaden-care の styles.css 末尾から移植し、配色はこのサイトの変数）
   結論の箱・飛び先のボタン・1対象1枚のカード・原文の折りたたみ・区分の図・用事の入口 */
.panel.narrow-top { padding-top: 24px; }
.answer { background: #fff8ec; border: 2px solid var(--accent); border-radius: 12px; padding: 18px 22px 10px; margin: 0 0 18px; }
.answer-label { display: inline-block; margin: 0 0 8px; padding: 2px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; }
.answer ol { margin: 0; padding-left: 1.4em; }
.answer li { font-size: 18px; line-height: 1.9; margin: 0 0 10px; color: var(--ink2); }
.answer li strong { color: var(--ink); background: linear-gradient(transparent 62%, var(--marker) 62%); }
.jump-label { margin: 6px 0 8px; font-weight: 700; color: var(--indigo-deep); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--indigo); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.5; }
.chip:hover { background: var(--indigo-deep); color: #fff; }
.mg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.maker-card { border: 1px solid var(--line); border-top: 6px solid var(--indigo); border-radius: 10px; padding: 12px 16px 10px; background: #fff; scroll-margin-top: 70px; }
.maker-card.k-single, .maker-card.has-single { border-top-color: var(--accent); background: #fffaf3; }
.maker-card.k-booth { border-top-color: #2f6e7a; }
.maker-card.k-open { border-top-color: #7a8797; }
.maker-card.k-twin { border-top-color: var(--accent); border-top-style: dashed; }
.maker-card.info { border-top-color: #2f6e7a; }
.mc-kind { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--indigo); }
.maker-card.k-single .mc-kind, .maker-card.has-single .mc-kind, .maker-card.k-twin .mc-kind { color: var(--accent-ink); }
.maker-card.k-booth .mc-kind { color: #245862; }
.maker-card.k-open .mc-kind { color: var(--muted); }
.panel .maker-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--indigo-deep); }
.maker-card h3 span { display: block; font-size: 16px; font-weight: 400; color: var(--muted); font-family: "Noto Sans JP", sans-serif; }
.maker-card dl { margin: 0; }
.maker-card .kv { display: grid; grid-template-columns: 7em 1fr; gap: 8px; padding: 7px 0; border-top: 1px dashed var(--line); }
.maker-card dt { font-weight: 700; color: var(--indigo-deep); font-size: 16px; line-height: 1.75; }
.maker-card dd { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink2); }
.maker-card .mc-link { margin: 8px 0 0; font-size: 16px; font-weight: 700; }
details.src { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
details.src summary { cursor: pointer; font-size: 16px; color: var(--link); }
details.src ul { margin: 6px 0; padding-left: 1.2em; }
details.src li, details.src p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 4px; }
.panel.narrow { margin-left: auto; margin-right: auto; }

/* 客室の4区分の図（SVG の小さい文字を使わず HTML/CSS で描く） */
.kinds-fig { margin: 0 0 8px; }
.kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kinds li { position: relative; background: var(--zebra); border: 2px solid var(--indigo); border-radius: 12px; padding: 12px 12px 12px; text-align: center; }
.kinds li.k-single { border-color: var(--accent); background: #fffaf3; }
.kinds li.k-booth { border-color: #2f6e7a; }
.kinds li.k-open { border-color: #7a8797; }
.kinds strong { display: block; margin: 8px 0 2px; font-size: 18px; color: var(--ink); line-height: 1.5; }
.kinds .fs { display: block; font-size: 16px; color: var(--ink2); line-height: 1.6; }
.kinds .kd-n { display: inline-block; margin-top: 6px; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--indigo-deep); }
.kd-pic { height: 64px; margin: 0 auto; width: 120px; border: 3px solid var(--indigo-deep); border-radius: 4px; background: #fff; display: grid; gap: 3px; padding: 4px; }
.kd-single { border-color: var(--accent-ink); width: 72px; grid-template-columns: 1fr; }
.kd-single .cell { background: #f6d7c4; border-right: 6px solid var(--accent); border-radius: 2px; }
.kd-booth { grid-template-columns: repeat(4, 1fr); }
.kd-booth .cell { background: #cfe3e6; border: 2px solid #2f6e7a; border-radius: 2px; }
.kd-bunk { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; }
.kd-bunk .cell { background: #d3e1ec; border-radius: 6px; }
.kd-open { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; gap: 2px; }
.kd-open .cell { background: #e4e8ec; border-radius: 1px; }
.kinds-fig figcaption { font-size: 16px; color: var(--ink2); margin-top: 8px; }

/* トップ: 読者の用事からの入口 */
.tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.task { display: block; text-decoration: none; background: #fff; border: 2px solid var(--indigo); border-radius: 12px; padding: 12px 16px; color: var(--ink); }
.task:hover { background: var(--band); }
.task .t-need { display: block; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; font-size: 20px; color: var(--indigo-deep); line-height: 1.5; }
.task .t-ans { display: block; font-size: 16px; color: var(--ink2); line-height: 1.7; margin: 4px 0; }
.task .t-go { display: block; font-size: 16px; font-weight: 700; color: var(--accent-ink); }
.task.main { border-color: var(--accent); background: #fffaf3; }

@media (max-width: 1000px) {
  .tasks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .answer { padding: 14px 14px 6px; }
  .answer li { font-size: 17px; }
  .mg-cards { grid-template-columns: 1fr; }
  .maker-card .kv { grid-template-columns: 6.2em 1fr; gap: 6px; }
  .kinds { grid-template-columns: 1fr 1fr; }
  .tasks { grid-template-columns: 1fr; }
}
@media (min-width: 1000px) { .mg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 手順の図（見本の .flow。4つの手順を HTML で描く） */
.flow-fig { margin: 0 0 8px; }
.flow-fig figcaption { font-size: 16px; color: var(--ink2); margin-top: 8px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.flow li { position: relative; background: var(--band); border: 2px solid var(--indigo); border-radius: 12px; padding: 12px 12px 14px; text-align: center; }
.flow li:not(:last-child)::after { content: "▶"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 16px; }
.flow .fn { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; align-items: center; justify-content: center; font-size: 18px; }
.flow strong { display: block; margin: 8px 0 2px; font-size: 18px; color: var(--ink); }
.flow .fs { display: block; font-size: 16px; color: var(--ink2); line-height: 1.6; }
@media (max-width: 700px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:not(:last-child)::after { display: none; }
}
/* カードを詰める（スマホで1枚の高さを抑える） */
.maker-card.compact h3 span { display: inline; margin-left: 8px; }
.mc-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; margin-top: 6px; border-top: 1px solid var(--line); padding-top: 4px; }
.mc-foot .mc-link { margin: 0; }
.mc-foot details.src { margin: 0; border-top: 0; padding-top: 0; }
.mc-foot details.src[open] { flex-basis: 100%; }
@media (max-width: 700px) {
  .maker-card { padding: 10px 14px 8px; }
  .maker-card .kv { padding: 4px 0; }
  .panel .maker-card h3 { font-size: 19px; margin-bottom: 4px; }
  .mg-cards { gap: 10px; }
}
.maker-card.compact .kv { grid-template-columns: 5.4em 1fr; }
/* スマホでは、長い値のカードは項目名と値を1続きに流す（細い列で縦に伸びるのを防ぐ） */
@media (max-width: 700px) {
  .maker-card:not(.compact) .kv { display: block; padding: 5px 0; }
  .maker-card:not(.compact) dt { display: inline; margin-right: 8px; }
  .maker-card:not(.compact) dt::after { content: ""; }
  .maker-card:not(.compact) dd { display: inline; }
}
/* 図・カードの短い文を語の途中で折らない（「区／画」「カー／テン」の実例） */
.kinds strong, .kinds .fs, .flow strong, .flow .fs, .task .t-need, .task .t-ans, .answer li strong { word-break: keep-all; overflow-wrap: anywhere; }
@supports (word-break: auto-phrase) { .kinds strong, .kinds .fs, .flow strong, .flow .fs, .task .t-need, .task .t-ans, .answer li strong { word-break: auto-phrase; } }

/* 客室比較の地域の見出し（行き先から探す） */
.region-head{font-size:20px;line-height:1.5;margin:28px 0 12px;padding:6px 12px;border-left:6px solid var(--ink);background:var(--soft,#eef2f6)}
.region-head:first-of-type{margin-top:8px}
.group-note{font-size:16px;line-height:1.8;margin:0 0 12px}
ul.plain{margin:0;padding-left:1.1em}
ul.plain li{margin:0 0 4px}
