/* ==========================================================================
   site-v2.css — Figma「Corporate — Top (Desktop)」準拠のトークン / コンポーネント
   読み込み対象: corporate_site の全11ページ（他のスタイルシートは無い）
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --primary: #ff6fa3;
  --primary-dark: #d94d7e;
  --bg-pink: #fff5f9;
  --bg-gray: #fafaf8;
  --icon-bg: #ffe4ef;

  --text: #1a1a1a;
  --text-sub: #555555;
  --text-muted: #9a9a9a;

  --border: #ececec;
  --border-btn: #dddddd;

  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-card-lg: 24px;

  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.06);
  --shadow-card-sm: 0 10px 14px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 8px 11px rgba(255, 111, 163, 0.3);

  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --nav-h: 72px;
  --gutter: 112px;
  --container: 1216px;
  --section-y: 104px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.section {
  padding: var(--section-y) var(--gutter);
}

.section--pink {
  background: var(--bg-pink);
}

.section--gray {
  background: var(--bg-gray);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-40 {
  margin-top: 40px;
}

.mt-48 {
  margin-top: 48px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease;
}

.btn img {
  flex: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 16px rgba(255, 111, 163, 0.36);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  border-color: var(--border-btn);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 12px 22px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Section head / label
   -------------------------------------------------------------------------- */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.04px;
  line-height: 1;
}

.sec-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--primary);
}

.sec-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.35;
}

.sec-lead {
  color: var(--text-sub);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.sec-lead--sm {
  max-width: 760px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav-v2 {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-v2-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--gutter);
}

.logo-v2 {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.44px;
  line-height: 1;
  white-space: nowrap;
}

.logo-v2 em {
  color: var(--primary);
  font-style: normal;
}

.nav-v2-links {
  display: flex;
  align-items: center;
  gap: 36px;
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.nav-v2-links a:hover {
  color: var(--primary-dark);
}

.nav-v2-links a[aria-current="page"] {
  color: var(--primary-dark);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 96px var(--gutter);
  background: #fff;
}

.hero-v2--pink {
  background: var(--bg-pink);
}

/* ビジュアルを持たない1カラムHero（下層ページ用） */
.hero-v2--solo .hero-v2-text {
  max-width: 760px;
}

.hero-v2-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-width: 0;
  max-width: 660px;
}

.eyebrow-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-pink);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.hero-v2--pink .eyebrow-v2 {
  background: #fff;
}

.eyebrow-v2::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--primary);
}

.hero-v2-title {
  /* Figma 1440px 時に 48px。1280px まで線形に縮め、2行組みを保つ */
  font-size: clamp(36px, calc(5vw - 24px), 48px);
  font-weight: 700;
  letter-spacing: -0.96px;
  line-height: 1.35;
}

.hero-v2-lead {
  max-width: 580px;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.9;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-v2-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1;
}

.hero-v2-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero visual（ブラウザ風カード） */
.hero-v2-visual {
  flex: none;
  width: min(520px, 43%);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
}

.browser-bar i:nth-child(1) {
  background: #ff5f57;
}

.browser-bar i:nth-child(2) {
  background: #febc2e;
}

.browser-bar i:nth-child(3) {
  background: #28c840;
}

/* Hero ビジュアル中身: CreatorFans 検索ページを模したイラスト（520x340）
   スクリーンショットではなく HTML/CSS で構成。掲載名・数値はすべて架空 */
.app-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 340px;
  padding: 18px;
  background: var(--bg-pink);
  letter-spacing: 0;
}

.mock-logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.34px;
  line-height: 1;
}

.mock-logo em {
  color: var(--primary);
  font-style: normal;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1;
}

.mock-search svg {
  flex: none;
}

.mock-chips {
  display: flex;
  gap: 6px;
}

