/* 構成と動線は大手OTA（GetYourGuide・Airbnb Experiences）の型にならう。色・ロゴ・写真・文章はComBi独自のものを使う。 */
:root {
  --bg: #ffffff;
  --ink: #1e3d33;
  --muted: #5d6d66;
  --line: #dbe3de;
  --field: #e9f1ec;
  --brand: #1f6b78;
  --brand-dark: #16505a;
  --accent: #f0984a;
  --ok: #1f6b78;
  --mint: #cde3d3;
  --soft: #eef5f0;
  --sun: #f5a65b;
  --no: #d8472b;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(30, 61, 51, 0.12);
  --max: 1200px;
}

* { box-sizing: border-box; }
/* hidden を付けた要素は必ず消す（.card などの display 指定に負けないように） */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.ico { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid rgba(31, 107, 120, 0.45); outline-offset: 2px; }

.preview-bar { background: #fff4d6; color: #6b4a00; text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; text-decoration: none; }
.logo img { height: 36px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo-text b { font-size: 21px; font-weight: 900; letter-spacing: -0.02em; }
/* 「Tours」は「ComBi」の真下・中央に置く。字間の分だけ右に余白が付くので、同じ幅を左にも足して中心を合わせる */
.logo-text i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.34em; color: var(--brand); margin-top: 2px; align-self: center; padding-left: 0.34em; }
.search {
  flex: 1; max-width: 420px;
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; height: 48px;
}
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: inherit; background: transparent; }
.search .btn { min-height: 38px; padding: 0 18px; font-size: 14px; }
.head-links { margin-left: auto; display: flex; gap: 22px; font-size: 14px; }
.head-links a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink); }
.head-links a:hover { color: var(--brand); }
@media (max-width: 760px) {
  .head-links { display: none; }
  .search { max-width: none; }
}

