/* 住まいの相談窓口（/consultation/）2026-10-21 リニューアル。page-consultation.php だけが読む。
   色：ネイビー #10283F／グリーン #17543D／ゴールド #B99A51／ライトベージュ #F5F3ED（指示書の推奨色） */
.hc {
    --hc-navy: #10283f; --hc-green: #17543d; --hc-green-dk: #10402e; --hc-gold: #b99a51; --hc-gold-dk: #9c7f3b;
    --hc-beige: #f5f3ed; --hc-ink: #1c2735; --hc-sub: #55606c; --hc-line: #e2ddd0;
    --hc-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    font-family: var(--hk-font, 'Noto Sans JP', sans-serif); color: var(--hc-ink); background: #fff;
    padding-top: var(--hk-header-h, 80px); line-height: 1.8; overflow-x: clip;
}
.hc *, .hc *::before, .hc *::after { box-sizing: border-box; }
.hc img { max-width: 100%; display: block; }
.hc h1, .hc h2, .hc h3 { border: 0; padding: 0; background: none; }
.hc h1::before, .hc h1::after, .hc h2::before, .hc h2::after, .hc h3::before, .hc h3::after { content: none; }
.hc-wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 32px; }
.hc-wrap--narrow { width: min(880px, 100%); }
.hc-sp { display: none; }
.hc-ic { width: 1.25em; height: 1.25em; flex: none; }
.hc-eyebrow { margin: 0 0 12px; font-size: 12.5px; letter-spacing: .18em; color: var(--hc-gold-dk); font-weight: 700; }

