/* =========================================================
   見た目 v2（2026-12-03 作り直し）
   ・字体：英数字 Figtree／日本語 Zen Kaku Gothic New
   ・色：ほぼ黒（#231815）と白、細い線。差し色は空き状況だけ
   ・写真を大きく。角の丸みは小さく
   ・スマホがいちばん先。横にはみ出さない・横スクロールを作らない
   ========================================================= */
:root {
  --ac: #231815; --ac-soft: #F3F1EE;
  --ink: #231815; --sub: #6E6862; --line: #E6E2DD; --bg: #fff; --tint: #FAF9F7;
  --ok: #3C8C5A; --few: #D08A2E; --no: #B9B4AE; --danger: #B3412F;
  --r: 8px; --rb: 6px;
  --en: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Figtree", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px; line-height: 1.9; letter-spacing: .02em; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.has-bar { padding-bottom: 92px; }
a { color: var(--ink); }
button { font: inherit; color: inherit; letter-spacing: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sp { display: inline; }
.small { font-size: 12px; color: var(--sub); }
.center { text-align: center; }
/* 日本語の本文は左右両端そろえ */
.page-lead, .txt, .kind-lead, .rules li, .next li, .form-note, .intro-sub, .legal dd { text-align: justify; }

/* ---- 上の帯（文字ロゴ）---- */
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px;
  padding: 0 20px; height: 60px;
}
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 0; min-width: 0; }
.brand-logo img { height: 15px; width: auto; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; white-space: nowrap; }
.brand-sub { font-family: var(--en); font-size: 10px; letter-spacing: .24em; color: var(--pop); white-space: nowrap; }
@media (max-width: 759px) { .top .sample-tag { display: none; } }
.sample-tag { font-size: 10px; border: 1px solid var(--line); color: var(--sub); border-radius: 3px; padding: 0 6px; line-height: 1.8; white-space: nowrap; }
.top-link { margin-left: auto; font-size: 12px; text-decoration: none; white-space: nowrap; color: var(--ink); border-bottom: 1px solid var(--ink); line-height: 1.6; }

/* ---- はじめの画面（言葉が主、写真は控えめに添える）---- */
.intro { display: grid; gap: 18px; padding: 28px 0 4px; }
.intro-lead { font-size: 20px; font-weight: 500; line-height: 1.7; margin: 0 0 8px; letter-spacing: .08em; }
.intro-sub { margin: 0; font-size: 13px; color: var(--sub); line-height: 1.9; }
.intro-img { aspect-ratio: 16 / 7; border-radius: var(--r); overflow: hidden; background: #ddd; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: saturate(.85); }
.sec-title { font-size: 17px; font-weight: 500; margin: 44px 0 18px; line-height: 1.4; letter-spacing: .08em; }
.sec-title .en { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--sub); font-weight: 500; margin-bottom: 6px; }
.kinds { display: grid; gap: 20px; margin: 0 0 40px; }
.kind { display: grid; grid-template-columns: 40% 1fr; gap: 14px; align-items: center; position: relative; text-decoration: none; color: var(--ink); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.kind:last-child { border-bottom: 0; }
.kind-photo { aspect-ratio: 1; border-radius: 6px; }
.kind .photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.kind:hover .photo img { transform: scale(1.04); }
.kind-body { padding: 0 18px 0 0; }
.kind-en { margin: 0; font-family: var(--en); font-size: 11px; letter-spacing: .26em; color: var(--sub); line-height: 1.6; }
.kind h2 { margin: 0 0 2px; font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; }
.kind-lead { display: none; margin: 0 0 8px; font-size: 13px; color: var(--sub); line-height: 1.9; }
.kind-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 11px; line-height: 1.8; }
.kind-meta .free { color: var(--ok); }
.kind-go { position: absolute; right: 0; top: 50%; transform: translateY(-80%); font-family: var(--en); font-size: 16px; }
.lookup-link {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; text-decoration: none; color: var(--ink); margin-bottom: 40px; line-height: 1.6;
}
.lookup-link b { font-weight: 500; }
.lookup-link span { font-size: 12px; color: var(--sub); }

