/* ============================================================
   TAF-V2meta-LP — SaaS系トンマナ
   白×薄いブルーグレー基調 / 黒太ゴシック / アクセント3色
   ブルー=機能・仕組み / オレンジ=CTA・メリット / ピンク=結果・感情
   ============================================================ */

:root {
  /* Base */
  --color-white: #FFFFFF;
  --color-bg-light: #F5F7FA;
  --color-bg-blue: #ECF4F9;
  --color-text: #111111;
  --color-text-sub: #555A62;
  --color-border: #E5E8EC;

  /* Brand accents */
  --color-blue: #00A2DE;
  --color-blue-light: #D8E9F2;
  --color-orange: #F6AC0E;
  --color-pink: #E82E6C;
  --color-purple: #9A5AB5;

  /* UI */
  --radius-card: 16px;
  --radius-button: 999px;
  --shadow-card: 0 12px 35px rgba(30, 50, 70, 0.09);

  /* Layout */
  --container-width: 1140px;
  --section-space: 120px;

  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-mono: "Roboto Mono", "Space Mono", monospace;
}

/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-blue); }

.container {
  width: min(var(--container-width), calc(100% - 48px));
  margin-inline: auto;
}

/* ===== 汎用テキスト ===== */
.text-blue   { color: var(--color-blue); }
.text-orange { color: var(--color-orange); }
.text-pink   { color: var(--color-pink); }

/* ===== セクション共通 ===== */
.section { padding: var(--section-space) 0; position: relative; }
.section--light { background: var(--color-bg-light); }

.sec-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  margin: 0 0 18px;
}
.sec-label--pink   { color: var(--color-pink); }
.sec-label--orange { color: var(--color-orange); }

.sec-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}

.sec-lead {
  font-size: 16px;
  color: var(--color-text-sub);
  margin: 0 0 40px;
}

/* ===== ボタン ===== */
.cta-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 60px;
  padding: 0 36px;
  border-radius: var(--radius-button);
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(246, 172, 14, 0.34);
  animation: cta-pulse 1.5s ease-in-out infinite;
}
.cta-button:active { transform: scale(0.96); }
/* 流れるキラッと光る演出 */
.cta-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -80%;
  width: 55%;
  height: 200%;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 80%);
  transform: skewX(-20deg);
  animation: cta-shine 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes cta-shine {
  0% { left: -80%; }
  55% { left: 135%; }
  100% { left: 135%; }
}

.cta-button--pink {
  background: var(--color-pink);
  box-shadow: 0 8px 24px rgba(232, 46, 108, 0.3);
}

.cta-note {
  font-size: 12.5px;
  color: var(--color-text-sub);
  margin: 14px 0 0;
  line-height: 1.8;
}

/* ===== CTA:吹き出しバッジ + ボタン ===== */
.cta-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cta-badge {
  position: relative;
  display: inline-block;
  background: #566072;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 20px;
  border-radius: 8px;
  margin-bottom: 13px;
  white-space: nowrap;
}
.cta-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #566072;
}

.text-link {
  display: inline-block;
  color: var(--color-blue);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.text-link:hover { opacity: 0.75; }

/* ===== ヘッダー ===== */
.site-header {
  height: 54px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #E8EBEF;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1;
}
.header-logo-icon {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { opacity: 0.9; }

/* ===== FV ===== */
.fv {
  background: var(--color-white);
  padding: 72px 0 100px;
  position: relative;
  overflow: hidden;
}
/* FV背景の透かし写真(個人事業主たち) */
.fv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
/* デスクトップ用(横長)を表示、モバイル用(縦長)は隠す */
.fv-bg--mobile { display: none; }
/* 左(文字エリア)を白く抜いて可読性を確保するオーバーレイ */
.fv-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #fff 0%,
      rgba(255, 255, 255, 0.82) 34%,
      rgba(255, 255, 255, 0.3) 56%,
      rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) 70%,
      rgba(255, 255, 255, 0.85) 100%);
}
.fv-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.fv-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-pink);
  border: 1.5px solid var(--color-pink);
  border-radius: var(--radius-button);
  padding: 5px 20px;
  margin: 0 0 20px;
}
.fv-cat {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text-sub);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.fv-cat::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: var(--color-blue);
  margin-top: 10px;
}
/* 波打って一文字ずつ出現 */
.wave-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  animation: wave-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes wave-in {
  0%   { opacity: 0; transform: translateY(0.6em); }
  60%  { opacity: 1; transform: translateY(-0.14em); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.hero-title .em { color: var(--color-pink); }
.fv-sub {
  font-size: 17px;
  line-height: 2;
  margin: 0 0 26px;
}
.fv-sub strong {
  font-weight: 900;
  background: linear-gradient(transparent 68%, rgba(246, 172, 14, 0.35) 68%);
}

.fv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}
.fv-tags li {
  font-size: 12.5px;
  font-weight: 600;
  border: 1.5px solid;
  border-radius: var(--radius-button);
  padding: 4px 14px;
  line-height: 1.7;
}
/* アクセント4色を循環させて配色(機能=青/メリット=橙/注目=桃/分類=紫) */
.fv-tags li:nth-child(4n+1) { color: var(--color-blue);   border-color: #b9e4f5; background: #f1fafe; }
.fv-tags li:nth-child(4n+2) { color: var(--color-orange); border-color: #f7d79a; background: #fef7e9; }
.fv-tags li:nth-child(4n+3) { color: var(--color-pink);   border-color: #f6b8ce; background: #fdedf3; }
.fv-tags li:nth-child(4n+4) { color: var(--color-purple); border-color: #dcc4e9; background: #f7f0fb; }

.fv-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fv-actions .cta-button { min-width: 320px; }

/* --- FV右:スマホモックアップ --- */
.fv-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  min-width: 0;
}
/* SP用のFVスライダー(スマホのみ表示・自動で流れる) */
.fv-slider { display: none; overflow: hidden; width: 100%; }
.fv-slider-track {
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  animation: fv-slide 20s linear infinite;
}
.fv-slider-track li { flex: 0 0 auto; margin: 0; }
.fv-slider-track img {
  width: 240px;
  height: 192px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 6px 18px rgba(30, 50, 70, 0.12);
}
@keyframes fv-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .fv-slider-track { animation: none; }
}
.phone {
  width: min(300px, 78vw);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(30, 50, 70, 0.14);
  position: relative;
  z-index: 2;
}
.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: var(--color-bg-blue);
  display: flex;
  flex-direction: column;
}
.chat-header {
  background: linear-gradient(135deg, #E82E8B 0%, #FF755C 45%, #F6AC0E 100%);
  color: #FFFFFF;
  padding: 14px 18px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.chat-header small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.12em;
}
.chat-body {
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(246, 180, 232, 0.16) 0%, rgba(184, 221, 247, 0.3) 55%, rgba(158, 223, 240, 0.34) 100%),
    #FFFFFF;
}
.bubble {
  max-width: 82%;
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  padding: 9px 13px;
  border-radius: 14px;
}
.bubble--user {
  align-self: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-top-left-radius: 4px;
  color: var(--color-text);
}
.bubble--taf {
  align-self: flex-end;
  background: var(--color-blue);
  color: #FFFFFF;
  border-top-right-radius: 4px;
}
.chat-card {
  align-self: center;
  width: 92%;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(30, 50, 70, 0.1);
  padding: 12px;
  text-align: center;
  margin-top: 4px;
}
.chat-card p {
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.6;
}
.chat-card span {
  display: inline-block;
  background: var(--color-orange);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-button);
  padding: 6px 18px;
}

/* --- 装飾図形 --- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-ring {
  width: 130px;
  aspect-ratio: 1;
  border: 18px solid var(--color-orange);
  border-radius: 50%;
  opacity: 0.85;
}
.deco-circle { border-radius: 50%; }
.deco-dots {
  width: 96px;
  height: 96px;
  background-image: radial-gradient(var(--color-blue-light) 3px, transparent 3px);
  background-size: 16px 16px;
  opacity: 0.9;
}
.fv .deco-ring { top: -40px; right: -46px; }
.fv .deco-circle--blue {
  width: 200px; aspect-ratio: 1;
  background: var(--color-bg-blue);
  bottom: -60px; left: -70px;
}
.fv .deco-circle--pink {
  width: 46px; aspect-ratio: 1;
  background: var(--color-pink);
  opacity: 0.16;
  top: 90px; left: 44%;
}
.fv .deco-dots { bottom: 40px; right: 8%; }
.fv-visual .deco-ring--small {
  width: 72px;
  border-width: 12px;
  border-color: var(--color-blue);
  top: -6px; left: 2%;
  opacity: 0.5;
}

/* ===== 課題提起(悩み) ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 36px;
}
.problem-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.problem-card .check {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #FFFFFF;
  font-size: 14px;
  display: grid;
  place-content: center;
  margin-top: 6px;
}
.problem-card p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.9;
}
.problem-close {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

/* ===== 価格比較 ===== */
.hikaku-table-wrap { overflow-x: auto; margin: 0 0 20px; }
.hikaku-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}
.hikaku-table th, .hikaku-table td {
  padding: 18px 12px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.hikaku-table thead th {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  padding-bottom: 12px;
}
.hikaku-table thead th.col-sub { color: var(--color-text-sub); font-weight: 500; }
.hikaku-table thead th.col-taf {
  color: var(--color-blue);
  background: var(--color-bg-blue);
  border-top: 3px solid var(--color-blue);
  border-radius: 8px 8px 0 0;
  font-weight: 800;
  font-size: 15px;
}
.hikaku-table tbody th {
  text-align: left;
  font-size: 12.5px;
  color: var(--color-text-sub);
  font-weight: 500;
  letter-spacing: 0.04em;
  width: 24%;
}
.hikaku-table td.col-sub { color: var(--color-text-sub); }
.hikaku-table td.col-taf {
  background: var(--color-bg-blue);
  font-weight: 700;
}
.hikaku-table td.col-taf .big {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-orange);
  letter-spacing: 0.02em;
}
.hikaku-note {
  font-size: 11.5px;
  color: var(--color-text-sub);
  margin: 0 0 32px;
  line-height: 1.9;
}
.honest-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-blue);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 26px 30px;
  font-size: 14.5px;
  line-height: 2;
}
.honest-card strong { color: var(--color-blue); }

