:root {
    --bg: #f4f8ff;
    --ink: #162239;
    --muted: #50607f;
    --line: rgba(22, 34, 57, 0.15);
    --surface: #ffffff;
    --brand: #145fff;
    --brand-strong: #0f42c7;
    --accent: #1dc9a4;
    --radius-lg: 22px;
    --radius-md: 14px;
    --shadow: 0 14px 34px rgba(18, 40, 80, 0.12);
    --font-main: "Avenir Next", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(20, 95, 255, 0.12), transparent 40%),
        radial-gradient(circle at 94% 18%, rgba(29, 201, 164, 0.14), transparent 34%),
        var(--bg);
    line-height: 1.7;
}

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

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(244, 248, 255, 0.86);
    border-bottom: 1px solid rgba(22, 34, 57, 0.08);
}

.topbar-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    font-size: 0.92rem;
    color: var(--muted);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mini-cta {
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
}

.hero {
    padding: 66px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: stretch;
}

.eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--brand);
    font-weight: 700;
}

h1 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.2;
}

.hero-desc {
    margin: 0 0 20px;
    color: var(--muted);
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-panel,
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    margin: 4px 0 10px;
    font-size: 1.2rem;
}

.hero-panel ul {
    margin: 0;
    padding-left: 18px;
}

.hero-panel li {
    margin: 0 0 8px;
}

.panel-title {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section {
    padding: 26px 0 44px;
}

.section-alt {
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(22, 34, 57, 0.08);
    border-bottom: 1px solid rgba(22, 34, 57, 0.08);
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(1.25rem, 2.8vw, 1.9rem);
}

.section-note {
    margin: -2px 0 14px;
    color: var(--brand-strong);
    font-weight: 700;
    font-size: 0.9rem;
}

h3 {
    margin: 0 0 8px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    border: 1px solid rgba(20, 95, 255, 0.24);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.8rem;
    color: var(--brand-strong);
    background: rgba(20, 95, 255, 0.07);
}

.theme-slider {
    --gutter: 14px;
    --per-view-sp: 1;
    --per-view-md: 1.08;
    --per-view-lg: 1.18;
}

.HeroSlider {
    --per-view-current: var(--per-view-sp, 1.05);
    overflow: hidden;
}

@media (min-width: 750px) {
    .HeroSlider {
        --per-view-current: var(--per-view-md, 1.45);
    }
}

@media (min-width: 1024px) {
    .HeroSlider {
        --per-view-current: var(--per-view-lg, 2.1);
    }
}

.HeroSlider__viewport {
    overflow: hidden;
    position: relative;
    padding-bottom: 4px;
}

.HeroSlider__track {
    display: flex;
    align-items: stretch;
    gap: var(--gutter, 12px);
    will-change: transform;
    transition: transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
    touch-action: pan-y;
    cursor: grab;
}

.HeroSlider__track:active {
    cursor: grabbing;
}

.HeroSlider__slide {
    min-width: calc((100% - (var(--per-view-current) - 1) * var(--gutter, 12px)) / var(--per-view-current));
    max-width: calc((100% - (var(--per-view-current) - 1) * var(--gutter, 12px)) / var(--per-view-current));
    flex: 0 0 calc((100% - (var(--per-view-current) - 1) * var(--gutter, 12px)) / var(--per-view-current));
}

.theme-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.theme-shot {
    display: block;
    aspect-ratio: 16 / 8.6;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(22, 34, 57, 0.14);
    margin: 0;
}

.theme-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.theme-card-active {
    border-color: rgba(20, 95, 255, 0.28);
    background: linear-gradient(160deg, rgba(20, 95, 255, 0.06), rgba(255, 255, 255, 0.98));
}

.theme-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.theme-head h3 {
    margin: 0;
}

.theme-meta {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.theme-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
}

.theme-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #0c614f;
    background: rgba(29, 201, 164, 0.2);
}

.badge-soon {
    color: #5f5f6b;
    background: rgba(70, 77, 100, 0.13);
}

