/* ============================================================
   snekke-kit 共通CSS
   ------------------------------------------------------------
   ★規律：ブランド色の直値をここに書かない。色は必ず var() を参照する
     （トークンは parts/theme.php が site.php の3色から生成する）。
     白の透過rgba等、ブランドと無関係な値だけ直値でよい。
   ★アニメは opacity / transform に限定（レイアウトを動かさない＝CLSゼロ）。
     prefers-reduced-motion: reduce で全停止する。
   ============================================================ */

/* ── フォント（欧文のみself-host。和文はシステムスタック＝theme.php） ── */
@font-face {
  font-family: 'BrandEn';
  src: url('/assets/fonts/brand-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ── リセット・ベース ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  line-break: strict;                 /* 日本語の禁則処理（実測で効かせる） */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.en { font-family: var(--font-en); letter-spacing: .04em; }
.pc-br { display: none; }
@media (min-width: 768px) { .pc-br { display: inline; } }

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

/* ── スクロール出現（[data-rev]）──────────────────────────── */
/* JS無効時は最初から見える。html.js が付いた時だけ隠す（header.phpの前提クラス） */
html.js [data-rev] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.65,.3,1);
  transition-delay: var(--d, 0s);
}
html.js [data-rev].on,
html.js.rev-safe [data-rev] { opacity: 1; transform: none; }

/* ── ボタン・テキストリンク ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--band); color: var(--on-band);
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  padding: 16px 34px; border: 1px solid var(--band);
  border-radius: var(--r-btn); cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn svg { width: 24px; height: 8px; transition: transform .25s ease; }
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn:hover svg { transform: translateX(5px); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 700; font-size: 14px;
}
.tlink svg { width: 22px; height: 7px; transition: transform .25s ease; }
.tlink:hover svg { transform: translateX(4px); }
.tlink__dn { transition: transform .25s ease; }
.tlink:hover .tlink__dn { transform: translateY(3px); }

/* ── セクション共通 ─────────────────────────────────────────
   ★余白は全セクションで同じclampスケールに乗せる（画面幅に応じて一緒に伸縮させ、
     セクション間で高さのバランスが崩れないようにする）。個別のpxは書かない。 */
.sec { padding-block: var(--pad-sec); background: var(--bg); }
.sec--tint { background: var(--tint-1); }
:root { --pad-sec: clamp(58px, 7vw, 100px); }

