/* =====================================================================
   シクミカプラス＋ デザインシステム v4（2026-10-04）
   ルール：ベース＝白・黒・薄ベージュ／メイン＝青・緑／強調＝黄色／補助＝水色・黄緑
   背景はセクションごとに「白 → 方眼 → ベージュ → 白」で切り替える。グラデーション・光る表現は使わない。
   見出しは M PLUS 1p（太字）、本文は Noto Sans JP。
   ===================================================================== */
:root {
  --k: #14171c;          /* 黒 */
  --k2: #3b414c;         /* 本文 */
  --k3: #6b7280;         /* 補足 */
  --bd: #e6e2d9;         /* 罫線（ベージュ寄り） */
  --beige: #f6f1e7;
  --beige2: #efe7d8;
  --b: #1a6fe0;          /* 青 */
  --b-d: #1257b8;
  --b-l: #e7f0fd;
  --gr: #1fa463;          /* 緑 */
  --g-d: #158a51;
  --g-l: #e5f6ec;
  --y: #ffe14a;          /* 黄色（強調） */
  --sky: #33b2ee;        /* 水色 */
  --lime: #93cc35;       /* 黄緑 */
  --grid: #e9edf3;
  --font-d: "M PLUS 1p", "Hiragino Sans", "Noto Sans JP", sans-serif;
}
body { font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; color: var(--k2); background: #fff; letter-spacing: .03em; }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--k); font-weight: 800; }
.btn { font-family: var(--font-d); font-weight: 800; }

/* 背景のパターン */
.bg-grid { background-color: #fbfcfd; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; }
.bg-beige { background: var(--beige); }
.bg-white { background: #fff; }

/* ヘッダー */
.hd::before { background: rgba(255,255,255,.94) !important; }
.hd-nav a { font-family: var(--font-d); font-weight: 700 !important; font-size: 15px !important; }
.hd-cta { background: var(--b); font-size: 15px !important; min-height: 46px !important; padding: 0 24px !important; box-shadow: 0 4px 0 var(--b-d); }
.hd-cta:hover { background: var(--b-d); }

/* マーカー（スクロールで黄色い線が引かれる） */
.mk { background-image: linear-gradient(transparent 58%, var(--y) 58%); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 1s cubic-bezier(.2,.7,.2,1) .2s; padding: 0 .08em; }
.mk.on, html:not(.js) .mk { background-size: 100% 100%; }
.mk-blue { color: var(--b); }

/* 見出しラベル（チェックマーク付き） */
.ttl { text-align: center; margin-bottom: 44px; }
.ttl-en { display: block; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .22em; color: var(--gr); margin-bottom: 10px; }
.ttl h2 { font-size: clamp(26px, 6.4vw, 42px); line-height: 1.35; letter-spacing: .02em; }
.ttl p { margin-top: 14px; font-size: 15.5px; color: var(--k3); }
.ttl-l { text-align: left; }
@media (min-width: 900px) { .ttl { margin-bottom: 60px; } }
.sec { padding: 80px 0; }
@media (min-width: 900px) { .sec { padding: 120px 0; } }

/* ボタン（立体感は下の影1本だけ） */
.b3 { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 0 30px 0 26px; border-radius: 999px; font-family: var(--font-d); font-weight: 800; font-size: 17px; color: #fff; text-decoration: none; position: relative; transition: transform .15s, box-shadow .15s; letter-spacing: .04em; }
.b3::after { content: ""; width: 9px; height: 9px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); margin-left: 4px; }
.b3:active { transform: translateY(3px); }
.b3-blue { background: var(--b); box-shadow: 0 5px 0 var(--b-d); }
.b3-blue:active { box-shadow: 0 2px 0 var(--b-d); }
.b3-green { background: var(--gr); box-shadow: 0 5px 0 var(--g-d); }
.b3-green:active { box-shadow: 0 2px 0 var(--g-d); }
.b3-white { background: #fff; color: var(--k); box-shadow: 0 5px 0 #c9c3b6; }
.b3 .badge { position: absolute; left: -6px; top: 50%; transform: translateY(-50%); width: 62px; height: 62px; border-radius: 50%; background: var(--y); color: var(--k); font-size: 11.5px; line-height: 1.15; display: grid; place-items: center; text-align: center; font-weight: 900; border: 3px solid #fff; }
.b3 .badge b { font-size: 16px; display: block; }
.b3.has-badge { padding-left: 74px; }
.cta-pair { display: grid; gap: 22px; }
.cta-item { text-align: center; }
.cta-lead { display: block; font-family: var(--font-d); font-weight: 800; font-size: 14.5px; color: var(--k); margin-bottom: 10px; }
.cta-lead em { font-style: normal; color: var(--gr); font-size: 1.15em; }
.cta-item .b3 { width: 100%; }
.cta-note { display: block; margin-top: 10px; font-size: 12.5px; color: var(--k3); }
@media (min-width: 640px) { .cta-pair { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ============ ヒーロー ============ */
.hv { padding: 36px 0 56px; overflow: hidden; }
.hv-grid { display: grid; gap: 40px; align-items: center; }
.hv-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--b); color: #fff; font-family: var(--font-d); font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 4px; }
.hv-badge img { width: 18px; height: 18px; border-radius: 4px; background: #fff; padding: 1px; }
.hv h1 { margin-top: 22px; font-weight: 900; font-size: clamp(25px, 6.9vw, 46px); line-height: 1.35; letter-spacing: .01em; }
.hv h1 .ln { display: block; }
.hv h1 .big { font-size: 1.36em; line-height: 1; letter-spacing: 0; display: inline-block; position: relative; }
.hv h1 .c-g { color: var(--gr); }
.hv h1 .c-b { color: var(--b); }
.hv h1 .q { font-size: .82em; color: var(--k); }
.swoosh { position: absolute; left: -10%; top: -18%; width: 120%; height: 136%; pointer-events: none; overflow: visible; }
.swoosh path { fill: none; stroke: var(--lime); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s cubic-bezier(.4,.1,.2,1) .6s forwards; }
.swoosh path + path { stroke: var(--sky); stroke-width: 2.2; animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hv-bubble { position: relative; margin-top: 26px; background: var(--beige); border-radius: 14px; padding: 16px 20px; font-family: var(--font-d); font-weight: 800; font-size: clamp(15px, 3.8vw, 19px); line-height: 1.7; color: var(--k); text-align: center; }
.hv-bubble::after { content: ""; position: absolute; right: 22%; bottom: -12px; border: 7px solid transparent; border-top: 8px solid var(--beige); border-left-width: 12px; }
.stats { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; }
.stat { background: #fff; border: 2px solid #8fd3b0; border-radius: 6px; text-align: center; padding: 12px 4px 10px; font-family: var(--font-d); font-weight: 800; color: var(--k); position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 9px; height: 2px; background: var(--gr); z-index: 1; }
.stat small { display: block; font-size: 11.5px; line-height: 1.4; }
.stat .n { display: block; font-size: clamp(24px, 7vw, 40px); line-height: 1.15; color: var(--gr); font-weight: 900; margin: 2px 0; font-family: "Outfit", var(--font-d); }
.stat .n i { font-style: normal; font-size: .5em; font-family: var(--font-d); }
.stat .n.blue { color: var(--b); }
.stat .n.lime { color: #6aa51b; }
.hv-line { margin: 22px 0 6px; display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 800; font-size: 13.5px; color: var(--k); justify-content: center; text-align: center; line-height: 1.7; }
.hv-line::before, .hv-line::after { content: ""; flex: 1; height: 1px; background: var(--k); max-width: 50px; }
.hv .cta-pair { margin-top: 18px; }
/* 右：スライダー */
.sl { position: relative; }
.sl-frame { position: relative; background: #fff; padding: 8px; box-shadow: 0 16px 40px -18px rgba(20,23,28,.35); border-radius: 4px; }
.sl-track { position: relative; height: 0; padding-bottom: 80%; overflow: hidden; background: var(--beige); }
.sl-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .8s ease, transform 5s ease; }
.sl-slide.on { opacity: 1; transform: none; }
.sl-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.sl-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(10,14,22,.82)); color: #fff; }
.sl-cap span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border: 1px solid rgba(255,255,255,.7); padding: 2px 8px; }
.sl-cap span img { width: 14px; height: 14px; }
.sl-cap b { display: block; margin-top: 8px; font-family: var(--font-d); font-weight: 800; font-size: clamp(15px, 3.8vw, 20px); line-height: 1.5; }
.sl-dots { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.sl-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: #cfd4dc; padding: 0; cursor: pointer; }
.sl-dots button.on { background: var(--k); box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--k); }
.sl-phones { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding: 6% 8% 0; background: var(--g-l); }
.sl-phones .phone { width: 34%; border-radius: 22px 22px 0 0; padding-bottom: 0; }
.sl-phones .phone .scr { padding-bottom: 175%; border-radius: 16px 16px 0 0; }
@media (min-width: 1040px) {
  .hv { padding: 48px 0 72px; }
  .hv-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 48px; }
  .hv h1 { font-size: min(50px, 3.6vw); }
  .hv .b3 { font-size: 15.5px; padding: 0 22px; }
  .hv .b3.has-badge { padding-left: 66px; }
  .hv .b3 .badge { width: 56px; height: 56px; font-size: 10.5px; }
  .hv-bubble { text-align: left; }
  .hv-line { justify-content: flex-start; }
  .sl-track { padding-bottom: 92%; }
}

/* ツールのロゴが流れる帯 */
.logo-run { border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); background: #fff; overflow: hidden; padding: 18px 0; position: relative; }
.logo-run p { text-align: center; font-family: var(--font-d); font-weight: 800; font-size: 12.5px; color: var(--k3); margin-bottom: 12px; letter-spacing: .08em; }
.logo-track { display: flex; gap: 46px; width: max-content; animation: run 40s linear infinite; }
.logo-track span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 800; font-size: 16px; color: #39404b; white-space: nowrap; }
.logo-track img { width: 28px; height: 28px; }
.logo-track i { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-style: normal; color: #fff; font-size: 11px; font-weight: 900; }
@keyframes run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ============ 特徴（図解） ============ */
.feat-lead { text-align: center; font-family: var(--font-d); font-weight: 800; font-size: clamp(17px, 4.4vw, 22px); line-height: 1.8; color: var(--k); }
.dia { margin: 40px auto 0; max-width: 980px; background: #fff; border: 1px solid var(--bd); padding: 24px 16px; }
.dia-top { background: var(--b); color: #fff; text-align: center; font-family: var(--font-d); font-weight: 800; padding: 8px; font-size: 15px; letter-spacing: .1em; }
.dia-body { display: grid; gap: 14px; padding: 18px 0 0; }
.dia-col { border: 2px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; position: relative; }
.dia-col h3 { font-size: 17px; }
.dia-col p { font-size: 13px; color: var(--k3); margin-top: 4px; line-height: 1.6; }
.dia-col .ic { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 12px; display: grid; place-items: center; }
.dia-col .ic img { width: 34px; height: 34px; }
.dia-col.c1 { border-color: #9fdcb9; } .dia-col.c1 .ic { background: var(--g-l); }
.dia-col.c2 { border-color: var(--b); background: var(--b-l); } .dia-col.c2 h3 { color: var(--b); }
.dia-col.c3 { border-color: #9cc3f5; } .dia-col.c3 .ic { background: var(--b-l); }
.dia-col.c2 .logo { width: 150px; margin: 6px auto 8px; }
.dia-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.dia-tags span { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: #fff; border: 1px solid var(--bd); color: var(--k2); }
.dia-bottom { margin-top: 14px; background: var(--gr); color: #fff; text-align: center; font-family: var(--font-d); font-weight: 800; padding: 10px; font-size: 15px; }
.dia-bottom small { display: block; font-size: 12px; opacity: .9; font-weight: 700; }
@media (min-width: 900px) { .dia { padding: 32px; } .dia-body { grid-template-columns: 1fr 1.1fr 1fr; align-items: stretch; } .dia-col.c2::before, .dia-col.c2::after { content: "⇄"; position: absolute; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--b); font-weight: 900; } .dia-col.c2::before { left: -20px; } .dia-col.c2::after { right: -20px; } }
.reasons { margin-top: 44px; display: grid; gap: 14px; }
.reason { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; background: #fff; border-left: 5px solid var(--b); padding: 18px 18px; }
.reason:nth-child(2) { border-color: var(--gr); } .reason:nth-child(3) { border-color: var(--sky); }
.reason .no { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 34px; line-height: 1; color: var(--b); }
.reason:nth-child(2) .no { color: var(--gr); } .reason:nth-child(3) .no { color: var(--sky); }
.reason b { display: block; font-family: var(--font-d); font-weight: 800; font-size: 17.5px; color: var(--k); line-height: 1.5; }
.reason span { font-size: 13.5px; color: var(--k3); }
@media (min-width: 900px) { .reasons { grid-template-columns: repeat(3, 1fr); gap: 18px; } .reason { grid-template-columns: 1fr; padding: 24px; } }

/* ============ サービス ============ */
.svc-top { display: grid; gap: 22px; }
.sv { position: relative; display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--bd); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.sv:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(20,23,28,.4); }
.sv-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 0; }
.sv-head img { width: 36px; height: 36px; border-radius: 8px; }
.sv-head span { font-family: var(--font-d); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 4px; color: #fff; }
.sv-body { padding: 14px 20px 22px; }
.sv h3 { font-size: clamp(22px, 5.4vw, 30px); line-height: 1.35; }
.sv h3 em { font-style: normal; }
.sv ul { margin-top: 14px; display: grid; gap: 6px; }
.sv li { display: flex; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--k2); line-height: 1.6; }
.sv li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--gr) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/9px no-repeat; }
.sv .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-d); font-weight: 800; font-size: 14px; background: var(--k); color: #fff; padding: 7px 16px; border-radius: 999px; }
.sv-vis { position: relative; }
/* クチコミ＋：緑 */
.sv.kp .sv-head span { background: var(--gr); }
.sv.kp h3 em { color: var(--gr); }
.sv.kp .sv-vis { background: var(--g-l); display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding: 26px 6% 0; }
.sv.kp .sv-vis .phone { width: 30%; border-radius: 22px 22px 0 0; padding-bottom: 0; }
.sv.kp .sv-vis .phone .scr { padding-bottom: 170%; border-radius: 16px 16px 0 0; }
.sv.kp .sv-vis .frame { position: absolute; right: 4%; bottom: 0; width: 46%; border-radius: 8px 8px 0 0; display: none; }
/* Lark：青 */
.sv.lk .sv-head span { background: var(--b); }
.sv.lk h3 em { color: var(--b); }
.sv.lk li::before { background-color: var(--b); }
.sv.lk .sv-vis { background: var(--b-l); padding: 26px 0 0 6%; }
.sv.lk .sv-vis .frame { border-radius: 8px 0 0 0; border-right: 0; border-bottom: 0; }
@media (min-width: 960px) {
  .svc-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sv-head { padding: 28px 32px 0; } .sv-body { padding: 16px 32px 28px; }
  .sv.kp .sv-vis { justify-content: flex-start; padding-left: 8%; }
  .sv.kp .sv-vis .frame { display: block; }
}
.svc-sub { margin-top: 40px; display: grid; gap: 16px; }
.ss { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--bd); padding: 12px; text-decoration: none; color: inherit; transition: transform .2s; }
.ss:hover { transform: translateY(-3px); }
.ss .th { position: relative; height: 0; padding-bottom: 72%; overflow: hidden; border-radius: 4px; }
.ss .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ss .tg { font-family: var(--font-d); font-weight: 800; font-size: 11.5px; padding: 2px 8px; border-radius: 3px; color: #fff; display: inline-block; }
.ss b { display: block; margin-top: 6px; font-family: var(--font-d); font-weight: 800; font-size: 16px; line-height: 1.45; color: var(--k); }
.ss small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--k3); line-height: 1.6; }
@media (min-width: 900px) { .svc-sub { grid-template-columns: repeat(4, 1fr); gap: 18px; } .ss { grid-template-columns: 1fr; padding: 14px 14px 18px; } }

/* Lark置き換え（v3のrepを流用、配色だけ調整） */
.rep { background: #fff; border: 1px solid var(--bd); border-radius: 0; }
.rep-cat { border-color: var(--bd); border-radius: 6px; }
.rep-lark { border-radius: 8px; border-color: var(--b); }
.rep-lark-head b { font-family: "Outfit", sans-serif; }

/* ============ 事例 ============ */
.works { gap: 26px; }
.work .frame { border-radius: 0; box-shadow: none; border: 1px solid var(--bd); }
.work-tag { background: var(--gr); color: #fff; border-radius: 3px; font-family: var(--font-d); font-weight: 800; }
.work:nth-child(3n+2) .work-tag { background: var(--b); }
.work:nth-child(3n+3) .work-tag { background: var(--sky); }
.work h3 { font-size: 17px; font-weight: 800; }
.work a { background: #fff; padding: 12px 12px 18px; border: 1px solid var(--bd); }
.work a .frame { border: 0; }

/* ============ 人・会社 ============ */
.person { display: grid; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--bd); padding: 26px 20px; }
.person-ph { width: 140px; height: 140px; border-radius: 50%; background: var(--b-l); display: grid; place-items: center; margin: 0 auto; overflow: hidden; border: 6px solid var(--beige); }
.person-ph img { width: 70%; }
.person-role { font-size: 13px; color: var(--k3); font-weight: 700; }
.person-name { font-family: var(--font-d); font-weight: 900; font-size: 26px; color: var(--k); margin-top: 2px; }
.person-msg { margin-top: 14px; font-size: 15px; line-height: 1.95; color: var(--k2); }
.person-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.person-tags span { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--b); color: var(--b); background: var(--b-l); }
@media (min-width: 900px) { .person { grid-template-columns: 200px 1fr; padding: 40px 48px; gap: 48px; } .person-ph { width: 180px; height: 180px; } }
.inds { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ind { background: #fff; border: 1px solid var(--bd); padding: 14px; text-align: center; font-family: var(--font-d); font-weight: 800; color: var(--k); font-size: 15px; }
.ind small { display: block; font-size: 11.5px; color: var(--k3); font-weight: 700; margin-top: 2px; font-family: "Noto Sans JP", sans-serif; }
@media (min-width: 900px) { .inds { grid-template-columns: repeat(4, 1fr); } }
.inds-note { margin-top: 10px; text-align: center; }

/* ============ 相談の流れ ============ */
.steps4 li { border-radius: 0; border-color: var(--bd); }
.steps4 li::before { font-family: "Outfit", sans-serif; color: var(--gr); }
.steps4 li:nth-child(2)::before { color: var(--b); }
.steps4 li:nth-child(3)::before { color: var(--sky); }
.steps4 li:nth-child(4)::before { color: #6aa51b; }
.steps4 b { font-family: var(--font-d); font-weight: 800; }

/* FAQ */
.faq-item summary { font-family: var(--font-d); font-weight: 800; }
.faq-item summary::before { content: "Q."; color: var(--gr); font-family: "Outfit", sans-serif; margin-right: 8px; }

/* ============ 最後の相談帯 ============ */
.cta4 { position: relative; background: var(--b); color: #fff; padding: 72px 0; overflow: hidden; }
.cta4::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.cta4 .wrap { position: relative; text-align: center; }
.cta4 h2 { color: #fff; font-size: clamp(26px, 6.6vw, 44px); line-height: 1.4; font-weight: 900; }
.cta4 h2 .y { color: var(--y); }
.cta4 p { margin-top: 12px; color: rgba(255,255,255,.88); font-weight: 500; }
.cta4 .cta-pair { max-width: 820px; margin: 34px auto 0; }
.cta4 .cta-lead { color: #fff; }
.cta4 .cta-lead em { color: var(--y); }
.cta4 .cta-note { color: rgba(255,255,255,.8); }
.cta4 .b3-blue { background: #fff; color: var(--b); box-shadow: 0 5px 0 #bcd2f5; }
@media (min-width: 900px) { .cta4 { padding: 110px 0; } }

/* 画面下に固定の相談ボタン（PCでも表示） */
.fixcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.97); border-top: 3px solid var(--b); padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom)); transform: translateY(120%); transition: transform .35s; }
.fixcta.show { transform: none; }
.fixcta .in { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fixcta .b3 { min-height: 50px; font-size: 14.5px; padding: 0 14px; width: 100%; }
.fixcta .b3.has-badge { padding-left: 52px; }
.fixcta .b3 .badge { width: 46px; height: 46px; font-size: 9.5px; left: -2px; }
.fixcta .b3 .badge b { font-size: 12px; }
.fixcta .cta-lead { display: none; }
@media (min-width: 900px) { .fixcta .cta-lead { display: block; font-size: 13px; margin-bottom: 4px; } .fixcta .b3 { min-height: 54px; font-size: 16px; } }
body.has-fix .sp-bar { display: none !important; }

/* ページ見出し（下層） */
.page-hd { background-color: #fbfcfd; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; }
.page-hd h1 { font-weight: 900; }

/* フッター */
.ft2 { background: var(--beige); border-top: 0; }
.ft2 nav a { font-family: var(--font-d); font-weight: 700; }

/* 出現アニメーション（上品に） */
html.js .rv { transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .rv.is-in .stat, html.js .stat { transition: transform .3s; }
@media (prefers-reduced-motion: reduce) { .swoosh path { animation: none; stroke-dashoffset: 0; } .sl-slide { transition: none; } .mk { transition: none; background-size: 100% 100%; } }


.shot-mode .fixcta { display: none; }

.sv { display: flex; flex-direction: column; }
.sv-vis { margin-top: auto; }
@media (min-width: 960px) {
  .sv.kp .sv-vis { padding: 26px 0 0 6%; justify-content: flex-start; gap: 3%; }
  .sv.kp .sv-vis .phone { width: 24%; }
  .sv.kp .sv-vis .frame { width: 44%; right: 0; border-radius: 8px 0 0 0; }
}
@media (max-width: 699px) {
  .hv-line { display: block; font-size: 13px; }
  .hv-line::before, .hv-line::after { display: none; }
  /* スマホでは縦に積み上がりすぎないよう横スクロールに */
  .works { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 12px; scroll-padding-left: var(--g); }
  .works .work { flex: none; width: 80%; scroll-snap-align: start; }
  .kvideo > div:last-child { display: none; }
  .kvideo { margin-top: 48px; }
  .reasons { gap: 10px; }
  .reason { padding: 14px; grid-template-columns: 46px 1fr; }
  .reason .no { font-size: 28px; }
  .inds { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ind { padding: 10px 8px; font-size: 14px; }
  .rep-cat li { font-size: 12.5px; }
  .dia-col { padding: 12px; }
  .lane { padding: 18px 14px; }
}
.faq-item summary { grid-template-columns: auto 1fr 20px; gap: 6px 10px; } .faq-item summary::before { margin-right: 0; } .faq-a { padding-left: 32px; }
/* 下層ページの締め（v4の青い方眼に統一） */
.cta { background-color: var(--b); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.cta h2 { font-weight: 900; }
.cta-act { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.cta-act.main { background: #fff; border-color: #fff; }
.cta-act.main b { color: var(--b); }
.cta-act.main span { color: var(--k3); }
.cta-act.main i { background: var(--b); color: #fff; }
.svc { border-color: var(--bd); }
