:root {
    --bg: #fffbf6;
    --card: #ffffff;
    --text: #3b2417;
    --sub: #6e584b;
    --accent: #b55a20;
    --accent-2: #ff7a1a;
    --line: #f1e6d9;
    --soft: #fff1e6;
    --soft-line: #ffd6b8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

/* header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 251, 246, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
}


.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.nav-cta {
    position: fixed;
    top: 14px;
    right: max(16px, calc((100vw - 1100px) / 2));
    z-index: 200;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--accent-2);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(255, 122, 26, 0.24);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* hero */
.hero {
    padding: 76px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 40px;
}

h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h1 em {
    color: var(--accent-2);
    font-style: normal;
}

.lead {
    max-width: 660px;
    margin: 0;
    color: var(--sub);
    font-size: 17px;
    font-weight: 600;
}

.phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
}

.phone-frame {
    width: 100%;
    max-width: 320px;
    border-radius: 36px;
    padding: 0;
    /* ← 余白も不要なら削除 */
    background: transparent;
    /* ← 黒を消す */
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.18),
        0 0 0 6px rgba(255, 255, 255, 0.6);
}


/* sections */
section {
    padding: 36px 0;
}

.section-head {
    margin-bottom: 20px;
}

.eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

h2 {
    margin: 8px 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.section-desc {
    max-width: 720px;
    margin: 0;
    color: var(--sub);
    font-size: 15px;
    font-weight: 600;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.section-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--card);
}

.step-no {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.section-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.section-card p {
    margin: 0;
    color: var(--sub);
    font-size: 14px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* download */
.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border: 1px solid var(--soft-line);
    border-radius: 30px;
    background: linear-gradient(180deg, #fff1e6 0%, #fff8f3 100%);
}

.final-text {
    max-width: 680px;
}

.store-link {
    display: inline-flex;
    flex: 0 0 auto;
    width: fit-content;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.store-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.store-badge-img {
    display: block;
    height: 60px;
    width: auto;
}

/* footer */
footer {
    padding: 34px 0 48px;
    color: #9a8477;
    font-size: 13px;
    text-align: center;
}

/* responsive */
@media (max-width: 900px) {

    .hero-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .lead,
    .section-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .final-cta {
        flex-direction: column;
        text-align: center;
    }

    .store-link {
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 24px, 1100px);
    }

    .brand {
        font-size: 18px;
    }

    .nav-cta {
        top: 14px;
        right: 12px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .hero {
        padding: 52px 0 36px;
    }

    .phone {
        padding: 14px;
        border-radius: 28px;
    }

    .phone-frame {
        max-width: 280px;
        border-radius: 32px;
    }

    .phone-img {
        border-radius: 24px;
    }

    .final-cta {
        padding: 24px 18px;
    }

    .store-badge-img {
        height: 54px;
    }
}