/* 英字ラベル＋日本語見出しの組（カンプの共通パターン） */
.lbl {
  color: var(--brand); font-family: var(--font-en);
  font-weight: 700; font-size: 13px; letter-spacing: .14em;
  margin-bottom: 10px;
}
.lbl--line { display: inline-flex; align-items: center; gap: 12px; }
.lbl--line::after {
  /* ★色はラベル自身に追従させる（currentColor）。--brand 固定だと
     .msg（濃紺グラデ）や .lbl--onband の帯で線が背景に沈む。
     .fv__lbl::before と同じ作法に揃えた（2026-08-18 ダッチ） */
  content: ''; width: 34px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left center; transition: transform .6s ease .3s;
}
html.js [data-rev].on .lbl--line::after,
html:not(.js) .lbl--line::after,
html.rev-safe .lbl--line::after { transform: scaleX(1); }
.lbl--onband { color: var(--brand-l); }
.sec__h { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
/* セクション見出し行（左=ラベル+見出し／右=補足の一文） */
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec__note { font-size: 14px; color: var(--muted); }
/* ★見出しの直後に本文が続くときは必ず間を空ける（塊として分ける）。
   個別クラスごとに margin を書くとバラつくので、隣接セレクタで一括して効かせる */
.sec__h + p, .sec__h + div > p:first-child { margin-top: clamp(16px, 1.8vw, 24px); }

/* 濃紺帯 */
.band { background: var(--band-grad); color: var(--on-band); padding-block: calc(var(--pad-sec) * .88); }

/* ============================================================
   ヘッダー（白ソリッド・非オーバーレイ＝雛形0号の確定方針）
   ============================================================ */
.hd {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hd.stuck { box-shadow: 0 2px 16px var(--sh-1); }
.hd--hide { transform: translateY(-100%); }
.hd__in {
  max-width: var(--wrap); margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo--text {
  font-family: var(--font-en); font-weight: 800; font-size: 21px;
  letter-spacing: .02em; color: var(--ink);
}
.logo--light { color: #fff; }
.hd__r { display: flex; align-items: center; gap: 28px; }
.hd__nav { display: flex; gap: 28px; }
.hd__nav a {
  position: relative; font-size: 14px; font-weight: 600; letter-spacing: .05em;
  padding-block: 6px;
}
.hd__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd__cta {
  background: var(--band); color: var(--on-band);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 11px 22px; border-radius: var(--r-btn);
  transition: background .25s ease, color .25s ease;
}
.hd__cta:hover { background: var(--brand); color: var(--on-brand); }

/* バーガー（〜1024pxで表示） */
.burger { display: none; }
@media (max-width: 1024px) {
  .hd__nav, .hd__cta { display: none; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .burger i { display: block; height: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
  body.nav-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .burger i:nth-child(2) { opacity: 0; }
  body.nav-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ドロワー */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  overflow-y: auto; padding-top: 100px;
}
.drawer.on { opacity: 1; visibility: visible; transform: none; }
.drawer__in { padding: 0 32px 48px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  padding: 18px 4px; font-size: 17px; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.drawer__cta { margin-top: 32px; }
@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
}

/* ============================================================
   FV（写真＋キャッチ。ヘッダーの下に置く）
   ============================================================ */
.fv { position: relative; overflow: hidden; }
.fv__media { position: relative; height: min(78vh, 700px); overflow: hidden; }
.fv__img { width: 100%; height: 100%; object-fit: cover; }
/* 濃紺のベール（左ほど濃い）。文字の可読性を作る。色はトークン参照 */
.fv__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(95deg, var(--veil-1) 0%, var(--veil-2) 46%, var(--veil-3) 100%);
}
.fv__copy {
  position: absolute; left: 0; right: 0;
  top: 50%; transform: translateY(-50%);
  max-width: var(--wrap); margin-inline: auto; padding-inline: 32px;
  color: #fff;
}
.fv__lbl {
  display: flex; align-items: center; gap: 16px;
  color: var(--brand-l); font-weight: 600; font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .18em; margin-bottom: 22px;
}
.fv__lbl::before { content: ''; width: 42px; height: 1px; background: currentColor; flex-shrink: 0; }
.fv__catch {
  font-size: clamp(34px, 5.2vw, 58px); font-weight: 800;
  line-height: 1.45; letter-spacing: .05em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
/* ★行はSPでは縦に積み（意味の区切りで折れる）、PC（768px〜）では横に連結して1行にする。
   inline-block のままなので overflow:hidden が効き、行スライドの登場アニメも保たれる */
.fv__line { display: block; overflow: hidden; }
.fv__line > span { display: inline-block; }
@media (min-width: 768px) { .fv__line { display: inline-block; vertical-align: top; } }
.fv__sub {
  margin-top: 18px; font-size: clamp(14px, 1.6vw, 17px); font-weight: 600;
  letter-spacing: .08em; text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.fv__btn {
  display: inline-flex; align-items: center; gap: 34px;
  margin-top: 38px;
  background: var(--surface-inv); color: var(--on-surface-inv);
  font-size: 15px; font-weight: 700; letter-spacing: .06em;
  padding: 18px 34px; border-radius: var(--r-btn);
  transition: background .25s ease, color .25s ease;
}
.fv__btn svg { width: 26px; height: 8px; transition: transform .25s ease; }
.fv__btn:hover { background: var(--brand); color: var(--on-brand); }
.fv__btn:hover svg { transform: translateX(5px); }

/* FV登場（ページロード時。行単位のスライドアップ＝catch_linesと連動） */
html.js .fv__img { transform: scale(1.06); animation: fv-zoom 7s cubic-bezier(.2,.6,.3,1) forwards; }
html.js .fv__line > span {
  transform: translateY(110%);
  animation: fv-line .9s cubic-bezier(.22,.65,.3,1) forwards;
  animation-delay: calc(.15s + var(--i, 0) * .12s);
}
html.js .fv__lbl { opacity: 0; animation: fv-fade .7s ease forwards .05s; }
html.js .fv__sub { opacity: 0; animation: fv-fade .8s ease forwards .7s; }
html.js .fv__btn { opacity: 0; transform: translateY(14px); animation: fv-rise .7s cubic-bezier(.22,.65,.3,1) forwards .9s; }
@keyframes fv-zoom { to { transform: scale(1); } }
@keyframes fv-line { to { transform: translateY(0); } }
@keyframes fv-fade { to { opacity: 1; } }
@keyframes fv-rise { to { opacity: 1; transform: none; } }

/* ============================================================
   TOP
   ============================================================ */
/* 導入（左=ラベル+見出し／右=本文+リンクの2カラム）。固定背景を見せるため縦を厚めに取る */
.intro { padding-block: calc(var(--pad-sec) * 1.5); }
/* 固定背景：写真をスクロールに対して固定し、白ベールで伏せて本文の可読性を保つ。
   ★文字色は変えない（前後に暗いセクションが続くため、ここは明るいまま保つ）
   ★iOS Safari は background-attachment:fixed を無視する＝単に固定されないだけで崩れない。
     モバイルは描画負荷も高いので 1024px 以下では scroll に落とす（下のメディアクエリ） */
.intro--bg { position: relative; background-image: var(--intro-bg); background-size: cover;
  background-position: center; background-attachment: fixed; }
.intro--bg::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.78); }
.intro--bg > .wrap { position: relative; }
.intro__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
/* ★サイズは「各行が折り返さない上限」で決める（2カラムに切り替わる1025px前後が最も窮屈）。
   変更したら必ず 1025 / 1100 / 1280 / 1440 / 390px で行数を実測すること */
.intro__h { font-size: clamp(23px, 3.8vw, 46px); font-weight: 800; line-height: 1.5; letter-spacing: .03em; }
.intro__r { padding-top: 30px; }
.intro__body { margin-bottom: 26px; }
.intro__body p { color: var(--muted); font-size: 15.5px; }

/* 事業カード（上に写真／番号は白ボックスで写真に食い込ませる） */
.svc__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); margin-top: clamp(28px, 3.4vw, 44px); }
/* ★事業が4つの案件だけ横4列にする。3つ以下は既定の3列のまま＝他案件・雛形に影響しない */
.svc__cards--4 { grid-template-columns: repeat(4, 1fr); }
.svc__card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line-soft, var(--line));
  box-shadow: 0 3px 18px var(--sh-1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc__card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px var(--sh-2); }
.svc__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc__card:hover .svc__media img { transform: scale(1.04); }
/* 番号：写真の左下に白ボックスで重ねる */
.svc__no {
  position: absolute; left: 0; bottom: 0;
  background: var(--bg); color: var(--brand);
  font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1;
  padding: 13px 20px 11px;
}
.svc__body { display: flex; flex-direction: column; flex-grow: 1; padding: clamp(20px, 2.2vw, 28px); }
.svc__name { font-size: clamp(15.5px, 1.5vw, 17.5px); font-weight: 700; letter-spacing: .04em; }
/* 事業名の下の短い青線 */
.svc__name::after { content: ''; display: block; width: 30px; height: 2px; background: var(--brand); margin-top: 14px; }
.svc__desc {
  font-size: 14px; line-height: 1.9; color: var(--muted); flex-grow: 1;
  margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.svc__body .tlink { margin-top: 16px; }

/* 会社概要（左=写真／右=濃紺パネル。全幅・wrapの外） */
.abt { display: grid; grid-template-columns: 1fr 1fr; background: var(--band-grad); color: var(--on-band); }
.abt__media { position: relative; min-height: clamp(420px, 46vw, 620px); overflow: hidden; }
.abt__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.abt__panel { display: flex; align-items: center; padding: clamp(46px, 6vw, 92px) clamp(26px, 5vw, 78px); }
.abt__in { max-width: 560px; }
.abt__sub { font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; letter-spacing: .06em; margin-bottom: clamp(20px, 2.6vw, 34px); }
.abt__h { font-size: clamp(25px, 3.2vw, 40px); font-weight: 800; letter-spacing: .04em; line-height: 1.55; margin-bottom: clamp(18px, 2.2vw, 28px); }
.abt__body p { font-size: 15px; opacity: .88; }
.abt__body p + p { margin-top: 15px; }
.abt__in .btn { margin-top: clamp(26px, 3.4vw, 42px); }
/* 濃紺の上に置くアウトラインボタン */
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--surface-inv); color: var(--on-surface-inv); border-color: var(--surface-inv); }

/* お知らせ */
.news__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.news__list li { border-bottom: 1px solid var(--line); }
.news__list li:first-child { border-top: 1px solid var(--line); }
.news__list a {
  display: flex; align-items: baseline; gap: 28px;
  padding: 20px 8px; transition: background .25s ease;
}
.news__list a:hover { background: var(--tint-1); }
.news__list time { font-family: var(--font-en); font-weight: 600; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.news__list span { font-size: 15px; font-weight: 500; }

/* ============================================================
   下層共通：タイトル帯・パンくず
   ============================================================ */
/* タイトル帯：既定は濃紺グラデ＋白文字（背景画像がある場合は .ph--bg が写真＋ベールで上書き） */
.ph {
  background: var(--band-grad); color: var(--on-band);
  padding-block: calc(var(--pad-sec) * 1.05) calc(var(--pad-sec) * .95);
}
.ph .lbl { color: var(--brand-l); }
.ph .ph__h::after { background: var(--brand-l); }
.ph .ph__bc, .ph .ph__bc a { color: rgba(255,255,255,.72); }
.ph .ph__bc a:hover { color: #fff; }
/* 背景画像を敷くタイトル帯（高さは帯のまま。濃紺ベールを重ねて白文字にする） */
.ph--bg {
  position: relative; color: #fff;
  background-image: var(--ph-bg); background-size: cover; background-position: center;
}
.ph--bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(92deg, var(--veil-1) 0%, var(--veil-2) 55%, var(--veil-3) 100%);
}
.ph--bg > .wrap { position: relative; }
.ph--bg .lbl { color: var(--brand-l); }
.ph--bg .ph__bc, .ph--bg .ph__bc a { color: rgba(255,255,255,.72); }
.ph--bg .ph__bc a:hover { color: #fff; }
.ph__in { position: relative; }
.ph__h { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: .06em; line-height: 1.4; }
.ph__h::after { content: ''; display: block; width: 34px; height: 3px; background: var(--brand); margin-top: 18px; }
.ph__bc { position: absolute; right: 0; bottom: 4px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.ph__bc a { color: var(--muted); }
.ph__bc a:hover { color: var(--brand); }
@media (max-width: 767px) { .ph__bc { position: static; margin-top: 14px; } }

/* ============================================================
   サービス
   ============================================================ */
.sintro__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.sintro__body { margin-top: 22px; }
.sintro__body p { color: var(--muted); font-size: 15px; }
.sintro__body p + p { margin-top: 14px; }

/* 構想→実行→定着の図 */
.sintro__dia { display: flex; align-items: center; justify-content: center; gap: 18px; }
.sintro__circle {
  display: grid; place-items: center;
  width: 108px; height: 108px; border-radius: 50%;
  border: 2px solid var(--ink);
  font-size: 17px; font-weight: 700; letter-spacing: .1em;
  background: var(--bg);
}
.sintro__circle:last-of-type { border-color: var(--brand); color: var(--brand); }
.sintro__arr { color: var(--ink); }
.sintro__arr svg { width: 30px; height: 10px; }
.sintro__cap { text-align: center; margin-top: 22px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
/* 図の順次出現（親の .on を起点に円→矢印の順で立ち上がる） */
html.js [data-rev] .sintro__circle,
html.js [data-rev] .sintro__arr {
  opacity: 0; transform: scale(.85);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,.65,.3,1);
  transition-delay: calc(.15s + var(--i, 0) * .18s);
}
html.js [data-rev].on .sintro__circle,
html.js [data-rev].on .sintro__arr,
html.js.rev-safe [data-rev] .sintro__circle,
html.js.rev-safe [data-rev] .sintro__arr { opacity: 1; transform: none; }

/* 支援領域カード＝TOPのサービスカード（.svc__*）と共通の意匠を使う */

/* 事業詳細（交互） */
.sdetail__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.sdetail--rev .sdetail__in { grid-template-columns: 1.1fr 1fr; }
.sdetail--rev .sdetail__media { order: 2; }
.sdetail__media { border-radius: var(--r-card); overflow: hidden; box-shadow: 0 10px 34px var(--sh-2); }
.sdetail__media img { width: 100%; height: auto; transition: transform .5s ease; }
.sdetail__media:hover img { transform: scale(1.03); }
.sdetail__h { font-size: clamp(23px, 2.8vw, 29px); font-weight: 800; letter-spacing: .04em; margin-bottom: 16px; }
.sdetail__lead { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.sdetail__items-h { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.sdetail__items { margin-bottom: 24px; }
.sdetail__items li {
  position: relative; padding: 9px 0 9px 26px;
  font-size: 14.5px; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.sdetail__items li::before {
  content: ''; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border: 2px solid var(--brand); border-radius: 50%;
}

/* 進め方（濃紺帯） */
.process__h { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: .05em; }
/* ============================================================
   支援事例（守秘義務のため社名は出さず、業種・規模・課題・打ち手・成果で見せる）
   ============================================================ */
/* 見出し行の右（導入文・注記・一覧リンク） */
.cases__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.cases__note { font-size: 13px; color: var(--muted); }
.cases__side .tlink { margin-top: 4px; }

.cases__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); margin-top: clamp(28px, 3.4vw, 44px); }
.case {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--band);
}
.case__in { display: flex; flex-direction: column; flex-grow: 1; padding: clamp(22px, 2.4vw, 30px); }
.case__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
/* CASE＋番号は縦組み（カンプ準拠。番号を大きく見せる） */
.case__label { display: flex; flex-direction: column; color: var(--brand); line-height: 1.1; }
.case__label span { font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.case__label b { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: .02em; }
.case__meta { display: flex; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; justify-content: flex-end; }
.case__meta span { border: 1px solid var(--line); padding: 3px 10px; white-space: nowrap; }
.case__title { font-size: clamp(16px, 1.6vw, 18.5px); font-weight: 700; line-height: 1.6; margin: 18px 0 0; }
.case__body { margin-top: 18px; display: flex; flex-direction: column; flex-grow: 1; }
/* 課題／ご支援は横罫で仕切り、ラベルは縦罫で本文と分ける */
.case__body > div {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start;
  padding: 15px 0; border-top: 1px solid var(--line);
}
.case__body dt { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.case__body dd { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); }
/* 成果はカード下部の色帯として独立させる */
.case__result {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--tint-2); padding: clamp(18px, 2vw, 22px) clamp(22px, 2.4vw, 30px);
}
.case__rlabel {
  background: var(--brand); color: var(--on-brand);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  padding: 6px 12px; white-space: nowrap;
}
.case__result > span:last-child { font-size: 13.5px; font-weight: 600; line-height: 1.8; }

.process__note { font-size: 14.5px; opacity: .8; }

/* ★水平タイムライン：線の上に4つのノード。線→ノードの順に出て、その後ノードが順に脈打つ */
.process__steps {
  --proc-gap: clamp(20px, 2.6vw, 40px);
  --node: 21px;          /* ノードの直径 */
  --track: 30px;         /* 線の高さ位置（ステップ上端から） */
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--proc-gap);
  margin-top: clamp(34px, 4vw, 52px); padding-top: calc(var(--track) + 34px);
}
/* 横一本の線（左→右へ伸びる） */
.process__steps::before {
  content: ''; position: absolute; top: var(--track); left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,.28);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1s cubic-bezier(.22,.65,.3,1);
}
html:not(.js) .process__steps::before,
.process__steps.on::before,
html.rev-safe .process__steps::before { transform: scaleX(1); }

.process__step { position: relative; }
/* ステップ間の縦の区切り線（ノードより下） */
.process__step:not(:first-child)::after {
  content: ''; position: absolute; top: 0; bottom: 4px;
  left: calc(var(--proc-gap) / -2); width: 1px; background: rgba(255,255,255,.13);
}
/* ノード（外周リング＋中央の点） */
/* ★top に % は使わない（親=stepの高さ基準になって浮く）。
   step上端から線までの距離（padding-top − --track = 34px）を負で指定する */
.process__node {
  position: absolute; top: -34px; left: 50%;
  width: var(--node); height: var(--node);
  border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
  background: var(--band);
  display: grid; place-items: center;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  transition-delay: calc(.45s + var(--i) * .13s);
}
.process__node::after {
  content: ''; width: calc(var(--node) * .48); height: calc(var(--node) * .48);
  border-radius: 50%; background: var(--brand);
}
/* 脈動（波紋）。ノードが出そろってから順に広がる */
.process__node::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--brand); opacity: 0;
}
html:not(.js) .process__node,
.process__steps.on .process__node,
html.rev-safe .process__node { transform: translate(-50%, -50%) scale(1); }
.process__steps.on .process__node::before,
html.rev-safe .process__node::before {
  animation: node-pulse 3.2s ease-out infinite;
  animation-delay: calc(1.1s + var(--i) * .4s);
}
@keyframes node-pulse {
  0%        { transform: scale(.72); opacity: .75; }
  55%, 100% { transform: scale(1.55); opacity: 0; }
}