/* ---- 写真 ---- */
.photo { position: relative; background: var(--tone, #ddd); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.big { aspect-ratio: 4 / 3; }

/* ---- 見出し・戻る ---- */
.back { display: inline-block; margin: 18px 0 4px; font-size: 12px; text-decoration: none; color: var(--sub); }
.page-title { font-size: 22px; font-weight: 500; line-height: 1.5; margin: 4px 0 6px; letter-spacing: .06em; }
.page-lead { color: var(--sub); margin: 0 0 20px; font-size: 14px; }

/* ---- 予約の段階 ---- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 10px 0 20px; }
.steps li { font-size: 11px; color: var(--no); display: flex; align-items: center; gap: 6px; border-top: 2px solid var(--line); padding-top: 8px; line-height: 1.4; }
.steps li b { font-family: var(--en); font-size: 11px; font-weight: 600; }
.steps li.done, .steps li.now { color: var(--ink); border-color: var(--ink); }
.steps li.now { font-weight: 700; }

/* ---- 枠 ---- */
.finder, .picker, .block, .form, .summary, .done-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 0 0 16px;
}
.finder-head h2, .picker h2, .block h2, .form h2 { font-size: 15px; font-weight: 700; margin: 0 0 4px; line-height: 1.5; letter-spacing: .06em; }
.finder-sel, .picker-sel { margin: 0 0 8px; font-size: 13px; line-height: 1.8; min-height: 24px; }
.finder-sel b, .picker-sel b { font-weight: 700; }
.hint { color: var(--sub); }
.warn { display: block; color: var(--danger); font-size: 13px; margin: 4px 0; line-height: 1.7; }
.clear { margin-left: 8px; font-size: 11px; border: 1px solid var(--line); background: #fff; border-radius: 3px; padding: 0 8px; cursor: pointer; line-height: 1.9; }
.to-cards { display: block; width: 100%; margin-top: 10px; border: 1px solid var(--ink); color: var(--ink); background: #fff; border-radius: var(--rb); padding: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }
@media (min-width: 760px) { .to-cards { display: none; } }
.finder-people, .people { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---- カレンダー（後ろが透けない・画面幅に収まる）---- */
.cal { background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 8px; }
.cal-title { font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .06em; }
.cal-nav { width: 36px; height: 36px; border-radius: var(--rb); border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-wd { text-align: center; font-size: 11px; color: var(--sub); line-height: 2.2; }
.cal-wd.sun { color: #B5483C; } .cal-wd.sat { color: #3F6B8E; }
.cal-day {
  border: 0; background: #fff; border-radius: 4px; min-height: 50px; padding: 4px 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; gap: 3px;
}
.cal-day .n { font-family: var(--en); font-size: 15px; font-weight: 500; }
.cal-day .m { font-family: var(--en); font-size: 10px; font-weight: 600; }
.cal-day.s-ok .m { color: var(--ok); }
.cal-day.s-few .m { color: var(--few); }
.cal-day.s-no { color: var(--no); } .cal-day.s-no .m { color: var(--no); font-weight: 400; }
.cal-day.s-past { color: #D6D2CD; cursor: default; } .cal-day.s-past .m { display: none; }
.cal-day:not(:disabled):hover { background: var(--ac-soft); }
.cal-day:disabled { cursor: default; }
.cal-day.today .n { text-decoration: underline; text-underline-offset: 3px; }
.cal-day.sel-mid { background: var(--ac-soft); border-radius: 0; }
.cal-day.sel-start, .cal-day.sel-end { background: var(--ink); color: #fff; }
.cal-day.sel-start .m, .cal-day.sel-end .m { color: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 11px; color: var(--sub); margin-top: 10px; line-height: 1.6; }
.lg { font-family: var(--en); font-weight: 700; margin-right: -8px; } .lg.ok { color: var(--ok); } .lg.no { color: var(--no); }

/* ---- 人数 ---- */
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-label { font-size: 14px; line-height: 1.4; }
.st-label small { display: block; font-size: 11px; color: var(--sub); }
.st-ctrl { display: flex; align-items: center; gap: 12px; }
.st-ctrl button { width: 36px; height: 36px; border-radius: var(--rb); border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; }
.st-ctrl button:disabled { opacity: .3; cursor: default; }
.st-ctrl output { min-width: 20px; text-align: center; font-family: var(--en); font-weight: 600; font-size: 16px; }

/* ---- 品のカード ---- */
.cards { display: grid; gap: 32px; margin: 8px 0 40px; }
.card { display: grid; }
.card.dim .card-photo, .card.dim .card-body > :not(.btn) { opacity: .55; }
.card-photo .photo { aspect-ratio: 3 / 2; }
.card-body { padding: 14px 0 0; }
.card-group { margin: 0; font-size: 11px; color: var(--sub); line-height: 1.6; letter-spacing: .06em; }
.card h3 { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card-catch { margin: 0 0 6px; font-size: 13px; color: var(--sub); line-height: 1.8; }
.card-spec { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 0 14px; font-size: 12px; line-height: 1.8; }
.st { margin: 0 0 12px; font-size: 13px; font-weight: 500; line-height: 1.7; }
.st.ok { color: var(--ok); } .st.no { color: var(--sub); font-weight: 400; } .st.soon { color: var(--ink); font-weight: 400; }
.st .price { margin-left: 10px; color: var(--ink); font-family: var(--en); font-weight: 600; white-space: nowrap; }
.mini-slots { list-style: none; padding: 0; margin: -4px 0 12px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; }
.mini-slots li { font-family: var(--en); font-size: 10px; text-align: center; border-radius: 2px; line-height: 2; }
.mini-slots .f { background: #E7F2EB; color: var(--ok); } .mini-slots .b { background: #F2F0ED; color: #C2BDB7; }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  border-radius: var(--rb); font-weight: 500; font-size: 14px; letter-spacing: .08em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); width: 100%; transition: background .2s, color .2s;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #3A2E2A; }
.btn.primary:disabled { background: #CFCAC4; border-color: #CFCAC4; cursor: default; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--ac-soft); }
.btn.danger { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn.big { min-height: 54px; font-size: 15px; }

/* ---- 詳しい画面 ---- */
.detail { display: grid; gap: 18px; margin-bottom: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.thumb { border: 0; padding: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 1; cursor: pointer; opacity: .55; outline: 1px solid transparent; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { opacity: 1; outline-color: var(--ink); outline-offset: 1px; }
.spec { margin: 10px 0 14px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 5em 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.spec dt { color: var(--sub); } .spec dd { margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.chips li { font-size: 11px; border: 1px solid var(--line); border-radius: 3px; padding: 0 8px; line-height: 2; color: var(--sub); }

/* 会議室の時間 */
.slots-help { font-size: 13px; margin: 16px 0 8px; line-height: 1.7; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.slot { border: 1px solid var(--line); background: #fff; border-radius: var(--rb); padding: 8px 4px; cursor: pointer; line-height: 1.3; font-family: var(--en); font-weight: 600; font-size: 15px; }
.slot small { display: block; font-weight: 400; font-size: 10px; color: var(--sub); }
.slot.taken { background: #F4F2EF; color: #C2BDB7; cursor: default; border-color: #F4F2EF; }
.slot.taken small { color: #C2BDB7; }
.slot.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.slot.on small { color: #fff; }

/* 下に固定の帯（合計と次へ）*/
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bar-in { max-width: 1120px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 12px; }
.bar-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.bar-sum small { font-size: 11px; color: var(--sub); }
.bar-sum b { font-family: var(--en); font-size: 20px; font-weight: 600; }
.bar .btn { width: auto; flex: none; }

/* ---- 入力 ---- */
.form-note { font-size: 12px; color: var(--sub); margin: 0 0 14px; }
.field { display: block; margin-bottom: 16px; }
.f-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; margin-bottom: 6px; line-height: 1.5; }
.req, .opt { font-size: 10px; border-radius: 3px; padding: 0 5px; font-weight: 500; line-height: 1.8; }
.req { background: var(--ink); color: #fff; } .opt { border: 1px solid var(--line); color: var(--sub); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #D9D4CE; border-radius: var(--rb); background: #fff; line-height: 1.5; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 1px solid var(--ink); border-color: var(--ink); }
.f-help { display: block; font-size: 11px; color: var(--sub); margin-top: 4px; line-height: 1.7; }
.f-err { display: block; font-size: 12px; color: var(--danger); line-height: 1.7; }
.form-actions { margin: 18px 0 28px; }

/* ---- まとめ ---- */
.summary { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.summary .sum-photo { aspect-ratio: 1; border-radius: 4px; }
.summary h3 { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; }
.summary p { margin: 0; font-size: 13px; line-height: 1.8; }
.sum-total { font-family: var(--en); font-size: 20px !important; font-weight: 600; margin-top: 4px !important; }
.sum-total small { display: block; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 11px; font-weight: 400; color: var(--sub); }
.kv { margin: 0; } .kv div { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.kv dt { color: var(--sub); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.edit { display: inline-block; margin-top: 10px; font-size: 13px; }
.rules, .next { margin: 0; padding-left: 1.3em; font-size: 13px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; line-height: 1.8; }
.agree input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--ink); }

/* ---- 完了 ---- */
.done-box { text-align: center; padding: 28px 18px; }
.done-mark { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 22px; }
.done-box h1 { font-size: 19px; font-weight: 500; margin: 0 0 14px; letter-spacing: .06em; }
.done-code-label { margin: 0; font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--sub); }
.done-code { margin: 0 0 14px; font-family: var(--en); font-size: 30px; font-weight: 600; letter-spacing: .14em; }
.ok-msg { color: var(--ok); font-weight: 500; }

/* ---- 下の帯 ---- */
.foot { border-top: 1px solid var(--line); margin-top: 32px; font-size: 12px; color: var(--sub); line-height: 1.9; }
.foot p { margin: 0; }
.foot-in { display: grid; gap: 18px; padding-top: 32px; padding-bottom: 24px; }
.foot-name { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.foot-h { color: var(--ink); font-weight: 500; }
.foot a { color: var(--sub); }
.foot-note { font-size: 11px; padding-bottom: 24px; }
/* 一番下の「運営 UBAKU」の段（UBAKU Villa の公式サイトと同じ形。色はこのサイトのほぼ黒に） */
.foot-op { background: var(--ac-soft); color: var(--ink); padding: 20px 0; border-top: 1px solid var(--line); }
.foot-op-in { display: grid; grid-template-columns: 1fr; gap: 12px 24px; }
@media (min-width: 760px) { .foot-op-in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.foot-op-start { display: grid; justify-items: start; gap: 8px; }
.foot-op-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; --logo-color: var(--ink); --logo-bar: var(--pop); }
.foot-op-brand small { font-size: 11px; letter-spacing: .2em; color: var(--sub); line-height: 1; }
.foot-op-brand .wordmark { width: 78px; transform: translateY(-11%); }
.foot-op-text { margin: 0; font-size: 11px; line-height: 1.8; letter-spacing: .04em; color: var(--sub); }
.foot-op-text span { display: block; }
.foot-copy { font-family: var(--en); font-size: 11px; letter-spacing: .08em; color: var(--sub); white-space: nowrap; }
/* UBAKŪ のロゴ：文字と Ū の横線を別の色にできるよう、形をくり抜いて色をぬる */
.wordmark { position: relative; display: block; aspect-ratio: 330 / 60; }
.wordmark::before, .wordmark::after { content: ""; position: absolute; inset: 0; }
.wordmark::before { background: var(--logo-color, #231815); -webkit-mask: url(logo-wordmark-letters.svg) center / contain no-repeat; mask: url(logo-wordmark-letters.svg) center / contain no-repeat; }
.wordmark::after { background: var(--logo-bar, #23A0DA); -webkit-mask: url(logo-wordmark-bar.svg) center / contain no-repeat; mask: url(logo-wordmark-bar.svg) center / contain no-repeat; }

/* ---- 差し色（東川青）：空きの○・今の段階・小さな英字・選んでいる所の印 ---- */
:root { --pop: #23A0DA; --pop-soft: #E6F4FB; }
.sec-title .en, .kind-en { color: var(--pop); }
.steps li.now { border-color: var(--pop); }
.steps li.now b { color: var(--pop); }
.cal-day.s-ok .m, .lg.ok { color: var(--pop); }
.cal-day.today .n { text-decoration-color: var(--pop); }
.st.ok, .kind-meta .free { color: var(--pop); }
.mini-slots .f { background: var(--pop-soft); color: var(--pop); }
.done-mark { border-color: var(--pop); color: var(--pop); }
.notice { border-left-color: var(--pop); background: var(--pop-soft); }
.thumb.on { outline-color: var(--pop); }
.kind-go { color: var(--pop); }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--pop); border-color: var(--pop); }
.to-cards { border-color: var(--pop); color: var(--pop); background: var(--pop-soft); }
.intro-lead::after { content: ""; display: block; width: 28px; height: 3px; background: var(--pop); margin-top: 14px; }

/* ---- 宿泊者の情報 ---- */
.form h2 small, .block h2 small { font-weight: 400; color: var(--sub); margin-left: 8px; font-size: 12px; }
.form h2.mt { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.guest { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 12px; margin: 0 0 14px; }
@media (max-width: 759px) { .form { padding: 16px 14px; } }
.guest-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.guest-head h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.guest-st { font-size: 11px; color: var(--danger); white-space: nowrap; }
.guest-st.ok { color: var(--pop); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--rb); overflow: hidden; margin-bottom: 12px; }
.seg button { border: 0; background: #fff; padding: 10px 4px; font-size: 13px; cursor: pointer; line-height: 1.4; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--ink); color: #fff; font-weight: 500; }
.copy-row { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 12px; }
.copy { border: 1px solid var(--pop); color: var(--pop); background: var(--pop-soft); border-radius: 3px; font-size: 12px; padding: 4px 10px; cursor: pointer; line-height: 1.5; }
.fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.fields .field { grid-column: 1 / -1; margin-bottom: 12px; }
.fields .field.half { grid-column: auto; }
.upload { display: grid; gap: 8px; justify-items: center; border: 1px dashed #CFCAC4; border-radius: var(--rb); padding: 16px; text-align: center; cursor: pointer; font-size: 13px; color: var(--sub); }
.upload input { display: none; }
.upload img { max-height: 120px; border-radius: 4px; }
.upload.done { border-style: solid; border-color: var(--pop); color: var(--ink); }
.glist { margin: 0; padding-left: 1.4em; font-size: 14px; line-height: 1.7; }
.glist li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.tag { font-size: 10px; border: 1px solid var(--pop); color: var(--pop); border-radius: 3px; padding: 0 5px; margin-left: 8px; vertical-align: 1px; }

/* ---- パソコン ---- */
@media (min-width: 760px) {
  body { font-size: 15px; line-height: 1.85; }
  .sp { display: none; }
  .wrap { padding: 0 32px; }
  .top { padding: 0 32px; height: 68px; }
  .intro { grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 56px 0 8px; }
  .intro-lead { font-size: 26px; }
  .intro-sub { font-size: 14px; }
  .intro-img { aspect-ratio: 16 / 9; }
  .brand { flex-direction: row; align-items: baseline; gap: 14px; }
  .brand-name { font-size: 16px; }
  .sec-title { margin-top: 64px; }
  .kinds { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .kind { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; border-bottom: 0; align-items: start; }
  .kind-photo { aspect-ratio: 4 / 3; border-radius: var(--r); }
  .kind-body { padding: 14px 28px 0 0; }
  .kind h2 { font-size: 18px; margin: 2px 0 4px; }
  .kind-lead { display: block; }
  .kind-meta { font-size: 12px; }
  .kind-go { top: auto; bottom: 4px; transform: none; }
  .lookup-link { justify-content: flex-start; gap: 24px; }
  /* 一覧：左に探す枠（動かしても残る）、右にカード */
  .kind-page { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
  .finder { position: sticky; top: 88px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 40px 28px; margin-top: 0; }
  .detail { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
  .picker { max-width: 680px; }
  .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .form, .block, .summary, .done-box, .agree, .form-actions, #lres { max-width: 680px; }
  .btn { width: auto; min-width: 220px; }
  .form-actions .btn, .card .btn { width: 100%; }
  .cal-day { min-height: 54px; }
  .foot-in { grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
  .foot-op-text span { display: inline; }
  .foot-op-text span + span::before { content: "　"; }
}

/* 日付・かっこ書きのまとまりを途中で改行しない */
.nw { white-space: nowrap; }

/* ---- お支払い ---- */
.pay-total { font-family: var(--en); font-size: 26px; font-weight: 600; margin: 4px 0 8px; line-height: 1.3; }
.pay-total small { display: block; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 11px; font-weight: 400; color: var(--sub); letter-spacing: .04em; }
.pay-demo { border: 1px dashed #CFCAC4; border-radius: var(--r); padding: 20px 18px; margin-bottom: 24px; }
.pay-demo-tag { display: inline-block; font-size: 10px; border: 1px solid var(--line); color: var(--sub); border-radius: 3px; padding: 0 6px; margin: 0; line-height: 1.8; }
.pay-btns { display: grid; gap: 10px; margin-top: 16px; }
.notice { background: var(--ac-soft); border-left: 3px solid var(--ink); padding: 10px 14px; font-size: 13px; line-height: 1.8; margin: 0 0 16px; text-align: justify; }
.legal div { grid-template-columns: 9em 1fr; }

@media (min-width: 760px) {
  .pay-demo { max-width: 680px; }
  .pay-btns { grid-template-columns: 1fr 1fr; }
  .pay-btns .btn { width: 100%; }
}

/* ---- 言語の切りかえ（上の帯の右）---- */
.top-lang { margin-left: auto; }
.lang { position: relative; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--rb); padding: 0 8px; height: 34px; }
.lang-ico { width: 14px; height: 14px; border: 1.5px solid var(--pop); border-radius: 50%; position: relative; flex: none; }
.lang-ico::before { content: ""; position: absolute; inset: 0 3px; border: 1.5px solid var(--pop); border-top: 0; border-bottom: 0; border-radius: 50%; }
.lang select { border: 0; background: transparent; font: inherit; font-size: 12px; color: var(--ink); padding: 0 2px; cursor: pointer; }
.top .sample-tag { margin-left: auto; }
.top .sample-tag + .top-lang { margin-left: 8px; }

/* ---- 言語ごとの字体・行間・そろえ方（共通ルール 3-3）----
   英語・韓国語は左そろえ、日本語・繁体字・簡体字は両端そろえ。英語の行間はやや狭く */
html[lang="ko"] body { font-family: "Figtree", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; }
html[lang="zh-Hant"] body { font-family: "Figtree", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
html[lang="zh-Hans"] body { font-family: "Figtree", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html[lang="en"] body { line-height: 1.75; }
html[lang="en"] :is(.page-lead, .txt, .kind-lead, .rules li, .next li, .form-note, .intro-sub, .legal dd),
html[lang="ko"] :is(.page-lead, .txt, .kind-lead, .rules li, .next li, .form-note, .intro-sub, .legal dd) { text-align: left; }
