/* ==========================================================================
   rh-form.css — お問い合わせ系ページとフォーム部品
   Figma: 05〜09（355:5805 ほか）。フォームカード 355:6044
   書体はデザインの Inter（取り込み時の名残）ではなく、本文と同じゴシックにしている
   ========================================================================== */

/* ---------- 窓口カード（05 の4枚）---------- */
html .rh-desks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
html .rh-desk {
  position: relative; display: flex; flex-direction: column; align-items: center;
  height: 329px; padding: 192px 16px 0; overflow: hidden;
  border-radius: var(--rh-r-card); background: var(--rh-soft); color: var(--rh-link); text-align: center;
  transition: background-color .2s;
}
html .rh-desk:hover { background: #e2edf7; }   /* 浮く動きはやめて、背景の色だけ */
html .rh-desk__photo { position: absolute; top: 0; left: 0; width: 100%; height: 156px; object-fit: cover; }
html .rh-desk__icon { position: absolute; top: 129px; left: 50%; transform: translateX(-50%); width: 54px; height: 54px; }
html .rh-desk__lead { margin-top: 6px; color: var(--rh-card-lead); font-size: 12px; line-height: 20px; }
/* 見出し（窓口名）を先、説明を後に */
html .rh-desk__name { order: -1; font-size: 22px; font-weight: 700; line-height: 1.5; }
html .rh-desk .rh-arrow-circle { position: absolute; right: 13px; bottom: 13px; width: 28px; height: 28px; }

html .rh-others { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
html .rh-others__title { font-size: 16px; font-weight: 700; color: #233b50; }
html .rh-others__links { display: flex; gap: 17px; }
html .rh-others__links .rh-linkcard { width: 351px; }

/* ---------- 電話カード ---------- */
html .rh-tels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; }
html .rh-tels--single { grid-template-columns: minmax(0, 560px); }
html .rh-tel {
  padding: 26px 32px; border: 1px solid var(--rh-line); border-radius: var(--rh-r-card);
}
html .rh-tel__label { font-size: 16px; font-weight: 400; color: var(--rh-text); }
html .rh-tel__row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
html .rh-tel__row img { width: 46px; height: 46px; }
html .rh-tel__num { font-family: var(--rh-en-sans); font-size: 32px; font-weight: 500; letter-spacing: 1px; color: var(--rh-black); line-height: 1.2; }
html .rh-tel__hours { display: block; font-size: 11px; color: var(--rh-gray); margin-top: 2px; }

/* ---------- フォームの帯（グレー）とカード ---------- */
html .rh-formband { margin-top: 100px; padding: 80px 0 100px; background: var(--rh-pale); }
html .rh-formband--flat { margin-top: 56px; background: none; padding-top: 0; }
/* 10/4：説明・電話のすぐ下にフォーム（上の余白を詰める）。物件の申し込みはパンくずのすぐ下 */
html .rh-pagehead + .rh-formband { margin-top: 56px; }
html .rh-pagehead--tel .rh-tels { margin-top: 20px; }
html .rh-crumbs + .rh-formband--flat { margin-top: 16px; }
html .rh-formhead { max-width: 720px; margin: 0 auto 32px; }
html .rh-formhead__en { color: var(--rh-blue); font-family: var(--rh-en-sans); font-size: 11px; font-weight: 300; letter-spacing: 1.9px; text-transform: uppercase; }
html .rh-formhead__title { margin-top: 12px; font-family: var(--rh-serif); font-size: 28px; font-weight: 500; line-height: 1.6; letter-spacing: 1.2px; }
html .rh-formhead__lead { margin-top: 6px; color: var(--rh-gray); font-size: 14px; line-height: 1.8; }

html .rh-formcard {
  max-width: 720px; margin: 0 auto; padding: 36px 40px 40px;
  background: var(--rh-white); border: 1px solid var(--rh-line-2);
}

/* 進み具合 */
html .rh-steps { display: flex; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid var(--rh-line-2); }
html .rh-steps li { display: flex; align-items: center; gap: 8px; color: var(--rh-gray); font-size: 11px; line-height: 19.8px; }
html .rh-steps li::before {
  content: attr(data-n); display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--rh-line);
  font-size: 10px; line-height: 1;
}
html .rh-steps li.is-current { color: var(--rh-blue); font-weight: 700; }
html .rh-steps li.is-current::before { background: var(--rh-blue); border-color: var(--rh-blue); color: var(--rh-white); }
html .rh-steps li.is-done::before { border-color: var(--rh-blue); color: var(--rh-blue); }

/* セクション */
html .rh-fsec { padding: 32px 0; }
html .rh-fsec + .rh-fsec { border-top: 1px solid var(--rh-line-2); padding-top: 30px; }
html .rh-fsec__title { font-size: 19px; font-weight: 700; line-height: 32.3px; color: var(--rh-text); }
html .rh-fsec[hidden] { display: none; }

/* 項目 */
html .rh-field { margin-top: 26px; border: 0; padding: 0; min-width: 0; }
html .rh-field[hidden] { display: none; }
html .rh-field__label, html .rh-field > legend {
  display: flex; align-items: center; gap: 8px; padding: 0;
  font-size: 13px; font-weight: 700; line-height: 23.4px; color: var(--rh-text);
}
/* 必須＝赤地に白文字、任意＝グレーの枠（必須が分かりにくい） */
html .rh-req, html .rh-opt { display: inline-block; padding: 2px 7px; border: 1px solid transparent; border-radius: 2px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .05em; white-space: nowrap; }
html .rh-req { background: #d23a32; border-color: #d23a32; color: var(--rh-white); }
html .rh-opt { border-color: #b9c2cb; color: var(--rh-gray); font-weight: 500; }
html .rh-field__note { margin-top: 7px; color: var(--rh-gray); font-size: 11px; line-height: 19.8px; }
html .rh-field > legend + .rh-field__note { margin-top: 0; margin-bottom: 0; }
html .rh-field__control { margin-top: 10px; }

html .rh-input, html .rh-select, html .rh-textarea {
  width: 100%; min-height: 50px; padding: 12px 13px;
  border: 1px solid var(--rh-line); border-radius: var(--rh-r-input);
  background: var(--rh-white); color: var(--rh-text);
  font: inherit; font-size: 15px; line-height: 24px;
  transition: border-color .2s, box-shadow .2s;
}
html .rh-input::placeholder, html .rh-textarea::placeholder { color: var(--rh-placeholder); }
html .rh-input:focus, html .rh-select:focus, html .rh-textarea:focus { outline: 0; border-color: var(--rh-blue); box-shadow: 0 0 0 3px rgba(0, 84, 166, .12); }
html .rh-input--zip { max-width: 220px; }
html .rh-textarea { min-height: 125px; resize: vertical; }
html .rh-select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--rh-white) url(../img/icon/chevron-down.svg) right 17px center / 10px 6px no-repeat;
}
html .rh-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* 選択肢タイル（チェック・ラジオ） */
html .rh-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
html .rh-choices--3 { grid-template-columns: repeat(3, 1fr); }
html .rh-choices--1 { grid-template-columns: 1fr; }
html .rh-choice {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 57px; padding: 14px;
  border: 1px solid var(--rh-line-2); background: var(--rh-white);
  font-size: 12px; font-weight: 500; line-height: 21.6px; color: var(--rh-text);
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
html .rh-choice input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--rh-blue); }
html .rh-choice:hover { border-color: var(--rh-line-blue); }
html .rh-choice:has(input:checked) { border-color: var(--rh-blue); background: var(--rh-soft); }
html .rh-choice small { display: block; color: var(--rh-gray); font-size: 11px; font-weight: 400; line-height: 1.5; }
html .rh-choice--full { grid-column: 1 / -1; }   /* 「まだ決めていない」など、1行全部を使う選択肢 */
/* 来場予定人数：大人・お子様の小見出し。SP でも2列のまま */
html .rh-field__label--sub { font-weight: 500; }