.process__name { display: flex; align-items: baseline; gap: 12px; font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.process__name .en { color: var(--brand-l); font-size: clamp(21px, 2.4vw, 30px); font-weight: 800; }
.process__desc { font-size: 13.5px; opacity: .85; line-height: 1.9; }
/* 中身は線が伸びたあと順に立ち上がる */
html.js .process__step > :not(.process__node) {
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: calc(.5s + var(--i) * .13s);
}
html.js .process__steps.on .process__step > :not(.process__node),
html.js.rev-safe .process__step > :not(.process__node) { opacity: 1; transform: none; }

/* ============================================================
   会社概要
   ============================================================ */
.phic__st { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: .06em; line-height: 1.6; margin: 30px 0 26px; }
.phic__body { max-width: 720px; }
.phic__body p { color: var(--muted); font-size: 15px; }
.phic__body p + p { margin-top: 14px; }

/* 代表挨拶：濃紺グラデ地に白文字 */
.msg { background: var(--band-grad); color: var(--on-band); }
.msg .lbl { color: var(--brand-l); }
.msg__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.msg__p { font-size: 15px; opacity: .88; }
.msg__p + .msg__p { margin-top: 16px; }
.msg__sign { margin-top: 30px; font-size: 14px; font-weight: 700; line-height: 2; }
.msg__name { font-size: 17px; }
/* 引用符（装飾）。左上に大きく置いて“語り”の面であることを示す */
.msg__body { position: relative; }
.msg__quote {
  position: absolute; left: -.12em; top: -.55em;
  font-family: var(--font-en); font-size: clamp(80px, 9vw, 130px); font-weight: 800;
  line-height: 1; color: rgba(255,255,255,.13); pointer-events: none;
}
.msg__body > *:not(.msg__quote) { position: relative; }
/* 引用として立てる一文（左に縦線） */
.msg__lead {
  font-size: clamp(19px, 2.2vw, 27px); font-weight: 700; line-height: 1.65; letter-spacing: .02em;
  border-left: 2px solid var(--brand-l); padding-left: clamp(16px, 1.6vw, 22px);
  margin: clamp(20px, 2.4vw, 30px) 0 clamp(20px, 2.4vw, 28px);
}
.msg__sign {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: clamp(24px, 3vw, 34px); padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 13.5px; opacity: .9;
}
.msg__name { font-size: clamp(19px, 2vw, 24px); font-weight: 700; letter-spacing: .12em; opacity: 1; margin-top: 2px; }
/* 写真＋右端の縦組み英字 */
.msg__media { position: relative; }
.msg__media img { width: 100%; height: auto; }
.msg__vtext {
  position: absolute; right: -22px; top: 0;
  writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: .22em;
  color: rgba(255,255,255,.5); white-space: nowrap;
}

/* ── 代表プロフィール（セクション下部・横並びの年表）────────────── */
.career { margin-top: clamp(40px, 5vw, 66px); padding-top: clamp(28px, 3.4vw, 44px); }
.career__in { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.career__en { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--brand-l); }
.career__h { font-size: 15px; font-weight: 700; letter-spacing: .06em; margin-top: 6px; }
.career__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
/* 各項目：上に横線＋点。線は左右いっぱいに繋がって見える */
.career__item { position: relative; padding-top: 26px; }
.career__item::before {
  content: ''; position: absolute; top: 5px; left: 0; right: calc(clamp(16px, 2vw, 28px) * -1);
  height: 1px; background: rgba(255,255,255,.24);
}
.career__item:last-child::before { right: 0; }
.career__dot {
  position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--brand-l);
  transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1);
  transition-delay: calc(.2s + var(--i) * .1s);
}
html:not(.js) .career__dot,
[data-rev].on .career__dot,
html.rev-safe .career__dot { transform: scale(1); }
.career__year { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: var(--brand-l); line-height: 1.2; }
.career__text { margin-top: 10px; font-size: 13px; line-height: 1.85; opacity: .86; }

.profile__tbl { max-width: 860px; margin-top: 34px; border-top: 1px solid var(--line-strong); }
.profile__row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.profile__row dt { font-weight: 700; font-size: 14.5px; }
.profile__row dd { font-size: 14.5px; color: var(--muted); }


/* ============================================================
   お知らせ記事
   ============================================================ */
.article__in { max-width: 760px; }
.article__date { font-family: var(--font-en); font-weight: 600; font-size: 14px; color: var(--muted); }
.article__h { font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; line-height: 1.6; margin: 10px 0 34px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
/* 記事のアイキャッチ（items に img がある記事だけ出る） */
.article__eye { margin: 0 0 32px; border-radius: var(--r-card); overflow: hidden; }
.article__eye img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.article__body p { font-size: 15.5px; line-height: 2.2; }
.article__body p + p { margin-top: 18px; }

/* ── 記事本文の装飾（2026-09-27 追加・[[startin]] で作った型をトークン化して移植）──
   ★本文は素のHTMLタグだけで書く（h2/h3/h4/h5・ul/ol・blockquote・strong・a）。
     独自クラスを覚えなくてよい＝顧客がAIに「見出しにして」と頼めばそのまま効く。
   ★色はトークン参照のみ。案件の差し色（--brand）が自動で乗る */
.article__body h2 {
  font-size: 20px; font-weight: 800; line-height: 1.6;
  margin: 44px 0 14px; padding-left: 14px;
  border-left: 3px solid var(--brand);
}
.article__body h3 {
  font-size: 18px; font-weight: 800; line-height: 1.6;
  margin: 36px 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
}
/* 下線の左端に差し色の短い帯を重ねる */
.article__body h3::after {
  content: ''; display: block; width: 46px; height: 2px;
  background: var(--brand); position: relative; top: 9px; margin-bottom: -9px;
}
.article__body h4 {
  font-size: 16.5px; font-weight: 800; line-height: 1.7;
  margin: 30px 0 10px; display: flex; align-items: baseline; gap: 9px;
}
.article__body h4::before {
  content: ''; flex: none; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand);
}
.article__body h5 {
  font-size: 15px; font-weight: 700; line-height: 1.7;
  margin: 26px 0 8px; letter-spacing: .04em; color: var(--muted);
}
/* 見出しの直後の段落は上余白を詰める（見出しと本文を一塊に見せる） */
.article__body h2 + p, .article__body h3 + p,
.article__body h4 + p, .article__body h5 + p { margin-top: 0; }

.article__body ul, .article__body ol { padding-left: 1.5em; margin-top: 18px; }
.article__body ul li, .article__body ol li { font-size: 15.5px; line-height: 2.1; }
.article__body ul li { list-style: disc; }
.article__body ol li { list-style: decimal; }
.article__body ol li::marker { color: var(--brand); font-weight: 700; }
.article__body ul + p, .article__body ol + p { margin-top: 22px; }
.article__body p + ul, .article__body p + ol { margin-top: 18px; }

.article__body blockquote {
  margin: 30px 0; padding: 20px 22px;
  border-left: 3px solid var(--brand);
  background: var(--tint-2); border-radius: var(--r-card);
}
.article__body blockquote p { margin: 0; font-size: 15px; color: var(--muted); }

.article__body strong { font-weight: 800; }
.article__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { text-decoration-thickness: 2px; }

.article__back { margin-top: 44px; }

/* ============================================================
   お問い合わせ
   ============================================================ */
/* フォームは1カラム。見出しを上に置き、幅を読みやすい範囲に絞る */
.cf__in { max-width: 820px; margin-inline: auto; }
.cf__side { text-align: center; margin-bottom: clamp(26px, 3vw, 38px); }
.cf__h { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; line-height: 1.6; margin-bottom: 14px; }
.cf__note { font-size: 14px; color: var(--muted); }
/* ★見出し直後の余白は共通ルール（.sec__h + p）に任せる。ここで個別に指定しない
   （個別指定は後勝ちで共通ルールを上書きし、セクションごとに間隔がばらつく） */
.cf__req, .cf__opt {
  display: inline-block; margin-left: 10px; padding: 1px 8px;
  font-size: 11px; font-weight: 700; border-radius: 3px; vertical-align: 2px;
}
.cf__req { background: var(--brand); color: var(--on-brand); }
.cf__opt { background: var(--line); color: var(--muted); }

