/* =========================================================
   介護施設タイプ診断 スタイル（既存LP hotline-kaigo.com に合わせたデザイン）
   ・すべてのクラスに hs- を付け、既存LPのCSSとぶつからないようにしています。
   ・下の値は、2026-11-02 に既存LPをブラウザで開き、LPの設定（Tailwindの brand 色・フォント）と
     実際の表示から読み取ったものです。
   ========================================================= */

/* ---------- デザイン設定（既存LPの値） ---------- */
.hs-page,
.hs {
  --hs-bg: #ffffff;              /* LP：背景 白 */
  --hs-text: #374151;            /* LP：brand-text（本文） */
  --hs-heading: #1f2937;         /* LP：brand-heading（見出し・電話番号の枠） */
  --hs-muted: #6b7280;           /* LP：gray-500（補足の文字） */
  --hs-accent: #2c7fb8;          /* LP：brand-accent（ロゴ・ヘッダーの相談ボタン・チェック） */
  --hs-accent-dark: #22669a;     /* brand-accent を押したときの色 */
  --hs-accent-line: rgba(44, 127, 184, 0.3);  /* LP：border-brand-accent/30（カードの枠） */
  --hs-light: #e8f4f8;           /* LP：brand-light（ファーストビュー・最後の相談欄の背景） */
  --hs-green: #f0f7f4;           /* LP：brand-green（セクションの背景） */
  --hs-gray-line: #e5e7eb;       /* LP：gray-200（罫線） */
  --hs-call: #ef4444;            /* LP：red-500（「お急ぎの方はまずお電話ください」ボタン） */
  --hs-call-dark: #dc2626;       /* LP：red-600（同・ホバー） */
  --hs-line-green: #06c755;      /* LP：LINEの色 */
  --hs-note-bg: #fffbeb;         /* 注記の背景（LPの「すべて無料」欄のクリーム色に近い色） */
  --hs-note-text: #92400e;

  --hs-font-sans: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --hs-font-serif: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --hs-radius-card: 16px;        /* LP：rounded-2xl（カード） */
  --hs-radius-box: 24px;         /* LP：rounded-3xl（大きい枠） */
  --hs-radius-btn: 9999px;       /* LP：rounded-full（ボタンはすべて丸） */
  --hs-shadow-btn: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);  /* LP：shadow-lg */
  --hs-shadow-card: 0 1px 2px rgba(0, 0, 0, .05);                                          /* LP：shadow-sm */
  color-scheme: light;
}

