/*
Theme Name: Fliqt
Theme URI: https://fliqt.co.jp/
Author: 株式会社Fliqt
Description: 株式会社Fliqt コーポレートサイト用オリジナルテーマ
Version: 1.0.0
Requires PHP: 7.4
Text Domain: fliqt
*/
  :root {
    --navy: #0B1B33; --navy2: #10264A; --deep: #071225;
    --iolite: #4F5BD5; --bright: #4A90F0; --sky: #0EA5E9;
    --ink: #0B1B33; --text: #2B3646; --muted: #5B6779; --line: #E3E8F0; --soft: #F5F7FB; --tint: #EEF1FC;
    --grad: #4F5BD5;
    --slant: -26.57deg; /* the logo's bar angle */
    --pad: 44px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; font-family: "Noto Sans JP", sans-serif; color: var(--text); background: #fff; line-height: 1.85; overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  svg { display: block; }
  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
  .grad-text { color: var(--iolite); }
  .tmp { display: inline-block; font-size: 10px; font-weight: 700; color: #B45309; background: #FEF3C7; border-radius: 3px; padding: 0 6px; letter-spacing: .04em; vertical-align: middle; line-height: 1.8; }

  /* ---------- buttons ---------- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 16px 28px; border-radius: 4px; white-space: nowrap; transition: transform .2s, background .2s; border: 0; cursor: pointer; font-family: inherit; }
  .btn:hover { transform: translateY(-2px); }
  .btn.sm { padding: 10px 18px; font-size: 13px; }
  .btn-main { background: var(--iolite); color: #fff; }
  .btn-main:hover { background: #4350C4; }
  .btn-sub { border: 1.5px solid currentColor; background: transparent; }
  .btn-white { background: #fff; color: var(--navy); }
  .btn small { font-size: 11px; font-weight: 500; opacity: .85; }

  /* ---------- motion ---------- */
  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js .rv.in { opacity: 1; transform: none; }
  .rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }
  @keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes slideL { from { opacity: 0; transform: translateX(120px) skewX(var(--slant)); } to { opacity: 1; transform: skewX(var(--slant)); } }
  @keyframes float { 50% { transform: translateY(-10px); } }
  @keyframes typing { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
  .up { animation: up 1s cubic-bezier(.2, .7, .2, 1) both; }
  .u1 { animation-delay: .1s; } .u2 { animation-delay: .25s; } .u3 { animation-delay: .4s; } .u4 { animation-delay: .55s; }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .rv { opacity: 1; transform: none; } }

  /* ---------- header ---------- */
  .hd { position: fixed; z-index: 100; top: 0; left: 0; right: 0; transition: background .3s, box-shadow .3s; }
  .hd.scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
  .hd .wrap { display: flex; align-items: center; gap: 28px; height: 78px; max-width: none; }
  .hd .logo svg { height: 30px; width: auto; color: var(--navy); }
  .hd nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: var(--ink); margin-left: auto; }
  .hd nav a:hover { color: var(--iolite); }
  .hd .cta { display: flex; gap: 10px; color: var(--ink); }
  .menu { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
  .menu span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; }

  /* ---------- first view ---------- */
  .fv { position: relative; overflow: hidden; min-height: 760px; height: 100vh; max-height: 980px; background: #fff; }
  .fv .copy { position: absolute; z-index: 3; left: var(--pad); top: 50%; transform: translateY(-52%); max-width: 900px; }
  .eyebrow { font-size: 14px; font-weight: 700; color: var(--iolite); letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
  .eyebrow::before { content: none; }
  .fv h1 .nw { white-space: nowrap; }
  .fv h1 br.sp { display: none; }
  .fv h1 { font-size: clamp(32px, 5.2vw, 76px); line-height: 1.22; font-weight: 900; letter-spacing: -.02em; margin: 22px 0 26px; color: var(--ink); }
  .fv p { font-size: 17px; line-height: 1.9; color: var(--muted); margin: 0 0 36px; max-width: 520px; }
  .fv .acts { display: flex; gap: 12px; flex-wrap: wrap; color: var(--ink); }
  .fv .bars { position: absolute; right: -120px; top: 0; bottom: 0; width: 58%; }
  .fv .bars span { position: absolute; right: 0; height: 18%; animation: slideL 1.2s cubic-bezier(.2, .7, .2, 1) both; transform: skewX(var(--slant)); }
  .fv .bars .b1 { top: 14%; width: 92%; background: #4F5BD5; animation-delay: .5s; }
  .fv .bars .b2 { top: 37%; width: 70%; background: #4A90F0; animation-delay: .35s; right: 9%; }
  .fv .bars .b3 { top: 60%; width: 48%; background: #0EA5E9; animation-delay: .2s; right: 18%; }
  .fv .ai { position: absolute; z-index: 4; right: 6%; bottom: 20%; width: 360px; animation: up 1s 1s both, float 6s 2s ease-in-out infinite; }

  /* ---------- service index (replaces the dark ticker) ---------- */
  .idx-wrap { position: relative; z-index: 5; margin-top: -96px; }
  .idx { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 10px; box-shadow: 0 24px 60px rgba(11, 27, 51, .12); overflow: hidden; }
  .idx a { position: relative; padding: 26px 26px 28px; border-left: 1px solid var(--line); display: block; transition: background .25s; }
  .idx a:first-child { border-left: 0; }
  .idx a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
  .idx a:hover { background: var(--soft); }
  .idx a:hover::after { transform: scaleX(1); }
  .idx .n { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 13px; color: var(--iolite); letter-spacing: .1em; }
  .idx b { display: block; font-size: 19px; color: var(--ink); margin: 4px 0 4px; }
  .idx span { font-size: 13px; color: var(--muted); }
  .idx .go { position: absolute; right: 22px; top: 26px; color: var(--iolite); font-weight: 700; }

  /* ---------- UI mock parts ---------- */
  .ui { background: #fff; border-radius: 10px; box-shadow: 0 24px 60px rgba(11, 27, 51, .16); font-size: 13px; color: var(--ink); overflow: hidden; }
  .ui-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 12px; }
  .ui-head i { width: 8px; height: 8px; border-radius: 50%; background: #E3E8F0; }
  .ui-head .tag { margin-left: auto; font-size: 10px; color: var(--muted); font-weight: 500; }
  .ai .q { margin: 14px 16px 10px; background: #F1F4FA; border-radius: 8px; padding: 10px 12px; }
  .ai .a { margin: 0 16px 16px; line-height: 1.75; }
  .ai .a b { display: block; margin-bottom: 4px; }
  .pick { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--iolite); border-radius: 6px; padding: 8px 10px; margin-top: 8px; font-weight: 700; }
  .pick em { font-style: normal; font-size: 10px; color: #fff; background: var(--iolite); border-radius: 3px; padding: 1px 6px; }
  .stars { color: #F5A524; letter-spacing: 1px; font-size: 12px; }

  /* ---------- section heads ---------- */
  section { padding: 140px 0; position: relative; }
  .sh { margin-bottom: 64px; }
  .lab { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--iolite); letter-spacing: .08em; }
  .lab::before { content: none; }
  .sh h2 { font-size: clamp(28px, 3.8vw, 52px); line-height: 1.32; font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin: 14px 0 0; }
  .sh p { margin: 22px 0 0; color: var(--muted); max-width: 640px; font-size: 16px; }
  .split-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
  .split-head p { margin: 0; }
  .dark { background: var(--navy); color: #fff; }
  .dark .sh h2, .dark h2 { color: #fff; }
  .dark .sh p { color: #AAB7CE; }
  .dark .lab { color: #9FB6FF; }

  /* ---------- market ---------- */
  .market { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
  .channels { display: grid; gap: 18px; }
  .ch { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 20px; }
  .ch b { font-size: 16px; color: var(--ink); }
  .ch b small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
  .ch .track { height: 48px; position: relative; }
  .ch .track span { position: absolute; left: 14px; top: 0; bottom: 0; transform: skewX(var(--slant)); transform-origin: left; display: flex; align-items: center; padding-left: 20px; color: #fff; font-size: 14px; font-weight: 700; }
  .js .ch .track span { transform: skewX(var(--slant)) scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
  .js .channels.in .track span { transform: skewX(var(--slant)) scaleX(1); }
  .ch .track span em { font-style: normal; transform: skewX(26.57deg); white-space: nowrap; }
  .market .note { margin-top: 10px; font-size: 12px; color: var(--muted); }
  .market .big { font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; color: var(--ink); line-height: 1.7; margin: 36px 0 0; }
  .market .big b { color: var(--iolite); }

  /* ---------- Ask Maps ---------- */
  .ask { background: var(--soft); overflow: hidden; }
  .ask .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
  .ask .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); padding: 5px 12px; border-radius: 3px; }
  .ask .badge i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
  .ask h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.3; font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin: 18px 0 22px; }
  .ask .lead { color: var(--muted); font-size: 16px; margin: 0 0 30px; }
  .ask .lead b { color: var(--ink); }
  .keys { display: grid; gap: 12px; margin-bottom: 32px; }
  .key { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
  .key .kn { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; color: #fff; background: var(--grad); border-radius: 4px; height: 44px; display: grid; place-items: center; }
  .key b { color: var(--ink); display: block; }
  .key span { font-size: 14px; color: var(--muted); }
  .ask .src { font-size: 11px; color: var(--muted); margin-top: 14px; }
  .ask .src a { text-decoration: underline; }
  /* phone mock */
  .phone-stage { position: relative; display: grid; place-items: center; }
  .phone-stage::before { content: ""; position: absolute; width: 120%; height: 46%; top: 22%; background: var(--grad); opacity: .14; transform: skewX(var(--slant)); }
  .phone { position: relative; width: 300px; border-radius: 40px; background: var(--navy); padding: 12px; box-shadow: 0 40px 80px rgba(11, 27, 51, .3); }
  .screen { border-radius: 30px; overflow: hidden; background: #fff; height: 580px; display: flex; flex-direction: column; }
  .screen .mapbg { height: 210px; position: relative; background: #E7EFFA; background-image: linear-gradient(#D5E2F3 1px, transparent 1px), linear-gradient(90deg, #D5E2F3 1px, transparent 1px); background-size: 30px 30px; }
  .screen .mapbg .road { position: absolute; left: -10%; right: -10%; top: 58%; height: 14px; background: #fff; transform: rotate(-10deg); }
  .screen .mapbg .road.v { top: -10%; bottom: -10%; left: 62%; right: auto; width: 12px; height: auto; transform: rotate(8deg); }
  .screen .pin { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #B9C6DC; }
  .screen .pin.me { background: var(--iolite); width: 30px; height: 30px; box-shadow: 0 6px 16px rgba(79, 91, 213, .45); }
  .screen .search { position: absolute; left: 12px; right: 12px; top: 14px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 11px; color: var(--muted); box-shadow: 0 4px 12px rgba(11, 27, 51, .12); }
  .screen .askchip { position: absolute; left: 12px; top: 54px; display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 12px; }
  .screen .askchip svg { width: 13px; height: 13px; }
  .chat { flex: 1; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; margin-top: -18px; background: #fff; border-radius: 18px 18px 0 0; position: relative; box-shadow: 0 -6px 18px rgba(11, 27, 51, .08); }
  .chat .grab { width: 36px; height: 4px; border-radius: 2px; background: #D5DCE8; margin: 0 auto 4px; }
  .bubble { align-self: flex-end; background: var(--iolite); color: #fff; border-radius: 14px 14px 4px 14px; padding: 9px 12px; max-width: 86%; line-height: 1.6; }
  .reply { background: #F1F4FA; border-radius: 14px 14px 14px 4px; padding: 10px 12px; line-height: 1.65; }
  .place { display: flex; gap: 10px; align-items: center; background: #fff; border: 1.5px solid var(--iolite); border-radius: 10px; padding: 9px 10px; }
  .place .ph { width: 44px; height: 44px; border-radius: 8px; background: var(--grad); flex-shrink: 0; }
  .place b { display: block; font-size: 12px; }
  .place small { color: var(--muted); font-size: 10px; }
  .place.sub { border-color: var(--line); opacity: .75; }
  .typing { display: flex; gap: 4px; padding-left: 4px; }
  .typing i { width: 6px; height: 6px; border-radius: 50%; background: #B9C6DC; animation: typing 1.2s infinite; }
  .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }

  /* ---------- problems ---------- */
  .problems { border-top: 1px solid var(--line); }
  .prob { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
  .prob .n { display: none; font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 44px; line-height: 1; color: #D5DCEA; }
  .prob h3 { margin: 0; font-size: clamp(18px, 2vw, 24px); color: var(--ink); font-weight: 900; }
  .prob span { font-size: 13px; font-weight: 700; color: var(--iolite); background: var(--tint); padding: 4px 12px; border-radius: 3px; white-space: nowrap; }

  /* ---------- services ---------- */
  .svc-wrap { background: var(--soft); }
  .svc { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; padding: 84px 0; border-top: 1px solid var(--line); }
  .svc:first-of-type { border-top: 0; padding-top: 0; }
  .svc:nth-of-type(even) .txt { order: 2; }
  .svc .no { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 96px; line-height: .9; }
  .svc .kind { font-size: 13px; font-weight: 700; color: var(--iolite); margin: 22px 0 6px; }
  .svc h3 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 40px); font-weight: 900; color: var(--ink); line-height: 1.35; }
  .svc p { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
  .svc .can { font-weight: 700; margin: 0 0 10px; font-size: 13px; color: var(--ink); letter-spacing: .04em; }
  .svc ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
  .svc li { position: relative; padding-left: 24px; font-weight: 500; color: var(--ink); }
  .svc li::before { content: ""; position: absolute; left: 0; top: .75em; width: 12px; height: 5px; background: var(--grad); transform: skewX(var(--slant)); }
  .svc .for { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 28px; font-size: 13px; color: var(--muted); }
  .svc .for::before { content: "向いている業種："; font-weight: 700; color: var(--ink); }
  .svc .for span + span::before { content: "／"; }
  .more { font-weight: 700; color: var(--iolite); display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

  /* diagrams */
  .dg { background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(11, 27, 51, .1); padding: 30px 30px 26px; position: relative; }
  .dg-cap { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 22px; }
  .dg-cap b { font-family: "Archivo"; font-stretch: 112%; color: #fff; background: var(--navy); font-size: 10px; letter-spacing: .12em; padding: 2px 8px; border-radius: 2px; }
  .arr { width: 34px; height: 14px; flex-shrink: 0; color: var(--bright); }
  .chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 6px 10px; background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
  .chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--iolite); }
  /* AIO: before / after */
  .ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
  .ba .col { border-radius: 10px; padding: 14px; font-size: 12px; line-height: 1.65; }
  .ba .col .ct { font-weight: 700; margin: 0 0 10px; font-size: 12px; display: flex; align-items: center; gap: 6px; }
  .ba .before { background: var(--soft); color: var(--muted); }
  .ba .before .ct { color: var(--muted); }
  .ba .after { background: #fff; border: 1.5px solid var(--iolite); }
  .ba .after .ct { color: var(--iolite); }
  .ba .msg { background: #fff; border-radius: 8px; padding: 9px 10px; margin-top: 6px; border: 1px solid var(--line); }
  .ba .after .msg.hit { border-color: var(--iolite); background: var(--tint); color: var(--ink); font-weight: 700; }
  .ba .mid { display: grid; place-items: center; }
  .ba .mid div { font-size: 11px; font-weight: 700; color: var(--iolite); writing-mode: vertical-rl; letter-spacing: .1em; }
  .how { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .how div { border-top: 3px solid var(--iolite); padding-top: 10px; font-size: 12px; color: var(--muted); }
  .how b { display: block; font-size: 13px; color: var(--ink); }
  /* MEO flow */
  .flowv { display: grid; grid-template-columns: 1fr auto 1.05fr auto 1fr; gap: 10px; align-items: center; }
  .inbox { display: grid; gap: 8px; }
  .inbox .chip { justify-content: flex-start; }
  .hub { background: var(--navy); color: #fff; border-radius: 12px; padding: 16px 14px; text-align: center; font-size: 12px; line-height: 1.6; }
  .hub svg { width: 34px; height: 34px; margin: 0 auto 6px; }
  .hub b { display: block; font-size: 13px; }
  .hub small { color: #9FB6FF; }
  .outbox { display: grid; gap: 8px; font-size: 12px; }
  .rankrow { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; }
  .rankrow.top { border-color: var(--iolite); background: var(--tint); font-weight: 700; }
  .rankrow em { font-style: normal; font-family: "Archivo"; font-stretch: 112%; font-weight: 800; width: 20px; height: 20px; border-radius: 3px; background: #D5DCEA; color: #fff; display: grid; place-items: center; font-size: 11px; }
  .rankrow.top em { background: var(--iolite); }
  .line { height: 6px; border-radius: 3px; background: #E3E8F0; flex: 1; }
  .vidrow { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; font-size: 12px; color: var(--muted); }
  .vidrow b { display: block; font-size: 14px; color: var(--ink); margin: 4px 0 2px; }
  .vidrow .new { font-size: 10px; font-weight: 700; color: #fff; background: var(--iolite); border-radius: 2px; padding: 1px 7px; letter-spacing: .06em; }
  .thumbs { display: flex; gap: 6px; }
  .thumbs i { width: 46px; aspect-ratio: 9 / 16; border-radius: 6px; background: linear-gradient(160deg, #4A90F0, #4F5BD5 60%, #0B1B33); position: relative; display: grid; place-items: center; }
  .thumbs i:nth-child(2) { background: linear-gradient(160deg, #0EA5E9, #4A90F0); }
  .thumbs i:nth-child(3) { background: linear-gradient(160deg, #4F5BD5, #0B1B33); }
  .thumbs i::before { content: ""; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
  /* AI training road */
  .road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .road .bar { height: 10px; background: var(--grad); transform: skewX(var(--slant)); margin-bottom: 14px; }
  .road .st:nth-child(1) .bar { opacity: .35; } .road .st:nth-child(2) .bar { opacity: .55; } .road .st:nth-child(3) .bar { opacity: .75; }
  .road em { font-style: normal; font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 11px; color: var(--iolite); letter-spacing: .1em; }
  .road b { display: block; font-size: 14px; color: var(--ink); margin: 2px 0 4px; }
  .road span { font-size: 12px; color: var(--muted); line-height: 1.6; display: block; }
  .support { margin-top: 22px; background: var(--navy); color: #fff; border-radius: 10px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
  .support .ic { width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
  .support .ic svg { width: 24px; height: 24px; }
  .support b { display: block; font-size: 14px; }
  .support span { font-size: 12px; color: #AAB7CE; }
  .qa { margin-top: 16px; display: grid; gap: 8px; font-size: 12px; line-height: 1.6; }
  .qa .q { justify-self: end; max-width: 80%; background: var(--iolite); color: #fff; border-radius: 12px 12px 4px 12px; padding: 8px 12px; }
  .qa .a { justify-self: start; max-width: 80%; background: var(--soft); color: var(--ink); border-radius: 12px 12px 12px 4px; padding: 8px 12px; }
  /* SNS hub & spoke */
  .spoke { position: relative; height: 330px; }
  .spoke svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
  .spoke .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 180px; background: var(--navy); color: #fff; border-radius: 12px; padding: 14px; font-size: 11px; line-height: 1.6; box-shadow: 0 16px 30px rgba(11, 27, 51, .25); }
  .spoke .center b { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 6px; }
  .spoke .center .draft { background: rgba(255,255,255,.08); border-radius: 6px; padding: 8px; color: #D6DEEE; }
  .spoke .center .when { margin-top: 8px; color: #9FB6FF; font-weight: 700; }
  .spoke .node { position: absolute; transform: translate(-50%, -50%); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; display: flex; align-items: center; gap: 6px; box-shadow: 0 6px 16px rgba(11, 27, 51, .08); }
  .spoke .node i { width: 10px; height: 10px; border-radius: 3px; }

  /* ---------- document CTA ---------- */
  .doc .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .doc h2 { font-size: clamp(28px, 3.6vw, 48px); font-weight: 900; line-height: 1.4; margin: 14px 0 18px; }
  .doc p { color: #AAB7CE; margin: 0 0 18px; }
  .doc ul { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 8px; font-weight: 500; }
  .doc li::before { content: "✓"; color: #7FA8FF; font-weight: 900; margin-right: 10px; }
  .doc .acts { display: flex; gap: 12px; flex-wrap: wrap; }
  .cover { position: relative; height: 380px; }
  .cover .pg { position: absolute; left: 50%; width: 270px; aspect-ratio: 210 / 297; background: #fff; border-radius: 4px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); padding: 26px 22px; color: var(--ink); overflow: hidden; }
  .cover .pg.back { transform: rotate(-8deg) translate(-70px, 20px); opacity: .55; }
  .cover .pg.mid { transform: rotate(-3deg) translate(-30px, 8px); opacity: .8; }
  .cover .pg.front { transform: translateX(-30%) rotate(3deg); }
  .cover .pg svg { height: 20px; width: auto; }
  .cover .pg .pt { margin: 40px 0 8px; font-size: 18px; line-height: 1.5; font-weight: 900; }
  .cover .pg small { color: var(--muted); font-size: 10px; }
  .cover .pg .bars { position: absolute; right: -30px; bottom: 30px; width: 180px; height: 90px; }
  .cover .pg .bars span { position: absolute; right: 0; height: 24%; transform: skewX(var(--slant)); }

  /* ---------- reasons ---------- */
  .reasons { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
  .reason { padding: 34px 28px 10px 0; }
  .reason + .reason { padding-left: 28px; border-left: 1px solid var(--line); }
  .reason .n { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 13px; color: var(--iolite); letter-spacing: .12em; }
  .reason h3 { margin: 14px 0 12px; font-size: 21px; line-height: 1.5; color: var(--ink); font-weight: 900; }
  .reason p { margin: 0; font-size: 14.5px; color: var(--muted); }

  /* ---------- pricing ---------- */
  .price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .pc { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px 24px; display: flex; flex-direction: column; }
  .pc .k { font-size: 12px; font-weight: 700; color: var(--iolite); }
  .pc h3 { margin: 4px 0 16px; font-size: 19px; color: var(--ink); font-weight: 900; }
  .pc .yen { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 32px; color: var(--ink); line-height: 1.2; }
  .pc .yen small { font-family: "Noto Sans JP"; font-size: 12px; font-weight: 700; margin-left: 2px; }
  .pc .per { font-size: 12px; color: var(--muted); }
  .pc ul { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); font-size: 13px; display: grid; gap: 4px; color: var(--muted); }
  .set { margin-top: 20px; background: var(--navy); color: #fff; border-radius: 8px; padding: 26px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .set b { font-size: 19px; }
  .set p { margin: 4px 0 0; color: #AAB7CE; font-size: 14px; }
  .price-note { margin-top: 14px; font-size: 12px; color: var(--muted); }

  /* ---------- flow ---------- */
  .flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .step .bar { height: 12px; background: var(--grad); transform: skewX(var(--slant)); margin-bottom: 22px; }
  .step:nth-child(1) .bar { opacity: .3; } .step:nth-child(2) .bar { opacity: .45; } .step:nth-child(3) .bar { opacity: .6; } .step:nth-child(4) .bar { opacity: .8; }
  .step .n { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 12px; color: var(--iolite); letter-spacing: .12em; }
  .step h3 { margin: 6px 0 8px; font-size: 19px; color: var(--ink); font-weight: 900; }
  .step p { margin: 0; font-size: 14px; color: var(--muted); }

  /* ---------- cases ---------- */
  .cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .case { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
  .case .top { background: var(--navy); color: #fff; padding: 26px 26px 22px; position: relative; overflow: hidden; }
  .case .top::after { content: ""; position: absolute; right: -20px; top: 18px; width: 120px; height: 16px; background: var(--grad); transform: skewX(var(--slant)); opacity: .8; }
  .case .ind { font-size: 12px; color: #9FB6FF; font-weight: 700; }
  .case .num { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 54px; line-height: 1.1; margin-top: 10px; }
  .case .num small { font-family: "Noto Sans JP"; font-size: 16px; font-weight: 700; margin-left: 4px; }
  .case .what { font-size: 13px; color: #AAB7CE; }
  .case .body { padding: 22px 26px 26px; }
  .case h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: var(--ink); font-weight: 900; }
  .case p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
  .case .used { display: flex; gap: 6px; flex-wrap: wrap; }
  .case .used span { font-size: 11px; font-weight: 700; color: var(--iolite); background: var(--tint); padding: 2px 10px; border-radius: 3px; }

  /* ---------- philosophy ---------- */
  .philo .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
  .philo .stack { display: grid; gap: 20px; }
  .philo .tier { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
  .philo .tier .b { height: 64px; transform: skewX(var(--slant)); }
  .philo .tier:nth-child(1) .b { width: 260px; background: #4F5BD5; margin-left: 64px; }
  .philo .tier:nth-child(2) .b { width: 200px; background: #4A90F0; margin-left: 48px; }
  .philo .tier:nth-child(3) .b { width: 140px; background: #0EA5E9; margin-left: 32px; }
  .philo .tier .w { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 34px; line-height: 1.1; }
  .philo .tier .w small { display: block; font-family: "Noto Sans JP"; font-size: 13px; color: #9FB6FF; font-weight: 700; margin-top: 4px; }
  .philo .tier p { margin: 2px 0 0; font-size: 14px; color: #AAB7CE; }
  .philo .msg { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.7; margin: 30px 0 0; }

  /* ---------- faq ---------- */
  .faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq details:first-child { border-top: 2px solid var(--ink); }
  .faq summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; padding: 24px 4px; font-weight: 700; color: var(--ink); font-size: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .q { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; color: var(--iolite); }
  .faq summary .pm { margin-left: auto; width: 14px; height: 14px; position: relative; flex-shrink: 0; }
  .faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--navy); transition: transform .2s; }
  .faq summary .pm::after { transform: rotate(90deg); }
  .faq details[open] summary .pm::after { transform: rotate(0); }
  .faq .a { padding: 0 4px 24px 40px; color: var(--muted); font-size: 15px; }

  /* ---------- column ---------- */
  .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .post .ph { aspect-ratio: 16 / 9; background: var(--navy); border-radius: 8px; position: relative; overflow: hidden; }
  .post .ph i { position: absolute; height: 18%; transform: skewX(var(--slant)); }
  .post .meta { margin-top: 16px; font-size: 12px; color: var(--muted); display: flex; gap: 12px; }
  .post .meta b { color: var(--iolite); }
  .post h3 { margin: 6px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink); }

  /* ---------- contact (form) ---------- */
  .contact { overflow: hidden; }
  .contact .bars { position: absolute; left: -80px; bottom: 0; width: 40%; height: 46%; opacity: .5; }
  .contact .bars span { position: absolute; left: 0; height: 22%; transform: skewX(var(--slant)); }
  .contact .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .contact h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 900; line-height: 1.32; margin: 16px 0 22px; letter-spacing: -.02em; }
  .contact .lead { color: #AAB7CE; margin: 0 0 32px; }
  .dl-card { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); border-radius: 10px; padding: 22px 24px; display: grid; gap: 14px; }
  .dl-card b { font-size: 17px; }
  .dl-card span { font-size: 13px; color: #AAB7CE; }
  .check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; font-size: 14px; color: #D6DEEE; }
  .check-list li::before { content: "✓"; color: #7FA8FF; font-weight: 900; margin-right: 10px; }
  .form { background: #fff; color: var(--ink); border-radius: 12px; padding: 36px 36px 32px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
  .form h3 { margin: 0 0 4px; font-size: 22px; font-weight: 900; }
  .form .sub { margin: 0 0 24px; font-size: 13px; color: var(--muted); }
  .f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
  .f { display: grid; gap: 6px; }
  .f.full { grid-column: 1 / -1; }
  .f label, .f .lbl { font-size: 13px; font-weight: 700; }
  .req { font-size: 10px; color: #fff; background: var(--iolite); border-radius: 2px; padding: 1px 5px; margin-left: 6px; vertical-align: 1px; }
  .opt { font-size: 10px; color: var(--muted); background: var(--soft); border-radius: 2px; padding: 1px 5px; margin-left: 6px; vertical-align: 1px; }
  .f input[type=text], .f input[type=email], .f input[type=tel], .f select, .f textarea { font: inherit; font-size: 15px; color: var(--ink); border: 1px solid #CFD6E3; border-radius: 6px; padding: 12px 14px; background: #fff; width: 100%; }
  .f textarea { min-height: 110px; resize: vertical; }
  .f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid rgba(79, 91, 213, .35); border-color: var(--iolite); }
  .checks { display: flex; flex-wrap: wrap; gap: 8px; }
  .checks label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; border: 1px solid #CFD6E3; border-radius: 6px; padding: 8px 12px; cursor: pointer; }
  .checks input { accent-color: var(--iolite); }
  .agree { margin: 20px 0 18px; font-size: 13px; display: flex; gap: 8px; align-items: center; }
  .agree input { accent-color: var(--iolite); width: 16px; height: 16px; }
  .agree a { color: var(--iolite); text-decoration: underline; }
  .form .btn { width: 100%; }
  .form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
  .f-err { margin: 12px 0 0; font-size: 13px; color: #DC2626; }
  .form .done { display: none; text-align: center; padding: 40px 10px; }
  .form.sent .done { display: block; }
  .form.sent form { display: none; }
  .form .done b { display: block; font-size: 20px; margin-bottom: 8px; }
  .form .done span { font-size: 14px; color: var(--muted); }

  /* ---------- footer ---------- */
  footer { background: var(--deep); color: #9AA8BF; padding: 72px 0 30px; font-size: 13px; }
  footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
  footer .logo svg { height: 30px; width: auto; color: #fff; }
  footer p { margin: 16px 0 0; line-height: 1.9; }
  footer .fh { font-weight: 700; color: #fff; font-size: 13px; margin: 0 0 14px; }
  footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  footer a:hover { color: #fff; }
  footer .copy { border-top: 1px solid #1B2A44; margin-top: 52px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

  /* ---------- responsive ---------- */
  @media (max-width: 1100px) {
    :root { --pad: 28px; }
    .hd nav, .hd .cta { display: none; }
    .menu { display: block; }
    .hd.open { background: #fff; box-shadow: 0 1px 0 var(--line); transition: none; max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
    html.menu-open { overflow: hidden; }
    .hd.open .wrap { flex-wrap: wrap; height: auto; padding-top: 18px; padding-bottom: 22px; }
    .hd.open nav, .hd.open .cta { display: flex; width: 100%; }
    .hd.open nav { flex-direction: column; gap: 12px; order: 3; margin: 6px 0 0; }
    .hd.open .cta { order: 4; }
    .fv .bars { opacity: .16; width: 90%; }
    .fv .ai { display: none; }
    .idx { grid-template-columns: 1fr 1fr; }
    .idx a:nth-child(3) { border-left: 0; }
    .idx a:nth-child(n+3) { border-top: 1px solid var(--line); }
    .market, .svc, .doc .wrap, .philo .wrap, .faq-grid, .split-head, .ask .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 48px; }
    .svc:nth-of-type(even) .txt { order: 0; }
    .reasons { grid-template-columns: 1fr 1fr; }
    .reason:nth-child(3) { padding-left: 0; border-left: 0; }
    .reason { padding-bottom: 28px; }
    .price-grid { grid-template-columns: 1fr 1fr; }
    .flow { grid-template-columns: 1fr 1fr; }
    .cases, .posts { grid-template-columns: 1fr 1fr; }
    footer .cols { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 680px) {
    :root { --pad: 20px; }
    section { padding: 96px 0; }
    .fv p { font-size: 15px; }
    .fv h1 .nw { white-space: normal; }
    .fv h1 br.sp { display: inline; }
    .fv .copy { top: 104px; transform: none; }
    .fv .acts .btn { width: 100%; }
    .idx-wrap { margin-top: -60px; }
    .idx { grid-template-columns: 1fr; }
    .idx a { border-left: 0 !important; border-top: 1px solid var(--line); padding: 18px 20px; }
    .idx a:first-child { border-top: 0; }
    .ch { grid-template-columns: 1fr; gap: 6px; }
    .prob { grid-template-columns: 1fr; gap: 10px; }
    .prob .n { font-size: 28px; }
    .prob span { justify-self: start; }
    .svc { padding: 60px 0; }
    .svc .no { font-size: 64px; }
    .dg { padding: 22px 18px; }
    .ba { grid-template-columns: 1fr; }
    .ba .mid div { writing-mode: horizontal-tb; }
    .how { grid-template-columns: 1fr; }
    .flowv { grid-template-columns: 1fr; }
    .flowv .arr { transform: rotate(90deg); margin: 0 auto; }
    .road { grid-template-columns: 1fr 1fr; }
    .vidrow { grid-template-columns: 1fr; }
    .spoke { height: auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
    .spoke svg.lines { display: none; }
    .spoke .center { position: static; transform: none; width: 100%; margin-bottom: 8px; }
    .spoke .node { position: static; transform: none; }
    .phone { width: 270px; }
    .screen { height: 540px; }
    .reasons, .price-grid, .flow, .cases, .posts { grid-template-columns: 1fr; }
    .reason + .reason { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .cover { height: 300px; }
    .cover .pg { width: 200px; }
    .philo .tier .b { height: 44px; }
    .philo .tier:nth-child(1) .b { width: 120px; } .philo .tier:nth-child(2) .b { width: 92px; } .philo .tier:nth-child(3) .b { width: 64px; }
    .philo .tier .w { font-size: 26px; }
    .form { padding: 26px 20px; }
    .f-grid { grid-template-columns: 1fr; }
    footer .cols { grid-template-columns: 1fr; }
  }

  /* =====================================================================
     Sub pages (added for the multi-page site)
     ===================================================================== */
  /* dropdown in header */
  .hd nav .dd { position: relative; }
  .hd nav .dd > a::after { content: "▾"; font-size: 10px; margin-left: 4px; color: var(--muted); }
  .hd nav .dd .menu-list { position: absolute; top: 100%; left: -18px; padding-top: 14px; display: none; }
  .hd nav .dd:hover .menu-list, .hd nav .dd:focus-within .menu-list { display: block; }
  .hd nav .dd .menu-list div { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px rgba(11, 27, 51, .12); padding: 8px; min-width: 230px; display: grid; }
  .hd nav .dd .menu-list a { padding: 9px 12px; border-radius: 6px; white-space: nowrap; }
  .hd nav .dd .menu-list a:hover { background: var(--soft); }
  .hd nav a.on { color: var(--iolite); }
  body.sub .hd { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }

  /* page hero */
  .phero { position: relative; overflow: hidden; padding: 170px 0 96px; background: linear-gradient(180deg, #F4F6FC 0%, #fff 100%); }
  .phero .bars { position: absolute; right: -80px; top: 60px; width: 40%; height: 70%; pointer-events: none; }
  .phero .bars span { position: absolute; right: 0; height: 20%; transform: skewX(var(--slant)); }
  .phero .bars .b1 { top: 12%; width: 92%; background: #4F5BD5; opacity: .9; }
  .phero .bars .b2 { top: 40%; width: 70%; right: 9%; background: #4A90F0; opacity: .85; }
  .phero .bars .b3 { top: 68%; width: 48%; right: 18%; background: #0EA5E9; opacity: .8; }
  .phero .wrap { position: relative; z-index: 2; }
  .phero .inner { max-width: 760px; }
  .crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 28px; }
  .crumb a:hover { color: var(--iolite); }
  .crumb span::before { content: "／"; margin-right: 8px; color: #B9C3D3; }
  .phero h1 { font-size: clamp(32px, 4.6vw, 62px); line-height: 1.28; font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin: 14px 0 20px; }
  .phero .lead { font-size: 17px; color: var(--muted); margin: 0 0 32px; max-width: 640px; }
  .phero .acts { display: flex; gap: 12px; flex-wrap: wrap; color: var(--ink); }

  /* generic blocks */
  .sec { padding: 110px 0; }
  .sec.soft { background: var(--soft); }
  .sec.tight { padding: 80px 0; }
  .two { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
  .two.top { align-items: start; }
  .prose p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
  .prose b, .prose strong { color: var(--ink); }
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cards.c2 { grid-template-columns: repeat(2, 1fr); }
  .cards.c4 { grid-template-columns: repeat(4, 1fr); }
  .card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; position: relative; display: block; }
  .card .num { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 13px; color: var(--iolite); letter-spacing: .1em; }
  .card h3 { margin: 8px 0 10px; font-size: 19px; color: var(--ink); font-weight: 900; line-height: 1.5; }
  .card p { margin: 0; font-size: 14.5px; color: var(--muted); }
  .card .bar { width: 44px; height: 8px; background: var(--grad); transform: skewX(var(--slant)); margin-bottom: 18px; }
  a.card { transition: border-color .2s, box-shadow .2s, transform .2s; }
  /* 押せるもの／押せないものの見分け：押せるものは「枠＋→＋浮く」、押せない説明は枠をなくして文章として見せる */
  div.card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 0; }
  .key { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; }
  .checklist li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-left: 34px; }
  .checklist li::before { left: 4px; }
  a.ch { color: inherit; }
  a.ch .track span { transition: filter .2s; }
  a.ch:hover b { color: var(--iolite); }
  a.ch:hover .track span { filter: brightness(1.12); }
  a.prob { color: inherit; transition: background .2s; padding-left: 12px; padding-right: 12px; }
  a.prob:hover { background: var(--soft); }
  a.prob:hover h3 { color: var(--iolite); }
  a.pc { color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
  a.pc:hover { border-color: #C9D2F5; box-shadow: 0 10px 24px rgba(11, 27, 51, .08); transform: translateY(-3px); }
  /* 画面イメージ（図）の中の部品は押せないので、指マークや選択を出さない */
  .ui, .phone, .dg, .hub, .chat, .screen { cursor: default; user-select: none; }
  a.card:hover { border-color: #C9D2F5; box-shadow: 0 10px 24px rgba(11, 27, 51, .08); transform: translateY(-3px); }
  a.card .go { position: absolute; right: 22px; top: 26px; color: var(--iolite); font-weight: 700; }
  .pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .pill-list span { font-size: 13px; font-weight: 700; color: var(--iolite); background: var(--tint); padding: 4px 12px; border-radius: 3px; }

  /* steps (vertical) */
  .vsteps { border-left: 2px solid var(--line); margin-left: 12px; display: grid; gap: 34px; padding: 6px 0; }
  .vstep { position: relative; padding-left: 40px; }
  .vstep::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--iolite); }
  .vstep .n { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 12px; color: var(--iolite); letter-spacing: .12em; }
  .vstep h3 { margin: 4px 0 8px; font-size: 21px; color: var(--ink); font-weight: 900; }
  .vstep p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
  .vstep .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .vstep .meta span { font-size: 12px; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 3px; padding: 2px 10px; }

  /* tables */
  .tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
  .tbl th, .tbl td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .tbl thead th { background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; border-bottom: 0; }
  .tbl tbody th { width: 220px; color: var(--ink); font-weight: 700; background: var(--soft); }
  .tbl .yen { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 22px; color: var(--ink); white-space: nowrap; }
  .tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
  .tbl-wrap .tbl tr:last-child th, .tbl-wrap .tbl tr:last-child td { border-bottom: 0; }

  /* checklist */
  .checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  .checklist li { position: relative; padding: 14px 16px 14px 46px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 500; color: var(--ink); font-size: 15px; }
  .checklist li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--iolite); }

  /* CTA band */
  .cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
  .cta-band .bars { position: absolute; right: -60px; top: 0; bottom: 0; width: 36%; opacity: .55; }
  .cta-band .bars span { position: absolute; right: 0; height: 18%; transform: skewX(var(--slant)); }
  .cta-band .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
  .cta-band h2 { margin: 12px 0 14px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.4; }
  .cta-band p { margin: 0; color: #AAB7CE; }
  .cta-band .acts { display: grid; gap: 12px; }

  /* article (column) */
  .article { max-width: 780px; margin: 0 auto; }
  .article .eyecatch { aspect-ratio: 16 / 7; border-radius: 12px; background: var(--navy); position: relative; overflow: hidden; margin: 0 0 44px; }
  .article .eyecatch i { position: absolute; height: 18%; transform: skewX(var(--slant)); }
  .article .eyecatch b { position: absolute; left: 36px; bottom: 30px; color: #fff; font-size: clamp(18px, 2.4vw, 26px); font-weight: 900; line-height: 1.5; max-width: 70%; }
  .toc { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 22px 26px; margin: 0 0 48px; }
  .toc b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
  .toc ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; font-size: 14px; }
  .toc a { color: var(--iolite); }
  .article h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; color: var(--ink); line-height: 1.5; margin: 64px 0 20px; padding-left: 20px; position: relative; }
  .article h2::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 6px; background: var(--grad); border-radius: 2px; }
  .article h3 { font-size: 19px; font-weight: 900; color: var(--ink); margin: 36px 0 12px; }
  .article p { font-size: 16px; line-height: 2; color: var(--text); margin: 0 0 20px; }
  .article ul, .article ol.list { margin: 0 0 24px; padding-left: 22px; line-height: 2; }
  .article .point { background: var(--tint); border-left: 4px solid var(--iolite); border-radius: 0 8px 8px 0; padding: 18px 22px; margin: 28px 0; }
  .article .point b { display: block; color: var(--iolite); font-size: 13px; margin-bottom: 4px; }
  .article .point p { margin: 0; }
  /* 記事冒頭の「この記事のポイント」と、記事末の「よくある質問」 */
  .article .summary { border: 1px solid var(--line); border-top: 4px solid var(--iolite); border-radius: 0 0 10px 10px; padding: 20px 24px; margin: 28px 0; background: #fff; }
  .article .summary b { display: block; font-size: 14px; color: var(--iolite); margin-bottom: 8px; }
  .article .summary ul { margin: 0; padding-left: 1.2em; }
  .article .summary li { margin: 4px 0; }
  .article .faq { margin: 8px 0 28px; }
  .article .faq summary { font-size: 15px; padding: 18px 4px; }
  .article .faq .a { padding: 0 4px 18px 40px; }
  .article .src { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 48px; }
  .article .src a { text-decoration: underline; }
  .author { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; }
  .author svg { width: 54px; height: 54px; flex-shrink: 0; }
  .author b { display: block; color: var(--ink); }
  .author span { font-size: 13px; color: var(--muted); }
  .author small { display: block; font-size: 11px; font-weight: 700; color: var(--iolite); letter-spacing: .06em; }
  .author span a { color: var(--iolite); text-decoration: underline; }

  /* case detail */
  .case-sum { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
  .case-sum > div { padding: 26px; border-left: 1px solid var(--line); }
  .case-sum > div:first-child { border-left: 0; }
  .case-sum small { display: block; font-size: 12px; color: var(--muted); }
  .case-sum b { font-family: "Archivo"; font-stretch: 112%; font-weight: 800; font-size: 40px; color: var(--ink); line-height: 1.2; }
  .case-sum b small { display: inline; font-family: "Noto Sans JP"; font-size: 15px; color: var(--ink); margin-left: 3px; }
  .profile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .profile div { background: var(--soft); border-radius: 8px; padding: 14px 16px; font-size: 14px; color: var(--ink); font-weight: 700; }
  .profile div small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
  .voice { background: var(--navy); color: #fff; border-radius: 12px; padding: 34px 38px; position: relative; }
  .voice::before { content: "\201C"; position: absolute; left: 24px; top: -14px; font-size: 90px; line-height: 1; color: #4A90F0; font-family: Georgia, serif; }
  .voice p { margin: 0 0 12px; font-size: 17px; line-height: 1.9; }
  .voice small { color: #9FB6FF; }

  /* company */
  .map-embed { border: 0; width: 100%; height: 380px; border-radius: 10px; margin-top: 22px; }

  /* forms page layout */
  .form-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
  .form-aside h2 { font-size: 26px; font-weight: 900; color: var(--ink); line-height: 1.5; margin: 0 0 16px; }
  .form-aside p { color: var(--muted); margin: 0 0 22px; }
  .form-aside ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
  .form-aside li { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; }
  .form-aside li::before { content: ""; position: absolute; left: 0; top: .72em; width: 13px; height: 5px; background: var(--grad); transform: skewX(var(--slant)); }
  .form.light { box-shadow: 0 24px 60px rgba(11, 27, 51, .1); border: 1px solid var(--line); }
  .doc-thumb { position: relative; height: 300px; margin-top: 10px; }
  .doc-thumb .pg { position: absolute; left: 10%; width: 210px; aspect-ratio: 210 / 297; background: #fff; border-radius: 4px; box-shadow: 0 24px 50px rgba(11, 27, 51, .18); padding: 22px 18px; color: var(--ink); overflow: hidden; border: 1px solid var(--line); }
  .doc-thumb .pg.back { transform: rotate(-7deg) translate(-30px, 14px); opacity: .6; }
  .doc-thumb .pg.front { transform: rotate(3deg) translateX(50px); }
  .doc-thumb .pg svg { height: 16px; width: auto; }
  .doc-thumb .pg .pt { margin: 30px 0 6px; font-size: 15px; line-height: 1.5; font-weight: 900; }
  .doc-thumb .pg small { color: var(--muted); font-size: 9px; }
  .doc-thumb .pg .bars { position: absolute; right: -24px; bottom: 24px; width: 140px; height: 70px; }
  .doc-thumb .pg .bars span { position: absolute; right: 0; height: 24%; transform: skewX(var(--slant)); }

  /* privacy / long text */
  .legal { max-width: 820px; }
  .legal h2 { font-size: 20px; font-weight: 900; color: var(--ink); margin: 44px 0 12px; }
  .legal p, .legal li { color: var(--text); font-size: 15px; line-height: 2; }
  .legal ol, .legal ul { padding-left: 22px; }

  /* list pages */
  .post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .news-list { border-top: 2px solid var(--ink); }
  .news-list a { display: grid; grid-template-columns: 120px 100px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
  .news-list a:hover { color: var(--iolite); }
  .news-list span { color: var(--muted); font-size: 13px; }
  .news-list em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--iolite); }

  /* comparison table */
  .cmp td.yes { color: var(--iolite); font-weight: 900; text-align: center; }
  .cmp td.no { color: #B9C3D3; text-align: center; }
  .cmp thead th:not(:first-child) { text-align: center; }

  @media (max-width: 1100px) {
    .hd nav .dd .menu-list { position: static; display: block; padding: 6px 0 0 12px; }
    .hd nav .dd .menu-list div { box-shadow: none; border: 0; padding: 0; min-width: 0; }
    .hd nav .dd > a::after { display: none; }
    .two, .form-wrap, .cta-band .wrap { grid-template-columns: 1fr; gap: 40px; }
    .cards, .cards.c4, .post-list { grid-template-columns: 1fr 1fr; }
    .profile { grid-template-columns: 1fr 1fr; }
    .phero .bars { opacity: .25; width: 70%; }
  }
  @media (max-width: 680px) {
    .phero { padding: 130px 0 64px; }
    .sec { padding: 76px 0; }
    .cards, .cards.c2, .cards.c4, .post-list, .checklist { grid-template-columns: 1fr; }
    .case-sum { grid-template-columns: 1fr; }
    .case-sum > div { border-left: 0; border-top: 1px solid var(--line); }
    .case-sum > div:first-child { border-top: 0; }
    .tbl tbody th { width: 110px; }
    .tbl th, .tbl td { padding: 14px; }
    .news-list a { grid-template-columns: 1fr; gap: 2px; }
    .voice { padding: 28px 24px; }
    .article .eyecatch b { left: 22px; bottom: 20px; max-width: 85%; }
    .doc-thumb { height: 260px; }
  }

  a.case { display: block; transition: transform .2s, box-shadow .2s; }
  a.case:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 27, 51, .12); }
  .phero.compact { padding-bottom: 64px; }
  .sec { overflow-x: clip; }

  /* success models (case pages) */
  .case .model { font-size: 24px; font-weight: 900; line-height: 1.5; margin-top: 10px; }
  .other { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px; display: grid; gap: 12px; }
  .other b { color: var(--ink); }
  .other p { margin: 0; font-size: 14px; color: var(--muted); }
  .locked { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .locked .blur { filter: blur(6px); user-select: none; pointer-events: none; opacity: .75; }
  .locked .over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.92)); }
  .locked .over svg { width: 36px; height: 36px; color: var(--iolite); }
  .locked .over b { font-size: clamp(17px, 2vw, 22px); color: var(--ink); line-height: 1.6; }
  .locked .over span { font-size: 14px; color: var(--muted); max-width: 520px; }
  @media (max-width: 680px) { .locked .blur .tbl { min-width: 560px; } .locked { min-height: 380px; } }
  .road.r3 { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 680px) { .road.r3 { grid-template-columns: 1fr; } }

  /* line breaking: keep Japanese phrases together, avoid 1–2 character last lines */
  h1, h2, h3, h4, h5, .lead, th, .chip, .node, .btn, .ind, .model, .num, .kind, .lab, summary, .msg, .how div, .road span, .stage-box, .key b, .rankrow, dt { word-break: auto-phrase; text-wrap: balance; }
  p, li, dd, td, .a, .reply, .bubble, .q, .card p, .prob h3, .step p, .vstep p, .support span, .vidrow span, .reason p, .what { word-break: auto-phrase; text-wrap: pretty; }
  .flowv .chip { white-space: nowrap; font-size: 11.5px; padding: 6px 8px; }

  /* phones: short table headings, stacked price table */
  .cmp .s { display: none; }
  @media (max-width: 680px) {
    .cmp .l { display: none; }
    .cmp .s { display: inline; }
    .cmp { font-size: 12.5px; }
    .cmp th, .cmp td { padding: 12px 6px; }
    .cmp tbody th { width: auto; }
    .tbl.stack thead { display: none; }
    .tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack th, .tbl.stack td { display: block; width: auto; }
    .tbl.stack tr { border-bottom: 1px solid var(--line); }
    .tbl.stack tbody th { border-bottom: 0; padding-bottom: 6px; }
    .tbl.stack td { border-bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 6px 16px; }
    .tbl.stack td:last-child { padding-bottom: 16px; }
    .tbl.stack td::before { content: attr(data-label); color: var(--muted); font-size: 13px; flex-shrink: 0; }
    .tbl.stack .yen { font-size: 18px; }
  }
  @media (max-width: 680px) {
    .tbl.kv tr, .tbl.kv th, .tbl.kv td { display: block; width: auto; }
    .tbl.kv tbody th { border-bottom: 0; padding: 14px 16px 4px; }
    .tbl.kv td { padding: 4px 16px 16px; }
  }
  @media (max-width: 680px) {
    .tbl.stack td { display: block; text-align: right; }
    .tbl.stack td::before { float: left; margin-right: 12px; line-height: 2.2; }
  }

  /* 画面には出さず、読み上げ・検索エンジン向けにだけ見出しを置く */
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

  /* キャッチコピーはスマホでも2行のまま */
  @media (max-width: 440px) { .fv h1 { font-size: 7.4vw; } .fv h1 .nw { white-space: nowrap; } }

  /* フッターのSNSアイコン */
  footer .sns-row { margin-top: 16px; }
  footer .sns { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #2A3A55; border-radius: 8px; color: #C9D3E6; transition: color .2s, border-color .2s; }
  footer .sns:hover { color: #fff; border-color: #9FB6FF; }
  footer .sns svg { width: 20px; height: 20px; }
  footer .sns + .sns { margin-left: 10px; }


  /* ===================== 動き（案A・2026-10-25） ===================== */
  /* ⑤ 押せるカード：斜めの板が下から伸び、→が進む */
  a.card, a.pc { position: relative; overflow: hidden; }
  a.card::after, a.pc::after { content: ""; position: absolute; left: -30%; bottom: 0; height: 5px; width: 0; background: var(--iolite); transform: skewX(var(--slant)); transition: width .4s cubic-bezier(.2, .7, .2, 1); }
  a.card:hover::after, a.pc:hover::after { width: 160%; }
  a.card .go { transition: transform .25s; }
  a.card:hover .go { transform: translateX(6px); }
  /* ⑧ 大事なボタン：光が斜めに走る */
  .btn-main { position: relative; overflow: hidden; }
  .btn-main::after { content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%; background: rgba(255, 255, 255, .32); transform: skewX(var(--slant)); transition: left .55s ease; pointer-events: none; }
  .btn-main:hover::after { left: 130%; }
  /* ⑦ ページ移動：3色の板が画面を横切る */
  .pt-cover { position: fixed; z-index: 9999; top: 0; bottom: 0; left: -30%; width: 160%; pointer-events: none;
    background: linear-gradient(to bottom, #4F5BD5 0 33.4%, #4A90F0 33.4% 66.7%, #0EA5E9 66.7% 100%); transform: skewX(var(--slant)) translateX(-130%); }
  .pt-cover.go { animation: ptIn .38s cubic-bezier(.7, 0, .3, 1) forwards; }
  html.pt-in body::before { content: ""; position: fixed; z-index: 9999; top: 0; bottom: 0; left: -30%; width: 160%; pointer-events: none;
    background: linear-gradient(to bottom, #4F5BD5 0 33.4%, #4A90F0 33.4% 66.7%, #0EA5E9 66.7% 100%); animation: ptOut .55s .05s cubic-bezier(.7, 0, .3, 1) both; }
  @keyframes ptIn { to { transform: skewX(var(--slant)) translateX(0); } }
  @keyframes ptOut { from { transform: skewX(var(--slant)) translateX(0); } to { transform: skewX(var(--slant)) translateX(130%); } }
  @keyframes barIn { from { opacity: 0; transform: translateX(220px) skewX(var(--slant)); } to { transform: skewX(var(--slant)); } }
  @keyframes wipeIn { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }

  @media (prefers-reduced-motion: no-preference) {
    /* ① 最初の画面：3枚の板が上から順に右から積み重なり、コピーが左から現れる */
    .fv .bars span { animation: barIn 1.1s cubic-bezier(.2, .8, .2, 1) both; }
    .fv .bars .b1 { animation-delay: .15s; } .fv .bars .b2 { animation-delay: .3s; } .fv .bars .b3 { animation-delay: .45s; }
    .fv h1.up { animation: none; }
    .fv h1 .nw { display: inline-block; animation: wipeIn .9s .55s cubic-bezier(.6, 0, .2, 1) both; }
    .fv h1 .nw + br + .nw { animation-delay: .75s; }
    /* 下のページの見出しの板も同じ動きに */
    .phero .bars span { animation: barIn 1s cubic-bezier(.2, .8, .2, 1) both; }
    .phero .bars .b1 { animation-delay: .1s; } .phero .bars .b2 { animation-delay: .22s; } .phero .bars .b3 { animation-delay: .34s; }
    .phero h1 { animation: wipeIn .85s .3s cubic-bezier(.6, 0, .2, 1) both; }
    /* ② 見出し：下からせり上がり、ラベルの横に線が伸びる */
    .js .sh.rv h2 { clip-path: inset(0 0 100% 0); transform: translateY(36px); transition: clip-path .85s cubic-bezier(.2, .8, .2, 1) .1s, transform .85s cubic-bezier(.2, .8, .2, 1) .1s; }
    .js .sh.rv.in h2 { clip-path: inset(-10% 0 -10% 0); transform: none; }
    .js .sh.rv .lab::after { content: ""; display: inline-block; width: 0; height: 2px; background: currentColor; transition: width .6s .35s; }
    .js .sh.rv.in .lab::after { width: 28px; }
    /* ④ AIの回答：文字を打ち込んでから「おすすめ」が出る */
    .js .fv .ai .a .pick, .js .fv .ai .a .rest { opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
    .js .fv .ai .a.done .pick { opacity: 1; transform: none; }
    .js .fv .ai .a.done .rest { opacity: 1; transform: none; transition-delay: .25s; }
    .fv .ai .a b.typing::after { content: "▍"; color: var(--iolite); margin-left: 1px; animation: typing 1s steps(1) infinite; }
  }

  /* スマホだけ改行（<br class="sp">） */
  br.sp { display: none; }
  @media (max-width: 760px) { br.sp { display: inline; } }

  /* product screen mock-ups (MEO page). Drawn in HTML, not screenshots; no real figures. */
  .mock { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(43,58,140,.12); overflow: hidden; font-size: 12px; color: var(--ink); text-align: left; }
  .mock-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #F7F9FC; }
  .mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DCE2EC; }
  .mock-bar b { margin-left: 8px; font-size: 11px; color: var(--muted); font-weight: 700; }
  .mock-body { padding: 16px; }
  .mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
  .mock-kpi { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
  .mock-kpi small { display: block; color: var(--muted); font-size: 10px; }
  .mock-kpi b { font-size: 13px; }
  .mock svg { width: 100%; height: auto; display: block; }
  .mock-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--tint); color: var(--iolite); white-space: nowrap; }
  .mock-tag.red { background: #FDECEC; color: #D64545; } .mock-tag.green { background: #E7F7EE; color: #1E9E5A; } .mock-tag.gray { background: #EEF1F6; color: var(--muted); }
  .mock-btns { display: flex; gap: 6px; justify-content: flex-end; margin-top: 10px; }
  .mock-btn { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
  .mock-btn.ok { background: var(--iolite); color: #fff; border-color: var(--iolite); }
  .mock-card { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
  .mock-card p { margin: 6px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--text); }
  .mock-ai { background: #F3F6FF; border-radius: 8px; padding: 10px 12px; margin-top: 8px; font-size: 11.5px; line-height: 1.6; color: var(--text); }
  .mock-ai em { font-style: normal; font-weight: 700; color: var(--iolite); display: block; font-size: 10px; margin-bottom: 2px; }
  .mock-stars { color: #F5B301; letter-spacing: 1px; }
  .mock-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11.5px; }
  .mock-row:last-child { border-bottom: 0; }
  .mock-row .box { width: 14px; height: 14px; border: 2px solid #C9D3E3; border-radius: 4px; flex-shrink: 0; }
  .mock-row .box.on { background: var(--iolite); border-color: var(--iolite); }
  .mock-row .grow { flex: 1; }
  .mock-prog { height: 6px; border-radius: 9px; background: #EEF1F6; overflow: hidden; margin: 4px 0 10px; }
  .mock-prog span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg,#4F5BD5,#0EA5E9); }
  .mock-cal { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin-top: 10px; }
  .mock-cal i { aspect-ratio: 1; border-radius: 4px; background: #E3EBFA; }
  .mock-cal i.a { background: var(--iolite); } .mock-cal i.b { background: #4A90F0; } .mock-cal i.c { background: #9EC5FA; }
  .mock-legend { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 10px; color: var(--muted); }
  .mock-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; background: var(--c); }
  .shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .shot { margin: 0; }
  .shot figcaption { margin-top: 16px; }
  .shot figcaption b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
  .shot figcaption span { font-size: 13px; color: var(--muted); line-height: 1.7; }
  .shots-note { font-size: 12px; color: var(--muted); margin-top: 22px; }
  @media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* MEO page: conversion blocks (FV chips, mid CTA, flow, related columns, mobile sticky CTA) */
.fv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.fv-chips .chip { background: #fff; }
.mcta { margin-top: 44px; display: grid; grid-template-columns: 1.4fr auto; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--iolite); border-radius: 6px; padding: 32px 36px; box-shadow: 0 10px 30px rgba(11, 27, 51, .06); }
.mcta h3 { margin: 8px 0 14px; font-size: 22px; font-weight: 900; color: var(--ink); }
.mcta ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mcta li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--text); }
.mcta li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; background: linear-gradient(90deg, #4F5BD5, #4A90F0, #0EA5E9); transform: skewX(var(--slant)); }
.mcta-acts { display: grid; gap: 10px; justify-items: center; text-align: center; }
.mcta-acts small { font-size: 12px; color: var(--muted); max-width: 240px; }
.mcta-line { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; justify-content: space-between; background: var(--tint); border-radius: 6px; padding: 24px 30px; }
.mcta-line p { margin: 0; font-size: 14.5px; color: var(--text); }
.mcta-line p b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.mcta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.flow4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.fstep { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 22px; }
.fstep::before { content: ""; position: absolute; left: 22px; top: 0; width: 44px; height: 4px; background: var(--iolite); transform: skewX(var(--slant)); }
.fstep:nth-child(2)::before { background: #4A90F0; } .fstep:nth-child(3)::before { background: #0EA5E9; } .fstep:nth-child(4)::before { background: var(--navy); }
.fstep .n { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--iolite); }
.fstep h3 { margin: 10px 0 8px; font-size: 16.5px; font-weight: 800; color: var(--ink); }
.fstep p { margin: 0; font-size: 13.5px; color: var(--muted); }
.rel-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.rel-links a { display: flex; align-items: center; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 700; color: var(--ink); transition: color .2s; }
.rel-links a::after { content: "→"; margin-left: auto; color: var(--iolite); }
.rel-links a:hover { color: var(--iolite); }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .mcta { grid-template-columns: 1fr; padding: 26px 22px; gap: 22px; }
  .mcta-acts .btn, .mcta-btns .btn { width: 100%; }
  .mcta-btns { width: 100%; }
  .mcta-line { padding: 22px 20px; }
  .flow4, .rel-links { grid-template-columns: 1fr; }
  .sticky-cta { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 27, 51, .08); transform: translateY(110%); transition: transform .3s; }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { padding: 13px 10px; font-size: 14px; }
  body:has(.sticky-cta) { padding-bottom: 72px; }
}
@media (min-width: 761px) and (max-width: 1000px) { .flow4 { grid-template-columns: 1fr 1fr; } }

/* Free diagnosis block (2-field form, {{diag}}) */
.diag-sec { padding-top: 70px; padding-bottom: 70px; }
.diag { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 14px; padding: 48px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.diag::before { content: ""; position: absolute; right: -60px; top: -40px; width: 46%; height: 70px; background: #4F5BD5; opacity: .35; transform: skewX(var(--slant)); }
.diag::after { content: ""; position: absolute; right: -20px; top: 44px; width: 30%; height: 70px; background: #0EA5E9; opacity: .22; transform: skewX(var(--slant)); }
.diag > * { position: relative; z-index: 1; }
.diag .lab { color: #9EC5FA; }
.diag h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; line-height: 1.45; margin: 10px 0 14px; }
.diag-copy > p { color: #AAB7CE; font-size: 14.5px; margin: 0 0 18px; }
.diag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.diag-list li { position: relative; padding-left: 22px; font-size: 14px; color: #DDE5F2; }
.diag-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 6px; background: linear-gradient(90deg, #4F5BD5, #4A90F0, #0EA5E9); transform: skewX(var(--slant)); }
.diag-form { box-shadow: 0 20px 50px rgba(0, 0, 0, .25); padding: 28px 28px 24px; }
.diag-form .f { margin-bottom: 14px; }
.diag-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.diag-tabs label { cursor: pointer; }
.diag-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.diag-tabs span { display: block; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 6px; font-weight: 800; font-size: 14px; color: var(--ink); transition: border-color .2s, background .2s; }
.diag-tabs span small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.diag-tabs input:checked + span { border-color: var(--iolite); background: #F2F4FD; color: var(--iolite); }
.diag-tabs input:focus-visible + span { outline: 2px solid var(--iolite); outline-offset: 2px; }
.diag-note { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); text-align: center; }
.diag-note a { color: var(--iolite); text-decoration: underline; }
@media (max-width: 860px) {
  .diag { grid-template-columns: 1fr; padding: 30px 20px; gap: 26px; }
  .diag-form { padding: 22px 18px 20px; }
}

  /* WordPress admin bar offset */
  .admin-bar .hd { top: 32px; }
  @media (max-width: 782px) { .admin-bar .hd { top: 46px; } }
  /* post thumbnails (featured images) */
  .post .ph img, .article .eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .post .ph:has(img) { aspect-ratio: 1200 / 630; background: #fff; }
  .article .eyecatch:has(img) { aspect-ratio: 1200 / 630; background: #fff; box-shadow: 0 2px 14px rgba(11,27,51,.08); }
  /* call-to-action box after a column */
  .col-cta { margin: 44px 0 8px; border-radius: 12px; padding: 2px; background: linear-gradient(120deg,#4F5BD5,#4A90F0,#0EA5E9); }
  .col-cta-in { background: #fff; border-radius: 10px; padding: 28px 30px; }
  .col-cta-lab { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--iolite); padding: 4px 10px; border-radius: 3px; letter-spacing: .06em; }
  .article .col-cta-head { font-size: clamp(18px,2.1vw,22px); font-weight: 900; line-height: 1.5; margin: 12px 0 6px; color: var(--navy, #0B1B33); }
  .article .col-cta-text { font-size: 14px; color: var(--muted, #56627a); margin: 0 0 18px; }
  .col-cta-acts { display: flex; flex-wrap: wrap; gap: 12px; }
  .col-cta-acts .btn-sub { color: var(--iolite); }
  @media (max-width: 760px) { .col-cta-in { padding: 22px 18px; } .col-cta-acts .btn { width: 100%; } }
  /* short guide inside a column (before the 2nd heading) */
  .in-cta { display: flex; gap: 18px; align-items: center; margin: 34px 0; padding: 20px 22px; border: 1px solid #CFD8F3; background: #F5F7FE; border-radius: 10px; }
  .article .in-cta b { display: block; font-size: 16px; color: var(--navy, #0B1B33); margin-bottom: 4px; line-height: 1.5; }
  .article .in-cta p { margin: 0; font-size: 13.5px; color: var(--muted, #56627a); }
  .in-cta .btn { margin-left: auto; flex: none; padding: 13px 20px; font-size: 14px; }
  @media (max-width: 760px) { .in-cta { flex-direction: column; align-items: stretch; } .in-cta .btn { margin-left: 0; } }