/* ===== セクション背景レイヤー(3Dイラスト/写真) ===== */
.has-secbg { position: relative; overflow: hidden; }
.has-secbg > .container { position: relative; z-index: 2; }
.sec-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.sec-ov { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* STORY:右にイラスト、左は白く抜いて本文を読ませる */
.sec-bg--story { object-position: right center; opacity: 0.9; }
.sec-ov--leftwhite {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.68) 46%,
    rgba(255, 255, 255, 0.2) 76%,
    rgba(255, 255, 255, 0) 100%);
}
/* STEP:イラストをしっかり見せつつ、白ヴェールでカード/文字を確保 */
.sec-bg--step { object-position: center; opacity: 0.85; }
.sec-ov--white { background: rgba(245, 247, 250, 0.34); }
/* 最終CTA:写真を暗く敷いて白文字を乗せる */
.sec-bg--photo { opacity: 1; }
.sec-ov--dark {
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.62), rgba(15, 22, 34, 0.74));
}

/* ===== ストーリー(AIで自作 vs 買い切り) ===== */
.story-text {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 20px;
  max-width: 780px;
}
.story-text strong {
  font-weight: 800;
  background: linear-gradient(transparent 68%, rgba(246, 172, 14, 0.32) 68%);
}
.story-callout {
  margin: 8px 0 0;
  max-width: 780px;
  background: #fdeef4;
  border-left: 4px solid var(--color-pink);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 22px 28px;
}
.story-callout-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-pink);
  margin-bottom: 6px;
}
.story-callout p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.75;
  color: var(--color-text);
}
/* スマホでは背景ではなく本文の下にイラストを表示(STORY/STEP共通) */
.story-illust-inline,
.step-illust-inline { display: none; }
@media (max-width: 700px) {
  .story-sec .sec-bg,
  .story-sec .sec-ov,
  .step-sec .sec-bg,
  .step-sec .sec-ov { display: none; }
  .story-illust-inline,
  .step-illust-inline {
    display: block;
    width: 100%;
    max-width: 440px;
    margin: 26px auto 0;
    border-radius: var(--radius-card);
  }
}

/* ===== 流れ(3ステップ) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  counter-reset: step;
}
.steps--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.steps li {
  counter-increment: step;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px 26px 30px;
  text-align: center;
  position: relative;
}
.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #FFFFFF;
  display: grid;
  place-content: center;
  margin: 0 auto 18px;
}
.steps h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.6;
}
.steps p {
  font-size: 13.5px;
  color: var(--color-text-sub);
  margin: 0;
  line-height: 1.9;
}
.steps-close {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}
.steps-close .em { color: var(--color-orange); }

/* ===== 選ばれる理由 ===== */
.reason-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 72px;
}
.reason-career {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.04em;
  line-height: 2;
  margin: 0 0 22px;
}
.reason-body p { font-size: 15.5px; margin: 0 0 18px; }
.reason-body strong {
  background: linear-gradient(transparent 68%, var(--color-blue-light) 68%);
  font-weight: 800;
}

.reason-profile {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
  text-align: center;
}
.reason-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--color-bg-blue);
}
.reason-quote {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.9;
}
.reason-company {
  font-size: 12px;
  color: var(--color-text-sub);
  margin: 0 0 24px;
}
.reason-badges { display: flex; flex-direction: column; gap: 10px; }
.reason-badges div {
  background: var(--color-bg-light);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
}
.reason-badges span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--color-text-sub);
  letter-spacing: 0.12em;
}
.reason-badges strong { font-size: 15px; font-weight: 800; color: var(--color-blue); }

/* ===== 制作実績 ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0 0 36px;
}
.works-grid a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(30, 50, 70, 0.08);
  border: 1px solid var(--color-border);
  aspect-ratio: 1220 / 1016;
  background: var(--color-bg-light);
  transition: transform 0.2s ease;
}
.works-grid a:hover { transform: translateY(-4px); }
.works-grid img { width: 100%; height: 100%; object-fit: cover; }
.works-more { text-align: center; }
.works-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  padding: 14px 36px;
  border: 1.5px solid var(--color-blue);
  border-radius: var(--radius-button);
  color: var(--color-blue);
  background: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.6;
}
.works-btn:hover { background: var(--color-bg-blue); }
.works-btn span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-sub);
}

/* ===== 制作実績:流れる横スライダー ===== */
.works-marquee {
  margin: 0 0 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.works-track {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  animation: works-scroll 48s linear infinite;
}
.works-track:hover { animation-play-state: paused; }
.works-track li { flex: 0 0 auto; margin: 0; }
.works-track a {
  display: block;
  width: 246px;
  aspect-ratio: 1220 / 1016;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(30, 50, 70, 0.08);
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
}
.works-track img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes works-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .works-track { animation: none; }
}

/* ===== お客様の声 ===== */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 18px;
}
.voice-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
}
.voice-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}
.voice-head img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.voice-stars {
  color: var(--color-orange);
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1.4;
}
.voice-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.7;
}
.voice-card h3 .marker {
  background: var(--color-pink);
  color: #FFFFFF;
  padding: 1px 6px;
  border-radius: 3px;
}
.voice-card p {
  font-size: 13.5px;
  color: var(--color-text-sub);
  margin: 0;
  line-height: 1.95;
}
.voice-source {
  font-size: 11.5px;
  color: var(--color-text-sub);
  text-align: right;
  margin: 0;
}

/* ===== CV(メイン誘導) ===== */
.cv { text-align: center; overflow: hidden; }
.cv .sec-title { margin-bottom: 16px; }
.cv-lead {
  font-size: 15.5px;
  color: var(--color-text-sub);
  margin: 0 0 36px;
}
.cv-box {
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 56px 32px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cv .deco-ring { top: 30px; left: -50px; border-color: var(--color-blue); opacity: 0.25; }
.cv .deco-dots { bottom: 60px; right: 4%; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  position: relative;
  line-height: 1.8;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q. ";
  font-family: var(--font-mono);
  color: var(--color-blue);
  font-weight: 700;
}
.faq summary::after {
  content: "＋";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-blue);
  font-size: 18px;
  font-weight: 500;
}
.faq details[open] summary::after { content: "－"; }
.faq .ans {
  padding: 4px 22px 20px;
  font-size: 14.5px;
  color: var(--color-text-sub);
  margin: 0;
  line-height: 2;
}
.faq .ans::before {
  content: "A. ";
  font-family: var(--font-mono);
  color: var(--color-pink);
  font-weight: 700;
}

