@charset "UTF-8";

/* ==========================================================================
   pitayado design system v3「湯上がり」
   Reference implementation for docs/DESIGN.md

   クリーム地に温かい茶の文字。ラベルと釦は丸ゴシック、見出しは明朝、
   データはゴシック。テラコッタは香りづけ程度に。
   外部フォント・JS・画像なし。モバイル基準 390px。
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  --bg:      #faf5ee;
  --surface: #fffdf9;
  --blush:   #f7e8db;

  --ink:   #453a30;
  --ink-2: #6f6156;
  --ink-3: #857466;

  --line:   #ecdfd1;
  --line-2: #d9c7b5;

  --terra:      #b25a3c;   /* ラベル・番号・導線の香りづけ */
  --terra-weak: #f6e2d6;

  --sage:      #5c7c60;    /* 確認済み */
  --sage-weak: #e8efe5;
  --amber:      #96682c;   /* 未確認 */
  --amber-weak: #f4e7d0;

  --cta:     #4a3d32;      /* 商用導線は深い焦げ茶。sage/terraと混ぜない */
  --cta-ink: #fbf6ef;

  --maru: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro",
          "HG Maru Gothic M PRO", "Yu Gothic", sans-serif;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho",
            "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
          "YuGothic", "Noto Sans JP", Meiryo, sans-serif;

  --measure: 40rem;
  --gutter: 1.25rem;
  --tap: 2.75rem;
  --r-lg: 22px;
  --r-md: 14px;
  --r-full: 999px;
  --shadow: 0 2px 4px rgba(122, 92, 62, 0.04), 0 14px 34px rgba(122, 92, 62, 0.07);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #211b15;
    --surface: #2a231c;
    --blush:   #3a2d23;
    --ink:   #f0e7dc;
    --ink-2: #c9bbac;
    --ink-3: #a4937f;
    --line:   #3d332a;
    --line-2: #52453a;
    --terra:      #dd9271;
    --terra-weak: #45301f;
    --sage:      #9cb99a;
    --sage-weak: #2c3a2b;
    --amber:      #d7a760;
    --amber-weak: #3d301f;
    --cta:     #efe6da;
    --cta-ink: #2a231c;
    --shadow: none;
  }
}

/* --- 2. Base ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.95;
  font-feature-settings: "palt" 1;
}

a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* --- 3. 見出し・ラベル ----------------------------------------------------- */

h1, h2, h3 { margin: 0; }

/* ホームの主見出し。明朝でゆったり */
.hero { position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: -3.5rem; right: -4.5rem;
  width: 17rem; height: 15rem;
  background: radial-gradient(closest-side, var(--blush), transparent 72%);
  border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%;
  pointer-events: none;
}
.hero > * { position: relative; }

@media (max-width: 30rem) {
  .hero::before { right: 0; width: 13rem; }
}

.hero-h {
  font-family: var(--mincho);
  font-size: clamp(1.45rem, 6.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: 0.045em;
}

h1 {
  font-family: var(--mincho);
  font-size: clamp(1.3rem, 5.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

h2 {
  font-family: var(--mincho);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.55;
  margin: 3.2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
h2::before {
  content: "";
  flex: none;
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: var(--terra);
}

h3 { font-size: 1rem; font-weight: 700; line-height: 1.6; }

/* 小さな番号ラベル（丸ゴ＋テラコッタ） */
.case {
  font-family: var(--maru);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--terra);
}

.lede { margin: 0.8rem 0 0; font-size: 0.875rem; line-height: 2.0; color: var(--ink-2); }

/* --- 4. チップ・バッジ ----------------------------------------------------- */

.chip-row {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin: 0.9rem 0 0; padding: 0; list-style: none;
}
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--maru);
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: var(--r-full);
  padding: 0.18rem 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip-acc {
  border-color: transparent;
  background: var(--terra-weak);
  color: var(--terra);
  font-weight: 700;
}

/* --- 5. ヘッダー・パンくず・フッター ---------------------------------------- */

.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head .wrap {
  display: flex; align-items: baseline; gap: 0.65rem;
  padding-block: 0.9rem;
}
.site-name {
  font-family: var(--maru);
  font-size: 1.25rem; font-weight: 800; letter-spacing: 0.12em;
  text-decoration: none;
}
.site-tag { font-family: var(--maru); font-size: 0.6875rem; color: var(--ink-3); letter-spacing: 0.06em; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  margin: 0; padding: 0.85rem 0 0; list-style: none;
  font-size: 0.6875rem; color: var(--ink-3);
}
.crumbs li::after { content: "/"; margin-left: 0.35rem; color: var(--line-2); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--ink-3); }

.site-foot {
  margin-top: 4.5rem;
  background: var(--surface);
  border-top: 1px dashed var(--line-2);
  padding-block: 1.7rem 3.4rem;
  font-size: 0.6875rem; line-height: 1.95; color: var(--ink-3);
}
.site-foot p { margin: 0 0 0.5rem; }
.site-foot .foot-name {
  font-family: var(--maru);
  font-size: 1rem; font-weight: 800; letter-spacing: 0.12em;
  color: var(--ink); margin-bottom: 0.75rem;
}

/* --- 6. モック告知 --------------------------------------------------------- */

.mock-bar {
  background: var(--blush);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--maru);
  font-size: 0.6875rem; line-height: 1.65; color: var(--ink-2);
}
.mock-bar .wrap { padding-block: 0.42rem; }

