/* ============================================================================
   about.html 専用スタイル
   v0.9.13j-fix119（2026-06-01）: inline <style> 外部 CSS 化（R4 案 X 2 ページ目、堅牢性最優先）
   読込順: cookie-consent → variables → base → style → home → page-hero → about
   ============================================================================ */

  /* about ページ専用スタイル（Phase B 05/16-18 で外部 CSS 化予定） */
  .about-section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; } /* v0.9.13j-fix114: 80px 5% 60px → 80px 5% に統一（上下対称、子ページ section と整合） */
  /* 2026-06-10: mobile セクション上下 padding を 30px に縮小（TOP fix158 と整合、desktop 80px は不変） */
  /* 2026-06-11: mobile 左右余白を TOP の本文インセット 40px（=5%+20px）に統一（従来 5%=20px で TOP より狭かった） */
  @media (max-width: 767px) { .about-section { padding-top: 30px; padding-bottom: 30px; padding-left: calc(5% + 20px); padding-right: calc(5% + 20px); } }
  .about-section h2 { font-family: 'Noto Serif JP', serif; font-weight: 500; color: var(--c-ocean-500, #2F5D62); font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; letter-spacing: 0.02em; }
  .about-section h3 { font-family: 'Noto Serif JP', serif; font-weight: 500; color: var(--c-ocean-500, #2F5D62); font-size: 22px; margin: 32px 0 16px; }
  .placeholder { color: var(--c-brand-gray, #555); font-style: italic; padding: 16px; background: #F4F7F7; border-left: 3px solid #C87A56; border-radius: 4px; font-size: 14px; }

  /* === セクション 6 動物行動学とは＋アプローチ比較 === */
  .about-method { background: var(--c-brand-white); }
  /* 「動物行動学」段落と「一方（フランス式）」段落の間に区切り＝観察の科学／関わり方の思想 の2ブロックを分離。2026-06-17 平田氏指示・全tier */
  .about-method .method-intro-break { margin-top: 1.5em; }
  /* k9-harmony の method-deep-link / qa-deep-link 着地点（固定ヘッダー回避、先例 #travel-fee=100px に整合）。2026-06-19 rank18 是正 */
  #animal-behavior-science, #french-method { scroll-margin-top: 100px; }
  .method-follow-up { font-size: 18px; line-height: 1.8; color: #2F5D62; padding: 20px 24px; background: #E8F5F5; border-radius: 12px; margin: 24px 0 32px; border-left: 4px solid #57C3C2; }

  /* マトリクス本体 */
  .method-matrix-wrap { margin: 32px 0; }
  .method-matrix { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
  .method-matrix th, .method-matrix td { border: 1px solid #E9ECEF; padding: 14px 12px; vertical-align: top; word-break: break-word; }
  .method-matrix th { background: #F4F7F7; color: #2F5D62; font-weight: 600; letter-spacing: 0.03em; }
  .method-matrix th.row-head { background: #E8F5F5; text-align: left; width: 14%; font-size: 13px; }
  .method-matrix th.col-k9 { background: #d4efef; }
  .method-matrix td.k9-col { background: rgba(212, 239, 239, 0.25); }
  .method-matrix .mark { font-weight: 500; font-size: 40px; display: block; text-align: center; margin-bottom: 8px; line-height: 1; }
  .method-matrix .mark-good { color: #57C3C2; }
  .method-matrix .mark-ok { color: #88d3d2; }
  .method-matrix .mark-warn { color: #C87A56; opacity: 0.8; }
  .method-matrix .mark-bad { color: #C87A56; }
  .method-matrix sup.ref { font-size: 10px; color: var(--c-brand-gray, #555); font-weight: normal; margin-left: 2px; }
  .method-matrix ul.actions { list-style: none; padding: 0; margin: 0; font-size: 14px; }
  .method-matrix ul.actions li { padding: 4px 0 4px 14px; position: relative; }
  .method-matrix ul.actions li::before { content: "・"; color: #57C3C2; font-weight: bold; position: absolute; left: 0; }

  /* モバイルタブ切替（採用提案: アナリスト #1） */
  .matrix-tabs { display: none; }
  @media (max-width: 767px) {
    .matrix-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
    .matrix-tabs button { flex: 1; padding: 12px 8px; font-size: 13px; border: 1px solid #E9ECEF; background: var(--c-brand-white); color: #2F5D62; border-radius: 8px; cursor: pointer; }
    .matrix-tabs button.active { background: #57C3C2; color: white; border-color: #57C3C2; }
    .method-matrix { table-layout: auto; }
    .method-matrix thead th:nth-child(2),
    .method-matrix thead th:nth-child(3),
    .method-matrix thead th:nth-child(4) { display: none; }
    .method-matrix tbody td:nth-child(n+2) { display: none; }
    .method-matrix.show-punish tbody td:nth-child(2),
    .method-matrix.show-dominance tbody td:nth-child(3),
    .method-matrix.show-k9 tbody td:nth-child(4) { display: table-cell; }
  }

  /* 引用折りたたみ（採用提案: ペルソナ #1 系、ただし今回は集約 details） */
  .references { margin: 32px 0; padding: 20px; background: #F4F7F7; border-radius: 12px; }
  .references summary { cursor: pointer; color: #2F5D62; font-weight: 600; font-size: 15px; }
  .references[open] summary { margin-bottom: 16px; }
  .references h4 { color: #2F5D62; margin: 16px 0 8px; font-size: 14px; font-family: 'Noto Serif JP', serif; }
  .references p { font-size: 13px; color: #666; line-height: 1.8; margin: 4px 0; }

  /* マトリクス直後の体験予約 CTA（採用提案: 経営コンサル #3） */
  .matrix-cta { margin: 40px 0 0; text-align: center; padding: 32px 24px; background: linear-gradient(135deg, #E8F5F5 0%, #d4efef 100%); border-radius: 12px; }
  .matrix-cta p { color: #2F5D62; font-size: 16px; margin-bottom: 16px; }
  /* 2026-06-10: matrix-cta の CTA 独自スタイル（角丸 pill＋box-shadow＋白縁なし）を削除し、home.css base .cta-primary（角型＋0.5px 白縁、TOP 標準）に統一 */
  .matrix-cta .cta-note { font-size: 12px; color: #666; margin-top: 12px; }

  /* === 仮スタイル v0.9.10（2026-05-06 追加、Phase B 05/16 で外部 CSS 化＋共通 partial 適用予定） === */

  /* v0.9.13j-fix110: 旧 about-hero / about-hero-bg / about-hero-overlay / about-hero-content / 子要素 CSS を削除（page-hero.css 共通規約に移譲、HTML も about-page-hero に書換） */

  /* トレーナー写真レイアウト（v0.9.10 追加） */
  .trainer-intro { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; margin: 24px 0 32px; }
  .trainer-photo { width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: 12px; box-shadow: 0 6px 20px rgba(47, 93, 98, 0.15); }
  .trainer-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .trainer-text p { margin: 0; }
  @media (max-width: 767px) {
    .trainer-intro { grid-template-columns: 1fr; gap: 24px; }
    .trainer-photo { max-width: 280px; margin: 0 auto; }
  }

  /* セクション 2: 創業ストーリー */
  .about-story { background: var(--c-bg-mist); }
  .about-story p { font-size: 16px; line-height: 2; color: #444; margin-bottom: 20px; max-width: 760px; }

  /* セクション 3: 哲学・3 つの約束 */
  .about-philosophy { background: #F4F7F7; }
  .about-philosophy .promise-list { list-style: none; padding: 0; counter-reset: promise; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
  .about-philosophy .promise-list li { background: var(--c-brand-white); padding: 32px 24px; border-radius: 12px; border-top: 4px solid #57C3C2; counter-increment: promise; position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
  .about-philosophy .promise-list li::before { content: "0" counter(promise); display: block; font-family: var(--font-serif-en, 'Cormorant Garamond'), serif; font-size: 32px; color: #57C3C2; font-weight: 500; margin-bottom: 12px; line-height: 1; } /* 2026-06-10: カード番号を Cormorant に（TOP の大型数字とブランド統一） */
  .about-philosophy .promise-list h3 { color: #2F5D62; font-size: 20px; margin: 0 0 12px; }
  .about-philosophy .promise-list p { font-size: 15px; line-height: 1.8; color: #555; margin: 0; }

  /* セクション 4: プロフィール / セクション 7: 会社情報 */
  .about-profile { background: var(--c-bg-mist); }
  .about-company { background: var(--c-bg-mist); } /* 2026-06-10: プロフィール統合で1節減ったため、交互リズム維持で会社情報を mist に */
  /* fix147: max-width 800px → 100%（2026-06-06 平田淳氏指示）。動物取扱業者標識 8 項目の長い住所行が dd 621px を超えて折り返していたのを、dl をセクション内幅いっぱいに広げて解消 */
  .profile-list, .about-company .company-list { display: grid; grid-template-columns: max-content 1fr; gap: 16px 32px; max-width: 100%; margin: 0; }
  .profile-list dt, .about-company dt { color: #333; font-weight: 600; font-size: 14px; letter-spacing: 0.05em; padding-top: 4px; }
  .profile-list dd, .about-company dd { color: #444; font-size: 16px; line-height: 1.8; margin: 0; }
  .about-company dd a { color: #2F5D62; text-decoration: underline; }
  @media (max-width: 767px) {
    .profile-list, .about-company .company-list { grid-template-columns: 1fr; gap: 4px 0; }
    .profile-list dt, .about-company dt { padding-top: 16px; border-top: 1px solid #E9ECEF; }
    .profile-list dt:first-child, .about-company dt:first-child { padding-top: 0; border-top: none; }
  }

  /* セクション 5: トレーナー詳細 */
  .about-trainer { background: var(--c-brand-white); }
  .about-trainer p { font-size: 16px; line-height: 2; color: #444; max-width: 760px; }
  .about-trainer h3 { font-size: 20px; color: #2F5D62; margin: 32px 0 16px; }
  .about-trainer .diff-list { list-style: none; padding: 0; max-width: 760px; }
  .about-trainer .diff-list li { padding: 12px 0 12px 32px; position: relative; font-size: 15px; line-height: 1.8; color: #444; border-bottom: 1px dashed #E9ECEF; }
  .about-trainer .diff-list li::before { content: "✓"; position: absolute; left: 0; top: 12px; color: #57C3C2; font-weight: bold; font-size: 18px; }
  .about-trainer .diff-list li:last-child { border-bottom: none; }

  /* v0.9.13j-fix114: 旧 .about-cta inline CSS 削除（fix113/114 で home-cta-area + cta-context-row 共通規約に統一済、dead code） */

  /* 仮 placeholder の視認性低下（仮文マーカーは表示維持、本実装後 Phase B で削除）— fix56 で opacity 削除 (WCAG AA 達成のため) */
  .placeholder { margin-top: 32px; }


  /* ================================================================
     v0.9.10 デザイン確定（Sec 2 / 5 = 旧 B 案採用、他 6 セクションに上部装飾線追加）
     ================================================================ */

  /* 上部装飾線（about-section::before）削除（2026-06-10 平田氏指示: eyebrow 上の仕切り不要、TOP 整合。eyebrow 自身の copper 線はブランド標準のため維持） */
  /* v0.9.13j-fix114: 旧 .about-cta::before 装飾線削除（home-cta-area 共通規約に統一） */

  /* セクションタイトル様式（左寄せ統一、Sec 1-8 共通） */
  /* v0.9.13j-fix116: セクション内 eyebrow override 削除（home.css base .eyebrow + body.pd-b10 override 統一規約に移譲） */
  .about-philosophy > h2,
  .about-method > h2,
  .about-story > h2,
  .about-trainer > h2,
  .about-profile > h2,
  .about-company > h2 {
    text-align: left;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 500;
    margin: 0 0 16px;
    color: #333;
    letter-spacing: 0.04em;
  }
  /* v0.9.13j-fix110: 旧 about-hero-content h2 / .about-hero-content .eyebrow / .about-hero-content::before / .about-hero-content .section-lead / .about-hero .hero-subtitle / .about-hero .hero-lead を削除（page-hero.css 共通規約に統一） */
  /* v0.9.13j-fix114: 旧 .about-cta > h2 / .about-cta .eyebrow / .about-cta::before margin 削除（home-cta-area 共通規約に統一） */
  /* セクションリード（左寄せセクション用、h2 の下、ミューテッド色） */
  .about-section .section-lead {
    text-align: left;
    color: #777;
    font-size: 14px;
    margin: 0 0 48px;
    max-width: 720px;
    line-height: 1.9;
  }
  /* v0.9.13j-fix114: 旧 .about-cta .section-lead 削除（home-cta-area 共通規約に統一） */

  /* v0.9.13j-fix117 試作削除（fix118 案 B 確定で撤去、2026-06-01 平田淳氏指示） */

  /* Section 2 確定（旧 B 案）: グラスモーフィズム＋大型透過番号＋ホバー浮上 */
  .about-philosophy { background: linear-gradient(180deg, #F4F7F7 0%, #E8F5F5 100%); }
  .about-philosophy .promise-list li {
    background: rgba(250,250,250,0.7); backdrop-filter: blur(10px); border-top: none;
    border: 1px solid rgba(250,250,250,0.5); transition: 0.3s ease;
  }
  .about-philosophy .promise-list li:hover {
    transform: translateY(-8px); box-shadow: 0 12px 32px rgba(47,93,98,0.12);
  }
  .about-philosophy .promise-list li::before {
    font-size: 80px; color: rgba(87,195,194,0.3); position: absolute; top: 8px; right: 16px;
    margin-bottom: 0;
  }
  /* 3つの約束 coverflow の送り/戻しボタンは base で非表示（desktop/mobile では出さない）。tablet @media のみ表示。2026-06-17 */
  .about-philosophy .promise-cf-controls { display: none; }

  /* Section 5 確定（旧 B 案）: トレーナー 円形ポートレート＋引用調 italic */
  .about-trainer .trainer-photo {
    aspect-ratio: 1; border-radius: 50%; max-width: 240px; margin: 0;
    border: 4px solid var(--c-brand-white); box-shadow: 0 8px 24px rgba(47,93,98,0.2);
  }
  .about-trainer .trainer-intro { grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
  .about-trainer .trainer-text p {
    font-family: 'Noto Serif JP', serif; font-size: 18px; font-style: italic;
    border-left: 3px solid #57C3C2; padding-left: 16px;
  }
  .about-trainer .trainer-text p::before { content: "── "; color: #57C3C2; font-weight: bold; }
  @media (max-width: 767px) {
    .about-trainer .trainer-intro { grid-template-columns: 1fr; gap: 24px; }
    .about-trainer .trainer-photo { margin: 0 auto; }
  }
  /* ===== tablet(768-1023) TOP基準適用（2026-06-17 平田氏指示の普遍基準）: section 縦 padding を 40px に（about-section は desktop 80px のまま tablet 上書きが無かった）。横 gutter は about-section の 5% が 800px で 40px と自動整合・eyebrow は home.css .eyebrow で基準どおり。method-matrix(4列比較表)等の視覚調整は実機確認後に追加 ===== */
  @media (min-width: 768px) and (max-width: 1023px) {
    .about-section { padding-top: 40px; padding-bottom: 40px; }
    /* 3つの約束を tablet のみ coverflow（中央アクティブ＋左右のぞき見＋◀▶・1.2s）。pricing coverflow(k9-harmony) 機構を流用。
       desktop=3列グリッド/mobile=1列スタックは不変（is- 系クラスと controls の視覚効果はこの @media 内だけ）。2026-06-17 平田氏指示。tablet 限定。 */
    .about-philosophy .promise-cf-area { position: relative; }
    .about-philosophy .promise-list { position: relative; display: block; max-width: none; overflow: hidden; }
    .about-philosophy .promise-list li { position: absolute; top: 0; left: 50%; width: 66%; box-sizing: border-box; transition: transform 1.2s cubic-bezier(.16,1,.3,1), opacity 1.2s; transform: translateX(-50%) scale(.5); opacity: 0; z-index: 1; cursor: pointer; }
    .about-philosophy .promise-list li.is-active { position: relative; left: auto; margin: 0 auto; transform: none; opacity: 1; z-index: 3; cursor: default; background: var(--c-brand-white, #FAFAFA); }
    .about-philosophy .promise-list li.is-left { transform: translateX(-116%) scale(.5); opacity: .5; z-index: 2; }
    .about-philosophy .promise-list li.is-right { transform: translateX(16%) scale(.5); opacity: .5; z-index: 2; }
    /* 送り/戻しは coverflow に対し固定フロート（カード切替で位置が動かない）。top=130px（平田氏指示）。 */
    .about-philosophy .promise-cf-controls { display: flex; position: absolute; top: 130px; left: 0; right: 0; width: auto; margin: 0; padding: 0; justify-content: space-between; z-index: 5; }
    .about-philosophy .promise-cf-controls button { width: 64px; height: 64px; padding: 0; border: none; background: var(--turquoise-400, #57C3C2); border-radius: 50%; cursor: pointer; font-size: 34px; line-height: 1; color: var(--c-brand-white, #FAFAFA); box-shadow: 0 6px 20px rgba(47,93,98,0.35); transition: all .25s; display: flex; align-items: center; justify-content: center; }
    .about-philosophy .promise-cf-controls button:hover { background: var(--ocean-500, #2F5D62); color: var(--c-brand-white, #FAFAFA); box-shadow: 0 8px 24px rgba(47,93,98,0.45); }
  }
