/* RepeatOne サービスサイト（第 4 版・2026-11-23＝第 3 版に 11/21 の直し 6 点）
   型：日本の SaaS サービスサイト（バクラク・PeopleX・メディカルフォース）に合わせる
   色：赤（ロゴの赤丸）を面で使う。差し色は増やさない（黄色は蛍光ペンの印だけ）
   地：白・薄い桃・明るい灰を交互に。札は「白＋影」、強調だけ赤い枠
   文字：900 は冒頭の見出しと大きな数字だけ。見出しと札の題は 700
   黄色の印（.todo）＝公開前に決める所 */

:root {
  --red: #e23630;
  --red-d: #c9261f;
  --red-dd: #a51b15;
  --grad: linear-gradient(118deg, #d63630 0%, #cb2822 44%, #aa1b16 100%);
  --grad-soft: linear-gradient(118deg, #d43832 0%, #c22a24 100%);
  --pink: #fff3f1;      /* 札の中の淡い面 */
  --pink-2: #fde4e1;
  --pink-bg: #fdecea;   /* 区画の地（桃） */
  --gray-bg: #f4f4f5;   /* 区画の地（灰） */
  --ink: #1e1e1e;
  --ink-2: #4a4745;
  --ink-3: #6b6562;
  --line: #e8e2dd;
  --yellow: #ffe45e;
  --gold: #c2932a;
  --line-blue: #b3c6e0;
  --r-l: 24px;  /* 大きな面 */
  --r: 16px;    /* 札 */
  --r-s: 10px;  /* 札の中の部品 */
  --sh: 0 12px 32px rgba(60, 20, 16, .10);
  --sh-s: 0 3px 12px rgba(60, 20, 16, .08);
  --w: 1120px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --num: "Poppins", "Noto Sans JP", "Hiragino Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.8; letter-spacing: .04em; line-break: strict; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; font-feature-settings: "palt"; letter-spacing: .03em; }
p, li, small, dd, dt { word-break: auto-phrase; text-wrap: pretty; }
/* 改行（2026-11-26）：句の切れ目で折り返す働きと、最後の行を短くしない働きを、ページ全体に（div・span・summary などの文にも。FAQ の答え・吹き出しなど） */
body { word-break: auto-phrase; text-wrap: pretty; }
/* 句で折り返す働き（auto-phrase）がないブラウザ（iPhone の Safari・Firefox など）：main.js（SP:phrase）が、文の句の切れ目に幅のない空白を入れ、html に .no-phrase を付ける。
   句の切れ目・句読点・空白でだけ折り返す（keep-all）。1 つの句が幅に入らないときだけ、句の途中で折る（break-word。幅の計算は句の単位＝Chrome と同じ） */
html.no-phrase body { word-break: keep-all; overflow-wrap: break-word; }
ul, ol { list-style: none; }
em { font-style: normal; }
.nw { white-space: nowrap; }
/* 途中で割れると読みにくい短い語（お問い合わせ・一人ひとり・その他 など）。.nw と違い、狭い画面でも外さない（どれも 7 字以内） */
.wd { white-space: nowrap; }
/* 2 行になるとき、行の長さを釣り合わせる（ヒーローのカルテ「サーマニードル／RFを推奨」） */
.bal { text-wrap: balance; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
main:focus { outline: none; }
.scenes > *, .feats > *, .reads > *, .safes > *, .flow > *, .checks > *, .steps > *, .cases > *, .impact-g > *, .seminar > * { min-width: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp { display: none; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.todo { background: #fff3b0; color: #5b4a00; padding: 1px 6px; border-radius: 4px; font-size: .86em; font-weight: 500; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 300; background: #fff; padding: 8px 14px; border-radius: 6px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero a:focus-visible, .closing a:focus-visible, .page-head a:focus-visible, .dock a:focus-visible, .dock button:focus-visible, .cta-band a:focus-visible { outline-color: #fff; }
.closing .ccard a:focus-visible { outline-color: var(--ink); }
.note { font-size: 12px; line-height: 1.8; color: var(--ink-3); }
.mk { background: linear-gradient(transparent 55%, var(--yellow) 55%); font-weight: 700; }

/* 動き（main.js が動いたときだけ、下からふわりと出す） */
html.js .rv { opacity: 0; transform: translateY(18px); }
html.js .rv.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* ── ボタン ── */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--red-d); font-size: 15px; font-weight: 700; font-feature-settings: "palt"; letter-spacing: .02em; text-decoration: none; line-height: 1; white-space: nowrap; transition: background .2s, color .2s; }
.pill-fill { background: var(--red-d); color: #fff; }
.pill-fill:hover { background: var(--red-dd); border-color: var(--red-dd); }
.pill-line { background: #fff; color: var(--red-d); }
.pill-line:hover { background: var(--pink); }

.cta-pair { display: flex; flex-wrap: wrap; gap: 16px; }
.cta { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 276px; min-height: 68px; padding: 8px 30px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; text-align: center; transition: transform .2s, box-shadow .2s, background .2s; }
.cta:hover { transform: translateY(-2px); }
.cta-mc { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; }
.cta-t { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; line-height: 1.25; font-feature-settings: "palt"; letter-spacing: .03em; }
.cta-t .ico { width: 22px; height: 22px; stroke-width: 2; }
.cta-white { background: #fff; color: var(--red-d); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.cta-white:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.cta-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .9); }
.cta-ghost:hover { background: rgba(255, 255, 255, .2); }
.cta-red { background: var(--red-d); color: #fff; box-shadow: 0 6px 18px rgba(170, 30, 24, .28); }
.cta-red:hover { background: var(--red-dd); }
.cta-line { background: #fff; color: var(--red-d); border-color: var(--red-d); }
.cta-line:hover { background: var(--pink); }
/* 資料請求のボタンの左に、資料の小さな絵をのぞかせる */
.cta.has-doc { padding-left: 74px; }
.cta.has-doc::before { content: ""; position: absolute; left: 6px; top: 50%; width: 44px; height: 58px; transform: translateY(-54%) rotate(-9deg); border-radius: 4px; border: 1px solid #e9e4df; box-shadow: 0 5px 12px rgba(0, 0, 0, .22);
  background:
    radial-gradient(circle at 11px 12px, var(--red) 3.6px, transparent 4.2px),
    linear-gradient(#cfc9c4, #cfc9c4) 8px 24px / 27px 3px no-repeat,
    linear-gradient(#e4dfda, #e4dfda) 8px 32px / 21px 3px no-repeat,
    linear-gradient(#e4dfda, #e4dfda) 8px 40px / 25px 3px no-repeat,
    linear-gradient(#e4dfda, #e4dfda) 8px 48px / 17px 3px no-repeat,
    #fff; }
.more { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 28px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; text-decoration: none; box-shadow: var(--sh-s); transition: border-color .2s, color .2s; }
.more::after { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--red-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8M11 7l3 3-3 3' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.more:hover { border-color: var(--red-d); color: var(--red-d); }

/* ── ヘッダー ── */
.hd { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.hd.is-scrolled { box-shadow: 0 4px 18px rgba(60, 20, 16, .10); }
.hd-in { display: flex; align-items: center; gap: 26px; height: 80px; max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.hd-logo { flex: none; display: inline-flex; align-items: center; }
.hd-logo img { height: 50px; width: auto; } /* ロゴの画像は余白を含む。字（大文字）の高さは、この約 6 割 */
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 24px; }
.gnav li a { display: block; padding: 10px 0; font-size: 14.5px; font-weight: 700; letter-spacing: .02em; text-decoration: none; color: var(--ink); position: relative; }
.gnav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.gnav li a:hover { color: var(--red-d); }
.gnav li a:hover::after { transform: scaleX(1); }
.gnav-cta { display: none; }
.hd-cta { display: flex; gap: 10px; flex: none; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s, top .2s; }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ── 冒頭 ── */
/* 左＝見出しとボタン、右＝カルテの記載が LINE の一通になる絵。絵（スマホ）は冒頭の下端で切る。ほかの物とは重ねない */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
.hero::before { content: ""; position: absolute; left: -12%; top: -40%; width: 60%; height: 180%; background: linear-gradient(120deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 70%); transform: skewX(-18deg); }
.hero::after { content: ""; position: absolute; right: -14%; top: 0; bottom: 0; width: 56%; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); transform: skewX(-13deg); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 36px; align-items: center; padding-top: 44px; }
.hero-copy { padding-bottom: 48px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .02em; border-radius: 999px; padding: 6px 18px 6px 8px; }
.hero-tag b { background: var(--red-d); color: #fff; border-radius: 999px; padding: 2px 12px; font-size: 12.5px; }
.hero h1 { margin-top: 20px; font-size: clamp(27px, 3.2vw, 46px); line-height: 1.42; font-weight: 900; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(120, 10, 6, .25); }
.hl-w { display: inline-block; background: #fff; color: var(--red-d); padding: 0 .16em; margin: 0 .08em 0 0; border-radius: 6px; line-height: 1.25; text-shadow: none; }
.hero-lead { margin-top: 14px; font-size: 16px; line-height: 1.8; font-weight: 500; }
.hero .cta-pair { margin-top: 28px; }
.hero .cta { min-width: 246px; }

/* 冒頭の右：カルテ（2 行）→ LINE の一通 */
.hero-visual { align-self: end; position: relative; height: 326px; color: var(--ink); }
.hv-karte { position: absolute; left: 0; top: 46%; transform: translateY(-50%); width: 198px; z-index: 2; }
.hero-visual .hv-karte { border: 0; box-shadow: 0 16px 34px rgba(90, 10, 6, .32); }
.hv-karte .karte-r { padding: 9px 14px 11px; }
.hv-karte dd { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.hv-arrow { position: absolute; left: 188px; top: 46%; z-index: 3; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; box-shadow: 0 6px 16px rgba(90, 10, 6, .34); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M11 18h13M19 12.500l5.500 5.500-5.500 5.500' fill='none' stroke='%23c9261f' stroke-width='2.600' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/36px no-repeat; }
.hv-phone { position: absolute; right: 0; top: 0; width: 226px; z-index: 1; }
.hv-phone .phone-scr { min-height: 420px; }
.hv-phone .bubble { font-size: 11.5px; }
.phone-hdr span:nth-child(2) { white-space: nowrap; }

/* ── 効果（提案書 3 ページ目）。冒頭のすぐ下。3 つの数字だけを主役に置く ── */
/* 置くのは「題・短い項目名・数字・倍」だけ。何と比べた値か・従来と今の値・注意書きは、下の小さな 1 段にまとめる */
.impact { background: #fff; padding: 34px 0 0; }
/* 題「圧倒的な効果」は、提案書の題と同じ形（赤い短い棒＋太字）で、数字の上の中央に置く。地は白のまま（2026-11-24 水戸「場所は最初の1-2案。ただここの背景は黒くしなくていい」） */
.impact-in { display: block; }
/* 字間の分（末尾の .12em）だけ文字が左へ寄るので、左の余白で戻す（棒が block なので text-indent は効かない）。棒は、その半分だけ左へ戻して中央に置く */
.impact-t { margin: 0 0 14px; padding-left: .12em; text-align: center; font-size: 40px; font-weight: 900; letter-spacing: .12em; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.impact-t::before { content: ""; display: block; width: 44px; height: 4px; margin: 0 auto 14px; border-radius: 2px; background: var(--red-d); transform: translateX(-.06em); }
.impact-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.imp { display: flex; flex-direction: column; align-items: center; text-align: center; }
.imp-k { font-size: 22px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; color: var(--ink); text-indent: .14em; }
.imp-x { display: inline-block; font-family: var(--num); font-size: 204px; font-weight: 700; line-height: .98; letter-spacing: -.04em; white-space: nowrap; color: var(--red-d); background: linear-gradient(172deg, #e63a30 8%, #b21a14 92%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.imp-x b { font-weight: 700; }
.imp-x i { font-family: var(--font); font-style: normal; font-size: .4em; font-weight: 900; letter-spacing: 0; margin-left: .06em; }
.imp-d { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink-3); font-feature-settings: "palt"; letter-spacing: .03em; }
.imp-d b { font-weight: 700; color: var(--ink); }
/* 3 つを、左から少しずつ遅らせて出す（main.js が動いたときだけ） */
html.js .imp.rv.is-in:nth-child(2) { transition-delay: .09s; }
html.js .imp.rv.is-in:nth-child(3) { transition-delay: .18s; }
.impact-note { width: 100%; max-width: 940px; margin: 20px auto 0; text-align: center; }
/* 画面の高さが低いノート PC でも、数字が最初の画面に入るように、冒頭と数字を少しだけ詰める */
@media (min-width: 1001px) and (max-height: 850px) {
  .hero-in { padding-top: 36px; }
  .hero-copy { padding-bottom: 40px; }
  .hero-visual { height: 304px; }
  .impact { padding-top: 24px; }
  .impact-t { font-size: 32px; margin-bottom: 10px; }
  .impact-t::before { margin-bottom: 10px; }
  .imp-k { font-size: 19px; }
  .imp-x { font-size: 168px; }
}
/* さらに低い画面（高さ 766px 以下）では、もう一段詰める（題を数字の上に置いた分、数字と「従来 → 今」の行が画面の下端で切れないように） */
@media (min-width: 1001px) and (max-height: 766px) {
  .hero-in { padding-top: 28px; }
  .hero-copy { padding-bottom: 32px; }
  .impact { padding-top: 18px; }
  .impact-t { font-size: 28px; margin-bottom: 8px; }
  .impact-t::before { margin-bottom: 8px; }
  .imp-x { font-size: 148px; }
}

/* カルテの札・スマホ（共通の部品） */
.karte { background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; font-size: 13px; line-height: 1.65; letter-spacing: .01em; box-shadow: var(--sh-s); }
.karte-h { background: #f3efeb; color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 7px 14px; border-bottom: 1px solid var(--line); }
.karte-r { padding: 8px 14px; border-bottom: 1px dashed var(--line); }
.karte-r:last-child { border-bottom: 0; }
.karte-r dt { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.phone { background: #1c1c1c; border-radius: 32px; padding: 8px; box-shadow: 0 20px 40px rgba(30, 10, 8, .28); letter-spacing: .01em; }
.phone-scr { background: var(--line-blue); border-radius: 25px; overflow: hidden; }
.phone-hdr { background: #fff; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 700; font-size: 13.5px; }
.phone-hdr span:first-child, .phone-hdr span:last-child { font-weight: 400; font-size: 17px; color: var(--ink-2); }
.phone-body { display: flex; gap: 6px; align-items: flex-start; padding: 9px 9px 14px; }
.phone-av { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #8a8a8a; font-size: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.phone-msgs { flex: 1; min-width: 0; }
.phone-msgs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.bubble { background: #fff; border-radius: 12px; padding: 9px 11px; font-size: 12px; line-height: 1.6; margin-top: 6px; overflow-wrap: anywhere; }

/* ── 先行導入クリニック（見出しを中央に、院を同じ大きさの札で並べる） ── */
.clients { background: #fff; padding: 40px 0 68px; }
.clients-t { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 15px; font-weight: 700; color: var(--ink-2); letter-spacing: .12em; }
.clients-t::before, .clients-t::after { content: ""; width: 56px; height: 1px; background: #cfc8c2; }
.clients-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 20px; }
.client { width: 268px; height: 112px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-s); }
.client img { height: 84px; width: auto; }
.client-name { font-size: 19px; font-weight: 700; letter-spacing: .1em; color: #4a4745; }
/* つばきの札（2026-11-26）：院の印（つばきの予約ページのアイコン）と院名を並べる。公式の文字入りのロゴが手に入ったら、東京美容と同じく画像 1 枚に替える */
.client-lockup { display: flex; align-items: center; gap: 12px; }
.client .client-mark { flex: none; width: 50px; height: 50px; }
.client-lockup .client-name { line-height: 1.45; }
.client.soon { gap: 8px; background: #fbfaf9; border: 1.5px dashed #d6cec8; box-shadow: none; font-size: 14.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .1em; }
.client.soon::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 3.500v11M3.500 9h11' fill='none' stroke='%236b6562' stroke-width='1.600' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* ── セクション共通 ── */
.sec { padding: 96px 0; }
.sec.pink { background: var(--pink-bg); }
.sec.gray { background: var(--gray-bg); }
.sh { text-align: center; max-width: 840px; margin: 0 auto 52px; }
.sh .en { font-family: var(--num); font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--red-d); }
.sh h2 { margin-top: 6px; font-size: clamp(25px, 3vw, 36px); line-height: 1.5; font-weight: 700; letter-spacing: .05em; }
.sh h2 em, .red { color: var(--red-d); }
.sh .lead { margin-top: 16px; font-size: 16px; color: var(--ink-2); text-wrap: balance; }
/* 伝えたいことの中心の一文（配信例の区画の題）。効果の区画の題「圧倒的な効果」と同じ印＝赤い短い棒＋一番太い字 */
.sh.key { margin-bottom: 34px; }
.sh.key h2 { margin-top: 0; font-size: clamp(25px, 3.3vw, 40px); font-weight: 900; line-height: 1.5; letter-spacing: .06em; }
.sh.key h2::before { content: ""; display: block; width: 44px; height: 4px; margin: 0 auto 18px; border-radius: 2px; background: var(--red-d); }
.cases-t { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 24px; font-size: 16px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }
.cases-t::before, .cases-t::after { content: ""; width: 56px; height: 1px; background: #d9c9c5; }

/* ── お悩み ── */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 20px 24px; box-shadow: var(--sh-s); }
.check::before { content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--red-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/26px no-repeat; }
.check p { font-size: 16px; font-weight: 700; line-height: 1.7; letter-spacing: .02em; }
.check p em { color: var(--red-d); }
.check small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--ink-3); line-height: 1.7; }
.cause { position: relative; margin: 46px auto 0; max-width: 880px; text-align: center; background: var(--grad); color: #fff; border-radius: var(--r-l); padding: 34px 28px; box-shadow: 0 18px 36px rgba(170, 30, 24, .26); }
.cause::before { content: ""; position: absolute; left: 50%; top: -28px; margin-left: -20px; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 28px solid #d5312b; }
.cause p:first-child { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; line-height: 1.6; text-wrap: balance; }
.cause p:first-child em { background: #fff; color: var(--red-d); padding: 0 .2em; border-radius: 6px; margin: 0 .1em; }
.cause p + p { margin-top: 10px; font-size: 15px; font-weight: 500; text-wrap: balance; }

/* ── RepeatOne とは ── */
.dia { position: relative; max-width: 1000px; margin: 0 auto; background: var(--pink); border-radius: var(--r-l); padding: 40px 48px 30px; display: grid; grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr); column-gap: 64px; align-items: center; }
.dia-col { position: relative; display: grid; gap: 12px; }
.dia-col::after { content: ""; position: absolute; right: -30px; top: 32px; bottom: 32px; width: 16px; border: 2px solid var(--red-d); border-left: 0; border-radius: 0 12px 12px 0; }
.dia-n { background: #fff; border-radius: 14px; box-shadow: var(--sh-s); padding: 12px 16px; display: flex; align-items: center; gap: 12px; line-height: 1.45; }
.dia-n .ib { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: var(--red-d); display: flex; align-items: center; justify-content: center; }
.dia-n .ib .ico { width: 22px; height: 22px; }
.dia-n b { display: block; font-size: 15.5px; font-weight: 700; }
.dia-n small { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.dia-core { position: relative; width: 168px; height: 168px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 12px rgba(226, 54, 48, .12), 0 16px 30px rgba(170, 30, 24, .3); }
.dia-core b { font-family: var(--num); font-size: 30px; font-weight: 700; line-height: 1.1; }
.dia-core small { font-size: 13px; font-weight: 700; line-height: 1.5; margin-top: 2px; }
.dia-core::before, .dia-core::after { content: ""; position: absolute; top: 50%; margin-top: -9px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 12px solid var(--red-d); }
.dia-core::before { left: -42px; }
.dia-core::after { right: -42px; }
.dia-out { background: #fff; border: 2px solid var(--red-d); border-radius: var(--r); padding: 22px 18px; text-align: center; box-shadow: var(--sh-s); }
.dia-out .ib { width: 64px; height: 64px; margin: 0 auto 8px; color: var(--ink); --ac: #06a94a; }
.dia-out .ib svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dia-out b { display: block; font-size: 17px; font-weight: 700; line-height: 1.5; }
.dia-out small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
.dia-cap { grid-column: 1 / -1; text-align: center; font-size: 13px; font-weight: 700; color: var(--red-d); margin-top: 22px; }
.about-txt { max-width: 1000px; margin: 44px auto 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.about-txt h3 { font-size: clamp(21px, 2.3vw, 27px); font-weight: 700; line-height: 1.6; }
.about-pts { display: grid; gap: 16px; }
.about-pts li { position: relative; padding-left: 24px; }
.about-pts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--red-d); }
.about-pts b { display: block; font-size: 17px; font-weight: 700; }
.about-pts span { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.feat { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red-d); border-radius: var(--r); box-shadow: var(--sh-s); padding: 24px 26px 28px; }
.feat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.feat .no { font-family: var(--num); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: 0; color: var(--red-d); }
.feat .ib { width: 56px; height: 56px; color: var(--ink); --ac: var(--red); --tint: var(--pink-2); }
.feat .ib svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 19px; font-weight: 700; line-height: 1.6; }
.feat h3 em { color: var(--red-d); }
.feat p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }

/* ── しくみ（Step の札） ── */
.steps { display: grid; gap: 26px; }
.step { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh); background: #fff; }
.step-copy { background: var(--grad-soft); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.step-chip { align-self: flex-start; background: #fff; color: var(--red-d); font-family: var(--num); font-size: 13px; font-weight: 700; letter-spacing: .06em; border-radius: 4px; padding: 1px 12px; }
.step-copy h3 { margin-top: 16px; font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.step-copy p { margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.9; }
.step-ui { position: relative; background: #faf7f5; padding: 36px 44px; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.step-ui.has-top { padding-top: 84px; }
.step-ui.is-phone { align-items: flex-end; padding-bottom: 0; overflow: hidden; }
.step-ui.is-phone .phone { width: 264px; border-radius: 32px 32px 0 0; padding-bottom: 0; }
.step-ui.is-phone .phone-scr { border-radius: 25px 25px 0 0; min-height: 300px; }
.fl { position: absolute; z-index: 2; background: #fff; border-radius: 12px; box-shadow: 0 14px 30px rgba(30, 20, 18, .18); font-size: 12.5px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; padding: 10px 14px; display: flex; align-items: center; gap: 8px; }
.fl .dot { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--red-d); color: #fff; display: flex; align-items: center; justify-content: center; }
.fl .dot .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.fl .dot.g { background: #1e9e5a; }
.fl small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.fl-tr { right: 22px; top: 18px; }
.fl-br { right: 22px; bottom: 22px; }
.steps-note { text-align: center; margin-top: 16px; }

/* 画面の図（イメージ） */
.ui { width: 100%; max-width: 480px; background: #fff; border: 1px solid #ece8e4; border-radius: 14px; box-shadow: 0 12px 28px rgba(30, 20, 18, .12); overflow: hidden; font-size: 14px; letter-spacing: .01em; }
.ui-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #f0ece8; font-weight: 700; }
.ui-bar small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.ui-bar::before { content: ""; width: 4px; height: 16px; background: var(--red-d); border-radius: 2px; margin-right: -2px; }
.ui-bar > span:first-of-type { margin-right: auto; }
.ui-list li { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #f4f1ee; }
.ui-list li:last-child { border-bottom: 0; }
.ui-list .ava { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f1eeeb; color: #6f6a66; font-family: var(--num); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.who { flex: 1; min-width: 0; line-height: 1.5; }
.who b { display: block; font-size: 14px; }
.who small { display: block; font-size: 12px; color: var(--ink-3); }
.tag { flex: none; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.tag.go { background: var(--pink); color: var(--red-d); border: 1px solid #f3c2bd; }
.tag.no { background: #f1eeeb; color: #6f6a66; border: 1px solid #e2ddd8; }
.tag.ok { background: #e7f6ee; color: #177a45; border: 1px solid #bfe5cf; }
.ui-cand li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f4f1ee; }
.ui-cand li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #1e9e5a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.ui-cand li.ng::before { background: #b9b3ae url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.ui-cand li.ng .who b { color: #8f8985; text-decoration: line-through; text-decoration-color: #cbc5c0; }
.ui-foot { background: #fbf9f8; border-top: 1px solid #f0ece8; padding: 10px 16px; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.ui-foot span { color: var(--red-d); }
.ui-tl { padding: 16px 18px 14px 20px; }
.ui-tl li { position: relative; padding: 0 0 14px 24px; line-height: 1.5; }
.ui-tl li:last-child { padding-bottom: 2px; }
.ui-tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #b9b3ae; }
.ui-tl li::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: 0; width: 2px; background: #e8e4e0; }
.ui-tl li:last-child::after { display: none; }
.ui-tl li.done::before { border-color: #1e9e5a; background: #1e9e5a; }
.ui-tl .t { font-family: var(--num); font-size: 12px; font-weight: 600; color: var(--ink-3); margin-right: 8px; }
.ui-tl b { font-size: 14px; }
.ui-tl small { display: block; font-size: 12px; color: var(--ink-3); }

/* 途中の赤い帯（資料請求とお問い合わせ） */
.cta-band { position: relative; overflow: hidden; margin-top: 48px; background: var(--grad); color: #fff; border-radius: var(--r-l); padding: 34px 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: 0 18px 36px rgba(170, 30, 24, .22); }
.cta-band::before { content: ""; position: absolute; left: -8%; top: -80%; width: 46%; height: 260%; background: linear-gradient(120deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 70%); transform: skewX(-18deg); }
.cta-band > * { position: relative; }
.cta-band p { font-size: clamp(17px, 1.9vw, 21px); font-weight: 700; line-height: 1.6; text-wrap: balance; }
.cta-band .cta-pair { flex: none; flex-wrap: nowrap; }
.cta-band .cta { min-width: 232px; min-height: 64px; }

/* ── AI が見ているもの ── */
.reads-g + .reads-g { margin-top: 30px; }
.reads-gt { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.reads-gt span { flex: none; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 18px; letter-spacing: .04em; }
.reads-gt.k span { background: var(--red-d); }
.reads-gt::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.reads { display: grid; gap: 14px; }
.reads.r5 { grid-template-columns: repeat(5, 1fr); }
.reads.r4 { grid-template-columns: repeat(4, 1fr); }
.read { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-s); padding: 22px 14px 20px; text-align: center; }
.read .ib { width: 56px; height: 56px; margin: 0 auto 10px; color: var(--ink); --ac: var(--red); --tint: var(--pink-2); }
.read .ib svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.read h3 { font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.read p { margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.65; text-wrap: balance; }

/* これまでの配信と RepeatOne の比べ。同じ 3 人（行）に、左は同じ 1 通が 3 つ、右は違う 1 通が 3 つ並ぶ */
.vs { margin-top: 72px; }
.vs-en { text-align: center; font-family: var(--num); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--red-d); }
.vs-t { text-align: center; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; margin: 4px 0 28px; text-wrap: balance; }
.vs-tb { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 16px; }
.vs-bg { grid-row: 1 / 6; border-radius: var(--r-l); }
.vs-bg.old { grid-column: 2; background: #f1efed; }
.vs-bg.new { grid-column: 3; background: #fff; border: 2px solid var(--red-d); box-shadow: 0 16px 34px rgba(170, 30, 24, .12); }
.vs-h { grid-row: 1; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 26px 10px; line-height: 1.5; }
.vs-h.who { grid-column: 1; justify-content: flex-end; padding-left: 0; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; }
.vs-h.old { grid-column: 2; }
.vs-h.new { grid-column: 3; }
.vs-h b { font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 3px 16px; white-space: nowrap; }
.vs-h.old b { background: #dedad6; color: var(--ink-2); }
.vs-h.new b { background: var(--red-d); color: #fff; }
.vs-h span { font-size: 19px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.vs-h.old span { color: var(--ink-2); }
.vs-h.new span { color: var(--red-d); }
.vr1 { grid-row: 2; }
.vr2 { grid-row: 3; }
.vr3 { grid-row: 4; }
.vs-p { grid-column: 1; position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 26px 12px 0; line-height: 1.6; }
.vs-p::after { content: ""; position: absolute; right: 2px; top: 50%; margin-top: -7px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid #b9b3ae; }
.vs-p .ava { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pink-2); color: var(--red-d); font-family: var(--num); font-size: 16px; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; justify-content: center; }
.vs-p p { font-size: 13.5px; color: var(--ink-2); }
.vs-p p b { display: block; font-size: 15px; color: var(--ink); }
.vs-m { position: relative; display: flex; align-items: center; padding: 8px 26px; }
.vs-m.old { grid-column: 2; }
.vs-m.new { grid-column: 3; }
.vs-lb { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vs-m .b { width: 100%; border-radius: 14px 14px 14px 4px; line-height: 1.55; }
.vs-m.old .b { background: #fff; padding: 15px 18px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.vs-m.new .b { display: flex; align-items: center; gap: 12px; background: var(--pink); padding: 11px 16px; }
.vs-m.new .ib { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--red-d); color: #fff; display: flex; align-items: center; justify-content: center; }
.vs-m.new .ib .ico { width: 20px; height: 20px; }
.vs-m.new p { font-size: 15.5px; font-weight: 700; }
.vs-m.new small { display: block; font-size: 12px; font-weight: 700; color: var(--red-d); letter-spacing: .04em; }
.vs-m.new em { background: linear-gradient(transparent 60%, var(--yellow) 60%); }
.vs-f { grid-row: 5; position: relative; padding: 8px 26px 24px; font-size: 13.5px; line-height: 1.75; }
.vs-f.old { grid-column: 2; color: var(--ink-2); }
.vs-f.new { grid-column: 3; color: var(--ink); font-weight: 700; }
.vs-note { margin-top: 12px; text-align: right; }

/* ── 配信例（3 つを横に並べる。1 枚＝題 → カルテ → 届く一通。段の高さは 3 枚でそろえる） ── */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0 22px; }
.case { display: grid; grid-row: span 3; grid-template-rows: subgrid; background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh); }
.case-hd { padding: 26px 26px 0; }
.case-no { display: flex; align-items: center; gap: 9px; color: var(--red-d); font-size: 14px; font-weight: 700; line-height: 1.5; }
.case-no b { background: var(--red-d); color: #fff; font-size: 12.5px; letter-spacing: .04em; border-radius: 4px; padding: 0 10px; }
.case h3 { margin-top: 8px; font-size: 18.5px; font-weight: 700; line-height: 1.55; letter-spacing: .03em; text-wrap: pretty; }
.case .karte { margin: 14px 26px 0; align-self: start; box-shadow: none; }
.case .karte-h { padding: 5px 12px; }
.case .karte-r { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 6px; padding: 6px 12px; }
.case .karte-r dt { padding-top: 1px; }
.case-ph { position: relative; align-self: end; height: 374px; margin-top: 30px; padding: 20px 20px 0; display: flex; flex-direction: column; align-items: center; background: linear-gradient(150deg, #ffe9e5 0%, #fdf1ee 50%, #f6e7f1 100%); }
.case-ph::before { content: ""; position: absolute; left: 50%; top: -20px; margin-left: -11px; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 12px solid var(--red-d); }
.case-ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; pointer-events: none; background: linear-gradient(rgba(252, 238, 236, 0), rgba(252, 238, 236, .97)); }
.case-cap { flex: none; text-align: center; font-size: 12px; line-height: 1.6; color: var(--ink-2); letter-spacing: .02em; }
.case-cap b { display: block; font-size: 13.5px; color: var(--red-d); letter-spacing: .06em; }
.case-ph .phone { flex: 1; min-height: 0; overflow: hidden; width: 252px; max-width: 100%; margin-top: 10px; padding-bottom: 0; border-radius: 30px 30px 0 0; box-shadow: 0 16px 34px rgba(30, 10, 8, .22); }
.case-ph .phone-scr { height: 100%; border-radius: 23px 23px 0 0; }
.case-ph .phone-hdr { height: 36px; }
.case-ph .phone-msgs img { width: 66%; }

/* ── 場面（機能） ── */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 22px; margin-top: 12px; }
.scene { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-s); }
.scene-lb { position: absolute; left: 50%; top: -17px; transform: translateX(-50%); background: var(--red-d); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .04em; border-radius: 999px; padding: 4px 20px; white-space: nowrap; z-index: 2; }
.scene-lb::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid var(--red-d); }
.scene-ph { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: linear-gradient(150deg, #ffe9e5, #f8eaf2); }
.scene-ph .bal { position: absolute; z-index: 1; left: 14px; bottom: 12px; background: #fff; border-radius: 12px 12px 12px 3px; box-shadow: 0 6px 16px rgba(30, 20, 18, .2); font-size: 12.5px; font-weight: 700; line-height: 1.55; letter-spacing: .02em; padding: 8px 13px; white-space: nowrap; }
.scene-b { flex: 1; padding: 20px 24px 24px; }
.scene-b h3 { font-size: 18px; font-weight: 700; }
.scene-b ul { margin-top: 10px; display: grid; gap: 6px; }
.scene-b li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.scene-b li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--red-d); }
/* 提案の決め方：左＝患者さんの記録 → 中＝AI が読んで判断 → 右＝ノウハウで決めた提案の型（この中から 1 つが選ばれる） */
.km { display: grid; grid-template-columns: minmax(0, 252px) 196px minmax(0, 1fr); align-items: center; }
.km-p { position: relative; display: grid; gap: 20px; }
/* 左の 2 枚（記録・判断基準）を束ねる括弧。ここから AI へ矢印が出る */
.km-p::after { content: ""; position: absolute; right: -20px; top: 24%; bottom: 24%; width: 12px; border: 2px solid var(--red-d); border-left: 0; border-radius: 0 12px 12px 0; }
.km-p .karte { box-shadow: var(--sh); }
.km-k .karte-h { background: var(--ink-2); color: #fff; border-bottom: 0; }
.km-kt { padding: 11px 14px 13px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--red-d); letter-spacing: .02em; }
.km-p .karte-r { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); column-gap: 6px; padding: 9px 14px; }
.km-p .karte-r dt { padding-top: 1px; }
.km-p .karte-r dd { font-weight: 500; }
.km-ai { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 24px 0 34px; }
.km-ai::before, .km-ai::after { content: ""; position: absolute; top: 52px; margin-top: -10px; border-left: 13px solid var(--red-d); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.km-ai::before { left: 24px; }
.km-ai::after { right: 5px; }
.km-core { width: 104px; height: 104px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 9px rgba(226, 54, 48, .12), 0 12px 24px rgba(170, 30, 24, .28); }
.km-core b { font-family: var(--num); font-size: 28px; font-weight: 700; line-height: 1.1; }
.km-core small { margin-top: 2px; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.km-j { margin-top: 22px; display: grid; gap: 6px; width: 100%; }
.km-j li { background: #fff; border: 1px solid #ecc9c5; border-radius: 999px; padding: 4px 6px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--red-dd); line-height: 1.5; white-space: nowrap; }
.km-m { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh); padding: 22px 24px 24px; }
.km-mt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 16px; }
.km-mn { margin-left: auto; background: var(--pink); color: var(--red-dd); border-radius: 999px; padding: 4px 13px; font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.km-l .tg.n { background: var(--gray-bg); color: var(--ink-2); }
.km-mt b { font-size: 18px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; }
/* 題の上の小さな 1 行と、題の後ろの「（例）」。右の札は全部ではなく例として見せる */
.km-mt b span { margin-left: 2px; font-size: 14px; font-weight: 700; color: var(--ink-3); letter-spacing: 0; }
.km-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.km-l li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px 10px; }
.km-l small { grid-column: 1; font-size: 11.5px; font-weight: 700; color: var(--red-d); letter-spacing: .02em; line-height: 1.5; }
.km-l b { grid-column: 1; font-size: 14.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.km-l .tg { grid-column: 2; grid-row: 1 / 3; background: var(--pink-2); color: var(--red-dd); border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.km-l li.on { border: 2px solid var(--red-d); background: var(--pink); padding: 8px 11px 9px; box-shadow: 0 8px 18px rgba(170, 30, 24, .14); }
.km-l li.on i { position: absolute; right: 10px; top: -11px; background: var(--red-d); color: #fff; border-radius: 999px; padding: 1px 10px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
@media (max-width: 1180px) {
  .km-l li { grid-template-columns: minmax(0, 1fr); }
  .km-l .tg { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 5px; }
  .km-l b { white-space: normal; }
}
.cases-note { margin-top: 18px; text-align: center; }
.rules { margin-top: 56px; background: var(--pink); border-radius: var(--r-l); padding: 32px 28px 34px; }
.rules-t { text-align: center; font-size: 21px; font-weight: 700; margin-bottom: 10px; letter-spacing: .04em; line-height: 1.6; }
.rules-l { max-width: 760px; margin: 0 auto 26px; text-align: center; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; text-wrap: balance; }
.rules-t em { color: var(--red-d); }
.rules ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.rule { text-align: center; padding: 0 16px; border-right: 1px dashed #ecc9c5; }
.rule:last-child { border-right: 0; }
.rule .ib { width: 52px; height: 52px; border-radius: 50%; background: var(--red-d); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.rule .ib .ico { width: 26px; height: 26px; }
.rule h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.rule p { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; text-wrap: balance; }

/* ── 安心（白い地の上の、薄い桃の大きな箱） ── */
.box-pink { background: var(--pink-bg); border-radius: 32px; padding: 72px 56px 64px; max-width: 1200px; margin: 0 auto; }
.safes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.safe { background: #fff; border-radius: var(--r); box-shadow: var(--sh-s); padding: 28px 22px 26px; text-align: center; }
.safe .ib { width: 60px; height: 60px; border-radius: 50%; background: var(--red-d); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.safe .ib .ico { width: 28px; height: 28px; }
.safe h3 { font-size: 17px; font-weight: 700; line-height: 1.55; }
.safe p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.8; text-wrap: balance; }
.safe-data { max-width: 780px; margin: 32px auto 0; text-align: center; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; text-wrap: balance; }
.safe-data b { color: var(--ink); font-weight: 700; margin-right: .4em; }
.center { text-align: center; margin-top: 36px; }
.safe-data + .center { margin-top: 20px; }

/* ── 導入の流れ ── */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.flow-i { position: relative; background: #fff; border-radius: var(--r); box-shadow: var(--sh-s); padding: 26px 20px 22px; text-align: center; }
.flow-i:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; margin-top: -9px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 11px solid var(--red-d); }
.flow-i .ib { width: 56px; height: 56px; margin: 0 auto 8px; color: var(--ink); --ac: var(--red); --tint: var(--pink-2); }
.flow-i .ib svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-i .no { font-family: var(--num); font-size: 22px; font-weight: 600; color: var(--red-d); line-height: 1; letter-spacing: 0; }
.flow-i .day { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700; background: var(--pink); color: var(--red-d); border-radius: 4px; padding: 1px 12px; }
.flow-i h3 { font-size: 18px; font-weight: 700; margin-top: 8px; }
.flow-i .by { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; background: var(--pink); color: var(--red-d); border-radius: 4px; padding: 1px 12px; }
.flow-d { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); text-wrap: balance; }
.flow-i ul { margin-top: 10px; text-align: left; display: grid; gap: 4px; }
.flow-i li { position: relative; padding-left: 13px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.flow-i li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--red-d); }
.flow-end { margin-top: 30px; text-align: center; font-size: 19px; font-weight: 700; text-wrap: balance; }
.flow-end em { background: linear-gradient(transparent 60%, var(--yellow) 60%); }

/* ── 料金 ── */
.price-eq { display: flex; align-items: stretch; justify-content: center; gap: 18px; }
.pbox { flex: 1; max-width: 330px; background: #fff; border-radius: var(--r); border-top: 4px solid var(--red-d); box-shadow: var(--sh-s); padding: 24px 22px 26px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.pbox h3 { font-size: 20px; font-weight: 700; color: var(--red-d); }
.pbox p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.8; text-wrap: balance; }
.pbox.none { border: 2px dashed #e3c6c2; box-shadow: none; }
.pbox.none h3 { color: var(--ink-2); }
.pbox.none h3 span { font-size: 15px; background: var(--pink); border-radius: 999px; padding: 2px 14px; margin-left: 6px; color: var(--red-d); }
.price-eq .plus { align-self: center; font-family: var(--num); font-size: 34px; font-weight: 300; color: var(--ink-3); }
.price-trial { margin: 28px auto 0; max-width: 880px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 2px solid var(--red-d); border-radius: var(--r-l); padding: 24px 32px; box-shadow: 0 16px 34px rgba(170, 30, 24, .12); }
.price-trial .tg { display: inline-block; background: var(--pink); color: var(--red-d); font-size: 13px; font-weight: 700; border-radius: 4px; padding: 1px 12px; }
.price-trial h3 { margin-top: 6px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.5; }
.price-trial h3 em { color: var(--red-d); font-size: 1.12em; }
.pt-of { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin-top: 8px; }
.pt-of li { display: flex; align-items: baseline; gap: 8px; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); }
.pt-of li:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.pt-of small { font-size: 13.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.pt-of b { font-size: 26px; font-weight: 700; line-height: 1.3; color: var(--red-d); letter-spacing: .02em; white-space: nowrap; }
.price-trial p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }

/* ── セミナー ── */
.seminar { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 36px; align-items: center; }
.sem-main { text-decoration: none; display: block; }
.sem-bn { position: relative; overflow: hidden; border-radius: var(--r); color: #fff; padding: 28px 32px 26px; box-shadow: var(--sh); aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--grad); }
.sem-bn { isolation: isolate; }
.sem-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sem-bn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(178, 26, 20, .97) 0%, rgba(190, 34, 28, .93) 50%, rgba(178, 30, 24, .8) 100%); }
.sem-bn .top { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.sem-bn .top span { flex: none; white-space: nowrap; background: #fff; color: var(--red-d); border-radius: 4px; padding: 1px 10px; }
.sem-bn .ttl { position: relative; font-size: clamp(19px, 2.1vw, 25px); font-weight: 700; line-height: 1.55; }
.sem-bn .ttl em { background: #fff; color: var(--red-d); padding: 0 .2em; border-radius: 4px; }
.sem-bn .when { position: relative; display: flex; align-items: flex-end; gap: 14px; }
.sem-bn .when b { font-family: var(--num); font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.sem-bn .when b small { font-size: 18px; margin-left: 4px; }
.sem-bn .when span { font-family: var(--num); font-size: 20px; font-weight: 600; letter-spacing: 0; }
.sem-bn .when i { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 700; border: 1.5px solid #fff; background: rgba(110, 12, 8, .55); border-radius: 999px; padding: 3px 14px; }
.sem-st { display: inline-block; margin-top: 16px; background: var(--red-d); color: #fff; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 2px 10px; }
.sem-st.soon { background: #6b6562; }
.sem-main h3 { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.65; }
.sem-main:hover h3 { color: var(--red-d); }
.sem-list { display: grid; }
.sem-item { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sem-item:first-child { padding-top: 0; }
.sem-th { border-radius: var(--r-s); background: var(--pink); border: 1px solid var(--pink-2); color: var(--red-d); aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.sem-th b { font-family: var(--num); font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.sem-th small { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.sem-item .sem-st { margin-top: 0; }
.sem-item h3 { margin-top: 6px; font-size: 15.5px; font-weight: 700; line-height: 1.65; }
.sem-item p { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.sem-note { margin-top: 16px; }

/* ── よくある質問 ── */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r); box-shadow: var(--sh-s); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-size: 16px; font-weight: 700; line-height: 1.65; position: relative; display: flex; gap: 14px; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red-d); color: #fff; font-family: var(--num); font-size: 15px; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; justify-content: center; margin-top: -1px; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--red-d); border-bottom: 2px solid var(--red-d); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(5px) rotate(225deg); }
.faq .a { margin: 0 22px; padding: 16px 0 22px 44px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--ink-2); position: relative; }
.faq .a::before { content: "A"; position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: var(--red-d); font-family: var(--num); font-size: 15px; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; justify-content: center; }
.faq .a a { color: var(--red-d); }

/* ── お知らせ（見出しを左、一覧を右） ── */
#news.sec { padding: 64px 0; }
.news-in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.news-in .sh { text-align: left; margin: 0; }
.news { border-top: 1px solid var(--line); }
.news li { display: flex; gap: 22px; align-items: baseline; padding: 18px 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
.news time { flex: none; font-family: var(--num); font-weight: 600; color: var(--ink-3); font-size: 14px; letter-spacing: 0; min-width: 5.6em; }
.news a { text-decoration: none; }
.news a:hover { color: var(--red-d); text-decoration: underline; }

/* ── 締め（赤い帯に白い札 2 枚） ── */
.closing { background: var(--grad); padding: 64px 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: -10%; top: -60%; width: 55%; height: 220%; background: linear-gradient(120deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 70%); transform: skewX(-18deg); }
.closing-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1040px; }
.ccard { background: #fff; border-radius: var(--r); padding: 28px 30px 28px; box-shadow: 0 16px 36px rgba(90, 10, 6, .28); display: flex; flex-direction: column; }
.ccard-top { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.ccard-il { position: relative; overflow: hidden; flex: none; width: 180px; aspect-ratio: 4 / 3; border-radius: var(--r-s); background: var(--pink); }
/* 絵（2026-11-26）：写真をやめ、サイトのほかの絵と同じ描き方（白い紙・灰の線・赤い差し色）にした。資料請求＝重ねた資料（表紙に実績の棒）、お問い合わせ＝やりとりの吹き出し */
.ccard-il svg { display: block; width: 100%; height: 100%; }
.ccard .en { font-family: var(--num); font-size: 12.5px; font-weight: 600; color: var(--red-d); letter-spacing: .08em; }
.ccard h2 { font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; }
.ccard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; margin-top: 6px; }
.ccard .cta { margin-top: auto; width: 100%; }

/* ── フッター ── */
.ft { background: #fff; padding: 56px 0 26px; font-size: 14px; }
.ft-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.ft .hd-logo img { height: 24px; }
.ft-co { margin-top: 16px; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.ft .ft-h { font-size: 14px; font-weight: 700; padding-bottom: 6px; border-bottom: 2px solid var(--ink); display: inline-block; margin-bottom: 14px; }
.ft li + li { margin-top: 9px; }
.ft li a { text-decoration: none; color: var(--ink-2); font-size: 13.5px; }
.ft li a:hover { color: var(--red-d); text-decoration: underline; }
.ft-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-3); }
.ft-bottom a { text-decoration: none; margin-right: 18px; color: var(--ink-2); }

/* ── 追従する帯（画面の下）と、上へ戻るボタン ── */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(40, 14, 12, .92); backdrop-filter: blur(6px); color: #fff; transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.dock.is-show { transform: none; visibility: visible; transition: transform .3s ease; }
.dock-in { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 1180px; margin: 0 auto; padding: 10px 56px 10px 24px; position: relative; }
.dock p { font-size: 14px; font-weight: 700; }
.dock .pill { min-width: 210px; border-color: #fff; }
.dock .pill-fill { background: #fff; color: var(--red-d); }
.dock .pill-line { background: transparent; color: #fff; }
.dock-x { position: absolute; right: 14px; top: 50%; margin-top: -16px; width: 32px; height: 32px; border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; opacity: .85; }
.totop { position: fixed; right: 20px; bottom: 84px; z-index: 89; width: 48px; height: 48px; border-radius: 8px; border: 0; background: var(--red-d); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-s); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.totop.is-show { opacity: 1; visibility: visible; transition: opacity .25s; }
.totop .ico { width: 22px; height: 22px; stroke-width: 2.2; }
body.has-dock { padding-bottom: 64px; }

/* ── 下層ページ ── */
.page-head { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: 22px 0 54px; text-align: center; }
.page-head::before { content: ""; position: absolute; left: -10%; top: -60%; width: 55%; height: 220%; background: linear-gradient(120deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 70%); transform: skewX(-18deg); }
.page-head::after { content: ""; position: absolute; right: -12%; top: 0; bottom: 0; width: 46%; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); transform: skewX(-13deg); }
.page-head .wrap { position: relative; z-index: 1; }
.crumb { display: flex; gap: 8px; font-size: 12.5px; text-align: left; margin-bottom: 26px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb li + li::before { content: "›"; margin-right: 8px; opacity: .85; }
.page-head .en { font-family: var(--num); font-size: 13.5px; font-weight: 600; letter-spacing: .1em; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; line-height: 1.45; letter-spacing: .05em; margin-top: 2px; }
.page-head p.lead { margin: 12px auto 0; max-width: 44em; font-size: 15px; font-weight: 500; text-wrap: balance; }
.page-head.has-card { padding-bottom: 150px; }
.page-body { padding: 64px 0 96px; }
.narrow { max-width: 880px; margin: 0 auto; }
.doc h2 { font-size: 22px; font-weight: 700; line-height: 1.5; margin: 54px 0 16px; padding: 0 0 10px; border-bottom: 3px solid var(--red-d); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17.5px; font-weight: 700; margin: 30px 0 10px; }
.doc p { margin-top: 12px; color: var(--ink-2); }
.doc a { color: var(--red-d); }
.doc ul.dots { margin-top: 10px; }
.doc ul.dots li { position: relative; padding-left: 20px; color: var(--ink-2); }
.doc ul.dots li + li { margin-top: 6px; }
.doc ul.dots li::before { content: ""; position: absolute; left: 3px; top: .78em; width: 8px; height: 8px; border-radius: 50%; background: var(--red-d); }
.doc .date { margin-top: 40px; text-align: right; font-size: 14px; color: var(--ink-3); }
.table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.table th { width: 13em; font-weight: 700; background: var(--pink); white-space: nowrap; }
.table.grid th, .table.grid td { border: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.table.grid thead th { width: auto; white-space: normal; }
.table-wrap { overflow-x: auto; }
.vendor { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; margin-top: 18px; box-shadow: var(--sh-s); }
.vendor h4 { margin: 0 0 6px; font-size: 17.5px; font-weight: 700; color: var(--red-d); }
.vendor h4 small { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-left: 10px; background: var(--gray-bg); border-radius: 999px; padding: 2px 12px; }
.vendor dl { display: grid; grid-template-columns: 13.5em 1fr; font-size: 14.5px; line-height: 1.85; }
.vendor dt { font-weight: 700; padding: 10px 12px 10px 0; border-top: 1px dashed var(--line); }
.vendor dd { padding: 10px 0; border-top: 1px dashed var(--line); color: var(--ink-2); }
.profile { display: grid; margin-top: 16px; }
.profile div { display: grid; grid-template-columns: 10.5em 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.profile dt { font-family: var(--num); font-weight: 600; color: var(--red-d); letter-spacing: 0; }
/* 代表プロフィール（2026-11-26・提案書 p.2 の「創業者プロフィール」と同じ並び）：会社名（太字）・役割・説明 */
.profile dd b { font-weight: 700; color: var(--ink); }
.profile dd .pf-r { margin-left: .9em; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.profile dd .pf-d { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.doc p.mission, .mission { font-size: clamp(22px, 2.8vw, 31px); font-weight: 700; line-height: 1.7; color: var(--ink); letter-spacing: .05em; text-wrap: balance; }
.mission em { background: linear-gradient(transparent 60%, var(--yellow) 60%); }

/* ── フォーム ── */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; }
.form { display: grid; gap: 22px; background: #fff; border-radius: var(--r-l); box-shadow: var(--sh); padding: 40px 40px 44px; margin-top: -110px; position: relative; z-index: 2; }
.field label, .field legend { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.req, .opt { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 0 8px; margin-left: 8px; vertical-align: 1px; letter-spacing: .02em; }
.req { color: #fff; background: var(--red-d); }
.opt { color: var(--ink-2); background: #efece9; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; letter-spacing: .02em; color: var(--ink); background: #fbfaf9; border: 1.5px solid #948d87; border-radius: var(--r-s); padding: 12px 14px; line-height: 1.6; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--red-d); background: #fff; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 2px solid #948d87; border-radius: 999px; font-size: 15px; font-weight: 700; background: #fff; }
.choice input:checked + span { background: var(--red-d); color: #fff; border-color: var(--red-d); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.agree input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--red); flex: none; }
.agree a { color: var(--red-d); }
.form-msg { display: none; background: #fff3b0; color: #5b4a00; border-radius: var(--r-s); padding: 12px 16px; font-size: 14.5px; font-weight: 500; }
.form-msg.is-show { display: block; }
/* 送れなかったとき・送れたとき（2026-11-26）。送れたら、フォームの中身を隠して「送信しました」だけを出す */
.form-err { display: none; background: var(--pink); color: var(--red-dd); border-radius: var(--r-s); padding: 12px 16px; font-size: 14.5px; font-weight: 500; }
.form-err.is-show { display: block; }
.form.is-done > :not(.form-done) { display: none; }
.form-done { text-align: center; padding: 28px 8px 8px; }
.form-done:focus { outline: none; }
.form-done-t { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.form-done-t::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--red-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat; }
.form-done-t + p { margin-top: 12px; color: var(--ink-2); line-height: 1.8; }
/* いたずらの送信を防ぐ欄（人には見えない） */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .cta { cursor: pointer; font-family: inherit; width: 100%; max-width: 380px; margin: 6px auto 0; }
.form .cta[disabled] { background: #b9b3ae; box-shadow: none; cursor: not-allowed; transform: none; }
.aside { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh); padding: 30px 28px; margin-top: -110px; position: relative; z-index: 2; }
.aside h2 { font-size: 17px; font-weight: 700; margin-bottom: 14px; color: var(--red-d); }
.aside li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.75; font-weight: 500; }
.aside li + li { margin-top: 10px; }
.aside li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--red-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.8 10.3l2.8 2.8 5.6-6.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.aside .box { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.aside .box a { color: var(--red-d); }

/* ── 画面の幅ごとの調整 ── */
/* メニューが詰まり始める幅では、ロゴを一段小さくする */
@media (max-width: 1240px) {
  .hd-logo img { height: 42px; }
  .gnav ul { gap: 20px; }
}
@media (max-width: 1180px) {
  .hd-logo img { height: 38px; }
  .gnav ul { gap: 12px; }
  .gnav li a { font-size: 13.5px; }
  .hd-in { gap: 16px; padding: 0 20px; }
  .hd-cta .pill { padding: 0 14px; font-size: 14px; }
  .reads.r5 { grid-template-columns: repeat(3, 1fr); }
  .reads.r4 { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 26px; }
  .hero .cta { min-width: 224px; }
  .hv-karte { width: 186px; }
  .hv-arrow { left: 176px; }
  .hv-phone { width: 218px; }
  .case-cap { font-size: 11.5px; letter-spacing: 0; }
}
@media (max-width: 1000px) {
  .gnav { position: fixed; left: 0; right: 0; top: 80px; bottom: 0; background: #fff; padding: 8px 24px 120px; overflow-y: auto; display: none; margin: 0; }
  .menu-open .gnav { display: block; }
  .menu-open { overflow: hidden; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li a { font-size: 17px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .gnav li a::after { display: none; }
  .gnav-cta { display: grid; gap: 12px; margin-top: 26px; }
  .gnav-cta .pill { height: 54px; font-size: 16px; }
  .hd-cta { margin-left: auto; }
  .hd-cta .pill-line { display: none; }
  .menu-btn { display: block; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .hd-in { height: auto; flex-wrap: wrap; padding-top: 14px; padding-bottom: 6px; row-gap: 6px; }
  html:not(.js) .gnav { position: static; display: block; order: 3; width: 100%; padding: 0; overflow-x: auto; }
  html:not(.js) .gnav ul { flex-direction: row; gap: 18px; white-space: nowrap; }
  html:not(.js) .gnav li a { font-size: 14px; padding: 8px 0; border-bottom: 0; }
  html:not(.js) .gnav-cta { display: none; }

  .sec { padding: 72px 0; }
  .sh { margin-bottom: 40px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); row-gap: 4px; padding-top: 44px; }
  .hero::after { display: none; }
  .hero-copy { padding-bottom: 30px; }
  .hero-visual { width: 460px; max-width: 100%; height: 300px; margin: 0 auto; }
  .hv-karte { left: 10px; width: 198px; }
  .hv-arrow { left: 198px; }
  .hv-phone { right: 10px; width: 226px; }
  .impact { padding-top: 30px; }
  .impact-t { font-size: 30px; margin-bottom: 10px; }
  .impact-t::before { margin-bottom: 12px; }
  .imp-k { font-size: 19px; }
  .imp-x { font-size: clamp(132px, 20vw, 190px); }
  .imp-d { font-size: 12.5px; }
  .clients { padding: 40px 0 56px; }
  .feats { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .vs-tb { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .vs-bg, .vs-h { display: none; }
  .vs-p, .vs-m.old, .vs-m.new, .vs-f.old, .vs-f.new { grid-column: 1; grid-row: auto; }
  .vs-p { margin-top: 14px; padding: 16px 18px 6px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; }
  .vs-p.vr1 { margin-top: 0; }
  .vs-p::after { display: none; }
  .vs-m { flex-direction: column; align-items: stretch; padding: 8px 18px; background: #fff; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .vs-lb { position: static; width: auto; height: auto; margin: 0 0 4px; overflow: visible; clip-path: none; font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--ink-3); }
  .vs-m.new .vs-lb { color: var(--red-d); }
  .vs-m.old .b { background: #f1efed; }
  .vs-m.new { padding-bottom: 18px; border-bottom: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--sh-s); }
  .vs-f { padding: 14px 4px 0; }
  .vs-f.new { padding-top: 4px; }
  .vs-note { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
  .cases { display: flex; gap: 16px; margin: 0 -24px; padding: 6px 24px 26px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .case { flex: none; width: min(340px, 84vw); display: flex; flex-direction: column; scroll-snap-align: center; box-shadow: var(--sh-s); }
  .case .karte { margin-bottom: 30px; align-self: stretch; }
  .case-ph { margin-top: auto; flex: none; align-self: stretch; }
  .dia { column-gap: 56px; padding: 32px 28px 26px; }
  .about-txt { grid-template-columns: 1fr; gap: 22px; }
  .step { grid-template-columns: 1fr; }
  .step-copy { padding: 32px 28px; }
  .step-ui { padding: 30px 22px; min-height: 0; }
  .step-ui.has-top { padding-top: 84px; }
  .step-ui.is-phone { padding-top: 30px; }
  .cta-band { flex-direction: column; text-align: center; padding: 30px 24px; }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .km { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .km-p { max-width: 380px; width: 100%; margin: 0 auto; }
  .km-p::after { display: none; }
  .km-ai { padding: 44px 0 44px; }
  .km-mn { margin-left: 0; }
  .km-ai::before, .km-ai::after { left: 50%; right: auto; margin: 0 0 0 -10px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 13px solid var(--red-d); border-bottom: 0; }
  .km-ai::before { top: 16px; }
  .km-ai::after { top: auto; bottom: 16px; }
  .km-j { grid-template-columns: repeat(3, auto); justify-content: center; }
  .km-j li { padding: 4px 12px; }
  .rules ul { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .rule:nth-child(2) { border-right: 0; }
  .box-pink { padding: 56px 28px 48px; border-radius: 24px; }
  .safes { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .flow-i:nth-child(2)::after { display: none; }
  .seminar { grid-template-columns: 1fr; }
  .news-in { grid-template-columns: 1fr; gap: 24px; }
  .news-in .sh { text-align: center; }
  .closing-in { grid-template-columns: 1fr; max-width: 560px; }
  .ft-in { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form { margin-top: -90px; }
  .aside { margin-top: 0; box-shadow: var(--sh-s); border: 1px solid var(--line); }
  .dock p { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; letter-spacing: .03em; }
  .sp { display: inline; }
  .pc { display: none; }
  .wrap { padding: 0 20px; }
  html { scroll-padding-top: 76px; }
  .hd-in { height: 62px; padding: 0 10px 0 18px; gap: 8px; }
  .hd-logo img { height: 36px; }
  .gnav { top: 62px; }
  .sec { padding: 60px 0; }
  .sh .lead { font-size: 15px; text-align: left; text-wrap: pretty; }
  .sh .lead .nw, .flow-i .nw, .scene-b .nw, .rule .nw, .hero-lead .nw, .vs-p .nw, .vs-m .nw, .vs-f .nw { white-space: normal; }
  .hero-lead { font-size: 15px; }
  .hero-in { padding-top: 32px; }
  .hero-copy { padding-bottom: 36px; }
  /* スマホでは、右の絵は出さない（数字を最初の画面に入れる。カルテ → LINE の絵は配信例で見せる） */
  .hero-visual { display: none; }
  .impact { padding-top: 26px; }
  .impact-t { font-size: 24px; margin-bottom: 12px; }
  .impact-t::before { width: 36px; margin-bottom: 10px; }
  .imp-k { font-size: 14.5px; letter-spacing: .08em; text-indent: .08em; }
  .imp-x { font-size: clamp(78px, 25.5vw, 128px); margin-top: 0; }
  .imp-d { font-size: 11px; letter-spacing: 0; margin-top: 2px; padding: 0 2px; }
  .imp-d .nw { display: block; }
  .impact-note { margin-top: 16px; text-align: left; }
  .impact-note .nw { white-space: normal; }
  .clients { padding: 22px 0 48px; }
  .clients-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .client { width: auto; height: 92px; }
  .client img { height: 68px; }
  .client-name { font-size: 14.5px; letter-spacing: .04em; text-align: center; padding: 0 8px; }
  .client-lockup { gap: 6px; padding: 0 6px; }
  .client .client-mark { width: 34px; height: 34px; }
  .client-lockup .client-name { text-align: left; padding: 0; }
  .client.soon { grid-column: 1 / -1; height: 48px; }
  .feat { padding: 20px 20px 22px; }
  .feat .no { font-size: 36px; }
  .feat h3 { font-size: 17.5px; }
  .cases { gap: 12px; margin: 0 -20px; padding: 6px 20px 24px; }
  .case { border-radius: var(--r); }
  .case-hd { padding: 22px 20px 0; }
  .case .karte { margin: 14px 20px 30px; }
  .cta { width: 100%; min-width: 0; }
  .hero .cta { min-width: 0; }
  .checks { grid-template-columns: 1fr; gap: 12px; }
  .check { padding: 16px 18px; }
  .cause { padding: 28px 20px; text-align: left; }
  .dia { grid-template-columns: 1fr; padding: 26px 18px; row-gap: 40px; justify-items: center; }
  .dia-col { width: 100%; }
  .dia-col::after { right: auto; left: 50%; top: auto; bottom: -22px; width: 2px; height: 16px; border: 0; background: var(--red-d); border-radius: 0; }
  .dia-core { width: 140px; height: 140px; }
  .dia-core::before { display: none; }
  .dia-core::after { left: 50%; right: auto; top: auto; bottom: -30px; margin: 0 0 0 -9px; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 12px solid var(--red-d); border-bottom: 0; }
  .dia-out { width: 100%; }
  .dia-cap { margin-top: 0; }
  .steps { gap: 16px; }
  .step-copy { padding: 24px 20px 22px; }
  .step-copy h3 { font-size: 19px; margin-top: 10px; }
  .step-copy p { font-size: 14px; line-height: 1.8; margin-top: 8px; }
  .step-ui { padding: 18px 12px; }
  .step-ui.has-top { padding-top: 18px; }
  .step-ui.is-phone { padding: 22px 12px 0; }
  .step-ui.is-phone .phone { width: 220px; }
  .step-ui.is-phone .phone-scr { min-height: 250px; }
  .fl { display: none; }
  .ui { font-size: 13px; }
  .cta-band { margin-top: 36px; padding: 26px 18px; border-radius: var(--r); }
  .cta-band .cta-pair { flex-wrap: wrap; width: 100%; }
  .reads.r5, .reads.r4 { grid-template-columns: 1fr; gap: 8px; }
  .read { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 12px 16px; }
  .read .ib { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; }
  .read .ib svg { width: 44px; height: 44px; }
  .read h3 { font-size: 15px; }
  .read p { margin-top: 0; font-size: 13px; text-wrap: pretty; }
  .reads-gt { font-size: 14px; }
  .vs { margin-top: 52px; }
  .scenes { grid-template-columns: 1fr; gap: 34px; }
  .km-j { grid-template-columns: 1fr; max-width: 220px; margin-left: auto; margin-right: auto; }
  .km-m { padding: 20px 16px 18px; border-radius: var(--r); }
  .km-l { grid-template-columns: 1fr; }
  .rules-t { font-size: 18px; }
  .rules-l { text-align: left; }
  .rules-l .nw { white-space: normal; }
  .scene-b { padding: 16px 18px 18px; }
  .rules { padding: 22px 18px; border-radius: var(--r); }
  .rules ul { grid-template-columns: 1fr; gap: 0; }
  .rule { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; text-align: left; padding: 14px 0; border-right: 0; border-bottom: 1px dashed #ecc9c5; }
  .rule:last-child { border-bottom: 0; }
  .rule .ib { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; }
  .rule .ib .ico { width: 22px; height: 22px; }
  .rule h3 { font-size: 15.5px; }
  .rule p { text-wrap: pretty; }
  .box-pink { padding: 44px 16px 36px; border-radius: var(--r-l); margin: 0 -8px; }
  .safes { grid-template-columns: 1fr; gap: 10px; }
  .safe { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; text-align: left; padding: 18px; }
  .safe .ib { grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; }
  .safe .ib .ico { width: 24px; height: 24px; }
  .safe h3 { font-size: 16px; }
  .safe p { margin-top: 4px; font-size: 13.5px; }
  .more { width: 100%; justify-content: space-between; padding: 12px 18px 12px 22px; font-size: 14px; text-align: left; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow-i { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; text-align: left; padding: 18px; align-items: start; }
  .flow-i .ib { grid-row: 1 / 6; width: 48px; height: 48px; margin: 0; }
  .flow-i .by { justify-self: start; margin-top: 4px; }
  .flow-d { margin-top: 6px; }
  .flow-i .ib svg { width: 48px; height: 48px; }
  .flow-i .no { display: none; }
  .flow-i .day { justify-self: start; margin-top: 0; }
  .flow-i h3 { margin-top: 4px; }
  .flow-i:not(:last-child)::after { right: 50%; top: auto; bottom: -18px; margin: 0 -9px 0 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 11px solid var(--red-d); border-bottom: 0; display: block; }
  .flow-end { font-size: 17px; }
  .price-eq { flex-direction: column; align-items: stretch; gap: 6px; }
  .pbox { max-width: none; padding: 18px; }
  .price-eq .plus { line-height: 1; font-size: 26px; }
  .price-trial { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 18px; border-radius: var(--r); }
  .pt-of { justify-content: center; gap: 2px 0; }
  .pt-of li { padding-right: 14px; margin-right: 14px; }
  .pt-of b { font-size: 22px; }
  .sem-bn { padding: 20px 18px; aspect-ratio: auto; gap: 18px; }
  .sem-bn .when { flex-wrap: wrap; gap: 6px 12px; }
  .sem-bn .when b { font-size: 36px; }
  .sem-bn .when i { margin-left: 0; }
  .sem-item { grid-template-columns: 112px 1fr; gap: 14px; padding: 16px 0; }
  .sem-th b { font-size: 19px; }
  .faq summary { padding: 18px 48px 18px 16px; font-size: 15px; gap: 10px; }
  .faq summary::after { right: 20px; }
  .faq .a { margin: 0 16px; padding-left: 40px; font-size: 14.5px; }
  #news.sec { padding: 52px 0; }
  .news li { flex-direction: column; gap: 2px; }
  .closing { padding: 48px 0; }
  .ccard { padding: 22px 20px; }
  .ccard-top { gap: 16px; }
  .ccard-il { width: 104px; }
  .ccard h2 { font-size: 21px; }
  .ft-in { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .ft-in > div:first-child { grid-column: 1 / -1; }
  .ft li + li { margin-top: 0; }
  .ft li a { display: block; padding: 9px 0; }
  .dock-in { padding: 8px 44px 8px 12px; gap: 8px; }
  .dock .pill { min-width: 0; flex: 1; height: 42px; font-size: 13.5px; padding: 0 8px; }
  .dock-x { right: 6px; }
  .totop { right: 12px; bottom: 72px; width: 42px; height: 42px; }
  .page-head { padding: 16px 0 40px; }
  .page-head.has-card { padding-bottom: 100px; }
  .page-body { padding: 44px 0 72px; }
  .form { padding: 26px 20px 30px; margin-top: -60px; border-radius: var(--r); }
  .aside { border-radius: var(--r); }
  .table th { width: 7.5em; white-space: normal; }
  .table tbody th { white-space: nowrap; } /* 会社概要の「お問い合わせ」などの見出しを、途中で割らない */
  .table th, .table td { padding: 12px 10px; }
  .vendor { padding: 20px 18px; }
  .vendor dl { grid-template-columns: 1fr; }
  .vendor dt { padding-bottom: 0; }
  .vendor dd { border-top: 0; padding-top: 2px; }
  .profile div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  html.js .rv { opacity: 1; transform: none; }
}

@media (max-width: 380px) {
  .hd-logo img { height: 30px; }
  .nw { white-space: normal; }
  .mk.nw { white-space: nowrap; }
  .hero h1 { font-size: 24px; }
  .hero-tag { font-size: 12.5px; gap: 8px; padding-right: 14px; }
  .hero-tag b { font-size: 11.5px; padding: 2px 10px; }
  .imp-k { font-size: 13.5px; }
  .imp-d { font-size: 10px; }
  .sh h2 { font-size: 23px; }
}

/* タブレットの幅 */
@media (min-width: 641px) and (max-width: 860px) {
  .imp-d .nw { display: block; }
  /* 「RepeatOneとは」の図：横に 3 つ並べると札が重なる幅なので、縦に並べる（スマホと同じ形） */
  .dia { grid-template-columns: 1fr; max-width: 520px; padding: 26px 22px; row-gap: 40px; justify-items: center; }
  .dia-col { width: 100%; }
  .dia-col::after { right: auto; left: 50%; top: auto; bottom: -22px; width: 2px; height: 16px; border: 0; background: var(--red-d); border-radius: 0; }
  .dia-core { width: 140px; height: 140px; }
  .dia-core::before { display: none; }
  .dia-core::after { left: 50%; right: auto; top: auto; bottom: -30px; margin: 0 0 0 -9px; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 12px solid var(--red-d); border-bottom: 0; }
  .dia-out { width: 100%; }
  .dia-cap { margin-top: 0; }
  /* 料金の 3 つの箱：この幅で 4px はみ出していたので詰める（第 3 版からの崩れ） */
  .price-eq { gap: 10px; }
  .pbox { padding: 20px 14px 22px; min-width: 0; }
  .pbox.none h3 span { display: inline-block; margin-left: 4px; }
}
@media (max-width: 340px) {
  .hd-logo img { height: 25px; }
}

/* ==== SP:swipe start ==== */
/* 横に送る列（共通の部品・2026-11-26）。働くのはスマホ（幅 640px 以下）だけ。641px 以上では何も起きない（HTML に class を足しても PC は変わらない）。
   使い方：並びの親（ul など）に class="sw" を足す。子の 1 つ 1 つが札になり、横に送れる（札の class と中身はそのまま）。列の下の印（点・線）は main.js が作る。
   規則の強さ：.sw:not(#_)＝ID 1 つ分。元の CSS（.reads.r5・.rules ul など）には勝ち、後ろに置く区画のかたまり（#区画 .sw …）には負ける。
   変数（.sw か、その祖先に書く。書かなければ右の値）：
     --sw-gap  札の間 12px ／ --sw-peek 次の札が右に覗く幅 32px ／ --sw-bleed 本文の左端から画面の端まで 20px（.wrap の左右の余白。箱の中に置くなら、その余白を足した値）
     --sw-cols 横に並んで見える札の数 1（.sw-2r は 2）／ --sw-w 札の幅（書けば、上の 4 つから出す幅より優先）
   見た目は配信例の横送りにそろえる：札の間 12px・最初の札の左端＝本文の左端・最後の札の右に 20px・次の札が 32px 覗く。札の角 var(--r) と影 var(--sh-s) は札の class のまま */
@media (max-width: 640px) {
  .sw:not(#_) { position: relative; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: var(--sw-gap, 12px); width: auto; max-width: none; margin-left: calc(var(--sw-bleed, 20px) * -1); margin-right: calc(var(--sw-bleed, 20px) * -1); padding: 6px var(--sw-bleed, 20px) 20px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--sw-bleed, 20px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sw:not(#_)::-webkit-scrollbar { display: none; }
  /* 札：幅は「見える幅（本文の左端から、次の札の覗きの手前まで）÷ 並ぶ数 − 札の間」。高さは列の中で一番高い札にそろう。止まる所は札の左端＝本文の左端 */
  .sw:not(#_) > * { flex: 0 0 var(--sw-w, calc((100% + var(--sw-bleed, 20px) - var(--sw-peek, 32px)) / var(--sw-cols, 1) - var(--sw-gap, 12px))); width: auto; min-width: 0; max-width: none; height: auto; margin: 0; align-self: stretch; scroll-snap-align: start; }
  /* 合わせの直し（2026-11-26）：1 枚ずつ読む列（縦 2 段でない列）は、強くはじいても 1 枚ずつ止まる
     （短く強くはじくと 1 枚目から 3 枚目へ飛び、2 枚目を見落とすため。お悩みの列と同じ手触りにそろえる） */
  .sw:not(#_):not(.sw-2r) > * { scroll-snap-stop: always; }
  /* 変形：縦 2 段で横に送る（札は上から下・左から右の順）。横に並んで見えるのは既定で 2 列＋覗き。札の高さは列の中で全部そろう */
  .sw-2r:not(#_) { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, 1fr); justify-items: stretch; grid-auto-columns: var(--sw-w, calc((100% + var(--sw-bleed, 20px) - var(--sw-peek, 32px)) / var(--sw-cols, 2) - var(--sw-gap, 12px))); }
  /* キーボード：列にフォーカスが来たら（main.js が tabindex を付ける）、内側に枠を出す。← → Home End で送れる */
  .sw:not(#_):focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }

  /* 印（main.js が列のすぐ後ろに作る）。押す所は 44px 四方。今の札は赤の横長の点。止まる所が 7 つ以上の列は、点でなく細い進み具合の線 */
  .sw-nav { position: relative; display: flex; justify-content: center; align-items: center; height: 44px; margin-top: -18px; }
  .sw-dot { -webkit-appearance: none; appearance: none; display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .sw-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #cfc8c2; }
  .sw-dot[aria-current="true"]::before { width: 22px; background: var(--red-d); }
  .sw-dot:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
  .sw-bar { position: relative; display: block; width: min(40%, 160px); height: 3px; border-radius: 999px; background: #cfc8c2; overflow: hidden; }
  .sw-bar > span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: inherit; background: var(--red-d); }
}
/* 動き（動きを減らす設定のときは付けない）：
   ・data-sw-hint の列は、初めて画面に入ったとき 1 度だけ、札を左へ少し動かして戻す（横に送れることを見せる。main.js が .is-hint を付け外しする）
   ・今の札の点が横に伸びる／列が下からふわりと出る区画では、印も列と一緒に出す */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .sw.is-hint > * { animation: swHint 1.3s ease-in-out .35s both; }
  @keyframes swHint { 0%, 100% { transform: none; } 32% { transform: translateX(-44px); } 62% { transform: translateX(0); } 80% { transform: translateX(-10px); } }
  .sw-dot::before { transition: width .25s ease, background-color .25s ease; }
  .sw-nav { transition: opacity .6s ease; }
  html.js .sw.rv:not(.is-in) + .sw-nav { opacity: 0; }
}
@media (min-width: 641px) {
  .sw-nav { display: none; }
}
/* ==== SP:swipe end ==== */

/* ==== SP:examples start ==== */
/* 配信例（#examples）のスマホ：横送りは共通の部品（SP:swipe の .sw）に載せた（HTML の ul に class="sw"）。
   ここでは、列の下に印（点）が入った分だけ、注（※ 内容は例です。）の上の余白を詰める。641px 以上は変えない */
@media (max-width: 640px) {
  #examples .cases-note { margin-top: 0; }
  /* 合わせの直し（2026-11-26）：札の中の「届く一通」の下の補いの字を、元の 11.5px から補いの字の下限 12px に（360px でも 1 行に収まる） */
  #examples .case-cap { font-size: 12px; }
}
/* ==== SP:examples end ==== */

/* ==== SP:about start ==== */
/* 「RepeatOneとは」のスマホ（幅 640px 以下）。641px 以上は変えない。
   図：入力の 4 枚を 2×2 の小さな札に → ▼ → AI の札（横長の 1 行） → ▼ → 配信の札（絵を左・文を右） → 下に一行の注
   01〜03：縦に積む（2026-11-26 第 3 回。水戸さん「スクロールせずに縦に積みましょうか」で、第 2 回の横に送る列から 1 回目の形に戻した）。
     1 枚＝左に番号とアイコン（幅 66px）・右に題、文はその下に札の幅いっぱい */
@media (max-width: 640px) {
  /* 図の地 */
  #about .dia { justify-items: stretch; row-gap: 0; padding: 14px 12px 12px; }
  /* 入力の 4 枚＝2×2（アイコンと題を 1 行に、補いの字はその下） */
  #about .dia-col { width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #about .dia-n { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 4px; align-items: start; align-content: start; padding: 10px 10px 11px; line-height: 1.4; }
  #about .dia-n > span:last-child { display: contents; }
  #about .dia-n .ib { width: 28px; height: 28px; }
  #about .dia-n .ib .ico { width: 17px; height: 17px; }
  #about .dia-n b { padding-top: 4px; font-size: 14px; word-break: keep-all; } /* 1 行目をアイコンの中ほどに揃える。「前のご案内への反応」は <wbr> の所でだけ折り返す */
  #about .dia-n small { grid-column: 1 / -1; font-size: 12px; line-height: 1.5; white-space: normal; word-break: keep-all; text-wrap: balance; } /* 折り返すときは「・」「、」の後ろで、行の長さを揃える */
  /* ▼（入力 → AI、AI → 配信） */
  #about .dia-col::after { left: 50%; right: auto; top: auto; bottom: -19px; width: 0; height: 0; margin-left: -8px; border: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 11px solid var(--red-d); border-radius: 0; background: none; }
  #about .dia-core::before { display: none; }
  #about .dia-core::after { left: 50%; right: auto; top: auto; bottom: -22px; margin: 0 0 0 -8px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 11px solid var(--red-d); border-bottom: 0; }
  /* AI の札＝横長の 1 行（「×」の後ろと「特有の」の後ろの改行は、スマホでは使わない） */
  #about .dia-core { justify-self: center; width: auto; height: auto; margin-top: 28px; flex-direction: row; align-items: baseline; gap: 10px; padding: 9px 22px 10px 20px; border-radius: 999px; box-shadow: 0 0 0 6px rgba(226, 54, 48, .12), 0 8px 18px rgba(170, 30, 24, .26); }
  #about .dia-core b { font-size: 24px; }
  #about .dia-core small { margin-top: 0; font-size: 14px; line-height: 1.4; }
  #about .dia-core small br { display: none; }
  /* 配信の札＝絵を左・文を右 */
  #about .dia-out { width: auto; margin-top: 28px; display: grid; grid-template-columns: 46px auto; justify-content: center; column-gap: 14px; align-items: center; text-align: left; padding: 12px 14px 13px; }
  #about .dia-out .ib { grid-row: 1 / 3; width: 46px; height: 46px; margin: 0; }
  #about .dia-out .ib svg { width: 46px; height: 46px; }
  #about .dia-out b { font-size: 16px; line-height: 1.5; }
  #about .dia-out small { margin-top: 2px; font-size: 12.5px; line-height: 1.6; }
  #about .dia-cap { margin-top: 10px; line-height: 1.6; }

  /* 図の下の文 */
  #about .about-txt { margin-top: 34px; gap: 16px; }
  #about .about-txt h3 { font-size: min(20px, 5vw); line-height: 1.6; } /* 2 行目を「…個別配信」を、」までどの幅でも 1 行に収め、3 行目が「を、」で始まらないようにする */
  #about .about-pts { gap: 12px; }
  #about .about-pts li { padding-left: 20px; }
  #about .about-pts li::before { top: .5em; width: 10px; height: 10px; }
  #about .about-pts b { font-size: 16px; line-height: 1.6; }
  #about .about-pts span { margin-top: 2px; line-height: 1.75; }
  #about .about-pts li:first-child span { word-break: keep-all; } /* 「、」の後ろでだけ折り返す（「一｜人ずつ」と割れないように） */
  #about .about-pts li + li span { text-wrap: balance; }

  /* 01〜03 */
  #about .feats { margin-top: 34px; gap: 10px; }
  #about .feat { display: grid; grid-template-columns: 66px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: center; padding: 15px 15px 17px; }
  #about .feat-top { justify-content: space-between; margin: 0; }
  #about .feat .no { font-size: 22px; }
  #about .feat .ib, #about .feat .ib svg { width: 34px; height: 34px; }
  #about .feat h3 { font-size: min(16.5px, 4.4vw); line-height: 1.55; } /* 360px でも題の 2 行目を 1 行に収める */
  #about .feat p { grid-column: 1 / -1; margin-top: 0; font-size: 14px; line-height: 1.75; }
}
/* 合わせの直し（2026-11-26）：340px 以下で、配信の札の題が「一人ひとり違う一通／を」と割れるので、一段小さくする */
@media (max-width: 340px) {
  #about .dia-out b { font-size: 15px; }
}
/* ==== SP:about end ==== */

/* ==== SP:steps start ==== */
/* しくみ（#how・Step 1〜4）のスマホ（幅 640px 以下）。ここの規則は全部 640px 以下の中で、641px 以上は変えない。
   4 つの Step を、横に送る列にする（共通の部品 SP:swipe の .sw。HTML の .steps に class="sw"。部品の点は data-sw-nav="none" で出さない）。
   列の上に「Step 1〜4」の印（main.js が作る。押すとその Step へ送る・送ると今の Step の印が赤くなる）。
   1 枚＝番号・題・文（赤い面）＋絵（今の絵のまま）。列を 2 段の格子にし、札は 2 段にまたがる subgrid にして、
   赤い面の高さと絵の高さを、それぞれ 4 枚でそろえる（どの札を出していても、境目の高さ・札の高さ・下の注と赤い帯の位置が変わらない） */
@media (max-width: 640px) {
  #how .sh { margin-bottom: 26px; }

  /* 列：2 段（赤い面・絵）の格子を横に並べる。札の幅・札の間は部品と同じ式と変数 */
  #how .steps.sw { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: auto auto; grid-auto-columns: var(--sw-w, calc((100% + var(--sw-bleed, 20px) - var(--sw-peek, 32px)) / var(--sw-cols, 1) - var(--sw-gap, 12px))); row-gap: 0; column-gap: var(--sw-gap, 12px); }
  #how .steps.sw > .step { grid-row: span 2; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); border-radius: var(--r); box-shadow: var(--sh-s); }

  /* 赤い面：番号・題・文を上にそろえる（どの札でも、番号と題が同じ高さに来る）。題は元の 19px のまま。
     文は行の長さを釣り合わせる（札の幅で「一／人ずつ」「反応が／なかったか」と割れないように） */
  #how .step-copy { justify-content: flex-start; padding: 18px 18px 20px; }
  #how .step-copy h3 { margin-top: 9px; font-size: 19px; line-height: 1.5; }
  #how .step-copy p { margin-top: 8px; line-height: 1.75; text-wrap: balance; }

  /* 絵：字はそのまま、余白だけ詰める（札の幅で、施術の名前や理由の行が割れないように） */
  #how .step-ui { padding: 12px 10px; }
  #how .ui-bar { padding: 10px 14px; }
  #how .ui-list li, #how .ui-cand li { gap: 10px; padding: 9px 12px; }
  #how .ui-foot { padding: 9px 14px; }
  #how .ui-tl { padding: 14px 14px 12px 16px; }
  /* 電話の絵は、絵の段の高さいっぱいに伸ばす（上の端を、ほかの札の絵とそろえる）。幅は PC に近づけ、バナーを大きく見せる */
  #how .step-ui.is-phone { padding: 16px 10px 0; align-items: stretch; }
  #how .step-ui.is-phone .phone { display: flex; flex-direction: column; width: min(248px, 100%); }
  #how .step-ui.is-phone .phone-scr { flex: 1; min-height: 0; }

  #how .steps-note { margin-top: 0; }

  /* 列の上の印（main.js が作る）：Step 1〜4 を 1 行に 4 つ。押す所は高さ 44px。
     下に 4 本の細い線、今の Step の線と字が赤。赤い線は、列を送る指に合わせて横に動く（main.js が --p に 0〜3 を入れる） */
  #how .how-tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 6px; margin: 0 0 4px; }
  #how .how-tab { -webkit-appearance: none; appearance: none; position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; margin: 0; padding: 0 0 6px; border: 0; border-radius: 0; background: none; font-family: var(--num); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .06em; color: var(--ink-3); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  #how .how-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 999px; background: #cfc8c2; }
  #how .how-tab[aria-current="step"] { color: var(--red-d); }
  #how .how-tab:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
  #how .how-tabs-i { position: absolute; left: 0; bottom: 0; width: calc((100% - 18px) / 4); height: 4px; border-radius: 999px; background: var(--red-d); transform: translateX(calc(var(--p, 0) * (100% + 6px))); pointer-events: none; }
}
/* 幅 380px 以下：次の札の覗きを 24px にして札を 8px 広げ、絵の行の左右の余白を 2px ずつ詰める
   （絵の中の「スマートリフトRF」が途中で割れない・「最終来院から5週間・医師のおすすめが保留」が 2 行に収まるように） */
@media (max-width: 380px) {
  #how .steps.sw { --sw-peek: 24px; }
  #how .ui-list li, #how .ui-cand li { gap: 8px; padding-left: 10px; padding-right: 10px; }
}
/* 動き（動きを減らす設定のときは付けない）：
   ・印は、札（.rv）が下からふわりと出るのと一緒に出す（:has() が使えない環境では、最初から見えている）
   ・印の字の色は、ゆっくり替える
   ・送って新しい札が止まったとき、その札の絵の中身（判定の行・候補の行・届いたバナー・記録の行）を、上から順にふわりと出す（札ごとに 1 度だけ。main.js が .is-play を付け外しする） */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  #how .how-tabs { transition: opacity .6s ease, transform .6s ease; }
  html.js #how .how-tabs:has(+ .steps > .rv:not(.is-in)) { opacity: 0; transform: translateY(18px); }
  #how .how-tab { transition: color .25s ease; }
  #how .step.is-play .ui-list > li, #how .step.is-play .ui-cand > li, #how .step.is-play .ui-foot, #how .step.is-play .ui-tl > li { animation: howRow .42s cubic-bezier(.2, .7, .3, 1) both; }
  #how .step.is-play .ui-list > li:nth-child(2), #how .step.is-play .ui-cand > li:nth-child(2), #how .step.is-play .ui-tl > li:nth-child(2) { animation-delay: .08s; }
  #how .step.is-play .ui-list > li:nth-child(3), #how .step.is-play .ui-cand > li:nth-child(3), #how .step.is-play .ui-tl > li:nth-child(3) { animation-delay: .16s; }
  #how .step.is-play .ui-list > li:nth-child(4), #how .step.is-play .ui-foot { animation-delay: .24s; }
  #how .step.is-play .phone-msgs > img { animation: howMsg .5s cubic-bezier(.2, .7, .3, 1) .05s both; }
  @keyframes howRow { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes howMsg { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
}
/* ==== SP:steps end ==== */

/* ==== SP:signals start ==== */
/* 毎朝見ているもの（#reads）のスマホ表示（2026-11-26・5 回目）。641px 以上の見た目は変えない
   9 つの札＝2 列の小さな札（上の行にアイコンと題、下に文）。来院と予約の 5 つ目は 2 列ぶんの幅にして、欠けて見えないようにする（1 回目のまま）。
   比べ（これまでの配信との違い）＝「これまでの配信」と「RepeatOne」の切り替え（上に切り替えのボタン、下に A・B・C の 3 人の箱）。
     同じ 3 人への 1 通が、その場で「全員に、同じ1通」から「一人ひとりに、違う1通」に変わる。箱の地も PC の列と同じく、灰 → 赤い枠の白に変わる。
     「これまでの配信」の側では、患者さんの説明を薄くする（カルテに関係なく送るため）。
     最初は「これまでの配信」。表がほぼ見えて 1.2 秒たつと、1 回だけ「RepeatOne」に切り替わる。押せば何度でも切り替えられる
     （main.js の SP:signals が、表に .is-tg と、今の側 .is-old／.is-new を付ける）。2 つの 1 通は同じ所に重ね、片方だけ見せる（切り替えても高さが変わらない）。
     JS が動かないときは、元の 1000px 以下の形（患者さんごとの札に、これまでの配信と RepeatOne を上下に）のまま。
     （2〜4 回目＝1 人ずつ横に送る・患者さんごとの段で左右に並べる・2 つの箱を上下に並べる、はどれも分かりづらかった。水戸さん 11/26「私の与えた制約は気にせずにもう一回作って」）
   HTML の包み（.vs-cs＝3 人分・.vs-c＝1 人分）は、どの幅でも display: contents（包みが無いのと同じ。PC の表とタブレットの縦の並びは元のまま） */
#reads .vs-cs, #reads .vs-c { display: contents; }
@media (max-width: 640px) {
  #reads .sh { margin-bottom: 30px; }
  #reads .reads-g + .reads-g { margin-top: 20px; }
  #reads .reads-gt { margin-bottom: 10px; }
  #reads .reads.r5, #reads .reads.r4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #reads .read { grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 5px; align-items: center; align-content: start; padding: 11px 10px 12px 11px; }
  #reads .read .ib { grid-row: auto; width: 28px; height: 28px; }
  #reads .read .ib svg { width: 28px; height: 28px; stroke-width: 2; }
  #reads .read h3 { font-size: 14px; line-height: 1.45; }
  #reads .read p { grid-column: 1 / -1; font-size: 12px; line-height: 1.6; text-wrap: balance; }
  #reads .reads.r5 .read:last-child { grid-column: 1 / -1; }
  #reads .reads.r5 .read:last-child h3 br { display: none; }

  #reads .vs { margin-top: 40px; }
  #reads .vs-t { margin: 2px 0 16px; }
  #reads .vs-note { margin-top: 10px; }

  /* ---- 比べ：切り替え（JS が .is-tg を付けたときだけ） ---- */
  #reads .vs-tb.is-tg { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; max-width: none; }
  /* 切り替えのボタン：灰の地（::before）の上を、つまみ（::after）が左右に動く。その上に 2 つの見出し（押すと切り替わる） */
  #reads .vs-tb.is-tg::before, #reads .vs-tb.is-tg::after { content: ""; grid-row: 1; grid-column: 1 / -1; }
  #reads .vs-tb.is-tg::before { background: #ebe7e3; border-radius: 14px; }
  #reads .vs-tb.is-tg::after { z-index: 1; width: calc(50% - 4px); margin: 4px; border-radius: 11px; background: #fff; box-shadow: 0 2px 6px rgba(60, 40, 30, .16); }
  #reads .vs-tb.is-tg.is-new::after { transform: translateX(100%); background: var(--red-d); box-shadow: 0 4px 12px rgba(170, 30, 24, .3); }
  #reads .is-tg .vs-h.old, #reads .is-tg .vs-h.new { position: relative; z-index: 2; display: flex; grid-row: 1; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 58px; padding: 8px 6px; text-align: center; color: var(--ink-3); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .3s ease; }
  #reads .is-tg .vs-h.old { grid-column: 1; }
  #reads .is-tg .vs-h.new { grid-column: 2; }
  #reads .is-tg .vs-h b { padding: 0; background: none; border-radius: 0; font-size: 13.5px; color: inherit; }
  #reads .is-tg .vs-h span { font-size: 11.5px; letter-spacing: .02em; color: inherit; white-space: nowrap; }
  #reads .is-tg.is-old .vs-h.old { color: var(--ink); }
  #reads .is-tg.is-new .vs-h.new { color: #fff; }
  #reads .is-tg .vs-h:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 11px; }
  /* 箱：ボタンの下。地は PC の列と同じ（これまでの配信＝灰・RepeatOne＝赤い枠の白）。2 枚の地を重ね、切り替えると入れ替わる */
  #reads .is-tg .vs-h.who { display: none; }
  #reads .is-tg .vs-bg { display: block; grid-row: 2 / 9; grid-column: 1 / -1; margin-top: 12px; border-radius: var(--r); transition: opacity .35s ease; }
  #reads .is-tg .vs-bg.new { box-shadow: 0 10px 24px rgba(170, 30, 24, .1); }
  #reads .is-tg.is-old .vs-bg.new, #reads .is-tg.is-new .vs-bg.old { opacity: 0; }
  /* 中身の段：2・4・6＝患者さん／3・5・7＝その方への 1 通（これまでの配信と RepeatOne を同じ所に重ねる）／8＝下の文（これも重ねる） */
  #reads .is-tg .vs-p, #reads .is-tg .vs-m, #reads .is-tg .vs-f { grid-column: 1 / -1; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  #reads .is-tg .vs-p { display: flex; align-items: center; gap: 10px; padding: 14px 16px 8px; }
  #reads .is-tg .vs-p.vr1 { grid-row: 2; margin-top: 12px; padding-top: 18px; }
  #reads .is-tg .vs-p.vr2 { grid-row: 4; }
  #reads .is-tg .vs-p.vr3 { grid-row: 6; }
  #reads .is-tg .vs-m.vr1 { grid-row: 3; }
  #reads .is-tg .vs-m.vr2 { grid-row: 5; }
  #reads .is-tg .vs-m.vr3 { grid-row: 7; }
  #reads .is-tg .vs-m { display: flex; flex-direction: column; align-items: stretch; padding: 0 16px 4px 56px; transition: opacity .35s ease, visibility .35s; }
  #reads .is-tg .vs-f { grid-row: 8; align-self: center; padding: 12px 16px 18px; font-size: 13px; line-height: 1.7; transition: opacity .35s ease, visibility .35s; }
  #reads .is-tg.is-old .vs-m.new, #reads .is-tg.is-old .vs-f.new, #reads .is-tg.is-new .vs-m.old, #reads .is-tg.is-new .vs-f.old { opacity: 0; visibility: hidden; }
  /* 吹き出しの上の小さな見出しは、ボタンと同じなので読み上げだけに残す（PC と同じ） */
  #reads .is-tg .vs-lb { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* 患者さん：丸い印の右に、名前と説明。「これまでの配信」の側では説明を薄く */
  #reads .is-tg .vs-p .ava { width: 30px; height: 30px; font-size: 13px; }
  #reads .is-tg .vs-p p { font-size: 13px; line-height: 1.6; transition: opacity .35s ease; }
  #reads .is-tg .vs-p p b { font-size: 14px; line-height: 1.5; }
  #reads .is-tg .vs-p .nw { white-space: nowrap; }
  #reads .is-tg.is-old .vs-p p { opacity: .5; }
  /* 1 通の吹き出し：重ねた 2 つは同じ高さ（高い方）。これまでの配信は、字を上下の真ん中に */
  #reads .is-tg .vs-m .b { flex: 1; border-radius: 12px 12px 12px 4px; }
  #reads .is-tg .vs-m.old .b { display: flex; flex-direction: column; justify-content: center; padding: 10px 12px; background: #fff; font-size: 13.5px; line-height: 1.55; letter-spacing: 0; font-feature-settings: "palt"; }
  #reads .is-tg .vs-m.old .nw { white-space: nowrap; }
  #reads .is-tg .vs-m.new .b { gap: 10px; padding: 10px 12px; }
  #reads .is-tg .vs-m.new .ib { width: 30px; height: 30px; }
  #reads .is-tg .vs-m.new .ib .ico { width: 16px; height: 16px; }
  #reads .is-tg .vs-m.new p { font-size: 14px; line-height: 1.55; letter-spacing: 0; font-feature-settings: "palt"; }
  #reads .is-tg .vs-m.new small { font-size: 12px; }
  #reads .is-tg .vs-m.new em { white-space: nowrap; }
  #reads .is-tg .vs-f.new { font-size: 13.5px; }
  #reads .is-tg .vs-f .nw { white-space: normal; }
}
/* 動き（動きを減らす設定のときは付けない）：つまみが滑る。RepeatOne に切り替わったら、蛍光ペンの印を左から引く */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  #reads .vs-tb.is-tg::after { transition: transform .35s cubic-bezier(.3, .7, .4, 1), background-color .35s ease, box-shadow .35s ease; }
  #reads .is-tg .vs-m.new em { background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .7s cubic-bezier(.3, .7, .4, 1) .35s; }
  #reads .is-tg.is-new .vs-m.new em { background-size: 100% 100%; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  #reads .is-tg .vs-bg, #reads .is-tg .vs-m, #reads .is-tg .vs-f, #reads .is-tg .vs-p p, #reads .is-tg .vs-h { transition: none; }
}
/* 380px 以下：札の題が 3 行にならないように、アイコンと題を一段小さくする（1 回目のまま） */
@media (max-width: 380px) {
  #reads .read { grid-template-columns: 24px minmax(0, 1fr); column-gap: 6px; padding: 11px 8px 12px 10px; }
  #reads .read .ib, #reads .read .ib svg { width: 24px; height: 24px; }
  #reads .read h3 { font-size: 13.5px; }
}
/* ==== SP:signals end ==== */

/* ==== SP:knowhow start ==== */
/* Know-how（#features）のスマホ表示（第 6 版・2026-11-26）。641px 以上は変えない
   PC の全体図（記録と判断基準 → AI → 提案の型の箱）を、縦に組み直す：
   ・患者さんの記録（全幅）＋ 判断基準（「美容医療のノウハウ」だけ。例は書かない＝PC も同じ）→ ▼
   ・AI＝円を真ん中に置き、判断 3 つはその下に小さな札で並べる（PC と同じ並び）→ ▼
   ・提案の型＝PC と同じ白い箱。題は「提案の型（例）」、注はその下に小さな灰の字。16 件を縦 4 段で横に送る（1 列＝4 件。次の列が右に覗く）
   列が初めて画面に入ると、「この方には、これ」の札の列まで 1 回だけゆっくり送る（main.js の SP:knowhow）。
   （経緯：水戸さん 11/26「ブロックはせめて 4 行に」「美容医療のノウハウが 2 つは微妙」「PC で補足的に書いたものが補足ではない大きさで出ている」
     「判断基準の例は良い例になっておらず、提案の型と被る」→ 判断基準の札は残して例を書かず、型の箱の題の上の「美容医療のノウハウから作った」は PC からも外した） */
@media (max-width: 640px) {
  /* 入力の 2 枚：記録と判断基準を縦に並べる。判断基準の札の下から AI へ ▼ */
  #features .km-p { max-width: none; grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* 2 枚の間に「＋」（記録と判断基準をあわせて AI が読む） */
  #features .km-p .km-k { order: 2; }
  #features .km-p::after { display: block; order: 1; position: relative; z-index: 1; top: auto; right: auto; bottom: auto; left: auto; width: 22px; height: 22px; margin: -4px auto; border: 0; border-radius: 50%; box-shadow: 0 0 0 3px var(--gray-bg); background: var(--red-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5.5v9M5.5 10h9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
  #features .km-p .karte { box-shadow: var(--sh-s); }
  /* 患者さんの記録：全幅。項目名の右に中身 */
  #features .km-p .karte-h { padding: 5px 12px; font-size: 11.5px; letter-spacing: .04em; }
  #features .km-p .karte-r { grid-template-columns: 5em minmax(0, 1fr); column-gap: 6px; padding: 7px 12px; }
  #features .km-p .karte-r dt { padding-top: 1px; font-size: 12px; }
  #features .km-p .karte-r dd { font-size: 14px; line-height: 1.6; }
  /* 判断基準 */
  #features .km-kt { padding: 9px 12px 11px; font-size: 15px; }
  /* AI：円を真ん中に、判断 3 つはその下に横に並べる（入りきらない分は次の行）。▼ は円の上（判断基準の札から）と、判断の下（型の箱へ） */
  #features .km-ai { flex-direction: column; align-items: center; gap: 12px; padding: 28px 0 26px; }
  #features .km-ai::before, #features .km-ai::after { left: 50%; right: auto; margin: 0 0 0 -9px; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 12px solid var(--red-d); border-bottom: 0; }
  #features .km-ai::before { top: 9px; }
  #features .km-ai::after { top: auto; bottom: 6px; }
  /* 円は PC（104px）より少し小さく。「毎朝、読んで判断」が円の中に収まる大きさ（字は PC と同じ 11px） */
  #features .km-core { flex: none; width: 100px; height: 100px; }
  #features .km-core b { font-size: 27px; }
  #features .km-core small { font-size: 11px; font-feature-settings: "palt"; white-space: nowrap; }
  #features .km-j { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: auto; max-width: none; margin: 0; }
  #features .km-j { gap: 5px; }
  #features .km-j li { padding: 2px 7px; font-size: 11.5px; line-height: 1.6; letter-spacing: 0; border-color: #f0d3cf; } /* 390px 以上では 1 行に収まる */
  /* 提案の型：PC と同じ白い箱。列は箱の中で横に送る（左右の端は箱の内側の余白まで＝--sw-bleed: 16px）。
     min-width: 0＝横に送る列の中身の幅で、図の列（.km の 1fr）が広がらないように */
  #features .km-m { --sw-bleed: 16px; min-width: 0; padding: 16px 16px 2px; background: #fff; border-radius: var(--r-l); box-shadow: var(--sh); }
  /* 題：「提案の型（例）」。注はその下に、補足の大きさで（地の色を付けない小さな灰の字） */
  #features .km-mt { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 0; }
  #features .km-mt b { font-size: 17px; }
  #features .km-mn { margin: 0; padding: 0; background: none; border-radius: 0; color: var(--ink-3); font-size: 12px; font-weight: 500; line-height: 1.6; letter-spacing: .02em; }
  /* 列：縦 4 段で横に送る（1 列＝4 件。札の高さは全部そろう）。上の余白は、「この方には、これ」の印（札の上に 11px はみ出す）が切れない分 */
  /* 列の間 16px＝箱の内側の余白と同じ。止まったとき、前の列の端（4px）が箱の左に覗かないように */
  #features .km-l.sw { --sw-cols: 1; --sw-gap: 16px; grid-template-rows: repeat(4, 1fr); row-gap: 8px; padding-top: 18px; }
  #features .km-l li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-content: center; padding: 9px 12px 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; }
  #features .km-l small { font-size: 12px; }
  #features .km-l b { font-size: 14px; }
  #features .km-l .tg { grid-column: 2; grid-row: 1 / 3; justify-self: end; margin-top: 0; font-size: 12px; }
  #features .km-l li.on { padding: 8px 11px 9px 13px; border: 2px solid var(--red-d); background: var(--pink); box-shadow: 0 8px 18px rgba(170, 30, 24, .14); }
  #features .km-l li.on i { right: 12px; font-size: 12px; }
  /* 自動で送っている間だけ、止まる所を外す（main.js が付け外し。止まる所に 1 こまずつ吸い寄せられて、動きが段になるのを防ぐ） */
  #features .km-l.is-auto { scroll-snap-type: none; }
}
/* 送り終えたとき、選ばれた札の枠が 1 度だけ赤く広がって消え、印が小さく弾む（AI の円の輪と同じ赤）。動きを減らす設定のときは付けない */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  #features .km-l > li.on.is-pick { animation: khPick .9s ease-out; }
  #features .km-l > li.on.is-pick i { animation: khPickI .5s ease-out; }
  @keyframes khPick { from { box-shadow: 0 8px 18px rgba(170, 30, 24, .14), 0 0 0 0 rgba(226, 54, 48, .45); } to { box-shadow: 0 8px 18px rgba(170, 30, 24, .14), 0 0 0 12px rgba(226, 54, 48, 0); } }
  @keyframes khPickI { 0% { transform: scale(.7); } 60% { transform: scale(1.08); } 100% { transform: none; } }
}
/* 380px 以下：札の幅が狭くなるので、特典の印は送る内容の下に置く（「お悩み・医師の／おすすめがある」のように割れないように） */
@media (max-width: 380px) {
  #features .km-l li { grid-template-columns: minmax(0, 1fr); }
  #features .km-l .tg { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; }
}
/* ==== SP:knowhow end ==== */

/* ==== SP:experience start ==== */
/* 患者さんの体験（#safety）のスマホ：6 枚の札を 2 列×3 段の小さな札にする。
   札の中は、印 → 題 → 文を縦に積んで左にそろえる（横に並べると、題が細い列で 3 行に割れるため）。
   同じ段の 2 枚は、表の行で高さがそろう。説明文・データ管理の文・ボタンは、字はそのままで余白だけ詰める */
@media (max-width: 640px) {
  #safety.sec { padding: 40px 0; }
  #safety .box-pink { padding: 34px 16px 26px; }
  #safety .sh { margin-bottom: 24px; }
  /* 札の列だけ、左右に 4px ずつ広げる（説明文とデータ管理の文の幅と折り返しは、直す前のまま） */
  #safety .safes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 -4px; }
  #safety .safe { display: block; padding: 14px 12px 15px; text-align: left; }
  #safety .safe .ib { width: 36px; height: 36px; margin: 0 0 8px; }
  #safety .safe .ib .ico { width: 19px; height: 19px; }
  #safety .safe h3 { font-size: 15px; line-height: 1.45; letter-spacing: .02em; }
  #safety .safe p { margin-top: 5px; font-size: 13px; line-height: 1.65; letter-spacing: .02em; text-wrap: pretty; }
  #safety .safe-data { margin-top: 24px; }
  #safety .safe-data + .center { margin-top: 16px; }
}
/* 札の題の改行（HTML の <br>）は、題が 2 行に割れる幅（480px 以下）でだけ使う。
   Safari は句の切れ目で折り返さない（word-break: auto-phrase がない）ので、「同じ施術を続／けて」のように語の途中で割れるのを防ぐ */
@media (min-width: 481px) and (max-width: 640px) {
  #safety .safe h3 br { display: none; }
}
/* 合わせの直し（2026-11-26）：2 列の札を「毎朝見ているもの」（#reads）・「RepeatOneとは」の 2×2 とそろえる
   （札の間 8px・余白・印 28px・題 14px・文 12px）。題が長いので、印は題の上に置いたまま */
@media (max-width: 640px) {
  #safety .safes { gap: 8px; }
  #safety .safe { padding: 11px 10px 12px 11px; }
  #safety .safe .ib { width: 28px; height: 28px; margin: 0 0 7px; }
  #safety .safe .ib .ico { width: 16px; height: 16px; }
  #safety .safe h3 { font-size: 14px; line-height: 1.45; }
  #safety .safe p { margin-top: 5px; font-size: 12px; line-height: 1.6; }
}
@media (max-width: 380px) {
  #safety .safe { padding: 11px 8px 12px 10px; }
  #safety .safe h3 { font-size: 13.5px; }
}
/* 1 枚目の文は「」」の後ろと「、」の後ろでだけ折り返す（「…したのに」と／いう…」と割れないように）。
   341px 未満では「「もう予約したのに」」が 1 行に入らないので、ふつうの折り返しのまま */
@media (min-width: 341px) and (max-width: 640px) {
  #safety .safe:first-child p { word-break: keep-all; }
}
/* ==== SP:experience end ==== */

/* ==== SP:problem start ==== */
/* お悩み（#problem）のスマホ（幅 640px 以下）。641px 以上は変えない。
   札 4 枚＝横に送る列（共通の部品 SP:swipe の .sw。HTML の ul に class="sw"）。1 枚ずつ見せ、次の札が右に覗き、下に点。
   札の中は PC と同じ形（左に印・右に文）。原因の箱は、字はそのままで、余白と字の段だけ整える */
@media (max-width: 640px) {
  #problem .sh { margin-bottom: 26px; }
  /* 1 枚ずつ読む列なので、強くはじいても 1 枚ずつ止まる（4 枚目まで飛ばない） */
  #problem .sw > * { scroll-snap-stop: always; }
  #problem .check { gap: 12px; padding: 18px 18px 20px 16px; }
  #problem .check small { margin-top: 6px; font-size: 14px; line-height: 1.7; text-wrap: balance; }
  /* 原因の箱：▲を小さくして上の余白を詰める。「全員に同じ内容」を 1 つの白い帯のまま 1 行目に置き、2 行目を「送っていること。」から始める */
  #problem .cause { margin-top: 30px; padding: 24px 20px 26px; }
  #problem .cause::before { top: -20px; margin-left: -16px; border-left-width: 16px; border-right-width: 16px; border-bottom-width: 20px; }
  #problem .cause p:first-child { font-size: 21px; line-height: 1.55; text-wrap: wrap; }
  #problem .cause p:first-child em, #problem .cause p:first-child .nw { white-space: nowrap; }
  #problem .cause p + p { margin-top: 12px; font-size: 15px; line-height: 1.8; }
}
/* 360px 以上（360px 未満は入らないので、ふつうの折り返しのまま）：
   ・赤い句（「再来院につながらない…」など）は 2 行目に 1 行で置く（380px 以下でも割らない）
   ・原因の箱の下の文は「、」「。」の後ろでだけ折り返す（Safari でも「ペ／ース」のように語の途中で割れないように。念のため、入らないときはどこでも折り返す） */
@media (min-width: 360px) and (max-width: 640px) {
  #problem .check p .nw { white-space: nowrap; }
  #problem .cause p + p { word-break: keep-all; overflow-wrap: anywhere; }
}
/* 380px 以下：札の 1 行目（最長 14 字）が 1 行に入るように、札の余白と印の後ろの間を詰める */
@media (max-width: 380px) {
  #problem .check { gap: 10px; padding: 16px 14px 18px; }
}
/* 動き（動きを減らす設定のときは付けない）：今の札の印（チェック）が、札が止まるたびに小さく弾む */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  #problem .checks.is-in > .check.is-cur::before { animation: pbTick .5s cubic-bezier(.34, 1.56, .64, 1) both; }
  @keyframes pbTick { 0% { transform: scale(.5); } 100% { transform: none; } }
}
/* ==== SP:problem end ==== */

/* ==== SP:flow start ==== */
/* 導入の流れ（#flow）のスマホ（幅 640px 以下）。641px 以上は変えない。
   4 段を 1 目で見える低い縦の段にする：左に番号の丸を縦の線でつなぎ、右に札（1 行目＝題と担当の印、2 行目＝1 行の文）。
   絵（.ib）は飾りなので、スマホでは出さない（番号と線で順番を見せる）。
   動き：線と丸は、ページを下へ送るのに合わせて上から赤く灯る（main.js の SP:flow が #flow に .is-track を付けたときだけ。
   動かないとき・動きを減らす設定のときは、最初から全部灯ったまま） */
@media (max-width: 640px) {
  #flow .sh { margin-bottom: 28px; }
  #flow .sh .lead { word-break: keep-all; } /* 「。」「、」の後ろでだけ折り返す（「お願い／するのは」と割れないように） */
  #flow .flow { gap: 12px; padding-left: 40px; }
  #flow .flow-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-items: center; text-align: left; padding: 13px 14px 14px 16px; }
  #flow .flow-i .ib { display: none; }
  #flow .flow-i h3 { grid-column: 1; grid-row: 1; margin: 0; font-size: 17px; line-height: 1.5; }
  #flow .flow-i .by { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
  #flow .flow-d { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 14px; line-height: 1.6; letter-spacing: .02em; text-wrap: wrap; }
  #flow .flow-i .nw { white-space: nowrap; } /* 2 行になる幅では、句の切れ目（「、」の後ろなど）で折り返す */
  /* 番号の丸（札の左の外。題の行の高さの中ほど） */
  #flow .flow-i .no { display: flex; align-items: center; justify-content: center; position: absolute; z-index: 1; left: -40px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--red-d); color: #fff; font-size: 13px; letter-spacing: 0; }
  /* 丸と丸をつなぐ線（下地の灰の線と、その上の赤い線）。丸の中心から次の丸の中心まで */
  #flow .flow-i:not(:last-child)::before, #flow .flow-i:not(:last-child)::after { content: ""; display: block; position: absolute; left: -26px; right: auto; top: 25px; bottom: -37px; width: 2px; height: auto; margin: 0; border: 0; border-radius: 1px; }
  #flow .flow-i:not(:last-child)::before { background: #cfc8c2; }
  #flow .flow-i:not(:last-child)::after { background: var(--red-d); transform: scaleY(var(--fp, 1)); transform-origin: 50% 0; }
  /* まだ灯っていない丸（.is-track のときだけ） */
  #flow.is-track .flow-i:not(.is-on) .no { background: #fff; color: var(--ink-3); box-shadow: inset 0 0 0 2px #cfc8c2; }
}
/* 380px 以下：文（最長 19 字）を 1 行に収めるため、丸を一回り小さくし、札の余白と文の字を少し詰める（札の中の補いの字として 13px） */
@media (max-width: 380px) {
  #flow .flow { padding-left: 36px; }
  #flow .flow-i { padding: 12px 12px 13px 14px; }
  #flow .flow-i .no { left: -36px; top: 11px; width: 28px; height: 28px; font-size: 12.5px; }
  #flow .flow-i:not(:last-child)::before, #flow .flow-i:not(:last-child)::after { left: -23px; top: 25px; bottom: -37px; }
  #flow .flow-d { font-size: 13px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  #flow .flow-i .no { transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
  #flow.is-track .flow-i.is-on .no { animation: flPop .45s cubic-bezier(.34, 1.56, .64, 1) both; }
  @keyframes flPop { 0% { transform: scale(.7); } 100% { transform: none; } }
}
/* ==== SP:flow end ==== */

/* ==== SP:price start ==== */
/* 料金（#price）のスマホ（幅 640px 以下）。641px 以上は変えない。
   上の 3 つ（初期費用＋月額費用＋従量料金なし）＝3 つが 1 目で見える低い行（題を左・文を右の 1 件 1 行）。行の間に赤い丸の「＋」。
   （横に送る列にすると、式の 3 つのうち 1 つしか見えず、「＋」も 1 枚の札になって止まる所が 5 つになるため、低い行にした）
   下の枠＝印 → 3 つの特典を 3 列（小さな題の下に大きな字）→ 資料の案内 → ボタン。余白と段を詰めて、1 画面の中で読めるようにする */
@media (max-width: 640px) {
  #price .sh { margin-bottom: 22px; }
  #price .sh .lead { margin-top: 10px; }
  /* 低い行：題（左・幅をそろえる）と文（右）。PC の札の上の赤い帯は、行の左の帯にする */
  #price .price-eq { gap: 0; }
  #price .pbox { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 10px 14px 10px 12px; text-align: left; border-top: 0; border-left: 4px solid var(--red-d); }
  #price .pbox h3 { font-size: 16px; line-height: 1.45; }
  #price .pbox p { margin-top: 0; font-size: 14px; line-height: 1.6; text-wrap: pretty; }
  #price .pbox.none { border: 2px dashed #e3c6c2; padding-left: 14px; }
  #price .pbox.none h3 span { display: inline-block; margin: 3px 0 0; padding: 0 10px; font-size: 13px; line-height: 1.7; }
  /* 「＋」：行と行の間に、赤い丸で重ねる（白い縁で札と切り離す） */
  #price .price-eq .plus { position: relative; z-index: 1; align-self: center; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: -8px 0; border-radius: 50%; background: var(--red-d); color: #fff; font-size: 17px; font-weight: 500; line-height: 1; box-shadow: 0 0 0 3px #fff; }

  /* 下の枠 */
  #price .price-trial { margin-top: 18px; gap: 12px; padding: 16px 16px 18px; }
  #price .pt-of { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 12px; }
  #price .pt-of li { flex-direction: column; align-items: center; gap: 0; min-width: 0; padding: 0 2px; margin: 0; border-right: 1px solid var(--line); }
  #price .pt-of li:last-child { border-right: 0; }
  #price .pt-of small { font-size: 12px; line-height: 1.6; }
  #price .pt-of b { font-size: min(22px, 5.6vw); line-height: 1.35; } /* 3 列の幅に「特別価格」が収まる大きさ（390px で 22px・360px で 20px） */
  #price .price-trial p { margin-top: 8px; }
  #price .price-trial .cta-mc { font-size: 12px; } /* ボタンの上の小さな字（元は 11.5px）を、札の中の補いの字の下限 12px に */
}
/* 動き（動きを減らす設定のときは付けない）：画面に入ったとき、3 つの行が上から順に現れ、「＋」が小さく弾んで入る。
   下の枠は、3 つの特典の大きな字が順に現れる。どちらも 1 度だけ（main.js の出現の動き .rv.is-in に合わせる） */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  html.js #price .price-eq.rv > * { transition: opacity .45s ease, transform .45s ease; }
  html.js #price .price-eq.rv:not(.is-in) > * { opacity: 0; transform: translateY(14px); }
  html.js #price .price-eq.rv:not(.is-in) > .plus { transform: scale(.3); }
  html.js #price .price-eq.rv > :nth-child(2) { transition-delay: .16s; transition-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
  html.js #price .price-eq.rv > :nth-child(3) { transition-delay: .24s; }
  html.js #price .price-eq.rv > :nth-child(4) { transition-delay: .40s; transition-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
  html.js #price .price-eq.rv > :nth-child(5) { transition-delay: .48s; }
  html.js #price .price-trial.rv .pt-of b { transition: opacity .4s ease, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
  html.js #price .price-trial.rv:not(.is-in) .pt-of b { opacity: 0; transform: scale(.7); }
  html.js #price .price-trial.rv .pt-of li:nth-child(1) b { transition-delay: .25s; }
  html.js #price .price-trial.rv .pt-of li:nth-child(2) b { transition-delay: .37s; }
  html.js #price .price-trial.rv .pt-of li:nth-child(3) b { transition-delay: .49s; }
}
/* ==== SP:price end ==== */

/* ==== SP:seminar start ==== */
/* セミナー（#seminar）のスマホ（幅 640px 以下）。641px 以上は変えない。
   全 3 回を、回ごとの札にして横に送る列にする（共通の部品 SP:swipe の .sw。HTML の ul.sem-list に class="sw"）。
   main.js（SP:seminar）が、第 1 回（a.sem-main）を列の最初の札（li.sem-first）に入れる。JS が動かないときは、第 1 回は列の上に今の形のまま残り、列は第 2 回・第 3 回の 2 枚で送れる。
   札の形：上に絵（第 1 回＝今の赤い帯の絵／第 2・3 回＝桃色の面に年月と回）、下に印・題・補い。札の高さは列の中でそろい、第 2・3 回の桃色の面がその分伸びる */
@media (max-width: 640px) {
  #seminar .sh { margin-bottom: 26px; }
  /* 第 2・3 回の札 */
  #seminar .sem-list .sem-item { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; background: #fff; border-radius: var(--r); box-shadow: var(--sh-s); overflow: hidden; }
  #seminar .sem-item .sem-th { flex: 1 0 auto; aspect-ratio: auto; min-height: 104px; border: 0; border-bottom: 1px solid var(--pink-2); border-radius: 0; gap: 2px; }
  #seminar .sem-item .sem-th b { font-size: 44px; }
  #seminar .sem-item .sem-th small { margin-top: 2px; font-size: 14px; }
  #seminar .sem-item > div:last-child { padding: 12px 16px 16px; }
  #seminar .sem-item h3 { margin-top: 6px; font-size: 15.5px; line-height: 1.6; }
  #seminar .sem-item p { margin-top: 4px; font-size: 12.5px; line-height: 1.7; }
  /* 第 1 回の札（JS が li.sem-first に入れたとき）：赤い帯の絵を札の上に敷き、印と題をその下に。
     札全体が自費研のページへのリンク。キーボードで来たときの枠が札の外に見えるよう、札では overflow を切らず、絵の上の角だけ丸める */
  #seminar .sem-first { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); box-shadow: var(--sh-s); }
  #seminar .sem-first .sem-main { flex: 1 0 auto; display: flex; flex-direction: column; border-radius: var(--r); }
  #seminar .sem-first .sem-bn { flex: 1 0 auto; border-radius: var(--r) var(--r) 0 0; box-shadow: none; padding: 18px 16px 16px; gap: 14px; }
  #seminar .sem-first .sem-st { align-self: flex-start; margin: 12px 16px 0; }
  #seminar .sem-first h3 { margin: 6px 16px 16px; font-size: 15.5px; line-height: 1.6; }
  /* 列の下の注 */
  #seminar .sem-note { margin-top: 4px; }
  /* 合わせの直し（2026-11-26）：第 2 回・第 3 回の札の、桃色の面と白い面の境目の高さをそろえる（第 2 回を見ているとき、右に覗く第 3 回の境目がずれて見えたため）。
     列を 2 段（上＝絵・下＝文）の表にし、第 2・3 回の札は subgrid で段に載せる。第 1 回の札は 2 段にまたがり、背の高さの差は上の段（桃色の面）が受ける。
     札の幅・札の間は部品と同じ式と変数（subgrid がない環境では、今までどおり札の高さだけそろう） */
  #seminar .sem-list.sw { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: 1fr auto; grid-auto-columns: var(--sw-w, calc((100% + var(--sw-bleed, 20px) - var(--sw-peek, 32px)) / var(--sw-cols, 1) - var(--sw-gap, 12px))); row-gap: 0; column-gap: var(--sw-gap, 12px); }
  #seminar .sem-list.sw > .sem-item { grid-row: span 2; display: grid; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); }
  #seminar .sem-list.sw > .sem-first { grid-row: span 2; }
}
/* 380px 以下：第 1 回の札の絵の題（「手動のシナリオ配信はもう不要」の 1 行）が、札の幅に収まらず 2 行に割れるので、一段小さくする */
@media (max-width: 380px) {
  #seminar .sem-first .sem-bn .ttl { font-size: 18px; }
}
/* ==== SP:seminar end ==== */
