/* ==========================================================
   自動生成（06_wordpress/_tools/build_wp.py）— 手で直さない
   元：05_coding/assets/css/pages/hitodasuke.css
   変更点：各セレクタの頭に :is(.kk-wp, .editor-styles-wrapper) を足しただけ（値は同じ）。.kk-wp は SWELL の #body_wrap に付く
   SWELL の .post_content h2 などより詳細度を上げ、管理画面のエディタにも同じ見た目を出すため
   ========================================================== */
/* ==========================================================
   pages/hitodasuke.css — /hitodasuke/ 目標達成コーチング「人助けビジネス」（ページ固有）
   Figma：Design/hitodasuke/PC 29:1780 ／ SP 29:2117
   使う部品：components.css（problem-list・tbd・related-service ほか）
   図解 Diagram/CoachingJourney（39:5806）はこのページだけで使うので、ここに置く（.kk-p-hitodasuke-journey）
   値は tokens.css の変数。無い値は Figma の数値をそのまま（コメントに node-id）
   ========================================================== */
/* ---------- 明朝の宣言文（Statement 52/88.4・SP 32/54.4） ---------- */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-statement {
  font-family: var(--kk-ff-mincho);
  font-size: var(--kk-fs-statement);
  font-weight: var(--kk-fw-heading-statement);
  letter-spacing: var(--kk-ls-mincho);
  line-height: var(--kk-lh-mincho);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-statement em { color: var(--kk-color-accent); }

/* =========================================================
   2. こんなモヤモヤ（29:1824 / 29:2146）
   ========================================================= */
/* 幅が広いときは写真とリストを2列組に（2026-11-04 ユーザー指示） */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-problem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; align-items: stretch; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-problem .kk-c-problem-list { grid-template-columns: minmax(0, 1fr); }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-problem__photo { aspect-ratio: auto; } /* 2026-11-04 ユーザー指示：2列組のときは写真の高さをリストの縦幅に合わせる */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-problem__photo img { position: absolute; inset: 0; object-position: 55% 35%; }
/* =========================================================
   3. 目標達成コーチングとは（29:1843 / 29:2167）
   ========================================================= */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-solution {
  display: grid;
  grid-template-columns: minmax(0, 560fr) minmax(0, 600fr);
  column-gap: 120px; /* Figma 29:1847 */
  align-items: start;
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-solution__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-solution__body > p {
  font-size: var(--kk-fs-body);
  letter-spacing: var(--kk-ls-body);
  line-height: var(--kk-lh-body-loose);
  color: var(--kk-color-text-sub);
}

/* =========================================================
   4. 3時間の無料セッション（29:1858 / 29:2182）
   ========================================================= */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 64px;
  border: 1px solid var(--kk-color-main);
  /* Figma 29:1859：左端 y=213 を中心に 800×266 の橙の光 */
  background:
    radial-gradient(800px 266px at 0 213px, rgba(221,90,31,.18), rgba(221,90,31,0)),
    var(--kk-color-base-hero);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__head { flex: 0 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__photo { aspect-ratio: 520 / 280; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__body { flex: 0 1 552px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__list { display: flex; flex-direction: column; gap: 20px; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--kk-fs-body);
  letter-spacing: var(--kk-ls-body);
  line-height: var(--kk-lh-body);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__list li::before { content: ""; flex: none; width: 16px; height: 1px; background: var(--kk-color-main); }

/* =========================================================
   5. 全9回の伴走（29:1876 / 29:2200）
   ========================================================= */
/* 図解 CoachingJourney（39:5773 PC ／ 39:5805 SP） */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--kk-color-base-sub);
  border: 1px solid var(--kk-color-border-strong);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 32px 28px;
  border-right: 1px solid var(--kk-color-border-strong);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__step:last-child { border-right: 0; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__step.is-current { background: var(--kk-color-main-light); }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__head { display: flex; align-items: center; gap: 12px; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__head img { width: var(--kk-icon-size); height: var(--kk-icon-size); }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__num {
  font-family: var(--kk-ff-en);
  font-size: var(--kk-fs-number);
  font-weight: var(--kk-fw-en-medium);
  letter-spacing: var(--kk-ls-card);
  line-height: var(--kk-lh-tight);
  color: var(--kk-color-label-gold);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey .kk-c-label { color: var(--kk-color-label-gold); }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__step.is-current .kk-p-hitodasuke-journey__num,
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__step.is-current .kk-c-label { color: var(--kk-color-accent); }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__title {
  font-family: var(--kk-ff-heading);
  font-size: var(--kk-fs-h4);
  font-weight: var(--kk-fw-heading);
  letter-spacing: var(--kk-ls-card);
  line-height: 1.6;
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__text {
  font-size: var(--kk-fs-small);
  letter-spacing: var(--kk-ls-body);
  line-height: var(--kk-lh-small);
  color: var(--kk-color-text-muted);
}

/* 全9回（29:1882 / 29:2206） */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-sessions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--kk-space-grid-gap);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-sessions li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--kk-color-border-strong);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-sessions li > div { display: flex; flex-direction: column; gap: 4px; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-sessions__num {
  flex: none;
  font-family: var(--kk-ff-en);
  font-size: var(--kk-fs-number-l);
  font-weight: var(--kk-fw-en-medium);
  letter-spacing: 0.02em;
  line-height: var(--kk-lh-tight);
  color: var(--kk-color-accent);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-sessions__round {
  font-size: var(--kk-fs-caption);
  letter-spacing: var(--kk-ls-caption);
  line-height: var(--kk-lh-label);
  color: var(--kk-color-label-gold);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-sessions__title {
  font-family: var(--kk-ff-heading);
  font-size: var(--kk-fs-h4);
  font-weight: var(--kk-fw-heading);
  letter-spacing: var(--kk-ls-card);
  line-height: 1.6;
}

/* =========================================================
   6. 担当者紹介（29:1934 / 29:2264）
   ========================================================= */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach {
  display: grid;
  grid-template-columns: minmax(0, 440fr) minmax(0, 744fr);
  column-gap: 96px; /* Figma 29:1938 */
  align-items: start;
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach__photo { aspect-ratio: 440 / 550; overflow: hidden; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach__photo img { width: 100%; height: 100%; object-fit: cover; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach__role {
  font-size: var(--kk-fs-caption);
  letter-spacing: var(--kk-ls-caption);
  line-height: var(--kk-lh-label);
  color: var(--kk-color-label-gold);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach__name {
  font-family: var(--kk-ff-heading);
  font-size: var(--kk-fs-h3);
  font-weight: var(--kk-fw-heading);
  letter-spacing: var(--kk-ls-card);
  line-height: var(--kk-lh-heading);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach__career {
  font-size: var(--kk-fs-body-small);
  letter-spacing: var(--kk-ls-body);
  line-height: 2;
  color: var(--kk-color-text-sub);
}
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach__message {
  max-width: 725px; /* Figma 29:1952 */
  padding: 8px 0 8px 24px;
  border-left: 1px solid var(--kk-color-main);
  font-family: var(--kk-ff-mincho);
  font-size: var(--kk-fs-h3-mincho);
  font-weight: var(--kk-fw-heading-statement);
  letter-spacing: var(--kk-ls-mincho);
  line-height: var(--kk-lh-mincho);
  margin-right: -0.06em; /* 行末の字間で1文字早く折り返さないように（Figma と同じ字数で改行） */
}

/* =========================================================
   8. お申込みの流れ（29:1964 / 29:2294）
   ========================================================= */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-flow__note {
  font-size: var(--kk-fs-caption);
  letter-spacing: var(--kk-ls-caption);
  line-height: var(--kk-lh-label);
  color: var(--kk-color-text-faint);
}


/* =========================================================
   TAB（≦1000px）
   ========================================================= */
@media (max-width: 1000px) {
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-solution,
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach { column-gap: 56px; }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free { gap: 48px; padding: 48px; }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   SP（≦760px）
   ========================================================= */
@media (max-width: 760px) {
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-problem { grid-template-columns: minmax(0, 1fr); row-gap: var(--kk-space-block); }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-problem__photo { aspect-ratio: 327 / 200; }

  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-solution { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }

  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 36px 24px;
    /* Figma 29:2183 */
    background:
      radial-gradient(204px 302px at 0 242px, rgba(221,90,31,.18), rgba(221,90,31,0)),
      var(--kk-color-base-hero);
  }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__head,
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__body { flex: none; }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__photo { aspect-ratio: 279 / 160; }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__list li { line-height: 2; } /* SP/Body 15 / 30 */
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__body .kk-c-button--primary { width: 100%; }
:is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-free__body .kk-c-button--primary { gap: 8px; padding-inline-start: 20px; } /* 丸アイコンで幅が足りないため 2026-10-16 */

  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey { grid-template-columns: minmax(0, 1fr); }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__step { padding: 20px; border-right: 0; border-bottom: 1px solid var(--kk-color-border-strong); }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-journey__step:last-child { border-bottom: 0; }

  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-sessions { grid-template-columns: minmax(0, 1fr); }

  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  :is(.kk-wp, .editor-styles-wrapper) .kk-p-hitodasuke-coach__photo { aspect-ratio: 327 / 409; }
}
