@charset "UTF-8";

/* ============================================================
   マルチユース LP  ―  SATORI サイトのデザイン構造に準拠
   白基調・ブルー＋オレンジ・吹き出しシーンカード・番号付き特徴・
   課題解決チェックリスト・構造化された事例カード・メガフッター。
   ※ SATORI のロゴ／コピー／イラスト／受賞実績は使用していません。
   ============================================================ */

:root {
    --blue:       #0b7cc2;   /* メインブルー */
    --blue-2:     #0a6aa8;
    --blue-deep:  #0a4f86;
    --navy:       #11314e;   /* 見出し濃色 */
    --blue-soft:  #eaf4fb;   /* 淡い青背景 */
    --blue-tint:  #f1f8fd;

    --accent:     #ec5b24;   /* CTA オレンジ */
    --accent-d:   #d44d1a;

    --ink:        #36434f;   /* 本文 */
    --muted:      #6b7886;
    --line:       #e3ebf1;
    --bg:         #ffffff;
    --bg-soft:    #f3f8fb;

    --font: 'Noto Sans JP', system-ui, sans-serif;
    --wrap: 1160px;
    --r:    14px;
    --sh-sm: 0 4px 18px rgba(13,70,115,.07);
    --sh-md: 0 16px 44px rgba(13,70,115,.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.85;
    font-size: 16px;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
strong { font-weight: 700; }

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

/* ---------- セクション共通見出し ---------- */
.sec { padding: 104px 0; }
.sec-bluebg { background: var(--bg-soft); }

.sec-head { text-align: center; margin-bottom: 60px; }
.sec-eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.sec-title {
    color: var(--navy);
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .01em;
    text-wrap: balance;
}
.sec-title .hl { color: var(--blue); }
.sec-lead { margin-top: 20px; font-size: 16px; color: var(--muted); text-wrap: pretty; }

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px 15px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    transition: transform .25s, box-shadow .25s, background-color .25s, color .25s;
}
.btn .ico {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.btn .ico svg { width: 9px; height: 9px; }
.btn:hover { transform: translateY(-2px); }

.btn-cta {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(236,91,36,.32);
}
.btn-cta .ico { background: rgba(255,255,255,.25); }
.btn-cta:hover { background: var(--accent-d); box-shadow: 0 14px 30px rgba(236,91,36,.42); }

.btn-blue {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(11,124,194,.28);
}
.btn-blue .ico { background: rgba(255,255,255,.25); }
.btn-blue:hover { background: var(--blue-2); }

.btn-outline {
    background: #fff;
    color: var(--blue-deep);
    border: 1.5px solid var(--blue);
}
.btn-outline .ico { background: var(--blue-soft); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline:hover .ico { background: rgba(255,255,255,.25); }

/* テキストリンク（詳しく見る ›） */
.morelink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
}
.morelink::after {
    content: "";
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--blue-soft);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
    background-color: var(--blue);
    transition: transform .2s;
}
.morelink:hover::after { transform: translateX(3px); }

/* ---------- ヘッダー ---------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; height: 72px;
}
.header-logo img, .header-logo .ph { height: 36px; width: auto; }
.gnav ul { display: flex; gap: 24px; }
.gnav a { font-size: 14px; font-weight: 500; color: var(--navy); position: relative; }
.gnav a::after {
    content: ""; position: absolute; left: 0; bottom: -26px;
    width: 0; height: 3px; background: var(--blue); border-radius: 3px; transition: width .25s;
}
.gnav a:hover { color: var(--blue); }
.gnav a:hover::after { width: 100%; }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { padding: 10px 16px; font-size: 13px; border-radius: 8px; }
.header-cta .btn .ico { width: 18px; height: 18px; }

/* ---------- ヒーロー ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 520px at 90% -8%, var(--blue-soft) 0%, rgba(234,244,251,0) 62%),
        linear-gradient(180deg, #f5fafe 0%, #ffffff 100%);
    padding: 84px 0 92px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue-soft); color: var(--blue-deep);
    padding: 8px 18px 8px 15px; border-radius: 999px;
    font-size: 13px; font-weight: 700; margin-bottom: 22px;
    border: 1px solid #d4e7f5;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.35; color: var(--navy); font-weight: 700;
    letter-spacing: .005em; margin-bottom: 18px; text-wrap: balance;
}
.hero h1 .hero-line1 { white-space: nowrap; }
.hero h1 .hl { color: var(--blue); }
.hero p { font-size: 15.5px; line-height: 1.95; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero p strong { color: var(--accent); }

/* プラン3行リスト */
.hero-plans { display: flex; flex-direction: column; gap: 9px; margin-bottom: 30px; }
.plan-row {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 10px; padding: 13px 18px;
    box-shadow: var(--sh-sm);
}
.plan-row.plan-1 { border-left-color: #0b7cc2; }
.plan-row.plan-2 { border-left-color: #19a7c2; }
.plan-row.plan-3 { border-left-color: #16b39a; }
.plan-num {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; color: #fff;
    font-size: 13px; font-weight: 700; line-height: 1;
}
.plan-1 .plan-num { background: #0b7cc2; }
.plan-2 .plan-num { background: #19a7c2; }
.plan-3 .plan-num { background: #16b39a; }
.plan-name { flex-shrink: 0; width: 86px; font-weight: 700; color: var(--navy); font-size: 16px; }
.plan-desc { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.plan-desc strong { color: var(--navy); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero p.hero-note { font-size: 11px; color: var(--muted); margin-top: 40px; line-height: 1.5; }
.hero-note + .hero-note { margin-top: 0; }
.hero p.ai-img-note { font-size: 11px; color: var(--muted); margin-top: 8px; text-align: center; line-height: 1.4; }

/* 右ビジュアル：AIステージングカード */
.hero-visual { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero-stage {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 22px; box-shadow: var(--sh-md);
}
.hero-stage-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hero-stage-title { font-weight: 700; color: var(--navy); font-size: 15px; }
.hero-stage-tag {
    background: var(--blue-soft); color: var(--blue); font-weight: 700;
    font-size: 12px; padding: 4px 12px; border-radius: 999px;
    letter-spacing: .02em;
}
/* Before/After 比較スライダー */
.ba-slider {
    position: relative; width: 100%; aspect-ratio: 4/3;
    border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
    --pos: 50%; touch-action: none; cursor: ew-resize; user-select: none;
}
.ba-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block; pointer-events: none;
}
.ba-after-wrap {
    position: absolute; inset: 0;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-tag {
    position: absolute; top: 12px; left: 12px;
    background: var(--blue); color: #fff; font-weight: 700;
    font-size: 12px; padding: 5px 12px; border-radius: 7px;
    letter-spacing: .02em; box-shadow: var(--sh-sm);
}
.ba-divider {
    position: absolute; top: 0; bottom: 0; left: var(--pos);
    width: 3px; background: #fff; transform: translateX(-50%);
    box-shadow: 0 0 0 1px rgba(10,79,134,.18); pointer-events: none;
}
.ba-handle {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--blue); color: #fff; border: 3px solid #fff;
    display: grid; place-items: center; cursor: ew-resize;
    box-shadow: 0 4px 14px rgba(10,79,134,.35); pointer-events: auto;
}
.ba-handle svg { width: 20px; height: 20px; }
.ba-hint {
    margin: 12px 0 0; text-align: center; font-size: 12px;
    font-weight: 700; color: var(--muted); letter-spacing: .04em;
}
.hero-stage-note {
    display: flex; align-items: flex-start; gap: 8px;
    margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
    font-size: 13px; line-height: 1.6; color: var(--ink); max-width: none;
}
.note-ico {
    flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
    background: #e4f3ec; color: #16b39a; display: grid; place-items: center; margin-top: 1px;
}
.note-ico svg { width: 11px; height: 11px; }
.hero-subbar {
    display: flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 13px 18px; font-size: 13.5px; color: var(--ink); box-shadow: var(--sh-sm);
}
.hero-subbar strong { color: var(--accent); }

/* 下部USPストリップ */
.hero-usp {
    position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; margin-top: 52px; border-top: 1px solid var(--line);
}
.hero-usp li { display: flex; align-items: center; gap: 14px; padding: 24px 28px; }
.hero-usp li:not(:last-child) { border-right: 1px solid var(--line); }
.usp-ico {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px;
    background: var(--blue-soft); color: var(--blue); display: grid; place-items: center;
}
.usp-ico svg { width: 22px; height: 22px; }
.hero-usp div { display: flex; flex-direction: column; line-height: 1.4; }
.hero-usp strong { color: var(--navy); font-size: 15px; }
.hero-usp span { font-size: 12.5px; color: var(--muted); }

/* ---------- シーンカード（＼ 〜したい ／） ---------- */
.scenes { position: relative; z-index: 3; }
.scenes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 30px 26px 26px; box-shadow: var(--sh-md);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.scene-card:hover { transform: translateY(-6px); }
.bubble {
    display: flex; align-items: center; gap: 10px;
    color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 10px;
}
.bubble::before, .bubble::after {
    content: ""; width: 2px; height: 18px; background: var(--accent); border-radius: 2px;
}
.bubble::before { transform: rotate(-22deg); }
.bubble::after { transform: rotate(22deg); }
.scene-card h3 { color: var(--navy); font-size: 19px; line-height: 1.5; font-weight: 700; margin-bottom: 18px; }
.scene-illust { width: 100%; height: 132px; margin-bottom: 18px; }
.scene-card .morelink { margin-top: auto; }

/* ---------- 導入企業ロゴ（マーキー） ---------- */
.clients { padding: 44px 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.clients-cap { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; margin-bottom: 26px; }
.clients-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.clients-list { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.clients-list img { height: 38px; width: auto; max-width: none; filter: grayscale(1); opacity: .55; transition: .3s; }
.clients-list img:hover { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- 実績クレーム帯 ---------- */
.claim { background: var(--bg-soft); text-align: center; }
.claim .flourish {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    margin: 30px 0 0;
}
.claim .stat {
    display: flex; flex-direction: column; align-items: center;
    padding: 0 30px;
}
.claim .stat .big {
    font-size: clamp(40px, 6vw, 64px); font-weight: 700; color: var(--blue); line-height: 1;
    display: flex; align-items: baseline; gap: 4px;
}
.claim .stat .big .unit { font-size: 22px; font-weight: 700; }
.claim .stat .lbl { font-size: 14px; color: var(--muted); margin-top: 10px; font-weight: 500; }
.claim .divider { width: 1px; height: 70px; background: var(--line); }

/* ---------- 物件コンバーターとは（図解） ---------- */
.flow { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.flow-node {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    width: 250px; padding: 30px 24px; text-align: center; box-shadow: var(--sh-sm);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.flow-node.is-core { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); border-color: transparent; color: #fff; }
.flow-node.is-core .fn-text, .flow-node.is-core .fn-label { color: #fff; }
.fn-label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.fn-text { font-size: 14px; font-weight: 700; color: var(--navy); }
.fn-sub { font-size: 12px; color: var(--muted); }
.flow-node .ph, .flow-node img { width: 52px; height: 52px; }
.flow-arrow {
    color: var(--blue); width: 26px; height: 26px; opacity: .5; flex-shrink: 0;
}
.portal-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0; }
.portal-chips span { color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.pc-green { background:#43b02a; } .pc-yellow { background:#f5b400; color:#333!important; }
.pc-red { background:#e8413a; } .pc-darkred { background:#9e2b23; }
.converter-note {
    max-width: 880px; margin: 56px auto 0; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); padding: 36px 40px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
}
.converter-note::before { content:""; position:absolute; left:0; top:0; width:6px; height:100%; background: linear-gradient(180deg, var(--blue), #19b7c9); }
.converter-note h3 { color: var(--blue-deep); font-size: 20px; margin-bottom: 12px; }
.converter-note p { font-size: 14.5px; line-height: 1.95; color: var(--muted); }
.converter-note strong { color: var(--blue); }

/* ---------- 特徴 01/02/03 ---------- */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feat-row + .feat-row { margin-top: 92px; }
.feat-row:nth-child(even) .feat-visual { order: -1; }
.feat-num {
    display: inline-flex; align-items: baseline; gap: 8px;
    color: var(--blue); font-weight: 700; letter-spacing: .12em; font-size: 14px; margin-bottom: 14px;
}
.feat-num .n { font-size: 40px; line-height: 1; font-weight: 700; }
.feat-row h3 { color: var(--navy); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; font-weight: 700; margin-bottom: 18px; text-wrap: balance; }
.feat-row p { font-size: 15px; line-height: 1.95; color: var(--muted); }
.feat-visual { position: relative; }
.feat-visual::before {
    content: ""; position: absolute; width: 64%; height: 78%; border-radius: 22px;
    background: var(--blue-soft); z-index: 0;
}
.feat-row:nth-child(odd) .feat-visual::before { right: -16px; bottom: -16px; }
.feat-row:nth-child(even) .feat-visual::before { left: -16px; bottom: -16px; }
.feat-visual img, .feat-visual .ph { position: relative; z-index: 1; border-radius: var(--r); box-shadow: var(--sh-md); width: 100%; }

/* ---------- CTA 帯（アイコン3列） ---------- */
.cta-band { background: var(--blue-soft); }
.cta-band .lead { text-align: center; color: var(--navy); font-size: clamp(20px,2.4vw,26px); font-weight: 700; line-height: 1.6; margin-bottom: 36px; text-wrap: balance; }
.cta-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.cta-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 30px 24px; text-align: center; box-shadow: var(--sh-sm);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    transition: transform .3s, box-shadow .3s;
}
.cta-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.cta-card .cico {
    width: 60px; height: 60px; border-radius: 50%; background: var(--blue-soft);
    display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.cta-card .cico svg { width: 28px; height: 28px; }
.cta-card .ttl { font-size: 16px; font-weight: 700; color: var(--navy); }
.cta-card .morelink { margin-top: 2px; }

/* ---------- 機能紹介（01 | ... する） ---------- */
.func-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.func-row + .func-row { margin-top: 40px; padding-top: 56px; border-top: 1px solid var(--line); }
.func-row:nth-child(even) .func-visual { order: -1; }
.func-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.func-no { font-size: 34px; font-weight: 700; color: var(--blue); line-height: 1; }
.func-bar { width: 1px; height: 34px; background: var(--line); }
.func-row h3 { color: var(--navy); font-size: clamp(20px,2.4vw,27px); line-height: 1.45; font-weight: 700; }
.func-row h3 .em { color: var(--blue); }
.func-row > div > p { font-size: 15px; color: var(--muted); line-height: 1.95; margin-bottom: 22px; }
.func-row > div > p a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.solve-tag {
    display: inline-block; background: var(--navy); color: #fff;
    font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 6px; margin-bottom: 14px;
}
.solve-list { display: flex; flex-direction: column; gap: 10px; }
.solve-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--ink); line-height: 1.7; }
.solve-list .ck {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--blue-soft);
    display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}
.solve-list .ck svg { width: 12px; height: 12px; color: var(--blue); }
.func-visual { position: relative; }
.func-visual img, .func-visual .ph { border-radius: var(--r); box-shadow: var(--sh-md); width: 100%; }
.func-visual img.mockup { border-radius: 0; box-shadow: none; }
.func-visual p.func-note { font-size: 11px; color: var(--muted); margin-top: 8px; text-align: right; line-height: 1.4; }

/* ---------- AI 注目機能（濃紺バンド） ---------- */
.ai {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(820px 460px at 12% 8%, rgba(25,183,201,.20) 0%, rgba(25,183,201,0) 55%),
        linear-gradient(150deg, #0a4f86 0%, #0a3357 100%);
}
.ai::after {
    content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
    background: #ffc94d; top: 12%; right: 9%;
    box-shadow: -70px 130px 0 -2px var(--accent), 80px 250px 0 0 #19b7c9;
}
.ai .sec-eyebrow { color: #8fd4ef; }
.ai .sec-title { color: #fff; }
.ai-badge {
    display: inline-block; background: var(--accent); color: #fff;
    padding: 7px 20px; border-radius: 999px; font-size: 13px; font-weight: 700;
    margin-bottom: 18px; box-shadow: 0 10px 24px rgba(236,91,36,.4);
}
.ai-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.ai-row + .ai-row { margin-top: 80px; }
.ai-row h3 { font-size: clamp(20px,2.4vw,26px); font-weight: 700; line-height: 1.45; margin-bottom: 20px; }
.ai-box {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    border-left: 4px solid #ffc94d; padding: 18px 22px; border-radius: 4px 12px 12px 4px; margin-bottom: 22px;
}
.ai-box p { font-size: 14px; line-height: 1.9; }
.ai-box strong { color: #ffc94d; }
.ai-row .pt { font-size: 14.5px; line-height: 1.9; margin-bottom: 14px; color: rgba(255,255,255,.92); }
.ai-row .pt strong { color: #ffc94d; }
.ai-row .pt .pt-note { font-size: 11.5px; color: rgba(255,255,255,.6); }
.ba { display: flex; gap: 20px; }
.ba figure { flex: 1; }
.ba figure:last-child { margin-top: 38px; }
.ba img, .ba .ph { border-radius: 12px; box-shadow: var(--sh-md); width: 100%; }
.ba figcaption { margin-top: 10px; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.ai-quote { background: rgba(255,255,255,.08); border-radius: 10px; padding: 12px 16px; display: inline-block; font-size: 13px; margin-top: 8px; }

/* ---------- プラン比較 ---------- */
.plan3-wrap { width: 100%; overflow-x: auto; }
table.ptab3 {
    width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0;
    background: #fff; border-radius: var(--r); overflow: hidden;
    box-shadow: var(--sh-sm); border: 1px solid var(--line);
}
.ptab3 col.col-label { width: 27%; }
.ptab3 th, .ptab3 td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.ptab3 th:last-child, .ptab3 td:last-child { border-right: none; }

/* ヘッダー：プラン名 */
.ptab3 .pkg-cell { border: none; vertical-align: middle; padding: 24px 26px; background: #fff; }
.ptab3 .pkg-label { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.3; letter-spacing: .02em; }
.ptab3 .ph-col {
    text-align: center; vertical-align: top; padding: 0 0 22px;
    background: #fff; border-bottom: 1px solid var(--line);
}
.ptab3 .pbadge {
    display: block; margin: 0 18px; padding: 13px 10px;
    border-radius: 0 0 12px 12px;
    font-size: 19px; font-weight: 700; letter-spacing: .03em;
}
.ptab3 .pb-essential { background: #d4e6fb; color: var(--blue-deep); }
.ptab3 .pb-aiplus    { background: #3f74d8; color: #fff; }
.ptab3 .pb-advanced  { background: #1f31cf; color: #fff; }

/* ヘッダー：価格 */
.ptab3 .price-box { display: block; padding: 18px 14px 0; }
.ptab3 .price { display: block; font-size: 16px; color: var(--navy); font-weight: 500; }
.ptab3 .price strong { font-size: 26px; font-weight: 700; }
.ptab3 .price sup { font-size: 13px; }
.ptab3 .init { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* グループ見出し行 */
.ptab3 .grp th {
    text-align: left; background: var(--bg-soft); color: var(--navy);
    font-weight: 700; font-size: 13.5px; padding: 9px 22px; border-right: none;
}

/* 行見出し */
.ptab3 .rowh {
    text-align: left; font-weight: 600; color: var(--ink);
    font-size: 14px; padding: 16px 22px; background: #fcfdfe;
}

/* セル */
.ptab3 tbody td {
    text-align: center; padding: 16px 16px; vertical-align: middle;
    font-size: 13.5px; color: var(--ink); line-height: 1.5;
}
.ptab3 .dash { color: #c2cbd4; font-size: 18px; }
.ptab3 .txt { font-size: 12.5px; color: var(--muted); }
.ptab3 .chk {
    display: inline-block; width: 20px; height: 20px; vertical-align: middle;
    background: var(--blue);
    -webkit-mask: no-repeat center / 14px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    mask: no-repeat center / 14px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.ptab3 .yes .lim { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink); }
.ptab3 tbody tr:last-child th, .ptab3 tbody tr:last-child td { border-bottom: none; }
.ptab3-note { margin: 14px 2px 0; font-size: 12px; line-height: 1.7; color: var(--muted); }

/* プラン比較：スマホ用カード（PCでは非表示） */
.plan3-cards { display: none; }
.pcard-hint { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--navy); text-align: center; }
.pcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--sh-sm); overflow: hidden; margin-bottom: 14px;
}
.pcard-head {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 0 0 16px; text-align: center; cursor: pointer; list-style: none;
}
.pcard-head::-webkit-details-marker { display: none; }
.pcard-head .pbadge {
    display: block; width: 100%; margin: 0; padding: 14px 10px;
    border-radius: 0; font-size: 18px; font-weight: 700; letter-spacing: .03em;
}
/* バッジ配色（PC表と同じ） */
.pcard .pb-essential { background: #d4e6fb; color: var(--blue-deep); }
.pcard .pb-aiplus    { background: #3f74d8; color: #fff; }
.pcard .pb-advanced  { background: #1f31cf; color: #fff; }
.pcard-head .price-box { padding: 14px 14px 0; }
.pcard-toggle {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
    font-size: 12.5px; font-weight: 700; color: var(--blue-deep);
}
.pcard-chevron {
    width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .25s ease; margin-top: -3px;
}
.pcard[open] .pcard-chevron { transform: rotate(-135deg); margin-top: 3px; }
.pcard[open] .pcard-toggle-txt { font-size: 0; }
.pcard[open] .pcard-toggle-txt::after { content: "閉じる"; font-size: 12.5px; }
.pcard-body { border-top: 1px solid var(--line); }
.pcard-grp {
    background: var(--bg-soft); color: var(--navy);
    font-weight: 700; font-size: 13px; padding: 9px 18px;
}
.pcard-list { margin: 0; }
.pcard-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 13px 18px; border-bottom: 1px solid var(--line);
}
.pcard-row:last-child { border-bottom: none; }
.pcard-row dt { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.pcard-row dd { margin: 0; text-align: right; flex-shrink: 0; font-size: 13.5px; color: var(--ink); }
.pcard-row dd.txt { font-size: 12.5px; color: var(--muted); }
.pcard-row dd.dash { color: #c2cbd4; font-size: 18px; }
.pcard-row dd.yes .lim { display: inline; margin-left: 6px; font-size: 12.5px; color: var(--ink); }

/* ---------- 制作会社様へ ---------- */
.dev-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dev-feature .vis img, .dev-feature .vis .ph { border-radius: var(--r); box-shadow: var(--sh-md); width: 100%; }
.dev-feature h3 { color: var(--navy); font-size: 22px; margin-bottom: 18px; font-weight: 700; }
.dev-feature p { font-size: 14.5px; line-height: 1.95; color: var(--muted); margin-bottom: 14px; }
.dev-feature p strong { color: var(--navy); }
.dev-note { margin-top: 64px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 40px 44px; }
.dev-note h3 { text-align: center; color: var(--navy); font-size: 20px; margin-bottom: 22px; }
.dev-note p { font-size: 14.5px; line-height: 1.95; color: var(--muted); margin-bottom: 14px; }
.dev-note p:last-child { margin-bottom: 0; }
.dev-action { text-align: center; margin-top: 40px; display: flex; justify-content: center; }

/* ---------- 導入事例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.case-thumb { width: 100%; aspect-ratio: 16/9; }
.case-thumb img, .case-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 28px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case-tags span { background: var(--blue-soft); color: var(--blue); font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.case-card h3 { color: var(--navy); font-size: 17px; line-height: 1.55; font-weight: 700; margin-bottom: 18px; }
.case-meta { border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0 16px; font-size: 13px; }
.case-meta dt { color: var(--muted); font-weight: 700; padding: 8px 0; white-space: nowrap; }
.case-meta dd { color: var(--ink); padding: 8px 0; }
.case-meta dt + dd { border-top: 1px dashed var(--line); }
.case-meta dt:first-of-type, .case-meta dt:first-of-type + dd { border-top: none; }
.case-ps { margin-top: 18px; display: grid; gap: 10px; }
.case-block { border-radius: 10px; padding: 16px 18px; }
.case-block.prob { background: var(--bg-soft); }
.case-block.sol { background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%); color:#fff; }
.case-block h4 { font-size: 12.5px; font-weight: 700; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 8px; }
.case-block.prob h4 { color: var(--navy); }
.case-block h4 .badge { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.case-block.prob h4 .badge { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.case-block.sol h4 .badge { background: rgba(255,255,255,.2); color: #fff; }
.case-block p { font-size: 13px; line-height: 1.7; }
.case-block.prob p { color: var(--muted); }
.case-block.sol p { color: rgba(255,255,255,.95); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 18px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; box-shadow: var(--sh-sm); }
.faq-q { display: flex; align-items: flex-start; gap: 12px; color: var(--navy); font-weight: 700; font-size: 15.5px; line-height: 1.6; margin-bottom: 12px; }
.faq-q .qm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.faq-a { padding-left: 40px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.faq-a p { margin-bottom: 8px; } .faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--blue); text-decoration: underline; }

/* ---------- フッターCTA（3アイコン） ---------- */
.foot-cta { background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; text-align: center; }
.foot-cta .lead { font-size: clamp(20px,2.4vw,26px); font-weight: 700; line-height: 1.6; margin-bottom: 36px; text-wrap: balance; }
.foot-cta .cta-cards { max-width: 900px; }
.foot-cta .cta-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.foot-cta .cta-card .cico { background: rgba(255,255,255,.12); color: #fff; }
.foot-cta .cta-card .ttl { color: #fff; }
.foot-cta .cta-card .morelink { color: #aee0f7; }
.foot-cta .cta-card .morelink::after { background-color: #aee0f7; }

/* ---------- メガフッター ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-brand img, .footer-brand .ph { height: 38px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { font-size: 13px; color: var(--muted); }
.footer-cols a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 30px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: var(--muted); }
.footer-legal a:hover { color: var(--blue); text-decoration: underline; }
.footer-copy { font-size: 12.5px; color: var(--muted); }

/* ---------- 画像プレースホルダー ---------- */
.ph {
    display: flex; align-items: center; justify-content: center; text-align: center;
    background-image: repeating-linear-gradient(45deg,#eef4f8 0,#eef4f8 11px,#e6eef4 11px,#e6eef4 22px);
    border: 1px solid var(--line); border-radius: 12px;
    color: #8aa0b2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px; letter-spacing: .02em; padding: 14px;
}
.ph::after { content: attr(data-label); }
.ph.round { border-radius: 50%; }
.ph.dark { background-image: repeating-linear-gradient(45deg,rgba(255,255,255,.06) 0,rgba(255,255,255,.06) 11px,rgba(255,255,255,.02) 11px,rgba(255,255,255,.02) 22px); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.6); }
.scene-illust.ph, .feat-visual .ph, .func-visual .ph, .hero-visual .ph, .dev-feature .ph { min-height: 100%; }
.feat-visual .ph, .func-visual .ph, .hero-visual .ph, .dev-feature .ph { aspect-ratio: 16/10; }

/* ---------- スクロール演出 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease-out, transform .8s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .clients-track { animation: none; }
}

/* ---------- スマホ固定CTA ---------- */
.sp-cta { display: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-usp { grid-template-columns: 1fr; margin-top: 40px; }
    .hero-usp li { padding: 18px 4px; }
    .hero-usp li:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
    .scenes-grid { grid-template-columns: 1fr; }
    .feat-row, .func-row, .ai-row, .dev-feature { grid-template-columns: 1fr; gap: 32px; }
    .feat-row:nth-child(even) .feat-visual, .func-row:nth-child(even) .func-visual { order: 0; }
    .feat-visual::before { display: none; }
    .cta-cards { grid-template-columns: 1fr; max-width: 420px; }
    .case-grid, .faq-grid { grid-template-columns: 1fr; }
    .flow { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { padding-bottom: 74px; }
    .sec { padding: 68px 0; }
    .header-inner { height: 60px; }
    .gnav, .header-cta { display: none; }
    .hero { padding: 56px 0 64px; }
    .hero h1 .hero-line1 { white-space: normal; }
    .plan-name { width: 78px; font-size: 15px; }
    .plan-desc { font-size: 12.5px; }
    .ba { gap: 12px; }
    .ba figure:last-child { margin-top: 0; }
    .claim .flourish { flex-direction: column; gap: 24px; }
    .claim .divider { width: 70px; height: 1px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }

    /* プラン比較：表を隠してカード表示に切替 */
    .plan3-wrap { overflow-x: visible; }
    .plan3-wrap table.ptab3 { display: none; }
    .plan3-cards { display: block; }

    .sp-cta {
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%;
        gap: 10px; padding: 10px; z-index: 1000;
        background: rgba(11,49,78,.92); backdrop-filter: blur(6px);
    }
    .sp-cta a { flex: 1; display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 10px; font-weight: 700; font-size: 14px; }
    .sp-cta .w { background: #fff; color: var(--blue-deep); }
    .sp-cta .o { background: var(--accent); color: #fff; }
}
