/* 2026-10-27 トップの作り直し（クオーレ名古屋の構成を参考に：お悩み→理由→比較→料金→事例→相談の枠をくり返す）
   色は site.css の変数（ロゴのピンク）を使う。ここで足すのは差し色の黄色と、お悩みの帯の地の色だけ */
:root {
  --hs-sun: #FFE27A;          /* 強調の下線（マーカー） */
  --hs-sun-ink: #3B2C00;
  --hs-tint: #FFF1F6;         /* お悩みの帯・相談の枠の地 */
  --hs-tint-2: #FDE2EC;
  --hs-shadow: 0 14px 34px -22px rgba(58, 16, 41, .55);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hs-sun: #6B5612; --hs-sun-ink: #FFF3C4; --hs-tint: #24151C; --hs-tint-2: #33202A;
    --hs-shadow: 0 14px 34px -22px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  --hs-sun: #6B5612; --hs-sun-ink: #FFF3C4; --hs-tint: #24151C; --hs-tint-2: #33202A;
  --hs-shadow: 0 14px 34px -22px rgba(0, 0, 0, .8);
}

/* ---------- ヒーロー ---------- */
.hs-hero { background:
  radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--accent) 14%, transparent) 1px, transparent 1.4px) 0 0 / 18px 18px,
  linear-gradient(180deg, var(--hs-tint) 0%, var(--paper) 78%); }
.hs-hero h1 em { background: linear-gradient(transparent 62%, var(--hs-sun) 62%); }
.hs-hero .hero-lead { font-size: 16px; }
.hs-medals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 30rem; }
.hs-medals li { display: grid; justify-items: center; align-content: center; gap: 2px; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); border: 2.5px solid var(--accent); padding: 4px; text-align: center; box-shadow: var(--hs-shadow); }
.hs-medals li .ico { color: var(--accent); width: 20px; height: 20px; }
.hs-medals li span { display: grid; font-size: clamp(10px, 2.9vw, 11.5px); line-height: 1.25; color: var(--ink-2); letter-spacing: 0; white-space: nowrap; }
.hs-medals li .sm { font-size: clamp(9.5px, 2.75vw, 10.5px); letter-spacing: -.02em; }
.hs-medals li b { font-family: var(--f-display); font-size: clamp(12.5px, 3.6vw, 15px); font-weight: 900; color: var(--ink); line-height: 1.2; }
@media (min-width: 900px) { .hs-medals li span { font-size: 12.5px; } .hs-medals li b { font-size: 17px; } }
@media (max-width: 360px) { .hs-medals li b { font-size: 13px; } .hs-medals li span { font-size: 10.5px; } .hs-medals li .ico { display: none; } }

/* ヒーローの下の帯 */
.hs-ribbon { background: var(--accent); color: var(--accent-ink); }
.hs-ribbon .wrap { padding-block: 14px; }
.hs-ribbon p { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; text-align: center; line-height: 1.5; }
.hs-ribbon b { font-family: var(--f-display); font-size: clamp(17px, 2.6vw, 22px); font-weight: 900; letter-spacing: .03em; }
.hs-ribbon span { font-size: 14px; opacity: .95; align-self: center; }