.cf__form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: 40px 36px; box-shadow: 0 6px 26px var(--sh-1); }
.f-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.f-row { margin-bottom: 22px; }
.f-row label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.f-row input, .f-row select, .f-row textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--tint-1); border: 1px solid var(--line);
  border-radius: var(--r-btn); padding: 12px 14px;
  transition: border-color .2s ease, background .2s ease;
}
.f-row input:focus, .f-row select:focus, .f-row textarea:focus {
  outline: none; border-color: var(--brand); background: var(--bg);
}
.f-row .is-err, .f-agree .is-err { border-color: #c33a52; background: #fdeaee; }
.f-err { display: none; font-size: 12.5px; color: #c33a52; margin-top: 6px; }
.f-err.on { display: block; }
.f-alert { display: none; font-size: 14px; font-weight: 700; color: #c33a52; background: #fdeaee; border-radius: var(--r-btn); padding: 12px 16px; margin-bottom: 20px; }
.f-alert.on { display: block; }
.f-agree { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-top: 28px; }
.f-agree a { color: var(--brand); text-decoration: underline; }
.f-agree input { width: 18px; height: 18px; accent-color: var(--brand); }
.act { margin-top: 28px; }
.cf__form .act { text-align: center; }
.is-sending { opacity: .6; pointer-events: none; }

/* お問い合わせの流れ（3ステップ） */
.flow__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(26px, 3vw, 38px); }
.flow__item {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px 26px 28px;
  box-shadow: 0 3px 16px var(--sh-1);
}
.flow__no { display: block; color: var(--brand); font-size: 26px; font-weight: 800; line-height: 1; }
.flow__name { font-size: 16px; font-weight: 700; margin: 12px 0 10px; }
.flow__desc { font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.flow__mail { margin-top: clamp(20px, 2.4vw, 30px); font-size: 13px; color: var(--muted); }
.flow__mail a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   サンクス・404
   ============================================================ */
.thx { padding-block: calc(var(--pad-sec) * 1.25); }
.thx__in { text-align: center; max-width: 640px; }
.thx__ic { display: inline-block; width: 64px; height: 64px; color: var(--brand); margin-bottom: 18px; }
.thx__h { font-size: clamp(24px, 3vw, 30px); font-weight: 800; margin: 6px 0 22px; }
.thx__lead p { font-size: 15px; color: var(--muted); }
.thx__lead p + p { margin-top: 14px; }
.thx__lead a { color: var(--brand); text-decoration: underline; }
.thx .act { text-align: center; margin-top: 36px; }
.nf__code { font-size: clamp(64px, 10vw, 110px); font-weight: 800; color: var(--tint-4); line-height: 1; }

/* ============================================================
   プライバシーポリシー
   ============================================================ */
/* ★本文幅は他のコンテンツページと揃える＝.wrap の幅をそのまま使う。
   ここで max-width を指定しない（none にすると .wrap の制限まで外れて全幅になる） */
.pp__in h2 { font-size: 18px; font-weight: 700; margin: 36px 0 12px; padding-left: 14px; border-left: 3px solid var(--brand); }
.pp__in p { font-size: 15px; color: var(--muted); }
.pp__in ul { padding-left: 1.4em; }
.pp__in ul li { list-style: disc; font-size: 15px; color: var(--muted); }
.pp__in a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   CTA帯・フッター
   ============================================================ */
/* CTA帯（左=見出し／縦線／右=大きめボタン） */
.cta { background: var(--tint-2); padding-block: calc(var(--pad-sec) * .92); }
.cta__in { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 5vw, 76px); align-items: center; }
.cta__h { font-size: clamp(25px, 4vw, 46px); font-weight: 800; letter-spacing: .03em; line-height: 1.45; margin-bottom: 18px; }
.cta__note { font-size: 15px; color: var(--muted); }
.cta__r { border-left: 1px solid var(--line); padding-left: clamp(22px, 4vw, 62px); text-align: center; }
.btn--lg { padding: 25px 54px; font-size: 17px; gap: 44px; }
.cta__bnote { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* フッター */
.ft { background: var(--band); color: var(--on-band); padding-top: clamp(40px, 5vw, 64px); }
.ft__in {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 28px;
  padding-bottom: clamp(28px, 4vw, 46px);
}
.ft__logo .logo--text { font-size: clamp(19px, 2.1vw, 25px); }
/* ロゴの下の短い青線＋タグライン */
.ft__tag { position: relative; margin-top: 26px; padding-top: 22px; font-size: 14px; opacity: .82; }
.ft__tag::before { content: ''; position: absolute; top: 0; left: 0; width: 68px; height: 2px; background: var(--brand-l); }
.ft__nav { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 6px; }
.ft__nav a { font-size: 13.5px; font-weight: 600; opacity: .9; transition: opacity .2s ease; }
.ft__nav a:hover { opacity: 1; text-decoration: underline; }
.ft__btm {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: 18px 26px; border-top: 1px solid rgba(255,255,255,.16);
}
/* ★サンプルサイトの注記（フォーム上・サンクス画面）
   エラーの赤とは別物と分かるよう、地色に馴染む中立な面で出す */
.f-sample {
  margin: 0 0 clamp(16px, 2vw, 22px);
  padding: clamp(12px, 1.6vw, 16px) clamp(14px, 1.8vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  font-size: 13.5px; line-height: 1.85;
}
.f-sample strong { font-weight: 700; }

/* ★サンプル表記（フッター内・全ページ共通）
   目立たせすぎず、しかし読めば必ず分かる強さにする。
   本番案件では site.php の sample_note を空にすれば丸ごと消える */
.ft__sample {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-block: clamp(14px, 1.6vw, 18px);
}
.ft__sample p { font-size: 12.5px; line-height: 1.9; opacity: .66; max-width: 76ch; }

.ft__copy { font-size: 12.5px; opacity: .65; font-family: var(--font-en); }
.ft__links { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.ft__links a { opacity: .85; transition: opacity .2s ease; }
.ft__links a:hover { opacity: 1; }
.ft__top { border-left: 1px solid rgba(255,255,255,.28); padding-left: 18px; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .sintro__in, .sdetail__in, .sdetail--rev .sdetail__in, .msg__in { grid-template-columns: 1fr; gap: 40px; }
  .intro__in { grid-template-columns: 1fr; gap: 26px; }
  .intro__r { padding-top: 0; }
  .flow__list { gap: 16px; }
  /* 4カラムはタブレット幅だと窮屈なので2×2へ */
  .svc__cards--4 { grid-template-columns: repeat(2, 1fr); }
  /* 事例は3カラムだと窮屈になるので2カラムへ（3枚目は1枚で並ぶ） */
  .cases__list { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  /* 代表プロフィール：見出しを上に出し、年表は2カラムへ */
  .career__in { grid-template-columns: 1fr; gap: 22px; }
  .career__list { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .msg__vtext { display: none; }
  /* ★モバイルは固定背景を切る（iOS Safariは無視する仕様＋描画負荷が高い） */
  .intro--bg { background-attachment: scroll; }
  /* 会社概要：写真が上、テキストが下の縦積みに */
  .abt { grid-template-columns: 1fr; }
  .abt__media { min-height: clamp(260px, 48vw, 380px); }
  .abt__in { max-width: none; }
  .sdetail--rev .sdetail__media { order: 0; }
  /* 2カラム時：線とノードは成立しないので伏せ、区切り線だけ残す */
  .process__steps { grid-template-columns: repeat(2, 1fr); padding-top: 0; row-gap: 34px; }
  .process__steps::before { display: none; }
  .process__node { display: none; }
  .process__step:nth-child(3)::after { display: none; }
}
@media (max-width: 767px) {
  /* ★padding は --pad-sec のclampが吸収するのでここでは触らない（二重管理を避ける） */
  /* SPでは改行を解いて1行に収める見出し（PCの改行はカンプ通り残す） */
  .cta__h br { display: none; }
  .cta__h { font-size: clamp(18px, 5vw, 21px); }

  /* ★孤立行（最終行に「す。」等が2文字だけ落ちる）を潰す。
     見出しは text-wrap:pretty で行を均し、詰まる文言はサイズ側で1文字分を稼ぐ。
     ※文言を変えずに直せるのが利点。案件で原稿が変わっても効き続ける */
  .sec__h, .cf__h, .phic__st, .intro__h, .abt__h, .process__h, .thx__h, .sdetail__h { text-wrap: pretty; }
  .phic__st { font-size: clamp(21px, 5.6vw, 27px); }
  .cf__h    { font-size: clamp(19px, 5vw, 24px); }
  .sintro__cap, .cf__note, .flow__desc, .cta__note { text-wrap: pretty; }
  .svc__cards, .svc__cards--4, .flow__list, .cases__list { grid-template-columns: 1fr; }
  /* 代表プロフィール：縦積み。線は各項目の上に短く残す */
  .career__list { grid-template-columns: 1fr; row-gap: 22px; }
  .career__item::before { right: 0; }
  .msg__quote { font-size: 76px; top: -.4em; }
  /* 引用見出しはSPで末尾が落ちやすいので1段詰める */
  .msg__lead { font-size: clamp(17px, 4.6vw, 21px); padding-left: 14px; }
  /* CTA帯：縦積みにして、縦線を上の横線に置き換える */
  .cta__in { grid-template-columns: 1fr; gap: 28px; }
  .cta__r { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
  .btn--lg { padding: 20px 32px; font-size: 15.5px; gap: 24px; }
  /* フッター：ロゴ／ナビ、©／リンクを縦に */
  .ft__in { flex-direction: column; gap: 26px; }
  .ft__btm { flex-direction: column; align-items: flex-start; gap: 12px; }
  .process__steps { grid-template-columns: 1fr; gap: 26px; }
  .process__step::after { display: none; }   /* 縦積みでは区切り線を出さない */
  .fv__media { height: 64vh; }
  .fv__copy { bottom: 88px; padding-inline: 24px; }
  .fv__catch { font-size: clamp(30px, 8.6vw, 38px); }  /* 各行が1行に収まるサイズ（ルール21） */
  /* FVラベルはSPで折り返さない（線を詰め・字間を締めて1行に収める） */
  .fv__lbl { font-size: 10.5px; letter-spacing: .1em; gap: 10px; margin-bottom: 16px; }
  .fv__lbl::before { width: 22px; }
  .fv__btn { margin-top: 28px; padding: 15px 24px; gap: 20px; font-size: 14px; }
  /* 見出しの孤立行対策（「〜があ／る。」等の1〜2文字落ちを潰す。LPで実測済みの罠） */
  .abt__h { font-size: clamp(21px, 5.6vw, 27px); }
  .cta__h { font-size: clamp(18px, 5vw, 22px); }
  .news__list a { flex-direction: column; gap: 4px; }
  .profile__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
  .cf__form { padding: 28px 20px; }
  /* ★図が横にはみ出さないサイズに詰める（円3つ＋矢印2つ＋gapが最小幅360pxに収まること） */
  .sintro__dia { gap: 10px; }
  .sintro__circle { width: 72px; height: 72px; font-size: 13.5px; }
  .sintro__arr svg { width: 16px; }
  .ft__in { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ============================================================
   reduced-motion：全アニメ停止（背景・出現・ホバー移動）
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-rev],
  html.js [data-rev] .sintro__circle,
  html.js [data-rev] .sintro__arr { opacity: 1; transform: none; transition: none; }
  html.js .fv__img, html.js .fv__line > span, html.js .fv__sub,
  html.js .fv__lbl, html.js .fv__btn {
    animation: none; transform: none; opacity: 1;
  }
  .fv__copy { transform: translateY(-50%); }   /* 位置指定のtransformは維持する */
  .fv__btn:hover svg { transform: none; }
  .lbl--line::after { transform: scaleX(1); transition: none; }
  /* タイムラインは完成形で静止（線の伸長・ノードの出現・脈動をすべて止める） */
  .process__steps::before { transform: scaleX(1); transition: none; }
  .process__node { transform: translate(-50%, -50%) scale(1); transition: none; }
  .process__node::before { animation: none; opacity: 0; }
  html.js .process__step > :not(.process__node) { opacity: 1; transform: none; transition: none; }
  .svc__card:hover, .btn:hover svg, .tlink:hover svg, .sdetail__media:hover img,
  .svc__card:hover .svc__media img { transform: none; }
  /* 経歴の点は出現アニメを止めて最初から表示する */
  .career__dot { transform: scale(1); transition: none; }
  .hd, .hd--hide { transition: none; transform: none; }
}

/* PHILOSOPHY に画像を置く案件だけ2カラムにする（philosophy.image が空なら従来どおり1カラム） */
.phic--media .phic__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.phic--media .phic__body { max-width: none; }
.phic__media img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .phic--media .phic__in { grid-template-columns: 1fr; gap: 28px; } }

/* FVのSP用カット（site.fv_image_sp）を <picture> で出し分ける。
   picture を display:contents にして img を .fv__media の直子として扱う */
.fv__media picture { display: contents; }

/* サービス導入の図解を1枚絵で持つ場合（service_intro.image） */
.sintro__fig img { width: 100%; height: auto; display: block; }

/* ── ブログ式の記事カード（collections[<key>].layout = 'blog'）────────
   ★雛形5号から移植（2026-09-14）。list 形式しか使わない案件には一切効かない。
   カードの中身は「アイキャッチ／カテゴリ／日付／タイトル」まで。抜粋は出さない */
.blog {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.2vw, 42px) clamp(20px, 2.2vw, 28px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.blog__link { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.blog__thumb {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-card); background: var(--tint-2);
}
.blog__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.blog__link:hover .blog__thumb img { transform: scale(1.05); }
/* アイキャッチを持たない記事の代わり。カードの高さを揃えるための面（無彩色に社名を薄く） */
.blog__thumb--none { display: grid; place-items: center; background: var(--tint-2); }
.blog__thumb-ph {
  font-weight: 800; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: .24em;
  color: var(--ink); opacity: .17;
}
.blog__body { display: grid; gap: 9px; }
.blog__meta { display: flex; align-items: center; gap: 12px; }
.blog__cat {
  background: var(--brand); color: var(--on-brand); border-radius: 999px;
  padding: 4px 13px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
}
a.blog__cat:hover { background: var(--ink); color: var(--bg); }
.blog__date {
  font-family: var(--font-en); font-size: 13px; font-weight: 700;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.blog__title { font-size: 15.5px; font-weight: 700; line-height: 1.75; }
.blog__link:hover .blog__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* カテゴリの絞り込みタブ */
.blog__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 3vw, 38px); }
.blog__tab {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 20px;
  font-size: 13.5px; font-weight: 700; color: var(--ink); text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.blog__tab:hover { border-color: var(--ink); }
.blog__tab.is-current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* 記事ページのカテゴリ表示（blog 形式のときだけ出る） */
.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }

@media (max-width: 1024px) { .blog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .blog { grid-template-columns: 1fr; gap: 26px; }
  .blog__tabs { gap: 8px; }
  .blog__tab { padding: 8px 16px; font-size: 12.5px; }
}

/* ============================================================
   記事のフリーワード検索（collections[<key>].search が true のときだけ出る）
   ★ブランド色の直値は書かない＝トークン参照のみ
   ============================================================ */
.psearch { margin-bottom: clamp(22px, 2.6vw, 32px); }
.psearch__label {
  display: block; margin-bottom: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted);
}
.psearch__row { display: flex; gap: 10px; align-items: stretch; max-width: 520px; }
.psearch__input {
  flex: 1 1 auto; min-width: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: var(--bg); color: var(--ink);
  padding: 11px 15px; font: inherit; font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.psearch__input::placeholder { color: var(--muted); }
.psearch__input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--tint-2);
}
/* 検索欄のクリア（×）はブラウザ標準を隠して自前のボタンに寄せる */
.psearch__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.psearch__clear {
  flex: 0 0 auto;
  border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: transparent; color: var(--ink);
  padding: 0 16px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.psearch__clear:hover { border-color: var(--ink); background: var(--tint-1); }
.psearch__count {
  margin-top: 8px; min-height: 1.5em;
  font-size: 12.5px; color: var(--muted);
}
.psearch__empty {
  padding: 28px 0; text-align: center; font-size: 14.5px; color: var(--muted);
}

/* ★絞り込みで外れたカードを消す。
   .blog__card / .news__list li は display を持つので hidden 属性だけでは消えない */
.blog__card[hidden],
.news__list li[hidden] { display: none; }

@media (max-width: 700px) {
  .psearch__row { max-width: none; }
}

/* ============================================================
   ★Fortune LP（2026-10-02・カンプ準拠）
   ------------------------------------------------------------
   雛形の共通部品（.btn/.lbl/.sec/.blog/.hd/.ft）を流用し、LP固有のものだけ足す。
   ★規律は共通CSSと同じ＝ブランド色の直値を書かない。面は color-mix で地と差し色から作る
     （--tint-1〜4 は白ベースで薄すぎ、カンプの区切り面 #F5EEE1 に届かないため）。
   ★差し色（brand）の上の文字は --on-brand（theme.php が ink を返す）。白を乗せない。
   ============================================================ */
:root {
  --lp-r: 20px;                 /* カードの角丸（カンプ 16〜24px） */
  --lp-r-btn: 10px;
  --lp-tint: var(--tint-4);     /* color-mix 非対応ブラウザの保険 */
  --lp-tint: color-mix(in srgb, var(--bg) 76%, var(--brand));      /* 区切り面 ≒ #F5EEE1 */
  --lp-tint-soft: var(--tint-2);
  --lp-tint-soft: color-mix(in srgb, var(--bg) 88%, var(--brand)); /* 面の上のカード地 */
  --lp-shadow: 0 10px 30px rgba(62,49,40,.08);                       /* 影＝ink系のごく淡い */
}
.is-lp section[id] { scroll-margin-top: 100px; }   /* ヘッダー86px＋余白 */
.is-lp .sec--tint { background: var(--lp-tint); }
/* 小さなラベルは和文（カンプ：見出しの上に「利用方法」「料金システム」等） */
/* ★節の小見出し（2026-10-03 ボス「重要な見出しだからはっきり大きく」）
   12.5px の薄いラベル → 15〜17px 太字・本文色。両脇に差し色の短い線（左寄せの節は左だけ） */
.is-lp .lbl {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-jp); font-size: clamp(15px, 1.25vw, 17px); font-weight: 800;
  letter-spacing: .18em; color: var(--ink); margin-bottom: 14px;
}
.is-lp .lbl::before, .is-lp .lbl::after { content: ''; width: 28px; height: 2px; background: var(--brand); border-radius: 2px; flex: none; }
.is-lp .abt2__l .lbl::after { display: none; }
.sec__ctr { text-align: center; margin-bottom: clamp(30px, 4.2vw, 48px); }
a[data-pending] { cursor: default; }

/* ── ボタン（LINE）：差し色の面＋ink文字。白文字は乗せない ── */
.lbtn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--brand); color: var(--on-brand);
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
  padding: 15px 28px; border-radius: var(--lp-r-btn);
  transition: background .25s ease, transform .25s ease;
}
.lbtn:hover { background: var(--brand-d); transform: translateY(-1px); }
.lbtn svg { width: 22px; height: 7px; }

/* ── ヘッダー ── */
.hd__logo { display: inline-flex; align-items: baseline; gap: 12px; }
.hd__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.hd .hd__cta--line {
  display: inline-flex; align-items: center;
  background: var(--brand); color: var(--on-brand);
  font-weight: 700; font-size: 13.5px; letter-spacing: .04em;
  padding: 10px 18px; border-radius: 8px;
  transition: background .25s ease;
}
.hd .hd__cta--line:hover { background: var(--brand-d); }
.drawer__cta { margin-top: 28px; }

/* ── FV ── */
.lfv { position: relative; min-height: clamp(520px, 64vw, 780px); overflow: hidden; background: var(--lp-tint); }
.lfv__media { position: absolute; inset: 0; }
.lfv__img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
/* 左から地の色のベール＝文字の可読性。右へ行くほど写真が出る */
.lfv__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 34%, transparent 62%);
}
.lfv__in { position: relative; min-height: inherit; display: flex; align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.lfv__copy { max-width: 560px; }
.lfv__catch { font-size: clamp(40px, 6.4vw, 78px); font-weight: 800; line-height: 1.18; letter-spacing: .02em; }
.lfv__line { display: block; overflow: hidden; }
.lfv__line > span { display: inline-block; transform: translateY(110%); animation: lfv-up .9s cubic-bezier(.22,.65,.3,1) forwards; animation-delay: calc(var(--i) * .12s + .1s); }
@keyframes lfv-up { to { transform: none; } }
.lfv__lead { margin-top: clamp(16px, 2vw, 24px); font-size: clamp(15px, 1.4vw, 17px); font-weight: 600; letter-spacing: .04em; }
.lfv__copy .lbtn { margin-top: clamp(22px, 2.6vw, 32px); }
.lfv__note { margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.lfv__thumbs { position: absolute; right: 24px; bottom: clamp(24px, 4vw, 44px); display: flex; gap: clamp(10px, 1.4vw, 18px); }   /* 重ねず間を空ける（2026-10-04） */
.lfv__thumbs li { position: relative; width: clamp(72px, 8.6vw, 116px); aspect-ratio: 1; }   /* ひと回り大きく */
/* 丸い写真。overflow は li ではなく内側に（吹き出しを外に出すため） */
.lfv__thumbs li > img, .lfv__thumb { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); box-shadow: var(--lp-shadow); padding: 0; background: none; cursor: pointer; }
.lfv__thumb:focus-visible { outline: 3px solid var(--brand-d); outline-offset: 2px; }
/* セリフの吹き出し＝クリックで上に出る（2026-10-04） */
.lfv__say { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px) scale(.9); transform-origin: bottom center; background: var(--bg); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1; padding: 10px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--lp-shadow); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease-pop), visibility 0s .3s; }
.lfv__say::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--bg); border-bottom: 0; }
.lfv__thumbs li.is-say .lfv__say { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition: opacity .25s ease, transform .45s var(--ease-pop), visibility 0s; }
.lfv__thumbs li.is-say { z-index: 2; }
/* 右端の子は吹き出しを右揃え（画面外にはみ出さない） */
.lfv__thumbs li:last-child .lfv__say { left: auto; right: 0; transform: translate(0, 6px) scale(.9); transform-origin: bottom right; }
.lfv__thumbs li:last-child.is-say .lfv__say { transform: translate(0, 0) scale(1); }
.lfv__thumbs li:last-child .lfv__say::after { left: auto; right: calc(clamp(72px, 8.6vw, 116px) / 2); transform: translateX(50%); }
.lfv__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ── コンセプト ── */
.cpt__in { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: clamp(24px, 3.4vw, 48px); }
.cpt__ph { border-radius: var(--lp-r); overflow: hidden; box-shadow: var(--lp-shadow); }
.cpt__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cpt__body { text-align: center; }
.cpt__h { font-size: clamp(19px, 2.1vw, 25px); font-weight: 800; line-height: 1.75; letter-spacing: .04em; }
.cpt__txt { margin-top: clamp(16px, 2vw, 22px); font-size: 15px; line-height: 2.05; color: var(--muted); text-align: left; }   /* ★本文は左寄せ（見出しは中央のまま・2026-10-03 ボス要望） */
.cpt__txt p + p { margin-top: 1.6em; }   /* ★段落ごとに1行あける（修正1回目#2・顧客コメント 2026-10-10） */

