:root {
    --green-900: #064e3b;
    --green-800: #065f46;
    --green-700: #047857;
    --green-600: #059669;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --blue-700: #1d4ed8;
    --blue-50: #eff6ff;
    --yellow-500: #facc15;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-900);
    background: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

a {
    color: inherit;
}

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

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(5, 150, 105, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5, 150, 105, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, var(--green-50) 0%, var(--white) 74%);
    background-size: 48px 48px, 48px 48px, auto;
}

.hero-inner {
    display: grid;
    gap: 32px;
    align-items: center;
    padding: 128px 0 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 5px 10px;
    border: 1px solid rgba(5, 150, 105, 0.24);
    border-radius: 999px;
    color: var(--green-800);
    background: rgba(220, 252, 231, 0.78);
    font-size: 12px;
    font-weight: 900;
}

.eyebrow::before {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green-600);
    content: "";
}

.hero h1 {
    margin: 0;
    max-width: 10em;
    color: var(--slate-950);
    font-size: clamp(36px, 11vw, 68px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--slate-600);
    font-size: clamp(16px, 4.4vw, 19px);
    font-weight: 700;
}

.cta-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--white);
    background: var(--green-700);
    box-shadow: 0 12px 28px rgba(4, 120, 87, 0.24);
}

.btn-primary:hover {
    background: var(--green-800);
}

.btn-secondary {
    color: var(--green-800);
    background: var(--white);
    border: 1px solid rgba(5, 150, 105, 0.22);
}

.hero-visual {
    margin: 0;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.section {
    padding: 64px 0;
}

.section-muted {
    background: var(--slate-100);
}

.section-green {
    color: var(--white);
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 7vw, 42px);
    line-height: 1.18;
    letter-spacing: 0;
}

.section-heading p {
    margin: 12px 0 0;
    color: var(--slate-600);
    font-size: 15px;
    font-weight: 700;
}

.section-green .section-heading p {
    color: rgba(255, 255, 255, 0.78);
}

.steps {
    display: grid;
    gap: 14px;
}

.step-card,
.scene-card {
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    background: var(--white);
}

.step-card {
    padding: 22px;
}

.step-number {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--green-800);
    background: var(--green-100);
    font-size: 12px;
    font-weight: 900;
}

.step-card h3,
.scene-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
}

.step-card p,
.scene-card p {
    margin: 10px 0 0;
    color: var(--slate-600);
    font-size: 15px;
}

.video-shell {
    max-width: 900px;
    margin: 0 auto;
}

.video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 8px;
    background: var(--slate-900);
    aspect-ratio: 16 / 9;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.scenes {
    display: grid;
    gap: 14px;
}

.scene-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
}

.scene-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--green-800);
    background: var(--green-100);
    font-weight: 900;
}

.scene-card:nth-child(2) .scene-icon {
    color: var(--blue-700);
    background: var(--blue-50);
}

.scene-card:nth-child(3) .scene-icon {
    color: #a16207;
    background: #fef9c3;
}

.final-cta {
    padding: 42px 20px;
    text-align: center;
}

.final-cta h2 {
    margin: 0;
    font-size: clamp(28px, 8vw, 48px);
    line-height: 1.15;
}

.final-cta p {
    max-width: 620px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.final-cta .btn-secondary {
    color: var(--green-900);
    border-color: rgba(255, 255, 255, 0.22);
    background: var(--white);
}

.site-footer {
    padding: 34px 0;
    color: rgba(255, 255, 255, 0.62);
    background: var(--slate-950);
}

.footer-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.64);
}

.qr-modal.is-open {
    display: flex;
}

.qr-dialog {
    width: min(420px, 100%);
    border-radius: 8px;
    padding: 24px;
    background: var(--white);
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.28);
    text-align: center;
}

.qr-dialog h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
}

.qr-dialog p {
    margin: 8px 0 0;
    color: var(--slate-600);
    font-size: 14px;
}

.qr-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 20px 0;
}

.qr-code img {
    display: block;
    width: 100%;
    padding: 8px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    background: var(--white);
}

.qr-code span {
    display: block;
    margin-top: 6px;
    color: var(--slate-600);
    font-size: 12px;
    font-weight: 800;
}

.close-modal {
    width: 100%;
    color: var(--slate-700);
    background: var(--slate-100);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 560px) {
    .cta-row {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 760px) {
    .hero-inner {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 44px;
        padding: 150px 0 78px;
    }

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

    .section {
        padding: 86px 0;
    }

    .footer-inner {
        flex-direction: row;
    }
}

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