/* --- 7. カード ------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.05rem;
}

/* スタットカード（ホーム）。フィンテック風の黒ではなく、頬紅色の面に明朝の数字 */
.stat-card {
  background: var(--blush);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.15rem;
  margin-top: 1.7rem;
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 0.6rem; margin: 0;
}
.stat { margin: 0; min-width: 0; }
.stat dt {
  font-family: var(--maru);
  font-size: 0.625rem; letter-spacing: 0.14em;
  color: var(--ink-2); line-height: 1.6; white-space: nowrap;
}
.stat dd {
  margin: 0.15rem 0 0;
  font-family: var(--mincho);
  font-size: clamp(1.65rem, 8vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--terra);
  font-feature-settings: "tnum" 1;
}
.stat dd .unit {
  font-family: var(--maru); font-size: 0.6875rem; font-weight: 700;
  color: var(--ink-2); margin-left: 0.2em; letter-spacing: 0.06em;
}
.stat dd.date { font-size: clamp(1.1rem, 5.2vw, 1.5rem); padding-top: 0.5rem; letter-spacing: 0.04em; }
.stat dd.date .yr {
  display: block; font-family: var(--maru); font-size: 0.625rem; font-weight: 400;
  color: var(--ink-2); letter-spacing: 0.1em;
}

/* --- 8. 悩みカード（ホーム主動線） ------------------------------------------ */

.sits { margin: 0; padding: 0; list-style: none; }
.sits > li + li { margin-top: 0.85rem; }

.sit { display: block; padding: 1.15rem 1.05rem 1.05rem; }
.sit .case { display: block; margin-bottom: 0.4rem; }
.sit-q { font-size: 1.0625rem; font-weight: 700; line-height: 1.65; }
.sit-q a { text-decoration: none; }
.sit-d { margin: 0.5rem 0 0; font-size: 0.8125rem; line-height: 1.95; color: var(--ink-2); }

.sit-go {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.65rem; min-height: var(--tap);
  font-family: var(--maru);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--terra); text-decoration: none;
}
.sit-go::after { content: "→"; transition: transform 0.15s ease; }
.sit-go:hover::after { transform: translateX(3px); }

/* --- 9. 行リスト（エリア・関連一覧） ----------------------------------------- */

.rows { margin: 0; padding: 0.25rem 1.05rem; list-style: none; }
/* カードの内側に置く場合は左右パディングを親に任せる */
.card > .rows { padding-inline: 0; margin-top: 0.5rem; border-top: 1px dashed var(--line-2); }
.branch-lead { margin: 0; font-size: 0.8125rem; line-height: 1.95; color: var(--ink-2); }
.rows li + li { border-top: 1px dashed var(--line-2); }
.rows a {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 0.7rem;
  min-height: var(--tap); padding: 0.75rem 0;
  text-decoration: none; line-height: 1.6;
}
.rows a::after { content: "→"; color: var(--terra); font-size: 0.8125rem; }
.rows .r-title { font-size: 0.9375rem; font-weight: 700; }
.rows .r-sub { display: block; font-size: 0.6875rem; font-weight: 400; color: var(--ink-3); margin-top: 0.12rem; }
.rows .r-num {
  font-family: var(--mincho); font-size: 1.15rem; font-weight: 600;
  color: var(--ink-2); font-feature-settings: "tnum" 1; white-space: nowrap;
}
.rows .r-num .unit {
  font-family: var(--maru); font-size: 0.625rem; font-weight: 500;
  color: var(--ink-3); margin-left: 0.12em;
}

