/* ===========================
   KSS Property Scan LP — Style Sheet
   Based on Child LP design system
   Color Theme: Teal / Warm Gold
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Montserrat:wght@400;600;700&display=swap');

:root {
    --color-bg: #F4F7F6;
    --color-primary: #2A8C82;
    --color-accent: #D4A853;
    --color-title: #1A3A36;
    --color-text: #4A4A4A;
    --color-soft: #E6F0EE;
    --color-card: #FFFFFF;
    --color-muted: #C75B39;
    --font-title: 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.85;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* --- Section Common --- */
section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 4px;
    margin-bottom: 20px;
}

.section-headline {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-title);
    line-height: 1.5;
    margin-bottom: 24px;
}

.section-lead {
    font-size: 1rem;
    line-height: 1.9;
    max-width: 700px;
    margin-bottom: 40px;
}

/* --- Header --- */
header {
    background: var(--color-bg);
    padding: 20px 0;
    border-bottom: 1px solid #C8D8D4;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--color-title);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-left: 8px;
}

.header-cta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    background: #06C755;
    color: #fff;
    padding: 8px 20px;
    border-radius: 100px;
    transition: opacity 0.3s;
}

.header-cta:hover {
    opacity: 0.85;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lp-toggle {
    display: flex;
    background: var(--color-soft);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
}

.toggle-item {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 100px;
    color: var(--color-text);
    transition: all 0.3s;
    white-space: nowrap;
}

.toggle-item:hover {
    color: var(--color-primary);
}

.toggle-item.active {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
}

/* --- Hero --- */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background-image: url('images/hero_property.png');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
    border-bottom: 5px solid var(--color-primary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 40vh;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: #F0D68A;
}

.hero .hero-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* --- CTA Button --- */
.btn-cta {
    display: inline-block;
    background: var(--color-primary);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 100px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(42, 140, 130, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 140, 130, 0.4);
}

.btn-line {
    background: #06C755;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.btn-cta-lg {
    font-size: 1.1rem;
    padding: 20px 48px;
}

.btn-cta-white {
    background: #FFFFFF;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta-white.btn-line {
    color: #06C755;
}

.btn-cta-white:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- Empathy --- */
.empathy {
    background: var(--color-card);
}

.empathy .section-headline {
    text-align: center;
}

.worry-narrative {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
    line-height: 2;
}

/* --- Shift (転換) --- */
.shift {
    background: var(--color-bg);
}

.shift-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.shift-card {
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.shift-card.bad {
    background: #F5EAEA;
    border: 2px solid #D4B4B4;
}

.shift-card.good {
    background: #E6F0EE;
    border: 2px solid var(--color-primary);
}

.shift-card h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-title);
}

.shift-card p {
    font-size: 0.9rem;
}

/* --- Features (4 Cards) --- */
.features {
    background: var(--color-card);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: var(--color-soft);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--color-title);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.feature-card .card-img,
.scenario-card .card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* --- Scenarios --- */
.scenarios {
    background: var(--color-bg);
}

.scenario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.scenario-card {
    background: var(--color-card);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #C8D8D4;
    transition: transform 0.3s, box-shadow 0.3s;
}

.scenario-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.scenario-card .icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.scenario-card h3 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--color-title);
    margin-bottom: 8px;
}

.scenario-card p {
    font-size: 0.88rem;
    line-height: 1.8;
}

/* --- Pricing --- */
.pricing {
    background: var(--color-card);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.price-card {
    background: var(--color-bg);
    border: 2px solid #C8D8D4;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.price-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(42, 140, 130, 0.15);
}

.price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.price-card h3 {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--color-title);
    margin-bottom: 8px;
}

.price-amount {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-title);
    margin-bottom: 4px;
}

.price-amount span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
}

.price-save {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-muted);
    margin-bottom: 12px;
}

.price-includes {
    margin: 16px 0 24px;
    text-align: left;
    padding: 0 4px;
}

.price-includes li {
    padding: 5px 0 5px 24px;
    position: relative;
    font-size: 0.85rem;
}

.price-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* --- Flow --- */
.flow {
    background: var(--color-bg);
}

.flow-steps {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.flow-step {
    background: var(--color-card);
    border: 1px solid #C8D8D4;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    width: 160px;
    position: relative;
}

.flow-step::after {
    content: '→';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-weight: 700;
}

.flow-step:last-child::after {
    display: none;
}

.flow-step .step-num {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.flow-step h4 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--color-title);
}

/* --- FAQ --- */
.faq {
    background: var(--color-bg);
}

.faq-list {
    max-width: 720px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--color-card);
    border: 1px solid #C8D8D4;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 24px;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-title);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 48px;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--color-text);
}

.faq-answer p {
    margin-bottom: 8px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* --- Closing --- */
.closing {
    background: linear-gradient(135deg, var(--color-primary), #1A3A36);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.closing .section-label {
    color: #fff;
    border-color: #fff;
}

.closing .section-headline {
    color: #fff;
}

.closing p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* --- Footer --- */
footer {
    background: var(--color-title);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 0.75rem;
    color: #888;
}

/* ======= Responsive ======= */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section-headline {
        font-size: 1.4rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .shift-compare {
        grid-template-columns: 1fr;
    }

    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .price-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .flow-steps {
        flex-direction: column;
        align-items: center;
    }

    .flow-step::after {
        display: none;
    }

    .header-right {
        gap: 8px;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .toggle-item {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .header-cta {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .faq-item summary {
        font-size: 0.88rem;
        padding: 14px 18px;
        padding-right: 40px;
    }

    .faq-answer {
        padding: 0 18px 16px;
    }
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