.lang { font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); min-height: 40px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
@media (max-width: 760px) { .lang { margin-left: auto; } }
html[lang="en"] .only-foreign { display: none; }
.only-foreign { background: #fff4d6; color: #6b4a00; padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--brand); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--brand-dark); }
.btn.wide { width: 100%; }
.btn.line { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.line:hover { background: var(--soft); }
.btn[disabled] { background: var(--field); color: var(--muted); cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; }
.icon-btn { background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; padding: 8px 4px; }
.icon-btn:hover { color: var(--brand); }

/* photos (placeholders until real photos arrive) */
.ph { position: relative; overflow: hidden; background: #cfd9d4; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-label { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.9); }
.tone-forest { background: linear-gradient(135deg, #16505a, #5f9a8f 60%, #cde3d3); }
.tone-tea { background: linear-gradient(135deg, #3d7a63, #9cc7ab 60%, #eef5f0); }
.tone-night { background: linear-gradient(135deg, #123c44, #1f6b78 55%, #f5a65b); }
.tone-bar { background: linear-gradient(135deg, #1e3d33, #2f6f66 55%, #f0984a); }
.tone-steam { background: linear-gradient(135deg, #1f6b78, #8fc0bd 60%, #cde3d3); }

/* home hero：写真は元の縦横比のまま表示する（引き伸ばし・拡大をしない） */
.hero { position: relative; color: #fff; aspect-ratio: 2 / 1; max-height: 720px; width: 100%; display: flex; align-items: center; overflow: hidden; }
.hero .ph { position: absolute; inset: 0; }
.hero .ph picture, .hero .ph img { display: block; width: 100%; height: 100%; }
.hero .ph img { object-fit: cover; object-position: 50% 60%; }
.hero .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 32, 34, 0.78), rgba(8, 32, 34, 0.42) 42%, rgba(8, 32, 34, 0) 68%); }
.hero .wrap { position: relative; width: 100%; padding-top: 24px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(28px, 4.6vw, 58px); letter-spacing: -0.03em; white-space: pre-line; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero p { font-size: clamp(14px, 1.5vw, 18px); margin-top: 14px; max-width: 24em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 10px; }
/* 訳文が単語の途中で折り返さないようにする（日本語は文節、韓国語は単語の単位で改行） */
html[lang="ja"] :is(h1, h2, h3, .hero p, .sec-head p, .step p, .card-meta, .btn) { word-break: auto-phrase; }
html[lang="ko"] body { word-break: keep-all; }
html[lang="zh-Hant"] :is(h1, h2, h3) { text-wrap: balance; }
.finder-wrap { position: relative; z-index: 2; margin-top: -36px; }
.finder {
  background: #fff; color: var(--ink);
  border-radius: 999px; padding: 6px; display: flex; align-items: center; max-width: 760px; box-shadow: 0 6px 28px rgba(30, 61, 51, 0.22);
}
.finder label { flex: 1; min-width: 0; padding: 6px 20px; border-right: 1px solid var(--line); display: block; }
.finder label:last-of-type { border-right: 0; }
.finder small { display: block; font-size: 12px; font-weight: 700; }
.finder input, .finder select { width: 100%; border: 0; outline: 0; font: inherit; color: var(--ink); background: transparent; padding: 0; }
@media (max-width: 680px) {
  .hero { aspect-ratio: 900 / 1170; max-height: none; align-items: flex-start; }
  .hero .ph img { object-position: 50% 50%; }
  .hero .ph::after { background: linear-gradient(180deg, rgba(8, 32, 34, 0.72), rgba(8, 32, 34, 0.25) 46%, rgba(8, 32, 34, 0) 70%); }
  .hero .wrap { padding-top: 28px; padding-bottom: 0; }
  .hero h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .hero p { font-size: 15px; }
  .finder-wrap { margin-top: -28px; }
  .finder { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 8px; }
  .finder label { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .finder .btn { margin-top: 8px; }
}

/* trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--soft); margin-top: -36px; padding-top: 44px; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.trust div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.trust b { display: block; }
.trust span { color: var(--muted); }
.trust .ico { color: var(--brand); margin-top: 2px; }
@media (max-width: 760px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }

/* sections */
section.sec { padding: 40px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.02em; }
.sec-head p { color: var(--muted); margin-top: 4px; }

/* category chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px;
}
.chip[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }

/* activity cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 740px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 460px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; background: #fff; transition: box-shadow 0.15s;
}
.card:hover { box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 4 / 3; }
.card:hover .ph img { transform: scale(1.03); }
.card .ph img { transition: transform 0.3s; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.tag.soft { background: #fff; color: var(--ink); }
.heart {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff;
  display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.heart[aria-pressed="true"] { color: var(--no); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card-loc { font-size: 13px; color: var(--muted); }
.card h3 { font-size: 16px; line-height: 1.3; }
.card-meta { font-size: 13px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.rate { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.rate .ico { width: 14px; height: 14px; color: var(--sun); }
.rate small { font-weight: 400; color: var(--muted); }
.from { text-align: right; font-size: 12px; color: var(--muted); line-height: 1.3; }
.from b { font-size: 17px; color: var(--ink); }

/* steps / custom band */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
#why { background: var(--soft); }
#why .step { border-color: var(--mint); }
#why .step h3 { color: var(--brand); }
.step .num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.band { background: var(--soft); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.band h2 { font-size: clamp(22px, 3vw, 30px); }
.band > div > p { color: var(--muted); margin-top: 10px; }
.band form { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; padding: 20px 16px; } }

.ptable { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; background: #fff; border-radius: 10px; overflow: hidden; }
.ptable caption { text-align: left; font-weight: 700; font-size: 13px; padding-bottom: 6px; }
.ptable th, .ptable td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable td { font-weight: 700; white-space: nowrap; }
.ptable thead th { font-size: 13px; color: var(--muted); }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }

/* forms */
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; color: inherit; width: 100%;
  min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
}
.field textarea { min-height: 84px; resize: vertical; }
.formhead { font-size: 15px; margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.checks { border: 0; padding: 0; margin: 0 0 12px; }
.checks legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 6px; }
.checks label { display: flex; gap: 10px; align-items: center; min-height: 36px; }
.checks input { width: 20px; height: 20px; flex: none; }
.agree a { color: var(--brand); }
@media (max-width: 520px) { .avail .row2 { grid-template-columns: 1fr; gap: 0; } }
/* 2つ並びの入力欄：中身の最小幅で枠からはみ出さないようにし、スマホでは縦に積む */
.row2 > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr !important; gap: 0 !important; } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 13px; color: var(--muted); }
.confirm { background: var(--soft); border: 1px solid var(--mint); border-radius: 10px; padding: 14px; font-size: 14px; margin-top: 12px; }
.confirm b { display: block; margin-bottom: 4px; }

/* ---------- activity page ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.title-row h1 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.02em; }
.subline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 8px; font-size: 14px; }
.subline a { font-weight: 700; }
.subline .sep { color: var(--muted); }
.actions { display: flex; gap: 12px; }

.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 420px; margin: 16px 0 0; border-radius: var(--radius); overflow: hidden; }
.gallery .ph:first-child { grid-row: 1 / 3; }
.gallery .ph:nth-child(3) img { object-position: 50% 30%; }
.gallery .ph:nth-child(5) img { object-position: 50% 75%; }
.view-all { position: absolute; right: 16px; bottom: 16px; background: #fff; border: 0; border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); }
.gallery > div:nth-of-type(n+6) { display: none; }
.gwrap { position: relative; }
.g-count { display: none; }
@media (max-width: 760px) {
  /* スマホ：写真を横にスワイプして次々見られる */
  .gallery { display: flex; gap: 8px; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-left: -16px; margin-right: -16px; padding: 0 16px; border-radius: 0; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .ph, .gallery > div:nth-of-type(n+6) { display: block; flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: center; border-radius: 12px; overflow: hidden; }
  .gallery .ph:not(:has(img)) { display: none; }
  .gallery .ph:first-child { display: block; }
  .view-all { display: none; }
  .g-count { display: block; position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 10px; pointer-events: none; }
}

/* in-page tabs */
.tabs { position: sticky; top: 68px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); margin-top: 16px; }
.tabs .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.tabs .wrap::-webkit-scrollbar { display: none; }
/* 概要・行程などはボタンのような丸い枠 */
.tabs a { flex: none; padding: 8px 18px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.tabs a:hover, .tabs a:focus-visible { border-color: var(--ink); }
.tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-top: 24px; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; gap: 0; } }
.layout-rev { padding-top: 0; }
.lead { font-size: 17px; }

.about h2, .panel > h2 { font-size: 22px; margin-bottom: 16px; }
.about { padding: 28px 0 8px; }
.about li { display: flex; gap: 14px; margin-bottom: 18px; }
.about .ico { width: 24px; height: 24px; margin-top: 2px; }
.about b { display: block; }
.about span { color: var(--muted); font-size: 15px; }

/* label-left rows (Highlights / Full description / Includes …) */
.panel { padding: 28px 0; border-top: 1px solid var(--line); }
.rows { border-top: 1px solid var(--line); }
.rowx { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rowx h3 { font-size: 16px; }
@media (max-width: 640px) { .rowx { grid-template-columns: 1fr; gap: 8px; } }
.bul li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.bul li::before { content: ""; position: absolute; left: 4px; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.yes li, .nope li { display: flex; gap: 10px; margin-bottom: 6px; }
.yes .ico { color: var(--ok); margin-top: 2px; }
.nope .ico { color: var(--no); margin-top: 2px; }
.desc h4 { margin: 14px 0 2px; font-size: 15px; }
.desc h4:first-child { margin-top: 0; }
.clamp { max-height: 6.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.sub3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.sub3 h4 { margin: 0 0 6px; font-size: 14px; }

/* itinerary */
.itin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.itin.solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .itin { grid-template-columns: 1fr; } }
.route { position: relative; padding-left: 48px; }
/* 点線は最初と最後のピンの中心どうしを結ぶ */
.route::before { content: ""; position: absolute; left: 14px; top: 12px; bottom: 30px; border-left: 4px dotted var(--sun); }
.leg { position: relative; padding-bottom: 20px; min-height: 52px; }
.leg:last-child { padding-bottom: 0; min-height: 42px; }
/* ピンは1行目の文字の高さの中央に合わせる（.leg span の指定より優先させる） */
.leg .pin {
  position: absolute; left: -48px; top: -5px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 0 0 4px #fff;
}
.leg .pin .ico { width: 16px; height: 16px; }
.leg.pickup .pin { background: var(--accent); }
.leg.gem .pin { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.leg.car .pin { background: #fff; color: var(--ink); border: 1.5px solid var(--line); width: 26px; height: 26px; left: -45px; top: -2px; }
.leg.car .pin .ico { width: 14px; height: 14px; }
.leg b { display: block; line-height: 22px; }
.leg > span:not(.pin) { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }
.itin-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: sticky; top: 132px; }
.itin-photo img { width: 100%; height: 100%; object-fit: cover; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* booking card */
.book { position: sticky; top: 132px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); background: #fff; }
.book .lbl { font-size: 13px; }
.book .big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.book .big small { font-size: 14px; font-weight: 400; }
.pill { position: relative; display: flex; align-items: center; gap: 10px; background: var(--field); border-radius: 999px; padding: 0 16px; min-height: 48px; margin-top: 10px; font-weight: 700; }
.pill select, .pill input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); min-height: 48px; }
.pill:focus-within { outline: 3px solid rgba(31, 107, 120, 0.45); }
.book .btn { margin-top: 14px; }
.assure { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.assure li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.assure li:last-child { margin-bottom: 0; }
.assure .ico { color: var(--ok); width: 22px; height: 22px; }
.assure b { display: block; }
.assure span { color: var(--muted); }
/* PCでは予約ボックスが画面に張り付く。時間割が出て背が高くなっても、ボックスの中でスクロールできるようにする */
@media (min-width: 981px) {
  .book { max-height: calc(100vh - 148px); overflow-y: auto; overscroll-behavior: contain; }
  .book .tgrid { grid-template-columns: repeat(5, 1fr); }
  .book .t { min-height: 36px; font-size: 13px; }
}
@media (max-width: 980px) { .book { position: static; margin-top: 24px; } }

/* 開始時刻の選択（1時間刻み） */
.times { margin-top: 12px; }
.times-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.t { min-height: 40px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.t.free:hover { border-color: var(--brand); background: var(--soft); }
.t.sel { background: var(--brand); border-color: var(--brand); color: #fff; }
.t.in { background: var(--mint); border-color: var(--mint); }
.t.busy { background: #e6e3de; border-color: #e6e3de; color: #8b8780; text-decoration: line-through; cursor: not-allowed; }
.t.off { background: #fff; color: #b9c2bd; border-style: dashed; cursor: not-allowed; }
.t.in:disabled { cursor: default; }
.tlegend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.tlegend .k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; border: 1.5px solid var(--line); }
.tlegend .k.in { background: var(--mint); border-color: var(--mint); }
.tlegend .k.busy { background: #e6e3de; border-color: #e6e3de; }

/* availability / checkout panel */
.avail { border: 2px solid var(--brand); border-radius: var(--radius); margin: 8px 0 28px; overflow: hidden; }
.avail-head { background: var(--soft); padding: 16px 20px; }
.avail-head h3 { font-size: 18px; }
.avail-head p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.avail-body { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 24px; }
@media (max-width: 760px) { .avail-body { grid-template-columns: 1fr; } }
.avail-body.one { display: block; }
.stepbar { list-style: none; display: flex; gap: 8px; margin: 12px 0 0; padding: 0; counter-reset: st; font-size: 13px; font-weight: 700; }
.stepbar li { counter-increment: st; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.stepbar li::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); font-size: 12px; }
.stepbar li.on { color: var(--brand); }
.stepbar li.on::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.stepbar li + li::after { content: ""; order: -1; width: 18px; height: 2px; background: var(--line); margin-right: 2px; }
.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.paygrid.one { grid-template-columns: 1fr; }
@media (max-width: 640px) { .paygrid { grid-template-columns: 1fr; } }
.payopt { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.payopt > span { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.payopt .btn { margin-top: auto; }
.wa { margin-top: 16px; border: 1.5px solid var(--mint); background: var(--soft); border-radius: var(--radius); padding: 18px; }
.wa p { margin: 6px 0 12px; font-size: 15px; }
.wa-btn { background: #1faa59; }
.wa-btn:hover { background: #178a47; }
.wa-btn[aria-disabled="true"] { background: var(--field); color: var(--muted); cursor: not-allowed; }
.sumline { display: flex; justify-content: space-between; font-size: 15px; padding: 4px 0; }
.sumline.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 20px; }
.pay { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.or { text-align: center; font-size: 13px; color: var(--muted); }
#paypal-buttons:empty { display: none; }

/* lead guide */
.guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 720px) { .guide { grid-template-columns: 1fr; gap: 20px; } }
.guide-card { border-radius: 20px; box-shadow: var(--shadow); padding: 16px; text-align: center; background: #fff; }
.guide-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 60% 22%; border-radius: 14px; margin-bottom: 12px; }
.guide-card b { display: block; font-size: 20px; }
.guide-card span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .guide-card { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; text-align: left; align-items: center; } .guide-card img { grid-row: 1 / 3; margin: 0; } .guide-card b { align-self: end; } .guide-card span { align-self: start; } }
.guide-body dl { margin: 16px 0 0; display: grid; gap: 10px; }
.guide-body dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.guide-body dt { font-weight: 700; font-size: 14px; }
.guide-body dd { margin: 0; font-size: 15px; }
@media (max-width: 480px) { .guide-body dl div { grid-template-columns: 1fr; gap: 0; } }
.guide-who { margin-top: 18px; background: var(--soft); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.guide-who b { display: block; margin-bottom: 2px; }

/* reviews */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.score { display: flex; align-items: center; gap: 16px; }
.score .n { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.score .n small { font-size: 20px; color: var(--muted); font-weight: 400; }
.starsrow { display: inline-flex; gap: 2px; vertical-align: middle; color: var(--sun); }
.starsrow .ico { width: 18px; height: 18px; }
.starsrow .off { color: #cddbd3; }
.score .starsrow .ico { width: 26px; height: 26px; }
.rsum { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: start; }
.bars { display: grid; gap: 8px; font-size: 14px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 28px; gap: 10px; align-items: center; }
.bar-row span:last-child { text-align: right; color: var(--muted); }
.track { height: 8px; border-radius: 999px; background: var(--field); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.rtools { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.rtools select { font: inherit; font-weight: 400; color: inherit; min-height: 40px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; margin-left: 6px; }
.review { padding: 20px 0; border-top: 1px solid var(--line); }
.rhead { display: flex; gap: 12px; align-items: center; }
.rhead b, .rhead span { display: block; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid !important; place-items: center; flex: none; }
.rline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.rtag { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ok); font-weight: 700; }
.rtag .ico { width: 14px; height: 14px; }
.rtag.wait { color: #8a5a00; background: #fff4d6; padding: 2px 8px; border-radius: 4px; font-weight: 400; }
.rtext { margin-top: 8px; white-space: pre-line; overflow-wrap: anywhere; }
.rphotos { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.rphotos img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; flex: none; }
.rcats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 13px; color: var(--muted); }
/* レビューの翻訳：いまの言語の訳があればそれを出し、右下のボタンで原文に切り替える */
.review .rtr, .review .rtoggle { display: none; }
html[lang="en"] .review.has-en:not(.show-orig) .rtr[lang="en"],
html[lang="ja"] .review.has-ja:not(.show-orig) .rtr[lang="ja"],
html[lang="fr"] .review.has-fr:not(.show-orig) .rtr[lang="fr"],
html[lang="zh-Hant"] .review.has-zh:not(.show-orig) .rtr[lang="zh-Hant"],
html[lang="ko"] .review.has-ko:not(.show-orig) .rtr[lang="ko"] { display: block; }
html[lang="en"] .review.has-en:not(.show-orig) .rorig,
html[lang="ja"] .review.has-ja:not(.show-orig) .rorig,
html[lang="fr"] .review.has-fr:not(.show-orig) .rorig,
html[lang="zh-Hant"] .review.has-zh:not(.show-orig) .rorig,
html[lang="ko"] .review.has-ko:not(.show-orig) .rorig { display: none; }
html[lang="en"] .review.has-en .rtoggle, html[lang="ja"] .review.has-ja .rtoggle, html[lang="fr"] .review.has-fr .rtoggle,
html[lang="zh-Hant"] .review.has-zh .rtoggle, html[lang="ko"] .review.has-ko .rtoggle { display: flex; }
.rtoggle { justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.rtoggle button { background: none; border: 0; padding: 4px 0; font-size: 12px; font-weight: 700; color: var(--brand); text-decoration: underline; min-height: 28px; }
.reply { margin-top: 12px; background: var(--soft); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.rform { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rform h3 { font-size: 18px; margin-bottom: 12px; }
.starfield { border: 0; padding: 0; margin: 0 0 12px; }
.starfield legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 2px; }
.starpick { display: inline-flex; flex-direction: row-reverse; }
.starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.starpick label { padding: 4px; color: #cddbd3; cursor: pointer; }
.starpick label .ico { width: 30px; height: 30px; }
.starpick input:checked ~ label, .starpick label:hover, .starpick label:hover ~ label { color: var(--accent); }
.starpick input:focus-visible + label { outline: 3px solid rgba(31, 107, 120, 0.45); border-radius: 6px; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.catgrid .starpick label .ico { width: 22px; height: 22px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.agree input { width: 20px; height: 20px; margin-top: 1px; flex: none; }

.rcta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; padding: 18px 20px; background: var(--soft); border-radius: var(--radius); }
.rcta div { flex: 1 1 240px; }
.rcta b, .rcta span { display: block; }
.rcta span { color: var(--muted); font-size: 14px; }
.rcta select { flex: 1 1 220px; min-width: 0; font: inherit; color: inherit; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.more-link { flex: none; font-weight: 700; color: var(--brand); text-decoration: none; border: 1.5px solid var(--brand); border-radius: 999px; padding: 8px 16px; font-size: 14px; white-space: nowrap; }
.more-link:hover { background: var(--soft); }
.rtour { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: none; }
.rtour:hover { text-decoration: underline; }
.book-page { max-width: 820px; padding-top: 8px; padding-bottom: 32px; }
.book-page h1 { font-size: clamp(24px, 3.6vw, 32px); margin: 6px 0 8px; }
.book-page .avail { margin-top: 16px; }
.reviews-page { max-width: 860px; padding-top: 8px; padding-bottom: 24px; }
.reviews-page h1 { font-size: clamp(26px, 4vw, 36px); margin-top: 6px; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.rgrid .review { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }

/* carousel */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.scroller .card { scroll-snap-align: start; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(10, 16, 28, 0.94); display: none; overflow-y: auto; padding: 64px 16px 32px; }
.lightbox.open { display: block; }
.lightbox .grid { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.lightbox .ph { border-radius: 8px; background: none; }
.lightbox .ph img { height: auto; }
.lightbox .ph:not(:has(img)) { aspect-ratio: 3 / 2; }
.lightbox .close { position: fixed; top: 14px; right: 16px; background: #fff; border: 0; border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 700; }

/* mobile bottom bar */
.bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; }
.bar .lbl { font-size: 12px; display: block; }
.bar b { font-size: 18px; }
@media (max-width: 980px) { .bar { display: flex; } main.activity { padding-bottom: 84px; } }

/* 法務ページ */
.legal { max-width: 820px; padding-top: 32px; padding-bottom: 32px; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 6px; }
.legal p { margin: 8px 0; }
.legal a { color: var(--brand); }
.ltable { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.ltable th, .ltable td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); }
.ltable th { width: 30%; background: var(--soft); font-weight: 700; }
@media (max-width: 560px) { .ltable th, .ltable td { display: block; width: 100%; } .ltable th { border-bottom: 0; } }
.draft-note { background: #fff4d6; color: #6b4a00; padding: 10px 14px; border-radius: 8px; font-size: 14px; }

/* footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--mint); padding: 48px 0 28px; margin-top: 48px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .lockup { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
/* 横長ロゴ：マークの右に ComBi／Tours／合言葉を中央ぞろえで積む */
.lockup { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; color: var(--ink); justify-self: start; }
.lockup img { width: 92px; height: auto; flex: none; }
.lockup span { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.lockup b { font-size: 46px; font-weight: 900; letter-spacing: -0.02em; }
.lockup i { font-style: normal; font-size: 19px; font-weight: 700; letter-spacing: 0.42em; padding-left: 0.42em; color: var(--brand); margin-top: 4px; }
.lockup em { font-style: normal; font-size: 14px; letter-spacing: 0.22em; padding-left: 0.22em; margin-top: 14px; white-space: nowrap; }
.lockup small { font-size: 10px; font-weight: 700; letter-spacing: 0.32em; padding-left: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 8px; white-space: nowrap; }
@media (max-width: 420px) { .lockup { gap: 12px; } .lockup img { width: 68px; } .lockup b { font-size: 36px; } .lockup i { font-size: 15px; } .lockup em { font-size: 12px; letter-spacing: 0.12em; padding-left: 0.12em; } .lockup small { font-size: 9px; letter-spacing: 0.2em; padding-left: 0.2em; } }
.site-footer h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; }
.site-footer nav a { text-decoration: none; color: var(--ink); }
.site-footer nav a:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal a { color: inherit; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--mint); font-size: 13px; color: var(--muted); }

/* 予約ボタンの近くの安心材料 */
.trust-mini { list-style: none; margin: 12px 0 0; padding: 12px 14px; display: grid; gap: 8px; background: #f2f8f5; border-radius: 12px; }
.trust-mini li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.45; font-weight: 600; }
.trust-mini svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ink); }
.bar-trust { display: block; font-size: 12px; color: var(--muted); }
/* 集合場所の地図 */
.meet-label { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.meet-label svg { width: 20px; height: 20px; }
.map { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .map { aspect-ratio: 4 / 3; } }
/* よくある質問 */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--muted); }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 0 16px; color: var(--muted); line-height: 1.7; }
/* ゲストの写真 */
.rphotos-all { margin-top: 20px; }
.rphotos-all h3 { font-size: 16px; margin-bottom: 8px; }
.rphotos-all .strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rphotos-all .strip img { flex: none; width: 140px; height: 140px; object-fit: cover; border-radius: 10px; scroll-snap-align: start; }