/* 開閉（第2希望など） */
html .rh-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  margin-top: 26px; padding: 14px 0; border-top: 1px dashed var(--rh-line); border-bottom: 1px dashed var(--rh-line);
  font-size: 14px; font-weight: 400; color: var(--rh-link);
}
html .rh-toggle span { color: var(--rh-gray); font-size: 10px; font-weight: 400; }
html .rh-toggle span::after { content: " ＋"; color: var(--rh-blue); font-size: 14px; }
html .rh-toggle[aria-expanded="true"] span::after { content: " －"; }

/* お知らせ枠 */
html .rh-notice { margin-top: 20px; padding: 14px 16px; background: var(--rh-pale); color: var(--rh-text); font-size: 12px; line-height: 1.8; }
html .rh-notice--line { background: var(--rh-soft); border-left: 3px solid var(--rh-blue); }

/* ファイル添付 */
html .rh-file { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 14px 16px; background: var(--rh-pale); font-size: 12px; color: var(--rh-gray); }
html .rh-file__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--rh-blue); border-radius: var(--rh-r-btn); background: var(--rh-white); color: var(--rh-blue); font-size: 13px; font-weight: 700; cursor: pointer; }
html .rh-file__btn:focus-within { outline: 2px solid var(--rh-blue); outline-offset: 2px; }
html .rh-field__note--lead { margin: 0 0 10px; color: var(--rh-link); }
html .rh-choice:has(input:checked) { color: var(--rh-link); }

