@charset "UTF-8";
/* 体験予約の新フォーム：予約ページ用（ステップ式・チャット式・週の表）2026-11-23
   元：site-renewal-preview/__hb/refresh.css の該当部分だけを切り出したもの（サイト全体の新デザインは含めない）。
   読み込みは functions/reserve-ab.php。新フォームの組（hb-chat-on / hb-steps-on）のときだけ効くクラスで書かれている。 */
:root {
  /* 色：黄色は1色に一本化、オレンジは予約CTAだけに使う */
  --hb-yellow: #fdb600;
  --hb-yellow-soft: #fff7e0;
  --hb-ink: #3e3a39;
  --hb-ink-sub: #6f6a68;
  --hb-bg: #ffffff;
  --hb-bg-alt: #f6f3ee; /* 真っ白の連続を避けるための、黄色に合う暖かいベージュ */
  --hb-dark: #2b2827;
  --hb-line: #e8e5e0;
  --hb-cta: #ea5b02;
  --hb-cta-hover: #c94d00;

  /* 寸法 */
  --hb-container: 1120px;
  --hb-gutter: 24px;
  --hb-section-y: 96px;
  --hb-head-gap: 48px; /* 見出しから中身までの距離 */
  --hb-radius: 8px;
  --hb-shadow: 0 2px 12px rgba(62, 58, 57, 0.06);

  --hb-font-en: "Poppins", sans-serif;
  --hb-font-ja: "Noto Sans JP", sans-serif;
}

/* ==========================================================
   2026-11-03 追加：体験予約のチャット（assets/js/reserve-chat.js）
   元のフォームの入力欄は隠し、チャットで聞いた答えを裏で入れて送る
   ========================================================== */
.hb-chat-on .wpcf7-form .c-form__items,
.hb-chat-on .wpcf7-form .c-confirm,
.hb-chat-on .wpcf7-form .c-submit,
.hb-chat-on .wpcf7-form .wpcf7-response-output {
  display: none !important;
}
/* reCAPTCHAのバッジは入力欄に重なるので隠す（フォームの下に規約の文言を出しているので、Googleの条件どおり） */
.hb-chat-on .grecaptcha-badge {
  visibility: hidden;
}
/* 予約ページの下の「無料体験を予約する」帯は、このページでは同じ場所に戻るだけなので出さない */
.hb-chat-on .hb-cta {
  display: none !important;
}
.hb-chat-on .l-contact__header {
  display: none;
}
/* 予約ページの main は overflow:hidden で、中の position:sticky（ステップの帯）が効かない。
   はみ出しを隠すのは同じで、スクロールの枠を作らない clip にする */
.hb-chat-on .l-contact {
  overflow: clip !important;
}
.hb-chat-on .c-form,
.hb-chat-on .l-contact__content {
  max-width: none !important;
  width: 100% !important;
}
/* 左に訴求、右にチャット。高さは画面に収まる大きさで固定し、チャットは中だけ流す */
.hb-resv {
  --hb-resv-h: clamp(560px, calc(100vh - var(--hb-chat-top, 0px) - 48px), 860px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  max-width: var(--hb-container);
  height: var(--hb-resv-h);
  margin: 24px auto 0;
  text-align: left;
}
.hb-resv__aside {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--hb-dark);
  color: #fff;
}
.hb-resv__photo {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  margin: 0;
}
.hb-resv__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.hb-resv__photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--hb-ink);
  font-size: 13px;
  font-weight: 700;
}
.hb-resv__photo figcaption span { margin-right: 8px; color: var(--hb-yellow); letter-spacing: 1px; }
.hb-resv__photo figcaption b { font: 800 18px/1 var(--hb-font-en); }
.hb-resv__body { padding: 24px 28px 26px; }
.hb-resv__eyebrow { margin: 0; font: italic 800 13px/1 var(--hb-font-en); letter-spacing: 0.15em; color: var(--hb-yellow); }
.hb-resv__title { margin: 8px 0 16px; font-size: 26px; font-weight: 800; line-height: 1.35; }
.hb-resv__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hb-resv__prices li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--hb-yellow);
  color: var(--hb-ink);
}
.hb-resv__prices small { grid-column: 1 / -1; font-size: 12px; font-weight: 700; }
.hb-resv__prices s { font-size: 12px; opacity: 0.7; }
.hb-resv__prices b { font: 800 30px/1.1 var(--hb-font-en); text-align: right; }
.hb-resv__cond { margin: 6px 0 0; font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.hb-resv__points { margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.6; }
.hb-resv__points li { position: relative; padding-left: 26px; }
.hb-resv__points li + li { margin-top: 6px; }
.hb-resv__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hb-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5L17.5 8.5' fill='none' stroke='%232b2827' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.hb-resv__points b { color: var(--hb-yellow); }
.hb-resv__flow {
  display: flex;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
  font-size: 12px;
  font-weight: 700;
}
.hb-resv__flow li {
  flex: 1;
  padding: 8px 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  text-align: center;
  counter-increment: flow;
}
.hb-resv__flow li::before { content: counter(flow) ". "; color: var(--hb-yellow); }

.hb-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--hb-bg-alt);
  box-shadow: 0 12px 36px rgba(62, 58, 57, 0.1);
  font-family: var(--hb-font-ja);
  color: var(--hb-ink);
  text-align: left;
}
.hb-chat__head {
  flex-shrink: 0;
  padding: 18px 24px 14px;
  background: #fff;
  border-bottom: 1px solid var(--hb-line);
}
.hb-chat__status {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.hb-chat__now {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.hb-chat__now b {
  font-family: var(--hb-font-en);
  font-size: 20px;
  color: var(--hb-cta);
}
.hb-chat__now span {
  margin: 0 10px 0 4px;
  font-family: var(--hb-font-en);
  color: var(--hb-ink-sub);
}
.hb-chat__left {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--hb-ink-sub);
  white-space: nowrap;
}
.hb-chat__bar {
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--hb-line);
  overflow: hidden;
}
.hb-chat__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hb-yellow), var(--hb-cta));
  transition: width 0.4s ease;
}
.hb-chat__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.hb-chat__steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #b0aaa6;
}
.hb-chat__steps li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hb-line);
  color: #fff;
  font: 700 12px/1 var(--hb-font-en);
}
.hb-chat__steps li.is-done { color: var(--hb-ink); }
.hb-chat__steps li.is-done span { background: var(--hb-yellow); color: var(--hb-ink); }
.hb-chat__steps li.is-current { color: var(--hb-cta); }
.hb-chat__steps li.is-current span { background: var(--hb-cta); box-shadow: 0 0 0 4px rgba(234, 91, 2, 0.18); }

