html {
    scroll-behavior: smooth;
}

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

:root {
    --bg: #fff9fc;
    --white: #ffffff;
    --pink: #f7bfd3;
    --pink-strong: #ef95b8;
    --pink-soft: #ffe6f0;
    --text: #907784;
    --text-soft: #b79daa;
    --shadow: 0 20px 60px rgba(239, 143, 180, .12);
}

body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    font-family: "Pretendard", "Noto Sans JP", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* =========================
   SCROLL
========================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(#ffd9e8, #ef95b8);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    z-index: 99999;
    background: linear-gradient(90deg, #ffd9e8, #ef95b8);
}

/* =========================
   HERO / FUTURE / FINAL-CTA
========================= */

.hero,
.future,
.final-cta {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-video,
.future-image,
.final-cta-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    filter: brightness(.72) contrast(1.05) saturate(.95);
    transform: scale(1.03);
}

.hero-overlay,
.future-overlay,
.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, .18),
        rgba(0, 0, 0, .32)
    );
}

.hero-content,
.future-content {
    position: relative;
    z-index: 5;
    width: min(1200px, 88%);
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 140px;
}

.final-cta-content {
    position: relative;
    z-index: 5;
    width: min(1200px, 88%);
    margin: 0 auto;
    padding-top: 260px;
    padding-bottom: 140px;
}


/* =========================
   LABEL
========================= */

.hero-label,
.section-label,
.feature-label,
.final-cta-label {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    letter-spacing: .38em;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 20px;
}

.concept .section-label {
    color: var(--text-soft);
}

/* =========================
   TITLES
========================= */

.hero-title {
    font-size: clamp(48px, 7vw, 118px);
    line-height: 1.02;
    letter-spacing: -0.07em;
    max-width: 780px;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 900;
    text-shadow:
        0 8px 30px rgba(0, 0, 0, .34),
        0 0 24px rgba(255, 190, 220, .18);
}

.future-title,
.final-cta-title,
.emotion-title {
    font-size: clamp(38px, 5vw, 78px);
    line-height: 1.12;
    letter-spacing: -0.06em;
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 26px;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .22);
}

.section-title,
.feature-title {
    font-size: clamp(38px, 5vw, 78px);
    line-height: 1.12;
    letter-spacing: -0.06em;
    color: #3d2535;
    font-weight: 900;
    margin-bottom: 26px;
}

/* =========================
   TEXT
========================= */

.hero-description,
.future-description,
.feature-description,
.concept-description,
.emotion-description {
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.9;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.hero-description,
.future-description {
    color: rgba(255, 255, 255, .96);
    text-shadow: 0 4px 18px rgba(0, 0, 0, .22);
}

.emotion-description {
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 4px 18px rgba(0, 0, 0, .28);
}

.concept-description,
.feature-description {
    color: #8f7482;
}

/* =========================
   CTA
========================= */

.hero-button,
.final-cta-button,
.fixed-cta a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 360px;
    height: 76px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(135deg, #ffd7e6, #ef97ba);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 16px 40px rgba(239, 143, 180, .24);
    transition: transform .3s ease, box-shadow .3s ease;
}

.hero-button {
    margin-top: 28px;
}

.hero-button:hover,
.final-cta-button:hover,
.fixed-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(239, 143, 180, .3);
}

.hero-button span,
.final-cta-button span,
.fixed-cta a span {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* =========================
   FREE BADGE
========================= */

.hero-free {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 22px;
    margin-top: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #ef95b8;
    font-size: 15px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

/* =========================
   SECTION
========================= */

.section {
    padding: 120px 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 220, 235, .24),
            transparent 34%
        ),
        var(--bg);
}

.section-inner {
    width: min(1200px, 88%);
    margin: 0 auto;
}

.concept-grid,
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.concept-image img {
    width: 100%;
    border-radius: 38px;
    display: block;
    box-shadow: 0 24px 60px rgba(190, 120, 150, .14);
}

/* =========================
   FEATURE
========================= */

.feature-item {
    padding: 70px 0;
    border-bottom: 1px solid rgba(240, 180, 205, .16);
}

.feature-label {
    color: #d7a9bc;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    letter-spacing: .38em;
    margin-bottom: 20px;
}

/* =========================
   EMOTION
========================= */

.emotion-space {
    position: relative;
    padding: 180px 8%;
    text-align: center;
    overflow: hidden;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, .38),
            rgba(0, 0, 0, .38)
        ),
        url("../images/hero4.jpg");
    background-size: cover;
    background-position: center;
}

/* =========================
   FIXED CTA
========================= */

.fixed-cta {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(760px, 92%);
    z-index: 9999;
}

.fixed-cta a {
    width: 100%;
    height: 64px;
}

/* =========================
   LOGO
========================= */

.hero-logo {
    position: absolute;
    right: 24px;
    bottom: 90px;
    width: 120px;
    z-index: 6;
    opacity: .92;
}

/* =========================
   LOADER
========================= */

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 999999;
    transition: opacity .8s ease, visibility .8s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

/* =========================
   ANIMATION
========================= */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .hero-content,
    .future-content,
    .final-cta-content {
        width: 92%;
        padding-top: 90px;
        padding-bottom: 120px;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.06;
        margin-bottom: 20px;
    }

    .section-title,
    .feature-title,
    .future-title,
    .emotion-title,
    .final-cta-title {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.18;
        margin-bottom: 22px;
    }

    .hero-description,
    .future-description,
    .feature-description,
    .concept-description,
    .emotion-description {
        font-size: 16px;
        line-height: 1.85;
        width: 92%;
        margin: 0 auto;
    }

    .hero-free {
        min-height: 48px;
        padding: 0 18px;
        font-size: 13px;
    }

    .hero-button,
    .final-cta-button {
        width: 88%;
        max-width: 340px;
        height: 62px;
        margin: 24px auto 0;
    }

    .hero-button span,
    .final-cta-button span,
    .fixed-cta a span {
        font-size: 16px;
    }

    .section {
        padding: 84px 0;
    }

    .concept-grid,
    .feature-item {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .emotion-space {
        padding: 140px 7%;
    }

    .fixed-cta {
        width: 340px;
    }

    .fixed-cta a {
        height: 58px;
    }

    .hero-logo {
        width: 100px;
        right: 14px;
        bottom: 82px;
    }
}
