@charset "UTF-8";

/* =========================================================
   Mitsukaeru Web — main.css (v4)

   ブランドブルー #1273E6 を基準に、「光と奥行き」で見せる方向。
   ・明るい面を基調にし、締めたい箇所だけ濃紺
   ・背景のオーロラ、ガラス質のヘッダー、カードの浮き上がりで立体感を出す
   ・本文まわりは静かに保ち、読みやすさを優先する

   目次
    1. トークン
    2. ベース
    3. 装飾レイヤー（オーロラ・グレイン・仕切り）
    4. セクション共通
    5. ボタン
    6. 進捗バー
    7. ヘッダー
    8. 全画面メニュー
    9. ファーストビュー
   10. 選ばれる理由
   11. できること
   12. 実績
   13. 流れ
   14. 料金
   15. FAQ
   16. 最終CTA
   17. フッター
   18. 下層ページ・フォーム
   19. Contact Form 7
   20. スクロール表示
   21. レスポンシブ
   22. モーションを減らす設定
   ========================================================= */

/* ---------- 1. トークン ---------- */
:root {
  --blue:       #1273E6;
  --blue-dk:    #0B4FA8;
  --blue-dp:    #073372;
  --blue-lt:    #4E9BF2;
  --blue-sky:   #86C2FF;
  --blue-soft:  #E8F1FD;
  --blue-mist:  #F5F9FE;

  /* 濃い面の色。黒ではなく、ブランドブルーを深くした青で締める */
  --dark:       #0C3B78;
  --dark-2:     #124A93;
  --dark-3:     #1B5AAB;
  --dark-deep:  #082C5C;

  /* mitsukaeru.jp の見出し「戻ってくる。」から採った緑。
     --green は大きな見出し専用（白地で 3.9:1）。
     小さい文字に使うときは --green-dk（白地で 5.1:1）を使うこと。 */
  --green:      #5F8E33;
  --green-dk:   #4E7A26;

  --white:      #FFFFFF;
  --paper:      #F5F7FA;

  --ink:        #1B2430;
  --ink-72:     rgba(27,36,48,.74);   /* 本文。v3の62%から上げて読みやすく */
  --ink-62:     rgba(27,36,48,.62);
  --ink-46:     rgba(27,36,48,.46);
  --ink-38:     rgba(27,36,48,.38);
  --ink-14:     rgba(27,36,48,.14);
  --ink-08:     rgba(27,36,48,.08);
  --ink-04:     rgba(27,36,48,.04);

  --snow-84:    rgba(255,255,255,.86);  /* 濃紺上の本文 */
  --snow-72:    rgba(255,255,255,.72);
  --snow-44:    rgba(255,255,255,.44);
  --snow-24:    rgba(255,255,255,.24);
  --snow-16:    rgba(255,255,255,.16);
  --snow-08:    rgba(255,255,255,.08);

  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --sp-10: 128px; --sp-11: 160px;

  --ff-ja: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --ff-en: "Archivo", "Noto Sans JP", sans-serif;

  --fs-hero:   clamp(34px, 4.9vw, 70px);
  --fs-huge:   clamp(30px, 5vw, 68px);
  --fs-h2:     clamp(28px, 4.2vw, 54px);
  --fs-h3:     clamp(19px, 2.1vw, 26px);
  --fs-lead:   clamp(15.5px, 1.4vw, 18px);
  --fs-body:   clamp(15.5px, 1.15vw, 17px);
  --fs-sm:     15px;
  --fs-xs:     12px;

  --wrap: 1260px;
  --header-h: 78px;
  --ease: cubic-bezier(.16, .84, .34, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  /* 横のはみ出しはここで切る。clip はスクロール枠を作らないので、
     中の position:sticky（法務ページの目次など）が生きたまま横揺れを防げる。 */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--ff-ja);
  font-size: var(--fs-body);
  line-height: 1.95;
  color: var(--ink);
  background: var(--white);
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--blue); color: #fff; padding: 12px 20px; font-weight: 700; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 8px; top: 8px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. 装飾レイヤー ---------- */
/* オーロラ：ゆっくり動く色の塊。文字の背後に敷いて奥行きを出す */
.aurora { position: absolute; inset: -20% -10%; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .55;
  will-change: transform;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -6%;  background: radial-gradient(circle, rgba(18,115,230,.55), transparent 68%); animation: drift-a 22s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; left: 66%; top: 34%;  background: radial-gradient(circle, rgba(134,194,255,.55), transparent 68%); animation: drift-b 27s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 30%; top: 52%;  background: radial-gradient(circle, rgba(11,79,168,.38), transparent 70%); animation: drift-c 31s ease-in-out infinite; }

@keyframes drift-a { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-7%, 6%, 0) scale(1.12); } }
@keyframes drift-b { 0%,100% { transform: translate3d(0,0,0) scale(1.06); } 50% { transform: translate3d(6%, -8%, 0) scale(.94); } }
@keyframes drift-c { 0%,100% { transform: translate3d(0,0,0) scale(.96); } 50% { transform: translate3d(9%, 4%, 0) scale(1.14); } }

/* 濃紺の面に薄くのせる粒子。のっぺりしないように */
.grain { position: absolute; inset: 0; background-image: var(--grain); opacity: .22; mix-blend-mode: overlay; pointer-events: none; z-index: 1; }

/* 点のグリッド */
.dotgrid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(27,36,48,.15) 1px, transparent 0);
  background-size: 34px 34px;
}
.dotgrid--light { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.17) 1px, transparent 0); }
.dotgrid--fade {
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 55% 42%, #000 25%, transparent 76%);
  mask-image: radial-gradient(ellipse 85% 70% at 55% 42%, #000 25%, transparent 76%);
}

/* セクションの境目に走る光の線 */
.seam { position: relative; }
.seam::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18,115,230,.5), rgba(134,194,255,.7), rgba(18,115,230,.5), transparent);
  z-index: 2;
}

/* ---------- 4. セクション共通 ---------- */
.section {
  padding-block: var(--sp-11);
  position: relative;
  overflow: hidden;
  overflow: clip;   /* 同上。中の目次・サイドバーを追従させるため */
}
.section--white { background: var(--white); color: var(--ink); }
.section--paper { background: var(--paper); color: var(--ink); }
/* 直前の帯と続けて見せたいとき、上の余白だけ詰める（制作実績で使用） */
.section--tight-top { padding-top: var(--sp-9); }
@media (max-width: 860px) { .section--tight-top { padding-top: var(--sp-8); } }
.section--ink   { background: var(--dark); color: var(--white); }
.section--ink::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 78% 12%, rgba(18,115,230,.2), transparent 64%),
              radial-gradient(ellipse 50% 60% at 10% 92%, rgba(18,115,230,.16), transparent 66%);
  pointer-events: none;
}
.section > .wrap { position: relative; z-index: 2; }

.sec-head { position: relative; margin-bottom: var(--sp-9); }

/* 大きな白抜きの通し番号は、制作の流れの工程番号と紛らわしいのでやめた。
   セクションの番号は英字ラベルの前に小さく添える（mitsukaeru.co.jp の「01 / About」と同じ形）。 */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--blue);
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 1;
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; flex: none;
  background: var(--blue); border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(18,115,230,.15);
}
.eyebrow::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); }
.eyebrow__no {
  font-style: normal;
  color: var(--ink-38);
  letter-spacing: .16em;
}
.eyebrow__no::after { content: " /"; color: var(--ink-14); }
.section--ink .eyebrow__no { color: var(--snow-44); }
.section--ink .eyebrow__no::after { color: var(--snow-24); }
.section--ink .eyebrow { color: var(--blue-sky); }
.section--ink .eyebrow::before { background: var(--blue-sky); box-shadow: 0 0 0 5px rgba(134,194,255,.18); }
.section--ink .eyebrow::after { background: linear-gradient(90deg, var(--blue-sky), transparent); }

.sec-title {
  position: relative;
  z-index: 1;
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.sec-lead {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-5);
  font-size: var(--fs-lead);
  line-height: 2.1;
  max-width: 40em;
  color: var(--ink-72);
}
.section--ink .sec-lead { color: var(--snow-84); }

.mark { position: relative; color: var(--blue); }