/* ── 私たちについて ── */
.abt2__in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.abt2__items { margin-top: clamp(22px, 2.6vw, 32px); display: grid; gap: 18px; }
.abt2__item dt { font-weight: 800; font-size: 17px; letter-spacing: .04em; }
.abt2__item dd { margin-top: 4px; font-size: 14.5px; color: var(--muted); word-break: auto-phrase; }   /* 文節で折る＝「へ。」だけ次行に落ちない（修正1回目#4） */
.abt2__body { margin-top: clamp(18px, 2.2vw, 26px); }
.abt2__body p { font-size: 14.5px; line-height: 2; color: var(--muted); }
.abt2__body p + p { margin-top: 10px; }
.abt2__r { position: relative; aspect-ratio: 5 / 4; }
.abt2__ph { position: absolute; width: 68%; border-radius: var(--lp-r); overflow: hidden; box-shadow: var(--lp-shadow); }
.abt2__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.abt2__ph--1 { left: 0; top: 6%; transform: rotate(-4deg); z-index: 1; }
.abt2__ph--2 { right: 0; bottom: 4%; transform: rotate(3deg); z-index: 2; }

/* ── 利用方法（6カード・整然と） ── */
.use__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; align-items: stretch; gap: clamp(14px, 1.8vw, 22px); }   /* ★全カード同じ高さ（2026-10-03 ボス要望） */
.use__card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg); border-radius: 16px; padding: 20px 22px;
}
.use__ic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.use__ic svg { width: 24px; height: 24px; }
.use__t { display: block; font-weight: 800; font-size: 15.5px; letter-spacing: .03em; }
.use__d { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ── 料金 ── */
.prc__in { text-align: center; max-width: 820px; }
.prc__h { line-height: 1.1; letter-spacing: .02em; }
.prc__time { font-size: clamp(22px, 3vw, 34px); font-weight: 800; }
.prc__yen { font-size: clamp(56px, 8vw, 92px); font-weight: 800; }
.prc__unit { font-size: clamp(22px, 3vw, 34px); font-weight: 800; }
.prc__sub { margin-top: 10px; font-size: 15px; font-weight: 700; }
.prc__tbl { width: 100%; max-width: 720px; margin: clamp(26px, 3vw, 36px) auto 0; border-collapse: collapse; font-size: 14.5px; }
.prc__tbl th, .prc__tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.prc__tbl thead th { background: var(--lp-tint); font-weight: 700; font-size: 13.5px; }
.prc__tbl tbody th { font-weight: 700; }
.prc__note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.prc__tax { font-size: clamp(13px, 1.4vw, 16px); font-weight: 700; margin-left: 4px; }
.prc__tbl td small, .prc__tbl th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.prc__tbl td { font-weight: 700; font-size: 16px; }
.prc__note--em { margin-top: 6px; color: var(--ink); font-weight: 700; }
.prc__note, .prc__tbl th { word-break: auto-phrase; }

/* ── 在籍の猫たち ── */
.cats__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 36px); text-align: center; }
.cats__ph { display: block; width: clamp(120px, 14vw, 176px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 4px solid var(--bg); box-shadow: var(--lp-shadow); }
.cats__ph img { width: 100%; height: 100%; object-fit: cover; }
.cats__name { display: block; margin-top: 14px; font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.cats__trait { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
/* プロフィール3行（性別／種類／性格）＝2026-10-03 */
.cats__meta { margin: 10px auto 0; display: grid; gap: 4px; width: fit-content; text-align: left; }
.cats__meta div { display: grid; grid-template-columns: 3em 1fr; gap: 10px; font-size: 13.5px; line-height: 1.7; }
.cats__meta dt { color: var(--muted); font-weight: 700; }
.cats__meta dd { color: var(--ink); }
/* 写真はボタン＝クリックで拡大。右下に小さな拡大マーク */
.cats__ph { position: relative; cursor: zoom-in; border: 4px solid var(--bg); padding: 0; background: none; font: inherit; }
.cats__zoom { position: absolute; right: 2px; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; box-shadow: var(--lp-shadow); transition: transform .4s var(--ease-pop); }
.cats__zoom svg { width: 15px; height: 15px; }
.cats__item:hover .cats__zoom { transform: scale(1.12); }
.cats__ph:focus-visible { outline: 3px solid var(--brand-d); outline-offset: 3px; }

/* ── 写真の拡大（<dialog>）── */
.catbox { border: 0; padding: 0; background: var(--bg); color: var(--ink); border-radius: 24px; width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 30px 80px rgba(62,49,40,.28); }
.catbox::backdrop { background: rgba(62,49,40,.55); backdrop-filter: blur(3px); }
.catbox[open] { animation: catbox-in .45s var(--ease-pop) both; }
@keyframes catbox-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.catbox__in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 36px); }
.catbox__ph { border-radius: 20px; overflow: hidden; aspect-ratio: 1; background: var(--lp-tint); }
.catbox__ph img { width: 100%; height: 100%; object-fit: cover; }
.catbox__name { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: .04em; line-height: 1.2; }
.catbox__meta { margin: 18px 0 0; width: auto; }
.catbox__meta div { font-size: 15px; grid-template-columns: 3.5em 1fr; }
.catbox__cta { margin-top: 24px; }
.catbox__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--lp-tint); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s ease, transform .3s var(--ease-pop); }
.catbox__close:hover { background: var(--brand); transform: rotate(90deg); }
@media (max-width: 767px) {
  .catbox__in { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .catbox__ph { max-width: 320px; margin: 0 auto; width: 100%; }
  .catbox__name { text-align: center; }
  .catbox__meta { margin-inline: auto; width: fit-content; }
  .catbox__cta { width: 100%; justify-content: center; }
}
.cats__note { margin-top: 22px; text-align: right; font-size: 12px; color: var(--muted); }

/* ── 安心安全 ── */
.safe__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; align-items: stretch; gap: clamp(14px, 1.8vw, 22px); }   /* ★同上 */
.safe__card { background: var(--lp-tint); border-radius: 16px; padding: 26px 26px 24px; }
/* 画像つきカード（2026-10-03）：画像を上辺いっぱいに、文章はその下 */
.safe__card--ph { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.safe__ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint-2); }
.safe__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.safe__card--ph:hover .safe__ph img { transform: scale(1.04); }
.safe__card--ph .safe__body { display: block; padding: 20px 24px 22px; flex: 1; }   /* 画像の下の文章部分が伸びて高さを埋める */
.safe__t { display: block; font-weight: 800; font-size: 16px; letter-spacing: .03em; }
.safe__d { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ── FAQ ── */
.faq__in { max-width: 860px; }
.faq__h { text-align: center; }
.faq__tabs { display: flex; gap: 0; margin: clamp(22px, 3vw, 34px) 0 18px; }
.faq__tab {
  flex: 1; padding: 18px 10px; background: transparent; border: 1px solid var(--line); border-top: 3px solid transparent;
  margin-left: -1px; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.faq__tab:first-child { margin-left: 0; }
.faq__tab:hover { color: var(--ink); }
.faq__tab.is-current { color: var(--ink); background: #fff; border-top-color: var(--ink); border-bottom-color: transparent; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__pm { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.faq__pm::before, .faq__pm::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq__pm::before { width: 16px; height: 1.5px; }
.faq__pm::after { width: 1.5px; height: 16px; }
.faq__item[open] .faq__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { padding: 0 4px 20px; }
.faq__a p { font-size: 14.5px; line-height: 1.95; color: var(--muted); }

/* ── お店の様子（修正1回目の追加・2026-10-10）＝横スクロール＋ドット。JSなしでも指で送れる ── */
.shop__slider { margin-top: clamp(26px, 3vw, 40px); }
/* ★画面の端から端まで写真を並べる（左の余白なし＝表示した瞬間から全幅。2026-10-10 ボス要望） */
.shop__track { position: relative; display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  padding: 4px 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shop__track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .shop__track { cursor: grab; } }   /* マウスでつかんで送れる（2026-10-10 ボス要望） */
.shop__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.shop__item img { -webkit-user-drag: none; user-select: none; }
.shop__track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.shop__item { flex: 0 0 clamp(240px, 22vw, 420px); aspect-ratio: 3 / 4; scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: var(--tint-2); }
.shop__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.shop__open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shop__open:hover img { transform: scale(1.04); }
.shop__open:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
/* 右下の小さな拡大マーク（猫プロフィールと同じ合図） */
.shop__zoom { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--bg) 88%, transparent); }
.shop__zoom::before { content: ''; position: absolute; left: 9px; top: 9px; width: 11px; height: 11px; border: 2px solid var(--ink); border-radius: 50%; }
.shop__zoom::after { content: ''; position: absolute; left: 21px; top: 20px; width: 2px; height: 7px; background: var(--ink); transform: rotate(-45deg); transform-origin: top; }
.shop__track.is-drag .shop__open { cursor: grabbing; }

/* 拡大表示（<dialog>） */
.shopbox { border: 0; padding: 0; background: transparent; overflow: visible; max-width: none; max-height: none; width: 100vw; height: 100svh; margin: 0; inset: 0; }
.shopbox::backdrop { background: rgba(40,31,25,.82); backdrop-filter: blur(3px); }
.shopbox[open] { display: grid; place-items: center; animation: catbox-in .4s var(--ease-pop) both; }
.shopbox__ph { margin: 0; touch-action: pan-y; }
.shopbox__ph img { display: block; max-width: min(1100px, calc(100vw - 160px)); max-height: calc(100svh - 120px); width: auto; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.shopbox__close { position: fixed; top: 18px; right: 18px; z-index: 2; }
.shopbox__nav { position: fixed; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--lp-tint); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s ease, transform .3s var(--ease-pop); }
.shopbox__nav:hover { background: var(--brand); transform: scale(1.08); }
.shopbox__nav span { width: 12px; height: 12px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.shopbox__nav--prev { left: 24px; } .shopbox__nav--prev span { transform: translateX(2px) rotate(-135deg); }
.shopbox__nav--next { right: 24px; } .shopbox__nav--next span { transform: translateX(-2px) rotate(45deg); }
.shopbox__count { position: fixed; bottom: 18px; left: 50%; translate: -50% 0; color: #fff; font-size: 14px; letter-spacing: .12em; }
@media (max-width: 767px) {
  .shopbox__ph img { max-width: calc(100vw - 24px); max-height: calc(100svh - 150px); }
  .shopbox__nav { top: auto; bottom: 14px; translate: none; width: 46px; height: 46px; }
  .shopbox__nav--prev { left: 16px; } .shopbox__nav--next { right: 16px; }
  .shopbox__count { bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { .shopbox[open] { animation: none; } .shop__open:hover img { transform: none; } }
.shop__dots { display: flex; justify-content: center; gap: 12px; margin-top: clamp(20px, 2.4vw, 30px); }
.shop__dot { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 70%, transparent); cursor: pointer; transition: background .25s ease, transform .25s ease; }
.shop__dot.is-current { background: var(--brand); transform: scale(1.15); }
html:not(.js) .shop__dots { display: none; }

/* ── お店からのお願い（修正1回目の追加・2026-10-10）＝線画アイコン＋短文。3列×2段 ── */
.rules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 3.6vw, 48px) clamp(18px, 2.4vw, 34px); margin-top: clamp(28px, 3.2vw, 44px); }
.rules__item { text-align: center; }
.rules__ic { display: grid; place-items: center; width: clamp(96px, 9vw, 120px); height: clamp(96px, 9vw, 120px); margin: 0 auto; border-radius: 50%; background: var(--lp-tint); color: var(--ink); }
.rules__ic svg { width: 54%; height: 54%; }
.rules__t { margin-top: 16px; font-size: 14.5px; line-height: 1.9; font-weight: 600; text-wrap: balance; word-break: auto-phrase; }
.rules__t small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: var(--muted); }

/* ── お知らせ（.blog を流用） ── */
.lnews .blog { margin-top: 0; }
.lnews .blog__thumb { border-radius: 16px; }
.lnews .blog__title { font-weight: 800; font-size: 15.5px; }
.lnews__more { margin-top: clamp(22px, 2.6vw, 30px); text-align: right; }

/* ── アクセス ── */
.acc__in { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(28px, 4vw, 56px); }
.acc__map { position: relative; border-radius: var(--lp-r); overflow: hidden; background: var(--lp-tint); }
.acc__map img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.acc__map--embed { aspect-ratio: 16 / 9; }
.acc__map--embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.acc__map figcaption { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--bg); border-radius: 999px; padding: 6px 16px; font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: var(--lp-shadow); }
.acc__name { font-weight: 800; font-size: clamp(18px, 1.8vw, 21px); letter-spacing: .03em; }
.acc__rows { margin-top: 18px; display: grid; gap: 12px; }
.acc__rows div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; font-size: 14.5px; }
.acc__rows dt { color: var(--muted); font-weight: 700; }
.acc__open { margin-top: 20px; font-weight: 700; font-size: 14px; letter-spacing: .06em; }

