:root {
    --ink: #172033;
    --muted: #657084;
    --paper: #ffffff;
    --mist: #f4f7fb;
    --line: #dbe2ec;
    --blue: #175cff;
    --blue-dark: #12337c;
    --green: #00a66f;
    --amber: #f1a208;
    --navy: #07152e;
    --shadow: 0 24px 70px rgba(20, 35, 62, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Noto Sans JP", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
}

.site-header.static {
    position: static;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #fff;
    background: var(--blue);
    font-size: 0.9rem;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    gap: 28px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

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

.nav-links a:hover,
.footer-links a:hover {
    color: var(--blue);
}

.header-cta,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.header-cta {
    color: var(--paper);
    background: var(--ink);
    box-shadow: 0 12px 28px rgba(23, 32, 51, 0.16);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
    gap: 56px;
    align-items: center;
    min-height: 720px;
    padding: 132px max(24px, calc((100vw - 1180px) / 2)) 78px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(240, 246, 253, 0.82)),
        #eef4fb;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 92px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(2.65rem, 5.4vw, 4.9rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.keep {
    white-space: nowrap;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.16;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.35;
}

.lead {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.16rem;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.store-link {
    display: inline-flex;
    align-items: center;
    height: 48px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

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

.store-link img {
    width: auto;
    height: 48px;
    object-fit: contain;
}

.light-badge {
    padding: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
}

.primary-button {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 16px 34px rgba(23, 92, 255, 0.25);
}

.secondary-button {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
}

.primary-button.dark {
    color: var(--navy);
    background: #fff;
    box-shadow: none;
}

.secondary-button.light {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px));
    gap: 10px;
    max-width: 520px;
    margin: 32px 0 0;
}

.trust-strip div {
    padding: 16px;
    border: 1px solid rgba(23, 32, 51, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
}

.trust-strip dt {
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
}

.trust-strip dd {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-visual {
    min-height: 480px;
}

.phone-image {
    width: min(100%, 430px);
    margin-left: auto;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.status-panel {
    position: absolute;
    right: min(24px, 3vw);
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 13px;
    width: min(300px, 76%);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 48px rgba(7, 21, 46, 0.2);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 7px rgba(0, 166, 111, 0.14);
}

.status-panel strong {
    display: block;
    font-size: 0.92rem;
}

.status-panel p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 92px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading.narrow {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
}

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

.problem-grid article,
.feature-grid article {
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.problem-grid article:nth-child(2) {
    border-top: 5px solid var(--green);
}

.problem-grid article:nth-child(3) {
    border-top: 5px solid var(--amber);
}

.icon-badge {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    border-radius: 8px;
    color: #fff;
    background: var(--ink);
    font-family: "Inter", sans-serif;
    font-weight: 800;
}

.problem-grid p,
.feature-grid p {
    margin-bottom: 0;
    color: var(--muted);
}

.flow-section {
    width: 100%;
    max-width: none;
    padding: 100px max(24px, calc((100vw - 1180px) / 2));
    background: var(--mist);
}

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

.flow-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(20, 35, 62, 0.08);
}

.flow-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 18px;
    background: #eef4fb;
}

.flow-copy {
    padding: 24px 24px 26px;
}

.flow-copy span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--blue);
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.flow-copy p {
    margin-bottom: 0;
    color: var(--muted);
}

.feature-section {
    padding-bottom: 64px;
}

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

.feature-grid article {
    min-height: 260px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.feature-grid article:nth-child(2) {
    border-top: 5px solid var(--blue);
}

.feature-grid article:nth-child(3) {
    border-top: 5px solid var(--green);
}

.feature-grid article:nth-child(4) {
    border-top: 5px solid var(--amber);
}

.compliance-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 52px;
    align-items: center;
    margin-bottom: 50px;
    padding: 56px;
    border-radius: 8px;
    color: #fff;
    background: var(--navy);
}

.compliance-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

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

.check-list li {
    position: relative;
    padding: 18px 18px 18px 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 20px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--green);
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 88px;
    padding: 46px 52px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta-section h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.cta-section .eyebrow {
    color: rgba(255, 255, 255, 0.74);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px max(24px, calc((100vw - 1180px) / 2));
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 0.9rem;
    font-weight: 700;
}

.site-footer p {
    margin: 0;
    font-size: 0.84rem;
}

.policy-page {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0 92px;
}

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

.policy-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.policy-hero p {
    max-width: 760px;
    color: var(--muted);
}

.policy-content {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--mist);
}

.policy-content h2 {
    margin: 24px 0 8px;
    font-size: 1.2rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 0;
    color: var(--muted);
}

.source-policy {
    line-height: 1.9;
}

.source-policy p {
    color: var(--ink);
}

.source-policy strong {
    color: var(--ink);
    font-weight: 800;
}

.status-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 180px);
    width: min(680px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0 92px;
    text-align: center;
}

.status-icon {
    display: inline-grid;
    place-items: center;
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
    border-radius: 50%;
    background: rgba(241, 162, 8, 0.12);
}

.status-icon svg {
    width: 38px;
    height: 38px;
    color: var(--amber);
}

.status-page h1 {
    max-width: 560px;
    margin-bottom: 16px;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.status-page .lead {
    max-width: 480px;
    margin: 0 auto 36px;
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.status-note {
    margin-top: 36px;
    padding: 20px 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--mist);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
}

.status-note strong {
    color: var(--ink);
}

@media (max-width: 980px) {
    .site-header {
        width: min(1180px, calc(100% - 32px));
    }

    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 112px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 253, 0.88)),
            #eef4fb;
    }

    .hero-visual {
        min-height: 0;
    }

    .phone-image {
        margin: 0 auto;
    }

    .problem-grid,
    .flow-grid,
    .feature-grid,
    .compliance-section {
        grid-template-columns: 1fr 1fr;
    }

    .compliance-section,
    .cta-section {
        padding: 36px;
    }

    .cta-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding-top: 16px;
    }

    .header-cta {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.86rem;
    }

    .hero {
        gap: 34px;
        padding-right: 20px;
        padding-left: 20px;
    }

    h1 {
        font-size: clamp(2.45rem, 13vw, 3.6rem);
    }

    .lead {
        font-size: 1.02rem;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

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

    .primary-button,
    .secondary-button,
    .store-link,
    .store-link img {
        width: 100%;
    }

    .store-link {
        justify-content: center;
    }

    .store-link img {
        max-width: 190px;
    }

    .status-panel {
        right: 12px;
        bottom: 14px;
        width: min(280px, 88%);
    }

    .section,
    .cta-section {
        width: calc(100% - 32px);
    }

    .section,
    .flow-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .problem-grid,
    .flow-grid,
    .feature-grid,
    .compliance-section {
        grid-template-columns: 1fr;
    }

    .problem-grid article,
    .feature-grid article {
        min-height: auto;
        padding: 24px;
    }

    .compliance-section,
    .cta-section,
    .policy-content {
        padding: 26px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