/* --- 9.5 条件別まとめ（事実からの機械的導出。編集の推奨を書かない） ------- */

.pick dl { margin: 0; }
.pick div + div { border-top: 1px dotted var(--line-2); margin-top: 0.65rem; padding-top: 0.65rem; }
.pick dt { font-size: 0.8125rem; font-weight: 700; }
.pick dd { margin: 0.12rem 0 0; font-size: 0.8125rem; line-height: 1.95; color: var(--ink-2); }
.pick dd a {
  font-family: var(--maru); font-weight: 700;
  color: var(--terra); text-decoration: none; white-space: nowrap;
}
.pick dd a:hover { text-decoration: underline; }
.pick .pick-note { display: block; font-size: 0.6875rem; color: var(--ink-3); margin-top: 0.1rem; }

/* --- 9.7 写真（楽天API画像の置き場。モックはプレースホルダー） ------------- */

.photo-ph {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blush), var(--terra-weak));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--maru); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--ink-3);
}
.photo-cap { margin: 0.4rem 0 0; font-size: 0.625rem; color: var(--ink-3); }

.hotel-top { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0 0.85rem; align-items: center; }
.thumb-media { width: 4.6rem; margin: 0; }
.thumb-ph {
  width: 4.6rem; height: 4.6rem;
  object-fit: cover;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blush), var(--terra-weak));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--maru); font-size: 0.5625rem; font-weight: 700; color: var(--ink-3);
}
.thumb-cap {
  margin: 0.25rem 0 0; color: var(--ink-3);
  font-size: 0.5rem; line-height: 1.3; white-space: nowrap;
}

/* --- 10. 状態表現 -----------------------------------------------------------
   色だけに頼らない。記号＋語＋（未確認は）ピル形の三重。
   --------------------------------------------------------------------------- */

.st { display: inline-flex; align-items: baseline; gap: 0.3em; }
.st::before { font-size: 0.85em; line-height: 1; font-weight: 700; }
.st-yes::before { content: "✓"; color: var(--sage); }
.st-no { color: var(--ink-2); }
.st-no::before { content: "✕"; color: var(--ink-3); }
.st-un {
  background: var(--amber-weak); color: var(--amber);
  border-radius: var(--r-full);
  padding: 0.06rem 0.5rem;
  font-family: var(--maru);
  font-size: 0.6875rem; font-weight: 700;
  white-space: nowrap;
}
.st-un::before { content: "?"; margin-right: 0.15em; }

.qual { display: block; font-size: 0.6875rem; line-height: 1.65; color: var(--ink-3); font-weight: 400; }

/* --- 11. 比較マトリクス ------------------------------------------------------ */

.matrix-card { padding: 0; overflow: hidden; }
.matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.matrix {
  border-collapse: collapse; width: 100%; min-width: 21rem;
  font-size: 0.75rem; line-height: 1.6;
  font-feature-settings: "palt" 1, "tnum" 1;
}
table.matrix th, table.matrix td {
  padding: 0.62rem 0.55rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
table.matrix th:not(.col-name), table.matrix td { min-width: 4.2rem; }
table.matrix tbody tr:last-child th,
table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix thead th {
  position: sticky; top: 0;
  background: var(--blush);
  color: var(--ink-2);
  font-family: var(--maru);
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line-2);
}
table.matrix .col-name {
  position: sticky; left: 0; z-index: 1;
  background: var(--surface);
  box-shadow: 1px 0 0 var(--line);
  min-width: 6.6rem; max-width: 8.5rem;
}
table.matrix thead .col-name { background: var(--blush); }
table.matrix .col-name a {
  display: block; min-height: var(--tap);
  font-weight: 700; font-size: 0.75rem; line-height: 1.55;
  text-decoration: none;
}
table.matrix .col-name a:hover { color: var(--terra); }
.matrix .num {
  display: block; font-family: var(--maru); font-size: 0.5625rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--terra);
}

.matrix-note { margin: 0.65rem 0 0; font-size: 0.6875rem; color: var(--ink-3); }

