:root {
    --bg: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --card: #f8fafc;
    --accent: #4CB5F5;
    --accent-ink: #0b3d59;
    --brand: #334155;
    --shadow: 0 2px 12px rgba(2, 6, 23, .08), 0 1px 3px rgba(2, 6, 23, .06);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --container: 1200px;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.65;
}

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

a {
    color: var(--brand);
    text-decoration: none
}

.container {
    max-width: var(--container);
    padding: 0 20px;
    margin: 0 auto
}

strong {
    color: #334155;
}

/* ================= Header ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(16px);
    transition: all .25s ease;
    border-bottom: 1px solid transparent;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    transition: padding .25s ease;
}

.site-header.shrink .site-header-inner {
    padding: 10px 0
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px
}

.nav a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    opacity: .85
}

.nav a:hover {
    opacity: 1
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .2px;
    padding-left: 10px;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--accent), #8fd7ff);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .25s ease, background .25s ease;
}

.btn:active {
    transform: translateY(1px)
}

.btn-primary {
    background: var(--accent);
    color: #083349;
    box-shadow: var(--shadow)
}

.btn-primary:hover {
    filter: saturate(105%) brightness(1.02)
}

.btn-ghost {
    background: white;
    border-color: #cbd5e1;
    color: #0f172a;
}

.btn-ghost:hover {
    background: #f8fafc
}

.spacer {
    flex: 1
}

/* hamburger（SPのみ表示／サイズUP・枠線なし） */
.hamburger {
    display: none;
    border: none !important;
    background: transparent;
    font-size: 24px;
    width: 48px;
    height: 48px;
    line-height: 1;
    padding: 10px;
    border-radius: 12px;
}

/* ===== ドロワーをPCでは絶対に見せない ===== */
.offcanvas {
    display: none !important;
}

/* ===== SP向けナビ／ドロワー（実DOMオーバーレイ方式） ===== */
@media (max-width: 980px) {
    .nav-links {
        display: none
    }

    /* リンク群を隠す */
    .nav .btn:not(.hamburger) {
        display: none
    }

    /* ログイン/無料で始める を隠す */
    .hamburger {
        display: inline-flex
    }

    .offcanvas {
        display: block !important;
        position: fixed;
        inset: 0;
        z-index: 10000;
        pointer-events: none;
        /* 閉じている時は全体無効 */
    }

    .offcanvas.open {
        pointer-events: auto;
    }

    /* 画面全体のオーバーレイ */
    .offcanvas__overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .15);
        opacity: 0;
        transition: opacity .2s ease;
    }

    .offcanvas.open .offcanvas__overlay {
        opacity: 1;
    }

    /* 右側から出るメニューパネル */
    .offcanvas .menu {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 66vw;
        max-width: 420px;
        min-width: 280px;
        background: rgba(255, 255, 255, .98);
        border-left: 1px solid var(--line);
        box-shadow: -8px 0 24px rgba(2, 6, 23, .18);
        transform: translateX(100%);
        transition: transform .25s ease;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .offcanvas.open .menu {
        transform: translateX(0);
    }

    .offcanvas .menu a {
        padding: 14px 12px;
        border-radius: 12px;
        border: 1px solid var(--line);
        font-weight: 700;
        background: #fff;
    }
}

/* ================= Hero ================= */
.hero {
    padding: 32px 0 42px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/service/assets/logo.png") center center no-repeat;
    background-size: clamp(420px, 50vw, 900px);
    opacity: .06;
    pointer-events: none;
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 38px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    color: #0b3d59;
    background: #f0f9ff;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -.4px;
    margin: 14px 0 12px
}

.hero p {
    font-size: 18px;
    color: var(--muted)
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: left
}

/* 中央寄せ */
.kpi {
    display: flex;
    gap: 18px;
    margin-top: 24px;
    color: #0b3d59
}

.kpi .chip {
    background: #e6f6ff;
    border: 1px solid #cfeefe;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px
}

.mock {
    /* background: linear-gradient(180deg, #f6fbff, #eef6ff);
    border: 1px solid #dfe9f5;
    border-radius: var(--radius); 
    padding: 16px; 
    box-shadow: var(--shadow) */
}

.mock .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.mock .card {
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    padding: 14px
}

.badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    color: #0b3d59;
    background: #fff
}

.icon {
    width: 18px;
    height: 18px;
    display: inline-block
}

/* ================= Sections ================= */
section {
    padding: 72px 0
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px
}

.section-head h2 {
    font-size: 28px;
    letter-spacing: -.2px;
    margin: 0
}

.section-desc {
    color: var(--muted)
}

/* Value/Problem */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start
}

.list {
    display: grid;
    gap: 10px
}