/* ---------- 5. ボタン ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 34px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%);
  transition: transform .42s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::before { transform: translateY(0); }
.btn .ar { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue::before { background: var(--dark); }
.btn--blue:hover { color: #fff; }

.btn--line-dark { border-color: var(--ink-14); color: var(--ink); background: #fff; }
.btn--line-dark::before { background: var(--dark); }
.btn--line-dark:hover { color: #fff; border-color: var(--dark); }

.btn--line-light { border-color: var(--snow-44); color: #fff; }
.btn--line-light::before { background: #fff; }
.btn--line-light:hover { color: var(--dark); border-color: #fff; }

.btn--white { background: #fff; color: var(--blue-dk); }
.btn--white::before { background: var(--dark); }
.btn--white:hover { color: #fff; }

.btn--lg { padding: 22px 44px; font-size: 16px; }

/* ---------- 6. 読み込み進捗バー ---------- */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px; width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  z-index: 200;
  will-change: transform;
}

/* ---------- 7. ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 3px 0 auto 0;
  height: var(--header-h);
  z-index: 150;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(18,115,230,.14);
  box-shadow: 0 10px 24px -22px rgba(27,36,48,.5);
  height: 66px;
}
/* メニューを開いているあいだはヘッダーの地を消す */
.site-header.is-menu-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }

.site-header__inner {
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; position: relative; z-index: 2; }
.brand__mark { width: 38px; height: auto; transition: transform .5s var(--ease-back); }
/* メニューを開くと背景が濃紺になるので、白いロゴに入れ替える */
.brand__mark--light { display: none; }
.site-header.is-menu-open .brand__mark--dark { display: none; }
.site-header.is-menu-open .brand__mark--light { display: block; }
.brand:hover .brand__mark { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 900; font-size: 16px; letter-spacing: .01em; color: var(--ink); transition: color .3s var(--ease); }
.brand__sub { font-family: var(--ff-en); font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--blue); transition: color .3s var(--ease); }
.site-header.is-menu-open .brand__name { color: #fff; }
.site-header.is-menu-open .brand__sub { color: var(--blue-sky); }

/* 現在地を示す下線が、項目のあいだをすべっていく */
.gnav { position: relative; }
.gnav ul { display: flex; gap: var(--sp-6); align-items: center; }
.gnav a, .brand__name { white-space: nowrap; }
.gnav a {
  position: relative;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-62);
  padding-block: 8px;
  transition: color .25s var(--ease);
}
.gnav a::after {
  content: "";
  position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s var(--ease-out);
}
.gnav a:hover { color: var(--ink); }
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.gnav a.is-current { color: var(--blue); }
.gnav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.header-cta { padding: 12px 24px; font-size: 13px; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px; height: 48px;
  border: 1px solid var(--ink-14);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease-back);
}
.nav-toggle:hover { transform: scale(1.06); }
.nav-toggle i { position: relative; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: background .25s var(--ease); }
.nav-toggle i::before, .nav-toggle i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .42s var(--ease-back), width .3s var(--ease), background .25s var(--ease);
}
.nav-toggle i::before { top: -6px; }
.nav-toggle i::after  { top: 6px; width: 12px; }
.nav-toggle:hover i::after { width: 18px; }

.nav-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,.12);
  border-color: var(--snow-44);
}
.nav-toggle[aria-expanded="true"] i { background: transparent; }
.nav-toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); background: #fff; }
.nav-toggle[aria-expanded="true"] i::after  { transform: translateY(-6px) rotate(-45deg); width: 18px; background: #fff; }

/* ---------- 8. 全画面メニュー ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: var(--dark);
  color: #fff;
  /* overflow-y だけ指定すると overflow-x が auto に計算され、横に振れてしまう。
     clip はスクロール領域そのものを作らないので、指でもずらせない。 */
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* トグルボタンの位置から円形に広がる */
  clip-path: circle(0px at calc(100% - 44px) 42px);
  transition: clip-path .72s var(--ease-out), visibility 0s linear .72s;
  visibility: hidden;
}
/* 全画面メニューの中では、オーロラを左右にはみ出させない（横揺れの元になる） */
.menu .aurora { inset: -20% 0; }

.menu.is-open {
  clip-path: circle(155% at calc(100% - 44px) 42px);
  visibility: visible;
  transition: clip-path .78s var(--ease-out), visibility 0s;
}

.menu__inner {
  position: relative;
  z-index: 2;
  min-height: 100%;
  width: min(100% - 40px, 720px);
  margin-inline: auto;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  justify-content: center;
}

.menu__label {
  font-family: var(--ff-en);
  font-size: 11px; font-weight: 700; letter-spacing: .3em;
  color: var(--blue-sky);
  display: flex; align-items: center; gap: 14px;
}
.menu__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--snow-24), transparent); }

.menu__list { display: grid; }
.menu__item { border-bottom: 1px solid var(--snow-08); }
.menu__item a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 26px;
  align-items: center;
  gap: var(--sp-4);
  padding: 15px 6px;
  transition: padding-left .4s var(--ease-out), background .35s var(--ease);
  border-radius: 12px;
}
.menu__item a:hover { padding-left: 18px; background: rgba(255,255,255,.05); }

.menu__no { font-family: var(--ff-en); font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--blue-sky); }
.menu__txt { display: flex; flex-direction: column; gap: 2px; }
.menu__ja { font-size: clamp(21px, 4.4vw, 30px); font-weight: 900; letter-spacing: -.015em; line-height: 1.35; }
.menu__en { font-family: var(--ff-en); font-size: 10.5px; font-weight: 700; letter-spacing: .22em; color: var(--snow-44); }
.menu__ar { width: 22px; height: 22px; color: var(--snow-44); transition: transform .35s var(--ease), color .3s var(--ease); }
.menu__item a:hover .menu__ar { transform: translateX(5px); color: var(--blue-sky); }

.menu__foot { display: grid; gap: var(--sp-5); }
.menu__contact { font-size: var(--fs-sm); line-height: 2; color: var(--snow-84); }
.menu .btn { width: 100%; }

/* 開いたときに項目が下からせり上がる */
.menu__item, .menu__label, .menu__foot { opacity: 0; transform: translateY(22px); }
.menu.is-open .menu__label,
.menu.is-open .menu__item,
.menu.is-open .menu__foot {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.menu.is-open .menu__label { transition-delay: .16s; }
.menu.is-open .menu__item:nth-child(1) { transition-delay: .22s; }
.menu.is-open .menu__item:nth-child(2) { transition-delay: .28s; }
.menu.is-open .menu__item:nth-child(3) { transition-delay: .34s; }
.menu.is-open .menu__item:nth-child(4) { transition-delay: .40s; }
.menu.is-open .menu__item:nth-child(5) { transition-delay: .46s; }
.menu.is-open .menu__item:nth-child(6) { transition-delay: .52s; }
.menu.is-open .menu__item:nth-child(7) { transition-delay: .58s; }
.menu.is-open .menu__foot { transition-delay: .64s; }

/* ---------- 9. ファーストビュー ---------- */
/* 姉妹サイト（mitsukaeru.co.jp / mitsukaeru.jp）と同じ骨組み。
   左に 英字ラベル → 見出し → リード → ボタン2つ、右に大きなビジュアル、下端に SCROLL。
   両サイトとも、上部の帯・縦の罫線・数字の帯は置いていないので、こちらも置かない。 */
.fv {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-9);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}

/* co.jp と同じ、面いっぱいのドット */
.fv > .dotgrid { z-index: 1; }

/* 右手の、ごく淡い光 */
.fv__glow {
  position: absolute;
  width: 74vw; height: 74vw;
  max-width: 1000px; max-height: 1000px;
  left: 68%; top: 46%;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(18,115,230,.12) 0%, rgba(18,115,230,.035) 46%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: translate 1.2s var(--ease);
}

.fv__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.fv__copy { position: relative; }

/* 姉妹サイトは線も点も付けず、レタースペースの英字だけ */
.fv__eyebrow {
  font-family: var(--ff-en);
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  color: var(--ink-46);
  margin-bottom: var(--sp-5);
}

/* 見出し。1行目で受けて、2行目・3行目で言い切る */
.fv__title {
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.fv__line { display: block; overflow: hidden; padding-bottom: .08em; }
.fv__line > span {
  display: inline-block;
  position: relative;
  transform: translateY(105%);
  transition: transform 1.05s var(--ease-out);
}
.fv.is-ready .fv__line > span { transform: translateY(0); }

/* 大きい行は1文字ずつせり上がる。ch ごとに --d の番号ぶん遅らせる */
.fv__line--lg > span { transform: none; transition: none; }
.fv__line--lg .ch {
  display: inline-block;
  transform: translateY(115%);
  transition: transform .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 34ms);
}
.fv.is-ready .fv__line--lg .ch { transform: none; }

