:root {
    --white: #ffffff;
    --bg: #f4f6fb;
    --accent: #e8192c;
    --accent-light: #ff4d5e;
    --accent-pale: #ffeaec;
    --navy: #0a1f5c;
    --navy-mid: #1a3580;
    --navy-pale: #e8edf8;
    --text-primary: #0a1f5c;
    --text-sec: #0a1f5c99;
    --text-muted: #94a3b8;
    --border: #dde3f0;
    --border-dark: #c5cfe0;
    --label-bg: #eef1f8;
    --red: #e8192c;
}

*,
*::after,
*::before { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--white);
    color: var(--text-primary);
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── KEYFRAMES ─────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroZoomOut {
    from { transform: scale(3.12); }
    to { transform: scale(1); }
}
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ── NAV ───────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 64px;
    height: 68px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.4s ease both;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
nav.nav-hidden { opacity: 0; pointer-events: none; transform: translateY(-100%); }
@media(max-width:1024px) { nav { padding: 0 32px; } }
@media(max-width:768px) { nav { padding: 0 20px; height: 60px; } }

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none;}
.nav-brand-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.001em;
    text-align: center;
    color: var(--white);
}
@media(max-width:768px) { .nav-brand-name { font-size: 1.05rem; text-decoration: none; } }
.nav-cta {
    display: inline-block;
    padding: 10px 26px;
    background: var(--accent);
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,25,44,.35); }
@media(max-width:768px) { .nav-cta { font-size: 0.82rem; padding: 8px 14px; } }

/* ── SIDE ELEMENTS ─────────────────────────────── */
.side-brand {
    position: fixed;
    top: 15%; left: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: white;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    white-space: nowrap;
    padding: 16px 8px;
    text-decoration: none;
    background: var(--navy);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.side-cta {
    position: fixed;
    top: 15%; right: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    background: var(--accent);
    padding: 16px 8px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-decoration: none;
    white-space: nowrap;
}
.side-cta:hover { background: var(--accent-light); }
.side-brand.visible, .side-cta.visible { opacity: 1; pointer-events: auto; }
@media(max-width:768px) { .side-brand, .side-cta { top: 10%; } }

/* ── HERO ──────────────────────────────────────── */
.hero {
    position: sticky;
    top: 0; z-index: 1;
    width: 100%; min-height: 100vh;
    background: #111;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding: 0 24px 160px;
    overflow: visible;
}
@media(max-width:768px) { .hero { padding: 0 20px 120px; } }

.hero-video-slot {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    background: #111; overflow: hidden;
}
.hero-video-slot iframe, .hero-video-slot video { width: 100%; height: 100%; object-fit: cover; border: none; }
.hero-video-slot img {
    width: 100%; height: 100%;
    object-fit: cover; border: none;
    transform-origin: center 200px;
    animation: heroZoomOut 2.8s cubic-bezier(0.75, 0.46, 0.45, 0.94) forwards;
}
.hero-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 30%, transparent 100%);
    pointer-events: none; z-index: 2;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    pointer-events: none; z-index: 5;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.hero-content {
    position: relative; z-index: 10;
    width: 100%; max-width: 640px;
    text-align: center;
}
.hero-el {
    opacity: 0;
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0s);
}
.hero-badge {
    display: inline-block;
    margin-bottom: 22px; padding: 8px 20px;
    background: rgba(10,31,92,0.55);
    border: 1px solid rgba(255,255,255,.28);
    color: #fff; font-size: 0.7rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border-radius: 2px;
}
@media(max-width:768px) { .hero-badge { font-size: 0.62rem; letter-spacing: 0.08em; padding: 6px 12px; } }