details.more { margin-top: 0.8rem; }
details.more summary {
  cursor: pointer; list-style: none;
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: var(--tap); padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  background: var(--blush);
  font-family: var(--maru);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink-2);
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "＋"; color: var(--terra); }
details.more[open] summary::after { content: "−"; }
details.more .matrix-card { margin-top: 0.8rem; }

/* --- 12. 宿カード・事実行 ---------------------------------------------------- */

.hotel-card { padding: 1.1rem 1.05rem 1.15rem; }
.hotels > * + * { margin-top: 0.9rem; }

.hotel-head { display: flex; align-items: center; gap: 0.6rem; }
.hotel-head .case {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--terra-weak);
  letter-spacing: 0.04em;
}
.hotel-name { font-size: 1.0625rem; font-weight: 700; line-height: 1.55; }
.hotel-name a { text-decoration: none; }
.hotel-name a:hover { color: var(--terra); }
.hotel-where { margin: 0.35rem 0 0; font-size: 0.6875rem; color: var(--ink-3); }

.facts {
  margin: 0.8rem 0 0; display: grid; grid-template-columns: 8.4rem 1fr;
  font-size: 0.8125rem;
}
.facts dt, .facts dd {
  margin: 0; padding: 0.52rem 0; line-height: 1.65;
  border-top: 1px dotted var(--line-2);
}
.facts dt:first-of-type,
.facts dt:first-of-type + dd { border-top: 0; }
.facts dt { font-size: 0.6875rem; color: var(--ink-3); padding-right: 0.6rem; }
.facts dd { font-weight: 600; }
.facts .meta {
  display: block; margin-top: 0.12rem;
  font-size: 0.625rem; font-weight: 400; line-height: 1.7; color: var(--ink-3);
}
.facts .meta a { color: var(--ink-3); }
@media (max-width: 22rem) { .facts { grid-template-columns: 7.2rem 1fr; } }

.hotel-meta { margin: 0.7rem 0 0; font-size: 0.6875rem; color: var(--ink-3); }
.hotel-meta a { color: var(--terra); font-weight: 700; text-decoration: none; }
.hotel-meta a:hover { text-decoration: underline; }

/* --- 13. 広告表記と CTA ------------------------------------------------------ */

.commerce { margin-top: 0.95rem; }
.pr-line {
  display: flex; align-items: center; gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 0.625rem; line-height: 1.65; color: var(--ink-3);
}
.pr {
  flex: none;
  border: 1px solid var(--line-2); border-radius: 5px;
  padding: 0 0.32rem;
  font-family: var(--maru); font-size: 0.5625rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--ink-3);
}
.cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.05rem; width: 100%;
  border-radius: var(--r-full);
  background: var(--cta); color: var(--cta-ink);
  font-family: var(--maru);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.05em;
  text-decoration: none;
}
.cta::after { content: "→"; font-weight: 400; }
.cta:hover { opacity: 0.88; }
.cta-none {
  margin: 0; padding: 0.75rem 0.9rem;
  border: 1px dashed var(--line-2); border-radius: var(--r-md);
  font-size: 0.75rem; line-height: 1.75; color: var(--ink-3);
}

/* --- 14. 補足・注記 ---------------------------------------------------------- */

.about dl { margin: 0; }
.about div + div { border-top: 1px dashed var(--line-2); margin-top: 0.75rem; padding-top: 0.75rem; }
.about dt { font-size: 0.75rem; font-weight: 700; }
.about dd { margin: 0.15rem 0 0; font-size: 0.75rem; line-height: 1.95; color: var(--ink-2); }

.notes {
  margin: 1.1rem 0 0; padding: 0; list-style: none;
  font-size: 0.6875rem; line-height: 1.95; color: var(--ink-3);
}
.notes li { padding-left: 1.35em; text-indent: -1.35em; }
.notes li::before { content: "※ "; }

.points { margin: 0.4rem 0 0; padding: 0 0 0 1.25em; font-size: 0.8125rem; line-height: 1.95; color: var(--ink-2); }
.points li + li { margin-top: 0.25rem; }
.points li::marker { color: var(--terra); }

/* --- 15. 印刷 ---------------------------------------------------------------- */

@media print {
  .mock-bar, .commerce, .site-foot { display: none; }
  body { background: #fff; color: #000; }
  .card, .stat-card { box-shadow: none; }
  .hero::before { display: none; }
}
