@charset "UTF-8";

/* ================================================================
   LP_住み替え_来店相談 — 住み替えによる売却 × 来店相談（Navy × Terracotta）
   ================================================================ */

:root {
    --primary: #1B3A5C;
    --primary-dark: #122B45;
    --primary-light: #EAF0F7;
    --accent: #C67B5C;
    --accent-dark: #A86345;
    --accent-light: #FAF0EB;
    --text: #000;
    --text-light: #333;
    --text-heading: #1a1a1a;
    --white: #fff;
    --bg: #FAFAF8;
    --bg-gray: #F9FAFB;
    --border: #DDE3DF;
    --border-light: #ECEEF2;
    --charcoal: #2A3B3A;
    --footer-bg: #EEF2F6;
    --radius: 12px;
    --btn-radius: 8px;
    --shadow: 0 2px 12px rgba(0, 0, 0, .06);
    --shadow-hover: 0 8px 28px rgba(0, 0, 0, .12);
    --transition: all 0.3s ease;
    --font-base: 'Noto Sans JP', sans-serif;
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-en: serif;
    --font-num: serif;
}

/* ━━━━━━━━━━━━━━━━

 ■ 初期化

━━━━━━━━━━━━━━━━ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-margin-top: 80px;
}

body {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;;;;;;;;;;;
    min-width: 0 !important;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ━━━━━━━━━━━━━━━━

 ■ ユーティリティ

━━━━━━━━━━━━━━━━ */

.u-hidden-sp {
    display: none;
}