.fv__line--sm {
  font-size: clamp(17px, 1.8vw, 26px);
  letter-spacing: -.01em;
  color: var(--ink-62);
  margin-bottom: .45em;
}
.fv__line--lg { font-size: clamp(30px, 4.3vw, 62px); white-space: nowrap; }

/* 折り返しで切りたくないまとまり（強調語＋句点など）を包む */
.nb { display: inline-block; }

/* 強調する語は色だけ変える。句点まで含めて色を付ける。
   姉妹サイト（mitsukaeru.jp / .co.jp）と同じ、下線を引かない見せ方。

   FVの見出しは「見つける。」「つくる。」の2語とも青。
   .mark--ink … その語だけ本文色に落とす（青を1語だけにしたいとき）
   .mark--green … mitsukaeru.jp の緑。大きな見出し専用（白地で3.9:1） */
.mark { display: inline-block; color: var(--blue); }
.mark--ink { color: var(--ink); }
.mark--green { color: var(--green); }

.fv__lead {
  margin-top: var(--sp-6);
  font-size: var(--fs-lead);
  line-height: 2.05;
  color: var(--ink-72);
  max-width: 32em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .85s var(--ease) .52s, transform .85s var(--ease) .52s;
}
.fv.is-ready .fv__lead { opacity: 1; transform: none; }

.fv__actions {
  margin-top: var(--sp-6);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .85s var(--ease) .64s, transform .85s var(--ease) .64s;
}
.fv.is-ready .fv__actions { opacity: 1; transform: none; }

.linkarrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 800;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink-14);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.linkarrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.linkarrow:hover { color: var(--blue-dk); border-bottom-color: var(--blue-dk); }
.linkarrow:hover svg { transform: translateX(4px); }

/* --- 右側。co.jp と同じ「角丸の大きな面 → その下に小さな注記」の組み方 --- */
.fv__vis {
  position: relative;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease) .72s, transform 1.1s var(--ease-out) .72s;
}
.fv.is-ready .fv__vis { opacity: 1; transform: none; }

/* 実物を載せる面。co.jp の淡い角丸パネルに相当する */
.fv__stage {
  position: relative;
  padding: var(--sp-5) var(--sp-5) calc(var(--sp-5) + 34px) 30px;
  border-radius: 22px;
  background: linear-gradient(158deg, #FAFBFD 0%, #EEF4FC 100%);
  border: 1px solid rgba(18,115,230,.1);
}

.fv__shot { display: block; margin: 0; position: relative; }
.fv__shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--white);
  border-radius: 12px;
  transition: transform .6s var(--ease-out);
}
.fv__shot--main img {
  border: 1px solid var(--ink-08);
  box-shadow: 0 30px 54px -34px rgba(8,44,92,.45);
}
/* 2枚目は左下にずらして重ねる。奥行きだけで、光沢は足さない */
.fv__shot--sub {
  position: absolute;
  left: 0; bottom: var(--sp-5);
  width: 46%;
  z-index: 4;
}
.fv__shot--sub img {
  border: 5px solid var(--white);
  box-shadow: 0 22px 40px -22px rgba(8,44,92,.5);
}
.fv__shot--sub:hover img { transform: translateY(-5px); }

/* 面の下の注記。co.jp の「虫めがねを動かして〜」の行にあたる */
.fv__viscap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px var(--sp-5);
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--ink-46);
}
.fv__viscap span { display: inline-flex; align-items: center; gap: 8px; }
.fv__viscap i {
  width: 7px; height: 7px; flex: none;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(18,115,230,.14);
}
.fv__viscap__sites { font-family: var(--ff-en); letter-spacing: .04em; color: var(--ink-38); }

/* --- 約束できる数字。FVの外に出した細い帯 ---
   英字ラベル → 数字＋単位 → 日本語の説明、の3段。 */
.numbers {
  position: relative;
  background: var(--white);
  border-top: 1px solid var(--ink-08);
  border-bottom: 1px solid var(--ink-08);
}
.numbers__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fv__stat {
  position: relative;
  display: grid;
  gap: 7px;
  align-content: start;
  padding: var(--sp-5) var(--sp-6) var(--sp-6) 0;
}
.fv__stat + .fv__stat { border-left: 1px solid var(--ink-08); padding-left: var(--sp-6); }

/* 上端でだけ光る青い線。画面に入ったら左から伸びる */
.fv__stat::before {
  content: "";
  position: absolute; left: 0; right: var(--sp-6); top: -1px;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.fv__stat + .fv__stat::before { left: var(--sp-6); }
.numbers.is-in .fv__stat::before { transform: scaleX(1); }
.numbers.is-in .fv__stat:nth-child(2)::before { transition-delay: .14s; }
.numbers.is-in .fv__stat:nth-child(3)::before { transition-delay: .28s; }

.fv__stat dt {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-en);
  font-size: 10px; font-weight: 800; letter-spacing: .22em;
  color: var(--blue);
}
.fv__stat dt::before {
  content: ""; width: 5px; height: 5px; flex: none;
  background: var(--blue); border-radius: 1px;
  rotate: 45deg;
}

.fv__statnum {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--ff-en);
  color: var(--ink);
}
.fv__statnum b {
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 800; line-height: 1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.fv__statnum i {
  font-family: var(--ff-ja); font-style: normal;
  font-size: 14px; font-weight: 800;
  color: var(--ink-72);
}

.fv__statnote { font-size: 12.5px; line-height: 1.7; color: var(--ink-46); }

/* co.jp と同じ、左下に横向きの SCROLL */
.scroll-hint {
  position: absolute;
  left: max(20px, calc((100% - var(--wrap)) / 2));
  bottom: var(--sp-6);
  z-index: 4;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-en);
  font-size: 10px; font-weight: 700; letter-spacing: .28em;
  color: var(--ink-38);
  opacity: 0;
  transition: opacity 1s var(--ease) 1.1s;
}
.fv.is-ready .scroll-hint { opacity: 1; }
.scroll-hint i { position: relative; display: block; width: 52px; height: 1px; background: var(--ink-14); overflow: hidden; }
.scroll-hint i::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 1px;
  background: var(--blue);
  animation: hint 2.3s var(--ease) infinite;
}
@keyframes hint { 0% { transform: translateX(-18px); } 100% { transform: translateX(52px); } }

/* ---------- 9b. お悩み（LPの入口） ---------- */
/* FVのすぐ下で「自分ごと」にしてもらうための一覧。
   枠では囲わず、罫線と番号だけで組む。 */
.pain { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-8); }
.pain__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: start;
  padding-block: var(--sp-5);
  border-top: 1px solid var(--ink-08);
}
.pain__item:nth-child(1), .pain__item:nth-child(2) { border-top: 0; }
.pain__mark {
  width: 22px; height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1px solid var(--ink-14);
  display: grid; place-items: center;
  color: var(--ink-38);
  flex: none;
}
.pain__mark svg { width: 10px; height: 10px; }
.pain__txt { font-size: var(--fs-body); font-weight: 700; line-height: 1.9; letter-spacing: -.005em; }
.pain__note {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 2px solid var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.pain__note p { font-size: var(--fs-h3); font-weight: 900; letter-spacing: -.015em; line-height: 1.6; }

/* ---------- 9c. 途中のCTA ---------- */
.midcta {
  position: relative;
  background: var(--blue);
  color: #fff;
  padding-block: var(--sp-8);
  overflow: hidden;
}
.midcta__bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.midcta__inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-5) var(--sp-7);
}
.midcta__txt { display: grid; gap: 8px; }
.midcta__ttl { font-size: var(--fs-h3); font-weight: 900; letter-spacing: -.015em; line-height: 1.5; }
.midcta__sub { font-size: var(--fs-sm); line-height: 1.9; color: var(--snow-84); }

