/* ViVNAL 事業LP 共通デザイン v2（同業LPの型：色の強いFV・実績バッジ・資料画像つきCTA・くり返しCTA・ページ内フォーム・スマホ固定ボタン） */
:root {
  --ink: #101418;
  --sub: #4b535c;
  --mute: #7b838c;
  --line: #e3e5e8;
  --bg: #ffffff;
  --soft: #f4f6f8;
  --main: #1f8fd6;      /* 事業ごとに上書き */
  --main-deep: #0b5f99;
  --main-soft: #e8f4fc;
  --grad: linear-gradient(135deg, #0b5f99 0%, #1f8fd6 55%, #4cc3ef 100%);
  --cta: #ff7a1a;       /* 申し込みボタンはオレンジで統一（同業LPの定番） */
  --cta-deep: #e8600a;
  --radius: 16px;
  --wrap: 1160px;
  --shadow: 0 18px 50px rgba(16, 20, 24, 0.12);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif; font-size: 16px; line-height: 1.85; letter-spacing: .03em; font-feature-settings: "palt" 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.nb { display: inline-block; }
.en { font-family: "Montserrat", "Noto Sans JP", sans-serif; letter-spacing: .06em; }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 16px; text-decoration: none; border-radius: 999px; padding: 16px 30px; border: 0; cursor: pointer; font-family: inherit; line-height: 1.35; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-cta { background: linear-gradient(180deg, #ff8f3a, var(--cta)); color: #fff; box-shadow: 0 8px 0 var(--cta-deep), 0 14px 26px rgba(255, 122, 26, .35); }
.btn-cta:hover { box-shadow: 0 6px 0 var(--cta-deep), 0 16px 30px rgba(255, 122, 26, .4); }
.btn-cta:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--cta-deep); }
.btn-sub { background: #fff; color: var(--main-deep); border: 2px solid var(--main-deep); }
.btn-ghost-w { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85); }
.btn .arr { font-size: 18px; line-height: 1; }
.btn small { display: block; font-size: 11px; font-weight: 700; opacity: .9; letter-spacing: .04em; }
.btn .two { text-align: left; }
.btn-lg { padding: 20px 38px; font-size: 18px; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd .wrap { height: 70px; display: flex; align-items: center; gap: 18px; }
.hd .logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.hd .logo b { font-size: 20px; font-weight: 900; letter-spacing: .04em; color: var(--main-deep); }
.hd .logo span { font-size: 11px; color: var(--mute); font-weight: 600; }
.hd nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.hd nav a.t { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--sub); }
.hd nav a.t:hover { color: var(--main-deep); }
.hd .btn { padding: 11px 20px; font-size: 14px; box-shadow: 0 4px 0 var(--cta-deep); }
.hd .btn.btn-sub { box-shadow: none; padding: 9px 18px; }

/* ---------- ファーストビュー ---------- */
.fv { background: var(--grad); color: #fff; position: relative; overflow: hidden; padding: 64px 0 0; }
.fv::before { content: ""; position: absolute; right: -180px; top: -200px; width: 640px; height: 640px; border-radius: 50%; background: rgba(255,255,255,.08); }
.fv::after { content: ""; position: absolute; left: -120px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.06); }
.fv .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.95fr; gap: 40px; align-items: center; }
.fv .label { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 700; }
.fv h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.32; font-weight: 900; margin: 18px 0 14px; letter-spacing: .02em; }
.fv h1 .y { color: #ffe14d; }
.fv h1 .mk { background: linear-gradient(transparent 70%, rgba(255, 225, 77, .55) 70%); }
.fv .lead { font-size: 17px; font-weight: 600; opacity: .95; margin: 0 0 22px; }
.fv .badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 26px; }
.badge-l { position: relative; min-width: 150px; text-align: center; padding: 6px 28px; }
.badge-l::before, .badge-l::after { content: ""; position: absolute; top: 50%; width: 22px; height: 54px; transform: translateY(-50%); background: no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 54'><g fill='%23ffe14d'><ellipse cx='15' cy='6' rx='3.2' ry='6' transform='rotate(25 15 6)'/><ellipse cx='10' cy='16' rx='3.2' ry='6' transform='rotate(15 10 16)'/><ellipse cx='7' cy='27' rx='3.2' ry='6'/><ellipse cx='8' cy='38' rx='3.2' ry='6' transform='rotate(-15 8 38)'/><ellipse cx='13' cy='48' rx='3.2' ry='6' transform='rotate(-30 13 48)'/></g></svg>"); }
.badge-l::before { left: 0; }
.badge-l::after { right: 0; transform: translateY(-50%) scaleX(-1); }
.badge-l small { display: block; font-size: 12px; font-weight: 700; opacity: .92; line-height: 1.4; }
.badge-l b { display: block; font-size: 26px; font-weight: 900; line-height: 1.25; color: #ffe14d; font-family: "Montserrat", "Noto Sans JP", sans-serif; }
.badge-l b span { font-size: 15px; }
.fv .ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.fv .doc-cta { display: flex; align-items: center; gap: 0; }
.fv .doc-cta img { width: 120px; margin-right: -26px; position: relative; z-index: 2; transform: rotate(-6deg); filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.fv .doc-cta .btn { padding-left: 40px; }
.fv .note { font-size: 12.5px; opacity: .85; margin: 14px 0 0; }
.fv-visual { position: relative; align-self: end; }

/* 実績・対応の帯 */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof .it { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.proof .it:last-child { border-right: 0; }
.proof .it small { display: block; font-size: 12.5px; color: var(--mute); font-weight: 700; }
.proof .it b { display: block; font-size: 26px; font-weight: 900; color: var(--main-deep); line-height: 1.3; font-family: "Montserrat", "Noto Sans JP", sans-serif; }
.proof .it b span { font-size: 14px; }
.proof .it em { font-style: normal; font-size: 11px; color: var(--mute); }

/* ---------- セクション共通 ---------- */
.sec { padding: 96px 0; }
.sec.soft { background: var(--soft); }
.sec.tint { background: var(--main-soft); }
.sec.dark { background: var(--ink); color: #fff; }
.sh { text-align: center; margin-bottom: 52px; }
.sh .en { display: block; font-size: 14px; font-weight: 800; color: var(--main); letter-spacing: .2em; }
.sh h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.45; margin: 8px 0 14px; font-weight: 900; }
.sh h2 .c { color: var(--main-deep); }
.sh p { color: var(--sub); max-width: 760px; margin: 0 auto; font-size: 16.5px; }
.sec.dark .sh p { color: #c9ced4; }
.sec.dark .sh .en { color: var(--main-soft); }

/* お悩み */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worries .w { background: #fff; border-radius: var(--radius); padding: 28px 24px 26px; box-shadow: 0 6px 24px rgba(16,20,24,.06); position: relative; text-align: center; }
.worries .w .ic { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; background: var(--main-soft); display: grid; place-items: center; }
.worries .w .ic svg { width: 40px; height: 40px; stroke: var(--main-deep); }
.worries .w p { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.6; }
.worries .w p small { display: block; font-weight: 500; font-size: 14px; color: var(--sub); margin-top: 6px; }
.solve { position: relative; margin-top: 54px; text-align: center; }
.solve::before { content: ""; display: block; width: 0; height: 0; margin: 0 auto 26px; border-left: 60px solid transparent; border-right: 60px solid transparent; border-top: 34px solid var(--main); }
.solve h3 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 900; line-height: 1.5; margin: 0; }
.solve h3 .c { color: var(--main-deep); background: linear-gradient(transparent 70%, #ffe14d 70%); }

/* 選ばれる理由（POINT） */
.points { display: grid; gap: 72px; }
.point { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.point:nth-child(even) .pt-visual { order: 2; }
.pt-num { display: inline-flex; align-items: baseline; gap: 8px; color: var(--main); font-weight: 900; font-family: "Montserrat", sans-serif; }
.pt-num span { font-size: 14px; letter-spacing: .2em; }
.pt-num b { font-size: 54px; line-height: 1; }
.point h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; margin: 6px 0 16px; font-weight: 900; }
.point p { color: var(--sub); margin: 0 0 14px; }
.point > div:not(.pt-visual) ul { margin: 0; padding: 0; list-style: none; }
.point > div:not(.pt-visual) li { padding: 6px 0 6px 30px; position: relative; font-weight: 700; }
.point > div:not(.pt-visual) li::before { content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--main) no-repeat center/11px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'><path d='M1 5l3.5 3.5L11 1.5' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.pt-visual { position: relative; }
.pt-visual .frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }

/* カード */
.cards { display: grid; gap: 20px; }
.c2 { grid-template-columns: repeat(2, 1fr); }
.c3 { grid-template-columns: repeat(3, 1fr); }
.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); }
.sec.soft .card, .sec.tint .card { border-color: transparent; box-shadow: 0 6px 24px rgba(16,20,24,.05); }
.card .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--main-soft); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 30px; height: 30px; stroke: var(--main-deep); }
.card h3 { margin: 0 0 8px; font-size: 18.5px; line-height: 1.5; font-weight: 900; }
.card p { margin: 0; color: var(--sub); font-size: 15px; line-height: 1.8; }

/* 実績 */
.case { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(16,20,24,.08); display: flex; flex-direction: column; }
.case .top { background: var(--grad); color: #fff; padding: 22px 24px; }
.case .top small { display: block; font-size: 13px; font-weight: 700; opacity: .9; }
.case .top b { display: block; font-size: 30px; font-weight: 900; line-height: 1.3; margin-top: 4px; }
.case .body { padding: 20px 24px 24px; color: var(--sub); font-size: 15px; }
.case .plat { display: inline-block; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 10px; margin-top: 8px; }
.fine { font-size: 12.5px; color: var(--mute); margin-top: 18px; }

/* 途中の申し込み帯 */
.mid-cta { background: var(--grad); color: #fff; border-radius: 28px; padding: 40px 48px; display: grid; grid-template-columns: 220px 1fr auto; gap: 34px; align-items: center; position: relative; overflow: hidden; }
.mid-cta img { transform: rotate(-5deg); filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); }
.mid-cta h3 { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; line-height: 1.45; }
.mid-cta p { margin: 0; opacity: .92; }
.mid-cta ul { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 700; }
.mid-cta li::before { content: "✓ "; color: #ffe14d; }
.mid-cta .acts { display: flex; flex-direction: column; gap: 12px; }

/* 料金 */
.plans { display: grid; gap: 22px; align-items: stretch; }
.plan { background: #fff; border-radius: 22px; padding: 34px 28px 30px; border: 2px solid var(--line); display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: var(--main); box-shadow: 0 16px 40px rgba(16,20,24,.12); transform: translateY(-8px); }
.plan .rib { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--cta); color: #fff; font-weight: 900; font-size: 13px; padding: 6px 18px; border-radius: 999px; white-space: nowrap; }
.plan .pn { font-family: "Montserrat", sans-serif; font-weight: 900; color: var(--main); letter-spacing: .14em; font-size: 15px; }
.plan .for { font-size: 14px; color: var(--sub); margin: 6px 0 14px; min-height: 3.6em; }
.plan .price { font-size: 40px; font-weight: 900; line-height: 1.2; font-family: "Montserrat", "Noto Sans JP", sans-serif; padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 16px; white-space: nowrap; }
.plan .price small { font-size: 14px; font-weight: 700; color: var(--sub); margin-left: 4px; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; font-size: 15px; }
.plan li { padding: 6px 0 6px 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 12px; width: 17px; height: 17px; border-radius: 50%; background: var(--main) no-repeat center/10px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'><path d='M1 5l3.5 3.5L11 1.5' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.plan .btn { margin-top: auto; width: 100%; }

/* 表 */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 28px rgba(16,20,24,.07); font-size: 15px; }
.tbl th, .tbl td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.tbl thead th { background: #2b3036; color: #fff; font-weight: 800; }
.tbl thead th.me { background: var(--main); font-size: 16px; }
.tbl tbody th { background: var(--soft); text-align: left; width: 22%; }
.tbl td.me { background: var(--main-soft); font-weight: 800; color: var(--main-deep); }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom: 0; }
.mark { font-size: 22px; font-weight: 900; line-height: 1; }
.mark.o { color: var(--main); }
.mark.t { color: #b7bdc4; }

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 0; counter-reset: f; }
.flow .st { text-align: center; position: relative; padding: 0 10px; counter-increment: f; }
.flow .st .circle { width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 3px solid var(--main); margin: 0 auto 14px; display: grid; place-items: center; position: relative; z-index: 1; }
.flow .st .circle svg { width: 40px; height: 40px; stroke: var(--main-deep); }
.flow .st::before { content: "STEP " counter(f); display: block; font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 900; color: var(--main); letter-spacing: .14em; margin-bottom: 8px; }
.flow .st:not(:last-child)::after { content: ""; position: absolute; top: 80px; left: calc(50% + 46px); right: calc(-50% + 46px); border-top: 3px dotted var(--main); }
.flow .st h3 { font-size: 17px; margin: 0 0 6px; font-weight: 900; }
.flow .st p { font-size: 14px; color: var(--sub); margin: 0; line-height: 1.7; }

/* よくある質問 */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(16,20,24,.05); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 66px; font-weight: 800; position: relative; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--main); color: #fff; display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-size: 15px; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--main); border-bottom: 3px solid var(--main); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .a { padding: 0 28px 24px 66px; color: var(--sub); position: relative; }
.faq .a::before { content: "A"; position: absolute; left: 22px; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--cta); color: #fff; display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-size: 15px; font-weight: 800; }

/* 最後：ページ内フォーム */
.final { background: var(--grad); color: #fff; padding: 90px 0; }
.final .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.final h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.45; margin: 0 0 16px; font-weight: 900; }
.final .wrap > * { min-width: 0; }
.final .doc { width: min(420px, 92%); margin: 24px 0; transform: rotate(-3deg); filter: drop-shadow(0 18px 28px rgba(0,0,0,.25)); }
.final ul { margin: 0; padding: 0; list-style: none; font-weight: 700; }
.final li { padding: 4px 0 4px 26px; position: relative; }
.final li::before { content: "✓"; position: absolute; left: 0; color: #ffe14d; font-weight: 900; }
.formbox { background: #fff; color: var(--ink); border-radius: 22px; padding: 34px 32px 28px; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.formbox h3 { margin: 0 0 4px; font-size: 21px; text-align: center; }
.formbox .sub { margin: 0 0 18px; text-align: center; font-size: 13.5px; color: var(--sub); }

/* フォームの部品（窓と共通） */
.f label { display: block; font-size: 13.5px; font-weight: 800; margin-bottom: 12px; }
.f label .req { display: inline-block; background: #e5484d; color: #fff; font-size: 10.5px; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.f label .opt { display: inline-block; background: #9aa1a9; color: #fff; font-size: 10.5px; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.f input[type=text], .f input[type=email], .f input[type=tel] { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1.5px solid #d3d7dc; border-radius: 10px; font: inherit; font-size: 16px; background: #f9fafb; }
.f input:focus { outline: none; border-color: var(--main); background: #fff; box-shadow: 0 0 0 4px var(--main-soft); }
.f .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f .agree { display: flex; gap: 8px; align-items: center; justify-content: center; font-weight: 600; font-size: 13.5px; margin: 6px 0 14px; }
.f .agree input { width: 18px; height: 18px; }
.f button[type=submit] { width: 100%; }
.f .dl-msg { color: #c62828; font-size: 13px; min-height: 1.4em; margin: 10px 0 0; text-align: center; }
.f .trap { position: absolute; left: -9999px; }
.dl-done { text-align: center; padding: 16px 0 6px; }
.dl-done .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--main); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 10px; }

/* 資料ダウンロードの窓 */
.dl-modal { position: fixed; inset: 0; background: rgba(10, 14, 18, .6); z-index: 100; display: grid; place-items: center; padding: 16px; }
.dl-box { background: #fff; border-radius: 22px; width: min(560px, 100%); max-height: calc(100% - 16px); overflow: auto; padding: 30px 30px 24px; position: relative; }
.dl-box .head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.dl-box .head img { width: 120px; flex: none; }
.dl-box h3 { margin: 0 0 2px; font-size: 20px; }
.dl-box .sub { margin: 0; color: var(--sub); font-size: 13.5px; }
.dl-box .x { position: absolute; right: 14px; top: 8px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--mute); }

/* フッター */
.ft { background: #0f1317; color: #a9b0b8; padding: 44px 0 44px; font-size: 13px; }
.ft .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px; }
.ft b { color: #fff; font-size: 15px; }
.ft a { color: #a9b0b8; }
.ft .track { grid-column: 1 / -1; border-top: 1px solid #2a3037; padding-top: 16px; font-size: 11.5px; }

/* スマホの下に固定する申し込みボタン */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: none; gap: 8px; box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s; }
.sticky-cta.on { transform: none; }
.sticky-cta .btn { flex: 1; padding: 13px 10px; font-size: 14.5px; box-shadow: 0 4px 0 var(--cta-deep); }
.sticky-cta .btn.btn-sub { flex: .8; box-shadow: none; }

/* 出てくる動き */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.hm-mode .rv { opacity: 1; transform: none; transition: none; }
.hm-mode .hd { position: static; }
.hm-mode .sticky-cta { display: none !important; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 1000px) {
  .fv { padding-top: 40px; }
  .fv .wrap { grid-template-columns: 1fr; gap: 26px; }
  .point, .final .wrap { grid-template-columns: 1fr; gap: 28px; }
  .point:nth-child(even) .pt-visual { order: 0; }
  .c3, .c4, .worries { grid-template-columns: 1fr 1fr; }
  .mid-cta { grid-template-columns: 1fr; text-align: center; padding: 34px 24px; }
  .mid-cta img { max-width: 200px; margin: 0 auto; }
  .mid-cta li { display: inline; margin: 0 6px; }
  .hd nav a.t { display: none; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .flow .st::after { display: none; }
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .proof .it:nth-child(2) { border-right: 0; }
  .proof .it:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 64px 0; }
  .sh { margin-bottom: 34px; }
  .hd .wrap { height: 60px; }
  .hd .btn.btn-sub { display: none; }
  .hd .btn { padding: 9px 14px; font-size: 13px; }
  .fv h1 { font-size: 31px; }
  .fv .lead { font-size: 15px; }
  .fv .doc-cta img { width: 90px; }
  .fv .ctas { flex-direction: column; align-items: stretch; }
  .fv .ctas .btn-sub, .fv .ctas .btn-ghost-w { justify-content: center; }
  .badge-l { min-width: 0; flex: 1; padding: 4px 22px; }
  .badge-l b { font-size: 20px; }
  .c2, .c3, .c4, .worries { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .plan.pop { transform: none; }
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding: 12px 8px; }
  .f .row2 { grid-template-columns: 1fr; gap: 0; }
  .formbox { padding: 26px 18px 22px; }
  .sticky-cta { display: flex; }
  .ft { padding-bottom: 110px; }
  .fv .badges { gap: 4px; flex-wrap: nowrap; }
  .badge-l { padding: 2px 16px; }
  .badge-l::before, .badge-l::after { width: 14px; height: 40px; }
  .badge-l small { font-size: 10px; }
  .badge-l b { font-size: 17px; }
  .badge-l b span { font-size: 11px; }
  .badge-l small:last-child { display: none; }
  .proof .it b { font-size: 22px; }
  .point .pt-visual { min-width: 0; }
}

/* ===== インパクト強化（v4） ===== */
/* ファーストビュー：大きな文字・格子の模様・下を斜めに */
.fv { padding: 84px 0 70px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); }
.fv::after { background: none; left: 0; right: 0; top: 0; bottom: 0; width: auto; height: auto; border-radius: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
.fv h1 { font-size: clamp(38px, 4.6vw, 64px) !important; line-height: 1.26; letter-spacing: .01em; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.fv .lead { font-size: 18px; }
.proof { position: relative; z-index: 2; margin-top: -40px; background: transparent; border: 0; }
.proof .wrap { background: #fff; border-radius: 20px; box-shadow: 0 18px 50px rgba(16,20,24,.14); overflow: hidden; }
.proof .it b { font-size: 32px; }

/* 見出しの後ろの大きな英字 */
.sh { position: relative; }
.sh[data-bg]::before { content: attr(data-bg); position: absolute; left: 50%; top: -0.45em; transform: translateX(-50%); font-family: "Montserrat", sans-serif; font-weight: 900; font-size: clamp(64px, 11vw, 160px); line-height: 1; letter-spacing: .02em; color: var(--main); opacity: .07; white-space: nowrap; pointer-events: none; z-index: 0; }
.sec.dark .sh[data-bg]::before { color: #fff; opacity: .06; }
.sh > * { position: relative; z-index: 1; }
.sh h2 { font-size: clamp(28px, 3.6vw, 46px); }

/* 流れる帯 */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 16px 0; white-space: nowrap; position: relative; }
.marquee .track { display: inline-flex; gap: 0; animation: mq 38s linear infinite; }
.marquee span { font-family: "Montserrat", "Noto Sans JP", sans-serif; font-weight: 900; font-size: 22px; letter-spacing: .06em; padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; }
.marquee span::after { content: "●"; color: var(--main); font-size: 10px; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 「解決します」の帯 */
.solve { margin-top: 60px; background: var(--grad); color: #fff; border-radius: 26px; padding: 44px 28px; box-shadow: 0 20px 50px rgba(16,20,24,.18); }
.solve::before { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); margin: 0; border-top-color: var(--main); }
.solve h3 { font-size: clamp(24px, 3.2vw, 40px); }
.solve h3 .c { color: #ffe14d; background: none; }

/* お悩みのイラスト */
.ill { display: block; width: min(520px, 90%); margin: -10px auto 30px; border-radius: 24px; }

/* 数字のカウントアップ中に幅が動かないように */
.cu { font-variant-numeric: tabular-nums; }

/* ボタンに光が走る */
.btn-cta { position: relative; overflow: hidden; }
.btn-cta::after { content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: rotate(20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.hm-mode .btn-cta::after, .hm-mode .marquee .track { animation: none; }

/* パソコンの右端の資料タブ */
.side-cta { position: fixed; right: 0; top: 50%; z-index: 65; transform: translate(110%, -50%); transition: transform .3s; writing-mode: vertical-rl; background: linear-gradient(180deg, #ff8f3a, var(--cta)); color: #fff; font-weight: 900; text-decoration: none; padding: 22px 13px; border-radius: 14px 0 0 14px; letter-spacing: .14em; box-shadow: -6px 8px 24px rgba(0,0,0,.18); font-size: 15px; }
.side-cta small { font-size: 11px; opacity: .9; margin-top: 8px; letter-spacing: .06em; }
.side-cta.on { transform: translate(0, -50%); }
.hm-mode .side-cta { display: none; }

/* 大きな数字（実績）の強調 */
.case .top b { font-size: 34px; }
.mid-cta { box-shadow: 0 24px 60px rgba(16,20,24,.22); }

@media (max-width: 1000px) {
  .side-cta { display: none; }
  .fv { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%); padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .fv { padding-top: 44px; }
  .fv h1 { font-size: 31px !important; }
  .fv h1 .nb { display: inline; }
  .proof { margin-top: -26px; }
  .proof .wrap { border-radius: 16px; }
  .proof .it b { font-size: 24px; }
  .marquee span { font-size: 16px; padding: 0 14px; gap: 14px; }
  .solve { padding: 34px 18px; }
}
@media (prefers-reduced-motion: reduce) { .marquee .track, .btn-cta::after { animation: none; } }
.cu { font-style: normal; }
/* 大きな英字がはみ出さないように */
.sec, .final { overflow: hidden; overflow: clip; }
@media (max-width: 640px) { .sh[data-bg]::before { font-size: 17vw; top: -0.3em; } }

/* ===== 無料診断 ===== */
.diag-entry { background: #fff; border-radius: 26px; box-shadow: 0 18px 50px rgba(16,20,24,.12); display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 30px 36px; position: relative; overflow: hidden; border: 3px solid var(--main); }
.diag-entry::before { content: "FREE CHECK"; position: absolute; right: -10px; bottom: -22px; font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 86px; color: var(--main); opacity: .06; white-space: nowrap; }
.diag-entry .clock { width: 104px; height: 104px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1.1; font-weight: 900; box-shadow: 0 10px 24px rgba(16,20,24,.18); }
.diag-entry .clock b { display: block; font-size: 38px; font-family: "Montserrat", sans-serif; }
.diag-entry .clock span { font-size: 13px; }
.diag-entry h3 { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; line-height: 1.45; }
.diag-entry h3 .c { color: var(--main-deep); }
.diag-entry p { margin: 0; color: var(--sub); }
.diag-entry .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.diag-entry .tags span { background: var(--main-soft); color: var(--main-deep); font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 3px 12px; }
.fv .diag-link { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 800; text-decoration: none; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 7px 16px; font-size: 14px; }
.fv .diag-link b { background: #ffe14d; color: #111; border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.fv .diag-link:hover { background: rgba(255,255,255,.22); }

.diag-modal { position: fixed; inset: 0; z-index: 110; background: rgba(10,14,18,.62); display: grid; place-items: center; padding: 14px; }
.diag-box { background: #fff; border-radius: 24px; width: min(640px, 100%); max-height: calc(100% - 10px); overflow: auto; padding: 28px 30px 24px; position: relative; }
.diag-box .x { position: absolute; right: 14px; top: 8px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--mute); }
.d-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding-right: 30px; }
.d-tag { background: var(--main-soft); color: var(--main-deep); font-weight: 900; font-size: 13px; border-radius: 999px; padding: 4px 14px; }
.d-n { font-family: "Montserrat", sans-serif; font-weight: 900; color: var(--main); }
.d-bar { height: 8px; background: #eceef2; border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.d-bar i { display: block; height: 100%; background: var(--grad); transition: width .3s; }
.d-q { font-size: 22px; line-height: 1.5; margin: 0 0 16px; font-weight: 900; }
.d-q small { display: block; font-size: 13px; color: var(--sub); font-weight: 700; margin-top: 2px; }
.d-opts { display: grid; gap: 10px; }
.d-opts.many { grid-template-columns: 1fr 1fr; }
.d-opts .opt { text-align: left; border: 2px solid #dfe3e8; background: #fff; border-radius: 14px; padding: 15px 18px; font: inherit; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: border-color .15s, background .15s; color: var(--ink); }
.d-opts .opt:hover { border-color: var(--main); background: var(--main-soft); }
.d-opts .opt.on { border-color: var(--main); background: var(--main-soft); color: var(--main-deep); }
.d-opts .opt .box { width: 20px; height: 20px; border: 2px solid #c3c9d0; border-radius: 5px; flex: none; }
.d-opts .opt.on .box { background: var(--main) no-repeat center/12px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'><path d='M1 5l3.5 3.5L11 1.5' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); border-color: var(--main); }
.d-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.d-back, .d-again { background: none; border: 0; color: var(--sub); font: inherit; font-weight: 700; cursor: pointer; padding: 6px 0; }
.d-again { display: block; margin: 14px auto 0; }
.d-res { text-align: center; }
.d-kicker { margin: 4px 0 0; color: var(--sub); font-weight: 700; }
.d-res h3 { font-size: clamp(24px, 3vw, 32px); margin: 2px 0 10px; color: var(--main-deep); font-weight: 900; }
.d-big { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.d-big b { font-family: "Montserrat", "Noto Sans JP", sans-serif; font-size: 40px; color: var(--cta); margin: 0 4px; }
.d-lead { color: var(--sub); margin: 0 0 12px; }
.d-pts { list-style: none; margin: 0 0 14px; padding: 0; text-align: left; display: grid; gap: 8px; }
.d-pts li { background: var(--soft); border-radius: 12px; padding: 11px 14px 11px 40px; position: relative; font-weight: 700; font-size: 14.5px; }
.d-pts li::before { content: "✓"; position: absolute; left: 14px; top: 10px; color: var(--main); font-weight: 900; }
.d-plan { border: 2px solid var(--main); border-radius: 16px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: center; }
.d-plan small { background: var(--cta); color: #fff; font-weight: 900; border-radius: 999px; padding: 1px 10px; font-size: 12px; }
.d-plan b { font-size: 18px; }
.d-plan span { font-weight: 800; color: var(--main-deep); }
.d-plan em { flex-basis: 100%; font-style: normal; font-size: 13px; color: var(--sub); }
.d-fine { font-size: 12px; color: var(--mute); margin: 10px 0 0; }
.d-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.d-acts .btn { width: 100%; }
.hm-mode .diag-modal { display: none !important; }
@media (max-width: 760px) {
  .diag-entry { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .diag-entry .clock { margin: 0 auto; }
  .diag-entry .tags { justify-content: center; }
  .diag-box { padding: 24px 18px 20px; }
  .d-opts.many { grid-template-columns: 1fr; }
  .d-q { font-size: 19px; }
}

/* ===== 1画面目の動き（ManabellとAIの画面見本） ===== */
.toasts { position: absolute; right: -14px; top: 20px; width: 260px; height: 64px; z-index: 3; }
.toast { position: absolute; inset: 0; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.28); display: flex; align-items: center; gap: 10px; padding: 0 14px; font-weight: 800; font-size: 13.5px; opacity: 0; animation: toast 9s infinite; }
.toast i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--main-soft); }
.toast small { display: block; font-size: 11px; color: var(--sub); font-weight: 700; }
.toast:nth-child(2) { animation-delay: 3s; }
.toast:nth-child(3) { animation-delay: 6s; }
@keyframes toast { 0% { opacity: 0; transform: translateY(12px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-8px); } }
.toast .spin { animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
/* AI：表 → PDF → メールが順番に出る */
.apps.play .pdf { animation: popPdf 8s infinite; }
.apps.play .mail { animation: popMail 8s infinite; }
.apps.play .mail .human { animation: popHuman 8s infinite; }
.apps.play .sheet .act { animation: pulse 8s infinite; }
@keyframes pulse { 0%, 8% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14,159,110,.6); } 12% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(14,159,110,0); } 16%, 100% { transform: scale(1); } }
@keyframes popPdf { 0%, 14% { opacity: 0; transform: translateX(30px) rotate(3deg); } 22%, 92% { opacity: 1; transform: rotate(3deg); } 100% { opacity: 0; transform: rotate(3deg); } }
@keyframes popMail { 0%, 30% { opacity: 0; transform: translateY(30px); } 40%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes popHuman { 0%, 50% { opacity: 0; transform: scale(.6); } 56%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.hm-mode .toast { animation: none; opacity: 0; }
.hm-mode .toast:first-child { opacity: 1; }
.hm-mode .apps.play .pdf, .hm-mode .apps.play .mail, .hm-mode .apps.play .mail .human, .hm-mode .apps.play .sheet .act { animation: none; }
@media (prefers-reduced-motion: reduce) { .toast, .apps.play * { animation: none !important; opacity: 1 !important; } }
@media (max-width: 640px) { .toasts { right: 6px; top: -22px; width: 230px; } .apps.play .pdf { animation: none; } }
