@charset "UTF-8";
/* ================================================================
   LP_相続戸建て_チャット相談 — 相続した戸建ての売却 × チャット相談
   ================================================================ */

:root {
    --primary: #1B3A5C;
    --primary-dark: #122B45;
    --primary-light: #F1EBDF;
    --accent: #A65E2A;
    --accent-dark: #874A20;
    --accent-light: #F5EADE;
    --accent-text: #8A4E20;
    --text: #33302B;
    --text-light: #6B6459;
    --text-heading: #211E19;
    --white: #fff;
    --bg: #FAF7F2;
    --bg-gray: #F9FAFB;
    --border: #E4DCCE;
    --border-light: #EFE7DB;
    --charcoal: #2A3B3A;
    --charcoal-dark: #1F2C2B;
    --footer-accent: #8CA3C0;
    --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;
}


/* ━━━━━━━━━━━━━━━━

 ■ ユーティリティ

━━━━━━━━━━━━━━━━ */

/* SP非表示 → PC表示 */
.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-text); /* a11y: 明色背景で AA 確保のため accent より濃い accent-text */
}

.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
   ================================================================ */

.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: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
}

@media (min-width: 769px) {
    .c-button {
        font-size: 15px;
    }
}

/* SVG アイコン */
.c-button svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Primary: 塗りつぶし */
.c-button--primary {
    background: var(--primary);
    color: #fff !important;
    text-decoration: none !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);
}

/* Accent: アクセントカラー */
.c-button--accent {
    background: var(--accent-dark); /* a11y: 白文字コントラスト確保（accent より濃い accent-dark） */
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.c-button--accent:hover {
    color: #fff !important;
    background: #6E3B18; /* accent-dark をさらに一段濃く */
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Outline: 白枠線（ヒーロー等の暗い背景用） */
.c-button--outline {
    border-color: #fff;
    color: #fff !important;
    text-decoration: none !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);
}

/* Outline-dark: 色付き枠線（明るい背景用） */
.c-button--outline-dark {
    border-color: var(--primary);
    color: var(--primary) !important;
    text-decoration: none !important;
    background: var(--white);
}

.c-button--outline-dark:hover {
    color: #fff !important;
    background: var(--primary);
    transform: translateY(-2px);
}

/* LINE: LINEブランドカラー */
.c-button--line {
    background: #059B42;
    color: #fff !important;
    text-decoration: none !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-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);
}

/* ================================================================
   Component — c-table-wrapper / c-table
   ================================================================ */

.c-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.c-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: clamp(14px, 1.8vw, 15px);
}

.c-table thead {
    background: var(--primary);
    color: #fff;
}

.c-table th {
    padding: 14px 16px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.c-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: #000;
    line-height: 1.6;
}

.c-table tbody tr:last-child td {
    border-bottom: none;
}

.c-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

/* ================================================================
   CMS — h2.tit
   ================================================================ */
h2.tit {
    margin: 0 auto 30px auto;
    padding: 5px 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
    background-color: transparent !important;
}

@media screen and (min-width:768px) {
    h2.tit {
        max-width: 1140px;
        margin: 0 auto 50px auto;
        font-size: clamp(24px, 30 / 1140 * 100vw, 30px);
    }
}


/* ━━━━━━━━━━━━━━━━

 ■ レイアウト

━━━━━━━━━━━━━━━━ */

/* ================================================================
   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 {
    text-decoration: none !important;
}

.l-header__logo-text {
    display: block;
    font-size: clamp(15px, 18 / 390 * 100vw, 18px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: var(--text);
}

@media (min-width: 769px) {
    .l-header__logo-text {
        font-size: clamp(18px, 18 / 1140 * 100vw, 22px);
    }
}

.l-header__nav {
    display: none;
}

@media (min-width: 1180px) {
    .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: 1180px) {
    .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: 1180px) {
    .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(27, 58, 92, 0.98);
    z-index: 999;
    padding: 80px 24px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.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-dark);
    border-radius: var(--btn-radius);
    border-bottom: none;
}

/* ================================================================
   Layout — l-footer
   ================================================================ */

.l-footer {
    background: var(--primary-light);
    color: var(--text-light);
    padding: 48px 20px calc(32px + 64px + env(safe-area-inset-bottom));
}

@media (min-width: 769px) {
    .l-footer {
        padding-bottom: 32px;
    }
}

.l-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 1140px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .l-footer__grid {
        grid-template-columns: 1fr 180px 180px;
        gap: 56px;
    }
}

.l-footer__logo-text {
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
}

.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);
    opacity: 0.8;
}