.hero-copy {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.9; font-weight: 800;
    color: rgba(255,255,255,.9); margin: 0 0 36px;
}
@media(max-width:768px) { .hero-copy { font-size: 0.82rem; } }

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-a {
    display: inline-block; padding: 15px 36px;
    background: var(--accent); color: #fff;
    font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
    font-size: 0.88rem; letter-spacing: 0.06em;
    text-decoration: none; border-radius: 2px; white-space: nowrap;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-a:hover { background: var(--accent-light); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(232,25,44,.4); }
.btn-b {
    display: inline-block; padding: 15px 36px;
    background: transparent; color: #fff;
    font-family: 'Noto Sans JP', sans-serif; font-weight: 500;
    font-size: 0.88rem; letter-spacing: 0.06em;
    text-decoration: none; white-space: nowrap;
    border: 1.5px solid rgba(255,255,255,.42); border-radius: 2px;
    transition: border-color 0.25s, background 0.25s;
}
.btn-b:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.hero-scroll {
    position: absolute; bottom: 26px; left: 50%;
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; color: rgba(255,255,255,0.8);
    font-size: 0.62rem; letter-spacing: 0.22em;
    text-transform: uppercase; white-space: nowrap;
    animation: drift 2.4s ease-in-out infinite;
}
.hero-scroll::after {
    content: ''; width: 1px; height: 34px;
    background: linear-gradient(to bottom, rgba(255,255,255,.38), transparent);
}

/* ── SHARED ────────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 88px 60px; }
@media(max-width:1024px) { .wrap { padding: 72px 36px; } }
@media(max-width:768px) { .wrap { padding: 52px 20px; } }

.tag {
    display: inline-block; color: var(--accent);
    font-size: 0.68rem; letter-spacing: 0.24em;
    text-transform: uppercase; margin-bottom: 12px; font-weight: 700;
}
.stitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: 0.04em; line-height: 1.1;
    margin-bottom: 18px; color: var(--navy);
}
.stitle-small {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: 0.04em; line-height: 1.1;
    margin-bottom: 18px; color: var(--navy); word-break: keep-all;
}
.bar {
    width: 50px; height: 3px; margin: 10px 0 26px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform-origin: left; animation: barIn 0.5s ease 0.3s both;
}
.bar-center { margin: 10px auto 26px; }
.sbody {
    color: var(--text-primary); font-size: 1rem;
    line-height: 1.9; font-weight: 400; max-width: 800px;
    word-break: normal; overflow-wrap: break-word;
}

/* ── STICKY SCROLL-OVER ────────────────────────── */
#about {
    position: relative; z-index: 10;
    min-height: 100vh; display: flex; align-items: center;
}
.page-body { position: relative; z-index: 10; background: var(--white); width: 100%; }
.section-bg { background: var(--bg); width: 100%; position: relative; z-index: 10; }
#solution { position: relative; z-index: 10; }
#pricing { background: var(--white); width: 100%; position: relative; z-index: 10; }
#location { background: var(--bg); width: 100%; position: relative; z-index: 10; }
#media { background: var(--white); width: 100%; position: relative; z-index: 10; }
footer { position: relative; z-index: 10; }

/* ── ABOUT ─────────────────────────────────────── */
.about-grid {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    max-width: 720px; margin: 0 auto;
}
.about-grid .bar { margin: 10px auto 26px; }
.about-grid .sbody { margin: 0 auto; }
#about .tag { color: var(--accent); }
#about .stitle { color: var(--white); }
#about .sbody {
    color: rgba(255,255,255,0.85); font-size: 1.1rem;
    font-weight: 500; word-break: normal;
    overflow-wrap: break-word; line-height: 1.9;
}
#about .bar { background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.3)); }
@media(max-width:768px) {
    .about-grid { text-align: center; align-items: flex-start; }
    .about-grid .bar { margin: 10px auto 26px; }
    #about .sbody { font-size: 0.95rem; }
    #about .stitle { font-size: clamp(1.6rem, 6vw, 2rem); }
}

/* ── FEATURES ──────────────────────────────────── */
.features-hdr { text-align: center; margin-bottom: 160px; }
@media(max-width:768px) { .features-hdr { margin-bottom: 60px; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media(max-width:800px) { .cards { grid-template-columns: 1fr; gap: 60px; } }

.card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 6px; overflow: visible; position: relative;
    transition: transform 0.32s, box-shadow 0.32s;
    animation: cardIn 0.6s ease both;
    display: flex; flex-direction: column; height: 100%;
}
.card:nth-child(1) { animation-delay: 0.08s; }
.card:nth-child(2) { animation-delay: 0.18s; }
.card:nth-child(3) { animation-delay: 0.28s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(10,31,92,.12); }

.card-title-bar {
    padding: 20px 20px 16px; font-size: 1.6rem;
    word-break: keep-all; overflow-wrap: normal;
    font-weight: 700; letter-spacing: 0.04em;
    color: var(--navy); background: var(--navy-pale);
    position: relative; border-bottom: 1.5px solid var(--border);
    height: 140px; display: flex;
    align-items: flex-end; justify-content: center; text-align: center;
}
.card-title-bar::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.card:hover .card-title-bar::after { transform: scaleX(1); }
@media(max-width:768px) { .card-title-bar { font-size: 1.1rem; height: 90px; } }

.card-body {
    padding: 18px 20px; font-size: clamp(0.2rem, 4vw, 0.88rem);
    text-align: center; color: var(--text-primary);
    line-height: 1.85; font-weight: 500; flex: 1;
}
.card-img img {
    width: auto; height: 200px; position: absolute;
    bottom: 92%; right: 0; object-fit: contain;
}
@media(max-width:768px) { .card-img img { height: 130px; bottom: 93%; } }

/* ── SOLUTION ──────────────────────────────────── */
.solution-bg {
    background: var(--navy);
    width: 100%; position: relative; overflow: hidden;
}
.solution-bg::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(1, 0, 76, 0.8);
    backdrop-filter: blur(2px);
    pointer-events: none; z-index: 0;
}
.solution-bg .wrap { position: relative; z-index: 1; }