@media (min-width: 769px) {
    .u-hidden-sp {
        display: block;
    }
    .u-hidden-pc {
        display: none;
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ━━━━━━━━━━━━━━━━

 ■ コンポーネント

━━━━━━━━━━━━━━━━ */

/* ================================================================
   Component — c-section-title
   ================================================================ */

.c-section-title {
    margin-bottom: 48px;
    text-align: center;
}

@media (min-width: 769px) {
    .c-section-title {
        margin-bottom: 60px;
    }
}

.c-section-title__en {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.c-section-title__ja {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
}

/* ================================================================
   Component — c-button（5バリアント: primary / accent / outline / outline-dark / line）
   ================================================================ */

.c-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border: 2px solid transparent;
    border-radius: var(--btn-radius);
    font-family: var(--font-base);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
}

@media (min-width: 769px) {
    .c-button {
        font-size: 16px;
    }
}

.c-button svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.c-button--primary {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.c-button--primary:hover {
    color: #fff !important;
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.c-button--accent {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.c-button--accent:hover {
    color: #fff !important;
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.c-button--outline {
    border-color: #fff;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.c-button--outline:hover {
    color: var(--primary-dark) !important;
    background: #fff;
    transform: translateY(-2px);
}

.c-button--outline-dark {
    border-color: var(--primary);
    color: var(--primary) !important;
    background: var(--white);
}

.c-button--outline-dark:hover {
    color: #fff !important;
    background: var(--primary);
    transform: translateY(-2px);
}

.c-button--line {
    background: #059B42;
    color: #fff !important;
    border-color: #059B42;
}

.c-button--line:hover {
    color: #fff !important;
    background: #048A3A;
    border-color: #048A3A;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ================================================================
   Component — c-card / c-card-grid
   ================================================================ */

.c-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 641px) {
    .c-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 901px) {
    .c-card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

.c-card {
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.c-card a {
    display: block;
    color: inherit;
}

.c-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.c-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.c-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f3f4f6;
    transition: transform 0.4s ease;
}

.c-card:hover .c-card__image img {
    transform: scale(1.05);
}

.c-card__badge {
    position: absolute;
    padding: 5px 14px 4px;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border-radius: 20px;
    z-index: 2;
}

@media (min-width: 769px) {
    .c-card__badge {
        top: 16px;
        left: 16px;
        font-size: 13px;
    }
}

.c-card__body {
    padding: 20px;
}

.c-card__title {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}

@media (min-width: 769px) {
    .c-card__title {
        font-size: 18px;
    }
}

.c-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    font-size: clamp(15px, 1.9vw, 16px);
    line-height: 1.6;
    color: #444;
}

/* ================================================================
   Component — c-stat-box
   ================================================================ */

.c-stat-box {
    text-align: center;
    padding: 24px 16px;
}

.c-stat-box__value {
    display: block;
    font-family: var(--font-num);
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.c-stat-box__unit {
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    color: var(--primary);
}

.c-stat-box__label {
    display: block;
    margin-top: 8px;
    font-size: clamp(13px, 1.5vw, 14px);
    color: var(--text-light);
}

/* ================================================================
   Component — c-accordion（details + is-open 両対応）
   ================================================================ */

.c-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.c-accordion__item {
    margin-bottom: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.c-accordion__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: clamp(15px, 1.8vw, 17px);
    font-weight: 600;
    color: var(--text);
    list-style: none;
    cursor: pointer;
    transition: background 0.2s;
}

.c-accordion__question::-webkit-details-marker {
    display: none;
}

.c-accordion__question:hover {
    background: #f9fafb;
}

.c-accordion__question::after {
    content: '+';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s;
}

.c-accordion__item[open] .c-accordion__question::after {
    content: '\2212';
    transform: rotate(180deg);
}

.c-accordion__item.is-open .c-accordion__question::after {
    content: '\2212';
    transform: rotate(180deg);
}

.c-accordion__answer {
    padding: 0 24px 24px;
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: #444;
}

.c-accordion__item:not([open]):not(.is-open) .c-accordion__answer {
    display: none;
}

.c-accordion__badge-q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-en);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

/* ================================================================
   Component — c-info-table
   ================================================================ */

.c-info-table {
    max-width: 800px;
}

.c-info-table__row {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

@media (min-width: 769px) {
    .c-info-table__row {
        flex-direction: row;
        align-items: baseline;
        gap: 24px;
        padding: 20px 0;
    }
}

.c-info-table__label {
    flex-shrink: 0;
    width: 140px;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

@media (min-width: 769px) {
    .c-info-table__label {
        margin-bottom: 0;
    }
}

.c-info-table__value {
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.7;
    color: var(--text);
}

/* Company Info Tel Link */
.c-info-table__value a {
    text-decoration: none;
    color: var(--text);
}

/* ================================================================
   Component — c-map
   ================================================================ */

.c-map {
    margin-top: 40px;
    border-radius: var(--radius);
    overflow: hidden;
}

.c-map iframe,
.c-map img {
    display: block;
    width: 100% !important;
    height: 300px !important;
    border: none;
}

@media (min-width: 769px) {
    .c-map iframe,
    .c-map img {
        height: 400px !important;
    }
}

/* ━━━━━━━━━━━━━━━━

 ■ レイアウト

━━━━━━━━━━━━━━━━ */

/* ================================================================
   Layout — l-container
   ================================================================ */

.l-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================================
   Layout — l-header（固定ヘッダー + ハンバーガー + モバイルメニュー）
   ================================================================ */

.l-header {
    margin-bottom: 0;
    position: relative;
    padding-top: 64px;
}

@media (min-width: 769px) {
    .l-header {
        padding-top: 72px;
    }
}

.l-header__wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.l-header.is-scrolled .l-header__wrapper {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.l-header__inner {
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    height: 64px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 769px) {
    .l-header__inner {
        height: 72px;
        padding: 0 24px;
    }
}

.l-header__logo-img {
    height: clamp(36px, 45 / 390 * 100vw, 45px);
    width: auto;
}

@media (min-width: 769px) {
    .l-header__logo-img {
        height: clamp(45px, 55 / 1140 * 100vw, 55px);
    }
}

.l-header__nav {
    display: none;
}

@media (min-width: 1025px) {
    .l-header__nav {
        display: flex;
        gap: 26px;
    }

    .l-header__nav a {
        font-size: 14px;
        font-weight: 500;
        color: var(--text);
        transition: color 0.3s;;;;;;;;;;;
        text-decoration: none !important;
    }

    .l-header__nav a:hover {
        color: var(--primary);
    }
}

.l-header__cta {
    display: none;
    text-decoration: none !important;
}

@media (min-width: 1025px) {
    .l-header__cta {
        display: inline-flex;
        padding: 10px 22px;
        font-size: 13px;
    }
}

.l-header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

@media (min-width: 1025px) {
    .l-header__hamburger {
        display: none;
    }
}

.l-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.l-header.is-menu-open .l-header__logo {
    visibility: hidden;
}

.l-header.is-menu-open .l-header__wrapper {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.l-header__hamburger.is-active span {
    background: #fff;
}

.l-header__hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.l-header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.l-header__hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.l-header__mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(42, 59, 58, 0.98);
    z-index: 999;
    padding: 80px 24px 24px;
}

.l-header__mobile-menu.is-active {
    display: block;
}

.l-header__mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.l-header__mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.2s;
}

.l-header__mobile-nav a:hover {
    opacity: 0.8;
}

.l-header__mobile-nav .l-header__mobile-cta {
    display: block;
    margin-top: 16px;
    padding: 16px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    border-radius: var(--btn-radius);
    border-bottom: none;
}

/* ================================================================
   Layout — l-footer
   ================================================================ */

.l-footer {
    background: var(--footer-bg);
    color: var(--text);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-light);
}

.l-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 48px;
}

@media (min-width: 769px) {
    .l-footer__grid {
        grid-template-columns: 1fr 180px 180px;
        gap: 56px;
    }
}

.l-footer__logo-img {
    height: clamp(34px, 42 / 390 * 100vw, 42px);
    width: auto;
    margin-bottom: 16px;
}

@media (min-width: 769px) {
    .l-footer__logo-img {
        height: clamp(42px, 50 / 1140 * 100vw, 50px);
    }
}

.l-footer__brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

.l-footer__heading {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.l-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.l-footer__nav a {
    font-size: 14px;
    color: var(--text-light);
    transition: opacity 0.2s;
    text-decoration: none !important;
}

.l-footer__nav a:hover {
    opacity: 1;
    color: var(--primary-dark);
}

/* コピーライト */
.copyright {
    margin: 0;
    padding: 3px 20px 58px 20px !important;
    background: var(--footer-bg) !important;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}

@media (min-width: 769px) {
    .copyright {
        padding: 6px 20px 10px 20px !important;
    }
}

/* ================================================================
   Layout — l-fixed-cta（SP固定: 電話 + 来店予約）
   ================================================================ */

.l-fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 769px) {
    .l-fixed-cta {
        display: none;
    }
}

.l-fixed-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.l-fixed-cta__button svg {
    width: 20px;
    height: 20px;
}

.l-fixed-cta__button--tel {
    background: var(--primary);
}

.l-fixed-cta__button--reserve {
    background: var(--accent);
}

/* ================================================================
   Layout — l-page-top
   ================================================================ */

.l-page-top {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    font: inherit;
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
    z-index: 800;
}

@media (min-width: 769px) {
    .l-page-top {
        display: flex;
    }

    .l-page-top.is-show {
        opacity: 1;
        visibility: visible;
    }
}

.l-page-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.l-page-top svg {
    width: 24px;
    height: 24px;
}

/* ━━━━━━━━━━━━━━━━

 ■ セクション固有

━━━━━━━━━━━━━━━━ */

/* 依存: c-button--accent, c-button--outline */

/* ================================================================
   Section — s-hero-centered-stats（ヒーロー: 背景オーバーレイ + バッジ + 実績帯）
   ================================================================ */

.s-hero-centered-stats {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ---- 背景画像エリア ---- */

.s-hero-centered-stats__bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 45px 20px;
    background: url('../img/sumikae-raiten/hero-bg.jpg') center / cover no-repeat;
    background-color: #d0d8e4;
    overflow: hidden;
}

@media (min-width: 769px) {
    .s-hero-centered-stats__bg {
        min-height: 600px;
        padding: 80px 20px;
    }
}

.s-hero-centered-stats__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, .40) 0%, rgba(0, 0, 0, .30) 100%);
    z-index: 1;
}

.s-hero-centered-stats__inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.s-hero-centered-stats__content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
}

@media (min-width: 769px) {
    .s-hero-centered-stats__content {
        text-align: center;
    }
}

.s-hero-centered-stats__title {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.65);
}

.s-hero-centered-stats__title em {
    font-style: normal;
    font-weight: 900;
    color: var(--accent);
}

@media (min-width: 769px) {
    .s-hero-centered-stats__title em {
        display: inline-block;
    }
}

.s-hero-centered-stats__text {
    margin-bottom: 32px;
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.8;
    opacity: 0.92;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.65);
}