.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(--primary-light) !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 {
    flex: 0 0 38%;
    background: var(--primary);
}

.l-fixed-cta__button--chat {
    background: var(--accent-dark);
}

/* ================================================================
   Global — 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;
}


/* ━━━━━━━━━━━━━━━━

 ■ セクション固有

━━━━━━━━━━━━━━━━ */

/* ================================================================
   Section — s-hero-split-clip-mockup（ヒーロー：左テキスト＋斜めパネル上にチャットUI）
   ================================================================ */

.s-hero-split-clip-mockup {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg);
}

@media (min-width: 769px) {
    .s-hero-split-clip-mockup {
        flex-direction: row;
        align-items: stretch;
        min-height: 560px;
    }
}

.s-hero-split-clip-mockup__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.s-hero-split-clip-mockup__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-hero-split-clip-mockup__bg-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250, 250, 248, 0.94), rgba(250, 250, 248, 0.90));
}

@media (min-width: 769px) {
    .s-hero-split-clip-mockup__bg-scrim {
        background: linear-gradient(99deg,
            rgba(250, 250, 248, 0.98) 0%,
            rgba(250, 250, 248, 0.96) 38%,
            rgba(250, 250, 248, 0.82) 50%,
            rgba(250, 250, 248, 0.40) 60%,
            rgba(250, 250, 248, 0) 70%);
    }
}

.s-hero-split-clip-mockup__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
    padding: 48px 24px 56px;
}

@media (min-width: 769px) {
    .s-hero-split-clip-mockup__content {
        width: 54%;
        padding: 80px 56px 80px 40px;
    }
}

@media (min-width: 1140px) {
    .s-hero-split-clip-mockup__content {
        padding-left: calc((100vw - 1140px) / 2);
        padding-right: 56px;
    }
}

.s-hero-split-clip-mockup__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent-dark);
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 100px;
}

.s-hero-split-clip-mockup__badge svg {
    width: 16px;
    height: 16px;
}

.s-hero-split-clip-mockup__title {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: clamp(27px, 4.2vw, 42px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--text-heading);
}

.s-hero-split-clip-mockup__title em {
    display: inline-block;
    font-style: normal;
    font-weight: bold;
    color: var(--accent-dark);
}

.s-hero-split-clip-mockup__lead {
    max-width: 560px;
    margin-bottom: 32px;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.9;
    color: var(--text);
}

.s-hero-split-clip-mockup__cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.s-hero-split-clip-mockup__cta a {
    text-decoration: none !important;
}

@media (min-width: 600px) {
    .s-hero-split-clip-mockup__cta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

.s-hero-split-clip-mockup__cta .c-button {
    padding: 17px 30px;
    font-size: 15px;
}

@media (min-width: 769px) {
    .s-hero-split-clip-mockup__cta .c-button {
        font-size: 16px;
    }
}

.s-hero-split-clip-mockup__note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 22px;
    font-size: 14px;
    color: #000;
}

.s-hero-split-clip-mockup__note span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.s-hero-split-clip-mockup__note svg {
    width: 16px;
    height: 16px;
    color: var(--accent-dark);
}

/* ---- 右: カラーパネル（斜めクリップ）＋スマホUIモックアップ ---- */
.s-hero-split-clip-mockup__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    padding: 40px 24px 48px;
}

@media (min-width: 769px) {
    .s-hero-split-clip-mockup__visual {
        width: 46%;
        padding: 60px 40px;
    }
}

.s-hero-split-clip-mockup__visual::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(150deg, var(--primary-dark), var(--primary));
    z-index: 0;
}

@media (min-width: 769px) {
    .s-hero-split-clip-mockup__visual::before {
        clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
    }
}

.s-hero-split-clip-mockup__phone {
    position: relative;
    z-index: 1;
    width: 300px;
    max-width: 84vw;
    padding: 14px;
    background: #0E1C2B;
    border-radius: 38px;
    /* 紺パネルとの境目を出すため、外周に白い光を控えめに重ねる（白系グロー） */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55),
                0 2px 6px rgba(255, 255, 255, 0.32),
                0 6px 14px rgba(255, 255, 255, 0.20),
                0 12px 26px 2px rgba(255, 255, 255, 0.10),
                inset 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.s-hero-split-clip-mockup__phone::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 6px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 100px;
    z-index: 2;
}

/* ---- スマホ画面: チャットUI ---- */
.s-hero-split-clip-mockup__screen {
    display: flex;
    flex-direction: column;
    min-height: 480px;
    padding: 38px 22px 26px;
    color: var(--text);
    text-align: center;
    background: #fff;
    border-radius: 26px;
}