/* ボタン */
.hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 26px; border-radius: 999px; font-size: 15.5px; font-weight: 700; line-height: 1.3; text-decoration: none !important; transition: background-color .15s, color .15s, border-color .15s; border: 2px solid transparent; }
.hc-btn:focus-visible, .hc a:focus-visible, .hc summary:focus-visible { outline: 3px solid var(--hc-gold); outline-offset: 3px; }
.hc-btn--green { background: var(--hc-green); color: #fff !important; }
.hc-btn--green:hover { background: var(--hc-green-dk); }
.hc-btn--line { background: #fff; color: var(--hc-navy) !important; border-color: var(--hc-navy); }
.hc-btn--line:hover { background: var(--hc-beige); }
.hc-btn--gold { background: var(--hc-gold); color: #fff !important; }
.hc-btn--gold:hover { background: var(--hc-gold-dk); }
.hc-btn--white { background: rgba(255, 255, 255, .96); color: var(--hc-navy) !important; }
.hc-btn--white:hover { background: #fff; border-color: var(--hc-gold); }
.hc-btn--sm { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.hc-btn__sub { font-size: 12.5px; font-weight: 500; opacity: .85; }
.hc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--hc-green) !important; text-decoration: underline; text-underline-offset: 3px; }

/* 見出し */
.hc-sec { padding: 88px 0; }
.hc-h2 { margin: 0 0 14px; font-family: var(--hc-serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.5; color: var(--hc-navy); text-align: center; letter-spacing: .04em; }
.hc-h2::after { content: '' !important; display: block; width: 44px; height: 2px; margin: 16px auto 0; background: var(--hc-gold); }
.hc-h2--left { text-align: left; } .hc-h2--left::after { margin-left: 0; }
.hc-h2--white { color: #fff; }
.hc-lead { margin: 0 auto 44px; max-width: 760px; text-align: center; font-size: 15px; color: var(--hc-sub); }
.hc-lead--left { text-align: left; margin-left: 0; }
.hc-lead--white { color: rgba(255, 255, 255, .85); }
.hc-note { margin: 22px 0 0; font-size: 12.5px; color: var(--hc-sub); text-align: center; }
.hc-note--white { color: rgba(255, 255, 255, .7); }

/* 02 ファーストビュー */
.hc-hero { background: linear-gradient(180deg, var(--hc-beige) 0%, #fff 100%); padding: 56px 0 64px; }
.hc-hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hc-hero__title { margin: 0 0 22px; font-family: var(--hc-serif); font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.45; color: var(--hc-navy); letter-spacing: .04em; }
.hc-hero__lead { margin: 0 0 30px; font-size: 16px; color: #3b4652; }
.hc-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hc-hero__note { margin: 14px 0 0; font-size: 13px; color: var(--hc-sub); }
.hc-hero__fig { position: relative; margin: 0; }
.hc-hero__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 44px rgba(16, 40, 63, .16); }
.hc-hero__fig figcaption { position: absolute; right: 12px; bottom: 10px; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 11px; }

/* 03 相談カテゴリー */
.hc-cats { background: #fff; border-bottom: 1px solid var(--hc-line); }
.hc-cats__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0 auto; list-style: none; }
.hc-cats__list li + li { border-left: 1px solid var(--hc-line); }
.hc-cats__list a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 112px; padding: 18px 10px; color: var(--hc-navy) !important; font-size: 15px; font-weight: 700; text-decoration: none !important; text-align: center; transition: background-color .15s; }
.hc-cats__list a:hover { background: var(--hc-beige); }
.hc-cats__list .hc-ic { width: 34px; height: 34px; color: var(--hc-green); }

/* 04 お悩み */
.hc-worries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hc-worry { position: relative; background: #fff; border: 1px solid var(--hc-line); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(16, 40, 63, .06); transition: box-shadow .15s, transform .15s; }
.hc-worry:hover, .hc-worry:focus-within { box-shadow: 0 12px 28px rgba(16, 40, 63, .14); transform: translateY(-2px); }
.hc-worry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hc-worry__body { position: static; padding: 18px 20px 22px; }   /* 見出しのリンクの覆い（::after）をカード全体に広げるため static */
.hc-worry h3 { position: static; margin: 0 0 8px; font-size: 17px; line-height: 1.5; color: var(--hc-navy); }
.hc-worry h3 a { color: inherit !important; text-decoration: none !important; }
.hc-worry h3 a::after { content: '' !important; position: absolute; inset: 0; z-index: 1; }   /* カード全体を押せる（リンクは見出しの1つだけ＝読み上げは1回） */
.hc-worry p { margin: 0; font-size: 13.5px; color: var(--hc-sub); padding-right: 30px; }
.hc-worry__go { position: absolute; right: 16px; bottom: 18px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hc-gold); color: var(--hc-gold-dk); }
.hc-worry__go .hc-ic { width: 15px; height: 15px; }

/* 05 相談メニュー */
.hc-menu { background: var(--hc-navy); }
.hc-menus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hc-mcard { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; scroll-margin-top: calc(var(--hk-header-h, 80px) + 16px); }
.hc-mcard__img { position: relative; }
.hc-mcard__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hc-mcard__no { position: absolute; left: 0; top: 0; padding: 8px 14px; background: var(--hc-green); color: #fff; font-family: var(--hc-serif); font-size: 20px; font-weight: 700; line-height: 1; border-bottom-right-radius: 12px; }
.hc-mcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.hc-mcard h3 { margin: 0; font-size: 19px; line-height: 1.5; color: var(--hc-navy); }
.hc-mcard p { margin: 0; font-size: 14px; color: var(--hc-sub); flex: 1; }
.hc-mcard__acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 6px; }
.hc-mcard__acts .hc-btn { margin-left: auto; }

/* 06 特徴 */
.hc-feat { background: var(--hc-beige); }
.hc-feat__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.hc-feats { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hc-feats li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; background: #fff; border-radius: 14px; border: 1px solid var(--hc-line); }
.hc-feats__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #eef3ef; color: var(--hc-green); flex: none; }
.hc-feats__ic .hc-ic { width: 26px; height: 26px; }
.hc-feats h3 { margin: 0 0 4px; font-size: 16.5px; color: var(--hc-navy); line-height: 1.5; }
.hc-feats p { margin: 0; font-size: 14px; color: var(--hc-sub); }

/* 07 流れ */
.hc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.hc-steps li { position: relative; padding: 26px 22px 24px; border: 1px solid var(--hc-line); border-radius: 14px; background: #fff; text-align: center; }
.hc-steps li + li::before { content: '' !important; position: absolute; left: -18px; top: 50%; width: 12px; height: 12px; border-top: 2px solid var(--hc-gold); border-right: 2px solid var(--hc-gold); transform: translateY(-50%) rotate(45deg); }
.hc-steps__no { display: block; font-size: 12.5px; letter-spacing: .14em; font-weight: 700; color: var(--hc-gold-dk); }
.hc-steps__ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 12px auto; border-radius: 50%; background: var(--hc-beige); color: var(--hc-green); }
.hc-steps__ic .hc-ic { width: 30px; height: 30px; }
.hc-steps h3 { margin: 0 0 8px; font-size: 17px; color: var(--hc-navy); }
.hc-steps p { margin: 0; font-size: 13.5px; color: var(--hc-sub); text-align: left; }

/* 08 よくある質問 */
.hc-faq { background: var(--hc-beige); }
.hc-faqs { display: grid; gap: 12px; }
.hc-q { background: #fff; border: 1px solid var(--hc-line); border-radius: 12px; }
.hc-q summary { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 56px 14px 20px; position: relative; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; color: var(--hc-navy); line-height: 1.55; }
.hc-q summary::-webkit-details-marker { display: none; }
.hc-q summary::after { content: '' !important; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--hc-green); border-bottom: 2px solid var(--hc-green); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.hc-q[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.hc-q__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hc-green); color: #fff; font-family: var(--hc-serif); font-size: 15px; flex: none; }
.hc-q__mark--a { background: var(--hc-gold); }
.hc-q__a { display: flex; gap: 14px; padding: 0 22px 20px 20px; }
.hc-q__a p { margin: 4px 0 0; font-size: 14.5px; color: #3b4652; }

/* 09 最終CTA */
.hc-end { position: relative; padding: 96px 0; background: var(--hc-navy) var(--hc-end-img) center / cover no-repeat; color: #fff; text-align: center; isolation: isolate; }
.hc-end::before { content: '' !important; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 40, 63, .72), rgba(16, 40, 63, .82)); }
.hc-end__title { margin: 0 0 16px; font-family: var(--hc-serif); font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: #fff; letter-spacing: .04em; }
.hc-end__lead { margin: 0 auto 32px; max-width: 720px; font-size: 15.5px; color: rgba(255, 255, 255, .9); }
.hc-end__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hc-end__note { margin: 22px 0 0; font-size: 12px; color: rgba(255, 255, 255, .65); }

/* タブレット */
@media (max-width: 1024px) {
    .hc-worries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-menus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-steps li:nth-child(odd)::before { display: none; }
    .hc-feat__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
/* スマートフォン */
@media (max-width: 767px) {
    .hc-wrap { padding: 0 16px; }
    .hc-pc { display: none; } .hc-sp { display: inline; }
    .hc-sec { padding: 60px 0; }
    .hc-hero { padding: 28px 0 40px; }
    .hc-hero__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hc-hero__fig { order: -1; }
    .hc-hero__fig img { aspect-ratio: 16 / 9; border-radius: 14px; }
    .hc-hero__title { font-size: clamp(28px, 8vw, 36px); }
    .hc-hero__lead { font-size: 15px; }
    .hc-hero__ctas .hc-btn { flex: 1 1 100%; }
    .hc-cats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
    .hc-cats__list li { border-top: 1px solid var(--hc-line); }
    .hc-cats__list li + li { border-left: 0; }
    .hc-cats__list li:nth-child(even) { border-left: 1px solid var(--hc-line); }
    .hc-cats__list li:last-child { grid-column: 1 / -1; border-left: 0; }
    .hc-cats__list a { min-height: 84px; flex-direction: row; font-size: 14.5px; }
    .hc-cats__list .hc-ic { width: 28px; height: 28px; }
    .hc-worries { gap: 12px; }
    .hc-worry__body { padding: 12px 12px 16px; }
    .hc-worry h3 { font-size: 15px; }
    .hc-worry p { font-size: 12.5px; padding-right: 0; }
    .hc-worry__go { display: none; }
    .hc-menus { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .hc-mcard__acts .hc-btn { margin-left: 0; flex: 1 1 100%; }
    .hc-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .hc-steps li::before { display: none; }
    .hc-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "ic no" "ic h" "ic p"; column-gap: 14px; text-align: left; padding: 18px; }
    .hc-steps__ic { grid-area: ic; width: 56px; height: 56px; margin: 0; }
    .hc-steps__no { grid-area: no; } .hc-steps h3 { grid-area: h; margin: 0 0 4px; } .hc-steps p { grid-area: p; }
    .hc-q summary { font-size: 15px; padding: 12px 46px 12px 14px; }
    .hc-q__a { padding: 0 16px 16px 14px; }
    .hc-end { padding: 64px 0 72px; }
    .hc-end__ctas .hc-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .hc-worry, .hc-btn, .hc-q summary::after { transition: none; } }