.solution-layout {
    display: grid;
    grid-template-columns: 0.99fr 1.011fr;
    align-items: center;
    margin-bottom: 64px;
    padding: 88px 0 0;
}
@media(max-width:768px) {
    .solution-layout { grid-template-columns: 1fr; gap: 48px; padding: 52px 0 0; }
    .solution-right { order: -1; }
}

.solution-hdr { text-align: left; margin-right: 20px; }
.solution-hdr .bar { margin: 10px 0 26px; }

.tag-light { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.18); }
.stitle-light { color: #fff; }
.bar-light { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.sbody-light { color: rgba(255,255,255,.85); font-size: 1rem; word-break: normal; overflow-wrap: break-word; }

/* ── STEPS TIMELINE ────────────────────────────── */
.steps {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 20px;
}

/* single continuous track */
.timeline-track {
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    overflow: hidden;
}
.timeline-track-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--accent), rgba(232,25,44,0.3));
    border-radius: 2px;
    will-change: height;
}

/* each step row */
.step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
    padding-bottom: 44px;
    position: relative;
}
.step:last-child { padding-bottom: 0; }

/* dot */
.step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    margin-top: 3px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: background 0.4s ease, border-color 0.4s ease,
                box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}
.step-dot.dot-active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 5px rgba(232,25,44,0.25);
    transform: scale(1.3);
}

/* content */
.step-content {
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.step-content.content-active {
    opacity: 1;
    transform: translateX(0);
}

.step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem; letter-spacing: 0.2em;
    color: var(--accent); opacity: 0.7;
    margin-bottom: 4px; display: block;
}
.step-label {
    font-size: 1.35rem; font-weight: 700;
    color: #fff; letter-spacing: 0.02em;
    margin-bottom: 8px; line-height: 1.3;
}
.step-desc {
    font-size: 0.88rem; color: rgba(255,255,255);
    line-height: 1.8; font-weight: 300;
    word-break: normal; overflow-wrap: break-word;
}

@media(max-width:768px) {
    .step-label { font-size: 1.15rem; }
    .step-desc { font-size: 0.9rem; }
}

/* ── VALUE STRIP ───────────────────────────────── */
.value-strip {
    display: flex; align-items: center; justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    border-radius: 6px; flex-wrap: wrap;
    margin-bottom: 12px;
}
@media(max-width:768px) { .value-strip { display: grid; grid-template-columns: 1fr 1fr; } }

.value-footnote { text-align: right; font-size: 10px; color: rgba(255,255,255,1); margin: 8px 0 0 0; line-height: 1.6; padding-bottom: 40px; }
.value-item {
    flex: 1; min-width: 140px; text-align: center; padding: 28px 16px;
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.value-item.value-visible { opacity: 1; transform: translateX(0); }
.value-big {
    font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em;
    line-height: 1; margin-bottom: 6px;
    background: white; -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
@media(max-width:768px) { .value-big { font-size: 1.2rem; } }
.value-sub { font-size: 0.65rem; color: rgba(255,255,255,1); letter-spacing: 0.06em; text-transform: uppercase; }
.value-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.5); flex-shrink: 0; }
@media(max-width:768px) { .value-divider { display: none; } }

/* ── DIVIDER IMAGE STRIP ───────────────────────── */
.divider {
    width: 100%; height: 580px;
    position: relative; z-index: 10;
    background-attachment: fixed; background-size: cover;
    background-position: center top; background-repeat: no-repeat;
}
.divider::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(10,31,92,0.3) 0%, transparent 40%, transparent 60%, rgba(10,31,92,0.3) 100%);
    pointer-events: none;
}
@media(hover: none) { .divider { background-attachment: scroll; } }