.hb-chat__log {
  position: relative; /* 質問の位置（offsetTop）をこの窓の中で測る */
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 28px;
}
.hb-chat__log > * { flex-shrink: 0; }
.hb-chat__msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 88%;
  animation: hb-chat-in 0.35s ease both;
}
@keyframes hb-chat-in {
  from { opacity: 0; transform: translateY(8px); }
}
.hb-chat__avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hb-dark);
  color: var(--hb-yellow);
  font: 800 16px/1 var(--hb-font-en);
}
.hb-chat__bubble {
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
  box-shadow: var(--hb-shadow);
}
.hb-chat__bubble small { color: var(--hb-ink-sub); font-size: 13px; }
.hb-chat__msg.is-error .hb-chat__bubble { background: #fdecea; color: #a1281c; }
.hb-chat__msg.is-demo .hb-chat__bubble { background: transparent; box-shadow: none; padding: 0 4px; font-size: 13px; color: var(--hb-ink-sub); }
.hb-chat__msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.hb-chat__msg--user .hb-chat__bubble {
  border-radius: 18px 18px 4px 18px;
  background: var(--hb-yellow);
  font-weight: 700;
}
.hb-chat__edit {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px;
  font-size: 12px;
  color: var(--hb-ink-sub);
  text-decoration: underline;
  cursor: pointer;
}
/* 訴求：吹き出しより目立つカード */
.hb-chat__msg--point { margin-left: 46px; max-width: calc(88% - 46px); }
.hb-chat__point {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px 12px 44px;
  border: 2px solid var(--hb-yellow);
  border-radius: 14px;
  background: var(--hb-yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fdb600'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%233e3a39' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 14px 14px / 20px no-repeat;
  font-size: 14px;
  line-height: 1.6;
}
.hb-chat__point b { font-size: 15px; }
.hb-chat__store {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--hb-shadow);
}
.hb-chat__store img {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}
.hb-chat__store div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.5; }
.hb-chat__store b { font-size: 15px; }
.hb-chat__store small { color: var(--hb-ink-sub); font-size: 12px; }

/* 答える欄 */
.hb-chat__controls {
  margin-left: 46px;
  animation: hb-chat-in 0.35s 0.15s ease both;
}
.hb-chat__group { margin: 8px 0 6px; font-size: 12px; font-weight: 700; color: var(--hb-ink-sub); }
.hb-chat__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-chat__chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
  font: 700 15px/1.3 var(--hb-font-ja);
  color: var(--hb-ink);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.hb-chat__chip small { font-size: 11px; font-weight: 500; color: var(--hb-ink-sub); }