.s-hero-centered-stats__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

@media (min-width: 769px) {
    .s-hero-centered-stats__actions {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .s-hero-centered-stats__actions a {
        min-width: 280px;
    }
}

.s-hero-centered-stats__actions a {
    text-decoration: none !important;
}

.s-hero-centered-stats__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.s-hero-centered-stats__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

/* ---- ヒーロー内 実績帯 ---- */

.s-hero-centered-stats__stats-wrap {
    width: 100%;
    padding: 32px 20px;
    background: var(--primary);
}

@media (min-width: 769px) {
    .s-hero-centered-stats__stats-wrap {
        padding: 40px 20px;
    }
}

.s-hero-centered-stats__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .s-hero-centered-stats__stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.s-hero-centered-stats__stats .c-stat-box {
    text-align: center;
    color: var(--white);
    white-space: nowrap;
}

.s-hero-centered-stats__stats .c-stat-box__label {
    display: block;
    margin-bottom: 4px;
    font-size: clamp(13px, 1.5vw, 14px);
    color: rgba(255, 255, 255, 0.7);
    white-space: normal;
}

.s-hero-centered-stats__stats .c-stat-box__number {
    font-family: var(--font-num);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.s-hero-centered-stats__stats .c-stat-box__unit {
    margin-left: 2px;
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* 依存: c-section-title */

/* ================================================================
   Section — s-worry-grid-icon（住み替えのお悩み）
   ================================================================ */

.s-worry-grid-icon {
    padding: 72px 12px;
}

@media (min-width: 769px) {
    .s-worry-grid-icon {
        padding: 100px 12px;
    }
}

.s-worry-grid-icon__lead {
    max-width: 800px;
    margin: 0 auto 44px;
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.9;
    color: var(--text);
}

@media (min-width: 769px) {
    .s-worry-grid-icon__lead {
        text-align: center;
    }
}

.s-worry-grid-icon__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .s-worry-grid-icon__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 901px) {
    .s-worry-grid-icon__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.s-worry-grid-icon__card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.3s;
}

.s-worry-grid-icon__card:hover {
    border-color: var(--primary);
}

.s-worry-grid-icon__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.s-worry-grid-icon__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
}

.s-worry-grid-icon__icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-dark);
}