/* ---------- 単体ページの土台 ---------- */
.hs-page {
  margin: 0;
  background: var(--hs-bg);
  color: var(--hs-text);
  font-family: var(--hs-font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
.hs, .hs-header, .hs-footer { font-family: var(--hs-font-sans); color: var(--hs-text); }
.hs *, .hs *::before, .hs *::after,
.hs-header *, .hs-footer * { box-sizing: border-box; }
.hs [hidden] { display: none !important; }
.hs button { font: inherit; }
.hs a { color: var(--hs-accent); }
.hs :focus-visible, .hs-header :focus-visible { outline: 3px solid var(--hs-accent); outline-offset: 2px; }

.hs-wrap {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

/* ---------- ヘッダー（LP：白・高さ64px・ロゴ＋明朝のサイト名・右に青い丸ボタン） ---------- */
.hs-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid #f3f4f6;
}
.hs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding-block: 6px; max-width: 1152px; }
.hs-header__brand { display: flex; align-items: center; gap: 6px; min-width: 0; text-decoration: none; color: var(--hs-heading); }
.hs-logo { flex: none; width: 22px; height: 22px; color: var(--hs-accent); }
.hs-header__name {
  font-family: var(--hs-font-serif); font-weight: 700; font-size: 13px; letter-spacing: .08em; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hs-header__right { display: flex; align-items: center; gap: 12px; flex: none; }
.hs-header__free { display: none; margin: 0; text-align: right; font-size: 12px; font-weight: 700; color: var(--hs-accent); line-height: 1.1; }
.hs-header__free span { display: block; margin-bottom: 3px; font-size: 10px; color: #9ca3af; letter-spacing: -.02em; }
.hs-header__tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 40px; height: 40px; border-radius: var(--hs-radius-btn);
  background: var(--hs-accent); color: #fff; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.hs-header__tel svg { width: 18px; height: 18px; }
.hs-header__tel-text { display: none; font-size: 14px; font-weight: 700; }
@media (min-width: 768px) {
  .hs-header__inner { min-height: 64px; }
  .hs-header__name { font-size: 18px; }
  .hs-logo { width: 24px; height: 24px; }
  .hs-header__free { display: block; }
  .hs-header__tel { width: auto; height: auto; padding: 10px 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
  .hs-header__tel-text { display: inline; }
}

/* 質問中はフッターを出さない */
.hs-in-quiz .hs-footer { display: none; }

/* ---------- 共通 ---------- */
.hs { display: block; font-size: 16px; line-height: 1.6; }
.hs-screen--quiz, .hs-screen--result { padding-block: 14px 8px; }
.hs-entering { animation: hs-enter .25s ease-out; }
@keyframes hs-enter { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hs-entering { animation: none; }
  .hs-progress__bar { transition: none !important; }
}
.hs-small { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--hs-muted); }

/* LPの見出し：明朝・中央・下に青い短い線 */
.hs-section-title {
  margin: 0 0 18px; text-align: center;
  font-family: var(--hs-font-serif); font-weight: 400; font-size: 22px; letter-spacing: .05em; line-height: 1.5;
  color: var(--hs-heading);
}
.hs-section-title::after { content: ""; display: block; width: 40px; height: 1px; margin: 12px auto 0; background: var(--hs-accent); }

/* ボタン（LPと同じ丸いボタン） */
.hs-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 54px; padding: 12px 24px; margin: 0;
  border: 0; border-radius: var(--hs-radius-btn); cursor: pointer;
  font-family: var(--hs-font-sans); font-size: 17px; font-weight: 700; line-height: 1.4; text-decoration: none; text-align: center;
  transition: background-color .15s, transform .1s, box-shadow .15s;
}
.hs-btn:active { transform: scale(.98); }
.hs-btn--primary { background: var(--hs-accent); color: #fff; box-shadow: var(--hs-shadow-btn); }
.hs-btn--primary:hover { background: var(--hs-accent-dark); }
.hs-btn--primary:disabled { background: var(--hs-gray-line); color: var(--hs-muted); box-shadow: none; cursor: not-allowed; }
.hs-btn--large { min-height: 60px; font-size: 18px; }
.hs-btn__arrow { font-size: 22px; line-height: 1; margin-top: -2px; }

/* ---------- スタート画面（LPのファーストビュー：薄い水色の背景・明朝の大見出し） ---------- */
.hs-hero { background: var(--hs-light); padding-block: 26px 26px; }
.hs-hero__eyebrow {
  display: inline-block; margin: 0 0 8px; padding: 2px 14px; border-radius: var(--hs-radius-btn);
  background: #fff; color: var(--hs-accent); font-size: 13px; font-weight: 700; letter-spacing: .08em;
}
.hs-hero__title {
  margin: 0 0 12px; font-family: var(--hs-font-serif); font-weight: 700;
  font-size: clamp(26px, 7.4vw, 34px); line-height: 1.4; letter-spacing: .02em; color: var(--hs-heading);
}
.hs-hero__lead { margin: 0 0 16px; font-size: 15.5px; font-weight: 500; color: var(--hs-text); line-height: 1.75; }
.hs-hero__facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hs-hero__facts li {
  display: grid; place-items: center; min-height: 44px; padding: 6px 4px; border-radius: var(--hs-radius-btn);
  background: #fff; border: 1px solid var(--hs-accent-line);
  font-size: 15px; color: var(--hs-heading);
}
.hs-hero__facts strong { font-weight: 700; }
.hs-hero .hs-small { color: var(--hs-text); opacity: .8; }

/* 診断をせず直接相談する導線（主ボタンより一段控えめ） */
.hs-direct { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hs-accent-line); text-align: center; }
.hs-direct__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--hs-heading); }
.hs-direct__lead { margin: 0 0 12px; font-size: 13.5px; line-height: 1.7; color: var(--hs-text); }
.hs-btn--outline { background: #fff; color: var(--hs-accent); border: 1.5px solid var(--hs-accent); box-shadow: none; gap: 8px; min-height: 52px; font-size: 16px; }
.hs-btn--outline:hover { background: var(--hs-light); }
.hs-direct__icon { width: 20px; height: 20px; flex: none; }
.hs-direct__num { margin-left: 8px; font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }
.hs-direct__home { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--hs-accent); text-decoration: none; }
.hs-direct__home:hover { text-decoration: underline; }