/* 同意・送信 */
html .rh-agree { display: flex; align-items: flex-start; gap: 10px; padding-top: 27px; border-top: 1px solid var(--rh-line-2); font-size: 12px; line-height: 24px; }
html .rh-agree input { width: 16px; height: 16px; margin-top: 4px; accent-color: var(--rh-blue); }
html .rh-agree a, html .rh-agree button { color: var(--rh-blue); text-decoration: underline; }
html .rh-submit {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 60px; margin-top: 27px; padding: 17px 22px;
  background: var(--rh-blue); border: 1px solid var(--rh-blue); border-radius: var(--rh-r-input);
  color: var(--rh-white); font-size: 13px; font-weight: 700;
  transition: background-color .2s;
}
html .rh-submit::after { content: "→"; font-size: 20px; font-weight: 400; }
html .rh-submit:hover { background: #00478d; }
html .rh-submit:disabled { opacity: .5; cursor: default; }
html .rh-back { display: block; margin: 16px auto 0; color: var(--rh-ink); font-size: 13px; text-decoration: underline; }

/* エラー表示（デザインに無いので、トークンから） */
html .rh-field.is-error .rh-input,
html .rh-field.is-error .rh-select,
html .rh-field.is-error .rh-textarea { border-color: #c4413a; }
html .rh-choice--plain { min-height: 0; padding: 0; border: 0; background: none; }
html .rh-field.is-error .rh-choice { border-color: #e4b7b4; }
html .rh-error { margin-top: 6px; color: #c4413a; font-size: 12px; line-height: 1.6; }
html .rh-error:empty { display: none; }
html .rh-form-error { margin-top: 18px; padding: 12px 14px; background: #fbefee; color: #a33a34; font-size: 13px; }
html .rh-form-error[hidden] { display: none; }

/* 確認画面 */
html .rh-confirm__title { margin-top: 30px; font-size: 19px; font-weight: 700; }
html .rh-confirm dl { margin: 18px 0 0; }
html .rh-confirm dt { padding-top: 18px; color: var(--rh-gray); font-size: 11px; }
html .rh-confirm dd { margin: 4px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--rh-line-2); font-size: 15px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }

/* 完了画面 */
html .rh-done { text-align: center; padding: 30px 0 10px; }
html .rh-done__check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border: 1px solid var(--rh-blue); border-radius: 50%; color: var(--rh-blue); font-size: 26px; }
html .rh-done__title { margin-top: 22px; font-family: var(--rh-serif); font-size: 32px; font-weight: 500; letter-spacing: 2px; line-height: 1.5; }
html .rh-done__text { margin-top: 18px; color: var(--rh-text); font-size: 14px; line-height: 1.9; }
html .rh-done__btns { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
html .rh-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 64px; padding: 0 22px; border: 1px solid var(--rh-dark); border-radius: var(--rh-r-btn);
  font-size: 15px; font-weight: 700; color: var(--rh-dark); background: var(--rh-white);
}
html .rh-btn::after { content: "↗"; font-weight: 400; }
html .rh-btn--primary { background: var(--rh-blue); border-color: var(--rh-blue); color: var(--rh-white); }

/* フォーム下の誘導 */
html .rh-formfoot { max-width: 720px; margin: 28px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; }
html .rh-formfoot a { color: var(--rh-blue); font-weight: 700; }

/* 来場予約（06）の振り分けカード */
html .rh-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 29px; margin-top: 48px; }
html .rh-route { overflow: hidden; border-radius: var(--rh-r-card); background: var(--rh-soft); }
html .rh-route__photo { display: block; width: 100%; height: 230px; object-fit: cover; }
html .rh-route__body { position: relative; padding: 46px 34px 36px; text-align: center; }
html .rh-route__icon { position: absolute; top: -29px; left: 50%; transform: translateX(-50%); width: 58px; height: 58px; }
html .rh-route__lead { color: var(--rh-card-lead); font-size: 13px; }
html .rh-route__name { margin-top: 4px; color: var(--rh-link); font-size: 24px; font-weight: 700; }
html .rh-route__btns { display: grid; justify-items: center; gap: 10px; margin-top: 22px; }
html .rh-route__btns a {
  display: flex; align-items: center; justify-content: space-between;
  width: min(248px, 100%); min-height: 60px; padding: 0 28px 0 32px; background: var(--rh-blue); color: var(--rh-white);
  border-radius: var(--rh-r-btn); font-size: 14px; font-weight: 700;
}
html .rh-route__btns a::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* 物件フォームの左カラム（対象物件） */
html .rh-formlayout { display: grid; grid-template-columns: 300px minmax(0, 720px); gap: 48px; justify-content: center; }
html .rh-formlayout > .rh-formcard { width: 100%; }   /* margin: 0 auto のままだとグリッドの中で中身の幅に縮む（資料請求だけを選んだとき） */
html .rh-target { position: sticky; top: calc(var(--rh-header-h) + 20px); align-self: start; }
html .rh-target__title { font-family: var(--rh-serif); font-size: 24px; line-height: 1.6; }
html .rh-target__list { margin-top: 18px; display: grid; gap: 12px; }
html .rh-target__item { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--rh-line-2); }
html .rh-target__item img { width: 96px; height: 68px; object-fit: cover; border-radius: 3px; }
html .rh-target__item small { display: block; color: var(--rh-gray); font-size: 11px; }
html .rh-target__item strong { display: block; font-size: 14px; }
html .rh-target__item span { display: block; color: var(--rh-gray); font-size: 12px; }
html .rh-target__note { margin-top: 10px; color: var(--rh-gray); font-size: 12px; line-height: 1.7; }
html .rh-target__edit { margin-top: 14px; }
/* 対象物件を変更する一覧：物件が20件並んでも長くならないよう、高さに上限を付けて中でスクロール */
html .rh-target__edit .rh-choices { max-height: 360px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
html .rh-target__edit summary { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--rh-link); font-size: 13px; cursor: pointer; list-style: none; }
html .rh-target__edit summary::-webkit-details-marker { display: none; }
html .rh-target__edit summary::after { content: "＋"; font-size: 12px; }
html .rh-target__edit[open] summary::after { content: "−"; }
html .rh-target__edit .rh-choices { margin-top: 12px; }
html .rh-target__note { margin-top: 16px; }

/* 資料の紹介（materials） */
html .rh-mats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
html .rh-mat { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px; border: 1px solid var(--rh-line-2); background: var(--rh-white); }
html .rh-mat--feature { grid-column: 1 / -1; grid-template-columns: 260px 1fr; background: var(--rh-soft); border-color: var(--rh-line); }
html .rh-mat__cover { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 14px; background: var(--rh-blue); color: var(--rh-white); }
html .rh-mat__cover span { font-family: var(--rh-en-sans); font-size: 9px; letter-spacing: 1.5px; }
html .rh-mat__cover strong { font-family: var(--rh-serif); font-size: 16px; line-height: 1.6; }
html .rh-mat__cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
html .rh-mat__en { color: var(--rh-blue); font-family: var(--rh-en-sans); font-size: 11px; letter-spacing: 1.5px; }
html .rh-mat__name { margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--rh-dark); }
html .rh-mat__lead { margin-top: 6px; font-size: 13px; color: var(--rh-text); line-height: 1.8; }
html .rh-mat ul { margin-top: 10px; display: grid; gap: 4px; }
html .rh-mat li { font-size: 12px; color: var(--rh-gray); padding-left: 14px; position: relative; }
html .rh-mat li::before { content: "・"; position: absolute; left: 0; }
html .rh-mat__select { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--rh-blue); color: var(--rh-blue); font-size: 13px; font-weight: 700; cursor: pointer; }
html .rh-mat__select input { accent-color: var(--rh-blue); }
html .rh-mat:has(input:checked) { border-color: var(--rh-blue); box-shadow: inset 0 0 0 1px var(--rh-blue); }
html .rh-matbar { position: sticky; bottom: 0; z-index: 5; margin-top: 32px; padding: 18px 0; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--rh-line); }
html .rh-matbar .rh-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
html .rh-matbar p { font-size: 14px; font-weight: 700; }
html .rh-matbar .rh-submit { width: auto; min-width: 320px; margin: 0; }