.s-worry-grid-icon__title {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
}

.s-worry-grid-icon__text {
    font-size: clamp(15px, 1.6vw, 16px);
    line-height: 1.8;
    color: var(--text-light);
}

/* グリッド下の解決メッセージ（任意） */
.s-worry-grid-icon__solution {
    max-width: 760px;
    margin: 40px auto 0;
    padding: 22px 26px;
    text-align: center;
    font-size: clamp(15px, 1.9vw, 18px);
    font-weight: 700;
    line-height: 1.7;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: var(--radius);
}

/* 依存: c-section-title */

/* ================================================================
   Section — s-reason-grid-img（選ばれる3つの理由）
   ================================================================ */

.s-reason-grid-img {
    padding: 72px 12px;
    background: var(--white);
    scroll-margin-top: 80px;
}

@media (min-width: 769px) {
    .s-reason-grid-img {
        padding: 100px 12px;
    }
}

.s-reason-grid-img__lead {
    max-width: 800px;
    margin: 0 auto 44px;
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.9;
    color: var(--text);
}

@media (min-width: 769px) {
    .s-reason-grid-img__lead {
        text-align: center;
    }
}

.s-reason-grid-img__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 769px) {
    .s-reason-grid-img__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}

.s-reason-grid-img__card {
    position: relative;
    padding: 0;
    background: transparent;
    text-align: left;
}

.s-reason-grid-img__image {
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.s-reason-grid-img__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.4s;
}

.s-reason-grid-img__card:hover .s-reason-grid-img__image img {
    transform: scale(1.05);
}

.s-reason-grid-img__num {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: -20px;
    margin-bottom: 12px;
    font-family: var(--font-num);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    text-align: right;
    padding-right: 8px;
}

.s-reason-grid-img__title {
    margin-bottom: 12px;
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 700;
    color: var(--text);
    text-align: center;
}

@media (min-width: 769px) {
    .s-reason-grid-img__title {
        min-height: 3.6em;
    }
}

.s-reason-grid-img__desc {
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: var(--text-light);
}

/* 依存: c-section-title */

/* ================================================================
   Section — s-service-grid（来店相談でできること）
   ================================================================ */

.s-service-grid {
    padding: 72px 12px;
    background: var(--bg);
}

@media (min-width: 769px) {
    .s-service-grid {
        padding: 100px 12px;
    }
}

.s-service-grid__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 769px) {
    .s-service-grid__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

.s-service-grid__card {
    display: block;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.s-service-grid__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover, 0 8px 28px rgba(0, 0, 0, .12));
}

.s-service-grid__card-img {
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.s-service-grid__card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f3f4f6;
    transition: transform 0.4s ease;
}

.s-service-grid__card:hover .s-service-grid__card-img img {
    transform: scale(1.05);
}

.s-service-grid__card-body {
    padding: 20px 24px 24px 24px;
    border-top: 3px solid var(--accent);
}