/* ── フッター ── */
.ft__r { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.ft__tag { margin-top: 10px; font-size: 13px; opacity: .85; }
.ft__sns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }   /* 各項目を同じ幅に＝アイコンが等間隔に並ぶ（2026-10-04 ボス指摘） */
.ft__sns li { min-width: 64px; }
.ft__sn { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .04em; opacity: .9; transition: opacity .2s ease; }
.ft__sn:hover { opacity: 1; }
.ft__sn svg { width: 24px; height: 24px; }

/* ── レスポンシブ ── */
@media (max-width: 1024px) {
  .cpt__in { grid-template-columns: 1fr 1fr; }
  .cpt__body { grid-column: 1 / -1; order: -1; }
  .abt2__in { grid-template-columns: 1fr; }
  .abt2__r { max-width: 520px; margin-inline: auto; width: 100%; }
  .use__grid, .safe__grid { grid-template-columns: repeat(2, 1fr); }
  .rules__grid { grid-template-columns: repeat(2, 1fr); }
  .cats__list { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .acc__in { grid-template-columns: 1fr; }
  .hd__tag { display: none; }
}
@media (max-width: 767px) {
  .lfv { min-height: min(700px, 88svh); }   /* SPはもう少し高く＝写真の猫を見せる（2026-10-04 ボス要望） */
  /* ★縦ベール＝上の文字部分だけ白く、下半分の猫は素の写真に近づける（白モヤの指摘で薄めた・2026-10-04） */
  .lfv__media::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 90%, transparent) 0%, color-mix(in srgb, var(--bg) 72%, transparent) 34%, color-mix(in srgb, var(--bg) 18%, transparent) 62%, transparent 100%); }
  .lfv__note { color: var(--ink); }
  /* 和文見出しは幅で折れ方が変わる。SPは1段落として、意味の切れ目で収まる大きさに */
  .is-lp .sec__h { font-size: 20px; }       /* 16字×(20+.8)=333px < 342px（390-24×2）。「それぞれのペースで、猫と過ごす。」は16字 */
  .cpt__h { font-size: 16.5px; line-height: 1.85; }   /* 19字×(16.5+.66)=326px */
  .lfv__img { object-position: 88% 40%; }   /* 横長2048×768＝顔が右端寄り。SPでは右側を見せる（2026-10-04） */
  .lfv__in { align-items: flex-start; padding-block: 48px 120px; }
  .lfv__catch { font-size: clamp(38px, 11vw, 52px); }
  .lfv__thumbs { right: 18px; bottom: 22px; }
  .cpt__in { grid-template-columns: 1fr 1fr; gap: 16px; }
  .use__grid, .safe__grid { grid-template-columns: 1fr; }
  .shop__item { flex-basis: 72vw; }
  .rules__grid { gap: 26px 14px; }
  .rules__ic { width: 84px; height: 84px; }
  .rules__t { font-size: 13px; line-height: 1.8; }
  .use__card { padding: 16px 18px; }
  .prc__tbl { font-size: 13.5px; }
  .prc__tbl th, .prc__tbl td { padding: 12px 8px; }
  .faq__tab { padding: 14px 2px; font-size: 12px; letter-spacing: 0; }   /* 「お店の利用について」9文字が1行に収まる幅（390px） */
  .acc__rows div { grid-template-columns: 64px 1fr; }
  .ft__in { flex-direction: column; gap: 22px; }
  .ft__r { align-items: flex-start; }
  .hd .hd__cta--line { display: none; }
}