/* ---------- 10. 選ばれる理由 ---------- */
/* 枠で囲わず、上の罫線と余白だけで3つに分ける */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-7); }
.why__card {
  position: relative;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--ink-14);
}
/* ホバーで上の罫線だけが青くなる */
.why__card::before {
  content: "";
  position: absolute; left: 0; top: -1px;
  width: 100%; height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.why__card:hover::before { transform: scaleX(1); }

.why__no {
  display: block;
  font-family: var(--ff-en);
  font-size: 11px; font-weight: 800; letter-spacing: .22em;
  color: var(--blue);
  margin-bottom: var(--sp-6);
}
.why__ico { display: block; color: var(--blue); margin-bottom: var(--sp-5); }
.why__icon { width: 34px; height: 34px; }
.why__card h3 {
  font-size: var(--fs-h3);
  font-weight: 900; line-height: 1.5; letter-spacing: -.015em;
  margin-bottom: var(--sp-4);
  transition: color .3s var(--ease);
}
.why__card:hover h3 { color: var(--blue-dk); }
.why__card p { font-size: var(--fs-sm); line-height: 2.05; color: var(--ink-72); }

/* ---------- 11. できること ---------- */
/* 5項目を 2枚 + 3枚 の2段に組む。
   1段目を大きく見せることで、主力のLP・コーポレートに視線が行くようにしている。 */
.svc { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-5); }
.svc__card:nth-child(1),
.svc__card:nth-child(2) { grid-column: span 3; }
.svc__card:nth-child(3),
.svc__card:nth-child(4),
.svc__card:nth-child(5) { grid-column: span 2; }

.svc__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* 上辺を青い帯がのびる */
.svc__card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.svc__card:hover {
  border-color: var(--ink-14);
  transform: translateY(-6px);
  box-shadow: 0 28px 48px -36px rgba(27,36,48,.45);
}
.svc__card:hover::before { transform: scaleX(1); }

.svc__head { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.svc__no {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--ff-en);
  font-size: 15px; font-weight: 800; letter-spacing: .04em;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.svc__card:hover .svc__no { background: var(--blue-dk); color: #fff; }

.svc__name { font-size: var(--fs-h3); font-weight: 900; line-height: 1.45; letter-spacing: -.01em; }
.svc__desc { font-size: var(--fs-sm); line-height: 2.05; color: var(--ink-72); }

.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--sp-5); }
.svc__tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink-62);
  background: var(--paper);
  border-radius: 6px;
  padding: 5px 11px;
}

/* ---------- 12. 実績 ---------- */
/* 額縁や傾きをやめ、図版とキャプションだけで見せる */
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.work { display: block; position: relative; }

.work__frame {
  position: relative;
  border: 1px solid var(--ink-08);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.work__thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform .9s var(--ease-out); }
.work:hover img.work__thumb { transform: scale(1.03); }

/* カーソルに追従する虫めがね。ミツカエルの「見つける」に合わせた仕掛け */
.work__lens {
  position: absolute;
  width: 210px; height: 210px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--blue), 0 24px 46px -14px rgba(8,44,92,.6);
  pointer-events: none;
  opacity: 0;
  translate: -50% -50%;
  scale: .82;
  transition: opacity .22s var(--ease), scale .4s var(--ease-back);
  z-index: 3;
}
.is-lens > .work__lens { opacity: 1; scale: 1; }
/* レンズの柄 */
.work__lens::after {
  content: "";
  position: absolute;
  right: -14px; bottom: -6px;
  width: 40px; height: 10px;
  border-radius: 99px;
  background: var(--blue);
  rotate: 42deg;
  transform-origin: left center;
}

.works__hint {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--ink-46);
  display: flex; align-items: center; gap: 9px;
}
.works__hint::before {
  content: "";
  width: 13px; height: 13px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  flex: none;
}
@media (hover: none) { .works__hint { display: none; } }

.work__no {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #fff;
  color: var(--blue);
  font-family: var(--ff-en); font-weight: 800; font-size: 11px; letter-spacing: .14em;
  padding: 7px 13px;
  border-radius: 99px;
}
.work__body { padding-top: var(--sp-5); }
.work__meta { font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--ink-38); }
.work__title { font-size: var(--fs-h3); font-weight: 900; margin-top: 10px; letter-spacing: -.015em; transition: color .3s var(--ease); }
.work:hover .work__title { color: var(--blue-dk); }
.work__desc { font-size: var(--fs-sm); line-height: 2; color: var(--ink-72); margin-top: 10px; max-width: 30em; }
.work__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--sp-4);
  font-size: var(--fs-sm); font-weight: 800;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 4px;
}
.work__link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.work:hover .work__link svg { transform: translate(3px, -3px); }

/* スクショ未配置のときの代替表示 */
.work__ph {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(-45deg, transparent 0 12px, rgba(27,36,48,.03) 12px 24px),
    var(--blue-mist);
}
.work__ph img { width: 44px; height: auto; opacity: .45; }
.work__ph span {
  font-family: var(--ff-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-38);
}

/* 代表事例。1件だけ横幅いっぱいに使い、画像と説明を左右に並べる */
.work--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--sp-7);
  align-items: center;
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--ink-08);
}
.work--lead .work__body { padding-top: 0; }
.work--lead .work__title { font-size: clamp(22px, 2.5vw, 30px); }
.work--lead .work__desc { max-width: none; }
.work--lead .work__frame { box-shadow: 0 30px 60px -30px rgba(12,59,120,.32); }

/* 目的・担当範囲。画像の下に短く添える */
.work__spec {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--sp-4);
  row-gap: 10px;
  align-items: start;
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px dashed var(--ink-14);
}
.work__spec dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.6;
  color: var(--blue-dk);
  background: var(--blue-soft);
  border-radius: 5px;
  padding: 4px 9px;
  white-space: nowrap;
}
.work__spec dd {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-72);
  padding-top: 3px;
}

/* ---------- 12b. お問い合わせページ ---------- */
/* 姉妹サイト（mitsukaeru.co.jp / mitsukaeru.jp）の組み方に合わせ、
   「通し番号 / 英字 → 日本語見出し → 中身」を積み重ねる形にしている。
   強調は色だけで、下線やマーカーは引かない。 */
.cts__head {
  display: grid;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-7);
  border-bottom: 1px solid var(--ink-14);
}
.cts__no {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-en);
  font-size: 12px; font-weight: 800; letter-spacing: .22em;
  color: var(--blue);
}
.cts__no i { font-style: normal; color: var(--ink-38); }
.cts__ttl {
  font-size: var(--fs-h3);
  font-weight: 900; letter-spacing: -.02em; line-height: 1.5;
}
.cts__lead { font-size: var(--fs-sm); line-height: 2; color: var(--ink-62); max-width: 46em; }
.cts__lead .req { margin-inline: 4px 6px; }

.cts__aside {
  margin-top: var(--sp-7);
  padding: var(--sp-5) var(--sp-6);
  background: var(--blue-mist);
  border-left: 3px solid var(--blue);
  font-size: var(--fs-sm);
  line-height: 2;
  color: var(--ink-72);
}
.cts__aside a { color: var(--blue-dk); font-weight: 700; }
.cts__aside a:hover { color: var(--dark); }

/* --- 01 メールの窓口。2枚の面に分けて、用途の違いを見せる ---
   中身（ラベル／見出し／説明／札／アドレス）の5行を subgrid で親の行に乗せ、
   左右で行の高さをそろえる。文が短いほうには、そのぶん余白が入る。 */
.cmail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  column-gap: var(--sp-5);
  row-gap: var(--sp-4);
}

.cmail__item {
  position: relative;
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
  padding: var(--sp-6);
  border: 1px solid var(--ink-14);
  border-radius: 20px;
  background: var(--white);
  overflow: hidden;
  transition: border-color .35s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease-out);
}

/* subgrid が使えないブラウザ向け。少なくともアドレスの帯は下端でそろう */
@supports not (grid-template-rows: subgrid) {
  .cmail { grid-template-rows: auto; }
  .cmail__item { grid-row: auto; grid-template-rows: auto auto auto 1fr auto; gap: var(--sp-4); }
}
/* 上端の青い線。ホバーで左から伸びる */
.cmail__item::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.cmail__item:hover {
  border-color: rgba(18,115,230,.3);
  box-shadow: 0 26px 50px -34px rgba(8,44,92,.45);
  transform: translateY(-3px);
}
.cmail__item:hover::before { transform: scaleX(1); }

.cmail__head { display: flex; align-items: center; gap: 14px; align-self: center; }
.cmail__icon {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.cmail__icon svg { width: 22px; height: 22px; }
.cmail__item:hover .cmail__icon { background: var(--blue); color: #fff; }

.cmail__label {
  font-family: var(--ff-en);
  font-size: 11px; font-weight: 800; letter-spacing: .22em;
  color: var(--blue);
}
.cmail__ttl { font-size: var(--fs-h3); font-weight: 900; letter-spacing: -.015em; line-height: 1.5; align-self: start; }
.cmail__desc { font-size: var(--fs-sm); line-height: 2; color: var(--ink-62); align-self: start; }

.cmail__tags { display: flex; flex-wrap: wrap; gap: 8px; align-self: start; }
.cmail__tags li {
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--paper);
  border: 1px solid var(--ink-08);
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--ink-62);
}