.list li {
    list-style: none;
    padding-left: 28px;
    position: relative
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 16px;
    height: 16px;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--accent), #8fd7ff);
    box-shadow: 0 0 0 3px #e6f6ff;
}

/* ================= NEW: Highlights (3つの特徴) ================= */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.highlight {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight h3 {
    margin: 2px 0 0;
    font-size: 18px;
    line-height: 1.35;
}

.highlight .amp {
    font-weight: 900;
    font-size: 18px;
    color: var(--accent-ink);
    display: inline-block;
    transform: translateY(-2px);
}

.highlight p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.highlight-media {
    border-radius: var(--radius-sm);
    overflow: hidden;
    /* border: 1px solid var(--line);
       background: #fff; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.highlight-media img {
    display: block;
    width: 60%;
    height: auto;

}

@media (max-width: 1100px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= Features ================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.feature {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow)
}

.feature h3 {
    margin: 2px 0 8px;
    font-size: 18px
}

.feature p {
    font-size: 14px;
    color: var(--muted)
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr
    }
}

/* ================= Use cases (tabs) ================= */
.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.tab {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer
}

.tab.active {
    background: var(--accent);
    border-color: transparent;
    color: #083349
}

/* ▼▼ ここを「テキストのみ」用に簡素化 ▼▼ */
.usecase {
    display: none;
    background: linear-gradient(180deg, #fff, #f7fbff);
    border: 1px solid var(--line);
    padding: 18px;
    border-radius: var(--radius);
}

.usecase.active {
    display: block;
}

.usecase p {
    margin: 0;
    color: #334155
}

/* ▲▲ ここまで変更 ▲▲ */

/* ================= Pricing ================= */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.plan {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow)
}

.plan h3 {
    margin: 4px 0 6px
}

.price {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.2px
}

.plan ul {
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 8px
}

.plan li {
    list-style: none;
    padding-left: 22px;
    position: relative;
    color: #334155
}

.plan li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #16a34a
}

/* Negative item (use X mark/red) */
.plan li.is-x::before {
    content: "✕";
    color: #ef4444;
}

.plan .btn {
    margin-top: 14px;
    width: 100%
}

@media (max-width: 960px) {
    .pricing {
        grid-template-columns: 1fr
    }
}

/* ================= Content / CTA / Footer ================= */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr
    }
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow)
}

.cta-band {
    background: linear-gradient(145deg, #e6f6ff, #e9f9f4);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: grid;
    gap: 12px;
    text-align: center;
}

.cta-common {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: center
}

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 16px
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px
    }
}

/* ================= Table（.table） ================= */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius)
}

.table th,
.table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap
}

.table thead th {
    border-bottom: 1px dotted var(--line)
}

.table tbody th,
.table tbody td {
    border-right: 1px dotted var(--line);
    border-top: none;
    border-bottom: none;
}

.table tbody tr>*:last-child {
    border-right: none
}

/* 行ホバー/タップ時のハイライト */
.table-matrix tbody tr:hover,
.table-matrix tbody tr:active {
    background: #f0f9ff;
    /* 薄いブルー系 */
    transition: background .2s ease;
}

/* 行内セルにも一貫して色がつくように */
.table-matrix tbody tr:hover td,
.table-matrix tbody tr:hover th[scope="row"],
.table-matrix tbody tr:active td,
.table-matrix tbody tr:active th[scope="row"] {
    background: #f0f9ff;

}

/* ===== Partners (eyebrow風の小粒チップ) ===== */
.partners {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    /* 1行目との間隔 */
}

.partner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #dbe2ea;
    background: #f0f9ff;
    color: #0b3d59;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

/* 小さなアイコン（チェック）。色はアクセント濃色を使用 */
.partner::before {
    content: "";
    width: 12px;
    height: 12px;
    display: inline-block;
    background: var(--accent-ink);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat center / contain;
    opacity: .95;
}

/* ダーク背景の上に置く場合の反転（必要なら） */
.partner.is-invert {
    background: #083349;
    border-color: #083349;
    color: #fff;
}

.partner.is-invert::before {
    background: #fff;
}

/* ================= Reveal animation ================= */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* ================= How tabs（JSでタブ化） ================= */
#how.tabified .content-grid {
    display: block
}

#how.tabified .how-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

#how.tabified .how-tab {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
}

#how.tabified .how-tab.is-active {
    background: var(--accent);
    border-color: transparent;
    color: #083349
}

#how.tabified .how-panel {
    display: none
}

#how.tabified .how-panel.is-active {
    display: block
}



/* ===== Utilities ===== */
body.no-scroll {
    overflow: hidden;
}

@media (max-width: 640px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .split {
        grid-template-columns: 1fr
    }
}