/* ============================================================
   ★Fortune 出現アニメ v2（2026-10-02・ボス「もう少しプロっぽく可愛い感じ」）
   ------------------------------------------------------------
   方針
   ・動きを「要素の性格」で3種に分ける
       文章＝上へふわり（移動は小さく、時間は長く）
       写真＝奥から寄る（scale 1.1→1）＋角丸のまま帯で開く（clip-path）
       丸いもの（猫・サムネ・アイコン・料金の数字）＝少し行き過ぎて戻る「ぽん」
   ・同じブロックの中で「ラベル→見出し→本文→写真」の順に間を付ける（目が読む順）
   ・easing は2本だけ：--ease-out（止まり際がやわらかい）／--ease-pop（行き過ぎて戻る）
   ・opacity / transform / clip-path のみ＝レイアウトを動かさない（CLSゼロ）。reduce で全停止
   ・雛形の [data-rev]（IntersectionObserver → .on）の仕組みはそのまま。LP だけ上書き
   ============================================================ */
:root {
  --ease-out: cubic-bezier(.16, .84, .26, 1);
  --ease-pop: cubic-bezier(.34, 1.45, .64, 1);
  --t-txt: .9s;
  --t-ph:  1.3s;
}

/* ── 1) 土台：ブロック全体は小さく上へ（雛形の26px→16px、.7s→1s） ── */
html.js .is-lp [data-rev] {
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .is-lp [data-rev].on,
html.js.rev-safe .is-lp [data-rev] { transform: none; }

/* ── 2) ブロック内の順番（子要素に小さな遅れ）────────────────────
   ★子は親の opacity に乗るので、親が見え始めた後に順に立ち上がる */
html.js .is-lp [data-rev] :is(.lbl, .sec__h, .cpt__h, .cpt__txt, .abt2__items, .abt2__body,
  .prc__h, .prc__sub, .prc__tbl, .prc__note, .faq__h, .faq__tabs, .faq__panel,
  .acc__name, .acc__rows, .acc__open, .cats__name, .cats__trait, .cats__meta, .use__body, .safe__t, .safe__d) {
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--t-txt) var(--ease-out), transform var(--t-txt) var(--ease-out);
}
html.js .is-lp [data-rev] :is(.lbl)                       { transition-delay: calc(var(--d, 0s) + .05s); }
html.js .is-lp [data-rev] :is(.sec__h, .cpt__h, .faq__h, .acc__name, .safe__t, .use__body) { transition-delay: calc(var(--d, 0s) + .18s); }
html.js .is-lp [data-rev] :is(.cpt__txt, .abt2__items, .prc__sub, .faq__tabs, .acc__rows, .safe__d, .cats__name) { transition-delay: calc(var(--d, 0s) + .32s); }
html.js .is-lp [data-rev] :is(.abt2__body, .prc__tbl, .faq__panel, .acc__open, .cats__trait, .cats__meta)    { transition-delay: calc(var(--d, 0s) + .46s); }
html.js .is-lp [data-rev] :is(.prc__note)                 { transition-delay: calc(var(--d, 0s) + .6s); }
:is(html.js .is-lp [data-rev].on, html.js.rev-safe .is-lp [data-rev]) :is(.lbl, .sec__h, .cpt__h, .cpt__txt, .abt2__items, .abt2__body,
  .prc__h, .prc__sub, .prc__tbl, .prc__note, .faq__h, .faq__tabs, .faq__panel,
  .acc__name, .acc__rows, .acc__open, .cats__name, .cats__trait, .cats__meta, .use__body, .safe__t, .safe__d) { opacity: 1; transform: none; }

/* 料金の大きな数字だけ「ぽん」（文字ブロックの中で1つだけ性格を変える＝目が止まる） */
html.js .is-lp [data-rev] .prc__h { transform: scale(.86); transition: opacity .7s var(--ease-out), transform 1s var(--ease-pop); transition-delay: calc(var(--d, 0s) + .18s); }

/* ── 3) 写真：角丸の帯で開きながら、奥から寄る ─────────────────── */
html.js .is-lp [data-rev] :is(.cpt__ph, .acc__map, .lnews .blog__thumb, .safe__ph) {
  clip-path: inset(10% 6% round var(--lp-r));
  transition: clip-path var(--t-ph) var(--ease-out);
}
html.js .is-lp [data-rev] :is(.cpt__ph, .acc__map, .lnews .blog__thumb, .abt2__ph, .safe__ph) img {
  transform: scale(1.12);
  transition: transform calc(var(--t-ph) + .3s) var(--ease-out);
}
html.js .is-lp [data-rev] .cpt__ph--l, html.js .is-lp [data-rev] .cpt__ph--l img { transition-delay: calc(var(--d, 0s) + .15s); }
html.js .is-lp [data-rev] .cpt__ph--r, html.js .is-lp [data-rev] .cpt__ph--r img { transition-delay: calc(var(--d, 0s) + .3s); }
html.js .is-lp [data-rev] .acc__map,  html.js .is-lp [data-rev] .acc__map img  { transition-delay: calc(var(--d, 0s) + .1s); }
:is(html.js .is-lp [data-rev].on, html.js.rev-safe .is-lp [data-rev]) :is(.cpt__ph, .acc__map, .lnews .blog__thumb) { clip-path: inset(0 0 round var(--lp-r)); }
:is(html.js .is-lp [data-rev].on, html.js.rev-safe .is-lp [data-rev]) .safe__ph { clip-path: inset(0 0 round 0); }
html.js .is-lp [data-rev] .safe__ph { clip-path: inset(8% 5% round 12px); transition-delay: calc(var(--d, 0s) + .08s); }
html.js .is-lp [data-rev] .safe__ph img { transition-delay: calc(var(--d, 0s) + .08s); }
:is(html.js .is-lp [data-rev].on, html.js.rev-safe .is-lp [data-rev]) :is(.cpt__ph, .acc__map, .lnews .blog__thumb, .abt2__ph, .safe__ph) img { transform: scale(1); }
:is(html.js .is-lp [data-rev].on, html.js.rev-safe .is-lp [data-rev]) .safe__card--ph:hover .safe__ph img { transform: scale(1.04); }
/* ★.blog__thumb は雛形の hover（scale 1.05）と同じ要素。出現後の hover は雛形の指定を活かす */
:is(html.js .is-lp [data-rev].on, html.js.rev-safe .is-lp [data-rev]) .blog__link:hover .blog__thumb img { transform: scale(1.05); }

/* 私たちについての2枚＝傾きはそのまま、不透明度だけ順に（transform は rotate を保つ） */
html.js .is-lp [data-rev] .abt2__ph { opacity: 0; transition: opacity 1s var(--ease-out); }
html.js .is-lp [data-rev] .abt2__ph--1, html.js .is-lp [data-rev] .abt2__ph--1 img { transition-delay: calc(var(--d, 0s) + .25s); }
html.js .is-lp [data-rev] .abt2__ph--2, html.js .is-lp [data-rev] .abt2__ph--2 img { transition-delay: calc(var(--d, 0s) + .5s); }
:is(html.js .is-lp [data-rev].on, html.js.rev-safe .is-lp [data-rev]) .abt2__ph { opacity: 1; }

/* お知らせのカード：親（.blog）が見えたら1枚ずつ（カードの --d は雛形が付けている） */
html.js .is-lp .blog[data-rev] .blog__card { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0s) + .1s); }
html.js .is-lp .blog[data-rev] .blog__card .blog__thumb { transition-delay: calc(var(--d, 0s) + .15s); }
:is(html.js .is-lp .blog[data-rev].on, html.js.rev-safe .is-lp .blog[data-rev]) .blog__card { opacity: 1; transform: none; }