/* アドレスは、押せることが分かる帯にする */
.cmail__addr {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  align-self: end;
  margin-top: var(--sp-3);
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--blue-mist);
  border: 1px solid rgba(18,115,230,.16);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.cmail__addr > span {
  font-family: var(--ff-en);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  word-break: break-all;
  transition: color .35s var(--ease);
}
.cmail__addr .ar { width: 18px; height: 18px; flex: none; color: var(--blue); transition: transform .3s var(--ease), color .35s var(--ease); }
.cmail__item:hover .cmail__addr { background: var(--blue); border-color: var(--blue); }
.cmail__item:hover .cmail__addr > span,
.cmail__item:hover .cmail__addr .ar { color: #fff; }
.cmail__item:hover .cmail__addr .ar { transform: translateX(5px); }

/* --- 02 フォーム。左に入力欄、右に補足。右の余白をなくす --- */
.cform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: start;
}
.cform {
  background: var(--white);
  border: 1px solid var(--ink-14);
  border-radius: 20px;
  padding: var(--sp-7);
  box-shadow: 0 30px 60px -46px rgba(8,44,92,.4);
}

.cform-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--sp-6); }

/* 姉妹サイトにある、青い丸アイコンつきの囲み */
.callout {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--blue-mist);
  border: 1px solid rgba(18,115,230,.22);
  border-radius: 16px;
}
.callout__icon {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--ff-en); font-size: 14px; font-weight: 800;
}
.callout__ttl { font-size: var(--fs-sm); font-weight: 900; margin-bottom: 6px; }
.callout__txt { font-size: var(--fs-sm); line-height: 1.95; color: var(--ink-72); }
.callout__txt a { color: var(--blue-dk); border-bottom: 1px solid var(--ink-14); }

.cform-side__facts { display: grid; }
.cform-side__facts dt {
  font-family: var(--ff-en);
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  color: var(--blue);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--ink-08);
}
.cform-side__facts dt:first-of-type { padding-top: 0; border-top: 0; }
.cform-side__facts dd { font-size: var(--fs-sm); line-height: 1.95; color: var(--ink-72); margin: 6px 0 var(--sp-5); }
.cform-side__facts dd:last-of-type { margin-bottom: 0; }

.cform-side__mail { font-size: var(--fs-sm); line-height: 1.95; color: var(--ink-62); }
.cform-side__mail a { font-family: var(--ff-en); font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--blue); }
.cform-side__mail a:hover { color: var(--blue-dk); }

/* --- フォームの中の組み方 --- */
.form-group__ttl {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 var(--sp-5);
  font-size: var(--fs-sm); font-weight: 900; letter-spacing: -.01em;
  color: var(--ink);
}
.form-group__ttl + * { margin-top: 0; }
.form-group__ttl span {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--blue-soft); color: var(--blue);
  font-family: var(--ff-en); font-size: 11px; font-weight: 800;
}
.form-group__ttl::after { content: ""; flex: 1; height: 1px; background: var(--ink-08); }
.form-group__ttl--2nd { margin-top: var(--sp-7); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.form-row .form-field { margin-bottom: var(--sp-6); }

.form-foot {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--ink-08);
}
/* プライバシーポリシーへの同意。チェックしないと送信できない */
.form-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--ink-14);
  border-radius: 14px;
  background: var(--paper);
  font-size: var(--fs-sm); line-height: 1.9;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.form-consent:hover { border-color: rgba(18,115,230,.34); background: var(--blue-mist); }
.form-consent:has(input:checked) { border-color: var(--blue); background: var(--blue-mist); }
.form-consent input[type="checkbox"] {
  width: 20px; height: 20px; flex: none;
  margin-top: 4px;
  accent-color: var(--blue);
  cursor: pointer;
}
/* 同意文の中のリンク。見本フォームとCF7の両方に同じ見た目を当てる。
   本文と同じ黒のままだと、押せることが伝わらないため。 */
.form-consent a,
.wpcf7-acceptance a {
  color: var(--blue-dk);
  font-weight: 700;
  border-bottom: 1px solid var(--blue-lt);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.form-consent a:hover,
.wpcf7-acceptance a:hover { color: var(--blue); border-bottom-color: var(--blue); }
/* 別タブで開くことを示す小さな矢印 */
.form-consent a[target="_blank"]::after,
.wpcf7-acceptance a[target="_blank"]::after {
  content: "↗";
  margin-left: 3px;
  font-size: .85em;
  vertical-align: 1px;
}

/* Contact Form 7 の同意チェックにも、同じ見た目をあてる */
.form-foot .wpcf7-acceptance { display: block; margin-bottom: var(--sp-5); }
.form-foot .wpcf7-acceptance .wpcf7-list-item label {
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--ink-14);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.form-foot .wpcf7-acceptance .wpcf7-list-item label:hover { border-color: rgba(18,115,230,.34); background: var(--blue-mist); }
.form-foot .wpcf7-acceptance .wpcf7-list-item label:has(input:checked) { border-color: var(--blue); background: var(--blue-mist); }

/* --- 03 ご連絡いただく際に。3列を罫線で分ける --- */
.cnote { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cnote__col { padding: 0 var(--sp-6) 0 0; }
.cnote__col + .cnote__col { padding-left: var(--sp-6); border-left: 1px solid var(--ink-08); }
.cnote__ttl {
  font-size: var(--fs-body); font-weight: 900; letter-spacing: -.01em;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.cnote__txt { font-size: var(--fs-sm); line-height: 2.05; color: var(--ink-72); }
.cnote__txt + .cnote__txt { margin-top: var(--sp-4); }

.clist { display: grid; gap: 12px; margin-top: var(--sp-4); }
.clist li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-sm); line-height: 1.95; color: var(--ink-72);
}
.clist li::before {
  content: "";
  position: absolute; left: 2px; top: .72em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
}

/* --- 04 運営会社 --- */
.ccompany {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  font-size: var(--fs-sm);
}
.ccompany dt {
  padding: var(--sp-5) 0;
  font-weight: 800; color: var(--ink);
  border-top: 1px solid var(--ink-08);
}
.ccompany dd {
  padding: var(--sp-5) 0;
  line-height: 2; color: var(--ink-72);
  border-top: 1px solid var(--ink-08);
}
.ccompany dt:first-of-type, .ccompany dd:first-of-type { border-top: 0; }
.ccompany a { color: var(--ink); border-bottom: 1px solid var(--ink-14); }
.ccompany a:hover { color: var(--blue-dk); border-bottom-color: var(--blue-dk); }

/* --- 法務ページ（プライバシーポリシー・特定商取引法） ---
   姉妹サイトに合わせて、左に CONTENTS の目次、右に本文の2段組み。
   スマホでは目次が本文の上に、囲みの箱として乗る。 */
.page-hero__date {
  margin-top: var(--sp-6);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  color: var(--ink-46);
}

.legal-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: start;
}
.legal__wrap { max-width: 940px; }
.legal__intro { margin-bottom: var(--sp-7); }

