:root {
    --red: #d80746;
    --pink: #e5316d;
    --green: #06c755;
    --ink: #181b20;
    --deep: #30343a;
    --muted: #68737d;
    --line: #e6ebef;
    --soft: #fff3f7;
    --mint: #eaf9f3;
    --shadow: 0 12px 30px rgba(48, 52, 58, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
    letter-spacing: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    padding: 8px max(10px, env(safe-area-inset-left)) 8px max(10px, env(safe-area-inset-right));
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand img {
    display: block;
    width: 142px;
    height: auto;
}

main,
section,
div,
header,
footer {
    max-width: 100%;
    min-width: 0;
}

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

.nav-cta,
.primary-cta,
.mini-cta,
.fixed-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.nav-cta,
.primary-cta,
.fixed-line {
    color: #fff;
    background: var(--green);
    box-shadow: 0 10px 22px rgba(6, 199, 85, 0.24);
    animation: ctaPulse 1.8s ease-in-out infinite;
}

.mini-cta {
    color: var(--red);
    background: #fff;
    border: 1px solid rgba(216, 7, 70, 0.22);
}

.hero {
    display: grid;
    gap: 14px;
    width: 100%;
    padding: 14px max(12px, env(safe-area-inset-left)) 22px max(12px, env(safe-area-inset-right));
    background:
        radial-gradient(circle at 90% 4%, rgba(255, 217, 90, 0.45), transparent 30%),
        linear-gradient(180deg, #fff 0%, #fff6f9 100%);
}

.launch-label,
.section-head p,
.final-cta p {
    margin: 0 0 7px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
}

h1,
h2,
p,
strong,
span {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    color: var(--deep);
    font-size: clamp(2rem, 11vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: 0;
}

h1 span {
    display: inline-block;
    color: var(--red);
}

.hero-lead {
    margin: 12px 0 0;
    color: #48535c;
    font-size: 0.98rem;
    line-height: 1.58;
    font-weight: 750;
}

.hero-actions {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.hero-actions .primary-cta {
    min-height: 54px;
    font-size: 1.02rem;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.code-note {
    margin: 10px 0 0;
    border: 1px dashed rgba(216, 7, 70, 0.42);
    border-radius: 8px;
    padding: 9px 10px;
    color: var(--red);
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 850;
}

.code-note strong {
    font-family: Arial, sans-serif;
    font-size: 1rem;
}

.hero-visual {
    display: grid;
    gap: 10px;
}

.product-showcase {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-showcase img {
    display: block;
    width: 100%;
    max-height: 176px;
    height: auto;
    object-fit: contain;
    animation: showcaseFloat 4.8s ease-in-out infinite;
}

.showcase-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 11px;
    color: #fff;
    background: rgba(216, 7, 70, 0.94);
    font-size: 0.76rem;
    font-weight: 900;
}

.timer-box,
.coupon-ticket,
.benefit-card,
.delivery-section,
.final-cta {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.timer-box {
    padding: 12px;
    background: #fff;
    animation: urgentGlow 2.4s ease-in-out infinite;
}

.timer-box p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 900;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.countdown-grid div {
    min-height: 70px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 8px;
    color: #fff;
    background: var(--deep);
}

.countdown-grid strong {
    font-size: clamp(2rem, 14vw, 3.2rem);
    line-height: 1;
    animation: digitPop 1s steps(1, end) infinite;
}

.countdown-grid span {
    margin-top: 3px;
    color: rgba(255,255,255,0.76);
    font-size: 0.76rem;
    font-weight: 900;
}

.timer-box.is-urgent .countdown-grid div {
    background: var(--red);
    animation: urgentPulse 0.72s ease-in-out infinite;
}

.coupon-ticket {
    display: block;
    padding: 18px 20px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0)), var(--red);
}

.coupon-ticket span,
.coupon-ticket em {
    display: block;
    font-style: normal;
    font-weight: 900;
}

.coupon-ticket strong {
    display: block;
    margin: 2px 0 8px;
    font-size: clamp(2.45rem, 14vw, 4rem);
    line-height: 0.95;
}

.coupon-ticket em {
    width: fit-content;
    border-radius: 8px;
    padding: 8px 11px;
    color: var(--red);
    background: #fff;
    font-size: 0.88rem;
}

.benefits,
.compact-section,
.delivery-section,
.final-cta {
    width: min(100% - 24px, 760px);
    margin-inline: auto;
}

.benefits {
    display: grid;
    gap: 9px;
    padding-top: 12px;
}

.benefit-card {
    min-height: 108px;
    padding: 14px;
    background: #fff;
}

.benefit-card span {
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
}

.benefit-card strong {
    display: block;
    margin: 7px 0 4px;
    color: var(--deep);
    font-size: 1.06rem;
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.9rem;
    font-weight: 720;
}

.compact-section,
.delivery-section,
.final-cta {
    margin-top: 26px;
}

.section-head h2,
.final-cta h2 {
    margin: 0;
    color: var(--deep);
    font-size: clamp(1.38rem, 7vw, 2.1rem);
    line-height: 1.18;
}

.brand-cloud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 9px;
}

.brand-logo img {
    display: block;
    width: 100%;
    max-width: 116px;
    max-height: 42px;
    object-fit: contain;
}

.delivery-section {
    display: grid;
    gap: 13px;
    padding: 16px;
    background: var(--mint);
}

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

.delivery-grid div {
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}

.delivery-grid img {
    display: block;
    width: 100%;
    max-height: 44px;
    height: auto;
    object-fit: contain;
}

.delivery-section .primary-cta {
    width: 100%;
}

.final-cta {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-bottom: 72px;
    padding: 22px 14px;
    background: var(--soft);
    text-align: center;
}

.final-cta .primary-cta {
    width: 100%;
}

.fixed-line {
    position: fixed;
    left: 50%;
    bottom: 12px;
    z-index: 60;
    width: min(520px, calc(100% - 22px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    min-height: 54px;
    transform: translateX(-50%);
    animation-name: fixedCtaPulse;
}

footer {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 28px 14px 84px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

footer img {
    width: min(190px, 54vw);
    height: auto;
}

footer p {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 800;
}

@keyframes digitPop {
    50% { transform: scale(1.08); }
}

@keyframes urgentGlow {
    50% { box-shadow: 0 14px 34px rgba(216, 7, 70, 0.19); }
}

@keyframes urgentPulse {
    50% { transform: translateY(-2px); }
}

@keyframes ctaPulse {
    50% {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(6, 199, 85, 0.34);
    }
}

@keyframes fixedCtaPulse {
    50% {
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 16px 34px rgba(6, 199, 85, 0.39);
    }
}

@keyframes showcaseFloat {
    50% { transform: scale(1.018); }
}

@media (min-width: 960px) {
    .site-header {
        padding-inline: 28px;
    }

    .brand img {
        width: 210px;
    }

    .hero {
        grid-template-columns: 1fr 0.82fr;
        align-items: center;
        gap: 28px;
        padding: 34px 32px 42px;
    }

    .product-showcase img {
        max-height: 260px;
    }

    .hero-actions {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .benefits,
    .compact-section,
    .delivery-section,
    .final-cta {
        width: min(1120px, calc(100% - 48px));
    }

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

    .brand-cloud {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .delivery-section {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .final-cta .primary-cta,
    .delivery-section .primary-cta {
        width: auto;
    }
}