.mock-chip {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.mock-chip--on {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.mock-creators {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-creator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.mock-avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--icon-bg);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.mock-creator-txt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mock-creator-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.mock-creator-status {
  color: var(--primary-dark);
  font-size: 11px;
  line-height: 1;
}

.mock-creator-meta {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.mock-creator-icons {
  display: flex;
  gap: 6px;
  opacity: 0.75;
}

.mock-creator-price {
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Cards（機能カード / Trustカード / Contactカード）
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.icon-circle {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--icon-bg);
}

/* アイコンが Figma に無いカード用の連番バッジ（Icon Circle と同じ意匠） */
.card-num {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--icon-bg);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.56px;
  line-height: 1;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: #fff;
  box-shadow: var(--shadow-card-sm);
}

.feature-card-txt {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-card h3 {
  font-size: 22px;
  line-height: 1.4;
}

.feature-card-sub {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-card p:not(.feature-card-sub) {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
}

.trust-card h3 {
  font-size: 18px;
  line-height: 1.5;
}

.trust-card p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: #fff;
  box-shadow: var(--shadow-card-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.08);
}

.contact-card-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-card h3 {
  font-size: 18px;
  line-height: 1.5;
}

.contact-card p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

.contact-card-mail {
  margin-top: -6px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Value Row
   -------------------------------------------------------------------------- */
.value-list {
  display: flex;
  flex-direction: column;
}

.value-row {
  display: flex;
  gap: 40px;
  padding: 36px 0;
}

.value-row + .value-row {
  border-top: 1px solid var(--border);
}

.value-num {
  flex: none;
  padding-top: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.56px;
  line-height: 1;
}

.value-txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.value-txt h3 {
  font-size: 24px;
  line-height: 1.5;
}

.value-txt p {
  max-width: 760px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   Partner セクション / 導入実績カード
   -------------------------------------------------------------------------- */
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.split-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 600px;
}

.split-text .sec-title {
  line-height: 1.35;
}

.split-text p {
  max-width: 760px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.9;
}

.case-card {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 520px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  background: #fff;
  box-shadow: var(--shadow-card-sm);
}

.case-card-label {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.78px;
  line-height: 1;
}

.case-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 72px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-gray);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.case-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px 16px;
  object-fit: contain;
  background: var(--bg-gray);
}

.case-card-txt {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-card-txt h3 {
  font-size: 22px;
  line-height: 1.4;
}

.case-card-txt p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

/* 導入実績ロゴタイル（index: 2列 / partner: 3列） */
.case-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.case-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
}

.case-tile-logo {
  width: 100%;
  height: 96px;
  margin-bottom: 12px;
  object-fit: contain;
  /* 画像未配置時に alt が崩れて見えないように */
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.case-tile-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.case-tile-type {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* partner.html CASE: 3列グリッド + 説明文つき */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-grid .case-tile {
  gap: 6px;
  padding: 28px;
  box-shadow: var(--shadow-card-sm);
}

.case-grid .case-tile-logo {
  height: 120px;
  margin-bottom: 16px;
}

.case-tile-desc {
  margin-top: 8px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Company テーブル
   -------------------------------------------------------------------------- */
.company-table {
  display: flex;
  flex-direction: column;
}

.company-table > div {
  display: flex;
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}

.company-table dt {
  flex: none;
  width: 220px;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 700;
}

.company-table dd {
  font-size: 16px;
}

.company-table dd a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Step（導入の流れ）
   -------------------------------------------------------------------------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
}

.step-num {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.56px;
  line-height: 1;
}

.step-card h3 {
  font-size: 20px;
  line-height: 1.5;
}

.step-card p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   CTA ブロック
   -------------------------------------------------------------------------- */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.cta-block p {
  max-width: 640px;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   文書ページ（利用規約 / 各ポリシー / ガイドライン / 会社紹介 / お問い合わせ）
   本文は本番 Web アプリからの転記。ここでは体裁のみを与える
   -------------------------------------------------------------------------- */
.doc {
  padding: 80px var(--gutter);
  background: #fff;
}

.doc-inner {
  max-width: 760px;
  margin: 0 auto;
}

.doc-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.doc-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.35;
}

.doc-meta {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

.doc-body {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.doc-body > *:first-child {
  margin-top: 0;
}

.doc-body p {
  margin-top: 16px;
}

.doc-h2 {
  margin-top: 48px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
}

.doc-h3 {
  margin-top: 32px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.doc-h4 {
  margin-top: 24px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.doc-list {
  margin-top: 16px;
  padding-left: 1.35em;
  list-style: disc;
}

.doc-list > li {
  margin-top: 8px;
}

.doc-sublist {
  margin-top: 8px;
  padding-left: 1.35em;
  list-style: circle;
}

.doc-sublist > li {
  margin-top: 6px;
}

.doc-body a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 「… → 窓口」の誘導リンク。矢印とリンクを1かたまりにして行末で分断させない */
.doc-guide-list > li {
  margin-top: 16px;
}

.doc-guide-list > li > strong {
  font-size: 15px;
}

.doc-guide-list .doc-guide-link {
  margin-left: 12px;
}

.doc-guide-link {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-pink);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.doc-guide-link a {
  color: inherit;
  text-decoration: none;
}

.doc-guide-link a:hover {
  color: var(--primary);
}

.doc-body a:hover {
  color: var(--primary);
}

.doc-body strong {
  color: var(--text);
  font-weight: 700;
}

/* 表は横スクロール可（ページ本体は横スクロールさせない） */
.doc-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
  white-space: nowrap;
}

.doc-table th,
.doc-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.doc-table thead th {
  background: var(--bg-gray);
  color: var(--text);
  font-weight: 700;
}

.doc-table tr:last-child td {
  border-bottom: 0;
}

/* 特定商取引法に基づく表記のラベル・値リスト */
.doc-dl {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.doc-dl dt,
.doc-dl dd {
  border-top: 1px solid var(--border);
}

.doc-dl dt:first-child,
.doc-dl dt:first-child + dd {
  border-top: 0;
}

.doc-dl dt {
  padding: 16px 20px;
  background: var(--bg-gray);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.doc-dl dd {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.85;
}

.doc-dl dd .doc-table-wrap {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-v2 {
  padding: 56px var(--gutter);
  background: var(--bg-gray);
}

.footer-v2-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-v2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-v2-top .logo-v2 {
  font-size: 20px;
  letter-spacing: -0.4px;
}

.footer-v2-copy {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1;
}

.footer-v2-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1;
}

.footer-v2-links a:hover {
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Responsive: 768–1279px
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  :root {
    --gutter: 40px;
  }

  .hero-v2-visual {
    flex: none;
    width: 42%;
    max-width: 520px;
    min-width: 0;
  }

  .hero-v2-text {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  .hero-v2-title {
    font-size: 36px;
    letter-spacing: -0.72px;
  }

  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card {
    flex: 1 1 380px;
    width: auto;
    min-width: 0;
  }

  .split-text {
    flex: 1 1 340px;
    min-width: 0;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-v2-links {
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   Responsive: <768px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 64px;
  }

  .nav-v2-links {
    display: none;
  }

  .hero-v2 {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 56px var(--gutter);
  }

  .hero-v2-text {
    max-width: none;
  }

  .hero-v2-title {
    font-size: 32px;
    letter-spacing: -0.6px;
  }

  .hero-v2-lead {
    max-width: none;
  }

  .btn-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-row .btn {
    width: 100%;
  }

  .hero-v2-trust {
    gap: 10px 16px;
  }

  .hero-v2-visual {
    width: 100%;
    max-width: none;
  }

  .app-mock {
    height: auto;
  }

  .sec-title {
    font-size: 28px;
  }

  .sec-lead,
  .sec-lead--sm {
    font-size: 15px;
  }

  .card-grid--2,
  .card-grid--3,
  .card-grid--4,
  .step-grid,
  .case-grid,
  .case-logo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .split-text,
  .case-card {
    width: auto;
    max-width: none;
  }

  .split-text p {
    max-width: none;
  }

  .case-card {
    padding: 28px;
  }

  .split-text .btn {
    width: 100%;
  }

  .value-row {
    flex-direction: column;
    gap: 10px;
    padding: 28px 0;
  }

  .value-num {
    padding-top: 0;
  }

  .value-txt h3 {
    font-size: 20px;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
  }

  .company-table > div {
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
  }

  .company-table dt {
    width: auto;
  }

  .doc {
    padding: 48px var(--gutter);
  }

  .doc-title {
    font-size: 26px;
  }

  .doc-h2 {
    margin-top: 40px;
    font-size: 19px;
  }

  .doc-h3 {
    font-size: 16px;
  }

  .doc-body {
    font-size: 15px;
  }

  .doc-dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc-dl dt,
  .doc-dl dd {
    padding: 12px 16px;
  }

  .doc-dl dd {
    border-top: 0;
  }

  .footer-v2 {
    padding: 48px var(--gutter);
  }

  .footer-v2-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cta-block p {
    font-size: 15px;
  }

  .cta-block .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Mail dialog
   -------------------------------------------------------------------------- */
.mail-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: none;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: var(--text);
}

.mail-dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.mail-dialog-inner {
  position: relative;
  padding: 32px 28px 24px;
}

.mail-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-sub);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mail-dialog-close:hover {
  background: var(--bg-gray);
}

.mail-dialog-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.mail-dialog-lead {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
}

.mail-dialog-address {
  margin: 16px 0 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-pink);
  font-weight: 700;
  word-break: break-all;
  user-select: all;
}

.mail-dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mail-dialog-actions .btn {
  width: 100%;
  cursor: pointer;
}

.mail-dialog-status {
  min-height: 1.8em;
  margin: 12px 0 0;
  color: var(--primary-dark);
  font-size: 13px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .contact-card {
    transition: none;
  }
}