.hs-types { padding-block: 32px 8px; }
.hs-types__list {
  margin: 0; padding: 18px 18px; display: grid; gap: 14px;
  background: #fff; border: 1px solid var(--hs-accent-line); border-radius: var(--hs-radius-card); box-shadow: var(--hs-shadow-card);
}
.hs-types__list dt { font-weight: 700; font-size: 15px; color: var(--hs-heading); }
.hs-types__list dt::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: var(--hs-accent); vertical-align: 2px;
}
.hs-types__list dd { margin: 2px 0 0 16px; font-size: 14px; line-height: 1.7; color: var(--hs-muted); }

/* ---------- 質問画面 ---------- */
.hs-quiz-top { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.hs-back {
  border: 0; background: none; cursor: pointer; padding: 4px 10px 4px 0; min-height: 36px;
  font-size: 14.5px; font-weight: 500; color: var(--hs-accent);
}
.hs-progress-text { margin: 0; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--hs-muted); }
.hs-progress-text span:first-child { color: var(--hs-accent); font-size: 18px; }
.hs-progress { height: 6px; border-radius: var(--hs-radius-btn); background: var(--hs-light); overflow: hidden; margin-top: 2px; }
.hs-progress__bar { height: 100%; width: 0; background: var(--hs-accent); border-radius: var(--hs-radius-btn); transition: width .3s ease; }

.hs-q-body { padding-top: 16px; }
.hs-q-title {
  margin: 0 0 4px; font-family: var(--hs-font-serif); font-weight: 700;
  font-size: 20px; line-height: 1.5; color: var(--hs-heading); text-wrap: balance;
}
.hs-q-title:focus { outline: none; }
.hs-q-hint { margin: 0 0 12px; font-size: 13px; line-height: 1.6; color: var(--hs-muted); }
.hs-q-hint:empty { display: none; }
.hs-q-hint:empty + .hs-options { margin-top: 14px; }

