/* 広告用の LP（/products/wordpress-maintenance/・/products/ai-madoguchi/・/products/static-site/・/products/server-move/）。会社のサイト（トップ・制作例）とは別の見た目にする。
   並び（WordPress の保守）：ファーストビュー → 共感 → できること → 無料診断で分かること → 進め方 → 料金 → よくある質問 → 申し込み。
   並び（AI窓口）：ファーストビュー → 共感 → できること → 見本 → 進め方 → 料金 → よくある質問 → 相談。AI窓口だけの部品は、末尾にまとめる。
   並び（サイトの静的化）：ファーストビュー → 共感 → できること → 静的化とは → 進め方 → 料金 → よくある質問 → 相談。この LP だけ薄い緑の配色（末尾の .theme-green）。
   並び（WordPress の引っ越し）：ファーストビュー → 共感 → できること → 進め方（3 つ）→ 料金（1 枚と、別途お見積りの一覧）→ よくある質問 → 見積りの依頼。この LP だけ黄色の配色（末尾の .theme-yellow）。

   ページ全体を、次の決まりだけで組む（まとまりを崩さないため、ここに無い色・大きさ・形を足さない）。
   - 色：もらった SVG 素材のイラストの色だけ。操作できるもの（ボタン・リンク）と強調は青 1 色。
     緑は「確かめ済み・問題なし」の印だけ。赤は入力の誤りと「必須」の札だけ。
   - 地：白と薄い青（--tint）を交互に（ファーストビューだけは、淡い青のグラデーションにアイコンの模様を敷く）。薄い青の区切りには白い面（.card）を置き、白い区切りには面を置かない。
   - 面：角の丸みは大きい面 24px・小さい部品 12px・ボタンと札は丸。影は 1 種類（--shadow）。枠線で囲まない
     （月々の保守の料金だけ、青い輪で囲む）。
   - 見出し：どの区切りも「英字の小見出し → 見出し → 一文」を中央に置き、下の余白もそろえる。
   - アイコン：丸い台（.badge）に載せる。台の色は、置く面の反対（白い面なら薄い青、薄い青の地なら白）。
   - 絵：同じ淡い形（decorations/02-soft-shape.svg）の上に置く（.stage）。
   - 飾り：区切りの左右の端に、淡い形と点線の軌道（decorations/orbit-a.svg・orbit-b.svg）を半分だけのぞかせる。申し込みだけは、ファーストビューと同じアイコンの模様。
     本文の面の中には飾りを足さない。
   - 文字：和文は Noto Sans JP（詰め）、英字と数字は Archivo（少し幅広）。大きさは下の 6 段だけ。 */

