@charset "UTF-8";
/* ============================================================
   バディエステート 大阪市生野区新今里 — 不動産買取 特設ページ
   Design: 「錦秋 / kinshu」— 栗色と紅葉の深み、銀杏の金。
   script_branch_detail.js が要求するクラス:
   .reveal / .reveal-stagger / .count-up / #progressLeaf / .progress-rail
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700&family=EB+Garamond:ital@1&display=swap');

:root {
    --ik-paper: #FBF6EC;
    --ik-paper-deep: #F2E3C8;
    --ik-line: rgba(74, 36, 24, .14);
    --ik-ink: #2B1E18;
    --ik-ink-soft: #6A564B;
    --ik-chestnut: #3B2118;
    --ik-chestnut-deep: #25130D;
    --ik-wine: #6E2430;
    --ik-maple: #B8442A;
    --ik-maple-deep: #8F2F1B;
    --ik-ginkgo: #D9A23F;
    --ik-ginkgo-deep: #A87A22;
    --ik-moss: #3F4A31;
    --ik-moss-deep: #2B3322;
    --ik-cream: #FFF8EA;
    --ik-shadow-soft: 0 24px 48px -22px rgba(37, 19, 13, .5);
    --ik-shadow-card: 0 14px 30px -14px rgba(37, 19, 13, .28), 0 2px 0 rgba(255, 255, 255, .6) inset;
    --font-display: "Shippori Mincho", serif;
    --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    --font-en: "EB Garamond", serif;
    --ik-ease: cubic-bezier(.22, .61, .36, 1);
    --radius-lg: 24px;
    --shadow-soft: 0 24px 48px -22px rgba(37, 19, 13, .5);
    --ease-soft: cubic-bezier(.22, .61, .36, 1);
    --tk-bar-a: linear-gradient(90deg, #B8442A, #6E2430);
    --tk-bar-b: linear-gradient(90deg, #3F4A31, #7A8A55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

@media (min-width: 768px) {
    html {
        font-size: 60%;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 62.5%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

body,
h1,
h2,
h3,
p,
ul,
li,
article {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: var(--font-body);
    background: var(--ik-paper);
    background-image: radial-gradient(circle at 6% 4%, rgba(217, 162, 63, .16), transparent 40%), radial-gradient(circle at 96% 30%, rgba(184, 68, 42, .06), transparent 44%);
    color: var(--ik-ink);
    line-height: 1.9;
    letter-spacing: .02em;
    font-size: 1.5rem;
    overflow-x: hidden;
}

:focus-visible {
    outline: 2px solid var(--ik-maple);
    outline-offset: 3px;
}

.wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 104px 0;
    position: relative;
}

@media (max-width: 767px) {
    .section {
        padding: 68px 0;
    }

    .wrap {
        padding: 0 20px;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--ik-maple-deep);
    letter-spacing: .18em;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--ik-ginkgo);
}

.section-head {
    max-width: auto;
    margin-bottom: 36px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 3.8vw, 3.4rem);
    line-height: 1.5;
    color: var(--ik-chestnut);
    margin-top: 12px;
}

.lead {
    font-size: 1.6rem;
    color: var(--ik-ink-soft);
    line-height: 2;
    margin-top: 14px;
    max-width: auto;
}

.prose-p {
    margin-top: 26px;
    max-width: 90ch;
    line-height: 2;
}

.refer {
    margin-top: 14px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--ik-ink-soft);
    max-width: auto;
}

.src {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--ik-line);
    font-size: 1.2rem;
    color: var(--ik-ink-soft);
    line-height: 1.9;
}

.src a {
    color: var(--ik-maple-deep);
    border-bottom: 1px solid rgba(184, 68, 42, .35);
}

.src a:hover {
    border-bottom-color: var(--ik-maple);
}

.on-dark {
    color: rgba(255, 248, 234, .66);
}

.src.on-dark {
    border-top-color: rgba(255, 248, 234, .18);
}

.src.on-dark a {
    color: var(--ik-ginkgo);
    border-bottom-color: rgba(217, 162, 63, .45);
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ik-ease), transform .9s var(--ik-ease);
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ik-ease), transform .7s var(--ik-ease);
}

.reveal-stagger.in-view>* {
    opacity: 1;
    transform: none;
}

.reveal-stagger.in-view>*:nth-child(2) {
    transition-delay: .12s;
}

.reveal-stagger.in-view>*:nth-child(3) {
    transition-delay: .24s;
}

.reveal-stagger.in-view>*:nth-child(4) {
    transition-delay: .36s;
}

/* ---------- Scroll gauge ---------- */
.progress-rail {
    position: fixed;
    top: 12%;
    right: 22px;
    height: 76%;
    width: 26px;
    display: none;
    z-index: 40;
    pointer-events: none;
}