@media (min-width: 769px) {
    .s-service-grid__card-body {
        padding: 22px 28px 28px 28px;
    }
}

.s-service-grid__card-title {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 700;
    color: var(--text);
}

.s-service-grid__card-text {
    font-size: clamp(15px, 1.6vw, 16px);
    line-height: 1.8;
    color: var(--text);
}

/* 依存: c-section-title, c-button--accent */

/* ================================================================
   Section — s-compare-table（売り先行 vs 買い先行 の比較）
   ================================================================
   ※ 比較対象が2つのため、テンプレの3列→2列に調整（推奨件数2〜3個）
   ================================================================ */

.s-compare-table {
    padding: 72px 12px;
    background: var(--primary-light);
}

@media (min-width: 769px) {
    .s-compare-table {
        padding: 100px 12px;
    }
}

.s-compare-table__lead {
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.9;
    color: var(--text);
}

@media (min-width: 769px) {
    .s-compare-table__lead {
        text-align: center;
    }
}

.s-compare-table__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .s-compare-table__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

.s-compare-table__card {
    display: flex;
    flex-direction: column;
    padding: 20px 24px 28px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: border-color 0.3s, box-shadow 0.3s;
}

@media (min-width: 769px) {
    .s-compare-table__card {
        padding: 20px 28px 32px 28px;
    }
}

.s-compare-table__card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.s-compare-table__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid rgba(42, 107, 138, 0.08);
}

.s-compare-table__card-num {
    flex-shrink: 0;
    font-family: var(--font-num);
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 700;
    color: var(--primary);
}

.s-compare-table__card-title {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 700;
    color: var(--text);
}

.s-compare-table__card-desc {
    margin-bottom: 20px;
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: var(--text);
}

.s-compare-table__card-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.s-compare-table__card-merit,
.s-compare-table__card-demerit {
    padding: 0;
}

.s-compare-table__card-label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 12px;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 700;
    border-radius: 20px;
}

.s-compare-table__card-label--merit {
    color: var(--primary);
    background: var(--white);
    border: 1px solid var(--primary);
}

.s-compare-table__card-label--demerit {
    color: #B91C1C;
    background: var(--white);
    border: 1px solid #E5BFBF;
}

.s-compare-table__card-merit ul,
.s-compare-table__card-demerit ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.s-compare-table__card-merit li,
.s-compare-table__card-demerit li {
    position: relative;
    padding-left: 20px;
    font-size: clamp(14px, 1.5vw, 15px);
    line-height: 1.7;
    color: var(--text);
}

.s-compare-table__card-merit li::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.6;
}

.s-compare-table__card-demerit li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B91C1C;
    opacity: 0.4;
}

.s-compare-table__card-recommend {
    margin-top: auto;
    padding: 5px 0 7px 16px;
    font-size: clamp(14px, 1.5vw, 15px);
    font-weight: 600;
    line-height: 1.6;
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.s-compare-table__note {
    max-width: 820px;
    margin: 20px auto 0;
    font-size: clamp(13px, 1.6vw, 14px);
    line-height: 1.8;
    color: var(--text-light);
}

@media (min-width: 769px) {
    .s-compare-table__note {
        text-align: center;
    }
}

/* 依存: c-section-title */

/* ================================================================
   Section — s-flow-timeline（来店相談から住み替え完了までの流れ）
   ================================================================ */

.s-flow-timeline {
    padding: 72px 12px;
    background: var(--white);
    scroll-margin-top: 80px;
}

@media (min-width: 769px) {
    .s-flow-timeline {
        padding: 100px 12px;
    }
}

.s-flow-timeline__timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 0;
}

.s-flow-timeline__timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: var(--border);
}

.s-flow-timeline__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 0;
}

.s-flow-timeline__item:first-child {
    padding-top: 0;
}

.s-flow-timeline__item:last-child {
    padding-bottom: 0;
}

.s-flow-timeline__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-family: var(--font-num);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
}

/* 01（最初のステップ）のみアクセント色 */
.s-flow-timeline__item:first-child .s-flow-timeline__num {
    background: var(--accent);
}

.s-flow-timeline__content {
    flex: 1;
    padding-top: 2px;
}

.s-flow-timeline__title {
    margin-bottom: 8px;
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 700;
    color: var(--text);
}

.s-flow-timeline__desc {
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: var(--text-light);
}

/* 依存: c-button, c-button--accent, c-button--outline */

/* ================================================================
   Section — s-cta-centered-dual（クロージングCTA）
   ================================================================ */