.hs-options { display: grid; gap: 8px; }
.hs-options--grid { grid-template-columns: 1fr 1fr; }
.hs-opt {
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 50px; padding: 8px 14px; margin: 0;
  border: 1px solid var(--hs-gray-line); border-radius: var(--hs-radius-card); background: #fff;
  box-shadow: var(--hs-shadow-card);
  text-align: left; font-size: 15.5px; font-weight: 500; line-height: 1.45; color: var(--hs-heading); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.hs-opt:hover { border-color: var(--hs-accent-line); }
.hs-opt__label { min-width: 0; }
.hs-opt__mark {
  flex: none; width: 20px; height: 20px; border: 2px solid #d1d5db; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
}
.hs-opt--multi .hs-opt__mark { border-radius: 5px; }
.hs-opt[aria-pressed="true"] { border-color: var(--hs-accent); background: var(--hs-light); font-weight: 700; }
.hs-opt[aria-pressed="true"] .hs-opt__mark { border-color: var(--hs-accent); background: var(--hs-accent); }
.hs-opt[aria-pressed="true"] .hs-opt__mark::after {
  content: ""; width: 5px; height: 10px; margin-top: -2px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.hs-options--grid .hs-opt { min-height: 48px; padding: 8px 10px; gap: 8px; font-size: 15px; }

.hs-next-bar {
  position: sticky; bottom: 0; z-index: 5;
  margin-top: 10px; padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 24%);
}
.hs-next-bar .hs-btn { min-height: 52px; }

/* ---------- 結果画面 ---------- */
.hs-result-head { margin-bottom: 10px; text-align: center; }
.hs-eyebrow {
  display: inline-block; margin: 0 0 4px; padding: 2px 12px; border-radius: var(--hs-radius-btn);
  background: var(--hs-light); color: var(--hs-accent); font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.hs-h2 {
  margin: 0; font-family: var(--hs-font-serif); font-weight: 700; font-size: 20px; line-height: 1.5;
  color: var(--hs-heading); letter-spacing: .03em;
}
.hs-notice {
  margin: 0 0 10px; padding: 8px 12px; border-radius: 12px;
  background: var(--hs-note-bg); color: var(--hs-note-text); font-size: 13px; line-height: 1.6;
}

.hs-chip {
  display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: var(--hs-radius-btn); vertical-align: middle;
  font-size: 11.5px; font-weight: 700; line-height: 1.7; white-space: nowrap;
  background: var(--hs-note-bg); color: var(--hs-note-text);
}

/* 第1候補（LPのカード：白・青の薄い枠・角丸16px） */
.hs-first {
  padding: 16px 18px; border-radius: var(--hs-radius-card); text-align: center;
  background: #fff; border: 2px solid var(--hs-accent); box-shadow: var(--hs-shadow-card);
}
.hs-first__rank { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.hs-first__badge {
  display: inline-block; padding: 2px 14px; border-radius: var(--hs-radius-btn);
  background: var(--hs-accent); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
}
.hs-first__name {
  margin: 8px 0 6px; font-family: var(--hs-font-serif); font-weight: 700;
  font-size: clamp(22px, 6.2vw, 27px); line-height: 1.4; color: var(--hs-heading);
}
.hs-first__fit { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--hs-text); text-align: left; }

/* その他の候補 */
.hs-others { margin-top: 10px; padding: 4px 4px 0; }
.hs-others__list { list-style: none; margin: 0; padding: 0; }
.hs-others__list li { display: flex; align-items: baseline; gap: 10px; padding: 7px 2px; border-bottom: 1px solid var(--hs-gray-line); }
.hs-others__list li:last-child { border-bottom: 0; }
.hs-others__rank { flex: none; min-width: 4.6em; font-size: 12px; font-weight: 700; color: var(--hs-accent); }
.hs-others__name { min-width: 0; font-size: 15px; font-weight: 700; color: var(--hs-heading); }
.hs-others__close { margin: 4px 0 0; font-size: 12.5px; color: var(--hs-muted); }

/* 電話相談（LPの最後の相談欄：薄い水色の背景・明朝の見出し・赤い丸ボタン） */
.hs-cta {
  margin-top: 14px; padding: 18px 16px 16px; border-radius: var(--hs-radius-box); text-align: center;
  background: var(--hs-light);
}
.hs-cta--strong { background: var(--hs-light); border: 2px solid var(--hs-call); }
.hs-cta__title {
  margin: 0 0 6px; font-family: var(--hs-font-serif); font-weight: 700;
  font-size: 18px; line-height: 1.5; color: var(--hs-heading);
}
.hs-cta__body { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--hs-text); }
.hs-call {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  min-height: 64px; padding: 10px 20px; border-radius: var(--hs-radius-btn);
  background: var(--hs-call); color: #fff !important; text-decoration: none;
  box-shadow: var(--hs-shadow-btn);
  transition: background-color .15s, transform .1s;
}
.hs-call:hover { background: var(--hs-call-dark); }
.hs-call:active { transform: scale(.98); }
.hs-call__icon { flex: none; width: 22px; height: 22px; }
.hs-call__text { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.hs-call__label { font-size: 16px; font-weight: 700; }
.hs-call__num { font-family: var(--hs-font-serif); font-size: 24px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hs-cta__hours { margin: 8px 0 0; font-size: 12px; font-weight: 700; color: var(--hs-muted); letter-spacing: .06em; }
.hs-cta .hs-cta__cases { margin: 10px 0 0; font-size: 13px; line-height: 1.65; color: var(--hs-text); }
.hs-cta__line { margin: 8px 0 0; font-size: 13px; color: var(--hs-muted); }
.hs-cta__line a { color: var(--hs-line-green); font-weight: 700; }
.hs-cta__note { margin: 8px 0 0; font-size: 11.5px; color: var(--hs-muted); }
.hs-cta__sub { display: grid; gap: 8px; margin-top: 10px; }
.hs-btn--sub { min-height: 46px; font-size: 15px; background: #fff; color: var(--hs-heading); border: 1px solid var(--hs-heading); box-shadow: none; }

/* 地域に応じた一言（自社エリア外・地域未定） */
.hs-cta__region {
  margin: 0 0 12px; padding: 8px 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--hs-accent-line);
  font-size: 13px; line-height: 1.65; color: var(--hs-text); text-align: left;
}

/* 近畿圏外：外部サービス案内 */
.hs-cta--external { background: var(--hs-green); }
.hs-ext__list { display: grid; gap: 10px; margin-top: 4px; }
.hs-ext__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  min-height: 56px; padding: 10px 18px; border-radius: var(--hs-radius-btn);
  background: var(--hs-accent); color: #fff !important; text-decoration: none;
  box-shadow: var(--hs-shadow-btn); transition: background-color .15s, transform .1s;
}
.hs-ext__btn:hover { background: var(--hs-accent-dark); }
.hs-ext__btn:active { transform: scale(.98); }
.hs-ext__name { font-size: 16px; font-weight: 700; }
.hs-ext__pr {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: rgba(255, 255, 255, .25); color: #fff; padding: 1px 8px; border-radius: var(--hs-radius-btn);
}
.hs-ext__note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--hs-muted); }
.hs-ext__empty { margin: 4px 0 0; font-size: 13px; line-height: 1.7; color: var(--hs-text); }