/* ==========================================================================
   SP
   ========================================================================== */
@media (max-width: 1100px) {
  html .rh-desks { grid-template-columns: repeat(2, 1fr); }
  html .rh-others { flex-direction: column; align-items: flex-start; }
  html .rh-formlayout { grid-template-columns: 1fr; }
  html .rh-target { position: static; }
}
@media (max-width: 767px) {
  html .rh-desks { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  html .rh-desk { height: 236px; padding: 114px 6px 0; }
  html .rh-desk__photo { height: 90px; }
  html .rh-desk__icon { top: 66px; width: 44px; height: 44px; }
  html .rh-desk__lead { margin-top: 4px; font-size: 12px; line-height: 1.6; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
  html .rh-desk__lead br { display: none; } /* SP は <br> の代わりに <wbr> の位置で折る（見出しと同じく単語の途中で折らない） */
  html .rh-desk__name { font-size: 16px; }
  html .rh-desk .rh-arrow-circle { width: 22px; height: 22px; right: 8px; bottom: 8px; font-size: 10px; }
  html .rh-others__links { flex-direction: column; width: 100%; }
  html .rh-others__links .rh-linkcard { width: 100%; }
  html .rh-tels { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  html .rh-tel { padding: 18px 18px; }
  html .rh-tel__num { font-size: 26px; }
  html .rh-tel__row img { width: 38px; height: 38px; }
  html .rh-formband { margin-top: 56px; padding: 48px 0 56px; }
  html .rh-pagehead + .rh-formband { margin-top: 32px; padding-top: 32px; }
  html .rh-pagehead--tel .rh-tels { margin-top: 14px; }
  html .rh-crumbs + .rh-formband--flat { margin-top: 8px; padding-top: 0; }
  html .rh-formhead__title { font-size: 22px; }
  html .rh-formcard { padding: 24px 18px 28px; }
  html .rh-steps li { font-size: 10px; gap: 5px; }
  html .rh-choices, html .rh-choices--3 { grid-template-columns: 1fr; }
  html .rh-row2 { grid-template-columns: 1fr; }
  html .rh-row2--keep { grid-template-columns: 1fr 1fr; }
  html .rh-routes { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  html .rh-route__photo { height: 150px; }
  html .rh-route__body { padding: 40px 18px 24px; }
  html .rh-done__title { font-size: 24px; }
  html .rh-mats { grid-template-columns: 1fr; }
  html .rh-mat, html .rh-mat--feature { grid-template-columns: 1fr; }
  html .rh-mat__cover { max-width: 200px; }
  html .rh-matbar .rh-inner { flex-direction: column; align-items: stretch; }
  html .rh-matbar .rh-submit { min-width: 0; }
}

/* 個人情報の取り扱い（ダイアログ） */
html .rh-privacy { max-width: 560px; width: calc(100% - 32px); padding: 32px; border: 0; border-radius: var(--rh-r-card); color: var(--rh-text); font-size: 14px; line-height: 1.9; }
html .rh-privacy::backdrop { background: rgba(18, 53, 84, .5); }
html .rh-privacy h2 { font-family: var(--rh-serif); font-size: 22px; font-weight: 500; margin-bottom: 12px; }
html .rh-privacy p + p { margin-top: 10px; }

/* 画面切り替え後のスクロール位置（固定ヘッダーの分あける） */
html [data-rh-form-root] { scroll-margin-top: calc(var(--rh-header-h) + 24px); }

/* ---------- 日付選択のカレンダー（rh-calendar.js）---------- */
html input[data-rh-date] { cursor: pointer; background: var(--rh-white) url(../img/icon/chevron-down.svg) right 17px center / 10px 6px no-repeat; padding-right: 40px; }
html .rh-cal {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0;
  width: 320px; padding: 16px; background: var(--rh-white);
  border: 1px solid var(--rh-line); border-radius: 6px; box-shadow: 0 12px 28px rgba(18, 53, 84, .16);
}
html .rh-cal__head { display: flex; align-items: center; justify-content: space-between; }
html .rh-cal__month { font-size: 15px; font-weight: 700; color: var(--rh-dark); }
html .rh-cal__nav { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--rh-line); color: var(--rh-blue); font-size: 18px; line-height: 1; }
html .rh-cal__nav:disabled { opacity: .3; cursor: default; }
html .rh-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 12px; text-align: center; }
html .rh-cal__wd { font-size: 11px; color: var(--rh-gray); padding-bottom: 4px; }
html .rh-cal__wd.is-sun, html .rh-cal__day.is-sun { color: #c4413a; }
html .rh-cal__wd.is-sat, html .rh-cal__day.is-sat { color: var(--rh-blue); }
html .rh-cal__day {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 40px; border-radius: 4px; font-size: 14px; color: var(--rh-text); line-height: 1.1;
  transition: background-color .15s;
}
html .rh-cal__day:not(:disabled):hover { background: var(--rh-soft); }
html .rh-cal__day:disabled { color: var(--rh-placeholder); cursor: default; }
html .rh-cal__day.is-closed { background: var(--rh-pale); }
html .rh-cal__day small { font-size: 9px; color: var(--rh-gray); }
html .rh-cal__day.is-today { box-shadow: inset 0 0 0 1px var(--rh-line-blue); }
html .rh-cal__day.is-selected { background: var(--rh-blue); color: var(--rh-white); }
html .rh-cal__note { margin-top: 10px; font-size: 11px; color: var(--rh-gray); }
@media (max-width: 767px) { html .rh-cal { width: 100%; } }

/* 文字を一回り大きく（PC で小さい → SP も同じ大きさに） */
@media all {
  html .rh-formhead__lead { font-size: 16px; }
  html .rh-steps li { font-size: 13px; }
  html .rh-steps li::before { width: 26px; height: 26px; font-size: 12px; }
  html .rh-field__label, html .rh-field > legend { font-size: 15px; line-height: 1.6; }
  html .rh-field__note { font-size: 13px; line-height: 1.7; }
  html .rh-input, html .rh-select, html .rh-textarea { font-size: 16px; }
  html .rh-choice { font-size: 15px; line-height: 1.6; }
  html .rh-choice small { font-size: 13px; }
  html .rh-toggle { font-size: 15px; }
  html .rh-toggle span { font-size: 12px; }
  html .rh-notice { font-size: 14px; }
  html .rh-file { font-size: 14px; }
  html .rh-file__btn { font-size: 14px; }
  html .rh-agree { font-size: 14px; }
  html .rh-submit { font-size: 16px; }
  html .rh-back { font-size: 14px; }
  html .rh-error { font-size: 13px; }
  html .rh-form-error { font-size: 14px; }
  html .rh-confirm dt { font-size: 13px; }
  html .rh-confirm dd { font-size: 16px; }
  html .rh-target__item small, html .rh-target__item span { font-size: 13px; }
  html .rh-target__item strong { font-size: 16px; }
  html .rh-target__note { font-size: 13px; }
  html .rh-mat__lead { font-size: 15px; }
  html .rh-mat li { font-size: 14px; }
  html .rh-mat__select { font-size: 14px; }
}
/* SP：進み具合だけは1行に収まる大きさに */
@media (max-width: 767px) {
  html .rh-steps li { font-size: 13px; gap: 5px; white-space: nowrap; }
  html .rh-steps li::before { width: 22px; height: 22px; font-size: 11px; }
}

/* 来場予約（振り分け）SP：写真をやめ、アイコン＋見出しの横並び、ボタンは横に並べてコンパクトに（スクロールが長い） */
@media (max-width: 767px) {
  html .rh-routes { gap: 12px; margin-top: 20px; }
  html .rh-route__photo { display: none; }
  html .rh-route__body { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 16px; text-align: left; }
  html .rh-route__icon { position: static; grid-row: 1 / 3; width: 40px; height: 40px; transform: none; }
  html .rh-route__lead { grid-column: 2; font-size: 12px; line-height: 1.5; }
  html .rh-route__name { grid-column: 2; margin-top: 2px; font-size: 17px; line-height: 1.4; }
  html .rh-route__btns { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
  html .rh-route__btns a { width: 100%; min-width: 0; min-height: 44px; padding: 0 8px; justify-content: center; gap: 6px; font-size: 13px; white-space: nowrap; }
  html .rh-route__btns a::after { width: 6px; height: 6px; }
  html .rh-page:has(.rh-routes) main > div[style] { height: 40px !important; }
}
@media (max-width: 767px) {
  /* 3つ並ぶ相談の場所は「で相談」を省き、矢印も外して1行に収める（見出しが「相談したい」なので意味は通る） */
  html .rh-route__opt { display: none; }
  html .rh-route__btns a:only-child::after, html .rh-route__btns:has(> a:nth-child(3)) a::after { display: none; }
}

/* 来場予約（振り分け）PC：元のレイアウト（写真が上・中央ぞろえ・ボタン縦並び）のまま、高さを詰める */
@media (min-width: 768px) {
  html .rh-routes { margin-top: 28px; }
  html .rh-route__photo { height: 160px; }
  html .rh-route__body { padding: 38px 28px 28px; }
  html .rh-route__icon { top: -26px; width: 52px; height: 52px; }
  html .rh-route__name { font-size: 22px; }
  html .rh-route__btns { gap: 8px; margin-top: 16px; }
  html .rh-route__btns a { min-height: 48px; }
}
/* ボタンの文字（「岡山本社」＋「で相談」）が離れないように：文字は詰め、矢印だけ右端へ */
html .rh-route__btns a { gap: 0; white-space: nowrap; }
html .rh-route__btns a::after { margin-left: auto; flex: none; }
@media (max-width: 767px) {
  html .rh-route__btns a { justify-content: center; }
  html .rh-route__btns a::after { margin-left: 6px; }
  /* SP：3つ並ぶ相談の場所は「で相談」を省き、矢印なしで1行に */
  html .rh-route__opt { display: none; }
  html .rh-route__btns:has(> a:nth-child(3)) a { padding: 0 8px; }
  html .rh-route__btns:has(> a:nth-child(3)) a::after { display: none; }
}

/* お問い合わせの窓口カード：写真をやめてアイコンだけ・大きく（写真とアイコンの両方で選びにくい） */
html .rh-desk { height: auto; min-height: 236px; padding: 40px 16px 52px; }
html .rh-desk__photo { display: none; }
html .rh-desk__icon { position: static; transform: none; order: -2; width: 76px; height: 76px; margin-bottom: 18px; }
@media (max-width: 767px) {
  html .rh-desk { height: auto; min-height: 176px; padding: 24px 6px 38px; }
  html .rh-desk__icon { width: 56px; height: 56px; margin-bottom: 10px; }
}

/* フォームの色：フォームの枠は白のまま、入力欄・選択肢は薄いグレーの地、選んだ選択肢は濃い青の地に白文字。
   入力中の欄は白に戻して青い線。「送信時点では予約は確定しません」などの注意書きは地をやめて灰色の文字に */
html .rh-input, html .rh-select, html .rh-textarea { background-color: #f3f5f7; border-color: #e3e7eb; }
html .rh-input:focus, html .rh-select:focus, html .rh-textarea:focus { background-color: var(--rh-white); }
html .rh-choice { background: #f3f5f7; border-color: #e3e7eb; }
html .rh-choice:hover { border-color: var(--rh-line-blue); }
html .rh-choice:has(input:checked) { background: var(--rh-blue); border-color: var(--rh-blue); color: var(--rh-white); }
html .rh-choice:has(input:checked) input { accent-color: var(--rh-white); }
html .rh-choice:has(input:checked) small { color: rgba(255, 255, 255, .85); }
html .rh-notice:not(.rh-notice--line) { padding: 0; background: none; color: var(--rh-gray); }


/* タブレット（I3）：電話番号が「0120-928-／663」と折れていた */
html .rh-tel__num { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1100px) { html .rh-tel__num { font-size: 26px; } }