.hb-chat__chip:hover { border-color: var(--hb-yellow); background: var(--hb-yellow-soft); }
.hb-chat__chip:disabled { opacity: 0.35; cursor: not-allowed; }
.hb-chat__choices--time .hb-chat__chip { min-width: 84px; justify-content: center; font-family: var(--hb-font-en); }
.hb-chat__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.hb-chat__day {
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 6px 0;
  border-radius: 12px;
}
.hb-chat__day small { font-size: 10px; white-space: nowrap; }
.hb-chat__day b { font: 700 18px/1.2 var(--hb-font-en); }
.hb-chat__day span { font-size: 11px; }
.hb-chat__day.is-sat span { color: #2d6fc4; }
.hb-chat__day.is-off span { color: #d23b2a; }
.hb-chat__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--hb-ink-sub); }
.hb-chat__more input { padding: 6px 8px; border: 1px solid var(--hb-line); border-radius: 8px; font-size: 14px; background: #fff; }
.hb-chat__text { display: flex; align-items: center; gap: 8px; }
.hb-chat__text input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 2px solid var(--hb-line);
  border-radius: 12px;
  background: #fff;
  font-size: 16px; /* iPhoneで入力時に拡大されない大きさ */
}
.hb-chat__text input:focus { outline: none; border-color: var(--hb-yellow); }
.hb-chat__suffix { font-weight: 700; }
.hb-chat__send {
  flex-shrink: 0;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--hb-dark);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.hb-chat__error { margin: 6px 0 0; min-height: 1em; font-size: 13px; font-weight: 700; color: #c0392b; }
.hb-chat__confirm { margin-left: 0; padding: 20px; border-radius: 16px; background: #fff; box-shadow: var(--hb-shadow); }
.hb-chat__summary { margin: 0; }
.hb-chat__summary div { display: grid; grid-template-columns: 8em 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--hb-line); font-size: 14px; }
.hb-chat__summary dt { color: var(--hb-ink-sub); font-weight: 700; }
.hb-chat__summary dd { margin: 0; font-weight: 700; word-break: break-all; }
.hb-chat__note { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--hb-ink-sub); }
.hb-chat__note textarea { padding: 10px 12px; border: 2px solid var(--hb-line); border-radius: 12px; font-size: 16px; font-family: inherit; resize: vertical; }
.hb-chat__agree { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; cursor: pointer; }
/* テーマ側でチェックボックスの見た目が消されているので、ここでは標準の形に戻す */
.hb-chat__agree input {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  display: inline-block !important;
  position: static !important;
  opacity: 1 !important;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--hb-cta);
}
/* テーマ側でフォームの中の a が block にされていて「個人情報保護方針」のあとで改行するので戻す */
.hb-chat__agree a { display: inline !important; text-decoration: underline; }
.hb-chat__submit {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--hb-cta);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(234, 91, 2, 0.28);
  cursor: pointer;
}
.hb-chat__submit:hover { background: var(--hb-cta-hover); }
.hb-chat__submit:disabled { background: #d6d1cc; box-shadow: none; cursor: not-allowed; }
.hb-chat__fallback { margin: 16px 0 0; text-align: center; }
.hb-chat__fallback button { border: 0; background: none; font-size: 13px; color: var(--hb-ink-sub); text-decoration: underline; cursor: pointer; }

@media (max-width: 767px) {
  /* スマホ：訴求は上に細く、その下にチャットの窓（画面の高さいっぱい） */
  .hb-resv {
    --hb-resv-h: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 8px;
  }
  .hb-resv__aside { border-radius: 14px; }
  .hb-resv__photo, .hb-resv__eyebrow, .hb-resv__title, .hb-resv__points, .hb-resv__flow { display: none; }
  .hb-resv__body { padding: 12px; }
  .hb-resv__prices li { padding: 8px 12px; }
  .hb-resv__prices b { font-size: 24px; }
  /* スマホは窓の中を流さず、ページだけを送る（二重のスクロールにしない）。ステップの帯はヘッダーの下に貼り付ける */
  .hb-chat {
    overflow: visible;
    border-radius: 14px;
  }
  .hb-chat__head {
    position: sticky;
    top: var(--hb-chat-top, 0px);
    z-index: 5;
    padding: 12px 14px 10px;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 6px 12px -8px rgba(62, 58, 57, 0.25);
  }
  .hb-chat__log { overflow: visible; min-height: 60vh; }
  .hb-chat__now { font-size: 14px; }
  .hb-chat__now b { font-size: 17px; }
  .hb-chat__steps li { font-size: 10px; }
  .hb-chat__steps li span { width: 20px; height: 20px; font-size: 11px; }
  .hb-chat__log { padding: 18px 12px 24px; }
  .hb-chat__msg { max-width: 94%; }
  .hb-chat__msg--point { max-width: calc(94% - 46px); }
  .hb-chat__controls { margin-left: 0; }
  .hb-chat__bubble { font-size: 14px; }
  .hb-chat__chip { font-size: 14px; padding: 8px 14px; }
  .hb-chat__day { min-width: 0; padding: 6px 0; }
  .hb-chat__days { gap: 4px; }
  .hb-chat__summary div { grid-template-columns: 6.5em 1fr; font-size: 13px; }
}

/* ==========================================================
   2026-11-04 追加：体験予約のステップ入力（assets/js/reserve-steps.js）
   店舗 → お客様情報 → 希望日程 を、ページを移らずに切り替える。
   左に訴求・口コミ・会員さまの変化、右にフォーム（BtoBの資料請求ページの形）
   ========================================================== */
/* フォームを画面の上の方に出したいので、ページ見出しの帯（COUNSELING）は出さない。見出しは左の欄に置く */
.hb-steps-on .p-page-kv { display: none; }
.hb-resv--steps {
  height: auto;
  align-items: start;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
}
.hb-resv__aside--light {
  overflow: visible;
  padding: 8px 0 0;
  border-radius: 0;
  background: none;
  color: var(--hb-ink);
}
.hb-resv__aside--light .hb-resv__title { margin: 10px 0 12px; font-size: 32px; line-height: 1.35; }
.hb-resv__aside--light .hb-resv__eyebrow { color: var(--hb-cta); }
.hb-resv__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.8; color: var(--hb-ink-sub); }
.hb-resv__offer { padding: 16px; border-radius: 16px; background: var(--hb-dark); }
.hb-resv__aside--light .hb-resv__cond { color: rgba(255, 255, 255, 0.75); }
.hb-resv__aside--light .hb-resv__points { margin-top: 20px; }
.hb-resv__aside--light .hb-resv__points b { color: var(--hb-cta); }
.hb-resv__aside--light section { margin-top: 32px; }
.hb-resv__h {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}
.hb-resv__rating { font: 800 18px/1 var(--hb-font-en); color: var(--hb-ink); }
.hb-resv__rating i { margin-right: 2px; font-style: normal; color: var(--hb-yellow); }
.hb-resv__rating small { margin-left: 6px; font: 500 12px/1 var(--hb-font-ja); color: var(--hb-ink-sub); }
.hb-resv__review-list, .hb-resv__case-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hb-resv__review-list li {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--hb-bg-alt);
}
.hb-resv__review-list li::before { content: "★★★★★"; display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 1px; color: var(--hb-yellow); }
.hb-resv__review-list p { margin: 0; font-size: 14px; line-height: 1.75; }
.hb-resv__review-list small { display: block; margin-top: 6px; font-size: 12px; color: var(--hb-ink-sub); }
/* 会員さまの変化：写真（ビフォーアフター）2枚を並べ、下に体重の変化だけ */
.hb-resv__case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hb-resv__case { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hb-line); border-radius: 14px; background: #fff; }
.hb-resv__case img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hb-resv__change { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; padding: 6px 8px 8px; text-align: center; }
.hb-resv__change b { font: 800 20px/1.2 var(--hb-font-en); color: var(--hb-cta); }
.hb-resv__change small { font-size: 12px; font-weight: 700; color: var(--hb-ink-sub); }
@media (min-width: 768px) {
  /* PC：最初の画面で事例まで見えるように、見出しまわりを詰めて写真の大きさを画面の高さに合わせる */
  .hb-resv__aside--light .hb-resv__title { margin: 6px 0 8px; font-size: 28px; }
  .hb-resv__aside--light .hb-resv__title br { display: none; }
  .hb-resv__aside--light .hb-resv__lead { margin-bottom: 14px; font-size: 14px; line-height: 1.7; }
  .hb-resv__aside--light .hb-resv__cases { margin-top: 18px; }
  .hb-resv__cases .hb-resv__h { margin-bottom: 8px; font-size: 16px; }
  /* 幅は料金の枠に揃え、高さだけ画面に合わせる（写真の下の細かい数値表から隠れる。数字は写真の下に出している） */
  .hb-resv__case img { aspect-ratio: auto; height: clamp(150px, calc(100vh - 565px), 240px); object-position: top; }
}
.hb-resv__aside--light .hb-resv__flow li { border-color: var(--hb-line); background: #fff; }
.hb-resv__aside--light .hb-resv__flow li::before { color: var(--hb-cta); }

/* 右のフォーム（2026-11-04 改：1画面に収める）
   高さは reserve-steps.js が画面に合わせて --hb-steps-h に入れる。中は「帯・入力・下のボタン」の3段で、
   入力が収まらないときだけ真ん中を流す。ボタンは常に一番下に見えている */
.hb-steps {
  display: flex;
  flex-direction: column;
  height: var(--hb-steps-h, auto);
  overflow: clip;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(62, 58, 57, 0.12);
  font-family: var(--hb-font-ja);
  color: var(--hb-ink);
  text-align: left;
}
@media (min-width: 768px) {
  /* 左の欄を読み進めても、フォームは同じ位置に留める */
  .hb-resv--steps .hb-steps { position: sticky; top: var(--hb-steps-top, 16px); }
  /* 日付は2週間を横1列、時間は2段に収める */
  .hb-steps__editor .hb-chat__days { grid-template-columns: repeat(14, 1fr); gap: 4px; }
  .hb-steps__editor .hb-chat__day b { font-size: 16px; }
  .hb-steps__times .hb-chat__choices { grid-template-columns: repeat(9, 1fr); }
}
.hb-resv--steps .hb-steps { min-width: 0; }
.hb-steps__head { flex-shrink: 0; padding: 14px 24px 12px; }
.hb-steps .hb-chat__steps { grid-template-columns: repeat(4, 1fr); margin: 0; }
.hb-steps .hb-chat__steps li { min-width: 0; font-size: 12px; text-align: center; }
.hb-steps .hb-chat__steps button { max-width: 100%; }
.hb-steps .hb-chat__steps button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.hb-steps .hb-chat__steps button:hover { text-decoration: underline; }
.hb-steps__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 28px 20px;
}
.hb-steps__foot {
  flex-shrink: 0;
  padding: 12px 28px 14px;
  border-top: 1px solid var(--hb-line);
  background: #fff;
  box-shadow: 0 -8px 16px -12px rgba(62, 58, 57, 0.25);
}
.hb-steps__foot-row { display: flex; gap: 10px; align-items: stretch; }
.hb-steps__foot .hb-chat__submit { flex: 1; margin: 0; padding: 15px 12px; font-size: 16px; }
/* ボタンの文字はサイト側の指定で左に寄るので、中央にそろえる（2026-11-05 小嶋さんのコメント） */
.hb-chat__submit { display: flex; align-items: center; justify-content: center; text-align: center; }
.hb-steps__back {
  flex-shrink: 0;
  padding: 0 18px;
  border: 2px solid var(--hb-line);
  border-radius: 999px;
  background: #fff;
  font: 700 14px/1 var(--hb-font-ja);
  color: var(--hb-ink);
  cursor: pointer;
}
.hb-steps__back:hover { border-color: var(--hb-yellow); }
.hb-steps__foot-note { margin: 8px 0 0; font-size: 11px; line-height: 1.6; color: var(--hb-ink-sub); text-align: center; }
.hb-steps__foot-note a { display: inline !important; margin-left: 4px; text-decoration: underline; }
.hb-steps__foot-note:empty { display: none; }
.hb-steps__foot .hb-chat__error { margin: 6px 0 0; text-align: center; }