/* 開閉式の詳細 */
.hs-details { margin-top: 14px; border: 1px solid var(--hs-accent-line); border-radius: var(--hs-radius-card); background: #fff; box-shadow: var(--hs-shadow-card); }
.hs-details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 50px; padding: 10px 16px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 700; color: var(--hs-heading);
}
.hs-details > summary::-webkit-details-marker { display: none; }
.hs-details > summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px;
  border: solid var(--hs-accent); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
.hs-details[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.hs-details__body { padding: 0 16px 14px; display: grid; gap: 14px; }
.hs-d-item { font-size: 14px; line-height: 1.7; }
.hs-d-item p { margin: 0; }
.hs-d-item__head { font-family: var(--hs-font-serif); font-weight: 700; font-size: 15px; color: var(--hs-heading); margin-bottom: 2px !important; }
.hs-d-item__why { margin-top: 4px !important; color: var(--hs-muted); }
.hs-d-item__cond { margin: 6px 0 0; padding: 8px 10px 8px 26px; border-radius: 10px; background: var(--hs-note-bg); color: var(--hs-note-text); font-size: 13px; }
.hs-d-item__ex { margin: 4px 0 0; padding-left: 1.2em; color: var(--hs-muted); font-size: 13.5px; }
.hs-d-item__cost { margin-top: 6px !important; font-size: 13.5px; color: var(--hs-muted); }
.hs-d-item__cost span { display: block; font-size: 12px; font-weight: 700; color: var(--hs-heading); }
.hs-d-item__link { display: inline-block; margin-top: 4px; font-size: 13.5px; }
.hs-d-small { margin: 0; font-size: 12.5px; color: var(--hs-muted); }
.hs-d-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hs-d-list li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.65; }
.hs-d-list li::before {
  content: ""; position: absolute; left: 2px; top: 4px; width: 13px; height: 13px;
  border: 1.5px solid var(--hs-accent); border-radius: 3px;
}
.hs-d-list li::after {
  content: ""; position: absolute; left: 7px; top: 5px; width: 4px; height: 8px;
  border: solid var(--hs-accent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.hs-d-list strong { display: block; font-size: 13.5px; color: var(--hs-heading); }

.hs-result-foot { margin-top: 14px; display: grid; justify-items: center; text-align: center; }
.hs-link-btn {
  min-height: 44px; padding: 8px 12px; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--hs-accent); text-decoration: underline;
}

/* ---------- フッター（LPと同じ内容・中央揃え） ---------- */
.hs-footer { margin-top: 32px; background: #fff; border-top: 1px solid #f3f4f6; font-size: 12.5px; color: var(--hs-muted); text-align: center; }
.hs-footer .hs-wrap { padding-block: 22px 26px; display: grid; gap: 4px; }
.hs-footer p { margin: 0; }
.hs-footer__name {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 6px !important;
  font-family: var(--hs-font-serif); font-weight: 700; font-size: 14px; color: var(--hs-heading); letter-spacing: .08em;
}
.hs-footer__name .hs-logo { width: 18px; height: 18px; color: #9ca3af; }
.hs-footer__small { margin-top: 8px !important; font-size: 11.5px; }

/* ---------- 日本語の改行・小さい画面 ---------- */
.hs-hero__title, .hs-q-title, .hs-h2, .hs-first__name, .hs-cta__title, .hs-others__name, .hs-section-title { word-break: auto-phrase; }
@media (max-width: 360px) {
  .hs-header__name { font-size: 11.5px; letter-spacing: .04em; }
  .hs-q-title { font-size: 18px; }
  .hs-opt { font-size: 14.5px; }
  .hs-options--grid .hs-opt { font-size: 13.5px; padding: 8px; }
  .hs-call__num { font-size: 21px; }
  .hs-hero__facts li { font-size: 13.5px; }
}

/* 第1候補の補足（高齢者向け賃貸住宅など、物件ごとに条件が異なる場合） */
.hs-first__note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--hs-muted); text-align: left; }