/* お支払いの帯 */
.hs-pay { background: var(--surface); border-bottom: 1px solid var(--line); }
.hs-pay .wrap { padding-block: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; }
.hs-pay-h { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.hs-pay-h .ico { color: var(--accent); }
.hs-pay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hs-pay li { font-size: 13.5px; font-weight: 700; color: var(--brand); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }
.hs-pay-n { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 見出し（中央ぞろえ・強調） ---------- */
.hs-head { display: grid; gap: 8px; justify-items: center; text-align: center; margin: 0 auto 28px; max-width: 46rem; }
.hs-head h2 { font-size: clamp(24px, 3.8vw, 34px); font-weight: 900; }
.hs-head h2 em { display: inline-block; font-style: normal; color: var(--brand); background: linear-gradient(transparent 64%, var(--hs-sun) 64%); padding-inline: 2px; }
.hs-head p { color: var(--ink-2); }
.hs-slash { display: block; font-size: .58em; color: var(--ink-2); font-weight: 700; }
.hs-slash::before { content: "＼ "; color: var(--accent); }
.hs-slash::after { content: " ／"; color: var(--accent); }

/* サービス一覧：スマホは2列のタイル */
@media (max-width: 639px) {
  #services .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #services .svc-card { padding: 14px 12px; gap: 6px; }
  #services .svc-card .ic { width: 38px; height: 38px; }
  #services .svc-card h3 { font-size: clamp(13px, 3.7vw, 15.5px); line-height: 1.4; letter-spacing: 0; }
  #services .svc-card p { font-size: 12.5px; line-height: 1.6; }
  #services .svc-card .from { display: grid; gap: 0; font-size: 11.5px; }
  #services .svc-card .from b .num { font-size: 20px; }
}

/* ---------- お悩み（吹き出し） ---------- */
.hs-trouble { background: var(--hs-tint); border-block: 1px solid var(--hs-tint-2); }
.hs-bubbles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
@media (min-width: 860px) { .hs-bubbles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; } }
.hs-bubbles a { position: relative; display: grid; place-content: center; min-height: 100%; text-align: center; text-decoration: none; color: var(--ink-2);
  background: var(--surface); border: 2px solid var(--accent); border-radius: 18px; padding: 14px 10px; font-size: 14px; line-height: 1.55; box-shadow: var(--hs-shadow);
  transition: transform .15s; }
.hs-bubbles a::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; background: var(--surface);
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateX(-50%) rotate(45deg); }
.hs-bubbles a:hover { transform: translateY(-2px); }
.hs-bubbles b { display: block; color: var(--brand); font-size: 15.5px; font-weight: 700; }
.hs-answer { margin: 30px auto 0; max-width: 46rem; text-align: center; display: grid; gap: 8px; background: var(--surface); border-radius: var(--r-l); padding: 22px 18px; border: 1px solid var(--line); }
.hs-answer-big { font-family: var(--f-display); font-size: clamp(20px, 3vw, 26px); font-weight: 900; line-height: 1.45; }
.hs-answer-big em { font-style: normal; color: var(--brand); }
.hs-answer p:not(.hs-answer-big) { color: var(--ink-2); font-size: 15px; }
.hs-answer-s { text-align: left; }
.hs-answer-s b { color: var(--brand); }

/* ---------- 選ばれる理由 ---------- */
.hs-reason-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .hs-reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .hs-reason-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hs-reason { position: relative; display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-l); padding: 30px 20px 22px; margin-top: 18px; min-width: 0; box-shadow: var(--hs-shadow); }
.hs-no { position: absolute; top: -20px; left: 16px; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-content: center; text-align: center; font-family: var(--f-num); font-size: 24px; font-weight: 600; line-height: 1; }
.hs-no span { font-size: 9px; letter-spacing: .14em; margin-bottom: 2px; }
.hs-ric { width: 64px; height: 64px; border-radius: 50%; background: var(--soft); color: var(--brand); display: grid; place-items: center; }
.hs-ric .ico { width: 34px; height: 34px; }
.hs-reason h3 { font-size: 20px; font-weight: 900; }
.hs-pill { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.hs-reason > p:not(.hs-pill):not(.hs-no) { color: var(--ink-2); font-size: 14.5px; text-align: left; }
.hs-reason ul { list-style: none; margin: 4px 0 0; padding: 12px 14px; display: grid; gap: 6px; width: 100%; text-align: left;
  border: 2px solid var(--leaf); border-radius: var(--r-m); font-size: 14px; font-weight: 700; }
.hs-reason li { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.hs-reason li .ico { color: var(--leaf); margin-top: .25em; }

/* ---------- まとめて頼む／別々に頼む ---------- */
.hs-cmp-wrap { max-width: 860px; margin-inline: auto; overflow-x: auto; }
.hs-cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--r-m); font-size: 14px; line-height: 1.55; }
.hs-cmp th, .hs-cmp td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: center; }
.hs-cmp thead th { font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--soft); }
.hs-cmp tbody th { width: 26%; font-weight: 700; background: var(--soft); color: var(--ink); font-size: 13.5px; }
.hs-cmp .us { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); color: var(--brand); font-weight: 700;
  border-left: 3px solid var(--accent); border-right: 3px solid var(--accent); }
.hs-cmp thead .us { background: var(--accent); color: var(--accent-ink); border-top: 3px solid var(--accent); border-radius: 10px 10px 0 0; font-size: 14px; }
.hs-cmp tbody tr:last-child .us { border-bottom: 3px solid var(--accent); }
.hs-cmp tbody tr:last-child th, .hs-cmp tbody tr:last-child td:not(.us) { border-bottom: 0; }
.hs-cmp td:not(.us) { color: var(--ink-3); }
@media (min-width: 640px) { .hs-cmp { font-size: 15px; } .hs-cmp th, .hs-cmp td { padding: 14px 16px; } }

/* ---------- 途中の相談の枠 ---------- */
.hs-cta { padding-block: 8px 48px; }
.section + .hs-cta { padding-top: 0; }
.section.alt + .hs-cta { padding-top: 40px; }
.hs-cta-box { max-width: 860px; margin-inline: auto; background: var(--hs-tint); border: 3px solid var(--accent); border-radius: var(--r-l);
  padding: 26px 18px 22px; display: grid; gap: 10px; justify-items: center; text-align: center; box-shadow: var(--hs-shadow); }