/* ===== 最終CTA ===== */
.final { text-align: center; }
.final-logo-icon {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
  margin: 0 auto 12px;
  /* 透過の濃紺マークを白抜きにして暗い背景に乗せる */
  filter: brightness(0) invert(1);
}
.final-logo {
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 6px;
}
.final-logo span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-sub);
  letter-spacing: 0.16em;
}
.final .sec-title { margin-bottom: 14px; }
.final-lead {
  font-size: 15.5px;
  color: var(--color-text-sub);
  margin: 0 0 36px;
}
.final-sub {
  font-size: 13.5px;
  margin: 30px 0 0;
  color: var(--color-text-sub);
}
/* 写真背景の最終CTAは白文字に */
.final-photobg .sec-title,
.final-photobg .final-lead,
.final-photobg .final-logo { color: #FFFFFF; }
.final-photobg .final-logo span,
.final-photobg .cta-note,
.final-photobg .final-sub { color: rgba(255, 255, 255, 0.82); }

/* ===== フッター ===== */
.site-footer {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 26px 0 84px;
  text-align: center;
}
.footer-name { font-weight: 800; font-size: 13.5px; margin: 0 0 12px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ===== 追従CTAバー ===== */
.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 20px rgba(30, 50, 70, 0.08);
  padding: 5px 12px calc(5px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.stickybar.is-visible { transform: translateY(0); }
.stickybar a {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 460px;
  height: 40px;
  margin: 0 auto;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-button);
  text-decoration: none;
}

/* PC幅ではヘッダーCTAがあるため追従バーは出さない */
@media (min-width: 961px) {
  .stickybar { display: none; }
  .site-footer { padding-bottom: 26px; }
}

/* ===== スクロールフェードイン ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .stickybar { transition: none; }
  .cta-button, .works-grid a { transition: none; }
  .cta-button, .cta-button::after { animation: none; }
  .wave-char { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  :root { --section-space: 72px; }

  .fv { padding: 48px 0 72px; }
  /* モバイルは縦積みで文字が全幅に乗るため、透かしをより薄く */
  .fv-bg { opacity: 0.4; object-position: 70% center; }
  .fv-bg-overlay {
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.55) 30%,
        rgba(255, 255, 255, 0.4) 60%,
        rgba(255, 255, 255, 0.9) 100%);
  }
  .fv-grid { grid-template-columns: 1fr; gap: 48px; }
  .fv-actions { align-items: stretch; }
  .fv-actions .cta-wrap { width: 100%; max-width: 400px; margin-inline: auto; }
  .fv-actions .cta-button { min-width: 0; width: 100%; }

  .reason-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}

/* スマホは背景画像をやめ、文章の下にSP用ビジュアルを表示 */
@media (max-width: 700px) {
  .fv-bg--desktop,
  .fv-bg--mobile,
  .fv-bg-overlay { display: none; }
  .fv-visual { padding: 0; display: block; }
  .fv-visual .phone,
  .fv-visual .deco-ring--small { display: none; }
  /* 5人スライダーを表示。左右端はフェード、次の人が半分見える幅 */
  .fv-slider {
    display: block;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 88%, transparent);
  }
}

@media (max-width: 600px) {
  body { font-size: 15px; }

  .sec-title { font-size: clamp(23px, 6.4vw, 28px); }
  .hero-title { font-size: clamp(27px, 7.6vw, 34px); }

  .problem-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-track a { width: 280px; }
  .works-track { gap: 14px; }

  .cta-button { min-width: 0; width: 100%; max-width: 400px; }
  .cv-box { padding: 40px 22px; }

  .fv .deco-ring { width: 90px; border-width: 13px; top: -26px; right: -30px; }
  .site-header { height: 50px; }
  .header-logo { font-size: 15px; gap: 7px; }
  .header-logo-icon { width: 29px; height: 29px; }
  .header-cta { padding: 0 13px; font-size: 12px; height: 36px; }

  /* --- スマホFV:CTAをファーストビュー内に収めるための余白圧縮 --- */
  .fv { padding: 14px 0 40px; }
  .fv-badge { margin-bottom: 12px; padding: 4px 15px; font-size: 11.5px; }
  .fv-cat { margin-bottom: 8px; font-size: 13px; }
  .fv-cat::after { margin-top: 7px; }
  .hero-title { line-height: 1.34; margin-bottom: 12px; }
  .fv-sub { margin-bottom: 16px; line-height: 1.85; }
  .fv-tags { gap: 7px 8px; margin-bottom: 18px; }
  .fv-tags li { font-size: 11.5px; padding: 3.5px 12px; }
  .fv-grid { gap: 30px; }
  .fv-actions .cta-note { margin-top: 10px; }
}