.theme-price {
    margin: 0;
    color: var(--brand-strong);
    font-size: 1.08rem;
    font-weight: 800;
}

.theme-price-soon {
    color: #4c5a78;
}

.theme-desc {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.theme-features {
    margin: 0;
    padding-left: 16px;
}

.theme-features li {
    margin-bottom: 4px;
    font-size: 0.79rem;
    line-height: 1.45;
    color: var(--muted);
}

.theme-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.theme-actions .btn {
    padding: 7px 12px;
    font-size: 0.76rem;
}

.demo-password {
    margin: 0;
    font-size: 0.74rem;
    color: var(--muted);
}

.theme-shot-placeholder {
    background:
        linear-gradient(135deg, rgba(20, 95, 255, 0.08), rgba(29, 201, 164, 0.14)),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5) 10px, rgba(255, 255, 255, 0.3) 10px, rgba(255, 255, 255, 0.3) 20px);
    border-style: dashed;
}

.HeroSlider__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.HeroSlider__navArrow {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(22, 34, 57, 0.18);
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
}

.HeroSlider__navArrow:focus-visible,
.HeroSlider__dots button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.HeroSlider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.HeroSlider__dots button {
    width: 22px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(22, 34, 57, 0.2);
    padding: 0;
    cursor: pointer;
}

.HeroSlider__dots button[aria-current="true"] {
    width: 30px;
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.price {
    margin: 0 0 12px;
    color: var(--brand-strong);
    font-size: 1.25rem;
    font-weight: 800;
}

.list {
    margin: 0;
    padding-left: 18px;
}

.list li {
    margin-bottom: 7px;
}

.custom-note {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-lead {
    margin: 0 0 10px;
    color: var(--muted);
}

.contact-actions {
    margin-bottom: 12px;
}

.disclosure-policy {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.disclosure-policy a {
    color: var(--brand-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.business-details {
    border: 1px solid rgba(22, 34, 57, 0.14);
    border-radius: 12px;
    background: #fff;
}

.business-details summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    font-weight: 700;
}

.business-details summary::-webkit-details-marker {
    display: none;
}

.business-details[open] summary {
    border-bottom: 1px solid rgba(22, 34, 57, 0.12);
}

.business-details .info-grid {
    padding: 12px 14px 14px;
}

.calculator label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.86rem;
    font-weight: 700;
}

.calculator select {
    width: 100%;
    max-width: 360px;
    border: 1px solid rgba(22, 34, 57, 0.22);
    border-radius: 10px;
    padding: 10px;
    font: inherit;
    margin-bottom: 12px;
}

.total-line {
    margin: 0 0 12px;
    font-size: 1.03rem;
}

.total-line strong {
    color: var(--brand-strong);
    font-size: 1.22rem;
}

.checkout-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 18px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
    box-shadow: 0 10px 18px rgba(20, 95, 255, 0.28);
}

.btn-ghost {
    border-color: rgba(22, 34, 57, 0.2);
    background: #fff;
    color: var(--ink);
}

.small-note {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.flow {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    counter-reset: step;
}

.flow li {
    counter-increment: step;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: var(--shadow);
}

.flow li h3::before {
    content: "STEP " counter(step) " ";
    display: inline-block;
    margin-right: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--brand);
}

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

.policy-links a {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    font-weight: 700;
}

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

.info-grid dt {
    margin: 0 0 3px;
    font-size: 0.78rem;
    color: var(--muted);
}

.info-grid dd {
    margin: 0;
    font-weight: 600;
}

.footer {
    border-top: 1px solid rgba(22, 34, 57, 0.12);
    padding: 18px 0 36px;
    color: var(--muted);
    font-size: 0.82rem;
}

@media (max-width: 920px) {
    .topbar-inner,
    .topbar-actions {
        flex-wrap: wrap;
    }

    .hero-grid,
    .pricing-grid,
    .flow,
    .policy-links,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .theme-layout {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section {
        padding: 18px 0 34px;
    }
}