/* 目次。スクロールしても常に左に残る */
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  max-height: calc(100svh - var(--header-h) - 56px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.legal-toc__ttl {
  font-family: var(--ff-en);
  font-size: 11px; font-weight: 800; letter-spacing: .22em;
  color: var(--blue);
  margin-bottom: var(--sp-4);
}
.legal-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal-toc a {
  position: relative;
  display: block;
  padding: 9px 12px 9px 34px;
  border-radius: 8px;
  font-size: 13px; line-height: 1.6;
  color: var(--ink-62);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.legal-toc li { counter-increment: toc; }
.legal-toc a::before {
  content: counter(toc) ".";
  position: absolute; left: 12px; top: 9px;
  font-family: var(--ff-en); font-size: 12px; font-weight: 700;
  color: var(--ink-38);
}
.legal-toc a::after {
  content: "";
  position: absolute; left: 0; top: 7px; bottom: 7px;
  width: 3px; border-radius: 99px;
  background: var(--blue);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.legal-toc a:hover { background: var(--blue-mist); color: var(--ink); }
.legal-toc a.is-current { background: var(--blue-soft); color: var(--blue-dk); font-weight: 700; }
.legal-toc a.is-current::before { color: var(--blue); }
.legal-toc a.is-current::after { opacity: 1; }

/* 条文 */
.legal__list { display: grid; gap: var(--sp-7); }
.legal__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--ink-08);
  scroll-margin-top: calc(var(--header-h) + 28px);
}
.legal__item:first-child { padding-top: 0; border-top: 0; }
.legal__no {
  font-family: var(--ff-en);
  font-size: 15px; font-weight: 800; letter-spacing: .1em;
  color: var(--blue);
  padding-top: 5px;
}
.legal__ttl { font-size: var(--fs-h3); font-weight: 900; letter-spacing: -.015em; margin-bottom: var(--sp-4); }
.legal__txt { font-size: var(--fs-sm); line-height: 2.1; color: var(--ink-72); }
.legal__txt + .legal__txt { margin-top: var(--sp-4); }
.legal__clist { margin-top: var(--sp-4); }
.legal__clist a { color: var(--blue-dk); border-bottom: 1px solid var(--ink-14); }
.legal__clist a:hover { border-bottom-color: var(--blue-dk); }

.legal__sign {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--ink-08);
  font-size: var(--fs-sm);
  line-height: 2;
  color: var(--ink-62);
  text-align: right;
}

/* 特定商取引法の表。枠で囲って、左列に面を敷く */
.ltable {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  border: 1px solid var(--ink-14);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  font-size: var(--fs-sm);
}
.ltable dt {
  padding: var(--sp-5) var(--sp-6);
  background: var(--blue-mist);
  border-top: 1px solid var(--ink-08);
  border-right: 1px solid var(--ink-08);
  font-weight: 800; color: var(--ink);
  line-height: 1.8;
}
.ltable dd {
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--ink-08);
  line-height: 2;
  color: var(--ink-72);
}
.ltable dt:first-of-type, .ltable dd:first-of-type { border-top: 0; }
.ltable a { color: var(--blue-dk); border-bottom: 1px solid var(--ink-14); }
.ltable a:hover { border-bottom-color: var(--blue-dk); }
.ltable small { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--ink-46); line-height: 1.9; }
/* 同じ項目に2つ目の値を置くとき、1行あけて並べる */
.ltable__next { display: inline-block; margin-top: var(--sp-5); }

/* 「取得中」のような、まだ確定していない値に付ける札 */
.lbadge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  background: #FFF8E1;
  border: 1px dashed #E3C266;
  font-size: var(--fs-xs); font-weight: 700;
  color: #7A5A00;
}

/* ---------- 13. 流れ ---------- */
/* 明るい面に置き、左端のレールと連番だけで進行を見せる */
.flow { position: relative; display: grid; gap: 0; }
.flow::before {
  content: "";
  position: absolute; left: 26px; top: 0; bottom: 0;
  width: 1px;
  background: var(--ink-14);
}
.flow::after {
  content: "";
  position: absolute; left: 26px; top: 0;
  width: 1px;
  height: var(--flow-progress, 0%);
  background: var(--blue);
  transition: height .35s linear;
}
.flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: var(--sp-6);
  padding-block: var(--sp-7);
  padding-left: 62px;
  border-top: 1px solid var(--ink-08);
  transition: background .4s var(--ease);
}
.flow__item:last-child { border-bottom: 1px solid var(--ink-08); }
.flow__item:hover { background: rgba(27,36,48,.02); }
/* レール上の点 */
.flow__item::before {
  content: "";
  position: absolute; left: 21px; top: calc(var(--sp-7) + 14px);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ink-14);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.flow__item.is-in::before,
.flow__item:hover::before { background: var(--blue); border-color: var(--blue); }

.flow__no {
  font-family: var(--ff-en);
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-14);
  transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease);
}
.flow__item:hover .flow__no { color: var(--blue-dk); -webkit-text-stroke-color: var(--blue-dk); }
.flow__item h3 { font-size: var(--fs-h3); font-weight: 900; letter-spacing: -.01em; margin-bottom: 10px; }
.flow__item p { font-size: var(--fs-sm); line-height: 2.05; color: var(--ink-72); max-width: 46em; }

/* パソコンでは3列×2段。縦に長く続くのをやめ、6工程を一目で見渡せるようにする。
   縦のレールは畳んで、各段の上に横のレールが通る形にしている。 */
@media (min-width: 981px) {
  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--sp-7);
    row-gap: var(--sp-8);
  }
  .flow::before,
  .flow::after { display: none; }

  .flow .flow__item {
    display: block;
    gap: 0;
    padding: var(--sp-6) var(--sp-5) 0 0;
    border-top: 1px solid var(--ink-14);
    border-bottom: none;
  }
  .flow .flow__item:hover { background: none; }

  /* 上の罫線を、画面に入った工程から青く塗る */
  .flow .flow__item::after {
    content: "";
    position: absolute;
    left: 0; top: -1px;
    width: 100%; height: 1px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .8s var(--ease-out);
  }
  .flow .flow__item.is-in::after { transform: scaleX(1); }
  .flow .flow__item:nth-child(2).is-in::after,
  .flow .flow__item:nth-child(5).is-in::after { transition-delay: .12s; }
  .flow .flow__item:nth-child(3).is-in::after,
  .flow .flow__item:nth-child(6).is-in::after { transition-delay: .24s; }

  /* 点はレールの上に乗せる */
  .flow .flow__item::before {
    left: 0;
    top: -6px;
  }

  .flow__no {
    display: block;
    font-size: 34px;
    line-height: 1;
    margin-bottom: var(--sp-4);
  }
  .flow .flow__item h3 { font-size: 19px; margin-bottom: 8px; }
  .flow .flow__item p { font-size: 14px; line-height: 1.95; max-width: none; }
}

/* ---------- 14. 料金 ---------- */
/* 枠で囲わず、縦の罫線で3列に仕切る。
   中央のプランは面を反転させず、青いラベルと色で示す。 */
.price__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  border-top: 1px solid var(--ink-14);
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--sp-9) var(--sp-6) var(--sp-6);
  transition: background .35s var(--ease);
}
.plan + .plan { border-left: 1px solid var(--ink-08); }
.plan:hover { background: rgba(27,36,48,.02); }

/* おすすめのプランは、上に青い罫線とラベルを載せる */
.plan--pick::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--blue);
}
.plan__badge {
  position: absolute;
  top: var(--sp-6); left: var(--sp-6);
  background: var(--blue);
  color: #fff;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em;
  border-radius: 99px; padding: 5px 14px;
}
.plan__name { font-size: var(--fs-h3); font-weight: 900; letter-spacing: -.015em; }
.plan--pick .plan__name { color: var(--blue); }
.plan__for { font-size: var(--fs-sm); color: var(--ink-62); margin-top: 6px; }
.plan__price { margin-top: var(--sp-6); display: flex; align-items: baseline; gap: 4px; }
.plan__num {
  font-family: var(--ff-en);
  font-size: clamp(44px, 5vw, 62px);
  font-weight: 800; line-height: .9; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.plan--pick .plan__num { color: var(--blue); }
.plan__unit { font-size: 15px; font-weight: 900; }
.plan__tax { font-size: var(--fs-xs); color: var(--ink-46); margin-top: 12px; }
.plan__feat { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--ink-08); display: grid; gap: 12px; }
.plan__feat li { position: relative; padding-left: 24px; font-size: var(--fs-sm); line-height: 1.9; color: var(--ink-72); }
.plan__feat li::before {
  content: "";
  position: absolute; left: 2px; top: .72em;
  width: 8px; height: 4px;
  border-left: 1.6px solid var(--blue);
  border-bottom: 1.6px solid var(--blue);
  transform: rotate(-45deg);
}
.plan__btn { margin-top: var(--sp-6); width: 100%; padding: 15px 20px; font-size: 14px; }

/* 料金の下に置く、安心してもらうための3点 */
.assure {
  margin-top: var(--sp-7);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink-14);
}
.assure__item { display: grid; gap: 8px; padding: var(--sp-6) var(--sp-6) var(--sp-5) 0; }
.assure__item + .assure__item { padding-left: var(--sp-6); border-left: 1px solid var(--ink-08); }
.assure__label { font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.assure__txt { font-size: var(--fs-sm); font-weight: 800; line-height: 1.8; }

.price__note {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--ink-08);
  font-size: var(--fs-sm); line-height: 2.1; color: var(--ink-62);
}