/* 見積もりと資料請求の入口を区別する */
.cta-secondary { display: inline-block; margin-top: 16px; padding: 8px 4px; color: #006c96; font-weight: 700; font-size: 14px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
.cta-secondary:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.final .cta-secondary { color: #fff; }
@media (max-width: 600px) {
  .cta-button { font-size: 16px; padding-inline: 14px; }
  .cta-badge { font-size: 12px; padding-inline: 12px; }
}

.contact-choices li::before { content: "相談"; }
.contact-choices li:nth-child(2)::before { content: "資料"; }

/* 目的・料金・制作例を先に確認できるサービス案内 */
.skip-link{position:fixed;top:-100px;left:12px;z-index:200;background:#fff;color:#005f82;padding:12px}.skip-link:focus{top:8px}
.service-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 26px}.service-jumps a{border:1px solid #9ccedc;border-radius:99px;padding:9px 14px;background:#fff;color:#006080;font-weight:700;font-size:13px}
#services,#works,#salon{scroll-margin-top:85px}.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.service-card{border:1px solid #d4e3ea;border-radius:20px;background:#fff;padding:28px;box-shadow:0 8px 24px #173c4d08}.service-number{font-size:12px;letter-spacing:.06em;color:#006080;font-weight:700}.service-card h3{font-size:23px;margin:12px 0 16px;line-height:1.5}.service-card p{font-size:15px;line-height:1.85}.service-card .service-price{background:#f0f8fb;border-radius:10px;padding:16px;font-size:14px;margin:20px 0 12px}.service-price strong{font-size:19px}.service-price small{font-size:13px}.service-card .service-scope{font-size:13px;color:#505e69}.service-card a,.cost-note a{color:#006080;font-weight:700;text-decoration:underline;text-underline-offset:4px;display:inline-block;padding-block:8px}.cost-note{margin-top:26px;background:#fff9e9;border:1px solid #eddaa3;border-radius:16px;padding:24px}.cost-note h3{font-size:18px;margin:0 0 12px}.cost-note p{font-size:14px;line-height:1.9}
.sample-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sample-card{background:#fff;border:1px solid #d4e3ea;border-radius:14px;overflow:hidden;color:#182c38;box-shadow:0 6px 18px #173c4d0a}.sample-card img{width:100%;height:auto;aspect-ratio:6/5;object-fit:cover;object-position:top;display:block}.sample-card span{display:block;padding:14px;font-size:14px;font-weight:700;line-height:1.6}.sample-note{font-size:13px;color:#505e69;text-align:center;line-height:1.8}
a:focus-visible,summary:focus-visible{outline:3px solid #007fa6;outline-offset:4px}.hero-title{font-size:clamp(30px,4vw,52px)}.final .cta-secondary{color:#fff}.back-to-top{bottom:80px}
@media(max-width:700px){.service-grid{grid-template-columns:1fr}.service-card{padding:22px}.service-card h3{font-size:21px}.sample-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sample-card span{font-size:12px;padding:10px}.service-jumps{gap:6px;margin-bottom:20px}.service-jumps a{font-size:12px;padding:8px 10px}.hero-title{font-size:29px}.fv-sub{font-size:15px}.cost-note{padding:20px}}
@media(prefers-reduced-motion:reduce){.fv-slider-track{animation:none!important}.chat-init .bubble,.chat-init .chat-card{opacity:1!important;transform:none!important}}

.works-btn{min-width:0;max-width:100%;box-sizing:border-box}.cta-wrap{max-width:100%}.cta-button{animation:none}.fv-badge{white-space:normal;text-align:center}
@media(max-width:360px){.hero-title{font-size:24px}.fv-sub{font-size:14px}.service-jumps a{font-size:11px;padding:8px}.cta-button{font-size:14px}}

/* Price-led hero, retaining the existing phone/chat design */
.hero-title{font-size:38px;line-height:1.5}.price-main{color:#008bbf;white-space:nowrap;font-size:48px}.price-main b{font-size:110px;line-height:1.05;letter-spacing:-.06em}.hero-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:20px}.hero-prices>div{background:white;border:1px solid #c8e4ef;border-radius:10px;padding:12px 5px;font-size:12px;text-align:center;font-weight:bold}.hero-prices strong{display:block;font-size:24px;color:#007fae;white-space:nowrap}.hero-prices small{font-size:12px}.hero-price-note{font-size:11px;color:#526573;line-height:1.7;margin:10px 0 16px}.fv .cta-button{font-size:17px}.fv .fv-sub{font-size:16px}
@media(max-width:700px){.hero-title{font-size:27px}.price-main{font-size:37px}.price-main b{font-size:84px}.hero-prices strong{font-size:21px}.hero-prices>div{font-size:10px;padding:12px 3px}.fv .fv-sub{font-size:14px}.fv .cta-button{font-size:15px}}
@media(max-width:360px){.hero-prices strong{font-size:18px}.hero-prices>div{font-size:9px}.hero-prices small{font-size:10px}.price-main{font-size:33px}}

/* Emphasize the LP/HP service label without enlarging its price. */
.hero-prices>div:first-child{font-size:16px}
@media(max-width:700px){.hero-prices>div:first-child{font-size:13px}}
@media(max-width:360px){.hero-prices>div:first-child{font-size:12px}}

/* Advertising support is separate from one-off production prices. */
.production-label{font-size:13px;font-weight:700;margin:12px 0 4px;color:#526573}.hero-ad{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff5dc;border:2px solid #f7aa00;border-radius:12px;padding:15px 18px;margin:20px 0 12px;text-decoration:none;color:#293d4b;font-size:16px;font-weight:700}.hero-ad small{display:block;font-size:11px;font-weight:400;margin-top:4px}.hero-ad-price{white-space:nowrap;font-size:14px;text-align:right}.hero-ad-price strong{font-size:29px;color:#946000;margin:0 3px}.fv-badge{max-width:100%;line-height:1.7}
@media(max-width:700px){.hero-ad{padding:12px 10px;font-size:13px;gap:7px}.hero-ad-price strong{font-size:24px}.hero-ad small{font-size:10px}.hero-ad-price{font-size:11px}.fv-badge{font-size:11px}}
@media(max-width:360px){.hero-ad{flex-direction:column;align-items:flex-start}.hero-ad-price{text-align:left}}

/* Illustrations support service explanations; hero remains unchanged. */
.service-illustration{display:block;width:100%;height:auto;border-radius:14px;margin-bottom:20px}.feature-illustration{max-width:580px;margin:28px auto}.feature-illustration img,.booking-illustration img{display:block;width:100%;height:auto;border-radius:18px}.feature-illustration figcaption,.booking-illustration figcaption{font-size:11px;color:#526573;text-align:center;margin-top:7px}.booking-illustration{float:right;width:32%;margin:0 0 18px 25px}.cost-note:after{content:'';display:block;clear:both}.consultation-illustration{display:block;width:min(100%,420px);height:auto;border-radius:18px;margin:25px auto}
@media(max-width:700px){.booking-illustration{float:none;width:100%;max-width:340px;margin:0 auto 22px}.feature-illustration{max-width:420px}.consultation-illustration{max-width:340px}}

/* Compact mobile hero: clear hierarchy and an early consultation action. */
@media(max-width:700px){
.fv{padding-top:24px!important}.fv .fv-badge{display:block;border:0;background:transparent;border-radius:0;padding:0;margin:0 0 18px;text-align:left;font-size:12px;letter-spacing:0;color:#007fae;line-height:1.6}.fv .deco{display:none}.fv .production-label{margin:0 0 6px;font-size:14px}.fv .hero-title{font-size:28px;line-height:1.35;margin:0 0 14px}.fv .price-main{font-size:36px}.fv .price-main b{font-size:76px}.fv .fv-sub{font-size:13px;line-height:1.8;margin:0 0 18px;letter-spacing:0}.fv .hero-ad{flex-direction:row;align-items:center;padding:12px;margin:0 0 10px;border-width:1px;border-radius:10px;font-size:12px;line-height:1.6}.fv .hero-ad>span:first-child{max-width:48%}.fv .hero-ad-price{text-align:right;font-size:11px}.fv .hero-ad-price strong{font-size:25px}.fv .hero-ad small{font-size:10px}.fv .hero-prices{margin-top:0;gap:5px}.fv .hero-prices>div{padding:10px 3px;font-size:10px}.fv .hero-prices>div:first-child{font-size:13px}.fv .hero-prices strong{font-size:20px}.fv .hero-price-note{margin:8px 0 12px;font-size:10px}.fv .service-jumps{display:none}.fv .fv-actions{margin-top:0}.fv .cta-wrap{padding-top:0}.fv .cta-badge{display:none}.fv .cta-button{padding:17px 12px;font-size:16px;min-height:0}.fv .cta-secondary{margin-top:12px;font-size:12px}.fv .cta-note{font-size:11px;margin-top:12px}
}
@media(max-width:360px){.fv .hero-prices strong{font-size:18px}.fv .hero-prices>div{font-size:9px}.fv .hero-prices>div:first-child{font-size:12px}.fv .hero-ad-price strong{font-size:22px}}

/* Equal-weight service prices, without a separate advertising banner. */
.hero-prices{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-prices>.hero-ad-compact{display:block;background:#fff;border:1px solid #c8e4ef;border-radius:10px;padding:10px 5px;text-align:center;text-decoration:none;color:inherit;font-size:14px;font-weight:700}.hero-prices>.hero-ad-compact strong{color:#007fae}.hero-prices .ad-note{display:block;font-size:10px;color:#526573;font-weight:400}.hero-prices>div{display:flex;flex-direction:column;justify-content:center;font-size:14px}.hero-prices>div:nth-child(2){font-size:16px}
@media(max-width:700px){.fv .hero-prices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.fv .hero-prices>div,.fv .hero-prices>.hero-ad-compact{padding:8px 4px;font-size:11px;line-height:1.4}.fv .hero-prices>div:nth-child(2){font-size:13px}.fv .hero-prices strong{font-size:22px;line-height:1.4}.fv .hero-prices .ad-note{font-size:9px}.fv .hero-prices small{font-size:10px}}

/* Restore the existing photographic identity in the mobile first view. */
@media(max-width:700px){
.fv .fv-bg--desktop{display:block;top:0;left:0;width:100%;height:430px;object-fit:cover;object-position:76% top;opacity:.8}
.fv .fv-bg--mobile{display:none}
.fv .fv-bg-overlay{display:block;top:0;bottom:auto;height:450px;background:linear-gradient(180deg,rgba(255,255,255,0) 42%,#fff 96%),linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 26%,rgba(255,255,255,.72) 55%,rgba(255,255,255,.12) 100%)}
.fv .fv-badge{max-width:80%;font-size:11px}.fv .production-label,.fv .hero-title,.fv .fv-sub{position:relative}.fv .hero-prices>div,.fv .hero-prices>.hero-ad-compact{background:rgba(255,255,255,.96)}
}

/* Echo the existing chat header in restrained hero accents. */
.fv .fv-badge{border:0;background:linear-gradient(135deg,#E82E8B 0%,#FF755C 45%,#F6AC0E 100%);color:#fff;padding:9px 17px;border-radius:12px;letter-spacing:.02em;line-height:1.6;font-weight:700;text-shadow:0 1px 2px #71312b30}
.fv .price-main{color:#d92e80;background:linear-gradient(110deg,#d92e80 0%,#ed525b 52%,#bd7500 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
@media(max-width:700px){.fv .fv-badge{display:table;max-width:100%;font-size:11px;padding:7px 10px;margin-bottom:18px;border-radius:9px;color:#fff}}
.fv .price-main{display:inline-block;line-height:1.2;padding-top:.12em}.fv .price-main b{line-height:1;display:inline-block}

/* Mobile-only balance: smaller blue headline and a more visible portrait. */
@media(max-width:700px){
.fv .hero-title{font-size:22px;line-height:1.55;letter-spacing:-.025em;margin-bottom:20px}
.fv .price-main{font-size:29px;color:#008bbf;background:none;-webkit-text-fill-color:currentColor;padding-top:4px;line-height:1.25}
.fv .price-main b{font-size:52px;letter-spacing:-.05em}
.fv .production-label{font-size:12px;margin-bottom:8px}
.fv .fv-bg--desktop{height:340px;object-position:100% top;opacity:1}
.fv .fv-bg-overlay{height:360px;background:linear-gradient(180deg,transparent 60%,#fff 100%),linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 28%,rgba(255,255,255,.73) 50%,rgba(255,255,255,.08) 76%,transparent 100%)}
.fv .fv-sub{font-size:12px;line-height:1.8;background:rgba(255,255,255,.76);border-radius:6px;padding:5px 0;margin-bottom:16px}
}

/* Decorative accents remain outside the content flow. */
.section-ornaments{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.section-ornaments~.container{position:relative;z-index:1}.ornament-ring{position:absolute;width:112px;height:112px;border:15px solid #f8b924;border-radius:50%;right:-37px;top:20px;opacity:.65}.ornament-dot{position:absolute;width:32px;height:32px;border-radius:50%;background:#ee8eb8;left:20px;bottom:25px;opacity:.45}.ornament-dots{position:absolute;width:52px;height:36px;right:25px;bottom:20px;background:radial-gradient(circle,#ac91da 2px,transparent 3px) 0 0/12px 12px;opacity:.45}
#works .ornament-ring{border-color:#9c80d5;right:auto;left:-45px;top:15px}#works .ornament-dot{background:#f8b924;left:auto;right:30px}#salon .ornament-ring{border-color:#ee85b4}#salon .ornament-dot{background:#75cce1}#final-cta .ornament-ring{border-color:#f8b924;top:10px}#final-cta .ornament-dot{background:#c4abe9}
@media(max-width:700px){.ornament-ring{width:62px;height:62px;border-width:8px;right:-29px;top:8px;opacity:.5}#works .ornament-ring{left:-31px;top:8px}.ornament-dot{width:17px;height:17px;left:5px;bottom:14px;opacity:.35}.ornament-dots{width:30px;height:24px;right:5px;bottom:12px;background-size:10px 10px;opacity:.3}.fv>.deco-ring{display:block;top:-22px;right:-28px;width:56px;height:56px;border-width:8px;opacity:.6}}

/* Desktop: move the left portrait toward the centre and reveal the face. */
@media(min-width:961px){
.fv .fv-bg--desktop{object-position:center top;opacity:.65}
.fv .fv-bg-overlay{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.92) 25%,rgba(255,255,255,.72) 39%,rgba(255,255,255,.12) 53%,transparent 68%),linear-gradient(180deg,transparent 70%,rgba(255,255,255,.85) 100%)}
}

/* Dedicated mobile portrait, preserving the desktop background. */
@media(max-width:700px){.fv .fv-bg--desktop{display:none}.fv .fv-bg--mobile{display:block;inset:0 auto auto 0;width:100%;height:auto;object-fit:contain;opacity:1}.fv .fv-bg-overlay{height:520px;background:linear-gradient(180deg,transparent 48%,#fff 98%),linear-gradient(90deg,rgba(255,255,255,.45),transparent 65%)}}

/* Mobile flow and non-overlapping controls. */
.hero-price-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
.fv .fv-visual{display:flex;flex-direction:column;align-items:center;gap:22px}
.fv .fv-visual .phone{order:1;margin:0 auto!important}
.fv .fv-visual .fv-slider{order:2}
.fv .hero-price-note{margin:5px 0 10px;line-height:1.4}
.cv{padding-top:135px!important}.cv .cv-char{height:105px;top:18px;bottom:auto}.cv .cv-char--girl{left:calc(50% - 100px);right:auto}.cv .cv-char--boy{right:calc(50% - 100px);left:auto}
#backToTop{position:relative;right:auto;bottom:auto;display:flex;margin:12px auto 95px;width:auto;max-width:180px;height:44px;border-radius:22px;font-size:13px;opacity:1;visibility:visible;transform:none;z-index:1}
#backToTop::after{content:' ページ上部へ';white-space:pre}
}

.cv-characters{display:contents}
@media(max-width:700px){.cv{padding-top:32px!important}.cv .cv-characters{display:flex;justify-content:space-between;align-items:flex-end;width:calc(100% - 100px);max-width:300px;margin:0 auto -20px;position:relative;z-index:2;pointer-events:none}.cv .cv-char{position:static!important;height:110px;width:auto;max-width:none;filter:none}.cv .cv-box{padding:40px 20px 30px}.cv .sec-title{font-size:clamp(17px,5.3vw,23px);line-height:1.8;letter-spacing:0}.cv-heading-line{white-space:nowrap}.cv .cv-lead{font-size:14px;line-height:1.9}.cv .cta-wrap{margin-top:24px}}

/* Move only the mobile characters below the contact card. */
@media(max-width:700px){.cv{display:flex;flex-direction:column}.cv>.container{order:1}.cv>.cv-characters{order:2;margin:12px auto 0}}

@media(max-width:700px){.cv .cv-box .cv-characters{display:flex;width:100%;max-width:260px;justify-content:space-between;margin:20px auto 0;position:relative}.cv .cv-box .cv-char{height:140px;position:static!important}.cv{padding-top:32px!important}}

.cv-characters-mobile{display:none}@media(max-width:700px){.cv>.cv-characters-desktop{display:none}}

/* Restore the reference layout; text paints above decorative characters. */
@media(max-width:700px){
.cv{padding-top:90px!important;display:block}
.cv .cv-box{padding:56px 20px 30px}
.cv .cv-box .cv-characters-mobile{position:absolute;top:-65px;left:0;width:100%;max-width:none;height:190px;margin:0;display:block;pointer-events:none;z-index:1}
.cv .cv-box .cv-characters-mobile .cv-char{position:absolute!important;top:0;bottom:auto;height:190px;width:auto}
.cv .cv-box .cv-characters-mobile .cv-char--girl{left:7px;right:auto}
.cv .cv-box .cv-characters-mobile .cv-char--boy{right:7px;left:auto}
.cv .cv-box>.sec-label,.cv .cv-box>.sec-title,.cv .cv-box>.cv-lead,.cv .cv-box>.cta-wrap,.cv .cv-box>.cta-note{position:relative;z-index:3}
}

@media(max-width:700px){#final-cta .final-line{display:block}#final-cta .sec-title{font-size:clamp(22px,6.2vw,28px);line-height:1.6;letter-spacing:0}#final-cta .sec-title .final-line{white-space:nowrap}#final-cta .final-lead{font-size:14px;line-height:1.9;letter-spacing:0}#final-cta .cta-button{font-size:clamp(13px,3.8vw,16px);letter-spacing:0;white-space:nowrap;padding:18px 12px}#final-cta .cta-secondary{font-size:12px;letter-spacing:0}#final-cta .cta-note{line-height:1.8}}

.hero-material{margin:18px 0 20px}.hero-material .cta-button{width:100%;max-width:400px}.hero-material p{font-size:12px;margin:8px 0;color:#526573}
@media(max-width:700px){.fv .fv-sub{background:none;padding:0}.fv .fv-sub strong,.fv .hero-copy-line{display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone;background-color:rgba(255,255,255,.78);padding:2px 0}.hero-material{margin:12px 0 18px}.hero-material p{font-size:11px}.hero-material .cta-button{width:100%}}

/* Blue is reserved here for the material download buttons. */
.header-cta,.hero-material .cta-button{background:linear-gradient(120deg,#0085bc 0%,#1265cf 100%);color:#fff;box-shadow:0 8px 22px rgba(18,101,207,.20)}
.header-cta:hover,.hero-material .cta-button:hover{background:linear-gradient(120deg,#0073a4 0%,#0d54b5 100%);box-shadow:0 10px 25px rgba(18,101,207,.25)}

.header-cta,.hero-material .cta-button{background:#00A2DE;box-shadow:0 8px 22px rgba(0,162,222,.20)}
.header-cta:hover,.hero-material .cta-button:hover{background:#008cbe}

/* Portrait service cards share the same composition on desktop and mobile. */
#services .service-grid{gap:24px;align-items:stretch}
#services .service-card{display:flex;flex-direction:column;position:relative;isolation:isolate;overflow:hidden;padding:30px;border:1px solid #e0eef6;border-radius:26px;background:linear-gradient(155deg,#fff 0%,#f4faff 55%,#eaf7ff 100%);box-shadow:0 10px 28px #184c6810}
#services .service-number{color:#0089bb;font-size:12px;letter-spacing:.09em}
#services .service-card h3{font-size:clamp(23px,2.3vw,30px);line-height:1.6;color:#12304a;margin:16px 0 12px;letter-spacing:.02em}
#services .service-card>p:not(.service-price):not(.service-scope){min-height:5.55em;margin:0;font-size:15px;line-height:1.85;color:#29495e}
#services .service-illustration{flex:none;display:block;width:calc(100% + 60px);max-width:none;aspect-ratio:3/2;height:auto;object-fit:cover;margin:-4px -30px -24px;border-radius:0;mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 74%,transparent)}
#services .service-card .service-price{position:relative;z-index:1;min-height:106px;margin:0;padding:19px 22px 15px;background:#ffffffea;border:1px solid #fff;border-radius:20px 20px 0 0;font-size:14px;color:#12304a;line-height:1.8}
#services .service-price strong{font-size:26px;color:#009dd5;white-space:nowrap}
#services .service-price small{font-size:12px;color:#526573}
#services .service-card .service-scope{position:relative;z-index:1;flex:1;margin:0 0 22px;padding:0 22px 20px;background:#ffffffea;border-radius:0 0 20px 20px;font-size:12px;line-height:1.9;color:#526573}
#services .service-card>a{display:flex;justify-content:center;align-items:center;min-height:56px;padding:14px 12px;border-radius:32px;background:#00a2de;color:#fff;font-size:15px;text-decoration:none;text-align:center;box-shadow:0 8px 18px #00a2de20;transition:background .2s}
#services .service-card>a:hover{background:#0089be}
#services .service-card>a:focus-visible{outline:3px solid #12304a;outline-offset:4px}
@media(max-width:700px){#services .service-card{padding:24px;border-radius:24px}#services .service-card h3{font-size:25px}#services .service-card>p:not(.service-price):not(.service-scope){min-height:0;font-size:14px}#services .service-illustration{width:calc(100% + 48px);margin:0 -24px -24px}#services .service-card .service-price{min-height:0;padding:18px 18px 12px}#services .service-price strong{font-size:24px}#services .service-card .service-scope{padding:0 18px 18px}#services .service-card>a{font-size:14px}}
@media(max-width:360px){#services .service-card{padding:20px}#services .service-card h3{font-size:22px}#services .service-illustration{width:calc(100% + 40px);margin-inline:-20px}#services .service-price strong{font-size:22px}#services .service-card>a{font-size:13px}}

/* Eight-person desktop montage: keep outer portraits visible. */
@media(min-width:961px){.fv .fv-bg--desktop{width:100%;height:auto;min-height:0;object-fit:contain;object-position:center top;opacity:1}.fv .fv-bg-overlay{background:linear-gradient(90deg,rgba(255,255,255,.38) 0%,rgba(255,255,255,.38) 18%,rgba(255,255,255,.16) 25%,transparent 33%),linear-gradient(180deg,transparent 70%,#fff 100%)}.fv .fv-grid{width:70%;max-width:1100px;margin-left:25%;margin-right:5%;grid-template-columns:1.1fr 1fr;gap:32px}.fv .fv-copy{background:radial-gradient(ellipse,rgba(255,255,255,.9),rgba(255,255,255,0) 75%)}}
/* Desktop hero: align copy and chat at the top and keep the content compact. */
@media(min-width:961px){
.fv{padding:48px 0 52px}
.fv>.container{width:100%;max-width:none}
.fv .fv-grid{width:74%;max-width:1180px;margin-left:20%;margin-right:6%;grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);align-items:start;gap:40px}
.fv .fv-visual{padding:12px 0 0;align-self:start}
.fv .phone{width:280px;padding:10px;border-radius:34px}
.fv .fv-badge{margin-bottom:22px}
.fv .hero-title{font-size:38px;line-height:1.35;margin-bottom:20px}
.fv .price-main{font-size:48px}.fv .price-main b{font-size:96px}
.fv .production-label{margin-bottom:8px}
.fv .fv-sub{margin-bottom:20px;font-size:16px}
.fv .hero-prices{gap:8px;margin-top:0}.fv .hero-prices>div,.fv .hero-prices>.hero-ad-compact{padding:10px 6px}.fv .hero-prices strong{font-size:25px}
.fv .service-jumps{margin-bottom:12px}.fv .fv-actions{margin-top:0}.fv .cta-wrap{padding-top:0}.fv .cta-button{padding:15px 24px;font-size:17px}.fv .cta-secondary{margin-top:12px}
.fv .fv-bg--desktop{height:100%;object-fit:cover;object-position:center top}
}
@media(min-width:961px){.fv .fv-bg--desktop{height:auto;object-fit:contain}.fv .fv-bg-overlay{background:linear-gradient(90deg,rgba(255,255,255,.38) 0%,rgba(255,255,255,.38) 18%,rgba(255,255,255,.16) 25%,transparent 33%),linear-gradient(180deg,transparent 55%,#fff 100%)}.fv .hero-prices{grid-template-columns:repeat(2,minmax(0,1fr))}.fv .hero-prices>div,.fv .hero-prices>.hero-ad-compact{min-height:0;padding:8px 6px;line-height:1.5}.fv .hero-prices strong{line-height:1.4}.fv .fv-visual{padding-top:150px}.fv .hero-title{margin-bottom:14px}.fv .fv-sub{margin-bottom:14px}}
/* Six compact services: restrained diagrams, readable copy and consistent actions. */
#services .service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#services .service-card{padding:24px;background:#fff;border:1px solid #dfeaf0;border-radius:18px;box-shadow:0 5px 20px #173c4d05}
#services .service-card h3{font-size:22px;letter-spacing:0;line-height:1.5;margin:14px 0 12px}
#services .service-card>p:not(.service-price):not(.service-scope){font-size:13px;line-height:1.85;min-height:7.4em}
#services .service-number{font-size:10px;letter-spacing:.03em}
#services .service-card .service-price{border:0;border-radius:0;background:transparent;padding:18px 0 12px;margin:0;min-height:116px;font-size:12px;line-height:1.8}
#services .service-price strong{font-size:23px;color:#007da8;white-space:normal}
#services .service-card:nth-child(n+5) .service-price strong{display:block}
#services .service-card:nth-child(5) .service-price strong{font-size:18px;margin-top:5px}
#services .price-unit{font-size:12px;font-weight:400}
#services .service-card .service-scope{padding:0;margin:0 0 20px;background:transparent;border-radius:0;font-size:12px;line-height:1.85;color:#596b79}
#services .service-scope-details summary{cursor:pointer;color:#426779;text-decoration:underline;text-underline-offset:4px;padding:0 0 8px}
#services .service-scope-details p{font-size:12px;line-height:1.85;margin:8px 0}
#services .service-card>a{background:transparent;color:#007da8;border-top:1px solid #dceaf0;border-radius:0;box-shadow:none;font-size:13px;min-height:45px;padding:13px 0 0;justify-content:space-between;text-align:left}
#services .service-card>a:hover{background:transparent;color:#004f70;text-decoration:underline;text-underline-offset:4px}
.service-mini{height:124px;flex:none;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#f3f8fb;border-radius:12px;overflow:hidden;color:#3e748d}
.service-mini small{font-size:10px;letter-spacing:.04em}.mini-browser{width:138px;height:75px;border:1px solid #aacddc;background:white;border-radius:6px;padding:15px 10px 6px;position:relative}.mini-browser i{position:absolute;left:0;top:0;width:100%;height:9px;border-bottom:1px solid #d5e6ee;background:#e3f0f5}.mini-browser b{display:block;width:60%;height:17px;background:#b4dae9;border-radius:3px;margin:0 0 5px}.mini-browser span{display:block;width:90%;height:4px;background:#e4eef2;margin-top:4px;border-radius:2px}.mini-mobile{width:32px;height:56px;border:2px solid #82b6cc;background:white;border-radius:6px;position:absolute;top:39px;left:calc(50% + 45px);padding:10px 4px}.mini-mobile b{display:block;height:20px;background:#c1e1ed;border-radius:2px}.mini-mobile span{display:block;background:#e0edf4;height:3px;margin-top:5px}.mini-browser strong{display:block;text-align:center;color:#4e97b8;background:#e1f0f7;font-size:21px;line-height:34px;border-radius:3px}.mini-pill{position:absolute;right:14px;bottom:31px;background:#fff;border:1px solid #d5e6ec;border-radius:15px;padding:5px 8px;font-size:10px}.mini-message{background:#fff;border:1px solid #dae8ef;border-radius:10px 10px 10px 2px;font-size:11px;padding:7px 12px;align-self:flex-start;margin-left:16px}.mini-message--reply{align-self:flex-end;margin:0 14px 0 0;background:#e2f1f7;border:0;border-radius:10px 10px 2px 10px}.mini-flow{display:flex;align-items:center;justify-content:center;gap:7px;max-width:100%;font-size:11px}.mini-flow span{background:#fff;border:1px solid #cfe3ec;border-radius:7px;padding:8px 10px}.mini-flow b{font-weight:400;color:#7baabc}.service-mini--funnel{background:#f0f7f8}.lesson-duration{display:flex;align-items:baseline;gap:8px}.lesson-duration b{font-size:33px;line-height:1;color:#3882a0}.lesson-duration span{font-size:11px}.lesson-topics{display:flex;gap:6px;font-size:10px}.lesson-topics span{background:#fff;border-radius:5px;padding:5px 7px}.service-mini--lesson{background:#f7f6f2}
@media(max-width:1050px) and (min-width:701px){#services .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#services .service-grid{grid-template-columns:1fr;gap:18px}#services .service-card{padding:24px}#services .service-card h3{font-size:23px}#services .service-card>p:not(.service-price):not(.service-scope){min-height:0;margin-bottom:18px;font-size:14px}#services .service-card .service-price{min-height:0;padding:16px 0 12px}#services .service-card .service-scope{padding:0}.service-mini{height:112px}}

/* Restored buying guidance, with optional learning and explicit running costs. */
.restored-prose{max-width:850px;font-size:15px;line-height:2}.restored-prose p{margin:0 0 20px}.restored-prose h3{font-size:24px;margin:14px 0}.restored-prose ul{padding-left:22px}.restored-prose li{margin:12px 0}.restored-point{border-left:3px solid #00a2de;padding:20px 26px;background:#f2f8fb;margin-top:28px;border-radius:0 12px 12px 0}.restored-point p{margin:0;line-height:1.9}.restored-point a{display:inline-block;margin-top:12px;color:#007da8;font-weight:700}.restored-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.restored-three article{background:#fff;padding:26px;border-radius:16px;border:1px solid #e2ebf0}.restored-three span{font-size:12px;color:#007da8}.restored-three h3{font-size:20px;line-height:1.6;margin:14px 0}.restored-three p{font-size:14px;line-height:1.9;margin:0}.restored-table{overflow-x:auto;margin:25px 0 14px}.restored-table table{border-collapse:collapse;width:100%;font-size:14px}.restored-table caption{text-align:left;font-weight:700;padding:0 0 14px}.restored-table th,.restored-table td{padding:18px;border:1px solid #dce8ef;text-align:left;line-height:1.7}.restored-table thead{background:#edf6fa}.restored-table td:last-child{background:#f5fbfe;font-weight:700}.restored-note{font-size:12px;line-height:1.9;color:#5d6d79;margin-bottom:30px}.restored-publish{padding:28px;background:#f6f9fb;border-radius:16px;margin-top:32px}.restored-publish h3{font-size:23px;margin:12px 0}.restored-publish p{line-height:1.9}.restored-publish .restored-note{margin-bottom:0}@media(max-width:700px){.restored-three{grid-template-columns:1fr;gap:14px}.restored-three article{padding:22px}.restored-prose{font-size:14px}.restored-table th,.restored-table td{padding:10px 8px;font-size:12px;overflow-wrap:anywhere}.restored-table th:first-child{width:24%}.restored-point,.restored-publish{padding:20px}.restored-publish h3{font-size:20px}}
/* Visual rhythm restored without changing the service explanations. */
#services .service-card .service-scope{margin-bottom:0}#services .service-card .service-price{min-height:96px}#services .service-card{padding-bottom:22px}
#story{background:linear-gradient(90deg,#fff 0%,#ffffffed 32%,#ffffffb0 63%,#ffffff35),url('../images/story-bg.webp') right center/cover no-repeat}#story .restored-prose{max-width:760px}#story .sec-title .text-blue{color:#e92d7f}#story .restored-point{max-width:800px;background:#fceef4;border-color:#ef3185}#story .restored-point .sec-label{color:#ef3185}
#inhouse .sec-lead{text-align:center}#inhouse .restored-three{max-width:980px;margin:auto}#inhouse .restored-three article{box-shadow:0 8px 24px #193d5210}#inhouse .restored-three article>span{display:block;font-size:13px;margin-bottom:18px}#inhouse .restored-three article:nth-child(1)>span:before{content:'🎓';display:block;font-size:25px;margin-bottom:12px}#inhouse .restored-three article:nth-child(2)>span:before{content:'▤';display:block;font-size:25px;margin-bottom:12px;color:#db9160}#inhouse .restored-three article:nth-child(3)>span:before{content:'⚖';display:block;font-size:25px;margin-bottom:12px;color:#e5a333}.inhouse-visual{max-width:640px;margin:28px auto}.inhouse-visual img{display:block;width:100%;height:auto;border-radius:20px;box-shadow:0 12px 32px #183c5214}#inhouse .restored-point{max-width:980px;margin:28px auto 0;text-align:center;background:#fff9ec;border:1px solid #f5b323;border-radius:16px}
#buyout-price>.container>.sec-label{color:#e99d00}#buyout-price>.container>.sec-title .text-blue{color:#f1a400}.restored-table th,.restored-table td{border-width:0 0 1px;padding:22px 16px}.restored-table thead{background:#fff}.restored-table thead th:last-child{border-top:2px solid #00a2de;background:#eaf5fb;color:#009bcf}.restored-table td:last-child{background:#eaf5fb}.restored-table tbody tr:nth-child(2) td:last-child,.restored-table tbody tr:nth-child(3) td:last-child{color:#d88b00;font-size:20px}.price-philosophy{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px;margin:36px auto;max-width:1000px}.price-philosophy>img{width:100%;height:auto;border-radius:18px}.price-philosophy .restored-prose{border:1px solid #dce7ee;border-radius:20px;padding:26px;box-shadow:0 8px 30px #23405a0b}.price-philosophy .restored-prose li{background:#f0f7fb;border-radius:10px;padding:12px;list-style:none;font-size:13px}.price-philosophy .restored-prose ul{padding:0}.restored-publish{border:1px solid #c1e6f5;background:linear-gradient(120deg,#edf8ff,#fafcfc 70%,#f7f4e9)}
.stickybar{display:grid;grid-template-columns:90px minmax(0,370px);justify-content:center;gap:8px}.stickybar a{width:100%;margin:0;max-width:none}.toc-toggle{border:1px solid #bdddeb;background:#fff;color:#007d9f;border-radius:24px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}#page-toc{border:1px solid #dce8ef;border-radius:20px;padding:24px;width:min(420px,calc(100% - 32px));max-height:75dvh;overflow:auto;color:#15364a;box-shadow:0 20px 80px #102e4b30}#page-toc::backdrop{background:#152f4b66}.toc-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.toc-heading h2{font-size:21px;margin:0}.toc-close{width:44px;height:44px;border:0;background:#edf6fa;border-radius:50%;font-size:26px;cursor:pointer}#page-toc nav{display:grid}#page-toc nav a{padding:13px 0;border-bottom:1px solid #e5eef3;color:#185570;text-decoration:none;font-size:14px}.toc-toggle:focus-visible,.toc-close:focus-visible,#page-toc a:focus-visible{outline:3px solid #007fae;outline-offset:2px}#story,#inhouse,#buyout-price,#contact-choices,#faq-section{scroll-margin-top:85px}
@media(min-width:961px){.stickybar{display:none}}
@media(max-width:700px){#story{background:linear-gradient(90deg,#fffffff2,#ffffffcf),url('../images/story-bg.webp') right bottom/auto 100% no-repeat}.price-philosophy{grid-template-columns:1fr;gap:18px}.price-philosophy .restored-prose{padding:22px}.inhouse-visual{margin:22px auto}#services .service-card .service-price{min-height:0}.restored-table th,.restored-table td{padding:12px 8px}.restored-table tbody tr:nth-child(2) td:last-child,.restored-table tbody tr:nth-child(3) td:last-child{font-size:14px}.stickybar a{font-size:12px}.stickybar{grid-template-columns:72px minmax(0,370px)}}
/* Service rhythm: quiet color families on desktop, two dark pauses on mobile. */
#services .service-card{--card-accent:#087ba6;--card-wash:#edf8fd;background:linear-gradient(150deg,#fff 12%,var(--card-wash) 100%);border-color:color-mix(in srgb,var(--card-accent) 17%,white);position:relative}
#services .service-card:nth-child(2){--card-accent:#6653a2;--card-wash:#f0edf9}
#services .service-card:nth-child(3){--card-accent:#24776e;--card-wash:#edf8f3}
#services .service-card:nth-child(4){--card-accent:#ac6533;--card-wash:#fff4e7}
#services .service-card:nth-child(5){--card-accent:#48619f;--card-wash:#edf1fd}
#services .service-card:nth-child(6){--card-accent:#a44870;--card-wash:#fbeef3}
#services .service-card:before{content:'';position:absolute;top:0;left:24px;width:36px;height:4px;border-radius:0 0 5px 5px;background:var(--card-accent);opacity:.75}
#services .service-number{color:var(--card-accent);margin-top:5px}
#services .service-mini{background:rgba(255,255,255,.72);border:1px solid color-mix(in srgb,var(--card-accent) 12%,white);box-shadow:0 8px 20px #23405a04;border-radius:16px}
#services .service-price strong{color:var(--card-accent)}
#services .service-card .service-price{min-height:94px;padding-top:18px}
#services .service-scope-details summary{color:var(--card-accent)}
@media(max-width:700px){
#services .service-grid{gap:20px}
#services .service-card{padding:26px;border-radius:24px}
#services .service-card h3{font-size:25px;line-height:1.5}
#services .service-card:nth-child(2){background:linear-gradient(140deg,#403861,#605381);border-color:#50456e}
#services .service-card:nth-child(5){background:linear-gradient(140deg,#243d5a,#365e78);border-color:#365771}
#services .service-card:nth-child(2) h3,#services .service-card:nth-child(5) h3,#services .service-card:nth-child(2) .service-price,#services .service-card:nth-child(5) .service-price,#services .service-card:nth-child(2) .service-price strong,#services .service-card:nth-child(5) .service-price strong{color:#fff}
#services .service-card:nth-child(2)>p:not(.service-price),#services .service-card:nth-child(5)>p:not(.service-price){color:#e7eaf2}
#services .service-card:nth-child(2) .service-number,#services .service-card:nth-child(5) .service-number{color:#c9eafa}
#services .service-card:nth-child(2):before,#services .service-card:nth-child(5):before{background:#b4deee;opacity:1}
#services .service-card:nth-child(2) .service-mini,#services .service-card:nth-child(5) .service-mini{background:#f2f7fc;border-color:transparent}
#services .service-card .service-price{min-height:0}
}
#services .service-card:nth-child(4) .service-price strong{display:block;white-space:nowrap;margin-top:4px}

.fv .buyout-payment-note{display:block;width:fit-content;margin-top:7px;padding:3px 9px;border-radius:5px;background:#fcebf2;color:#96365f;font-size:12px;font-weight:700;line-height:1.6;letter-spacing:.02em}
@media(max-width:700px){.fv .buyout-payment-note{font-size:11px;margin-top:5px;padding:2px 7px}}

/* Compact desktop floating navigation, shown after the hero. */
@media(min-width:961px){.stickybar{display:grid;left:50%;right:auto;bottom:16px;width:380px;max-width:calc(100% - 40px);grid-template-columns:72px minmax(0,1fr);padding:7px;gap:7px;border:1px solid #dae8ef;border-radius:32px;box-shadow:0 6px 24px #173c4d20;transform:translate(-50%,calc(100% + 28px))}.stickybar.is-visible{transform:translate(-50%,0)}.stickybar a{height:36px;font-size:12px}.stickybar .toc-toggle{font-size:12px}.site-footer{padding-bottom:86px}}
/* Editorial table of contents: calm color, generous targets, clear hierarchy. */
#page-toc{width:min(620px,calc(100% - 36px));max-height:82dvh;padding:34px;border:1px solid #ffffffd9;border-radius:28px;background:radial-gradient(ellipse at top right,#fceaf3 0%,transparent 48%),linear-gradient(145deg,#fff 25%,#eff8fc);box-shadow:0 28px 90px #102e4b40}
#page-toc::backdrop{background:#16354b80;backdrop-filter:blur(6px)}
#page-toc .toc-heading{align-items:flex-start;gap:18px;margin-bottom:24px}
.toc-eyebrow{font-family:var(--font-mono);font-size:10px;letter-spacing:.16em;color:#0083ad;font-weight:700}
#page-toc .toc-heading h2{font-size:27px;letter-spacing:.025em;margin:12px 0 8px;line-height:1.5;color:#18374b}
.toc-intro{font-size:12px;color:#627786;margin:0;letter-spacing:.06em}
#page-toc .toc-close{flex:none;background:#ffffffb3;border:1px solid #dce8ee;color:#476171;font-weight:400;transition:background .2s,transform .2s}
#page-toc .toc-close:hover{background:#fff;transform:rotate(90deg)}
#page-toc nav{gap:5px;counter-reset:none}
#page-toc nav a{display:grid;grid-template-columns:32px minmax(0,1fr) 24px;align-items:center;gap:12px;min-height:51px;padding:12px 14px;border:1px solid transparent;border-bottom-color:#dfe9ee;border-radius:9px;color:#244459;font-size:14px;font-weight:700;transition:background .18s,border-color .18s,transform .18s}
#page-toc .toc-number{font-family:var(--font-mono);font-size:11px;letter-spacing:.05em;color:#6b93a6;font-weight:500}
#page-toc .toc-arrow{font-size:18px;color:#5d92a7;justify-self:end;font-weight:400}
#page-toc nav a:hover,#page-toc nav a:focus-visible{background:#fff;border-color:#c9e3ef;transform:translateX(3px);color:#007ea7}
#page-toc nav a:nth-child(2),#page-toc nav a:nth-child(8){background:#ffffffa6}
@media(max-width:700px){#page-toc{padding:25px 20px;border-radius:24px;max-height:80dvh}#page-toc .toc-heading h2{font-size:22px}#page-toc .toc-heading{margin-bottom:18px}#page-toc nav a{font-size:13px;padding:11px 9px;gap:7px;min-height:49px;grid-template-columns:26px minmax(0,1fr) 20px}.toc-eyebrow{font-size:9px}#page-toc .toc-close{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){#page-toc nav a,#page-toc .toc-close{transition:none}#page-toc nav a:hover,#page-toc nav a:focus-visible,#page-toc .toc-close:hover{transform:none}}

/* Portfolio reference layout and single brochure conversion path (2026-09-28). */
.brochure-points{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.brochure-points{grid-template-columns:1fr}}

.works-track:focus-within{animation-play-state:paused}

/* Three-line hero funnel card: text scales with the card width. */
.fv .hero-prices > .hero-funnel { container-type: inline-size; gap: 4px; padding: 10px 6px; }
.fv .hero-prices > .hero-funnel > small { font-size: clamp(9px, 5cqw, 12px); font-weight: 500; white-space: nowrap; }
.fv .hero-prices > .hero-funnel > span { font-size: clamp(9px, 6cqw, 16px); white-space: nowrap; }
.fv .hero-prices > .hero-funnel > strong { font-size: clamp(9px, 6cqw, 18px); line-height: 1.5; white-space: nowrap; }

/* Small gap between hero service cards and download CTA. */
.fv .fv-actions { margin-top: 12px; }
