@charset "UTF-8";
/* ============================================================
   予約ページ(ホームページと同じ白黒・明朝の世界観)
   共通のボタン・見出し・フッターは ../css/renewal.css を使用
   ============================================================ */
@import url('https://cdn.jsdelivr.net/npm/yakuhanjp@3.3.1/dist/css/yakuhanmp-noto.min.css');

html {
  font-family: YakuHanMP_Noto, "Noto Serif JP", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.rv {
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 0; /* renewal.css のスマホ用固定ボタン分の余白を打ち消す */
}
[hidden] { display: none !important; }

/* ---------- 上部バー ---------- */
.rv-top {
  height: 68px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.rv-top .logo img { height: 40px; width: auto; display: block; }
.rv-top .home {
  font-size: 13px;
  letter-spacing: .24em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

/* ---------- ヒーロー ---------- */
.rv-hero {
  position: relative;
  height: 44vh;
  min-height: 280px;
  max-height: 460px;
  overflow: hidden;
  background: #222;
}
.rv-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .32); /* 文字を中央に置くので全体を均一に暗くする */
}
.rv-hero .txt {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 12px rgba(0,0,0,.4);
}
.rv-hero .en { font-size: 13px; letter-spacing: .5em; padding-left: .5em; }
.rv-hero h1 { font-size: 34px; font-weight: 700; letter-spacing: .24em; padding-left: .24em; margin-top: 6px; }

/* ---------- 本体 ---------- */
.rv-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 20px 100px;
}
.rv-demo {
  border: 1px dashed var(--ink);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 32px;
  text-align: center;
}
.rv-loading { text-align: center; color: var(--sub); letter-spacing: .12em; padding: 60px 0; }

/* プラン概要 */
.rv-plan { margin-bottom: 64px; }
.rv-plan .tag { font-size: 13px; color: var(--sub); letter-spacing: .08em; }
.rv-plan h2 { font-size: 24px; font-weight: 700; letter-spacing: .1em; margin: 4px 0 20px; }
.rv-plan .note { font-size: 12px; color: var(--sub); margin-top: 10px; line-height: 1.9; }

/* ステップ */
.rv-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 48px;
  counter-reset: none;
}
.rv-steps li {
  border-top: 2px solid var(--line);
  padding-top: 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--sub);
}
.rv-steps li b { display: block; font-size: 11px; letter-spacing: .2em; font-weight: 400; }
.rv-steps li.on { border-top-color: var(--ink); color: var(--ink); }

/* セクション見出し */
.rv-sec { margin-bottom: 56px; }
.rv-h {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 20px;
}
.rv-h .no { font-size: 13px; font-weight: 400; color: var(--sub); letter-spacing: .1em; }

/* カレンダー */
.cal { border: 1px solid var(--ink); padding: 18px 14px 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head b { font-size: 18px; letter-spacing: .12em; }
.cal-head button {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-head button:disabled { opacity: .25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { text-align: center; font-size: 12px; color: var(--sub); padding: 6px 0; }
.cal-grid .dow.sun { color: #a2372a; }
.cal-grid .dow.sat { color: #2f5580; }
.day {
  aspect-ratio: 1;
  min-height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}
.day:not(:disabled):hover { border-color: var(--ink); }
.day:disabled { color: #c4c1ba; cursor: default; }
.day.full:disabled { text-decoration: line-through; }
.day.sel { background: var(--ink); color: #fff; font-weight: 700; }
.legend { display: flex; gap: 18px; font-size: 12px; color: var(--sub); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; background: var(--ink); margin-right: 6px; vertical-align: -1px; }
.legend s { color: #c4c1ba; margin-right: 6px; }

/* 時間枠 */
.slots { display: grid; gap: 10px; }
.slot {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: #fff;
  font-family: inherit;
  font-size: 20px;
  letter-spacing: .06em;
  cursor: pointer;
  color: var(--ink);
  transition: background-color .25s, color .25s;
}
.slot small { font-size: 13px; letter-spacing: .08em; }
.slot:not(:disabled):hover { background: var(--paper); }
.slot.sel { background: var(--ink); color: #fff; }
.slot:disabled { border-color: var(--line); color: #b9b6ae; cursor: default; }
.placeholder { color: var(--sub); font-size: 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }

/* フォーム */
.field { margin-bottom: 22px; }
.field > label, .field > .lbl { display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; margin-bottom: 8px; }
.req { font-size: 11px; font-weight: 400; margin-left: 8px; padding: 1px 6px; border: 1px solid var(--ink); letter-spacing: .1em; vertical-align: 2px; }
.opt { font-size: 12px; font-weight: 400; color: var(--sub); margin-left: 8px; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #b9b6ae;
  background: #fff;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  border-radius: 0;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.guests { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.guests button {
  min-height: 60px;
  text-align: center;
  border: 1px solid #b9b6ae;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  color: var(--ink);
}
.guests button small { display: block; font-size: 12px; color: var(--sub); }
.guests button.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.guests button.sel small { color: #d9d6cf; }

/* 確認・送信 */
.summary { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 36px 0 20px; display: grid; gap: 8px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary span { color: var(--sub); }
.summary .total { align-items: baseline; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.summary .total b { font-size: 30px; letter-spacing: .04em; }
.policy { font-size: 13px; line-height: 2; color: var(--sub); background: var(--paper); padding: 14px 16px; margin-bottom: 20px; }
.policy b { color: var(--ink); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin-bottom: 22px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 4px; accent-color: #111; flex: none; }
.agree a, .link { text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv-main .btn-black { width: 100%; font-size: 16px; letter-spacing: .2em; min-height: 60px; cursor: pointer; font-family: inherit; }
.rv-main .btn-black:disabled { background: #b9b6ae; border-color: #b9b6ae; color: #fff; cursor: default; }
.msg { margin-top: 14px; padding: 12px 16px; font-size: 14px; border: 1px solid #a2372a; color: #a2372a; }
.msg:empty { display: none; }
.pay-note { text-align: center; font-size: 13px; color: var(--sub); margin-top: 12px; }

/* 完了 */
.done { text-align: center; padding: 20px 0 10px; }
.done .mark {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.done h2 { font-size: 24px; font-weight: 700; letter-spacing: .14em; margin-bottom: 20px; }
.done .detail { display: inline-block; text-align: left; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 16px 4px; margin: 10px 0 24px; font-size: 15px; line-height: 2; }
.done p { font-size: 14px; color: var(--sub); line-height: 2; }
.done .btn-line { margin: 32px auto 0; max-width: 320px; }

/* ---------- モーダル(規約) ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); padding: 16px; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-box { background: #fff; width: 100%; max-width: 680px; max-height: 88vh; display: flex; flex-direction: column; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--ink); }
.modal-head h3 { font-size: 17px; letter-spacing: .12em; }
.modal-head button { width: 44px; height: 44px; border: 0; background: none; font-size: 24px; cursor: pointer; }
.modal-body { padding: 20px 22px 32px; overflow-y: auto; font-size: 14px; line-height: 2; }
.modal-body h4 { font-size: 15px; margin: 22px 0 6px; letter-spacing: .08em; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body ul { padding-left: 1.3em; list-style: disc; }
.modal-body ul ul { list-style: circle; }
.modal-body p { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