@media(max-width:768px) { 
    .divider { 
        height: 480px; 
        background-position: 10% center; /* adjust % to shift focal point */
    } 
}

/* ── LOCATION ──────────────────────────────────── */
.loc-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 52px; align-items: start; margin-bottom: 32px;
}
@media(max-width:768px) { .loc-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 20px; } }

.loc-left { display: flex; flex-direction: column; gap: 16px; }
.map-wrap { position: relative; overflow: hidden; }
.map-wrap img { width: 100%; height: auto; display: block; }
.map-badge {
    position: absolute; top: 4px; right: 14px;
    background: var(--accent); color: #fff;
    font-size: 0.67rem; letter-spacing: 0.12em;
    padding: 6px 13px; text-transform: uppercase; border-radius: 2px;
}
.loc-photo {
    width: 100%; height: 260px; object-fit: cover;
    display: block; border-radius: 4px;
}
@media(max-width:768px) { .loc-photo { height: 120px; } }

.loc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.loc-tag {
    background: var(--navy-pale); border: 1px solid var(--navy-mid);
    color: var(--navy); font-size: 0.65rem;
    padding: 4px 10px; letter-spacing: 0.04em; border-radius: 2px;
}

/* ── PRICING ───────────────────────────────────── */
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media(max-width:768px) { .pricing-cards { grid-template-columns: 1fr; } }

.pricing-card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 8px; padding: 36px 28px;
    position: relative; transition: transform 0.32s, box-shadow 0.32s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(10,31,92,.12); }
