:root {
    --cream: #fff6e8;
    --cream-light: #fffdf8;
    --amber: #f28c28;
    --amber-soft: #ffb84c;
    --peach: #ffe1a8;
    --ink: #2d3748;
    --muted: #5f6c7b;
    --shadow: 0 18px 40px rgba(242, 140, 40, 0.18);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1120px, 92vw);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 184, 76, 0.35), transparent 55%),
        radial-gradient(circle at 88% 10%, rgba(255, 225, 168, 0.6), transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(242, 140, 40, 0.2), transparent 60%),
        linear-gradient(140deg, #fff3dd 0%, #fff6e8 35%, #fffdf8 100%);
    min-height: 100vh;
}

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

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

.container {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(255, 246, 232, 0.8);
    border-bottom: 1px solid rgba(242, 140, 40, 0.15);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.05rem;
}

.brand-logo {
    width: min(160px, 38vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(242, 140, 40, 0.2));
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 0.95rem;
}

.nav a {
    color: var(--muted);
    font-weight: 500;
}

.hero {
    padding: 72px 0 56px;
}

.hero-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    margin: 16px 0 12px;
    line-height: 1.1;
}

.hero-icon {
    width: min(140px, 42vw);
    height: auto;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 16px 28px rgba(242, 140, 40, 0.25));
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--amber);
    margin: 0 0 14px;
}

.hero-copy p:not(.hero-tagline) {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 24px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    box-shadow: 0 8px 22px rgba(255, 184, 76, 0.18);
    color: var(--amber);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
}

.button.primary {
    background: var(--amber);
    color: white;
    box-shadow: var(--shadow);
}

.button.ghost {
    border-color: rgba(242, 140, 40, 0.4);
    background: white;
    color: var(--amber);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.meta-card {
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(242, 140, 40, 0.12);
    box-shadow: 0 12px 24px rgba(95, 108, 123, 0.08);
}

.meta-card h4 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.meta-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    display: grid;
    gap: 18px;
}

.hero-showcase {
    background: #fffdf8;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 30px 50px rgba(242, 140, 40, 0.2);
    border: 2px solid rgba(242, 140, 40, 0.2);
    display: grid;
    gap: 12px;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.screen-card {
    background: white;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 12px 20px rgba(95, 108, 123, 0.12);
    position: relative;
    z-index: 1;
}

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

.badge {
    background: var(--peach);
    color: #7a3e00;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.gallery-item {
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: white;
    padding: 10px;
    border: 1px solid rgba(242, 140, 40, 0.16);
    box-shadow: 0 18px 30px rgba(242, 140, 40, 0.18);
}

.section {
    padding: 64px 0;
}

.section.alt {
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(242, 140, 40, 0.1);
    border-bottom: 1px solid rgba(242, 140, 40, 0.1);
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 18px;
}

.section p.lead {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.features-grid,
.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    background: white;
    border-radius: var(--radius-md);
    padding: 22px;
    border: 1px solid rgba(242, 140, 40, 0.12);
    box-shadow: 0 16px 30px rgba(95, 108, 123, 0.1);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.card-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 12px;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.step {
    background: white;
    border-radius: var(--radius-md);
    padding: 18px 22px;
    border: 1px solid rgba(242, 140, 40, 0.12);
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--amber);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.support-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 26px;
    border: 1px solid rgba(242, 140, 40, 0.18);
    display: grid;
    gap: 12px;
    box-shadow: 0 18px 30px rgba(242, 140, 40, 0.18);
}

.mail-link {
    display: inline-block;
}

.mail-image {
    width: min(320px, 75vw);
    height: auto;
    display: block;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.link-row a {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(242, 140, 40, 0.2);
    background: #fffaf1;
    font-weight: 600;
    color: var(--amber);
}

.footer {
    padding: 32px 0 40px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.document {
    padding: 64px 0;
}

.document article {
    background: rgba(255, 255, 255, 0.8);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(242, 140, 40, 0.12);
    box-shadow: 0 20px 40px rgba(95, 108, 123, 0.1);
}

.document h1 {
    margin-top: 0;
}

.document h2 {
    margin-top: 28px;
}

.document p,
.document li {
    color: var(--muted);
    line-height: 1.8;
}

.mode-visual {
    margin-top: 28px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid rgba(242, 140, 40, 0.12);
    box-shadow: 0 16px 30px rgba(95, 108, 123, 0.1);
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    gap: 18px;
    align-items: center;
}

.mode-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(242, 140, 40, 0.2));
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
    }

    .mode-visual {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 56px 0 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .step-number {
        width: 100%;
        height: auto;
        padding: 6px 0;
        border-radius: 999px;
    }

    .support-card {
        padding: 20px;
    }
}