.hb-steps__title h2 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.45; }
.hb-steps__title p { margin: 4px 0 0; font-size: 12px; line-height: 1.6; color: var(--hb-ink-sub); }

/* STEP 1 店舗：写真なしの小さなボタンで、全店舗が1画面に並ぶようにする */
.hb-steps__group { margin: 14px 0 6px; font-size: 12px; font-weight: 700; color: var(--hb-ink-sub); }
.hb-steps__stores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.hb-steps__store {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 46px;
  padding: 4px 6px;
  border: 2px solid var(--hb-line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--hb-font-ja);
  color: var(--hb-ink);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.hb-steps__store:hover { border-color: var(--hb-yellow); }
.hb-steps__store.is-selected { border-color: var(--hb-cta); background: #fff4ec; box-shadow: 0 0 0 2px rgba(234, 91, 2, 0.15); }
.hb-steps__store b { font-size: 14px; line-height: 1.3; }
.hb-steps__store small { font-size: 10px; line-height: 1.3; color: var(--hb-ink-sub); }
/* 店舗名・駅は途中で折り返さない（折り返すとボタンの高さがそろわない） */
.hb-steps__store b, .hb-steps__store small { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* 「代々木上原ANNEX」は1行に入らないので、ANNEX の前で2行に分ける */
.hb-steps__store.is-long b { white-space: normal; font-size: 13px; line-height: 1.15; }
.hb-steps__store.is-long b span { display: block; font-size: 11px; letter-spacing: 0.04em; }

/* STEP 2 お客様情報：見出しを左に置いて縦を詰める */
.hb-steps__fields { display: grid; gap: 12px; margin-top: 16px; }
.hb-steps__field { display: grid; grid-template-columns: 9em minmax(0, 1fr); align-items: center; column-gap: 12px; }
.hb-steps__field > :not(.hb-steps__label) { grid-column: 2; }
/* iPhone（Safari）は入力欄の既定の幅より列を狭くしないので、枠の右へはみ出していた（2026-11-24 本番で発覚）。列と中身の最小幅を0に */
.hb-steps__field > * { min-width: 0; }
.hb-steps__label { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 700; }
.hb-steps__label em, .hb-steps__slot-head em {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--hb-cta);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}
.hb-steps .hb-chat__text.is-narrow input { flex: 0 0 110px; }
.hb-steps .hb-chat__error { margin: 4px 0 0; font-size: 12px; }
.hb-steps .hb-chat__error:empty { display: none; }
.hb-steps__seg { display: flex; gap: 8px; }
.hb-steps__seg-item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  min-height: 48px;
  padding: 6px;
  border: 2px solid var(--hb-line);
  border-radius: 12px;
  background: #fff;
  font: 700 14px/1.3 var(--hb-font-ja);
  color: var(--hb-ink);
  cursor: pointer;
}
.hb-steps__seg-item.is-selected { border-color: var(--hb-yellow); background: var(--hb-yellow-soft); }

/* STEP 3 希望日程：第一〜第三希望はタブにして、開いている1つだけ日付と時間を出す */
.hb-steps__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.hb-steps__tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 7px 10px;
  border: 2px solid var(--hb-line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--hb-font-ja);
  color: var(--hb-ink);
  text-align: left;
  cursor: pointer;
}
.hb-steps__tab .hb-steps__slot-head { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; max-width: 100%; font-size: 12px; }
.hb-steps__tab .hb-steps__slot-head b { white-space: nowrap; }
.hb-steps__tab .hb-steps__slot-head em { flex: none; white-space: nowrap; }
@media (max-width: 767px) {
  /* スマホで「必須」「任意」が切れないように、枠の余白と文字を詰める（2026-11-18） */
  .hb-steps__tab { padding: 6px 7px; }
  .hb-steps__tab .hb-steps__slot-head { gap: 2px 4px; font-size: 11px; }
  .hb-steps__tab .hb-steps__slot-head em { padding: 1px 4px; font-size: 9px; }
  .hb-steps__tab > span { font-size: 12px; }
}
.hb-steps__slot-head em.is-optional { background: #9a9491; }
.hb-steps__tab > span { max-width: 100%; overflow: hidden; font-size: 13px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; color: var(--hb-ink-sub); }
.hb-steps__tab.is-filled > span { color: var(--hb-ink); }
.hb-steps__tab.is-filled { background: var(--hb-bg-alt); border-color: transparent; }
.hb-steps__tab.is-open { border-color: var(--hb-cta); background: #fff4ec; }
.hb-steps__editor { margin-top: 12px; }
.hb-steps__editor .hb-chat__days { gap: 5px; }
.hb-steps__editor .hb-chat__day { min-width: 0; padding: 4px 0; }
.hb-steps__editor .hb-chat__chip.is-selected { border-color: var(--hb-cta); background: var(--hb-cta); color: #fff; }
.hb-steps__editor .hb-chat__chip.is-selected small, .hb-steps__editor .hb-chat__chip.is-selected span { color: #fff; }
.hb-steps__editor .hb-chat__more { margin-top: 6px; font-size: 12px; }
.hb-steps__times { margin-top: 10px; }
.hb-steps__times-label { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.hb-steps__times-label small { margin-left: 8px; font-size: 11px; font-weight: 500; color: var(--hb-ink-sub); }
.hb-steps__times .hb-chat__choices { display: grid; gap: 6px; }
.hb-steps__times .hb-chat__chip { min-width: 0; min-height: 38px; padding: 4px 0; justify-content: center; font-size: 14px; }
.hb-steps__times-empty { margin: 10px 0 0; font-size: 13px; color: var(--hb-ink-sub); }
.hb-steps__call { margin: 14px 0 0; font-size: 12px; color: var(--hb-ink-sub); text-align: center; }
.hb-steps__call button { padding: 0; border: 0; background: none; font: 700 12px/1.6 var(--hb-font-ja); color: var(--hb-ink); text-decoration: underline; cursor: pointer; }

/* STEP 4 確認 */
.hb-steps__summary { margin: 14px 0 0; }
.hb-steps__summary div { display: grid; grid-template-columns: 7em 1fr auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--hb-line); font-size: 13px; }
.hb-steps__summary dt { color: var(--hb-ink-sub); font-weight: 700; }
.hb-steps__summary dd { margin: 0; font-weight: 700; word-break: break-all; }
.hb-steps__summary button { padding: 0; border: 0; background: none; font-size: 11px; color: var(--hb-ink-sub); text-decoration: underline; cursor: pointer; }
.hb-steps .hb-chat__note { margin-top: 12px; font-size: 12px; }
.hb-steps .hb-chat__note textarea { padding: 8px 10px; }
.hb-steps .hb-chat__agree { margin-top: 12px; }

.hb-steps__done { display: grid; gap: 12px; font-size: 14px; line-height: 1.8; }
.hb-steps__done p { margin: 0; }
.hb-steps__done-title { font-size: 19px; font-weight: 800; }
.hb-steps__done-store small { display: block; font-size: 13px; color: var(--hb-ink-sub); }
.hb-steps__demo { font-size: 13px; color: var(--hb-ink-sub); }

@media (max-width: 767px) {
  /* スマホ：フォームを先に出し（画面の高さぴったり）、訴求・口コミ・会員さまの変化はその下へ */
  .hb-resv--steps { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 0; }
  /* フォームを最初の画面に収めたいので、パンくずは出さない */
  .hb-steps-on .p-breadcrumbs { display: none; }
  .hb-resv--steps .hb-steps { order: 1; border-radius: 14px; }
  .hb-resv--steps .hb-resv__aside--light { order: 2; padding: 0; }
  .hb-resv__aside--light .hb-resv__eyebrow,
  .hb-resv__aside--light .hb-resv__title,
  .hb-resv__aside--light .hb-resv__points,
  .hb-resv__aside--light .hb-resv__flow { display: revert; }
  .hb-resv__aside--light .hb-resv__flow { display: flex; }
  .hb-resv__aside--light .hb-resv__title { font-size: 24px; }
  .hb-resv__lead { font-size: 14px; }
  .hb-steps__head { padding: 10px 12px 8px; }
  .hb-steps .hb-chat__steps li { font-size: 10px; }
  .hb-steps .hb-chat__steps li span { width: 20px; height: 20px; font-size: 11px; }
  .hb-steps__body { padding: 14px 14px 16px; }
  .hb-steps__foot { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .hb-steps__foot .hb-chat__submit { padding: 14px 10px; font-size: 15px; }
  .hb-steps__back { padding: 0 14px; font-size: 13px; }
  .hb-steps__title h2 { font-size: 17px; }
  .hb-steps__stores { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hb-steps__store { min-height: 44px; padding: 4px; }
  .hb-steps__store small { display: none; }
  .hb-steps__store b { font-size: 13px; }
  .hb-steps__group { margin: 10px 0 4px; }
  .hb-steps__field { grid-template-columns: 7.2em minmax(0, 1fr); column-gap: 8px; } /* 7.2em：「メールアドレス」が1行に入る幅 */
  .hb-steps__label { font-size: 13px; gap: 4px; }
  .hb-steps__fields { gap: 10px; }
  .hb-steps__seg { gap: 4px; }
  .hb-steps__seg-item { min-height: 46px; padding: 4px 2px; font-size: 12px; }
  .hb-steps__tab { padding: 6px 8px; }
  .hb-steps__tab > span { font-size: 12px; }
  /* 日付は2週間を横1列に並べて、横に送って選ぶ */
  .hb-steps__editor .hb-chat__days { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .hb-steps__editor .hb-chat__day { flex: 0 0 calc((100% - 24px) / 7); scroll-snap-align: start; }
  .hb-steps__times .hb-chat__choices { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .hb-steps__times .hb-chat__chip { min-height: 36px; font-size: 13px; }
  .hb-steps__summary div { grid-template-columns: 6em 1fr auto; font-size: 12px; }
}

/* ==========================================================
   2026-11-04 追加：日程の〇△×カレンダー（assets/js/reserve-cal.js）
   ステップ入力・チャットの両方で使う。A/Bテストの「あり」の組だけ出る
   ========================================================== */
.hb-cal { --hb-o: #1f9d6b; --hb-t: #e08a00; --hb-x: #b0aaa6; }
.hb-cal__head, .hb-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hb-cal__head span { font-size: 11px; font-weight: 700; text-align: center; color: var(--hb-ink-sub); }
.hb-cal__head .is-sat { color: #2d6fc4; }
.hb-cal__head .is-sun { color: #d23b2a; }
.hb-cal__grid { margin-top: 4px; }
.hb-cal__day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 2px 0;
  border: 1.5px solid var(--hb-line);
  border-radius: 10px;
  background: #fff;
  font-family: var(--hb-font-en);
  color: var(--hb-ink);
  line-height: 1.1;
  cursor: pointer;
}
.hb-cal__day small { font-size: 0.75em; color: inherit; }
.hb-cal__day b { font-size: 15px; }
.hb-cal__day i { font: 700 12px/1.2 var(--hb-font-ja); font-style: normal; }
.hb-cal__day.is-o i, .hb-cal__legend .is-o { color: var(--hb-o); }
.hb-cal__day.is-t i, .hb-cal__legend .is-t { color: var(--hb-t); }
.hb-cal__day.is-x i, .hb-cal__legend .is-x { color: var(--hb-x); }
.hb-cal__day.is-sat b { color: #2d6fc4; }
.hb-cal__day.is-hol b { color: #d23b2a; }
.hb-cal__day:hover:not(:disabled) { border-color: var(--hb-yellow); background: var(--hb-yellow-soft); }
.hb-cal__day:disabled { cursor: default; background: #f6f4f2; }
.hb-cal__day.is-out { border-color: transparent; background: none; color: #d6d1cc; }
.hb-cal__day.is-x b { color: var(--hb-x); }
.hb-cal__day.is-selected { border-color: var(--hb-cta); background: var(--hb-cta); }
.hb-cal__day.is-selected b, .hb-cal__day.is-selected i, .hb-cal__day.is-selected small { color: #fff; }
.hb-cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 6px 0 0; font-size: 11px; color: var(--hb-ink-sub); }
.hb-cal__legend i { margin-right: 2px; font-style: normal; font-weight: 700; }
.hb-cal__legend .hb-chat__more { margin: 0 0 0 auto; }
/* 時間のボタンの印 */
/* 印は時間の下に置く（横に並べるとボタンの幅に収まらない） */
.hb-cal__time { flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.1; }
.hb-cal__time i { display: block; font-size: 10px; line-height: 1; font-style: normal; font-weight: 700; }
.hb-cal__time.is-o i { color: #1f9d6b; }
.hb-cal__time.is-t i { color: #e08a00; }
.hb-cal__time.is-x { color: #b0aaa6; text-decoration: line-through; opacity: 1 !important; background: #f6f4f2; }
.hb-cal__time.is-x i { color: #b0aaa6; }
.hb-cal__time.is-selected i { color: #fff; }
.hb-steps__times .hb-cal__time { padding: 2px 0; }
/* チャットの中では吹き出しの幅に合わせる */
.hb-chat__controls--cal { max-width: 420px; }
@media (max-width: 767px) {
  .hb-cal__day { min-height: 38px; }
  .hb-cal__day b { font-size: 14px; }
  .hb-steps__editor.has-cal + .hb-steps__times, .hb-steps__editor.has-cal .hb-steps__times { margin-top: 8px; }
  .hb-steps__editor.has-cal .hb-steps__times .hb-chat__choices { grid-template-columns: repeat(5, 1fr); }
}

/* =========================================================
   2026-11-16 日程の週の表（reserve-cal.js の week）
   Googleカレンダーの週表示のように、縦に時間・横に日付。マスは〇か×
   ========================================================= */
.hb-week { --hb-o: #1f9d6b; --hb-x: #b0aaa6; }
.hb-week__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.hb-week__nav b { font-size: 14px; font-weight: 800; color: var(--hb-ink); white-space: nowrap; }
.hb-week__nav button {
  padding: 6px 12px;
  border: 1px solid var(--hb-line, #e5e1dc);
  border-radius: 999px;
  background: #fff;
  font: 700 12px/1 var(--hb-font-ja);
  color: var(--hb-ink);
  cursor: pointer;
  white-space: nowrap;
}
.hb-week__nav button:hover:not(:disabled) { border-color: var(--hb-yellow); background: var(--hb-yellow-soft); }
.hb-week__nav button:disabled { opacity: 0.35; cursor: default; }
.hb-week__scroll {
  max-height: min(460px, calc(var(--hb-steps-h, 700px) - 385px));
  min-height: 240px;
  overflow: auto;
  border: 1px solid var(--hb-line, #e5e1dc);
  border-radius: 10px;
  background: #fff;
}
.hb-week__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.hb-week__table th, .hb-week__table td { padding: 0; vertical-align: middle; border-bottom: 1px solid #f0ece8; border-left: 1px solid #f0ece8; text-align: center; }
.hb-week__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 6px 0 5px;
  background: #faf8f6;
  font-weight: 700;
  line-height: 1.15;
}
.hb-week__table thead th small { display: block; font-size: 11px; color: var(--hb-ink-sub); }
.hb-week__table thead th b { font-size: 16px; color: var(--hb-ink); }
.hb-week__table thead th em { font-style: normal; font-size: 0.7em; }
.hb-week__table thead .is-sat small, .hb-week__table thead .is-sat b { color: #2d6fc4; }
.hb-week__table thead .is-sun small, .hb-week__table thead .is-sun b { color: #d23b2a; }
.hb-week__corner, .hb-week__table tbody th { width: 52px; border-left: 0 !important; }
.hb-week__table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #faf8f6;
  font: 700 12px/1 var(--hb-font-en);
  color: var(--hb-ink-sub);
}
.hb-week__table thead .hb-week__corner { left: 0; z-index: 3; }
.hb-week__cell {
  display: grid;
  place-items: center;
  width: 100%;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  font: 700 15px/1 var(--hb-font-ja);
  cursor: pointer;
}
.hb-week__cell.is-o { color: var(--hb-o); }
.hb-week__cell.is-o:hover { background: var(--hb-yellow-soft); }
.hb-week__cell.is-x { color: var(--hb-x); background: #f6f4f2; cursor: default; }
.hb-week__cell.is-selected { background: var(--hb-cta); color: #fff; font-size: 12px; }
.hb-week__cell.is-taken { background: #fde7d8; color: var(--hb-cta); font-size: 12px; cursor: default; }
.hb-week__table td.is-na { height: 34px; background: #f6f4f2; color: #cfc9c3; font-size: 12px; }
.hb-week .hb-cal__legend .is-o { color: var(--hb-o); }
.hb-week .hb-cal__legend .is-x { color: var(--hb-x); }
@media (max-width: 767px) {
  .hb-week__nav b { font-size: 12px; }
  .hb-week__nav button { padding: 6px 9px; font-size: 11px; }
  .hb-week__scroll { max-height: min(440px, calc(var(--hb-steps-h, 640px) - 280px)); }
  .hb-week__corner, .hb-week__table tbody th { width: 42px; font-size: 11px; }
  .hb-week__table thead th b { font-size: 14px; }
  .hb-week__cell, .hb-week__table td.is-na { height: 32px; }
}

/* =========================================================
   2026-11-23 代表「背景が全黄色だから、白背景にしたい。」
   新フォーム（ステップ式）が出ているときだけ、予約ページの地を黄色から白に。
   今のフォーム（hb-steps-on が付かない）とチャットの窓の中は変えない。部品の色はそのまま
   ========================================================= */
html.hb-steps-on body { background-color: #fff; }
/* 白地の上でフォームの白いカードが埋もれないよう、薄い枠線を足す（影は元のまま） */
html.hb-steps-on .hb-steps { border: 1px solid var(--hb-line); }