/* ── 4) 丸いもの：「ぽん」 ─────────────────────────────────── */
/* 猫のプロフィール＝縮んだ状態から行き過ぎて戻る */
html.js .is-lp .cats__item[data-rev] { transform: translateY(12px) scale(.78); transition: opacity .6s var(--ease-out), transform .9s var(--ease-pop); }
html.js .is-lp .cats__item[data-rev].on, html.js.rev-safe .is-lp .cats__item[data-rev] { transform: none; }
/* 利用方法のアイコン＝カードが上がった後に、少し遅れて回りながらぽん */
html.js .is-lp .use__card[data-rev] .use__ic { transform: scale(.4) rotate(-25deg); transition: transform .8s var(--ease-pop); transition-delay: calc(var(--d, 0s) + .22s); }
:is(html.js .is-lp .use__card[data-rev].on, html.js.rev-safe .is-lp .use__card[data-rev]) .use__ic { transform: none; }
/* FAQ の各行＝上から順にすっと */
html.js .is-lp [data-rev] .faq__item { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
html.js .is-lp [data-rev] .faq__item:nth-child(1) { transition-delay: .5s; }
html.js .is-lp [data-rev] .faq__item:nth-child(2) { transition-delay: .58s; }
html.js .is-lp [data-rev] .faq__item:nth-child(3) { transition-delay: .66s; }
html.js .is-lp [data-rev] .faq__item:nth-child(4) { transition-delay: .74s; }
html.js .is-lp [data-rev] .faq__item:nth-child(5) { transition-delay: .82s; }
html.js .is-lp [data-rev] .faq__item:nth-child(n+6) { transition-delay: .9s; }
:is(html.js .is-lp [data-rev].on, html.js.rev-safe .is-lp [data-rev]) .faq__item { opacity: 1; transform: none; }
/* FAQ を開いたとき＝答えがふわっと（<details> は高さを動かすので、文字だけ遅れて出す） */
.faq__item[open] .faq__a { animation: faq-in .45s var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── 5) FV：読み込み時の順番（IntersectionObserver を使わない） ─────────
   写真がゆっくり引き → 見出し（行ごと）→ リード → ボタン → 注記 → サムネがぽんぽんぽん */
.lfv__img { transform: scale(1.08); animation: lfv-zoom 2.8s var(--ease-out) forwards; }
@keyframes lfv-zoom { to { transform: scale(1); } }
.lfv__line > span { animation-timing-function: var(--ease-out); animation-duration: 1s; }
/* ★初期状態は from 側に書き、fill-mode は backwards。forwards にすると終了後も
     最終キーフレームが transform を握り続け、hover（浮く）が効かなくなる */
.lfv__lead, .lfv__copy .lbtn, .lfv__note { animation: lfv-rise .9s var(--ease-out) backwards; }
.lfv__lead        { animation-delay: .55s; }
.lfv__copy .lbtn  { animation-delay: .7s; animation-timing-function: var(--ease-pop); }
.lfv__note        { animation-delay: .85s; }
@keyframes lfv-rise { from { opacity: 0; transform: translateY(12px); } }
.lfv__thumbs li { animation: lfv-pop .8s var(--ease-pop) backwards; animation-delay: calc(1s + var(--i) * .13s); }
@keyframes lfv-pop { from { opacity: 0; transform: translateY(10px) scale(.4); } }

/* ── 6) ホバー（小さな反応＝可愛さの仕上げ） ───────────────────── */
.cats__ph { transition: transform .5s var(--ease-pop), box-shadow .4s ease; }
.cats__item:hover .cats__ph { transform: translateY(-6px) rotate(-4deg); box-shadow: 0 16px 34px rgba(62,49,40,.14); }
.cats__item:nth-child(even):hover .cats__ph { transform: translateY(-6px) rotate(4deg); }
/* ★カード自身が [data-rev].on なので「.on の子孫の .use__card」では一致しない。.on:hover で書く */
html.js .is-lp .use__card[data-rev].on:hover .use__ic,
html.js.rev-safe .is-lp .use__card[data-rev]:hover .use__ic,
html:not(.js) .is-lp .use__card:hover .use__ic { transform: rotate(-12deg) scale(1.08); }
.use__card { transition: transform .4s var(--ease-out), box-shadow .4s ease; }
.use__card:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); }
.safe__card { transition: transform .4s var(--ease-out); }
.safe__card:hover { transform: translateY(-3px); }
.lfv__thumbs li { transition: transform .4s var(--ease-pop); }
.lfv__thumbs li > img, .lfv__thumb { animation: lfv-float 3.8s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
@keyframes lfv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.lfv__thumbs li:hover { transform: translateY(-4px) scale(1.06); z-index: 1; }
.ft__sn svg { transition: transform .35s var(--ease-pop); }
.ft__sn:hover svg { transform: translateY(-3px) scale(1.08); }
.faq__q { transition: color .2s ease; }
.faq__q:hover { color: var(--brand-d); }
.hd .hd__cta--line { transition: background .25s ease, transform .3s var(--ease-pop); }
.hd .hd__cta--line:hover { transform: translateY(-1px); }

/* ── 7) 動きを減らす設定＝全停止（雛形の方針に揃える） ─────────────── */
@media (prefers-reduced-motion: reduce) {
  .is-lp *, .is-lp *::before, .is-lp *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .is-lp [data-rev], html.js .is-lp [data-rev] * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .lfv__img, .lfv__line > span { opacity: 1 !important; transform: none !important; }
  .catbox[open] { animation: none; }
  .lfv__say { transition: none; }
  .lfv__thumbs li > img, .lfv__thumb { animation: none; }
}

/* ── 顧客支給のロゴ（2026-10-03）── */
.logo--img { display: inline-flex; align-items: center; line-height: 0; }
/* ★ヘッダーのロゴを大きく（2026-10-03 ボス要望）。雛形の .hd__in は 68px 固定なので高さごと広げる */
.is-lp .hd__in { height: 86px; }
.logo--img img { height: 64px; width: auto; display: block; }
.ft .logo--img img { height: 64px; }   /* ヘッダーと同じ大きさ（2026-10-03 ボス要望） */
.hd__logo { gap: 0; }
/* FVの注記の横に猫のマーク（小さく、少しだけ傾ける＝可愛い） */
.lfv__note { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 14px; padding-left: 6px; }   /* ボタンの下に1行で（2026-10-04 ボス要望・ボタン幅≒文言幅で揃って見える） */
.lfv__mark { width: 34px; height: 34px; opacity: .85; transform: rotate(-6deg); transition: transform .5s var(--ease-pop); }
.lfv__copy:hover .lfv__mark { transform: rotate(6deg) translateY(-2px); }
@media (max-width: 767px) {
  .is-lp .lbl { font-size: 14px; gap: 10px; }
  .is-lp .lbl::before, .is-lp .lbl::after { width: 20px; }
  .is-lp .hd__in { height: 70px; }
  .is-lp section[id] { scroll-margin-top: 84px; }
  .logo--img img { height: 48px; }
  .ft .logo--img img { height: 52px; }
  .lfv__mark { width: 30px; height: 30px; }
}

/* ── メディア記事のYouTube枠（2026-10-04）── */
.article__video { aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: color-mix(in srgb, var(--bg) 72%, var(--brand)); margin: 0 0 28px; }
.article__video--pending { border: 1.5px dashed color-mix(in srgb, var(--brand) 70%, var(--ink)); }
.article__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.article__video--pending { display: grid; place-content: center; text-align: center; color: var(--muted); }
.article__video--pending span { font-weight: 700; font-size: 16px; color: var(--ink); }
.article__video--pending small { display: block; margin-top: 4px; font-size: 12.5px; }


/* ============================================================
   修正最終（2026-10-12）
   ============================================================ */
/* 折り返さない塊（FVリード＝「保護猫と出会える、」｜「ちょっと特別なカフェ＆ラウンジ」）
   ★PCは1行、狭い幅では塊の切れ目でだけ折れる＝Safariの text-wrap に左右されない（ルール64） */
.nb { display: inline-block; }

/* 料金＝表のみ（#2）。節の小見出しが h2 を兼ねる */
.prc h2.lbl { margin-bottom: 0; }
.prc__tbl thead th { line-height: 1.5; }

/* お知らせのタイトルに添えるSNSロゴ（#5・#6） */
.sns-ic { display: inline-block; width: 1.25em; height: 1.25em; margin-right: .4em; vertical-align: -.22em; flex: none; }
.sns-ic--youtube   { color: #FF0000; }
.sns-ic--instagram { color: #E1306C; }

/* お店からのお願い＝地色つきの節へ移ったので、アイコンの丸は白地に（#12の並べ替えに伴う） */
.rules .rules__ic { background: var(--bg); }

/* ── ぽっくんの小部屋（#7） ── */
/* ★本文は顧客の改行どおり＝最長の行（44字）がPCで1行に収まる幅を本文列に取る（15px×1.04×44＝686px）。写真列は300px */
.pok__in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; max-width: 1100px; margin-inline: auto; }
.pok__ph { border-radius: var(--lp-r, 18px); overflow: hidden; box-shadow: var(--lp-shadow); background: var(--bg); }   /* 傾き・揺れなし（2026-10-12 ボス） */
.pok__ph img { width: 100%; height: auto; }
.is-lp .pok__body .lbl::after { display: none; }
.pok__h { text-align: left; }
.pok__txt { margin-top: 22px; font-size: 15px; line-height: 2; word-break: auto-phrase; }
.pok__txt p + p { margin-top: 1.1em; }
.pok__ph3 { margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; font-size: clamp(17px, 1.8vw, 21px); font-weight: 800; letter-spacing: .04em; word-break: auto-phrase; }
.pok__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); max-width: 1040px; margin: clamp(24px, 3vw, 32px) auto 0; }
.pok__plan { background: var(--bg); border-radius: 14px; padding: 26px 24px 24px; box-shadow: var(--lp-shadow); display: flex; flex-direction: column; }
.pok__tag { display: inline-block; align-self: flex-start; background: var(--brand); color: var(--on-brand); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; }
.pok__name { margin-top: 14px; font-size: 18px; font-weight: 800; letter-spacing: .03em; }
.pok__sub { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); word-break: auto-phrase; }
.pok__price { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pok__yen { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.pok__price small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pok__time { margin-top: 4px; font-size: 13px; font-weight: 600; }
.pok__time span { font-weight: 800; margin-right: .6em; }
.pok__text { margin-top: 14px; font-size: 14px; line-height: 1.9; flex: 1; }
.pok__note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.pok__cta { margin-top: clamp(32px, 4vw, 44px); text-align: center; }
@media (max-width: 1024px) {
  .pok__plans { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 767px) {
  .pok__in { grid-template-columns: 1fr; gap: 28px; }
  .pok__ph { max-width: 260px; margin-inline: auto; }
  .pok__body { text-align: left; }
  .pok__txt { font-size: 14px; line-height: 1.95; }
  .prc__tbl th, .prc__tbl td { padding: 12px 4px; }
  .prc__tbl thead th { font-size: 12px; }
  .prc__tbl td { font-size: 14.5px; }
  .prc__tbl td small { font-size: 10.5px; letter-spacing: 0; }
}

/* ナビ8タブ（修正最終#12）＝PC幅の下限（1025〜1199px）では間隔と文字を詰める。項目は折り返さない
   ★実測：1025pxで「コンセプ／ト」など全項目が2行に割れていた → 詰めて1行に */
.hd__nav a { white-space: nowrap; }
.hd__logo, .hd__in > a:first-child { flex: none; }
@media (min-width: 1025px) and (max-width: 1199px) {
  .hd__r { gap: 14px; }
  .hd__nav { gap: 13px; }
  .hd__nav a { font-size: 12.5px; letter-spacing: .01em; }
  .hd .hd__cta { padding: 10px 14px; font-size: 12.5px; }
}
@media (max-width: 767px) {
  /* FVリード＝スマホは必ず「保護猫と出会える、」で改行（顧客指定・430px幅でも） */
  .lfv__lead .nb { display: block; }
  /* 料金表＝税込はカッコを外して1行に（390pxで「（税込1,045／円）」と割れていた） */
  .prc__pa { display: none; }
  .prc__tbl td small { font-size: 10.5px; white-space: nowrap; }
  .prc__tbl tbody th { font-size: 12.5px; line-height: 1.5; }
}
/* お店からのお願い＝320px幅で文の最小幅に押されて横にはみ出していた（実測 348px）→ 列を縮められるように */
.rules__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .rules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } }
