:root {
    --ink: #171717;
    --muted: #5e6673;
    --subtle: #8a93a3;
    --line: #e3e7ee;
    --soft: #f4f7fb;
    --panel: #ffffff;
    --accent: #1769e0;
    --accent-dark: #0f4ea8;
    --accent-soft: #eaf2ff;
    --success-soft: #e9f7f2;
    --success: #087762;
    --shadow: 0 22px 70px rgba(30, 50, 80, .13);
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans", "Noto Sans JP", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; white-space: nowrap; }
.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.lang { display: flex; gap: 8px; color: var(--muted); }
.lang .active { color: var(--ink); font-weight: 850; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-weight: 850;
    border: 1px solid var(--ink);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); background: #000; }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { border-color: #c9d0dc; background: #f9fbff; }

.hero {
    background:
        radial-gradient(circle at 8% 18%, rgba(23,105,224,.10), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
    border-bottom: 1px solid var(--line);
}
.hero-grid {
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(0, .46fr) minmax(0, .54fr);
    gap: 54px;
    align-items: center;
    padding: 46px 24px 52px;
}
.eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: 12px;
}
.hero h1 {
    margin: 0 0 18px;
    font-size: 78px;
    line-height: 1.02;
    letter-spacing: 0;
    white-space: nowrap;
}
.hero-title-line {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: 0;
    font-weight: 850;
}
html[lang="en"] .hero h1,
html[lang="ja"] .hero h1 {
    font-size: 58px;
    white-space: normal;
}
.lead {
    margin: 0;
    max-width: 630px;
    color: var(--muted);
    font-size: 19px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.capability-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}
.capability-strip span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #174f9f;
    font-size: 13px;
    font-weight: 850;
}
.product-window {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.product-window-bar {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}
.window-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd3df; }
.window-title {
    margin-left: 8px;
    color: var(--subtle);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-shot { aspect-ratio: 16 / 10; background: #f6f8fb; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.section { padding: 82px 0; }
.section.alt { background: var(--soft); }
.section-head { max-width: 780px; margin-bottom: 30px; }
.section-head-wide { max-width: 1080px; }
.section-head h2, .final-cta h2 {
    margin: 0 0 14px;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: 0;
}
@media (min-width: 981px) {
    .section-head h2.no-wrap-desktop { white-space: nowrap; }
}
.section-head p, .problem-card p, .audience-card p, .faq-panel p, .tour-copy p, .final-cta p {
    margin: 0;
    color: var(--muted);
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.problem-card, .audience-card, .faq-item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.problem-card { padding: 22px; min-height: 178px; }
.problem-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}
.problem-card span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 18px;
    background: var(--ink);
    color: #fff;
    font-weight: 850;
    font-size: 13px;
}

.tour-roadmap {
    display: grid;
    gap: 22px;
}
.roadmap-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 34px 28px 30px;
    background:
        radial-gradient(circle at 14% 14%, rgba(23,105,224,.10), transparent 30%),
        radial-gradient(circle at 84% 74%, rgba(15,159,131,.10), transparent 28%),
        linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
    box-shadow: 0 16px 40px rgba(30,50,80,.08);
}
.roadmap-steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    min-height: 238px;
    align-items: start;
}
.roadmap-steps::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 50px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(23,105,224,.22), rgba(15,159,131,.24));
    box-shadow: 0 12px 30px rgba(23,105,224,.10);
}
.roadmap-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 22px 6px 0;
    background: transparent;
    color: var(--ink);
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease;
}
.roadmap-step:nth-child(even) {
    padding-top: 94px;
}
.roadmap-step:nth-child(even)::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 55px;
    width: 2px;
    height: 48px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(23,105,224,.22);
}
.roadmap-step:hover {
    transform: translateY(-2px);
}
.roadmap-node {
    position: relative;
    z-index: 2;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 2px solid rgba(23,105,224,.28);
    border-radius: 50%;
    background: #fff;
    color: var(--accent);
    box-shadow: 0 12px 26px rgba(30,50,80,.12);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}
.roadmap-content {
    display: block;
    width: min(128px, 100%);
    padding: 10px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255,255,255,.76);
}
.roadmap-step b {
    display: block;
    font-size: 15px;
    line-height: 1.25;
}
.roadmap-step small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}
.roadmap-step.is-active .roadmap-node {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 16px 30px rgba(23,105,224,.26);
}
.roadmap-step.is-active .roadmap-content {
    border-color: rgba(23,105,224,.22);
    background: #fff;
    box-shadow: 0 12px 28px rgba(30,50,80,.10);
}
.tour-preview {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(30,50,80,.10);
}
.tour-preview-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}
.tour-copy h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.22;
}
.tour-carousel {
    background: #fff;
}
.tour-carousel-frame {
    aspect-ratio: 1600 / 815;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}
.tour-image-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: #f8fafc;
    cursor: zoom-in;
}
.tour-image-button:focus-visible {
    outline: 3px solid rgba(23,105,224,.24);
    outline-offset: -3px;
}
.tour-image-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.tour-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 16px 16px;
    background: #fff;
}
.tour-carousel-arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #edf0f3;
    color: #5d6b7c;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.tour-carousel-arrow:hover {
    transform: translateY(-1px);
    background: #e1e7ef;
    color: var(--ink);
}
.tour-carousel-arrow:focus-visible,
.tour-carousel-dot:focus-visible {
    outline: 3px solid rgba(23,105,224,.24);
    outline-offset: 3px;
}
.tour-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 130px;
}
.tour-carousel-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: #d4dae3;
    cursor: pointer;
    transition: width .18s ease, background .18s ease, transform .18s ease;
}
.tour-carousel-dot:hover {
    transform: scale(1.1);
    background: #aeb9c9;
}
.tour-carousel-dot.is-active {
    width: 24px;
    background: var(--accent);
}
.feature-showcase {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.feature-list {
    display: grid;
    gap: 10px;
}
.feature-card {
    width: 100%;
    display: block;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.feature-card:hover {
    transform: translateY(-1px);
    border-color: #cbd6e6;
    box-shadow: 0 10px 24px rgba(30,50,80,.07);
}
.feature-card.is-active {
    border-color: rgba(23,105,224,.38);
    background: linear-gradient(135deg, #fff, #f3f8ff);
    box-shadow: 0 12px 30px rgba(30,50,80,.10);
}
.feature-card span {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 12px;
    font-weight: 850;
}
.feature-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.28;
}
.feature-card small {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.feature-preview {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(30,50,80,.10);
}
.feature-preview-copy {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}
.feature-preview-copy h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.22;
}
.feature-image-button {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: #f8fafc;
    cursor: zoom-in;
}
.feature-image-button img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: left top;
    background: #f8fafc;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.audience-card { padding: 22px; }
.audience-card span {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 12px;
    font-weight: 850;
}
.audience-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }

.faq-list {
    display: grid;
    gap: 10px;
    max-width: 900px;
}
.faq-question {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}
.faq-icon { color: var(--muted); font-size: 22px; line-height: 1; }
.faq-panel {
    display: none;
    padding: 0 20px 20px;
}
.faq-item.is-open .faq-panel { display: block; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
}
.contact-panel {
    min-width: 310px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.contact-panel span { display: block; color: var(--muted); font-size: 13px; }
.contact-panel strong { display: block; margin: 3px 0 12px; }
.footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background: rgba(17, 24, 39, .72);
}
.modal.is-open { display: flex; }
.modal-dialog {
    width: min(1180px, 96vw);
    max-height: 92vh;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 34px 100px rgba(0,0,0,.34);
}
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.modal-title { font-weight: 850; }
.modal-close {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}
.modal-body {
    max-height: calc(92vh - 68px);
    overflow: auto;
    background: #f8fafc;
}
.modal-body img { width: 100%; height: auto; }

@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 34px; }
    .hero-copy { max-width: 720px; }
    .problem-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .roadmap-panel { padding: 30px 18px 26px; }
    .roadmap-content { width: min(116px, 100%); }
    .feature-showcase { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: repeat(2, 1fr); }
    .final-cta { grid-template-columns: 1fr; }
    .contact-panel { min-width: 0; }
}

@media (max-width: 720px) {
    .shell { padding: 0 20px; }
    .topbar {
        position: static;
        backdrop-filter: none;
    }
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 20px;
    }
    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 14px;
        font-size: 13px;
    }
    .nav-links > a { white-space: nowrap; }
    .lang { margin-left: auto; }
    .hero-grid { padding: 52px 20px 46px; }
    .hero h1 {
        font-size: 50px;
        white-space: normal;
    }
    html[lang="en"] .hero h1,
    html[lang="ja"] .hero h1 { font-size: 42px; }
    .hero-title-line { font-size: 23px; }
    .lead { font-size: 17px; }
    .section { padding: 58px 0; }
    .section-head h2, .final-cta h2 { font-size: 31px; }
    .problem-grid, .audience-grid { grid-template-columns: 1fr; }
    .roadmap-panel {
        padding: 22px;
    }
    .roadmap-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: auto;
    }
    .roadmap-steps::before {
        left: 27px;
        right: auto;
        top: 20px;
        bottom: 20px;
        width: 6px;
        height: auto;
    }
    .roadmap-step,
    .roadmap-step:nth-child(even) {
        display: grid;
        grid-template-columns: 58px 1fr;
        align-items: center;
        justify-items: stretch;
        gap: 12px;
        min-width: 0;
        padding: 0;
        text-align: left;
    }
    .roadmap-step:nth-child(even)::before {
        display: none;
    }
    .roadmap-node {
        grid-column: 1;
    }
    .roadmap-content {
        width: 100%;
        padding: 12px 14px;
        border-color: var(--line);
        background: #fff;
    }
    .tour-carousel-controls { padding: 12px 12px 14px; }
    .tour-carousel-arrow { width: 34px; height: 34px; font-size: 24px; }
    .tour-carousel-dots { min-width: 112px; gap: 7px; }
    .tour-preview-top { display: block; }
    .feature-list {
        grid-template-columns: 1fr;
    }
    .feature-preview-copy { padding: 20px; }
    .feature-image-button img { aspect-ratio: 4 / 3; }
    .final-cta { padding: 24px; }
    .modal { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