/* ---------- 15. FAQ ---------- */
.faq { border-top: 1px solid var(--ink-14); }
.faq__item { position: relative; border-bottom: 1px solid var(--ink-14); transition: background .35s var(--ease); }
.faq__item:hover { background: rgba(27,36,48,.02); }
.faq__h { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.faq__q {
  position: relative;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-6) 74px var(--sp-6) 6px;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: -.01em;
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--ink); }
.faq__q:hover i { background: var(--blue); }
.faq__q:hover i::before, .faq__q:hover i::after { background: #fff; }
.faq__qno { font-family: var(--ff-en); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--blue); }
.faq__q i {
  position: absolute; right: 8px; top: 50%; translate: 0 -50%;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-soft);
  transition: background .35s var(--ease), transform .45s var(--ease-out), box-shadow .35s var(--ease);
}
.faq__q i::before, .faq__q i::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 15px; height: 2px;
  border-radius: 2px;
  background: var(--blue);
  translate: -50% -50%;
  transition: transform .35s var(--ease-out), background .3s var(--ease);
}
.faq__q i::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] i {
  background: var(--blue);
  transform: rotate(180deg);
}
.faq__q[aria-expanded="true"] i::before,
.faq__q[aria-expanded="true"] i::after { background: #fff; }
.faq__q[aria-expanded="true"] i::after { transform: rotate(0deg); }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq__a[data-open="true"] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  font-size: var(--fs-sm);
  line-height: 2.15;
  color: var(--ink-72);
  margin: 0 0 var(--sp-7) 58px;
  max-width: 56em;
  border-left: 3px solid var(--blue);
  padding-left: var(--sp-5);
}

/* ---------- 16. 最終CTA ---------- */
.cta {
  position: relative;
  background: var(--blue);
  color: #fff;
  padding-block: var(--sp-10);
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}
.cta__grain { position: absolute; inset: 0; background-image: var(--grain); opacity: .18; mix-blend-mode: overlay; pointer-events: none; }
.cta__mark {
  position: absolute;
  right: -3%; top: 50%;
  translate: 0 -50%;
  width: min(36vw, 420px);
  opacity: .15;
  rotate: -8deg;
  pointer-events: none;
  z-index: 0;
}
.cta__inner { position: relative; z-index: 2; }
.cta h2 { font-size: var(--fs-huge); font-weight: 900; line-height: 1.18; letter-spacing: -.03em; text-wrap: balance; }
.cta p { margin-top: var(--sp-5); font-size: var(--fs-lead); line-height: 2; max-width: 38em; color: var(--snow-84); }
.cta__actions { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ---------- 17. フッター ---------- */
.site-footer { position: relative; background: var(--dark); color: var(--snow-72); padding-top: var(--sp-9); overflow: hidden; isolation: isolate; }
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 0%, rgba(18,115,230,.2), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.site-footer > .wrap { position: relative; z-index: 2; }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-7);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--snow-16);
}
.site-footer .brand__mark { width: 52px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: var(--blue-sky); }
.site-footer__lead { font-size: var(--fs-sm); line-height: 2.1; margin-top: var(--sp-5); max-width: 28em; color: var(--snow-84); }
.f-head { font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--blue-sky); margin-bottom: var(--sp-5); }
.f-head--2nd { margin-top: var(--sp-6); }
.f-list { display: grid; gap: 14px; }
.f-list a { position: relative; font-size: var(--fs-sm); transition: color .25s var(--ease), padding-left .3s var(--ease); }
.f-list a:hover { color: #fff; padding-left: 14px; }
.f-list a::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 8px; height: 2px; background: var(--blue-sky); border-radius: 2px;
  opacity: 0; transition: opacity .25s var(--ease);
}
.f-list a:hover::before { opacity: 1; }

/* フッターの連絡先。用途を上に、アドレスを下に置く */
/* フッターにはメールアドレスを置かず、お問い合わせページへ寄せる */
.f-contact__txt { font-size: var(--fs-sm); line-height: 2; color: var(--snow-84); }
.f-contact__btn { margin-top: var(--sp-5); padding: 15px 28px; font-size: 14px; }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between; align-items: center;
  padding-block: var(--sp-5);
  font-family: var(--ff-en); font-size: 11px; letter-spacing: .12em;
  color: var(--snow-44);
}

/* 巨大ワードマーク。ゆっくり光が横切る */
.wordmark {
  position: relative;
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: clamp(52px, 15.5vw, 250px);
  line-height: .78;
  letter-spacing: -.045em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--snow-16);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  margin-top: var(--sp-5);
  translate: 0 .12em;
}

/* ---------- 18. 下層ページ・フォーム ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 100px);
  padding-bottom: var(--sp-9);
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid rgba(18,115,230,.12);
  overflow: hidden;
  isolation: isolate;
}
.page-hero .aurora i { opacity: .3; }
/* オーロラを使わない、姉妹サイト寄りの静かな扉 */
.page-hero--plain { background: var(--white); }
.page-hero--plain .page-hero__dots {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.page-hero__dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(27,36,48,.13) 1px, transparent 0);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 26% 50%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 80% 100% at 26% 50%, #000 18%, transparent 74%);
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: var(--fs-huge); font-weight: 900; line-height: 1.22; letter-spacing: -.03em; text-wrap: balance; }
.page-hero p { margin-top: var(--sp-5); color: var(--ink-72); font-size: var(--fs-lead); line-height: 2.05; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

/* フォーム */
.form-field { display: grid; gap: 10px; margin-bottom: var(--sp-6); }
.form-field > label { font-size: var(--fs-sm); font-weight: 800; }
.req { display: inline-block; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; border-radius: 4px; padding: 3px 8px; margin-left: 8px; vertical-align: 2px; letter-spacing: .04em; }
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content select,
.entry-content textarea {
  width: 100%;
  font: inherit; font-size: var(--fs-body);
  padding: 16px 18px;
  border: 1px solid var(--ink-14);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.entry-content textarea { min-height: 200px; resize: vertical; line-height: 1.9; }
.entry-content input:focus, .entry-content select:focus, .entry-content textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18,115,230,.16);
}
.entry-content input[type="submit"],
.entry-content button[type="submit"] {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--blue);
  color: #fff;
  border: 0; border-radius: 999px;
  padding: 20px 46px;
  font: inherit; font-weight: 800; font-size: 16px;
  cursor: pointer;
  transition: background .3s var(--ease), transform .25s var(--ease);
}
.entry-content button[type="submit"] .ar { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.entry-content button[type="submit"]:hover .ar { transform: translateX(4px); }
.entry-content input[type="submit"]:hover,
.entry-content button[type="submit"]:hover { background: var(--blue-dk); transform: translateY(-3px); }
.form-privacy { font-size: var(--fs-sm); line-height: 2; color: var(--ink-72); margin-bottom: var(--sp-5); }
.form-privacy a { color: var(--blue); border-bottom: 2px solid var(--blue-soft); }

/* 管理者にだけ出る注意書き */
.mkw-admin-note {
  background: #FFF8E1;
  border: 1px solid #F0D48A;
  border-radius: 14px;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: #6B4E00;
  margin-bottom: var(--sp-6);
}
.mkw-admin-note code { background: rgba(0,0,0,.06); border-radius: 4px; padding: 1px 6px; font-size: 13px; }

/* ---------- 19. Contact Form 7 ---------- */
/* 入力欄そのものは .entry-content のスタイルが当たります。
   ここでは CF7 が独自に出力する部分だけを整えます。 */
.wpcf7 { margin-top: var(--sp-6); }
.wpcf7 form .wpcf7-response-output {
  margin: var(--sp-5) 0 0;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--ink-14);
  border-radius: 14px;
  font-size: var(--fs-sm);
  line-height: 1.9;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #1E9E5A; background: #EAF7F0; color: #14663B; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output { border-color: #D8452F; background: #FDEEEC; color: #99291A; }

.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: var(--fs-xs); font-weight: 700; color: #D8452F; }
.entry-content .wpcf7-not-valid { border-color: #D8452F; background: #FFFBFA; }
.wpcf7-spinner { margin: 0 0 0 14px; vertical-align: middle; }
.wpcf7-list-item { margin: 0; }
.wpcf7-acceptance .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.9; cursor: pointer; }
.wpcf7-acceptance input[type="checkbox"] { width: 20px; height: 20px; margin-top: 5px; flex: none; accent-color: var(--blue); }
.entry-content .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- 20. スクロール表示 ---------- */
/* transform ではなく translate を使う。
   カードの傾きやホバーの transform と打ち消し合わないようにするため。 */
.js .reveal { opacity: 0; translate: 0 26px; }
.js .reveal.is-in {
  opacity: 1; translate: none;
  transition: opacity .8s var(--ease-out), translate .8s var(--ease-out);
}

/* ---------- 21. レスポンシブ ---------- */
@media (max-width: 1100px) {
  :root { --sp-11: 108px; --sp-10: 88px; }
  /* ヘッダーが窮屈になるので、ボタンを外してナビを詰める */
  .header-cta { display: none; }
  .gnav ul { gap: var(--sp-5); }
  .gnav a { font-size: 13.5px; }
  /* まだ2段組みのまま。文字と間隔だけ詰める */
  .fv__inner { gap: var(--sp-6); }
  .fv__stage { padding: var(--sp-4) var(--sp-4) calc(var(--sp-4) + 26px) 24px; border-radius: 18px; }
  .fv__line--lg { font-size: clamp(28px, 4.4vw, 48px); }
  .fv__lead { font-size: 15px; line-height: 1.95; }
  .why__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .pain { grid-template-columns: 1fr; }
  .pain__item:nth-child(2) { border-top: 1px solid var(--ink-08); }
  .assure { grid-template-columns: 1fr; }
  .assure__item { padding: var(--sp-5) 0; border-top: 1px solid var(--ink-08); }
  .assure__item:first-child { border-top: 0; }
  .assure__item + .assure__item { padding-left: 0; border-left: 0; }
  .price__grid { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--ink-08); }
  /* 2段組み（3列 + 3列だと余るので、2枚 + 2枚 + 1枚に組み替える） */
  .svc { grid-template-columns: repeat(2, 1fr); }
  .svc__card:nth-child(n) { grid-column: span 1; }
  .svc__card:nth-child(5) { grid-column: span 2; }
  /* お問い合わせページ。3列・2列を縦に積む */
  .cform-layout { grid-template-columns: 1fr; gap: var(--sp-7); }
  .cform-side { position: static; }
  .cmail { grid-template-columns: 1fr; grid-template-rows: auto; }
  .cmail__item { grid-row: auto; grid-template-rows: auto; gap: var(--sp-4); }
  .cnote { grid-template-columns: 1fr; }
  .cnote__col { padding: var(--sp-6) 0 0; }
  .cnote__col + .cnote__col { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink-08); }
  .cnote__col:first-child { padding-top: 0; }
  .ccompany { grid-template-columns: 1fr; }
  .legal__item { grid-template-columns: 1fr; gap: var(--sp-3); }
  .legal__no { padding-top: 0; }

  /* 目次は本文の上に、囲みの箱として置く */
  .legal-layout { grid-template-columns: 1fr; gap: var(--sp-7); }
  .legal-toc {
    position: static;
    padding: var(--sp-5);
    background: var(--blue-mist);
    border: 1px solid rgba(18,115,230,.18);
    border-radius: 16px;
  }
  .legal-toc ol { grid-template-columns: 1fr 1fr; gap: 2px 10px; }
  .legal-toc a { padding: 8px 8px 8px 30px; font-size: 12.5px; }
  .legal-toc a::before { left: 8px; top: 8px; }

  /* 特商法の表は縦に積む */
  .ltable { grid-template-columns: 1fr; border-radius: 14px; }
  .ltable dt { padding: var(--sp-4) var(--sp-5) 0; border-right: 0; background: transparent; }
  .ltable dd { padding: 6px var(--sp-5) var(--sp-5); border-top: 0; }
  .ltable dt:first-of-type { border-top: 0; }
  .ccompany dt { padding-bottom: 0; }
  .ccompany dd { padding-top: 6px; border-top: 0; }
  .ccompany dt:first-of-type { border-top: 0; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: none; }
}