.s-cta-centered-dual {
    padding: 72px 12px;
    background: var(--primary-dark); /* fallback */
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-dark) 70%, #000), var(--primary));
}

@media (min-width: 769px) {
    .s-cta-centered-dual {
        padding: 100px 12px;
        text-align: center;
    }
}

.s-cta-centered-dual__inner {
    max-width: 720px;
    margin-inline: auto;
}

.s-cta-centered-dual__title {
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: #fff;
}

.s-cta-centered-dual__text {
    margin: 0 0 32px;
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.s-cta-centered-dual__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.s-cta-centered-dual__buttons .c-button {
    min-width: 220px;
}

@media (max-width: 480px) {
    .s-cta-centered-dual__buttons {
        flex-direction: column;
    }
    .s-cta-centered-dual__buttons .c-button {
        width: 100%;
        min-width: 0;
    }
}

.s-cta-centered-dual__note {
    margin: 20px 0 0;
    font-size: clamp(13px, 1.5vw, 14px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* 依存: c-section-title */

/* ================================================================
   Section — s-case-grid-icon（住み替えのご相談事例）
   ================================================================ */

.s-case-grid-icon {
    padding: 72px 12px;
    background: var(--primary-light);
}

@media (min-width: 769px) {
    .s-case-grid-icon {
        padding: 100px 12px;
    }
}

.s-case-grid-icon__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .s-case-grid-icon__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

.s-case-grid-icon__card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.s-case-grid-icon__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.s-case-grid-icon__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.s-case-grid-icon__avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-light);
}

.s-case-grid-icon__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-case-grid-icon__meta {
    flex: 1;
    min-width: 0;
}

.s-case-grid-icon__person {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(15px, 2vw, 16px);
    font-weight: 700;
    color: var(--primary);
}

.s-case-grid-icon__transition {
    display: block;
    margin-top: 2px;
    font-size: clamp(14px, 1.6vw, 15px);
    color: var(--text-light);
}

.s-case-grid-icon__tag {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 4px 14px;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 600;
    color: var(--accent-dark);
    background: var(--accent-light);
    border-radius: 100px;
}

.s-case-grid-icon__body {
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.9;
    color: var(--text);
}

/* 注記（任意） */
.s-case-grid-icon__note {
    max-width: 1000px;
    margin: 24px auto 0;
    font-size: clamp(13px, 1.5vw, 14px);
    line-height: 1.7;
    text-align: center;
    color: var(--text-light);
}

/* 依存: c-section-title, c-accordion */

/* ================================================================
   Section — s-faq（よくある質問・アセット版）
   ================================================================ */

.s-faq {
    padding: 72px 12px;
    background: var(--bg);
}

@media (min-width: 769px) {
    .s-faq {
        padding: 100px 12px;
    }
}

/* 依存: c-section-title, c-info-table, c-map */

/* FAQ More Button */
.s-faq__more {
    margin-top: 48px;
    text-align: center;
}

/* ================================================================
   Section — s-company-split-gallery（会社概要・アクセス）
   ================================================================ */

.s-company-split-gallery {
    padding: 72px 12px;
    background: var(--white);
    scroll-margin-top: 80px;
}

@media (min-width: 769px) {
    .s-company-split-gallery {
        padding: 100px 12px;
    }
}

.s-company-split-gallery__more {
    margin-top: 48px;
    text-align: center;
}

.s-company-split-gallery__overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 769px) {
    .s-company-split-gallery__overview {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* グリッドの gap で余白を確保するため c-map の上マージンは打ち消す */
.s-company-split-gallery__overview .c-map {
    margin-top: 0;
}

.s-company-split-gallery__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 40px;
}

/* 1枚だけの場合 → フル幅 */
.s-company-split-gallery__gallery img:only-child {
    grid-column: 1 / -1;
}

/* 3枚の場合 → 1枚目をフル幅に */
.s-company-split-gallery__gallery img:first-child:nth-last-child(3) {
    grid-column: 1 / -1;
}

@media (min-width: 769px) {
    .s-company-split-gallery__gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .s-company-split-gallery__gallery img:only-child {
        grid-column: auto;
    }

    .s-company-split-gallery__gallery img:first-child:nth-last-child(3) {
        grid-column: auto;
    }
}

.s-company-split-gallery__gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s;
}

.s-company-split-gallery__gallery img:hover {
    transform: scale(1.03);
}

/* ━━━━━━━━━━━━━━━━

 ■ 動き軽減（アクセシビリティ）

━━━━━━━━━━━━━━━━ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}