.s-hero-split-clip-mockup__chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.s-hero-split-clip-mockup__chat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: 50%;
}

.s-hero-split-clip-mockup__chat-icon svg {
    width: 18px;
    height: 18px;
}

.s-hero-split-clip-mockup__chat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.s-hero-split-clip-mockup__chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
    text-align: left;
}

.s-hero-split-clip-mockup__msg {
    max-width: 85%;
    padding: 10px 14px;
    font-size: 12.5px;
    line-height: 1.6;
    border-radius: 14px;
}

.s-hero-split-clip-mockup__msg--user {
    align-self: flex-start;
    color: var(--accent-dark);
    background: var(--accent-light);
    border-bottom-left-radius: 4px;
}

.s-hero-split-clip-mockup__msg--staff {
    align-self: flex-end;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-bottom-right-radius: 4px;
}

.s-hero-split-clip-mockup__chat-input {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 12px;
    text-align: left;
    color: var(--text-light);
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 100px;
}

/* ================================================================
   Section — s-worry-grid-icon（相続のお悩み）
   ================================================================ */

.s-worry-grid-icon {
    padding: 72px 12px;
    background: var(--white);
}

@media (min-width: 769px) {
    .s-worry-grid-icon {
        padding: 100px 12px;
    }
}

.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: #000;
}

.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);
}

/* ================================================================
   Section — s-checklist-grid-badge（特徴：Pointナンバーバッジ）
   ================================================================ */

.s-checklist-grid-badge {
    padding: 72px 12px;
    background: var(--bg);
}

@media (min-width: 769px) {
    .s-checklist-grid-badge {
        padding: 100px 12px;
    }
}

.s-checklist-grid-badge__lead {
    max-width: 720px;
    margin: 0 auto 48px;
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: #000;
}

.s-checklist-grid-badge__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .s-checklist-grid-badge__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    .s-checklist-grid-badge__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}

.s-checklist-grid-badge__card {
    position: relative;
    padding: 32px 24px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: border-color 0.3s;
}

@media (min-width: 769px) {
    .s-checklist-grid-badge__card {
        padding: 36px 24px 25px;
    }
}

.s-checklist-grid-badge__card:hover {
    border-color: var(--accent);
}

.s-checklist-grid-badge__badge {
    position: absolute;
    top: -20px;
    left: 24px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 11px 13px 8px 13px;
    background: linear-gradient(145deg, var(--accent), var(--accent-dark));
    border-radius: 6px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.s-checklist-grid-badge__badge-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.s-checklist-grid-badge__badge-num {
    font-family: var(--font-num);
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.s-checklist-grid-badge__title {
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: clamp(17px, 2vw, 19px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
}

.s-checklist-grid-badge__text {
    font-size: clamp(14px, 1.6vw, 15px);
    line-height: 1.8;
    color: #000;
}

.s-checklist-grid-badge__cta {
    margin-top: clamp(28px, 4vw, 40px);
    text-align: center;
}

.s-checklist-grid-badge__cta-text {
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--primary);
}

/* ================================================================
   Section — s-flow（チャット相談から次の一歩までの流れ）
   ================================================================ */

.s-flow {
    padding: 72px 12px;
    background: var(--white);
}

@media (min-width: 769px) {
    .s-flow {
        padding: 100px 12px;
    }
}

.s-flow__list {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* LP: 01→04が一続きのステップだと分かるよう、番号の丸を縦線でつなぐ
   （01の丸の中心から、04の番号より下まで突き抜ける） */
.s-flow__list::before {
    content: "";
    position: absolute;
    top: 56px;
    bottom: 32px;
    left: 24px;
    width: 1px;
    transform: translateX(-0.5px);
    background: var(--accent);
    opacity: 0.35;
    z-index: 0;
}

.s-flow__item {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 32px 0;
}

@media (min-width: 769px) {
    .s-flow__item {
        grid-template-columns: 80px 1fr;
        gap: 28px;
    }

    .s-flow__list::before {
        top: 60px;
        left: 28px;
    }
}

.s-flow__step-num {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    font-family: var(--font-num);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

@media (min-width: 769px) {
    .s-flow__step-num {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
}

/* LP: 最初のステップ(01)の丸だけアクセント色 */
.s-flow__item:first-child .s-flow__step-num {
    background: var(--accent);
}

.s-flow__step-body {
    padding-top: 4px;
}

.s-flow__step-title {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 700;
    color: var(--text);
}

.s-flow__step-desc {
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: #000;
}

/* ================================================================
   Section — s-reason-grid-overlay（選ばれる理由：画像＋Reasonラベル）
   ================================================================ */

.s-reason-grid-overlay {
    padding: 72px 12px;
    background: var(--bg);
}

@media (min-width: 769px) {
    .s-reason-grid-overlay {
        padding: 100px 12px;
    }
}

.s-reason-grid-overlay__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 769px) {
    .s-reason-grid-overlay__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.s-reason-grid-overlay__card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.s-reason-grid-overlay__card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
}

.s-reason-grid-overlay__label {
    position: absolute;
    top: -30px;
    left: 0;
    z-index: 2;
    font-family: var(--font-num);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--accent);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
}

.s-reason-grid-overlay__image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.s-reason-grid-overlay__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.s-reason-grid-overlay__card:hover .s-reason-grid-overlay__image img {
    transform: scale(1.05);
}

.s-reason-grid-overlay__body {
    padding: 24px;
    text-align: center;
}

.s-reason-grid-overlay__title {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
}

.s-reason-grid-overlay__desc {
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    text-align: left;
    color: #000;
}

/* ================================================================
   Section — s-about-split-stats（会社紹介・ご挨拶＋実績）
   ================================================================ */

.s-about-split-stats {
    padding: 72px 12px;
    background: var(--white);
}

@media (min-width: 769px) {
    .s-about-split-stats {
        padding: 100px 12px;
    }
}

.s-about-split-stats__panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 56px;
}

@media (min-width: 769px) {
    .s-about-split-stats__panel {
        grid-template-columns: 5fr 7fr;
        gap: 48px;
    }
}

.s-about-split-stats__img {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.s-about-split-stats__img img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background-color: #f3f4f6;
    transition: transform 0.8s ease;
}

.s-about-split-stats__img:hover img {
    transform: scale(1.03);
}

/* テキストエリア */
.s-about-split-stats__content h3 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
}

.s-about-split-stats__content p {
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.9;
    color: var(--text);
}

.s-about-split-stats__content p + p {
    margin-top: 16px;
}

.s-about-split-stats__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 10px;
    background: var(--primary-light);
    border-radius: var(--radius);
}

