/* 色 5 つ＝墨 #111・灰の字 #6d6d6d・薄い字 #a3a3a3・地 #f3f3f2・期限の赤 #c8102e（期限の数字だけ）
   書体＝英字の見出し DM Serif Display／本文 ヒラギノ角ゴ（小さめ 13.5px） */
:root {
  --ink: #111;
  --sub: #6d6d6d;
  --pale: #a3a3a3;
  --bg: #f3f3f2;
  --paper: rgba(255, 255, 255, 0.62);
  --red: #c8102e;
  --serif: 'DM Serif Display', 'Times New Roman', serif;
  --sans: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
/* 白〜灰のぼかしの地（ハイライト画像の背景に寄せる） */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(38% 30% at 18% 12%, #ffffff 0%, transparent 70%),
    radial-gradient(45% 35% at 85% 30%, #dcdcdb 0%, transparent 70%),
    radial-gradient(40% 40% at 30% 75%, #e6e6e5 0%, transparent 70%),
    radial-gradient(35% 30% at 80% 88%, #ffffff 0%, transparent 70%),
    var(--bg);
  filter: blur(30px);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 16px 10px;
  max-width: 760px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}
.logo { font-family: var(--serif); font-size: 26px; line-height: 1; text-decoration: none; letter-spacing: 0; }
.nav { display: flex; gap: 16px; font-size: 12.5px; }
.nav a { text-decoration: none; }
.nav a[aria-current='page'] { border-bottom: 1px solid var(--ink); }

/* 見出し＝小文字の英字（ハイライトと同じ言い方）＋小さな日本語 */
h1, h2, h3 { font-weight: normal; margin: 0; }
.h {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
}
.h small { font-family: var(--sans); font-size: 11.5px; color: var(--sub); letter-spacing: 0.08em; }
section { padding: 34px 0 30px; border-bottom: 1px solid var(--ink); }
section:last-of-type { border-bottom: 0; }
p { margin: 0 0 10px; }
.sub { color: var(--sub); font-size: 12px; }
.pending-note { color: var(--pale); font-size: 12px; }
.red { color: var(--red); }
.serif { font-family: var(--serif); letter-spacing: 0; }

/* 写真の並び（主役） */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.grid button { all: unset; cursor: pointer; display: block; aspect-ratio: 1; overflow: hidden; background: #ddd; position: relative; }
.grid img { width: 100%; height: 100%; object-fit: cover; }
.grid .pin { position: absolute; left: 6px; top: 4px; font-family: var(--serif); font-size: 12px; color: #fff; text-shadow: 0 0 4px rgba(0, 0, 0, 0.5); }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* トップの写真の帯 */
.hero { padding: 0 0 0; }
.hero .grid { grid-template-columns: repeat(3, 1fr); }
.lead { font-size: 15px; line-height: 1.9; margin: 20px 0 6px; }

/* ハイライト風の丸（コースの入口） */
.rings { display: flex; gap: 14px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: none; }
.rings a { flex: 0 0 auto; width: 64px; text-align: center; text-decoration: none; font-size: 11px; }
.rings span.ring {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--paper); font-family: var(--serif); font-size: 14px; margin-bottom: 4px;
}

/* 表（メニュー） */
table.menu { width: 100%; border-collapse: collapse; }
table.menu td { padding: 9px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.18); vertical-align: top; }
table.menu td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
table.menu .en { font-family: var(--serif); font-size: 16px; letter-spacing: 0; }
.group { font-family: var(--serif); font-size: 13px; color: var(--sub); margin: 22px 0 2px; }
ul.rules { margin: 0; padding: 0 0 0 1.1em; }
ul.rules li { margin: 0 0 6px; }

details.faq { border-top: 1px solid rgba(17, 17, 17, 0.18); padding: 10px 0; }
details.faq:last-child { border-bottom: 1px solid rgba(17, 17, 17, 0.18); }
details.faq summary { cursor: pointer; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq p { margin: 8px 0 0; color: var(--sub); }

/* ボタン */
.btn {
  appearance: none; display: inline-block; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: inherit; font-size: 13px; padding: 10px 18px; text-decoration: none; cursor: pointer; text-align: center; border-radius: 0;
}
.btn.fill { background: var(--ink); color: #fff; }
.btn.small { padding: 5px 10px; font-size: 12px; }
.btn.wide { display: block; width: 100%; }
.btn[disabled] { opacity: 0.35; cursor: default; }
.bar {
  position: sticky; bottom: 0; background: rgba(243, 243, 242, 0.92); backdrop-filter: blur(8px);
  border-top: 1px solid var(--ink); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.bar .wrap { padding: 0; display: flex; gap: 12px; align-items: center; justify-content: space-between; }

/* 絞り込み */
.filters { border-bottom: 1px solid var(--ink); padding: 10px 0 12px; }
.filters summary { cursor: pointer; font-size: 12.5px; list-style: none; display: flex; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.fgroup { margin-top: 12px; }
.fgroup b { font-weight: normal; font-family: var(--serif); font-size: 13px; display: block; margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { all: unset; cursor: pointer; border: 1px solid rgba(17, 17, 17, 0.35); padding: 2px 10px; font-size: 12px; line-height: 1.8; }
.chip[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.count { font-family: var(--serif); font-size: 22px; }

/* 大きく見る */
dialog.view { border: 0; padding: 0; width: min(100vw, 560px); max-width: 100vw; max-height: 100vh; background: var(--bg); color: var(--ink); }
dialog.view::backdrop { background: rgba(240, 240, 240, 0.85); backdrop-filter: blur(6px); }
dialog.view img { width: 100%; max-height: 62vh; object-fit: contain; background: #e8e8e8; }
dialog.view .body { padding: 14px 16px 18px; }
dialog.view .close { position: absolute; right: 8px; top: 6px; all: unset; cursor: pointer; font-family: var(--serif); font-size: 26px; position: absolute; right: 12px; top: 4px; color: #fff; text-shadow: 0 0 6px rgba(0, 0, 0, 0.5); }
.kv { display: grid; grid-template-columns: 84px 1fr; gap: 2px 10px; font-size: 13px; margin: 8px 0 14px; }
.kv dt { color: var(--sub); }
.kv dd { margin: 0; }

/* フォーム */
.step { padding: 26px 0 22px; border-bottom: 1px solid var(--ink); }
.step .h { font-size: 24px; }
.choice { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.15); cursor: pointer; align-items: baseline; }
.choice input { accent-color: var(--ink); margin: 0 8px 0 0; }
.choice .en { font-family: var(--serif); font-size: 15px; letter-spacing: 0; }
.choice .r { white-space: nowrap; text-align: right; font-size: 12.5px; }
label.f { display: block; margin: 12px 0 4px; font-size: 12px; color: var(--sub); }
input[type='text'], input[type='tel'], input[type='number'], input[type='time'], input[type='date'], select, textarea {
  font: inherit; font-size: 16px; width: 100%; padding: 8px 10px; border: 1px solid var(--ink); background: rgba(255, 255, 255, 0.7); border-radius: 0; color: var(--ink);
}
textarea { min-height: 74px; }
.counter { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.15); gap: 10px; }
.counter .ctl { display: flex; align-items: center; gap: 0; }
.counter .ctl button { all: unset; cursor: pointer; width: 32px; height: 30px; border: 1px solid var(--ink); text-align: center; line-height: 30px; }
.counter .ctl output { width: 36px; text-align: center; }
.quote { font-size: 12.5px; }
.quote .sum { font-family: var(--serif); font-size: 24px; letter-spacing: 0; }
.dates { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; }
.date { all: unset; cursor: pointer; flex: 0 0 auto; width: 52px; text-align: center; border: 1px solid rgba(17, 17, 17, 0.3); padding: 6px 0; font-size: 11px; line-height: 1.4; }
.date b { display: block; font-family: var(--serif); font-weight: normal; font-size: 19px; }
.date[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.date[disabled] { opacity: 0.28; cursor: default; }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.times button { all: unset; cursor: pointer; text-align: center; border: 1px solid rgba(17, 17, 17, 0.35); padding: 6px 0; font-family: var(--serif); font-size: 15px; }
.times button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.thumb { width: 92px; height: 92px; object-fit: cover; }
.msg { padding: 10px 12px; border: 1px solid var(--ink); margin: 12px 0; background: var(--paper); }
.err { border-color: var(--red); }

/* 予約の確認 */
.status { font-family: var(--serif); font-size: 34px; line-height: 1.1; letter-spacing: 0; }
.deadline { font-size: 14px; }
.deadline .red { font-family: var(--serif); font-size: 20px; letter-spacing: 0; }

/* 本人の画面 */
.tabs { position: sticky; top: 0; z-index: 5; background: rgba(243, 243, 242, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink); display: flex; overflow-x: auto; scrollbar-width: none; }
.tabs button { all: unset; cursor: pointer; flex: 0 0 auto; padding: 11px 12px 9px; font-size: 13px; border-bottom: 2px solid transparent; position: relative; }
.tabs button[aria-selected='true'] { border-bottom-color: var(--ink); }
.tabs .dot { font-size: 10px; vertical-align: top; margin-left: 2px; }
.item { padding: 12px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.18); }
.item .when { font-family: var(--serif); font-size: 18px; letter-spacing: 0; }
.item .row { display: flex; gap: 10px; align-items: flex-start; }
.item .acts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 11px; border: 1px solid rgba(17, 17, 17, 0.4); padding: 0 6px; line-height: 1.7; margin-right: 4px; }
.tag.black { background: var(--ink); color: #fff; border-color: var(--ink); }
.alert { border: 1px solid var(--red); padding: 10px 12px; margin: 14px 0; }
.alert b { color: var(--red); font-weight: normal; }
pre.text { white-space: pre-wrap; font: inherit; font-size: 12.5px; background: var(--paper); border-left: 1px solid var(--ink); padding: 8px 10px; margin: 6px 0; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal .wd { text-align: center; font-size: 11px; color: var(--sub); }
.cal button { all: unset; cursor: pointer; aspect-ratio: 1 / 1.1; border: 1px solid rgba(17, 17, 17, 0.2); font-size: 11px; padding: 3px; line-height: 1.25; background: var(--paper); }
.cal button b { font-family: var(--serif); font-weight: normal; font-size: 15px; display: block; }
.cal button.closed { background: transparent; color: var(--pale); }
.cal button[aria-pressed='true'] { outline: 2px solid var(--ink); outline-offset: -2px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.stats div { padding: 10px 0; border-bottom: 1px solid rgba(17, 17, 17, 0.18); }
.stats b { display: block; font-family: var(--serif); font-weight: normal; font-size: 24px; letter-spacing: 0; }
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.wgrid .w { position: relative; aspect-ratio: 1; background: #ddd; overflow: hidden; cursor: pointer; }
.wgrid .w img { width: 100%; height: 100%; object-fit: cover; }
.wgrid .w.hidden img { opacity: 0.3; }
.wgrid .w span { position: absolute; left: 4px; bottom: 2px; font-size: 10px; color: #fff; text-shadow: 0 0 3px #000; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 8px 14px; font-size: 12.5px; z-index: 50; }
footer { padding: 26px 16px 40px; font-size: 11.5px; color: var(--sub); max-width: 760px; margin: 0 auto; }