:root {
  --navy: #0F2A5C;
  --ink: #2A3D5F;
  --muted: #5B6B85;
  --blue: #0869DF;
  --blue-d: #0556B8;
  --pale: #EAF6FF;
  --tint: #F4F9FE;
  --line: #DCE7F3;
  --field: #C9D8EA;
  --teal: #27AFA6;
  --teal-pale: #E7F7F0;
  --err: #C0392B;
  --err-bg: #FDF1EF;
  --tick-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --bang-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v7.5' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='18' r='1.9' fill='%23fff'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4 4 9-9.5' fill='none' stroke='%2327AFA6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h11M12.5 7.5L17 12l-4.5 4.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --r-l: 24px;
  --r-s: 12px;
  --shadow: 0 1px 2px rgba(15, 42, 92, 0.04), 0 12px 32px rgba(15, 42, 92, 0.07);

  /* 文字の大きさ（6 段） */
  --fs-hero: clamp(34px, 3.5vw, 50px);
  --fs-h2: clamp(26px, 2.5vw, 36px);
  --fs-h3: 20px;
  --fs-lead: 17px;
  --fs-body: 15px;
  --fs-small: 13px;

  /* 余白 */
  --wrap: 1120px;
  --gut: 24px;
  --sec: 112px;  /* 区切りの上下 */
  --head: 56px;  /* 見出しの下 */
  --gap: 24px;   /* 面と面の間 */

  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  --latin: "Archivo", "Noto Sans JP", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.85 var(--font); font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, .sec__lead, .bridge, .pains p, .feat p, .checks p, .flow p, .cta__sub, .plans__note, .diag__note,
.points li, .ticks li, .faq summary, .faq details p { word-break: auto-phrase; text-wrap: pretty; }
::selection { background: #CFE6FC; color: var(--navy); }
:root { interpolate-size: allow-keywords; } /* よくある質問などの開閉で、高さを auto まで動かす（対応するブラウザだけ） */
:focus-visible { outline: 3px solid #72B5F2; outline-offset: 2px; }
#price, #php, #faq, #apply { scroll-margin-top: 72px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sp { display: none; }
.nw { white-space: nowrap; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 8px 14px; background: var(--navy); color: #fff; border-radius: 6px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: calc(880px + var(--gut) * 2); }

/* ---------------------------------------------------------------- 部品 */
.card { background: #fff; border-radius: var(--r-l); box-shadow: var(--shadow); }

.badge { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--pale); }
.badge svg { width: 72%; height: 72%; }
.badge--s { width: 48px; height: 48px; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }

/* 絵：同じ淡い形の上に、下端をそろえて置く */
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.stage__blob { position: absolute; left: 50%; top: 50%; max-width: none; transform: translate(-50%, -50%); }
.stage__ill { position: relative; }

/* ボタン：1 種類（ヘッダーだけ小さい） */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 68px; padding: 0 28px 0 44px;
  background: var(--blue); color: #fff; border: 0; border-radius: 999px;
  font: 700 18px/1.4 var(--font); letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 105, 223, 0.24);
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--blue-d); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(8, 105, 223, 0.28); }
.btn:active { transform: translateY(1px); box-shadow: 0 6px 16px rgba(8, 105, 223, 0.24); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn__arr { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.btn__arr::after {
  content: ""; position: absolute; left: 9px; top: 10px; width: 7px; height: 7px;
  border-top: 2.4px solid var(--blue); border-right: 2.4px solid var(--blue); transform: rotate(45deg);
  transition: transform 0.2s ease-out;
}
.btn:hover .btn__arr::after { transform: translateX(2px) rotate(45deg); }
.btn--sm { min-height: 44px; padding: 0 24px; font-size: 14px; box-shadow: none; }
.btn--sm:hover { box-shadow: none; }

/* 申し込みへの誘い：どこでも同じ形（一言 → ボタン → 補足） */
.cta { margin-top: var(--head); text-align: center; }
.cta__lead { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.cta__lead::before, .cta__lead::after { content: ""; width: 14px; height: 2px; border-radius: 1px; background: currentColor; }
.cta__lead::before { transform: rotate(55deg); }
.cta__lead::after { transform: rotate(-55deg); }
.cta .btn { min-width: 380px; }
.cta__sub { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); line-height: 1.7; }
/* ファーストビューだけは左寄せ。一言はボタンの幅の中央に置く（枠をボタンの幅に縮める） */
.cta--start { width: fit-content; }

/* ---------------------------------------------------------------- 帯・ヘッダー */
.notice { padding: 9px var(--gut); background: var(--pale); color: var(--navy); text-align: center; font-size: var(--fs-small); font-weight: 700; line-height: 1.6; }
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.hdr.is-scrolled { box-shadow: 0 6px 20px rgba(15, 42, 92, 0.07); }
.hdr__inner { display: flex; align-items: center; gap: 28px; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 11px var(--gut); }
.hdr__logo { display: flex; align-items: center; gap: 14px; margin-right: auto; color: var(--navy); text-decoration: none; }
.logo { display: block; width: 104px; height: 24px; fill: currentColor; }
.hdr__co { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.08em; }
.hdr__hours { font-size: 14px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.hdr__cta-short { display: none; }

/* ---------------------------------------------------------------- ファーストビュー */
/* メインビジュアル（ファーストビュー全体）の背景：淡い青から白へのグラデーションに、アイコンの模様を敷く。
   模様は、右のビジュアルと同じアイコン（バックアップ・プラグイン・コード・テーマ・鍵・サイト）を線だけで小さく並べたもの
   （img/decorations/pattern-icons.svg）。右のビジュアルのまわりで濃く、見出しの側と端では薄くして、文字のまわりの余白を保つ */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 96px;
  background: linear-gradient(180deg, #E8F3FE 0%, #F3F9FF 64%, #FFFFFF 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/lp/img/decorations/pattern-icons.svg") 0 0 / 280px 280px;
  -webkit-mask-image: radial-gradient(ellipse 58% 85% at 78% 42%, #000 25%, rgba(0, 0, 0, 0.12) 100%);
  mask-image: radial-gradient(ellipse 58% 85% at 78% 42%, #000 25%, rgba(0, 0, 0, 0.12) 100%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero__for { display: inline-block; padding: 6px 18px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1.6; box-shadow: 0 2px 8px rgba(15, 42, 92, 0.05); }
.hero__title { margin-top: 24px; color: var(--navy); font: 900 var(--fs-hero)/1.36 var(--font); letter-spacing: -0.01em; }
.hero__title span { display: block; white-space: nowrap; }
.hero__title em { font-style: normal; color: var(--blue); }
.hero__lead { margin-top: 20px; font-size: var(--fs-lead); font-weight: 500; color: var(--ink); }

/* 数字は大きく。枠で囲まず、細い縦線で区切る */
.facts { display: flex; margin-top: 32px; }
.facts > div { padding: 0 28px; border-left: 1px solid #CFE1F3; }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: var(--fs-small); font-weight: 700; color: var(--muted); letter-spacing: 0.04em; line-height: 1.6; }
.facts dd { margin-top: 4px; color: var(--navy); font-size: 20px; font-weight: 900; line-height: 1; white-space: nowrap; }
.facts b { font: 800 52px/1 var(--latin); font-stretch: 108%; letter-spacing: -0.01em; margin-right: 3px; }
.facts b.jp { margin: 0 0 0 3px; font-family: var(--font); font-weight: 900; font-size: 40px; font-stretch: normal; }
.facts small { font-size: var(--fs-small); font-weight: 700; margin-left: 3px; }
.hero .cta { margin-top: 36px; }

.hero__text { position: relative; z-index: 1; }
.hero__visual { position: relative; }

/* 右のビジュアル：白い柔らかな形の上に、机で作業する担当者（素材の人物。img/illustrations/hero-desk.svg）を置き、
   そのパソコンから点線でつないだ先に、WordPress の管理画面で毎日目にする「更新の件数」をアイコンで浮かべる。
   中央はサイトのアイコンの白いタイルと、右上に件数の丸（アプリの通知と同じ形）。件数が 12 から減るにつれてタイルを囲む輪が伸び、
   まわりのアイコン（バックアップ・プラグイン・テーマ・PHP・証明書）の右上の丸が、黄の「！」から緑のチェックに変わる。
   0 になると件数の丸が緑のチェックになる（lp.js が --p・.is-ok・.is-done を付ける）。
   ここで書く形は片付いたあとの形で、動く前の形は html に .motion があるときだけ（下の「動く前」）。
   大きさはビジュアルの幅に対する割合（cqw）で決める */
.mv { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 0 0 auto; container-type: inline-size; }
.mv__blob { position: absolute; left: 3%; top: 1%; width: 97%; height: 93%; fill: #fff; filter: drop-shadow(0 24px 48px rgba(15, 42, 92, 0.06)); }
.mv__cloud { position: absolute; left: 6%; top: 8%; width: 21%; }
.mv__desk { position: absolute; left: 0; bottom: 0; width: 100%; }
.mv__orbit { position: absolute; left: 64%; top: 34%; width: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed #BBDDF9; }

.mv__core { position: absolute; left: 64%; top: 34%; width: 33%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.mv__progress { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.mv__track, .mv__arc { fill: none; stroke-width: 11; }
.mv__track { stroke: var(--pale); }
.mv__arc {
  stroke: var(--teal); stroke-linecap: round;
  stroke-dasharray: 942.48px; stroke-dashoffset: calc(942.48px * (1 - var(--p, 1)));
  transition: stroke-dashoffset 0.35s ease-out, stroke 0.4s;
}
.mv__tile {
  position: relative; display: grid; place-items: center; width: 66%; aspect-ratio: 1; border-radius: 24%;
  background: #fff; box-shadow: 0 16px 36px rgba(15, 42, 92, 0.14);
}
.mv__tile svg { width: 68%; height: 68%; }
/* 件数の丸（片付いたあとは緑のチェック） */
.mv__bubble {
  position: absolute; left: 76%; top: 12%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 9.6cqw; aspect-ratio: 1; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 1cqw #fff, 0 8px 18px rgba(15, 42, 92, 0.16);
}
.mv__num { display: none; font: 800 4.7cqw/1 var(--latin); font-stretch: 105%; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mv__tick { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; }

/* まわりのアイコン（白い丸）。点線の軌道の上に、真上から時計回りに 5 つ（真下は、パソコンからの点線のために空ける） */
.mv__item {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 12.4cqw; aspect-ratio: 1; border-radius: 50%;
  background: #fff; box-shadow: 0 10px 24px rgba(15, 42, 92, 0.12);
}
.mv__item svg { width: 60%; height: 60%; }
.mv__item--1 { --x: 64%; --y: 9%; }
.mv__item--2 { --x: 87.8%; --y: 26.3%; }
.mv__item--3 { --x: 78.7%; --y: 54.2%; }
.mv__item--4 { --x: 49.3%; --y: 54.2%; }
.mv__item--5 { --x: 40.2%; --y: 26.3%; }
.mv__st {
  position: absolute; right: -4%; top: -4%; width: 4.4cqw; aspect-ratio: 1; border-radius: 50%;
  background: var(--teal) var(--tick-w) center / 64% no-repeat; box-shadow: 0 0 0 0.6cqw #fff;
}

/* 動く前（html.motion で、lp.js が .is-done を付けるまで） */
.motion .mv:not(.is-done) { --p: 0; }
.motion .mv:not(.is-done) .mv__arc { stroke: var(--blue); }
.motion .mv:not(.is-done) .mv__bubble { background: #F3B738; }
.motion .mv:not(.is-done) .mv__num { display: block; }
.motion .mv:not(.is-done) .mv__tick { display: none; }
.motion .mv:not(.is-done) .mv__item:not(.is-ok) .mv__st { background: #F3B738 var(--bang-w) center / 64% no-repeat; }
.motion .mv__item.is-ok .mv__st { animation: pop 0.4s ease-out; }
.motion .mv.is-done .mv__bubble { animation: bump 0.5s ease-out; }
.motion .mv.is-done .mv__tick { animation: draw 0.4s 0.15s ease-out both; }
.motion .mv.is-done .mv__tile { animation: glow 1.4s ease-out; }
@keyframes pop { 0% { transform: scale(0.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes bump { 0% { transform: translate(-50%, -50%) scale(0.5); } 70% { transform: translate(-50%, -50%) scale(1.12); } 100% { transform: translate(-50%, -50%) scale(1); } }
@keyframes draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
@keyframes glow { 0% { box-shadow: 0 16px 36px rgba(15, 42, 92, 0.14), 0 0 0 0 rgba(39, 175, 166, 0.4); } 100% { box-shadow: 0 16px 36px rgba(15, 42, 92, 0.14), 0 0 0 7cqw rgba(39, 175, 166, 0); } }

/* ---------------------------------------------------------------- 区切り（共通） */
.sec { position: relative; padding: var(--sec) 0; }
.sec--tint { background: var(--tint); }
.sec > .wrap { position: relative; z-index: 1; }
/* 区切りの端の飾り：淡い形と点線の軌道（ファーストビューの軌道と同じ線）を、左右の端に半分だけのぞかせる
   （img/decorations/orbit-a.svg は左、orbit-b.svg は右）。上の端に大きいもの、下の端に小さいものを置き、区切りごとに左右を入れ替えて、
   ページを下るにつれて左右に揺れるようにする。位置は中央からの距離で決め、画面が広いほど本文の外の余白に収まる。
   申し込みだけは、ファーストビューと同じアイコンの模様を左右の端に敷き、ページの始めと終わりをそろえる */
.sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --orn-l: 380px; --orn-s: 280px; --orn-x: min(690px, 50vw - 30px);
  background:
    url("/assets/lp/img/decorations/orbit-a.svg") no-repeat calc(50% - var(--orn-x)) 40px / var(--orn-l),
    url("/assets/lp/img/decorations/orbit-b.svg") no-repeat calc(50% + var(--orn-x) - 40px) calc(100% - 48px) / var(--orn-s);
}
.sec:nth-of-type(odd)::before {
  background:
    url("/assets/lp/img/decorations/orbit-b.svg") no-repeat calc(50% + var(--orn-x)) 40px / var(--orn-l),
    url("/assets/lp/img/decorations/orbit-a.svg") no-repeat calc(50% - var(--orn-x) + 40px) calc(100% - 48px) / var(--orn-s);
}
#apply::before {
  background: url("/assets/lp/img/decorations/pattern-icons.svg") 0 0 / 280px 280px;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.35) 12%, transparent 24%, transparent 76%, rgba(0, 0, 0, 0.35) 88%, #000);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.35) 12%, transparent 24%, transparent 76%, rgba(0, 0, 0, 0.35) 88%, #000);
}
.sec__head { margin-bottom: var(--head); text-align: center; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 12px; font: 700 13px/1 var(--latin); font-stretch: 112%; letter-spacing: 0.2em; color: var(--blue); }
.eyebrow::before, .eyebrow::after { content: ""; width: 20px; height: 1.5px; border-radius: 1px; background: currentColor; opacity: 0.4; }
.eyebrow::after { margin-left: -0.2em; } /* 字間の分、右の線が離れて見えるのを戻す */
.sec__title { margin-top: 14px; color: var(--navy); font: 900 var(--fs-h2)/1.45 var(--font); letter-spacing: 0.01em; }
.sec__lead { margin-top: 14px; font-size: var(--fs-lead); font-weight: 500; color: var(--ink); }

/* 小さな約束の並び（できること・申し込み） */
.points { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; }
.points li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--navy); }

/* ---------------------------------------------------------------- 共感 */
.pains li { display: flex; align-items: center; gap: 20px; padding: 24px 28px; }
.pains p { font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--navy); }
.bridge { margin-top: var(--head); text-align: center; font: 900 24px/1.6 var(--font); color: var(--navy); }
.bridge em { font-style: normal; color: var(--blue); }
/* 下の白い区切りへ、三角で続ける */
.sec--bridge::after {
  content: ""; position: absolute; left: 50%; bottom: -31px; z-index: 1;
  border-left: 44px solid transparent; border-right: 44px solid transparent; border-top: 32px solid var(--tint);
  transform: translateX(-50%);
}

/* ---------------------------------------------------------------- できること */
.feat { text-align: center; }
/* 3 枚の絵は、同じ縮尺（素材の 1 単位 = 0.6px）で、地面の線をそろえる */
.stage--feat { height: 260px; }
.stage--feat .stage__blob { width: 280px; }
.stage--feat .stage__ill { width: 288px; }
.stage--feat .stage__ill--sq { width: 252px; }
.feat:nth-child(2) .stage__blob { transform: translate(-50%, -50%) scaleX(-1); }
.feat__title { margin-top: 28px; color: var(--navy); font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.feat p { margin-top: 10px; font-size: var(--fs-body); color: var(--muted); }
.feats + .points { margin-top: 72px; }

/* ---------------------------------------------------------------- 無料診断で分かること */
.diag { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 56px 64px; }
.stage--diag { height: 340px; align-items: center; }
.stage--diag .stage__blob { width: 390px; }
.stage--diag .stage__ill { width: 100%; max-width: 410px; }
.checks li { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.checks li:first-child { padding-top: 0; border-top: 0; }
.checks li:last-child { padding-bottom: 0; }
.checks h3 { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.checks p { margin-top: 2px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------------------------- 進め方 */
.flow { position: relative; }
/* 丸い台どうしを点線でつなぐ（台の中心から中心まで） */
.flow::before { content: ""; position: absolute; top: 56px; left: 16.667%; right: 16.667%; border-top: 2px dashed #BBDDF9; }
.flow li { position: relative; text-align: center; }
.flow__badge { width: 112px; height: 112px; margin: 0 auto; }
.flow__step { margin-top: 22px; font: 700 13px/1 var(--latin); font-stretch: 112%; letter-spacing: 0.2em; color: var(--blue); }
.flow h3 { margin-top: 12px; color: var(--navy); font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.flow__text > p:last-child { margin-top: 8px; font-size: var(--fs-body); color: var(--muted); }

/* ---------------------------------------------------------------- 料金 */
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 34px; }
.plan--main { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.plan__tag {
  position: absolute; left: 32px; top: -15px;
  padding: 3px 16px; border-radius: 999px; background: var(--blue); color: #fff;
  font-size: var(--fs-small); font-weight: 700; line-height: 1.8; white-space: nowrap;
}
.plan__head { display: flex; align-items: center; gap: 14px; }
.plan__badge { width: 56px; height: 56px; }
.plan__name { font-size: 18px; font-weight: 900; line-height: 1.4; color: var(--navy); }
.plan__price { display: flex; align-items: baseline; height: 60px; margin-top: 22px; color: var(--navy); font-size: 20px; font-weight: 900; line-height: 1; white-space: nowrap; }
.plan__price b { font: 800 52px/1 var(--latin); font-stretch: 108%; letter-spacing: -0.01em; margin-right: 3px; }
.plan__price small { font-size: var(--fs-small); font-weight: 700; margin-left: 4px; }
.plan__price--text { padding-top: 10px; font-size: 34px; }
.ticks { display: grid; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 32px; font-size: var(--fs-body); font-weight: 500; line-height: 1.6; color: var(--navy); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-pale) var(--check) center / 14px no-repeat; }
.plans__note, .diag__note { margin-top: 28px; text-align: center; font-size: var(--fs-small); color: var(--muted); line-height: 1.8; }
.plans__note + .cta, .diag__note + .cta { margin-top: 48px; }

/* ---------------------------------------------------------------- よくある質問 */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 22px 52px 22px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: color 0.15s; }
.faq summary:hover { color: var(--blue); }
.faq summary::before, .faq details p::before {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font: 700 15px/1 var(--latin); font-stretch: 112%;
}
.faq summary::before { content: "Q"; background: var(--blue); color: #fff; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: url("/assets/lp/img/icons/09-plus.svg") center / contain no-repeat; transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { display: flex; gap: 18px; padding: 0 52px 26px 0; font-size: var(--fs-body); line-height: 1.8; }
.faq details p::before { content: "A"; margin-top: -4px; background: var(--pale); color: var(--blue); }

/* 開閉を滑らかに（::details-content に対応するブラウザだけ。対応しないブラウザは、この指定ごと読み飛ばす） */
.faq details::details-content, .more::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
.faq details[open]::details-content, .more[open]::details-content { block-size: auto; }

/* ---------------------------------------------------------------- 申し込み */
.apply { max-width: 880px; margin: 0 auto; }
.form, .done { padding: 48px 56px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.check), .field > legend { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.5; }
fieldset.field { min-width: 0; margin: 0; padding: 0; border: 0; } /* 選択肢をまとめる欄（診断のあとに頼みたい作業）。ブラウザの枠と余白を消す */
.field > legend { padding: 0; }
.field__opts { display: grid; gap: 10px; padding-top: 2px; }
.field > label em, .check em {
  display: inline-block; flex: none; padding: 1px 8px; border-radius: 999px; background: var(--err); color: #fff;
  font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.6; white-space: nowrap;
}
.check em { margin-left: 8px; vertical-align: 1px; }
.field > label:not(.check) > span, .field > legend > span { padding: 1px 8px; border-radius: 999px; background: #EEF2F7; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.6; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; background: #F7FAFD; border: 1px solid var(--field); border-radius: var(--r-s);
  font: 400 16px/1.5 var(--font); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.field select { appearance: none; padding-right: 44px; background: #F7FAFD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%230869DF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: #A9C3E0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 105, 223, 0.16); }
.field__hint { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.field__err { margin-top: 6px; font-size: var(--fs-small); font-weight: 700; color: var(--err); line-height: 1.6; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); background: var(--err-bg); }
.more { margin-top: 24px; border-radius: var(--r-s); background: var(--tint); }
.more summary { position: relative; display: block; padding: 14px 52px 14px 20px; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: url("/assets/lp/img/icons/09-plus.svg") center / contain no-repeat; transition: transform 0.2s;
}
.more[open] summary::after { transform: rotate(45deg); }
.more__label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.more summary small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.more .form__grid { padding: 6px 20px 22px; }
.more .field input, .more .field select, .more .field textarea { background-color: #fff; }
.form__checks { display: grid; gap: 10px; margin-top: 24px; }
.field--check .field__err { margin-left: 32px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--ink); cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; cursor: pointer;
  border: 1.5px solid var(--field); border-radius: 6px; background: #fff center / 15px no-repeat;
  transition: background-color 0.15s, border-color 0.15s;
}
.check input:hover { border-color: var(--blue); }
.check input:checked { border-color: var(--blue); background-color: var(--blue); background-image: var(--tick-w); }
.field--check.is-invalid .check input { border-color: var(--err); }
.field--check.is-invalid .check { color: var(--err); }
.trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cta--form { margin-top: 40px; }
.form__status { margin-top: 20px; padding: 12px 16px; border-radius: var(--r-s); background: var(--pale); font-size: 14px; color: var(--navy); text-align: center; }
.form__status.is-error { background: var(--err-bg); color: var(--err); }
.done { text-align: center; }
.done .badge { width: 80px; height: 80px; margin: 0 auto; }
.done h3 { margin-top: 20px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; color: var(--navy); }
.done p { margin-top: 12px; font-size: var(--fs-body); }
.done:focus { outline: none; }

/* ---------------------------------------------------------------- フッター */
.foot { padding: 48px 0 32px; border-top: 1px solid var(--line); background: #fff; color: var(--ink); }
.foot__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot__logo { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.08em; }
.foot__role { margin-top: 10px; font-size: var(--fs-small); line-height: 1.7; color: var(--muted); }
.foot__addr { margin-top: 2px; font-size: var(--fs-small); font-style: normal; line-height: 1.7; color: var(--ink); }
.foot__links { display: flex; flex-wrap: wrap; font-size: var(--fs-small); }
.foot__links li { white-space: nowrap; }
.foot__links li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; margin: 0 16px; background: var(--line); vertical-align: -1px; }
.foot__links a { color: var(--navy); text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__copy { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 28px auto 0; padding: 0 var(--gut); font-size: 12px; color: var(--muted); }

/* スマートフォンの下端の申し込みボタン（JS が .is-dock を付けたときだけ出す） */
.dock { display: none; }

/* 画面に入ったものを、少しずつ見せる（lp.js が html に .anim を付けたときだけ。並びは --i の順に遅らせる） */
.anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.anim .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 画面の幅ごと */
@media (max-width: 1080px) {
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 560px); justify-content: center; gap: 32px; }
  .diag { padding: 48px 40px; gap: 40px; }
  /* 会社の欄の下に、リンクを 1 行で置く */
  .foot__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 900px) {
  :root { --sec: 88px; --head: 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 16px; }
  .hero__visual { width: 100%; max-width: 520px; justify-self: center; }
  /* ビジュアルが文字の下に来るので、模様の濃いところも下の中央に寄せる */
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 72%, #000 25%, rgba(0, 0, 0, 0.18) 100%); mask-image: radial-gradient(ellipse 80% 40% at 50% 72%, #000 25%, rgba(0, 0, 0, 0.18) 100%); }
  .feats { grid-template-columns: 1fr; gap: 48px; }
  /* 飾りは見出しの横の 1 つだけ（下の端の飾りは、本文の後ろに重なるので出さない） */
  .sec:not(#apply)::before { --orn-x: calc(50vw - 16px); background-size: 260px, 0 0; }
  .diag { grid-template-columns: 1fr; }
  .stage--diag { height: 280px; }
  .stage--diag .stage__blob { width: 300px; }
  .stage--diag .stage__ill { max-width: 320px; }
}

@media (max-width: 767px) {
  :root { --gut: 20px; --sec: 72px; --head: 36px; --gap: 14px; --fs-lead: 15px; --fs-body: 14.5px; --fs-h3: 18px; }
  body { font-size: 15px; }
  body.has-dock { padding-bottom: 84px; }
  .sp { display: inline; }
  .pc { display: none; }
  #price, #php, #faq, #apply { scroll-margin-top: 64px; }
  .notice { padding: 8px var(--gut); font-size: 12px; }
  .hdr__inner { gap: 12px; padding: 9px var(--gut); }
  .logo { width: 84px; height: 20px; }
  /* 会社名はロゴの下に 12px（帯 .notice と同じ大きさ）で置く。行の高さを詰めて、ヘッダーの高さをボタンの高さのままにする */
  .hdr__logo { flex-direction: column; align-items: flex-start; gap: 3px; }
  .hdr__co { font-size: 12px; line-height: 1.3; letter-spacing: 0.04em; }
  .hdr__hours, .hdr__cta-long { display: none; }
  .hdr__cta-short { display: inline; }

  .btn { min-height: 62px; padding: 0 20px 0 28px; font-size: 17px; }
  .btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
  .cta .btn { width: 100%; min-width: 0; }
  .cta__lead { font-size: 14px; }
  .cta--start { width: auto; }

  .hero { padding: 28px 0 56px; }
  .hero__for { padding: 5px 14px; font-size: 12.5px; }
  .hero__title { margin-top: 16px; font-size: clamp(26px, 7.6vw, 32px); }
  .hero__lead { margin-top: 14px; }
  .facts { margin-top: 24px; }
  .facts > div { flex: 1; padding: 0 12px; }
  .facts dt { font-size: 11px; white-space: nowrap; }
  .facts dd { font-size: 15px; }
  .facts b { font-size: 36px; }
  .facts b.jp { font-size: 27px; }
  .facts small { display: block; margin: 6px 0 0; font-size: 10.5px; }
  .hero .cta { margin-top: 28px; }
  /* スマートフォン：メインビジュアルを見出しのすぐ下に置く（.hero__text の中身を .hero__grid の並びに出して順を変える） */
  .hero__grid { display: flex; flex-direction: column; gap: 0; }
  .hero__text { display: contents; }
  .hero__for { order: 1; align-self: flex-start; }
  .hero__title { order: 2; }
  .hero__visual { order: 3; margin-top: 18px; }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 90% 30% at 50% 45%, #000 25%, rgba(0, 0, 0, 0.18) 100%); mask-image: radial-gradient(ellipse 90% 30% at 50% 45%, #000 25%, rgba(0, 0, 0, 0.18) 100%); }
  .hero__lead { order: 4; }
  .facts { order: 5; }
  .hero .cta { order: 6; }
  .mv { max-width: 360px; margin: 0 auto; }

  .sec:not(#apply)::before { background-size: 200px, 0 0; }
  .eyebrow { font-size: 12px; }
  .sec__title { margin-top: 12px; font-size: clamp(23px, 6.4vw, 26px); }
  .sec__lead { margin-top: 10px; }

  .pains { grid-template-columns: 1fr; }
  .pains li { gap: 16px; padding: 16px 20px; }
  .pains .badge { width: 52px; height: 52px; }
  .pains p { font-size: 15px; }
  .pains p br { display: none; }
  .bridge { font-size: 19px; }
  .sec--bridge::after { bottom: -23px; border-left-width: 32px; border-right-width: 32px; border-top-width: 24px; }

  .feats { gap: 40px; }
  .stage--feat { height: 196px; }
  .stage--feat .stage__blob { width: 214px; }
  .stage--feat .stage__ill { width: 220px; }
  .stage--feat .stage__ill--sq { width: 190px; }
  .feat__title { margin-top: 20px; }
  .feats + .points { margin-top: 56px; }
  .points { display: grid; justify-content: center; gap: 12px; }
  .points li { font-size: 15px; }

  .diag { padding: 28px 20px 24px; gap: 20px; }
  .stage--diag { height: 220px; }
  .stage--diag .stage__blob { width: 250px; }
  .stage--diag .stage__ill { max-width: 250px; }
  .checks li { gap: 14px; padding: 16px 0; }
  .checks .badge { width: 52px; height: 52px; }
  .checks h3 { font-size: 15.5px; }
  .checks p { font-size: 13px; }

  /* 進め方は縦に。丸い台を左に置き、縦の点線でつなぐ */
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow::before { top: 36px; bottom: 36px; left: 36px; right: auto; border-top: 0; border-left: 2px dashed #BBDDF9; }
  .flow li { display: flex; align-items: flex-start; gap: 18px; text-align: left; }
  .flow__badge { flex: none; width: 72px; height: 72px; margin: 0; }
  .flow__step { margin-top: 6px; font-size: 12px; }
  .flow h3 { margin-top: 8px; }
  .flow__text > p:last-child { margin-top: 4px; }

  .plans { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plan { padding: 28px 22px 26px; }
  .plan__tag { left: 22px; }
  .plan__badge { width: 48px; height: 48px; }
  .plan__price { height: 52px; margin-top: 16px; }
  /* 料金の行は、幅が足りないとき「〜（税別）」を数字の下の行へ送る（折り返さない指定のままだと、行の幅に合わせて列や札が画面より広がる）。
     枠の高さは行が増えても追従するよう、下限だけにする */
  .plans .plan__price { height: auto; min-height: 52px; }
  .plans .plan__price, .trial__head .plan__price, .plan--solo .plan__price { flex-wrap: wrap; row-gap: 4px; }
  .plan__price b { font-size: 44px; }
  .plan__price--text { font-size: 28px; }
  .ticks { margin-top: 18px; padding-top: 18px; }

  .faq summary { gap: 14px; padding: 18px 36px 18px 0; font-size: 15px; }
  .faq summary::before, .faq details p::before { width: 30px; height: 30px; font-size: 13px; }
  .faq summary::after { right: 0; width: 20px; height: 20px; margin-top: -10px; }
  .faq details p { gap: 14px; padding: 0 0 22px 0; }

  .form, .done { padding: 28px 20px; border-radius: 20px; }
  .form__grid { grid-template-columns: 1fr; gap: 18px; }
  .more .form__grid { padding: 4px 16px 18px; }
  .cta--form { margin-top: 32px; }

  .foot__inner { gap: 16px; }
  .foot__links { flex-direction: column; flex-wrap: nowrap; }
  .foot__links li + li::before { content: none; }
  .foot__links a { display: flex; align-items: center; min-height: 40px; }

  .dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.25s;
  }
  .dock .btn { width: 100%; min-height: 54px; box-shadow: none; }
  body.is-dock .dock { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn__arr::after, .dock, .hdr, .field input, .field select, .field textarea, .check input, .faq summary, .faq summary::after, .more summary::after { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .faq details::details-content, .more::details-content { transition: none; }
}

/* ================================================================ AI窓口の LP（/products/ai-madoguchi/）だけの部品 */

/* ---------------------------------------------------------------- メインビジュアル（.aimv）
   線だけのサイトの上に、AI窓口の窓を重ねる。窓の部品と文は、お客様のサイトに置く版（aqu8-ai-madoguchi の widget.js）に
   あるものだけ：青い見出しの帯（名前と「AIの回答は間違えることがあります。」）、訪問者の青い吹き出し、AI の白い吹き出し、
   待つ間の点、「情報元：」、お問い合わせへのボタン、質問の欄。文字の大きさも widget.js に合わせる（ここだけは 6 段の外）。
   窓の左の白い札（.aimv__note）は、窓の中で起きていることの注記で、窓の部品ではない。
   動きは CSS だけで付ける（質問 → 待つ間の点 → 回答 → 注記 を 2 往復。下の「動く前」）。動く前の形は html に .motion があるときだけで、
   動きを減らす設定と JavaScript が動かないときは、最初から 2 往復を並べた形（ここで書く形）で見せる */
.aimv { position: relative; width: 100%; max-width: 540px; margin: 0 0 0 auto; padding-top: 64px; }
.aimv__site {
  position: absolute; left: 0; top: 0; width: 66%; padding-bottom: 28px; overflow: hidden;
  background: #fff; border-radius: var(--r-s); box-shadow: var(--shadow);
}
.aimv__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--pale); }
.aimv__bar i { width: 8px; height: 8px; border-radius: 50%; background: #72B5F2; }
.aimv__bar b { width: 46%; height: 12px; margin-left: 8px; border-radius: 6px; background: #fff; }
.aimv__nav { display: flex; align-items: center; gap: 8px; padding: 16px 16px 0; }
.aimv__nav b { width: 22%; height: 8px; margin-right: auto; border-radius: 4px; background: var(--blue); }
.aimv__nav i { width: 11%; height: 6px; border-radius: 3px; background: #BBDDF9; }
.aimv__kv { position: relative; display: block; height: 96px; margin: 16px 16px 0; border-radius: 10px; background: var(--pale); }
.aimv__kv b { position: absolute; left: 16px; top: 28px; width: 44%; height: 10px; border-radius: 5px; background: #72B5F2; }
.aimv__kv i { position: absolute; left: 16px; top: 50px; width: 30%; height: 7px; border-radius: 4px; background: #BBDDF9; }
.aimv__text { display: grid; gap: 10px; padding: 20px 16px 0; }
.aimv__text i { height: 7px; border-radius: 4px; background: var(--line); }
.aimv__text i:nth-child(1) { width: 72%; }
.aimv__text i:nth-child(2) { width: 56%; }
.aimv__text i:nth-child(3) { width: 64%; }

.aimv__win {
  position: relative; width: 70%; margin-left: auto; border-radius: 16px; background: #fff;
  box-shadow: 0 2px 6px rgba(15, 42, 92, 0.08), 0 18px 48px rgba(15, 42, 92, 0.18);
}
.aimv__head { padding: 11px 16px; border-radius: 16px 16px 0 0; background: var(--blue); color: #fff; line-height: 1.5; }
.aimv__head b { display: block; font-size: 15px; }
.aimv__head small { display: block; font-size: 11px; opacity: 0.9; }
.aimv__log { display: grid; gap: 10px; padding: 14px; background: var(--tint); }
.aimv__q { justify-self: end; max-width: 85%; padding: 8px 12px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 13.5px; line-height: 1.7; }
.aimv__a { position: relative; justify-self: start; max-width: 90%; }
.aimv__bubble { padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 13.5px; line-height: 1.7; }
.aimv__src { margin: 4px 2px 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.aimv__src u { color: var(--blue); }
.aimv__chip { display: inline-block; margin-top: 6px; padding: 4px 12px; border: 1px solid var(--blue); border-radius: 999px; background: #fff; color: var(--blue); font-size: 12.5px; font-weight: 700; line-height: 1.6; }
.aimv__typing { position: absolute; left: 0; top: 0; display: none; gap: 4px; padding: 13px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.aimv__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: 0.3; }
.aimv__form { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.aimv__form span { flex: 1; padding: 7px 10px; border: 1px solid var(--field); border-radius: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.aimv__form b { padding: 6px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; line-height: 1.5; opacity: 0.45; }

/* 注記：吹き出しの左に、点線でつないで置く（緑のチェックは「確かめ済み」、青の矢印は「担当者へ」） */
.aimv__note {
  position: absolute; right: calc(100% + 16px); top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; box-shadow: 0 10px 24px rgba(15, 42, 92, 0.12);
  color: var(--navy); font-size: var(--fs-small); font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.aimv__note::after { content: ""; position: absolute; left: 100%; top: 50%; width: 16px; border-top: 1.5px dashed #72B5F2; }
.aimv__note i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal) var(--tick-w) center / 64% no-repeat; }
.aimv__note--hand i { background: var(--blue) var(--arrow-w) center / 64% no-repeat; }

/* 動く前（html.motion のとき）：--d は、その行が動き出すまでの時間。AI の行は、待つ間の点を 1.4 秒見せてから回答に替える */
.aimv__log > :nth-child(1) { --d: 0.6s; }
.aimv__log > :nth-child(2) { --d: 1.1s; }
.aimv__log > :nth-child(3) { --d: 3.6s; }
.aimv__log > :nth-child(4) { --d: 4.1s; }
.motion .aimv__q { animation: aimv-in 0.45s var(--d) cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion .aimv__typing { display: flex; animation: aimv-wait 1.4s var(--d) linear both; }
.motion .aimv__typing i { animation: aimv-blink 0.7s calc(var(--d) + var(--k, 0s)) 2 both; }
.motion .aimv__typing i:nth-child(2) { --k: 0.15s; }
.motion .aimv__typing i:nth-child(3) { --k: 0.3s; }
.motion .aimv__bubble { animation: aimv-in 0.45s calc(var(--d) + 1.4s) cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion .aimv__src, .motion .aimv__chip { animation: aimv-in 0.45s calc(var(--d) + 1.6s) cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion .aimv__note { animation: aimv-pop 0.5s calc(var(--d) + 2s) ease-out both; }
@keyframes aimv-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes aimv-wait { 0% { opacity: 0; } 12%, 88% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes aimv-blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes aimv-pop { 0% { opacity: 0; transform: translateY(-50%) scale(0.7); } 70% { opacity: 1; transform: translateY(-50%) scale(1.05); } 100% { opacity: 1; transform: translateY(-50%) scale(1); } }

/* ---------------------------------------------------------------- できること：絵の代わりに、大きい丸い台（進め方の台と同じ大きさ） */
.badge--l { width: 112px; height: 112px; margin: 0 auto; }

/* ---------------------------------------------------------------- 料金：月額を大きく、導入費をその下に。お試しは 3 つの下の横長の面で、青い輪で囲む */
.plan__for { margin-top: 6px; font-size: var(--fs-small); font-weight: 700; line-height: 1.6; color: var(--muted); }
.plan__for + .plan__price { margin-top: 14px; }
.plan__init { margin-top: 4px; font-size: var(--fs-body); font-weight: 700; line-height: 1.6; color: var(--navy); }
.trial {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center;
  margin-top: 40px; padding: 36px 48px; box-shadow: 0 0 0 2px var(--blue), var(--shadow);
}
.trial .plan__tag { left: 48px; }
.trial__head { display: flex; align-items: center; gap: 20px; }
.trial__head .plan__price { height: auto; margin-top: 10px; }
.trial .ticks { margin-top: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid var(--line); }
.trial + .plans__note { margin-top: 32px; }

@media (max-width: 1080px) {
  /* 列の幅は、中身（折り返さない料金の行）に合わせて伸ばさない */
  .trial { max-width: 560px; margin-left: auto; margin-right: auto; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .trial .ticks { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .aimv { margin: 0 auto; }
}

@media (max-width: 767px) {
  .aimv { max-width: 380px; padding-top: 40px; }
  .aimv__site { width: 70%; }
  .aimv__win { width: 92%; }
  .aimv__q, .aimv__bubble { font-size: 13px; line-height: 1.6; }
  .aimv__note, .aimv__form { display: none; } /* 注記を置く余白がない。背を抑えるため、質問の欄も見せない */
  .aimv__log { border-radius: 0 0 16px 16px; }
  .badge--l { width: 88px; height: 88px; }
  .trial { padding: 30px 22px 26px; }
  .trial .plan__tag { left: 22px; }
  /* 丸い台と文・価格が 1 行に入らない幅では、台の下に文と価格を回す */
  .trial__head { flex-wrap: wrap; gap: 12px 20px; }
  .trial .ticks { padding-top: 18px; }
}

/* ================================================================ サイトの静的化の LP（/products/static-site/）だけの部品
   この LP だけは、ほかの LP の青の代わりに、薄い緑の配色にする（2026-10-23 施主の指示）。html に .theme-green を付け、
   色の変数を緑に置き換える。決まり（操作できるものと強調は 1 色、地は白と淡い色を交互、確かめ済みの印は青緑）は同じで、
   1 色の青が緑（変数の名前は --blue のまま、#1A7F55）に替わるだけ。白い文字とのコントラストは 4.9:1。
   素材の絵と飾りは、青を緑に置き換えた写し（img/green/）を使う。人物の絵は、同じ絵柄を緑の配色で描いたもの（illustrations/static-*.svg） */
.theme-green {
  --blue: #1A7F55;
  --blue-d: #136844;
  --pale: #E6F5EC;
  --tint: #F3FAF5;
  --line: #D5EBDD;
  --field: #C3DECB;
}
.theme-green ::selection { background: #CDEBD9; }
.theme-green :focus-visible { outline-color: #7CC69B; }
.theme-green .btn { box-shadow: 0 10px 24px rgba(26, 127, 85, 0.24); }
.theme-green .btn:hover { box-shadow: 0 14px 28px rgba(26, 127, 85, 0.28); }
.theme-green .btn:active { box-shadow: 0 6px 16px rgba(26, 127, 85, 0.24); }
.theme-green .btn--sm, .theme-green .dock .btn { box-shadow: none; }
.theme-green .hero { background: linear-gradient(180deg, #E4F4EA 0%, #F1FAF4 64%, #FFFFFF 100%); }
.theme-green .hero::before { background-image: url("/assets/lp/img/green/pattern-icons.svg"); }
.theme-green .sec::before {
  background:
    url("/assets/lp/img/green/orbit-a.svg") no-repeat calc(50% - var(--orn-x)) 40px / var(--orn-l),
    url("/assets/lp/img/green/orbit-b.svg") no-repeat calc(50% + var(--orn-x) - 40px) calc(100% - 48px) / var(--orn-s);
}
.theme-green .sec:nth-of-type(odd)::before {
  background:
    url("/assets/lp/img/green/orbit-b.svg") no-repeat calc(50% + var(--orn-x)) 40px / var(--orn-l),
    url("/assets/lp/img/green/orbit-a.svg") no-repeat calc(50% - var(--orn-x) + 40px) calc(100% - 48px) / var(--orn-s);
}
.theme-green #apply::before { background: url("/assets/lp/img/green/pattern-icons.svg") 0 0 / 280px 280px; }
.theme-green .facts > div { border-left-color: #CFE7D7; }
.theme-green .facts > div:first-child { border-left: 0; }
/* 3 つが 1 行に入らない幅（360px 未満）では、費用を 1 行目に置き、残りの 2 つを 2 行目に並べる（引っ越しの LP の .facts--move と同じ並び）。360px 以上は 1 行のまま */
@media (max-width: 359px) {
  .theme-green .facts { flex-wrap: wrap; row-gap: 18px; width: 100%; }
  .theme-green .facts > div:first-child { flex: 0 0 100%; }
  .theme-green .facts > div:nth-child(2) { padding-left: 0; border-left: 0; }
}
.theme-green .flow::before { border-color: #BFE5CC; }
.theme-green .field input:not([type="checkbox"]), .theme-green .field select, .theme-green .field textarea { background-color: #F7FBF8; }
.theme-green .more .field input, .theme-green .more .field select, .theme-green .more .field textarea { background-color: #fff; }
.theme-green .field input:not([type="checkbox"]):hover, .theme-green .field select:hover, .theme-green .field textarea:hover { border-color: #A6CDB3; }
.theme-green .field input:focus, .theme-green .field select:focus, .theme-green .field textarea:focus { background-color: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 127, 85, 0.16); }
.theme-green .field.is-invalid input, .theme-green .field.is-invalid select, .theme-green .field.is-invalid textarea { border-color: var(--err); background-color: var(--err-bg); }
.theme-green .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%231A7F55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.theme-green .faq summary::after, .theme-green .more summary::after { background-image: url("/assets/lp/img/green/09-plus.svg"); }

/* ---------------------------------------------------------------- メインビジュアル（.smv）
   白い柔らかな形の上に、ひと息つく担当者（illustrations/static-hero.svg）を置き、右上に、静的なページ（画面の窓）の重なりを浮かべる。
   動く前は、窓のまわりに WordPress を動かすもの（プラグイン・テーマ・PHP・データベース）のアイコンが付いていて、
   それが 1 つずつ外れて消え、最後に「HTML」の札（確かめ済みの青緑のチェック）が付く。動きは CSS だけ（html.motion のとき）。
   ここで書く形は外れたあとの形で、動きを減らす設定と JavaScript が動かないときは、最初からこの形で見せる */
.smv { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 0 0 auto; container-type: inline-size; }
.smv__blob { position: absolute; left: 3%; top: 1%; width: 97%; height: 93%; fill: #fff; filter: drop-shadow(0 24px 48px rgba(15, 42, 92, 0.06)); }
.smv__person { position: absolute; left: 0; bottom: 0; width: 100%; }
.smv__pages { position: absolute; left: 50%; top: 11%; width: 42%; aspect-ratio: 4 / 3; }
.smv__page {
  position: absolute; inset: 0; overflow: hidden; border-radius: 3cqw; background: #fff;
  box-shadow: 0 2px 6px rgba(15, 42, 92, 0.06), 0 14px 32px rgba(15, 42, 92, 0.12);
}
.smv__page:nth-child(1) { transform: translate(-14%, -16%) scale(0.86); opacity: 0.55; }
.smv__page:nth-child(2) { transform: translate(-7%, -8%) scale(0.93); opacity: 0.8; }
.smv__bar { display: flex; align-items: center; gap: 1.2cqw; height: 5.6cqw; padding: 0 2.2cqw; background: var(--pale); }
.smv__bar i { width: 1.5cqw; aspect-ratio: 1; border-radius: 50%; background: #7CC69B; }
.smv__kv { display: block; height: 9cqw; margin: 2.4cqw 2.4cqw 0; border-radius: 1.6cqw; background: var(--pale); }
.smv__lines { display: grid; gap: 1.6cqw; padding: 2.6cqw 2.4cqw 0; }
.smv__lines i { height: 1.3cqw; border-radius: 1cqw; background: var(--line); }
.smv__lines i:nth-child(1) { width: 78%; background: #7CC69B; }
.smv__lines i:nth-child(2) { width: 62%; }
.smv__lines i:nth-child(3) { width: 70%; }
/* 外れていくアイコン（外れたあとの形では見せない） */
.smv__part {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 11cqw; aspect-ratio: 1; border-radius: 50%;
  background: #fff; box-shadow: 0 10px 24px rgba(15, 42, 92, 0.12); opacity: 0; visibility: hidden;
}
.smv__part svg { width: 60%; height: 60%; }
.smv__part--1 { --x: 47%; --y: 10%; --dx: -6cqw; --d: 0.9s; }
.smv__part--2 { --x: 94%; --y: 12%; --dx: 6cqw; --d: 1.3s; }
.smv__part--3 { --x: 96%; --y: 42%; --dx: 7cqw; --d: 1.7s; }
.smv__part--4 { --x: 47%; --y: 42%; --dx: -7cqw; --d: 2.1s; }
/* 「HTML」の札 */
.smv__ok {
  position: absolute; left: 84%; top: 44%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 1.6cqw; padding: 1.2cqw 2.8cqw 1.2cqw 1.2cqw; border-radius: 999px;
  background: #fff; box-shadow: 0 10px 24px rgba(15, 42, 92, 0.12);
  font: 800 3.4cqw/1 var(--latin); font-stretch: 108%; letter-spacing: 0.04em; color: var(--navy); white-space: nowrap;
}
.smv__ok i { width: 5.4cqw; aspect-ratio: 1; border-radius: 50%; background: var(--teal) var(--tick-w) center / 64% no-repeat; }

/* 動く前（html.motion のとき）：アイコンは最初から付いていて、--d の時間から外れて消える。札はそのあとに付く */
.motion .smv__part { visibility: visible; animation: smv-off 0.7s var(--d) cubic-bezier(0.5, 0, 0.75, 0) both; }
.motion .smv__page:nth-child(1), .motion .smv__page:nth-child(2) { animation: smv-settle 0.6s 2.6s ease-out both; }
.motion .smv__ok { animation: smv-pop 0.5s 3s ease-out both; }
@keyframes smv-off {
  0% { opacity: 1; transform: translate(-50%, -50%); }
  25% { opacity: 1; transform: translate(-50%, -62%); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -150%) scale(0.6); visibility: hidden; }
}
@keyframes smv-settle { from { opacity: 0; transform: none; } }
@keyframes smv-pop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); } 70% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ---------------------------------------------------------------- 共感：4 つを 2 列に */
.pains--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin: 0 auto; }

/* ---------------------------------------------------------------- 静的化とは：仕組みの図と、変わること・変わらないことの表を 1 枚の白い面に */
.about { padding: 56px 64px; }
.about__text { max-width: 760px; margin: 0 auto; }
.about__text p { font-size: var(--fs-body); }
.about__text p + p { margin-top: 12px; }
.about__diagram { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; max-width: 760px; margin: 40px auto 0; }
.about__side { padding: 24px; border-radius: var(--r-s); background: var(--tint); text-align: center; }
.about__side h3 { font-size: 16px; font-weight: 900; line-height: 1.5; color: var(--navy); }
.about__stack { display: grid; gap: 8px; margin-top: 14px; }
.about__stack li { padding: 8px 12px; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--navy); box-shadow: 0 1px 2px rgba(15, 42, 92, 0.05); }
.about__stack li small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.about__side--after .about__stack li { box-shadow: 0 0 0 2px var(--blue); }
.about__arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--blue) var(--arrow-w) center / 50% no-repeat; }
.compare { max-width: 760px; margin: 48px auto 0; }
.compare table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); line-height: 1.6; }
.compare caption { margin-bottom: 14px; color: var(--navy); font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--tint); color: var(--navy); font-size: 14px; font-weight: 900; }
.compare tbody th { width: 30%; color: var(--navy); font-weight: 700; }
.compare td.is-after { font-weight: 700; color: var(--navy); }
.compare__note { max-width: 760px; margin: 20px auto 0; text-align: center; font-size: var(--fs-small); color: var(--muted); line-height: 1.8; }

/* ---------------------------------------------------------------- 相談の欄：「動きのある部分」のチェック欄（いくつでも選べる）を 2 列に */
.field--set { min-width: 0; margin: 0; padding: 0; border: 0; }
.field--set legend { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.field--set legend span { padding: 1px 8px; border-radius: 999px; background: #EEF2F7; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.6; }
.field--set .form__checks { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }

/* ---------------------------------------------------------------- 進め方：4 つ */
.flow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow--4::before { left: 12.5%; right: 12.5%; }

@media (max-width: 1080px) {
  .flow--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .flow--4::before { display: none; }
}

@media (max-width: 900px) {
  .smv { margin: 0 auto; }
  .about { padding: 40px 32px; }
}

@media (max-width: 767px) {
  .smv { max-width: 360px; }
  .pains--2 { grid-template-columns: 1fr; }
  .about { padding: 28px 20px 24px; }
  .about__diagram { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .about__arrow { width: 44px; height: 44px; margin: 0 auto; transform: rotate(90deg); }
  .compare { margin-top: 32px; overflow-x: auto; }
  .compare table { min-width: 460px; font-size: 14px; }
  .compare th, .compare td { padding: 12px 10px; }
  .flow--4 { grid-template-columns: 1fr; row-gap: 28px; }
  .field--set .form__checks { grid-template-columns: 1fr 1fr; }
  .flow--4::before { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .smv__part { animation: none !important; visibility: hidden; }
}

/* ================================================================ ほかのプロダクト（.xsell。WordPress の保守と、サイトの静的化の LP の、相談の下）
   行き先の LP の配色の面で案内する。緑の LP へは .theme-green、青の LP へは .theme-blue を面に付け、色の変数をその面の中だけ置き換える */
.theme-blue {
  --blue: #0869DF;
  --blue-d: #0556B8;
  --pale: #EAF6FF;
  --tint: #F4F9FE;
  --line: #DCE7F3;
  --field: #C9D8EA;
}
.xsell {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center;
  max-width: 880px; margin: 0 auto; padding: 32px 44px 32px 32px; color: inherit; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.xsell:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.xsell__ill { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 18px; border-radius: var(--r-s); background: var(--tint); }
.xsell__ill img { width: 100%; height: 100%; object-fit: contain; }
.xsell__body { display: block; }
.xsell__tag { display: inline-block; padding: 3px 14px; border-radius: 999px; background: var(--pale); color: var(--blue); font-size: var(--fs-small); font-weight: 700; line-height: 1.8; }
.xsell__title { display: block; margin-top: 12px; color: var(--navy); font-size: 24px; font-weight: 900; line-height: 1.5; }
.xsell__text { display: block; margin-top: 8px; font-size: var(--fs-body); line-height: 1.8; color: var(--muted); word-break: auto-phrase; text-wrap: pretty; }
.xsell__more {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 10px 8px 22px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4;
}
.xsell__more .btn__arr { width: 24px; height: 24px; }
.xsell__more .btn__arr::after { left: 7px; top: 8.5px; }
.xsell:hover .xsell__more { background: var(--blue-d); }

@media (max-width: 767px) {
  .xsell { grid-template-columns: 1fr; gap: 20px; padding: 20px 20px 24px; }
  .xsell__title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .xsell { transition: none; }
}

/* ================================================================ WordPress の引っ越しの LP（/products/server-move/）だけの部品
   この LP だけは、ほかの LP の青・緑の代わりに、黄色の配色にする（2026-10-31 施主の指示）。html に .theme-yellow を付け、
   色の変数を置き換える。決まり（操作できるものと強調は 1 色、地は白と淡い色を交互、確かめ済みの印は青緑 --teal のまま）は同じで、
   1 色の青が琥珀（変数の名前は --blue のまま、#B45309）に替わるだけ。コントラスト比（計算値）：
   白い文字と #B45309 は 5.02:1（ボタン・札）、白い地の #B45309 の文字は 5.02:1、--tint（#FFFBEE）の上は 4.85:1、--pale（#FFF4CC）の上は 4.56:1。
   ホバーの --blue-d（#92400E）と白い文字は 7.09:1。
   素材の飾りと丸い台は、青を黄色に置き換えた写し（img/yellow/）を使う。人物の絵は illustrations/move-*.svg */
.theme-yellow {
  --blue: #B45309;
  --blue-d: #92400E;
  --pale: #FFF4CC;
  --tint: #FFFBEE;
  --line: #F3E3B5;
  --field: #E6D4A3;
}
.theme-yellow ::selection { background: #FDE9B3; }
.theme-yellow :focus-visible { outline-color: #F3B738; }
.theme-yellow .btn { box-shadow: 0 10px 24px rgba(180, 83, 9, 0.24); }
.theme-yellow .btn:hover { box-shadow: 0 14px 28px rgba(180, 83, 9, 0.28); }
.theme-yellow .btn:active { box-shadow: 0 6px 16px rgba(180, 83, 9, 0.24); }
.theme-yellow .btn--sm, .theme-yellow .dock .btn { box-shadow: none; }
.theme-yellow .hero { background: linear-gradient(180deg, #FFF1BF 0%, #FFF9E6 64%, #FFFFFF 100%); }
.theme-yellow .hero::before { background-image: url("/assets/lp/img/yellow/pattern-icons.svg"); }
.theme-yellow .sec::before {
  background:
    url("/assets/lp/img/yellow/orbit-a.svg") no-repeat calc(50% - var(--orn-x)) 40px / var(--orn-l),
    url("/assets/lp/img/yellow/orbit-b.svg") no-repeat calc(50% + var(--orn-x) - 40px) calc(100% - 48px) / var(--orn-s);
}
.theme-yellow .sec:nth-of-type(odd)::before {
  background:
    url("/assets/lp/img/yellow/orbit-b.svg") no-repeat calc(50% + var(--orn-x)) 40px / var(--orn-l),
    url("/assets/lp/img/yellow/orbit-a.svg") no-repeat calc(50% - var(--orn-x) + 40px) calc(100% - 48px) / var(--orn-s);
}
.theme-yellow #apply::before { background: url("/assets/lp/img/yellow/pattern-icons.svg") 0 0 / 280px 280px; }
.theme-yellow .facts > div { border-left-color: #F3E3B5; }
.theme-yellow .facts > div:first-child { border-left: 0; }
.theme-yellow .flow::before { border-color: #F0D98F; }
.theme-yellow .field input:not([type="checkbox"]), .theme-yellow .field select, .theme-yellow .field textarea { background-color: #FFFCF2; }
.theme-yellow .more .field input, .theme-yellow .more .field select, .theme-yellow .more .field textarea { background-color: #fff; }
.theme-yellow .field input:not([type="checkbox"]):hover, .theme-yellow .field select:hover, .theme-yellow .field textarea:hover { border-color: #E0C98A; }
.theme-yellow .field input:focus, .theme-yellow .field select:focus, .theme-yellow .field textarea:focus { background-color: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.16); }
.theme-yellow .field.is-invalid input, .theme-yellow .field.is-invalid select, .theme-yellow .field.is-invalid textarea { border-color: var(--err); background-color: var(--err-bg); }
.theme-yellow .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23B45309' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.theme-yellow .faq summary::after, .theme-yellow .more summary::after { background-image: url("/assets/lp/img/yellow/09-plus.svg"); }

/* ---------------------------------------------------------------- メインビジュアル（.mgv）
   白い柔らかな形の上に、画面を見ながら作業を進める担当者（illustrations/move-hero.svg）を置く。絵の上の帯（上から 8〜38%、左右 8% ずつ）は空けてあり、
   そこに「古いサーバー → 新しいサーバー」の飾りを置く：サイトの窓が点線に沿って古いサーバーから新しいサーバーへ移り、新しいサーバーに青緑のチェックが付く。
   動きは CSS だけ（html.motion のとき）。ここで書く形は移ったあとの形で、動きを減らす設定と JavaScript が動かないときは、最初からこの形で見せる。
   大きさはビジュアルの幅に対する割合（cqw）で決める */
.mgv { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 0 0 auto; container-type: inline-size; }
.mgv__blob { position: absolute; left: 0; top: 0; width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 24px 48px rgba(120, 70, 10, 0.07)); }
.mgv__person { position: absolute; left: 16%; bottom: 10%; width: 72%; }
.mgv__move { position: absolute; left: 9%; top: 9%; width: 82%; height: 30%; }
.mgv__srv {
  position: absolute; top: 3cqw; display: grid; align-content: center; gap: 2.2cqw; width: 18cqw; height: 25cqw; padding: 0 3.2cqw;
  border-radius: 2.9cqw; background: var(--pale); box-shadow: inset 0 0 0 0.6cqw #F3B738;
}
.mgv__srv i { display: block; height: 4cqw; border-radius: 1.4cqw; background: #fff; box-shadow: inset 0 0 0 0.5cqw #F7D98A; }
.mgv__srv--old { left: 0; opacity: 0.5; }
.mgv__srv--new { right: 0; width: 21.6cqw; padding: 0 4cqw; }
.mgv__line { position: absolute; left: 20.7cqw; top: 15.5cqw; width: 39cqw; border-top: 0.8cqw dashed #F0D98F; }
.mgv__win {
  position: absolute; left: 64cqw; top: 9.5cqw; width: 14.4cqw; height: 11.5cqw; overflow: hidden; border-radius: 1.8cqw; background: #fff;
  box-shadow: 0 0.4cqw 1.1cqw rgba(120, 70, 10, 0.1), 0 2.5cqw 5.4cqw rgba(120, 70, 10, 0.16);
}
.mgv__bar { display: flex; align-items: center; gap: 0.9cqw; height: 3.2cqw; padding: 0 1.4cqw; background: var(--pale); }
.mgv__bar i { width: 1.3cqw; aspect-ratio: 1; border-radius: 50%; background: #F3B738; }
.mgv__kv { display: block; height: 3cqw; margin: 1.4cqw 1.4cqw 0; border-radius: 0.9cqw; background: var(--pale); }
.mgv__ln { display: grid; gap: 1.1cqw; padding: 1.6cqw 1.4cqw 0; }
.mgv__ln i { height: 0.9cqw; border-radius: 0.7cqw; background: var(--line); }
.mgv__ln i:first-child { width: 70%; background: #F3B738; }
.mgv__ok {
  position: absolute; right: -4cqw; top: -0.4cqw; width: 9.4cqw; aspect-ratio: 1; border-radius: 50%;
  background: var(--teal) var(--tick-w) center / 64% no-repeat; box-shadow: 0 0 0 1.2cqw #fff;
}

/* 動く前（html.motion のとき）：窓は古いサーバーの上にあって点線に沿って移り、古いサーバーは薄くなり、新しいサーバーにチェックが付く */
.motion .mgv__win { animation: mgv-go 2s 1s cubic-bezier(0.45, 0, 0.2, 1) both; }
.motion .mgv__srv--old { animation: mgv-dim 0.5s 1.2s ease-out both; }
.motion .mgv__ok { animation: mgv-pop 0.5s 3.1s ease-out both; }
@keyframes mgv-go { from { translate: -62.2cqw 0; } to { translate: 0 0; } }
@keyframes mgv-dim { from { opacity: 1; } to { opacity: 0.5; } }
@keyframes mgv-pop { 0% { opacity: 0; scale: 0.5; } 70% { opacity: 1; scale: 1.12; } 100% { opacity: 1; scale: 1; } }

/* ---------------------------------------------------------------- ファーストビューの見出し：長い題を 4 行で（1 行ごとに折り返さない幅に、文字の大きさを合わせる） */
.hero__title--move { font-size: clamp(22px, min(3.2vw, calc((100vw - 48px) / 13.6)), 38px); }

/* ---------------------------------------------------------------- 無料診断で分かること：絵を置かず、見る項目だけを 1 枚の白い面に */
.diag--solo { display: block; max-width: 800px; margin: 0 auto; padding: 48px 56px; }

/* ---------------------------------------------------------------- 料金：3 つのパッケージ。向いている人の文を、名前と金額の下に置き、含まれるものをその下に並べる */
.plan__who { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-s); background: var(--tint); font-size: var(--fs-small); line-height: 1.7; color: var(--ink); }
.plan__who b { display: block; margin-bottom: 2px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.plan__head .badge { width: 56px; height: 56px; }
@media (min-width: 1081px) { .plans--pkg .plan__who { min-height: 112px; } } /* 3 枚の、含まれるものの一覧の始まりをそろえる */
.plans--pkg .plan__price b { font-size: 46px; }
@media (min-width: 1081px) and (max-width: 1200px) { .plans--pkg .plan__price b { font-size: 42px; } }
.plans__pick { margin-top: 28px; text-align: center; font-size: var(--fs-body); font-weight: 700; line-height: 1.7; color: var(--navy); }
/* 診断と保守：3 つの下に、小さく 2 枚 */
.plans--sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); max-width: 880px; margin: 40px auto 0; }
.plans--sub .plan { padding: 30px 28px 28px; }
.plans--sub .plan__price { height: 44px; margin-top: 14px; }
.plans--sub .plan__price b { font-size: 40px; }
.plan__text { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-body); line-height: 1.7; color: var(--navy); word-break: auto-phrase; text-wrap: pretty; }
.plans--sub + .plans__note { margin-top: 32px; }

/* ---------------------------------------------------------------- ほかのプロダクトが 2 つ並ぶとき */
.xsell + .xsell { margin-top: var(--gap); }

@media (max-width: 1080px) {
  .plans--sub { max-width: 560px; grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .mgv { margin: 0 auto; }
}

@media (max-width: 767px) {
  .mgv { max-width: 360px; }
  .hero__title--move { font-size: clamp(20px, calc((100vw - 40px) / 13.6), 30px); }
  .facts--move > div { padding: 0 8px; }
  .facts--move > div:first-child { padding-left: 0; }
  .facts--move b { font-size: 30px; }
  .facts--move b.jp { font-size: 27px; }
  .diag--solo { padding: 28px 20px 24px; }
  .plan__head .badge { width: 48px; height: 48px; }
  .plan__who { margin-top: 14px; }
  .plans--sub { margin-top: 28px; }
  .plans--sub .plan { padding: 26px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .mgv__win, .mgv__srv--old, .mgv__ok { animation: none !important; }
}

/* ---------------------------------------------------------------- 料金が 1 枚のとき：金額の前の「1 サイト」、別途お見積りの一覧、見出しの副題 */
.facts .pre, .plan__price .pre { margin: 0 8px 0 0; }
.plan--solo { max-width: 560px; margin: 0 auto; }
.plan--solo .plan__price { height: auto; }
.plan--solo .plan__price b { font-size: 46px; }
/* 見出しの副題は、どの幅でも「料金」の下の行に置く */
.sec__sub { display: block; margin: 8px 0 0; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: 0; color: var(--muted); }
/* 別途お見積りになるもの：カードの下に、注意書きの面（薄い黄）で小さく並べる */
.extra { max-width: 560px; margin: 24px auto 0; padding: 16px 22px 18px; border-radius: var(--r-s); background: var(--tint); font-size: var(--fs-small); line-height: 1.8; color: var(--ink); }
.extra__title { font-size: var(--fs-small); font-weight: 700; color: var(--navy); }
.extra__list { margin-top: 4px; }
.extra__list li { position: relative; padding-left: 1.1em; word-break: auto-phrase; text-wrap: pretty; }
.extra__list li::before { content: "・"; position: absolute; left: 0; }
.extra + .plans__note { margin-top: 28px; }

/* ファーストビューの数字：金額の行を 1 行に収める（単位と「〜（税別）」を折り返さない）。
   横に 3 つ並べて収まらない幅では、金額を 1 行目に置き、残りの 2 つを 2 行目に並べる */
.facts--move > div { padding: 0 18px; }
.facts--move b { font-size: 40px; }
.facts--move b.jp { font-size: 34px; }

.theme-yellow .field > label:not(.check) > span { flex: none; white-space: nowrap; } /* 長い項目名でも「任意」の札を折り返さない */

@media (min-width: 901px) and (max-width: 1160px) {
  .facts--move { display: grid; grid-template-columns: auto auto 1fr; row-gap: 18px; }
  .facts--move > div:first-child { grid-column: 1 / -1; }
  .facts--move > div:nth-child(2) { padding-left: 0; border-left: 0; }
}

@media (max-width: 767px) {
  .sec__sub { margin-top: 6px; font-size: 13px; }
  .extra { padding: 14px 16px 16px; }
  .plan--solo .plan__price b { font-size: 40px; }
  .facts--move { display: grid; grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .facts--move > div { padding: 0 12px; }
  .facts--move > div:first-child { grid-column: 1 / -1; padding: 0; }
  .facts--move > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .facts--move b { font-size: 34px; }
  .facts--move b.jp { font-size: 30px; }
  .facts--move small { display: inline; margin: 0 0 0 3px; font-size: 11px; }
  .facts--move small.pre { margin: 0 6px 0 0; }
}