@media (min-width: 769px) {
    .s-about-split-stats__stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        padding: 20px 30px;
    }
}

.s-about-split-stats__stat {
    text-align: center;
    padding: 16px 8px;
}

.s-about-split-stats__stat-value {
    display: block;
    font-family: var(--font-num);
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.s-about-split-stats__stat-unit {
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    color: var(--primary);
}

.s-about-split-stats__stat-label {
    display: block;
    margin-top: 8px;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 500;
    color: var(--text-light);
}

/* ================================================================
   Section — s-role（専門家連携の役割分担）
   ================================================================ */

.s-role {
    padding: 72px 12px;
    background: var(--bg);
}

@media (min-width: 769px) {
    .s-role {
        padding: 100px 12px;
    }
}

.s-role__lead {
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.9;
    color: #000;
}

.s-role .c-table-wrapper {
    max-width: 1040px;
    margin: 0 auto;
}

.s-role .c-table {
    font-size: clamp(15px, 1.8vw, 16px);
    background: var(--white);
}

.s-role .c-table tbody tr:nth-child(even) {
    background: var(--primary-light);
}

.s-role .c-table thead th {
    text-align: left;
    font-size: clamp(14px, 1.8vw, 16px);
}

.s-role .c-table tbody td:first-child {
    width: 34%;
    font-weight: 600;
    color: var(--text);
}

.s-role .c-table tbody td {
    vertical-align: top;
}

.s-role .c-table thead th:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.s-role .c-table tbody td:not(:first-child) {
    border-left: 1px solid var(--border-light);
}

.s-role__tag {
    display: inline-block;
    padding: 3px 12px;
    font-size: clamp(13px, 1.6vw, 14px);
    font-weight: 700;
    border-radius: 100px;
    white-space: nowrap;
}

.s-role__tag--primary {
    color: var(--white);
    background: var(--accent);
}

.s-role__tag--sub {
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--primary);
}

.s-role__note {
    max-width: 1040px;
    margin: 20px auto 0;
    font-size: clamp(13px, 1.6vw, 14px);
    line-height: 1.8;
    color: var(--text-light);
}

/* ================================================================
   Section — s-cta-split（CTA横バナー：中間・最終）
   ================================================================ */

.s-cta-split {
    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-split {
        padding: 100px 12px;
    }
}

.s-cta-split__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

@media (min-width: 769px) {
    .s-cta-split__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 48px;
        text-align: left;
    }
}