.pricing-card--featured { border-color: var(--accent); box-shadow: 0 8px 32px rgba(232,25,44,.15); }
.pricing-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.12em; padding: 4px 16px; border-radius: 20px;
    text-transform: uppercase; white-space: nowrap;
}
.pricing-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-sec); margin-bottom: 16px; }
.pricing-price { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; letter-spacing: 0.04em; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.pricing-price span { font-family: 'Noto Sans JP', sans-serif; font-size: 0.82rem; font-weight: 300; color: var(--text-sec); }
.pricing-slot { font-size: 0.95rem; color: var(--accent); font-weight: 600; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1.5px solid var(--border); }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 0.95rem; color: var(--text-sec); font-weight: 400; padding-left: 16px; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pricing-note {
    font-size: 0.88rem;
    text-align: center;
    color: var(--text-sec);
    line-height: 1.8;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
/* ── SPEC TABLE ────────────────────────────────── */
.spec-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media(max-width:768px) { .spec-wrap { overflow-x: visible; } }

.spec-table {
    width: 100%; min-width: 540px;
    border-collapse: collapse; border: 1px solid var(--border-dark);
    border-radius: 6px; overflow: hidden; font-size: 0.95rem;
}
@media(max-width:768px) { .spec-table { min-width: 0; } }

.spec-table tr { border-bottom: 1px solid var(--border-dark); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 18px 24px; vertical-align: top; line-height: 1.85; }
.spec-table td:first-child {
    width: 180px; min-width: 130px; background: var(--label-bg);
    color: var(--text-sec); font-weight: 500; font-size: 0.9rem;
    text-align: center; vertical-align: middle; border-right: 1px solid var(--border-dark);
}
.spec-demo td { background: var(--label-bg) !important; font-weight: 600 !important; }
.spec-demo td:first-child { background: var(--navy) !important; color: #fff !important; }
.spec-demo td:last-child { background: var(--accent-pale) !important; color: var(--accent) !important; }
.spec-table td:last-child { background: #fff; color: var(--text-primary); font-weight: 300; }
.spec-highlight { color: var(--accent); font-weight: 700; }
.spec-note { color: var(--text-sec); font-size: 0.78rem; opacity: 0.8; }
.bullet { padding-left: 1em; text-indent: -1em; margin: 0; line-height: 1.85; }

@media(max-width:768px) {
    .spec-table tr { display: flex; flex-direction: column; }
    .spec-table td { display: block; width: 100% !important; min-width: 0 !important; padding: 10px 14px; border-right: none !important; }
    .spec-table td:first-child { font-weight: 700; text-align: left; padding: 9px 14px; border-bottom: none; color: #fff; background: var(--navy); width: auto !important; }
    .spec-table td:last-child { background: #fff; padding-top: 10px; padding-bottom: 16px; border-top: none; border-bottom: 3px solid var(--bg); }
    .spec-demo td:first-child { background: var(--accent) !important; color: #fff !important; }
    .spec-demo td:last-child { background: var(--accent-pale) !important; border-bottom: 3px solid var(--bg) !important; }
}

/* ── CONTACT FORM ──────────────────────────────── */
.contact-form { width: 100%; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:768px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: rgba(255,255,255,1); text-transform: uppercase; }
.form-input {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
    border-radius: 3px; padding: 12px 16px; color: #fff;
    font-family: 'Noto Sans JP', sans-serif; font-size: 1rem;
    width: 100%; transition: border-czolor 0.25s, background 0.25s; outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,.25); }
.form-input:focus { border-color: var(--accent); background: rgba(255,255,255,.1); }
.form-select {
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.form-select option { background: var(--navy); color: #fff; }
.form-textarea { resize: vertical; min-height: 196px; }
.form-submit {
    width: 100%; padding: 16px; background: var(--accent); color: #fff;
    font-family: 'Noto Sans JP', sans-serif; font-weight: 700; font-size: 1rem;
    letter-spacing: 0.08em; border: none; border-radius: 3px; cursor: pointer;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s; margin-top: 8px;
}
.form-submit:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,25,44,.4); }
.form-cta-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
}
/* ── FAQ ───────────────────────────────────────── */
#faq {
    background: var(--navy-pale);
    width: 100%;
    position: relative;
    z-index: 10;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1.5px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.6;
    transition: background 0.2s;
}
.faq-q:hover { background: var(--bg); }

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 24px 20px;
}

.faq-a p {
    font-size: 0.92rem;
    color: var(--text-sec);
    line-height: 1.9;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
/* ── FOOTER ────────────────────────────────────── */
footer { background: var(--navy); width: 100%; padding: 80px 64px; color: #fff; }
@media(max-width:1024px) { footer { padding: 60px 36px; } }
@media(max-width:768px) { footer { padding: 48px 20px; } }

.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 40px; align-items: center;
    margin-bottom: 52px; padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
@media(max-width:768px) { .footer-contact-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; padding-bottom: 36px; } }

.footer-contact-left { padding-top: 8px; }
.footer-cta-title {
    font-family: 'Bebas Neue', sans-serif; word-break: keep-all;
    font-size: clamp(2rem, 5vw, 2.4rem); letter-spacing: 0.05em;
    color: #fff; margin-bottom: 16px; text-align: left; line-height: 1.1;
}
.footer-cta-copy {
    color: rgba(255,255,255,1); font-size: 1rem; font-weight: 400;
    margin-bottom: 32px; line-height: 1.9; text-align: left;
    word-break: normal; overflow-wrap: break-word;
}
@media(max-width:768px) { .footer-cta-title { text-align: center; } .footer-cta-copy { text-align: center; } }

.footer-video {
    width: 100%; height: 200px; object-fit: cover;
    display: block; border-radius: 6px; margin-bottom: 28px;
}
@media(max-width:768px) { .footer-video { height: 160px; } }

.footer-contact-details { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-heading {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-contact-item-wrap { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.footer-contact-icon { font-size: 0.82rem; color: rgba(255,255,255,.4); flex-shrink: 0; margin-top: 2px; white-space: nowrap; }
.footer-contact-item { font-size: 0.88rem; color: rgba(255,255,255,.7); line-height: 1.6; word-break: break-all; }
.footer-contact-link { color: rgba(255,255,255,.7); text-decoration: none; transition: color 0.2s; }
.footer-contact-link:hover { color: #fff; }

.footer-btn {
    display: inline-block; padding: 14px 48px; background: var(--accent); color: #fff;
    font-family: 'Noto Sans JP', sans-serif; font-weight: 700; font-size: 1rem;
    letter-spacing: 0.06em; text-decoration: none; border-radius: 2px; white-space: nowrap;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.footer-btn:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,25,44,.4); }

.footer-copy { text-align: center; color: rgba(255,255,255,.2); font-size: 0.7rem; letter-spacing: 0.1em; margin-top: 8px; }
.socials { display: flex; gap: 10px; }
.soc {
    width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.45); font-size: 0.68rem; font-weight: 700;
    text-decoration: none; border-radius: 3px;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.soc:hover { border-color: var(--accent); color: var(--accent); background: rgba(232,25,44,.1); }
.p-logo-img { height: 80px; width: auto; display: block; }