.hs-cta-badge { background: var(--hs-sun); color: var(--hs-sun-ink); font-weight: 700; font-size: 13.5px; border-radius: 999px; padding: 3px 14px; }
.hs-cta-box h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 900; }
.hs-open { font-size: 13.5px; color: var(--ink-2); display: inline-flex; align-items: flex-start; gap: 8px; text-align: left; max-width: 34em; }
.hs-open::before { margin-top: .45em; }
.hs-open.is-open::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); flex: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--leaf) 25%, transparent); }
.hs-open.is-closed::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); flex: none; }
.hs-cta-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.hs-cta-tel .ico { width: 30px; height: 30px; color: var(--accent); }
.hs-cta-tel .num { font-size: clamp(36px, 8vw, 48px); font-weight: 600; letter-spacing: .02em; line-height: 1.1; }
.hs-cta-sub { color: var(--ink-2); font-size: 14.5px; }
.hs-cta-row { display: grid; gap: 10px; width: 100%; max-width: 560px; margin-top: 4px; }
@media (min-width: 560px) { .hs-cta-row { grid-template-columns: 1fr 1fr; } }
.hs-cta-row .btn { width: 100%; }

/* ---------- セット・プラン ---------- */
.hs-packs { display: grid; gap: 14px; }
@media (min-width: 640px) { .hs-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .hs-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hs-pack { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-l);
  padding: 0 0 16px; overflow: hidden; text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .15s, transform .15s; }
.hs-pack:hover { border-color: var(--accent); transform: translateY(-2px); }
.hs-pack-tag { background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; padding: 6px 16px; }
.hs-pack h3 { font-size: 21px; font-weight: 900; padding-inline: 16px; }
.hs-pack-rec { font-size: 13.5px; color: var(--ink-3); padding-inline: 16px; }
.hs-pack dl { margin: 2px 16px 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 10px; }
.hs-pack dt { font-size: 12.5px; color: var(--ink-3); }
.hs-pack dd { margin: 0; font-size: 14.5px; }
.hs-pack-p { text-align: right; font-weight: 700; }
.hs-pack-p .num { font-size: 30px; color: var(--brand); line-height: 1.1; }
.hs-pack-p small { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.hs-pack-note { margin: 0 16px; font-size: 13px; color: var(--ink-2); background: var(--soft); border-radius: var(--r-s); padding: 6px 10px; }
.hs-pack-note b { color: var(--brand); }
.hs-notes { display: grid; gap: 4px; padding-left: 1.2em; margin: 18px 0 0; }

/* ---------- 作業事例（スマホは横にすべらせる） ---------- */
.hs-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: thin; }
.hs-scroll > * { scroll-snap-align: start; }
@media (min-width: 640px) { .hs-scroll { grid-auto-columns: 46%; } }
@media (min-width: 980px) { .hs-scroll { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.hs-scroll .jirei-card { grid-template-rows: auto auto 1fr auto; }
.hs-scroll .jirei-card h3 { font-size: 16.5px; line-height: 1.5; }
.hs-more { margin-top: 16px; text-align: center; }
.hs-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; border: 2px solid var(--brand); border-radius: 999px; padding: 8px 22px; text-decoration: none; }
.hs-more a::after { content: "›"; font-size: 1.2em; }

/* ---------- 頼む前に確かめたいこと ---------- */
.hs-checks { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 12px; max-width: 52rem; }
@media (min-width: 760px) { .hs-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hs-checks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.hs-checks li > .ico { width: 26px; height: 26px; color: var(--surface); background: var(--leaf); border-radius: 50%; padding: 4px; margin-top: 2px; }
.hs-checks h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.hs-checks p { font-size: 14.5px; color: var(--ink-2); }
.hs-checks + .hs-answer { margin-top: 20px; max-width: 52rem; }

/* ---------- 会社の情報 ---------- */
.hs-info { max-width: 860px; }
.hs-info + .hs-more { text-align: left; }

@media (prefers-reduced-motion: reduce) { .hs-bubbles a, .hs-pack { transition: none; } }

/* ---------- サービスのページ（2026-10-27 横展開） ---------- */
.hs-pay + .hs-content { padding-top: 40px; }
.hs-content { padding-bottom: 0; }
.hs-content + .hs-cta { padding-top: 40px; }
.page-hero .hs-medals { margin-top: 2px; }
.hs-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .hs-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.hs-mini li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; }
.hs-mini .hs-ric { width: 48px; height: 48px; }
.hs-mini .hs-ric .ico { width: 26px; height: 26px; }
.hs-mini h3 { font-size: 16.5px; font-weight: 900; line-height: 1.45; }
.hs-mini p { font-size: 13.5px; color: var(--ink-2); max-width: none; }