.s-cta-split__title {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: #fff;
}

/* LP: PC時のみサイズ固定 */
@media (min-width: 769px) {
    .s-cta-split__title {
        font-size: 28px;
    }
}

/* LP: SP時のみサイズ縮小（中段CTAの見出し） */
@media (max-width: 768px) {
    .s-cta-split__title--sp-small {
        font-size: 22px;
    }
}

.s-cta-split__text {
    margin: 0;
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.s-cta-split__action {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
}

.s-cta-split__btn {
    min-width: 260px;
}

@media (max-width: 480px) {
    .s-cta-split__btn {
        width: 100%;
        min-width: 0;
    }
}

.s-cta-split__note {
    margin: 14px 0 0;
    font-size: clamp(13px, 1.5vw, 14px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   Section — s-voice-grid-icon（お客様の声）
   ================================================================ */

.s-voice-grid-icon {
    padding: 72px 12px;
    background: var(--white);
}

@media (min-width: 769px) {
    .s-voice-grid-icon {
        padding: 100px 12px;
    }
}

/* グリッド（auto-fit: 件数に応じて2〜3列へ自動調整） */
.s-voice-grid-icon__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* カード */
.s-voice-grid-icon__card {
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.s-voice-grid-icon__card:hover {
    box-shadow: var(--shadow-hover);
}

/* ヘッダー（アイコン + 名前 + 種別） */
.s-voice-grid-icon__card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.s-voice-grid-icon__card-avatar {
    flex-shrink: 0;
    overflow: hidden;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.s-voice-grid-icon__card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-voice-grid-icon__card-meta {
    flex: 1;
    min-width: 0;
}

.s-voice-grid-icon__card-name {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(16px, 2.6vw, 17px);
    font-weight: 700;
    color: var(--primary);
}

.s-voice-grid-icon__card-type {
    display: block;
    font-size: clamp(13px, 2.6vw, 14px);
    color: var(--text-light);
}

.s-voice-grid-icon__card-title {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: clamp(16px, 2.6vw, 17px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary);
}

.s-voice-grid-icon__card-text {
    font-size: clamp(15px, 2.6vw, 16px);
    line-height: 1.8;
    color: #000;
}

/* ================================================================
   Section — s-faq-list-qa（よくあるご質問：静的Q&A・Q/A文字色分け）
   ================================================================ */

.s-faq-list-qa {
    padding: 72px 12px;
    background: var(--bg);
}

@media (min-width: 769px) {
    .s-faq-list-qa {
        padding: 100px 12px;
    }
}

.s-faq-list-qa__list {
    max-width: 840px;
    margin: 0 auto;
}

.s-faq-list-qa__item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.s-faq-list-qa__item:first-child {
    padding-top: 0;
}

.s-faq-list-qa__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* 質問 */
.s-faq-list-qa__q {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
    line-height: 1.6;
    color: var(--text);
}

/* 回答 */
.s-faq-list-qa__a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.9;
    color: #000;
}

.s-faq-list-qa__q-badge,
.s-faq-list-qa__a-badge {
    flex-shrink: 0;
    min-width: 20px;
    font-family: var(--font-en);
    font-size: clamp(17px, 2vw, 19px);
    font-weight: 900;
    line-height: 1.6;
}

.s-faq-list-qa__q-badge {
    color: var(--accent);
}

.s-faq-list-qa__a-badge {
    color: var(--primary);
}

/* ================================================================
   Section — s-company-split-table（会社概要：テーブル＋写真）
   ================================================================ */

.s-company-split-table {
    padding: 72px 12px;
    background: var(--white);
}

@media (min-width: 769px) {
    .s-company-split-table {
        padding: 100px 12px;
    }
}

.s-company-split-table__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 769px) {
    .s-company-split-table__inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }
}

.s-company-split-table__img {
    border-radius: var(--radius);
    overflow: hidden;
}

.s-company-split-table__img img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background-color: #f3f4f6;
}

@media (min-width: 769px) {
    .s-checklist-grid-badge__lead {
        text-align: center;
    }
}

@media (min-width: 769px) {
    .s-role__lead {
        text-align: center;
    }
}

/* Company Info Tel Link */
.c-info-table__value a {
    text-decoration: none;
    color: var(--text);
}

/* FAQ More Button */
.s-faq__more {
    margin-top: 48px;
    text-align: center;
}

/* Company Detail Button */
.s-company-split-table__more {
    margin-top: 48px;
    text-align: center;
}

@media (min-width: 769px) {
    .l-footer__logo-text {
        font-size: 19px;
    }
}