/* ここから下は、言葉の下に実物を置く */
@media (max-width: 980px) {
  .fv { padding-bottom: 0; }
  .fv__inner { grid-template-columns: 1fr; gap: var(--sp-7); }
  .fv__line--lg { font-size: clamp(30px, 6.4vw, 58px); }
  .fv__lead { max-width: 42em; font-size: var(--fs-lead); }
  .fv__vis { max-width: 680px; }
  .scroll-hint { display: none; }
}

@media (max-width: 860px) {
  .gnav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .works__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .work--lead { grid-template-columns: 1fr; gap: var(--sp-5); padding-bottom: var(--sp-7); }
  .work--lead .work__body { padding-top: var(--sp-2); }
  .flow__item { grid-template-columns: 72px minmax(0, 1fr); gap: var(--sp-4); padding-left: 54px; }
  .flow::before, .flow::after { left: 20px; }
  .flow__item::before { left: 15px; }
  .site-footer__top { grid-template-columns: 1fr; gap: var(--sp-7); }
  .faq__q { grid-template-columns: 42px minmax(0, 1fr); padding-right: 62px; }
  .faq__a p { margin-left: 48px; }
}

@media (max-width: 560px) {
  .cta__mark { display: none; }
  .fv { padding-top: calc(var(--header-h) + var(--sp-6)); padding-bottom: var(--sp-8); }
  /* スマホは1枚だけ大きく見せる */
  .fv__stage { padding: var(--sp-4); border-radius: 16px; }
  .fv__shot--sub { display: none; }
  .fv__viscap { font-size: 11.5px; }
  .fv__viscap__sites { display: none; }
  .fv__lead { line-height: 1.95; margin-top: var(--sp-5); }
  .fv__actions { margin-top: var(--sp-6); gap: var(--sp-5); }
  /* 数字は縦に積む。ラベル・数字・説明を一列にそろえる */
  .numbers__inner { grid-template-columns: 1fr; }
  .fv__stat {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "label num" ". note";
    align-items: baseline;
    gap: 4px 0;
    padding: var(--sp-5) 0;
  }
  .fv__stat dt { grid-area: label; align-self: center; }
  .fv__statnum { grid-area: num; }
  .fv__statnote { grid-area: note; }
  .fv__stat + .fv__stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink-08); }
  .fv__stat::before, .fv__stat + .fv__stat::before { left: 0; right: 0; }
  .cform { padding: var(--sp-6) var(--sp-5); border-radius: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .fv__statnum b { font-size: 30px; }
  .fv__actions .btn { width: 100%; }
  .linkarrow { width: 100%; justify-content: center; }
  .cta__actions .btn { width: 100%; }
  .svc { grid-template-columns: 1fr; gap: var(--sp-4); }
  .svc__card:nth-child(n) { grid-column: span 1; }
  .svc__card { padding: var(--sp-6) var(--sp-5); }
  .midcta__inner { flex-direction: column; align-items: stretch; }
  .midcta__inner .btn { width: 100%; }
  .pain__note { flex-direction: column; align-items: stretch; }
  .pain__note .btn { width: 100%; }
  .faq__q { grid-template-columns: 1fr; padding-right: 56px; }
  .faq__qno { display: none; }
  .faq__a p { margin-left: 0; }
  .faq__q i { width: 40px; height: 40px; }
  .menu__inner {
    gap: var(--sp-5);
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 12px);
    padding-bottom: var(--sp-4);
  }
  .menu__item a { grid-template-columns: 34px minmax(0, 1fr) 20px; padding: 11px 4px; gap: var(--sp-3); }
  .menu__ja { font-size: 20px; line-height: 1.3; }
  .menu__en { font-size: 9.5px; }
  .menu__contact { font-size: 13px; gap: 6px; }
  .works__grid { gap: var(--sp-7); }
  .work__spec { grid-template-columns: 1fr; row-gap: 6px; margin-top: var(--sp-4); padding-top: var(--sp-4); }
  .work__spec dt { justify-self: start; }
  .work__spec dd { padding-top: 0; margin-bottom: 6px; }
  .flow__item { padding-block: var(--sp-6); }
  .flow__item::before { top: calc(var(--sp-6) + 12px); }
}

/* ---------- 22. モーションを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; translate: none; }
  .fv__line > span { transform: none; }
  .mark::after { transform: scaleX(1); }
  .fv__lead, .fv__actions, .fv__vis, .scroll-hint { opacity: 1; transform: none; }
  .fv__line--lg .ch { transform: none; }
  .work__lens { display: none; }
  .aurora i { animation: none; }
  .menu { transition: none; }
  .menu__item, .menu__label, .menu__foot { opacity: 1; transform: none; }
}