@media (min-width: 1200px) {
    .progress-rail {
        display: block;
    }
}

.progress-rail::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(transparent, var(--ik-line) 8%, var(--ik-line) 92%, transparent);
}

.progress-leaf {
    position: absolute;
    left: 50%;
    top: 0;
    width: 22px;
    height: 22px;
    color: var(--ik-maple);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 3px 5px rgba(37, 19, 13, .35));
    transition: top .12s linear;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 74vh;
    display: flex;
    align-items: flex-end;
    padding: 160px 0 0;
    color: var(--ik-cream);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
        url(/pic/03acch_osaka-ikuno_header-bg.webp);
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
}

.hero-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-leaf {
    position: absolute;
    top: -8%;
    width: 26px;
    height: 26px;
    fill: var(--ik-maple);
    opacity: .8;
    animation: leafFall 14s linear infinite;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3));
}

.hero-leaf.l2 {
    fill: var(--ik-ginkgo);
}

.hero-leaf.l3 {
    fill: #E07A3C;
    width: 20px;
    height: 20px;
}

@keyframes leafFall {
    0% {
        transform: translate(0, -10vh) rotate(0);
        opacity: 0;
    }

    8% {
        opacity: .85;
    }

    92% {
        opacity: .35;
    }

    100% {
        transform: translate(var(--drift, 60px), 112vh) rotate(340deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 110px;
}

.hero .eyebrow {
    color: var(--ik-ginkgo);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    line-height: 1.4;
    margin-top: 18px;
    text-shadow: 0 10px 30px rgba(20, 8, 4, .5);
}

.hero-sub {
    margin-top: 18px;
    font-size: 1.7rem;
    color: rgba(255, 248, 234, .88);
    max-width: 60ch;
}

.hero-ridge {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 90px;
    color: var(--ik-paper);
    z-index: 1;
}

.btn-maple {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    background: linear-gradient(180deg, #E4B04D 0%, var(--ik-ginkgo) 55%, var(--ik-ginkgo-deep) 100%);
    color: var(--ik-chestnut-deep);
    font-weight: 700;
    font-size: 1.5rem;
    padding: 16px 32px;
    border-radius: 999px;
    box-shadow: 0 14px 26px -10px rgba(20, 8, 4, .65), 0 1px 0 rgba(255, 255, 255, .5) inset;
    transition: transform .35s var(--ik-ease), box-shadow .35s ease;
}

.btn-maple:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px -10px rgba(20, 8, 4, .7), 0 1px 0 rgba(255, 255, 255, .5) inset;
}

.btn-maple svg {
    width: 16px;
    height: 16px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    padding: 15px 28px;
    border: 1px solid rgba(255, 248, 234, .55);
    border-radius: 999px;
    color: var(--ik-cream);
    font-weight: 600;
    font-size: 1.5rem;
    transition: background .3s;
}

.btn-ghost:hover {
    background: rgba(255, 248, 234, .12);
}

/* ---------- Hero stats ---------- */
.hero-stats-wrap {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: -56px auto 0;
    padding: 0 24px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: linear-gradient(180deg, #fff 0%, var(--ik-paper) 100%);
    border: 1px solid rgba(168, 122, 34, .4);
    border-radius: 20px;
    box-shadow: var(--ik-shadow-soft);
}

.hero-stat {
    padding: 24px 16px;
    text-align: center;
}

.hero-stat+.hero-stat {
    border-left: 1px solid var(--ik-line);
}

.hero-stat-label {
    display: block;
    font-size: 1.2rem;
    color: var(--ik-ink-soft);
}

.hero-stat-value {
    display: block;
    margin-top: 2px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    color: var(--ik-maple-deep);
}

@media (max-width: 560px) {
    .hero-stat {
        padding: 18px 6px;
    }
}

/* ---------- Branch card ---------- */
.branch-card {
    max-width: 1112px;
    margin: 40px auto 0;
    padding: 0 24px;
}

.branch-card-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    padding: 24px 30px;
    border-radius: 18px;
    background: linear-gradient(120deg, var(--ik-chestnut) 0%, var(--ik-chestnut-deep) 100%);
    color: var(--ik-cream);
    box-shadow: var(--ik-shadow-card);
}

.branch-badge {
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--ik-ginkgo);
    color: var(--ik-chestnut-deep);
    font-size: 1.2rem;
    font-weight: 700;
}

.branch-body {
    flex: 1 1 280px;
}

.branch-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.8rem;
}

.branch-address {
    font-size: 1.3rem;
    color: rgba(255, 248, 234, .72);
    line-height: 1.7;
}

.branch-meta {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.branch-tel small {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 248, 234, .6);
    line-height: 1.4;
}

.branch-tel a {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--ik-ginkgo);
}

.branch-maplink {
    font-size: 1.3rem;
    color: var(--ik-cream);
    border-bottom: 1px solid rgba(255, 248, 234, .4);
}

/* ---------- Quick nav ---------- */
.quicknav {
    max-width: 1112px;
    margin: 26px auto 0;
    padding: 0 24px;
    margin-bottom: 5px;
}

.quicknav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.quicknav-label {
    font-size: 1.25rem;
    color: var(--ik-ink-soft);
    margin-right: 6px;
}

.quicknav a {
    font-size: 1.25rem;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--ik-line);
    background: var(--ik-paper);
    transition: all .3s;
}

.quicknav a:hover {
    background: var(--ik-maple);
    border-color: var(--ik-maple);
    color: var(--ik-cream);
}

/* ---------- Market (paper) ---------- */
.market-section {
    background: var(--ik-paper);
}

.stat-strip {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-strip-tsuruhashi {
    grid-template-columns: 25% 25% 47%;
}

.stat-card-lux {
    position: relative;
    overflow: hidden;
    padding: 30px 26px 26px;
    border-radius: 20px;
    color: var(--ik-cream);
    background: linear-gradient(155deg, #4C2A1E 0%, var(--ik-chestnut-deep) 100%);
    box-shadow: var(--ik-shadow-soft), 0 1px 0 rgba(255, 255, 255, .12) inset;
}

.stat-card-lux::after {
    content: "";
    position: absolute;
    right: -26px;
    top: -26px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(217, 162, 63, .3), transparent 68%);
}

.stat-card-lux.is-accent {
    background: linear-gradient(155deg, var(--ik-maple) 0%, var(--ik-wine) 100%);
}

.stat-label {
    display: block;
    font-size: 1.25rem;
    color: rgba(255, 248, 234, .78);
}

.stat-value {
    display: block;
    margin-top: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 4.6rem;
    line-height: 1.1;
    color: #fff;
}

.stat-value small {
    font-size: 1.5rem;
    margin-left: 4px;
    color: var(--ik-ginkgo);
    font-weight: 700;
}

.stat-note {
    display: block;
    margin-top: 12px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 248, 234, .62);
}

@media (max-width: 860px) {
    .stat-strip {
        grid-template-columns: 1fr;
    }
}

/* ---------- Types (ginkgo paper) ---------- */
.types-section {
    background: linear-gradient(180deg, var(--ik-paper-deep) 0%, #EBD7B4 100%);
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
    margin-top: 15px;
}

.type-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, #FFFBF2 0%, var(--ik-paper) 100%);
    border: 1px solid rgba(168, 122, 34, .28);
    border-top: 4px solid var(--ik-maple);
    box-shadow: var(--ik-shadow-card);
    transition: transform .4s var(--ik-ease), box-shadow .4s;
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ik-shadow-soft);
}

.type-card.is-feature {
    border-top-color: var(--ik-ginkgo);
}

.type-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ik-cream);
    background: linear-gradient(145deg, var(--ik-maple) 0%, var(--ik-wine) 100%);
    box-shadow: 0 8px 16px -8px rgba(110, 36, 48, .7);
}

.is-feature .type-icon {
    background: linear-gradient(145deg, var(--ik-ginkgo) 0%, var(--ik-ginkgo-deep) 100%);
    color: var(--ik-chestnut-deep);
}

.type-icon svg {
    width: 26px;
    height: 26px;
}

.type-card h3 {
    margin-top: 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.5;
    color: var(--ik-chestnut);
}

.type-card>p {
    margin-top: 10px;
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--ik-ink-soft);
}

.check-list {
    margin-top: 16px;
    display: grid;
    gap: 8px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    font-size: 1.32rem;
    line-height: 1.7;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 11px;
    height: 11px;
    background: var(--ik-maple);
    clip-path: polygon(50% 0, 62% 34%, 100% 30%, 72% 56%, 86% 100%, 50% 74%, 14% 100%, 28% 56%, 0 30%, 38% 34%);
}

.is-feature .check-list li::before {
    background: var(--ik-ginkgo-deep);
}

.type-card .type-note {
    margin-top: auto;
    padding-top: 18px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--ik-ink-soft);
    border-top: 1px dashed var(--ik-line);
    margin-bottom: 0;
}

.type-card .check-list+.type-note {
    margin-top: 20px;
}

.types-section .src {
    margin-top: 36px;
    border-top-color: rgba(74, 36, 24, .2);
}

@media (max-width: 960px) {
    .type-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Region (moss) ---------- */
.region-section {
    color: var(--ik-cream);
    background: radial-gradient(ellipse at 90% 0%, rgba(217, 162, 63, .18), transparent 46%), linear-gradient(170deg, var(--ik-moss) 0%, var(--ik-moss-deep) 100%);
}

.region-section .eyebrow {
    color: var(--ik-ginkgo);
}

.region-section .section-title {
    color: var(--ik-cream);
}

.region-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.region-card {
    padding: 32px 30px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 248, 234, .11), rgba(255, 248, 234, .04));
    border: 1px solid rgba(255, 248, 234, .2);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .12) inset;
}

.region-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ik-ginkgo);
}

.region-card p {
    margin-top: 12px;
    font-size: 1.38rem;
    line-height: 1.95;
    color: rgba(255, 248, 234, .86);
}

@media (max-width: 860px) {
    .region-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Why ---------- */
.why-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    position: relative;
    overflow: hidden;
    padding: 32px 26px 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, var(--ik-paper) 100%);
    border: 1px solid var(--ik-line);
    box-shadow: var(--ik-shadow-card);
}

.why-leaf {
    width: 40px;
    height: 40px;
    color: var(--ik-maple);
    filter: drop-shadow(0 4px 5px rgba(143, 47, 27, .3));
}

.why-card:nth-child(2) .why-leaf {
    color: var(--ik-ginkgo);
}

.why-card h3 {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--ik-chestnut);
}

.why-card p {
    margin-top: 8px;
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--ik-ink-soft);
}

@media (max-width: 860px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- CTA (maple) ---------- */
.cta-section {
    background: var(--ik-paper-deep);
    padding-top: 40px;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 56px 48px;
    border-radius: 28px;
    color: var(--ik-cream);
    background: radial-gradient(ellipse at 100% 0%, rgba(217, 162, 63, .45), transparent 50%), linear-gradient(135deg, var(--ik-maple) 0%, var(--ik-wine) 58%, var(--ik-chestnut-deep) 100%);
    box-shadow: var(--ik-shadow-soft), 0 1px 0 rgba(255, 255, 255, .2) inset;
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 220, 160, .3) 1.4px, transparent 1.6px);
    background-size: 22px 22px;
    opacity: .35;
    pointer-events: none;
}

.cta-panel>* {
    position: relative;
}

.cta-panel .eyebrow {
    color: var(--ik-ginkgo);
}

.cta-panel .section-title {
    color: #fff;
}

.cta-panel .lead {
    color: rgba(255, 248, 234, .86);
}

.area-feature-list {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-feature-chip {
    font-size: 1.25rem;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 248, 234, .12);
    border: 1px solid rgba(255, 220, 160, .55);
    color: var(--ik-cream);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 767px) {
    .cta-panel {
        padding: 40px 24px;
        border-radius: 22px;
    }
}

/* ============================================================
   追加: パンくず / 画像フレーム / 表 / FAQ / 会社概要
   ============================================================ */
.breadcrumb {
    max-width: 1112px;
    margin: 26px auto 0;
    padding: 0 24px;
    font-size: 1.2rem;
    color: var(--ik-ink-soft);
}

.breadcrumb .sep {
    margin: 0 8px;
    color: var(--ik-ginkgo-deep);
}

.breadcrumb a {
    border-bottom: 1px solid var(--ik-line);
}

.breadcrumb .current {
    color: var(--ik-maple-deep);
    font-weight: 600;
}

.breadcrumb+.branch-card {
    margin-top: 18px;
}

/* 画像フレーム（3箇所: 新今里の街並み / 生野区の住環境 / 相談イメージ）*/
.content-block {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-top: 54px;
    opacity: 0;
    transition: opacity 1s var(--ik-ease), transform 1s var(--ik-ease);
}

.content-block.from-left {
    flex-direction: row;
    transform: translateX(-56px);
}

.content-block.from-right {
    flex-direction: row-reverse;
    transform: translateX(56px);
}

.content-block.in-view {
    opacity: 1;
    transform: none;
}

.content-block-text {
    flex: 3 1 0;
    min-width: 0;
}

.content-block-text p {
    margin-top: 14px;
    max-width: 70ch;
    line-height: 2;
}

.content-block-image {
    flex: 2 1 0;
    min-width: 0;
}

.case-subtitle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 2.8vw, 2.5rem);
    line-height: 1.6;
    color: var(--ik-chestnut);
}

.case-subtitle::before {
    content: "";
    flex: none;
    width: 12px;
    height: 12px;
    margin-top: .6em;
    background: var(--ik-maple);
    clip-path: polygon(50% 0, 62% 34%, 100% 30%, 72% 56%, 86% 100%, 50% 74%, 14% 100%, 28% 56%, 0 30%, 38% 34%);
}

.photo-frame {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(168, 122, 34, .5);
    box-shadow: var(--ik-shadow-soft), 0 0 0 7px rgba(255, 248, 234, .75), 0 0 0 8px rgba(168, 122, 34, .3);
    background: radial-gradient(ellipse at 80% 15%, rgba(217, 162, 63, .55), transparent 55%), linear-gradient(145deg, var(--ik-maple) 0%, var(--ik-wine) 100%);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    color: transparent;
}

.photo-frame::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 2;
    border: 1px solid rgba(255, 248, 234, .6);
    border-radius: 14px;
    pointer-events: none;
}

.photo-frame::before {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 10%;
    width: 34%;
    aspect-ratio: 1;
    background: rgba(255, 248, 234, .22);
    clip-path: polygon(50% 0, 62% 34%, 100% 30%, 72% 56%, 86% 100%, 50% 74%, 14% 100%, 28% 56%, 0 30%, 38% 34%);
}

.region-section .case-subtitle {
    color: var(--ik-ginkgo);
}

.region-section .content-block-text p {
    color: rgba(255, 248, 234, .86);
}

@media (max-width: 860px) {
    .content-block {
        flex-direction: column !important;
        gap: 26px;
        transform: translateY(26px) !important;
    }

    .content-block.in-view {
        transform: none !important;
    }

    .content-block-image {
        width: 100%;
        order: 2;
    }

    .content-block-text {
        order: 1;
    }
}

/* 表 */
.table-wrap {
    margin-top: 30px;
    overflow-x: auto;
    border-radius: 18px;
    box-shadow: var(--ik-shadow-card);
    border: 1px solid rgba(168, 122, 34, .35);
}

.data-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #fff;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.data-table caption {
    caption-side: top;
    text-align: left;
    padding: 16px 22px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--ik-cream);
    background: var(--ik-chestnut);
}

.data-table thead th {
    padding: 12px 20px;
    text-align: left;
    font-size: 1.25rem;
    color: var(--ik-maple-deep);
    background: var(--ik-paper-deep);
}

.data-table td,
.data-table tbody th {
    padding: 16px 20px;
    text-align: left;
    border-top: 1px solid var(--ik-line);
    line-height: 1.7;
}

.data-table tbody th {
    font-family: var(--font-display);
    color: var(--ik-chestnut);
}

.data-table td:nth-child(2) {
    font-weight: 700;
    color: var(--ik-maple-deep);
    white-space: nowrap;
}

/* FAQ */
.faq-section {
    background: var(--ik-paper);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: linear-gradient(180deg, #fff 0%, var(--ik-paper-deep) 100%);
    border: 1px solid var(--ik-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px -16px rgba(37, 19, 13, .4);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1.6;
    color: var(--ik-chestnut);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: "Q";
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--ik-maple), var(--ik-wine));
    color: var(--ik-cream);
    font-family: var(--font-en);
    font-style: italic;
    font-size: 1.5rem;
}

.faq-item summary span {
    flex: 1;
}

.faq-caret {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--ik-maple-deep);
    transition: transform .35s var(--ik-ease);
}

.faq-item[open] .faq-caret {
    transform: rotate(135deg);
}

.faq-answer {
    padding: 0 26px 22px 70px;
    font-size: 1.4rem;
    line-height: 1.95;
    color: var(--ik-ink-soft);
}

/* 会社概要 */
.company-section {
    background: linear-gradient(180deg, var(--ik-paper-deep) 0%, #EBD7B4 100%);
}

.company-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.company-card {
    padding: 32px 30px;
    border-radius: 20px;
    background: linear-gradient(180deg, #FFFBF2 0%, var(--ik-paper) 100%);
    border: 1px solid rgba(168, 122, 34, .3);
    border-top: 4px solid var(--ik-ginkgo);
    box-shadow: var(--ik-shadow-card);
}

.company-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ik-chestnut);
}

.company-card p {
    margin-top: 12px;
    font-size: 1.38rem;
    line-height: 1.95;
    color: var(--ik-ink-soft);
}

.company-card p strong {
    display: block;
    font-family: var(--font-en);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--ik-maple-deep);
}

.values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.values span {
    padding: 4px 16px;
    border-radius: 999px;
    background: var(--ik-chestnut);
    color: var(--ik-ginkgo);
    font-size: 1.25rem;
    font-weight: 600;
}

.company-dl {
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: 7.5em 1fr;
    gap: 10px 14px;
    font-size: 1.35rem;
    line-height: 1.8;
}

.company-dl dt {
    color: var(--ik-maple-deep);
    font-weight: 700;
}

.company-dl dd {
    margin: 0;
    color: var(--ik-ink-soft);
}

.company-dl a {
    border-bottom: 1px solid rgba(184, 68, 42, .4);
}

@media (max-width: 860px) {
    .company-grid {
        grid-template-columns: 1fr;
    }

    .faq-answer {
        padding-left: 26px;
    }
}

/* ---------- CTA banner ---------- */
.area-cta {
    margin-top: 46px;
    padding: 34px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(var(--ik-chestnut) 30%, var(--ik-ginkgo-deep) 100%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.area-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: 22px 22px;
    opacity: .25;
}

.area-cta-text {
    position: relative;
    color: var(--ik-cream);
    font-size: 1.5rem;
    font-weight: 600;
}

.area-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    background: var(--ik-cream);
    color: var(--ik-chestnut);
    font-weight: 700;
    font-size: 1.4rem;
    padding: 15px 30px;
    border-radius: 999px;
    transition: transform .35s var(--ease-soft), box-shadow .35s ease;
    box-shadow: 0 12px 24px -10px rgba(59, 15, 9, .5);
}

.area-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -10px rgba(59, 15, 9, .6);
}

.area-cta-btn svg {
    width: 16px;
    height: 16px;
}

/* ---------- addtional ---------- */
.type-grid.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 860px) {
    .type-grid.is-two {
        grid-template-columns: 1fr;
    }
}

a.area-feature-chip {
    text-decoration: none;
    color: inherit;
}

a.area-feature-chip:hover,
a.area-feature-chip:focus-visible {
    text-decoration: underline;
}

.sub-heading {
    margin: 2.2rem 0 .9rem;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    color: var(--ik-wine);
    line-height: 1.5;
}

.rc {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    align-items: end;
    height: 24rem;
    max-width: 64rem;
    margin: 2.4rem auto 0;
    padding: 0 1rem;
    border-bottom: 1px solid var(--ik-line);
}

.rc div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.rc i {
    display: block;
    width: 100%;
    max-width: 6.4rem;
    height: 0;
    border-radius: .6rem .6rem 0 0;
    background: linear-gradient(var(--ik-maple), var(--ik-wine));
    transition: height 1.1s var(--ik-ease);
}

.rc.in-view i {
    height: var(--h);
}

.rc b {
    margin-bottom: .5rem;
    font: 700 1.3rem var(--font-body);
    color: var(--ik-wine);
}

.rc-l {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    max-width: 64rem;
    margin: .8rem auto 0;
    padding: 0 1rem;
    text-align: center;
    font-size: 1.3rem;
    color: var(--ik-ink-soft);
}

.rc-cap {
    margin: 2.4rem 0 0;
    text-align: center;
    font: 600 1.5rem var(--font-body);
    color: var(--ik-chestnut);
}

.updated {
    margin: 0 0 1.2rem;
    font-size: 1.3rem;
    color: var(--ik-ink-soft);
}

@media (prefers-reduced-motion: reduce) {
    .rc i {
        transition: none;
    }
}

.tk-updated {
    margin-top: 18px;
    font-size: 1.2rem;
    color: var(--ik-ink-soft);
}

.tk-updated time {
    font-weight: 700;
    color: var(--ik-maple-deep);
    margin-right: .5em;
}

.stat-prefix {
    font-size: 3rem;
    margin-right: 2px;
    color: var(--ik-ginkgo);
}

/* 地価の距離比較バー: ページ内で唯一の「動く」見せ場 */
.tk-compare {
    margin: 34px 0 0;
    padding: 28px 30px 26px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, var(--ik-paper));
    border: 1px solid rgba(168, 122, 34, .35);
    box-shadow: var(--ik-shadow-card);
}

.tk-compare figcaption {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 1.6;
    color: var(--ik-chestnut);
}

.tk-compare-row {
    display: grid;
    grid-template-columns: minmax(0, 16em) 1fr auto;
    align-items: center;
    gap: 8px 18px;
    margin-top: 18px;
}

.tk-compare-label {
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--ik-chestnut);
}

.tk-compare-label small {
    display: block;
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--ik-ink-soft);
}

.tk-compare-track {
    height: 22px;
    border-radius: 999px;
    background: rgba(74, 36, 24, .08);
    overflow: hidden;
}

.tk-compare-bar {
    display: block;
    height: 100%;
    width: var(--w);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.3s var(--ik-ease);
}

.tk-compare-bar.is-a {
    background: var(--tk-bar-a);
}

.tk-compare-bar.is-b {
    background: var(--tk-bar-b);
    transition-delay: .25s;
}

.tk-compare.in-view .tk-compare-bar {
    transform: scaleX(1);
}

.tk-compare-val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--ik-maple-deep);
    white-space: nowrap;
}

.tk-compare-note {
    margin-top: 16px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--ik-ink-soft);
}

@media (max-width: 640px) {
    .tk-compare {
        padding: 22px 18px;
    }

    .tk-compare-row {
        grid-template-columns: 1fr auto;
    }

    .tk-compare-track {
        grid-column: 1 / -1;
        order: 3;
    }
}

.tk-mini-table {
    margin-top: 26px;
}

.tk-mini-table .data-table {
    min-width: 560px;
}

/* 確認ポイント */
.tk-check {
    background: linear-gradient(180deg, #FFFBF2 0%, var(--ik-paper) 100%);
}

.tk-checkgrid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tk-check-item {
    padding: 24px 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ik-line);
    border-left: 4px solid var(--ik-ginkgo);
    box-shadow: var(--ik-shadow-card);
}

.tk-check-item h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ik-chestnut);
}

.tk-check-item p {
    margin-top: 8px;
    font-size: 1.3rem;
    line-height: 1.85;
    color: var(--ik-ink-soft);
}

.tk-callout {
    margin-top: 26px;
    padding: 20px 24px;
    border-radius: 14px;
    background: rgba(217, 162, 63, .14);
    border: 1px solid rgba(168, 122, 34, .4);
    font-size: 1.35rem;
    line-height: 1.9;
}

.tk-callout a {
    color: var(--ik-maple-deep);
    font-weight: 600;
    border-bottom: 1px solid rgba(184, 68, 42, .4);
}

@media (max-width: 960px) {
    .tk-checkgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tk-checkgrid {
        grid-template-columns: 1fr;
    }
}

/* ご相談の流れ（順序のある内容なので番号を使用） */
.tk-steps {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: tk;
}

.tk-steps li {
    position: relative;
    padding: 24px 20px 22px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, var(--ik-paper));
    border: 1px solid var(--ik-line);
    box-shadow: var(--ik-shadow-card);
    counter-increment: tk;
}

.tk-steps li::before {
    content: counter(tk);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--ik-maple), var(--ik-wine));
    color: var(--ik-cream);
    font-family: var(--font-en);
    font-style: italic;
    font-size: 1.7rem;
}

.tk-steps h4 {
    margin: 12px 0 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ik-chestnut);
}

.tk-steps p {
    margin-top: 6px;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--ik-ink-soft);
}

.tk-steps-note {
    margin-top: 12px;
    font-size: 1.2rem;
    color: var(--ik-ink-soft);
}

@media (max-width: 960px) {
    .tk-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .tk-steps {
        grid-template-columns: 1fr;
    }
}