@charset "UTF-8";
/* ==========================================================================
   GLOW WAY — page.css
   下層14ページ専用スタイル（新デザインシステム追従版）

   前提
   - :root のトークン定義・共通コンポーネント（.btn / .card / .eyebrow /
     .numcircle / .inr / .stripes / .inview / .marquee / header / footer 等）は
     common.css で定義する。本ファイルでは再定義しない。
   - 本ファイルは下層ページ（body.is-*）でのみ読み込まれるため、
     ここに書いた .sec-head / .tag / .page-head の調整は下層ページにのみ効く。
   - ページ背景は --bg（淡グレー）。本文ブロックは白いパネル（角丸 10px・影なし）で包む。
   - 角丸は 10px に統一（ローカル変数 --r）。影は使わない。

   --------------------------------------------------------------------------
   目次
   --------------------------------------------------------------------------
   01. 下層ページ共通の土台（ローカル変数・セクション余白）
   02. セクション見出し（.sec-head / .tag / 引用符アイコン）
   03. ページ見出し帯（.page-head）とパンくず
   04. 共通パターン A｜白いカード面・リンクカード・単独矢印
   05. 共通パターン B｜注記（note）・濃色バンド・白い全幅バンド（CTA）
   06. 共通パターン C｜キーワードピル・定義リスト
   07. 共通パターン D｜番号付き縦フロー・横並びステップ
   08. /about/            私たちについて
   09. /service/          サービス紹介（一覧）
   10. /service/ 下層共通（svc-lead / 関連カード / 一覧へ戻る）
   11. /service/organization/  組織改善
   12. /service/operation/     業務改善（BEFORE・AFTER／優先順位）
   13. /service/talent/        人材育成
   14. /service/dx-ai/         DX・AI
   15. /flow/            改善の進め方（診断マトリクス表・成熟度4カード）
   16. /profile/         代表プロフィール（ヒーロー）
   17. /company/         会社情報（会社概要テーブル）
   18. /news/            お知らせ
   19. /contact/         お問い合わせ（フォーム一式）
   20. /contact/thanks/  送信完了
   21. /privacy/         プライバシーポリシー（条文）
   22. /404.html         ページが見つかりません
   23. フォーカスリング（ページ固有要素）
   24. レスポンシブ 1200px 以下
   25. レスポンシブ 1024px 以下
   26. レスポンシブ 768px 以下
   27. レスポンシブ 480px 以下
   28. prefers-reduced-motion

   ※ レスポンシブは 24〜27 に集約し、必ず「広い順 → 狭い順」で記述する。
   ========================================================================== */


/* ==========================================================================
   01. 下層ページ共通の土台
   ========================================================================== */

/* ローカル変数（:root ではなく body クラスへ付与する） */
.is-about,
.is-service,
.is-service-child,
.is-flow,
.is-profile,
.is-company,
.is-news,
.is-contact,
.is-thanks,
.is-privacy,
.is-terms,
.is-sitemap,
.is-404 {
  --r: 10px;                              /* 角丸（新デザイン共通） */
  --pad-sec: clamp(80px, 8.5vw, 140px);   /* セクション上下余白 */
  --pad-panel: clamp(28px, 3.6vw, 56px);  /* 白パネルの内側余白 */
  --pad-card: clamp(24px, 2.6vw, 36px);   /* カードの内側余白 */
  --gap-card: clamp(14px, 1.8vw, 22px);   /* カード間の間隔 */
  --blk-gap: clamp(36px, 4.4vw, 64px);    /* 見出しと本体ブロックの間隔 */
  --slant: clamp(40px, 5vw, 90px);        /* 斜めカットの深さ */
  --panel: var(--tint);                   /* 白いページ地の上のパネル面 */
  --rule: 1px solid var(--line);

  background-color: var(--bg, #FFFFFF);
  color: var(--ink);
}

/* main 直下セクションの共通余白（.sec を併用するページも同値になる） */
.is-about main > section,
.is-service main > section,
.is-service-child main > section,
.is-flow main > section,
.is-profile main > section,
.is-company main > section,
.is-news main > section,
.is-contact main > section,
.is-thanks main > section,
.is-privacy main > section,
.is-terms main > section,
.is-sitemap main > section,
.is-404 main > section {
  position: relative;
  padding-block: var(--pad-sec);
}

/* ページ見出し帯の直後だけ、上余白をやや詰める */
.is-about main > section:first-of-type,
.is-service main > section:first-of-type,
.is-service-child main > section:first-of-type,
.is-flow main > section:first-of-type,
.is-profile main > section:first-of-type,
.is-company main > section:first-of-type,
.is-news main > section:first-of-type,
.is-contact main > section:first-of-type,
.is-thanks main > section:first-of-type,
.is-privacy main > section:first-of-type,
.is-terms main > section:first-of-type,
.is-sitemap main > section:first-of-type,
.is-404 main > section:first-of-type {
  padding-top: clamp(56px, 6.4vw, 100px);
}


/* ==========================================================================
   02. セクション見出し（.sec-head / .tag / 引用符アイコン）
   ========================================================================== */

.sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
  max-width: 1000px;
  margin-bottom: var(--blk-gap);
}

/* common.css 側の連結マージンを打ち消し、gap に一本化する */
.sec-head > * + * {
  margin-top: 0;
}

/* 見出しの左上に置く引用符（.dq と同じ図形を装飾として描く） */
.sec-head::before,
.about-lead .inr::before,
.contact-lead .inr::before,
.company-cta .inr::before,
.news-cta .inr::before,
.profile-closing .inr::before,
.thanks__body::before,
.svc-lead__body::before,
.notfound .inr::before {
  content: "";
  display: block;
  flex: none;
  width: 13px;
  height: 24px;
  margin-bottom: clamp(16px, 2vw, 26px);
  border-radius: 62% 0 62% 62%;
  background-color: currentColor;
  box-shadow: 19px 0 0 currentColor;
  color: var(--teal);
}

/* 中央寄せの見出しブロックでは引用符も中央に置く */
.news-index .sec-head,
.thanks-next .sec-head,
.talent-support .sec-head,
.svc-cta .sec-head {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.sec-head__title {
  color: var(--brand);
  font-size: clamp(1.55rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}

/* 新デザインでは見出し下線を使わない */
.sec-head__title::after {
  content: none;
}

.sec-head__lead {
  max-width: 44em;
  margin-top: .5rem;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.news-index .sec-head__lead,
.thanks-next .sec-head__lead,
.talent-support .sec-head__lead,
.svc-cta .sec-head__lead {
  margin-inline: auto;
}


/* ==========================================================================
   03. ページ見出し帯（.page-head）とパンくず
   ========================================================================== */

.page-head {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding-top: calc(var(--head-h, 88px) + clamp(48px, 7vw, 110px));
  padding-bottom: clamp(64px, 7vw, 104px);
  color: var(--ink);
}

/* 淡グレー地。色面は敷かず、ページ背景をそのまま見せる */
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--bg);
}

.page-head__deco {
  z-index: -1;
  --stripe-color: var(--brand);
  --stripe-opacity: .028;
}

.page-head > .inr::before {
  content: "";
  display: block;
  width: 13px;
  height: 24px;
  margin-bottom: clamp(18px, 2.2vw, 28px);
  border-radius: 62% 0 62% 62%;
  background-color: currentColor;
  box-shadow: 19px 0 0 currentColor;
  color: var(--brand-ink);
}

.page-head__title {
  margin-top: clamp(14px, 1.8vw, 22px);
  color: var(--brand);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
}

.page-head__title + .eyebrow {
  margin-top: clamp(12px, 1.4vw, 18px);
  color: var(--brand-ink);
}

/* --- パンくず（淡グレー地の上） ------------------------------------------ */

.page-head .breadcrumb {
  margin-top: clamp(24px, 3vw, 40px);
}

.page-head .breadcrumb__list {
  justify-content: flex-end;
}

.page-head .breadcrumb__item,
.page-head .breadcrumb__item a {
  color: var(--ink-mid);
}

.page-head .breadcrumb__item a:hover {
  color: var(--brand);
}

.page-head .breadcrumb__item + .breadcrumb__item::before {
  color: var(--ink-sub);
}

.page-head .breadcrumb__item--current,
.page-head .breadcrumb__item:last-child,
.page-head .breadcrumb__item[aria-current="page"] {
  color: var(--brand);
}


/* ==========================================================================
   04. 共通パターン A｜白いカード面・リンクカード・単独矢印
   ========================================================================== */

/* 淡グレー地の上に置くカードは白・角丸 10px・影なしで統一する */
.about-problem__item,
.about-structure__item,
.about-goal__item,
.about-approach__item,
.about-next__card,
.offer__card,
.deliv__card,
.service-area__card,
.svc-points__item,
.svc-issues__item,
.svc-others__card,
.svc-related__card,
.other-service__card,
.talent-support__card,
.svc-flow__item,
.flow-approach__item,
.flow-diagnosis__item,
.flow-maturity__item,
.flow-roadmap__item,
.flow-deliverables__item,
.flow-goal__item,
.profile-strength__item,
.company-business__card,
.thanks-next__card,
.notfound-nav__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  width: 100%;
  height: 100%;
  padding: var(--pad-card);
  border: 1px solid transparent;
  border-radius: var(--r);
  background-color: var(--panel);
  box-shadow: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* カード内の見出し・本文（common の .card__title / .card__text を補正） */
.about-problem__item .card__title,
.about-structure__item .card__title,
.about-goal__item .card__title,
.offer__card .card__title,
.deliv__card .card__title,
.svc-points__item .card__title,
.svc-issues__item .card__title,
.svc-flow__item .card__title,
.flow-approach__item .card__title,
.flow-maturity__item .card__title,
.flow-roadmap__item .card__title,
.flow-deliverables__item .card__title,
.flow-goal__item .card__title,
.profile-strength__item .card__title,
.company-business__card .card__title,
.talent-support__card .card__title {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  letter-spacing: .02em;
}

.about-problem__item .card__text,
.about-structure__item .card__text,
.about-goal__item .card__text,
.offer__card .card__text,
.deliv__card .card__text,
.svc-points__item .card__text,
.svc-flow__item .card__text,
.flow-approach__item .card__text,
.flow-maturity__item .card__text,
.flow-roadmap__item .card__text,
.flow-deliverables__item .card__text,
.flow-goal__item .card__text,
.profile-strength__item .card__text,
.company-business__card .card__text,
.talent-support__card .card__text {
  margin-top: 0;
  line-height: 2;
}

/* --- リンクカード（カード全体が <a>） ------------------------------------ */

.about-next__card,
.service-area__card,
.svc-others__card,
.svc-related__card,
.other-service__card,
.thanks-next__card,
.notfound-nav__card {
  position: relative;
  padding-bottom: calc(var(--pad-card) * 2 + 42px);
  text-decoration: none;
  color: inherit;
}

.about-next__card:hover,
.service-area__card:hover,
.svc-others__card:hover,
.svc-related__card:hover,
.other-service__card:hover,
.thanks-next__card:hover,
.notfound-nav__card:hover {
  border-color: var(--brand);
  background-color: var(--panel);
  box-shadow: none;
  transform: translateY(-4px);
  color: inherit;
}

/* リンクカードの左下に置く単独の丸矢印（42px） */
.about-next__card > .btn__arrow,
.svc-others__card > .btn__arrow,
.svc-related__card > .btn__arrow,
.other-service__card > .btn__arrow,
.thanks-next__card > .btn__arrow,
.notfound-nav__card > .btn__arrow {
  --arrow-size: 42px;
  position: absolute;
  left: var(--pad-card);
  bottom: var(--pad-card);
  width: 42px;
  height: 42px;
  color: var(--brand);
}

/* リンクカード内の見出し・本文 */
.about-next__title,
.svc-others__title,
.thanks-next__title {
  color: var(--brand);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.6;
}

.about-next__text,
.thanks-next__text,
.svc-others__keywords {
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 2;
}


/* ==========================================================================
   05. 共通パターン B｜注記・濃色バンド・白い全幅バンド（CTA）
   ========================================================================== */

/* --- 締めの一文（白いパネル） -------------------------------------------- */
.about-banner--sm,
.phase__note,
.deliv__note,
.priority__note,
.svc-issues__note,
.svc-after__note,
.company-business__note,
.flow-approach__note,
.flow-maturity__note,
.flow-priority__note,
.flow-phase__note,
.flow-deliverables__note {
  margin-top: var(--blk-gap);
  padding: clamp(22px, 2.6vw, 36px) clamp(24px, 3vw, 48px);
  border-radius: var(--r);
  background-color: var(--panel);
  color: var(--brand);
  font-size: clamp(.95rem, 1.3vw, 1.125rem);
  font-weight: 500;
  line-height: 2;
  text-align: center;
}

.svc-after__note a {
  color: var(--brand);
  text-underline-offset: .25em;
}

/* --- 濃色の強調バンド ---------------------------------------------------- */
.about-banner,
.svc-banner,
.talent-flow__closing,
.flow-diagnosis__sum {
  position: relative;
  overflow: hidden;
  margin-top: var(--blk-gap);
  padding: clamp(32px, 4.4vw, 64px) clamp(24px, 3.4vw, 56px);
  border-radius: var(--r);
  background-color: var(--teal);
  color: var(--on-teal);
  text-align: center;
}

/* .about-banner--sm は白パネル指定を優先させるため濃色指定を戻す */
.about-banner--sm {
  background-color: var(--panel);
  color: var(--brand);
  padding: clamp(22px, 2.6vw, 36px) clamp(24px, 3vw, 48px);
}

.about-banner .stripes,
.svc-banner__stripes,
.talent-flow__closing-stripes {
  --stripe-color: var(--mint-light);
  --stripe-opacity: .14;
}

.about-banner__text,
.svc-banner__text,
.talent-flow__closing-text,
.flow-diagnosis__sum-text {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--on-teal);
  font-size: clamp(1rem, 1.7vw, 1.375rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: .02em;
}

.about-banner--sm .about-banner__text {
  color: var(--brand);
  font-size: clamp(.95rem, 1.3vw, 1.125rem);
}

.flow-diagnosis__sum-title {
  position: relative;
  z-index: 1;
  margin-bottom: .8em;
  color: var(--on-teal);
  font-family: var(--font-en);
  font-size: clamp(1.05rem, 2vw, 1.625rem);
  font-weight: 600;
  letter-spacing: .08em;
}

/* --- 白い全幅バンド（CTA・締めのセクション） ------------------------------ */
/* 上辺を斜めにカットして淡グレー地から色面を切り替える。
   中に .btn--dark（濃色ボタン）が入るため、地は必ず白にする。 */
.is-service main > section.service-cta,
.is-service-child main > section.cta-band,
.is-service-child main > section.svc-cta,
.is-company main > section.company-cta,
.is-news main > section.news-cta,
.is-profile main > section.profile-closing,
.is-contact main > section.contact-lead,
.is-thanks main > section.thanks,
.is-thanks main > section.thanks-closing,
.is-404 main > section.notfound {
  overflow: hidden;
  padding-top: calc(var(--pad-sec) + clamp(16px, 2.6vw, 46px));
  background-color: var(--panel);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  text-align: center;
}

.service-cta .stripes,
.cta-band__stripes,
.svc-cta__stripes,
.company-cta__stripes,
.news-cta__stripes,
.profile-closing__stripes,
.thanks__stripes,
.thanks-closing__stripes,
.notfound__stripes {
  --stripe-color: var(--mint);
  --stripe-opacity: .1;
}

.service-cta .inr,
.cta-band .inr,
.svc-cta .inr,
.company-cta .inr,
.news-cta .inr,
.profile-closing .inr,
.contact-lead .inr,
.thanks .inr,
.thanks-closing .inr,
.notfound .inr {
  position: relative;
  z-index: 1;
}

/* CTA バンド内の見出し・本文・ボタン */
.service-cta__title,
.cta-band__title,
.svc-cta__title,
.company-cta__title,
.news-cta__title,
.profile-closing__title,
.contact-lead__title,
.thanks__title,
.thanks-closing__title,
.notfound__title {
  color: var(--brand);
  font-size: clamp(1.4rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}

.service-cta__text,
.cta-band__text,
.svc-cta__text,
.company-cta__text,
.news-cta__text,
.profile-closing__text,
.contact-lead__text,
.thanks__text,
.thanks-closing__text,
.notfound__text {
  max-width: 40em;
  margin-inline: auto;
  margin-top: 1.4em;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-align: left;
}

.service-cta .btn,
.cta-band .btn,
.company-cta .btn,
.news-cta .btn,
.profile-closing .btn {
  margin-top: clamp(28px, 3.4vw, 48px);
}

/* CTA バンド内の括弧ラベルは中央に置く */
.company-cta .eyebrow,
.news-cta .eyebrow,
.profile-closing .eyebrow,
.contact-lead .eyebrow,
.thanks .eyebrow {
  margin-bottom: 1.2em;
}

/* 引用符アイコンを中央寄せにする（CTA バンド） */
.company-cta .inr::before,
.news-cta .inr::before,
.profile-closing .inr::before,
.contact-lead .inr::before,
.notfound .inr::before,
.thanks__body::before {
  margin-inline: auto;
  transform: translateX(-9px);
}


/* ==========================================================================
   06. 共通パターン C｜キーワードピル・定義リスト
   ========================================================================== */

/* --- キーワードピル ------------------------------------------------------ */
.svc-lead__keys,
.svc-lead__keywords,
.service-area__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-lead__key,
.svc-lead__keyword,
.service-area__keys > li {
  display: inline-flex;
  align-items: center;
  padding: .5em 1.15em;
  border-radius: 999px;
  background-color: var(--bg, #FFFFFF);
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.5;
}

/* --- 定義リスト（用語 + 説明） ------------------------------------------- */
.priority__list,
.flow-priority__list,
.beforeafter__list,
.privacy__contact {
  margin: 0;
}

.priority__item,
.flow-priority__row,
.beforeafter__item,
.privacy__contact-row {
  display: grid;
  grid-template-columns: minmax(0, 8em) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 28px);
  padding-block: clamp(14px, 1.6vw, 20px);
  border-bottom: var(--rule);
}

.priority__item:first-child,
.flow-priority__row:first-child,
.beforeafter__item:first-child,
.privacy__contact-row:first-child {
  border-top: var(--rule);
}

.priority__term,
.flow-priority__term,
.beforeafter__term,
.privacy__contact-term {
  margin: 0;
  color: var(--brand);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: .02em;
}

.priority__desc,
.flow-priority__desc,
.beforeafter__desc,
.privacy__contact-desc {
  margin: 0;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 1.9;
}


/* ==========================================================================
   07. 共通パターン D｜番号付き縦フロー・横並びステップ
   ========================================================================== */

/* --- 番号付き縦フロー（番号 + 本文） ------------------------------------- */
.about-philosophy__list,
.profile-philosophy__list,
.svc-steps__list,
.talent-flow__list,
.impl__list,
.flow-implementation__list {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-philosophy__item,
.profile-philosophy__item,
.svc-steps__item,
.talent-flow__item,
.impl__item,
.flow-implementation__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding: clamp(20px, 2.4vw, 32px) clamp(22px, 2.8vw, 40px);
  border-radius: var(--r);
  background-color: var(--panel);
}

/* 番号 + 見出し + 本文の3要素で並ぶ形（番号を2行ぶち抜き） */
.impl__item,
.flow-implementation__item {
  grid-template-rows: auto auto;
  align-items: center;
}

.impl__item > .numcircle,
.flow-implementation__item > .numcircle {
  grid-row: 1 / 3;
}

.about-philosophy__title,
.profile-philosophy__title,
.svc-steps__title,
.talent-flow__title,
.impl__title,
.flow-implementation__title {
  color: var(--brand);
  font-size: clamp(1.05rem, 1.7vw, 1.375rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
}

/* 改善思想（Values）の英語名 */
.about-philosophy__en,
.profile-philosophy__en {
  margin-top: .15em;
  color: var(--brand-ink);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .08em;
}

.about-philosophy__text,
.profile-philosophy__text,
.svc-steps__text,
.talent-flow__text,
.impl__text,
.flow-implementation__text {
  margin-top: .5em;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 1.95;
}

/* --- 横並びステップ（5フェーズ） ----------------------------------------- */
.phase__list,
.flow-phase__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase__item,
.flow-phase__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2vw, 26px);
  border-radius: var(--r);
  background-color: var(--panel);
}

/* ステップ間の矢印 */
.phase__item + .phase__item::before,
.flow-phase__item + .flow-phase__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(clamp(14px, 1.6vw, 24px) / -2 - 4px);
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--brand);
  border-right: 1px solid var(--brand);
  transform: translateY(-50%) rotate(45deg);
}

.phase__num,
.flow-phase__label {
  margin: 0;
  color: var(--brand-ink);
  font-family: var(--font-en);
  font-size: var(--fs-en);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.flow-phase__no {
  margin-left: .6em;
  color: var(--brand);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: .04em;
}

.phase__title,
.flow-phase__title {
  color: var(--brand);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
}

.phase__text,
.flow-phase__text {
  color: var(--ink-mid);
  font-size: var(--fs-sm);
  line-height: 1.9;
}


/* ==========================================================================
   08. /about/ 私たちについて
   ========================================================================== */

/* --- リード（中央揃え） -------------------------------------------------- */
.about-lead .inr {
  text-align: center;
}

.about-lead .inr::before {
  margin-inline: auto;
  transform: translateX(-9px);
  color: var(--teal);
}

.about-lead .eyebrow {
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.about-lead__title {
  color: var(--brand);
  font-size: clamp(1.7rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .03em;
  font-feature-settings: "palt" 1;
}

.about-lead__title-sub,
.about-lead__title-main {
  display: block;
}

.about-lead__title-sub {
  font-size: .82em;
}

.about-lead__text {
  max-width: 34em;
  margin-inline: auto;
  margin-top: clamp(22px, 2.6vw, 36px);
  color: var(--ink-mid);
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 2.2;
}

.about-lead__note {
  margin-top: 1.6em;
  color: var(--brand-ink);
  font-family: var(--font-en);
  font-size: var(--fs-sm);
  letter-spacing: .12em;
}

/* --- 課題（背景写真つき） ------------------------------------------------ */
.about-problem {
  overflow: hidden;
  isolation: isolate;
}

.about-problem__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  opacity: .16;
}

.about-problem__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 課題カードの番号（01〜06） */
.about-problem__num {
  color: var(--brand-ink);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
}

/* --- 構造（写真 + 4象限） ------------------------------------------------ */
.about-structure__body {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

.about-structure__fig {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
}

.about-structure__fig img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}

.about-structure__center {
  margin-bottom: var(--gap-card);
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--r);
  background-color: var(--teal);
  color: var(--on-teal);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
}

/* --- アプローチ（01〜06） ------------------------------------------------ */
.about-approach__item {
  gap: 1rem;
}

.about-approach__title {
  color: var(--brand);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
}

.about-approach__text {
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 1.95;
}

/* --- 改善思想 ------------------------------------------------------------ */
.about-philosophy__body {
  min-width: 0;
}

/* --- ゴール（背景写真 + 自走の定義） ------------------------------------- */
.about-goal {
  overflow: hidden;
  isolation: isolate;
}

.about-goal__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  opacity: .18;
}

.about-goal__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-goal__define {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  margin-bottom: var(--blk-gap);
  padding: clamp(26px, 3.2vw, 48px);
  border-radius: var(--r);
  background-color: var(--teal);
  color: var(--on-teal);
}

.about-goal__word {
  flex: none;
  color: var(--on-teal);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: .16em;
}

.about-goal__text {
  min-width: 0;
  color: var(--on-teal);
  font-size: var(--fs-body);
  line-height: 2;
}

/* --- 次に読む ------------------------------------------------------------ */
.about-next__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-next__item {
  display: flex;
}

.about-next__card .eyebrow {
  margin-bottom: .4em;
}


/* ==========================================================================
   09. /service/ サービス紹介（一覧）
   ========================================================================== */

.service-area__list,
.offer__list,
.deliv__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-area__item {
  display: flex;
}

.service-area__card {
  gap: 0;
  padding: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.service-area__figure {
  width: 100%;
  margin: 0;
}

.service-area__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.service-area__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  width: 100%;
  padding: var(--pad-card);
}

.service-area__title {
  font-size: clamp(1.2rem, 2vw, 1.625rem);
}

.service-area__text {
  color: var(--ink-mid);
  line-height: 2;
}

.service-area__keys {
  margin-top: .4rem;
}

.service-area__btn {
  margin-top: auto;
  padding-top: 1.2rem;
}

/* --- 提供形態・成果物 ---------------------------------------------------- */
.offer__title,
.deliv__title {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.deliv__card {
  gap: 1rem;
}

.deliv__num {
  margin: 0;
}


/* ==========================================================================
   10. /service/ 下層共通（svc-lead / 関連カード / 一覧へ戻る）
   ========================================================================== */

.svc-lead .inr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3.2vw, 56px);
  align-items: center;
}

.svc-lead__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
}

.svc-lead__body .sec-head {
  margin-bottom: .4rem;
}

.svc-lead__body .sec-head::before {
  content: none;
}

.svc-lead__title,
.svc-lead__catch {
  color: var(--brand);
  font-size: clamp(1.4rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}

.svc-lead__text {
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 2.15;
}

.svc-lead__figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
}

.svc-lead__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- 関連カード・一覧へ戻る ---------------------------------------------- */
.svc-others__more,
.svc-related__more,
.other-service__more,
.talent-support__link,
.company-business__action {
  margin-top: var(--blk-gap);
  text-align: center;
}

.svc-others__card .eyebrow,
.svc-related__card .eyebrow,
.other-service__card .eyebrow,
.thanks-next__card .eyebrow {
  margin-bottom: .3em;
}


/* ==========================================================================
   11. /service/organization/ 組織改善
   ========================================================================== */

.svc-points__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-points__item {
  gap: 1rem;
}

/* --- 無形・有形の説明（改善の進め方のマトリクス・組織改善の課題） ------- */
.axis-legend {
  display: inline-block;
  padding: .45em 1.3em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--white);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .04em;
}

/* --- 起きていること（2カード） ------------------------------------------- */
.svc-issues__item {
  gap: .8rem;
}

.svc-issues__axis {
  margin: 0;
  color: var(--brand-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .1em;
}

.svc-issues__item .card__title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.svc-issues__keys {
  margin: 0;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 1.95;
}

.svc-issues__result {
  width: 100%;
  margin-top: .6rem;
  padding: clamp(16px, 1.8vw, 24px);
  border-radius: var(--r);
  background-color: var(--bg, #FFFFFF);
}

.svc-issues__label {
  margin: 0 0 .5em;
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
}

.svc-issues__result .card__text {
  margin-top: 0;
  line-height: 1.95;
}

/* --- 実装ステップ内の本文ラッパー ---------------------------------------- */
.svc-steps__body {
  min-width: 0;
}

/* --- セクション内に置かれた CTA（.svc-others の中） ----------------------- */
.svc-others .svc-cta {
  position: relative;
  overflow: hidden;
  margin-top: var(--blk-gap);
  padding: clamp(32px, 4vw, 60px) clamp(24px, 3.4vw, 56px);
  border-radius: var(--r);
  background-color: var(--panel);
  text-align: center;
}

.svc-others .svc-cta__text {
  position: relative;
  z-index: 1;
  max-width: 40em;
  margin-inline: auto;
  color: var(--brand);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 2;
}

.svc-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(24px, 3vw, 40px);
}


/* ==========================================================================
   12. /service/operation/ 業務改善
   ========================================================================== */

/* --- BEFORE / AFTER 比較 ------------------------------------------------- */
.beforeafter__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
}

.beforeafter__col {
  padding: var(--pad-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background-color: var(--panel);
}

.beforeafter__col--after {
  border-color: var(--teal-strong);
}

.beforeafter__figure {
  margin: 0 0 clamp(18px, 2vw, 26px);
  border-radius: var(--r);
  overflow: hidden;
}

.beforeafter__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.beforeafter__col--before .beforeafter__figure img {
  filter: grayscale(1);
}

.beforeafter__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8em;
  margin-bottom: clamp(14px, 1.6vw, 20px);
  color: var(--brand);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
}

.beforeafter__label {
  display: inline-flex;
  align-items: center;
  padding: .45em 1.2em;
  border-radius: 999px;
  background-color: var(--ink-sub);
  color: var(--white);
  font-family: var(--font-en);
  font-size: var(--fs-en);
  font-weight: 600;
  letter-spacing: .16em;
}

.beforeafter__col--after .beforeafter__label {
  background-color: var(--teal-strong);
}

/* 中央の矢印 */
.beforeafter__arrow {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
}

.beforeafter__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translate(-70%, -50%) rotate(45deg);
}

/* --- 優先順位 ------------------------------------------------------------ */
.priority__body {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 56px);
  align-items: center;
}

.priority__figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
}

.priority__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

.priority__list {
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
}

.priority__item:first-child {
  border-top: none;
  padding-top: 0;
}

.priority__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}


/* ==========================================================================
   13. /service/talent/ 人材育成
   ========================================================================== */

.talent-flow__list {
  gap: clamp(28px, 3.4vw, 44px);
}

.talent-flow__body {
  min-width: 0;
}

/* 項目間の下向き矢印 */
.talent-flow__arrow {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(28px, 3.4vw, 44px) / -2 - 7px);
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateX(-50%) rotate(45deg);
}

.talent-support__grid {
  align-items: stretch;
}

.talent-support__card {
  gap: 1rem;
}


/* ==========================================================================
   14. /service/dx-ai/ DX・AI
   ========================================================================== */

.svc-flow__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-flow__item {
  gap: 1rem;
}

/* --- AFTER（写真 + 4項目） ----------------------------------------------- */
.svc-after__body {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 56px);
  align-items: center;
}

.svc-after__figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background-color: var(--panel);
}

.svc-after__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.svc-after__caption {
  padding: .9em 1.2em;
  color: var(--brand);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
}

.svc-after__list {
  margin: 0;
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
  list-style: none;
}

.svc-after__item + .svc-after__item {
  margin-top: clamp(16px, 1.8vw, 24px);
  padding-top: clamp(16px, 1.8vw, 24px);
  border-top: var(--rule);
}

.svc-after__title {
  color: var(--brand);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
}

.svc-after__text {
  margin-top: .4em;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 1.95;
}

/* --- CTA（白バンド内のパネル） ------------------------------------------- */
.svc-cta__inner {
  position: relative;
  z-index: 1;
}

.svc-cta__btn {
  margin-top: clamp(28px, 3.4vw, 48px);
}


/* ==========================================================================
   15. /flow/ 改善の進め方
   ========================================================================== */

.flow-approach__list,
.flow-diagnosis__list,
.flow-maturity__list,
.flow-roadmap__list,
.flow-deliverables__list,
.flow-goal__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-approach__item,
.flow-deliverables__item,
.flow-goal__item {
  gap: 1rem;
}

/* --- 診断（写真カード） -------------------------------------------------- */
.flow-diagnosis__item {
  position: relative;
  gap: 1rem;
  padding-top: 0;
  overflow: visible;
}

.flow-diagnosis__figure {
  width: calc(100% + var(--pad-card) * 2);
  margin: 0 calc(var(--pad-card) * -1) clamp(14px, 1.6vw, 20px);
  border-radius: var(--r) var(--r) 0 0;
  overflow: hidden;
}

.flow-diagnosis__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.flow-diagnosis__item > .numcircle {
  margin-top: calc(clamp(44px, 4.4vw, 56px) / -2 - clamp(14px, 1.6vw, 20px));
  border: 2px solid var(--white);
}

/* --- マトリクス表 -------------------------------------------------------- */
.flow-matrix .table-scroll {
  border-radius: var(--r);
  background-color: var(--panel);
}

.matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--panel);
}

.matrix__caption {
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px) 0;
  color: var(--ink-sub);
  font-size: var(--fs-sm);
  line-height: 1.8;
  text-align: left;
  caption-side: top;
}

.matrix th,
.matrix td {
  border: none;
  border-bottom: var(--rule);
  border-right: var(--rule);
  vertical-align: top;
}

.matrix tr > *:last-child {
  border-right: none;
}

.matrix tbody tr:last-child > * {
  border-bottom: none;
}

.matrix__corner {
  background-color: var(--panel);
}

.matrix__axis {
  padding: clamp(14px, 1.6vw, 20px);
  background-color: var(--teal);
  color: var(--on-teal);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
  vertical-align: middle;
}

.matrix thead .matrix__axis {
  text-align: center;
}

/* 列見出しの「目に見えないもの／目に見えるもの」 */
.matrix__axis-note {
  display: block;
  margin-top: .2em;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .02em;
}

.matrix__cell {
  width: 38%;
  padding: clamp(18px, 2.2vw, 28px);
}

.matrix__area {
  color: var(--brand);
  font-size: clamp(1.1rem, 1.8vw, 1.375rem);
  font-weight: 700;
  letter-spacing: .08em;
}

.matrix__keys {
  margin-top: .5em;
  color: var(--brand-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .04em;
}

.matrix__voice {
  margin-top: .9em;
  padding-left: 1em;
  border-left: 2px solid var(--mint-light);
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 1.9;
}

.matrix__result {
  margin-top: 1em;
  padding: clamp(14px, 1.6vw, 20px);
  border-radius: var(--r);
  background-color: var(--bg, #FFFFFF);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.9;
}

/* --- 成熟度 ×△○◎ ------------------------------------------------------- */
.flow-maturity__item {
  align-items: center;
  gap: .9rem;
  text-align: center;
}

.flow-maturity__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 6vw, 76px);
  height: clamp(56px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.flow-maturity__item--accent {
  background-color: var(--teal);
}

.flow-maturity__item--accent .flow-maturity__mark {
  border-color: var(--on-teal);
  color: var(--on-teal);
}

.flow-maturity__item--accent .card__title {
  color: var(--on-teal);
}

.flow-maturity__item--accent .card__text {
  color: var(--on-teal);
}

/* --- 優先順位（写真 + 定義リスト） --------------------------------------- */
.flow-priority__body {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  gap: clamp(24px, 3.2vw, 56px);
  align-items: center;
}

.flow-priority__figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
}

.flow-priority__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

.flow-priority__list {
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
}

.flow-priority__row:first-child {
  border-top: none;
  padding-top: 0;
}

.flow-priority__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* --- ロードマップ -------------------------------------------------------- */
.flow-roadmap__item {
  gap: .8rem;
  padding-top: 0;
}

.flow-roadmap__figure {
  width: calc(100% + var(--pad-card) * 2);
  margin: 0 calc(var(--pad-card) * -1) clamp(14px, 1.6vw, 20px);
  border-radius: var(--r) var(--r) 0 0;
  overflow: hidden;
}

.flow-roadmap__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.flow-roadmap__item > .numcircle {
  margin-top: calc(clamp(44px, 4.4vw, 56px) / -2 - clamp(14px, 1.6vw, 20px));
  border: 2px solid var(--white);
}

.flow-roadmap__term {
  margin: 0;
  color: var(--brand-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .12em;
}

/* --- ゴール -------------------------------------------------------------- */
.flow-goal {
  overflow: hidden;
  isolation: isolate;
}

.flow-goal__deco {
  z-index: -1;
  --stripe-opacity: .1;
}

.flow-goal__key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  margin-bottom: var(--blk-gap);
  padding: clamp(26px, 3.2vw, 48px);
  border-radius: var(--r);
  background-color: var(--teal);
  color: var(--on-teal);
}

.flow-goal__word {
  flex: none;
  margin: 0;
  color: var(--on-teal);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: .16em;
}

.flow-goal__def {
  min-width: 0;
  margin: 0;
  color: var(--on-teal);
  font-size: var(--fs-body);
  line-height: 2;
}

.flow-goal__cta {
  margin-top: var(--blk-gap);
  padding: clamp(32px, 4vw, 60px) clamp(24px, 3.4vw, 56px);
  border-radius: var(--r);
  background-color: var(--panel);
  text-align: center;
}

.flow-goal__cta-text {
  max-width: 36em;
  margin-inline: auto;
  color: var(--brand);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.8;
}

.flow-goal__cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(24px, 3vw, 40px);
}


/* ==========================================================================
   16. /profile/ 代表プロフィール
   ========================================================================== */

.profile__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  align-items: center;
}

.profile__hero-figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
}

.profile__hero-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile__hero-body {
  position: relative;
  z-index: 1;
  margin-left: clamp(-80px, -4vw, -32px);
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
}

.profile__role {
  color: var(--brand-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .14em;
}

.profile__name {
  margin-top: .5em;
  color: var(--brand);
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
}

.profile__lead {
  margin-top: 1.4em;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 2.15;
}

/* --- 強み ---------------------------------------------------------------- */
.profile-strength__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-strength__item {
  gap: 1rem;
}

/* --- 帯（写真） ---------------------------------------------------------- */
.profile-band {
  position: relative;
  overflow: hidden;
  height: clamp(200px, 26vw, 380px);
}

.profile-band__figure {
  margin: 0;
  height: 100%;
}

.profile-band__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-band__stripes {
  z-index: 1;
  --stripe-color: var(--brand);
  --stripe-opacity: .3;
}

/* --- 改善思想 ------------------------------------------------------------ */
.profile-philosophy__body {
  min-width: 0;
}


/* ==========================================================================
   17. /company/ 会社情報
   ========================================================================== */

.company-outline__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r);
  overflow: hidden;
  background-color: var(--panel);
}

.company-outline__table th,
.company-outline__table td {
  padding: clamp(16px, 1.9vw, 24px) clamp(18px, 2.2vw, 32px);
  border: none;
  border-bottom: var(--rule);
  font-size: var(--fs-body);
  line-height: 1.9;
  text-align: left;
  vertical-align: top;
}

.company-outline__table tr:last-child th,
.company-outline__table tr:last-child td {
  border-bottom: none;
}

.company-outline__table th {
  width: 12em;
  background-color: var(--bg, #FFFFFF);
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.company-outline__table td {
  color: var(--ink);
}

/* --- 事業内容 ------------------------------------------------------------ */
.company-business__card {
  gap: 1rem;
}

/* --- 代表について -------------------------------------------------------- */
.company-rep__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
  gap: clamp(24px, 3.2vw, 56px);
  align-items: center;
}

.company-rep__text {
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
}

.company-rep__text .sec-head {
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.company-rep__name {
  color: var(--brand);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: .1em;
}

.company-rep__role {
  margin-top: .6em;
  color: var(--brand-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .14em;
}

.company-rep__lead {
  margin-top: 1.3em;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 2.15;
}

.company-rep__text .btn {
  margin-top: clamp(24px, 3vw, 40px);
}

.company-rep__figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
}

.company-rep__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


/* ==========================================================================
   18. /news/ お知らせ
   ========================================================================== */

.news-index__filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 20px);
  margin-bottom: var(--blk-gap);
}

.news-index__filter-label {
  color: var(--brand-ink);
  font-family: var(--font-en);
  font-size: var(--fs-en);
  font-weight: 600;
  letter-spacing: .16em;
}

.news-index__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-index__cat-current {
  display: inline-flex;
  align-items: center;
  padding: .5em 1.4em;
  border-radius: 999px;
  background-color: var(--teal-strong);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .06em;
}

.news-index__list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-card);
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-entry {
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
}

.news-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
}

.news-entry__date {
  color: var(--brand);
  font-family: var(--font-en);
  font-size: clamp(.875rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}

.news-entry__cat {
  display: inline-flex;
  align-items: center;
  padding: .4em 1.2em;
  border-radius: 999px;
  background-color: var(--teal-strong);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .06em;
}

.news-entry__title {
  margin-top: clamp(14px, 1.8vw, 22px);
  color: var(--brand);
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}

.news-entry__body {
  margin-top: clamp(18px, 2vw, 28px);
  padding-top: clamp(18px, 2vw, 28px);
  border-top: var(--rule);
}

.news-entry__text {
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 2.15;
}

.news-entry__text + .news-entry__text {
  margin-top: 1.4em;
}

.news-entry__links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 16px);
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}


/* ==========================================================================
   19. /contact/ お問い合わせ（フォーム一式）
   ========================================================================== */

.contact-lead__title {
  margin-top: .2em;
}

.contact-lead__text + .contact-lead__text {
  margin-top: 1.2em;
}

/* --- フォーム本体 -------------------------------------------------------- */
.form {
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
}

.form__row {
  display: grid;
  grid-template-columns: minmax(0, 15em) minmax(0, 1fr);
  gap: clamp(10px, 1.6vw, 28px);
  align-items: start;
  padding-block: clamp(18px, 2.2vw, 28px);
  border-bottom: var(--rule);
}

.form__row:first-child {
  padding-top: 0;
}

/* チェックボックス群の行は fieldset が行全体を占める（legend の描画差を避ける） */
.form__row > .form__fieldset {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.form__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8em;
  padding-top: .9em;
  color: var(--brand);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: .04em;
}

.form__label--legend {
  width: 100%;
  padding-top: 0;
  padding-bottom: .9em;
}

.form__req,
.form__opt {
  display: inline-flex;
  align-items: center;
  padding: .3em 1em;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.5;
}

.form__req {
  background-color: var(--teal);
  color: var(--on-teal);
}

.form__opt {
  background-color: var(--bg, #FFFFFF);
  color: var(--ink-sub);
}

.form__field {
  min-width: 0;
}

.form__input,
.form__select,
.form__textarea {
  display: block;
  width: 100%;
  padding: .95em 1.1em;
  border: 1px solid var(--line-form);
  border-radius: var(--r);
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: 1.8;
  transition: border-color var(--dur) var(--ease);
}

.form__textarea {
  min-height: 220px;
  resize: vertical;
}

.form__select {
  padding-right: 3rem;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position: calc(100% - 24px) center, calc(100% - 18px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form__input:hover,
.form__select:hover,
.form__textarea:hover {
  border-color: var(--gray);
}

.form__input[aria-invalid="true"],
.form__select[aria-invalid="true"],
.form__textarea[aria-invalid="true"] {
  border-color: #B3261E;
}

.form__help {
  margin-top: .7em;
  color: var(--ink-sub);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.form__error {
  margin-top: .6em;
  color: #B3261E;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.8;
}

.form__error:empty {
  margin-top: 0;
}

/* --- チェックボックス ---------------------------------------------------- */
.form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.form__check {
  display: flex;
  align-items: center;
  gap: .7em;
}

.form__check-input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--line-form);
  border-radius: 5px;
  background-color: var(--white);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.form__check-input:checked {
  border-color: var(--brand);
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.3 3.3L13 5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 15px 15px;
  background-repeat: no-repeat;
}

.form__check-label {
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.7;
  cursor: pointer;
}

/* --- プライバシー同意・送信 ---------------------------------------------- */
.form__privacy {
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--r);
  background-color: var(--bg, #FFFFFF);
  text-align: center;
}

.form__check--privacy {
  justify-content: center;
}

.form__check--privacy .form__check-label a {
  color: var(--brand);
  font-weight: 700;
  text-underline-offset: .25em;
}

.form__privacy .form__error {
  text-align: center;
}

.form__action {
  margin-top: clamp(28px, 3.4vw, 48px);
  text-align: center;
}

.form__submit {
  min-width: min(100%, 320px);
}


/* ==========================================================================
   20. /contact/thanks/ 送信完了
   ========================================================================== */

.thanks__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thanks__note {
  max-width: 40em;
  margin-inline: auto;
  margin-top: 1.6em;
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--r);
  background-color: var(--bg, #FFFFFF);
  color: var(--ink-mid);
  font-size: var(--fs-sm);
  line-height: 1.95;
  text-align: left;
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(28px, 3.4vw, 48px);
}

.thanks-next__list {
  align-items: stretch;
}


/* ==========================================================================
   21. /privacy/ プライバシーポリシー
   ========================================================================== */

.privacy__lead {
  margin-bottom: var(--gap-card);
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 2.15;
}

.privacy__body {
  padding: var(--pad-panel);
  border-radius: var(--r);
  background-color: var(--panel);
}

.privacy__article + .privacy__article {
  margin-top: clamp(32px, 3.6vw, 56px);
  padding-top: clamp(32px, 3.6vw, 56px);
  border-top: var(--rule);
}

.privacy__title {
  color: var(--brand);
  font-size: clamp(1.05rem, 1.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .04em;
}

.privacy__text {
  margin-top: 1.2em;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 2.15;
}

.privacy__list {
  margin: 1.4em 0 0;
  padding-left: 1.4em;
  list-style: none;
}

.privacy__item {
  position: relative;
  color: var(--ink-mid);
  font-size: var(--fs-body);
  line-height: 2.05;
}

.privacy__item + .privacy__item {
  margin-top: .6em;
}

.privacy__item::before {
  content: "";
  position: absolute;
  top: .95em;
  left: -1.4em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal);
}

.privacy__contact {
  margin-top: 1.8em;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--r);
  background-color: var(--bg, #FFFFFF);
}

.privacy__contact-row:first-child {
  border-top: none;
  padding-top: 0;
}

.privacy__contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.privacy__action {
  margin-top: clamp(28px, 3.4vw, 44px);
  text-align: center;
}

.privacy__date {
  margin-top: clamp(24px, 3vw, 40px);
  color: var(--ink-sub);
  font-size: var(--fs-sm);
  text-align: right;
}


/* ==========================================================================
   22. /404.html ページが見つかりません
   ========================================================================== */

.notfound__code {
  color: var(--gray);
  font-family: var(--font-en);
  font-size: clamp(4rem, 13vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .1em;
}

.notfound__title {
  margin-top: clamp(-24px, -1.6vw, -12px);
}

.notfound__action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(28px, 3.4vw, 48px);
}

.notfound-nav__grid {
  align-items: stretch;
}

.notfound-nav__sub {
  margin-top: var(--blk-gap);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r);
  background-color: var(--panel);
}

.notfound-nav__sub-title {
  color: var(--brand);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .04em;
}

.notfound-nav__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
  margin: clamp(16px, 2vw, 24px) 0 0;
  padding: 0;
  list-style: none;
}

.notfound-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9em 1.1em;
  border-radius: var(--r);
  background-color: var(--bg, #FFFFFF);
  color: var(--brand);
  font-size: var(--fs-body);
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}

.notfound-nav__list a:hover {
  background-color: var(--sage-lt);
}

.notfound-nav__list .btn__arrow {
  --arrow-size: 34px;
  width: 34px;
  height: 34px;
}


/* ==========================================================================
   23. フォーカスリング（ページ固有要素）
   ========================================================================== */

.about-next__card:focus-visible,
.service-area__card:focus-visible,
.svc-others__card:focus-visible,
.svc-related__card:focus-visible,
.other-service__card:focus-visible,
.thanks-next__card:focus-visible,
.notfound-nav__card:focus-visible,
.notfound-nav__list a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.form__input:focus-visible,
.form__select:focus-visible,
.form__textarea:focus-visible,
.form__check-input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-color: var(--brand);
}

.page-head .breadcrumb__item a:focus-visible {
  outline: 2px solid var(--mint-light);
  outline-offset: 3px;
}


/* ==========================================================================
   24. レスポンシブ 1200px 以下
   ========================================================================== */

@media (max-width: 1200px) {
  .page-head::before,
  .page-head__deco {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 0 100%);
  }

  .about-structure__body {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  }

  .profile__hero-body {
    margin-left: -28px;
  }

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

  .phase__item + .phase__item::before,
  .flow-phase__item + .flow-phase__item::before {
    content: none;
  }
}


/* ==========================================================================
   25. レスポンシブ 1024px 以下
   ========================================================================== */

@media (max-width: 1024px) {
  .about-structure__body,
  .priority__body,
  .flow-priority__body,
  .svc-after__body,
  .company-rep__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-structure__fig img {
    max-height: 420px;
  }

  /* 代表プロフィールのヒーローは縦積みへ */
  .profile__hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile__hero-body {
    margin-left: 0;
    margin-top: -40px;
    margin-inline: clamp(16px, 4vw, 48px);
  }

  /* 代表について：写真を先に表示 */
  .company-rep__figure {
    order: -1;
  }

  .matrix__cell {
    width: auto;
  }
}


/* ==========================================================================
   26. レスポンシブ 768px 以下（SP）
   ========================================================================== */

@media (max-width: 768px) {

  /* 課題6項目はタブレット・大きめのスマホでは2列 */
  .about-problem__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .is-about,
  .is-service,
  .is-service-child,
  .is-flow,
  .is-profile,
  .is-company,
  .is-news,
  .is-contact,
  .is-thanks,
  .is-privacy,
  .is-terms,
  .is-sitemap,
  .is-404 {
    --pad-sec: clamp(64px, 12vw, 88px);
    --slant: 40px;
  }

  /* 斜めカットを緩める */
  .page-head::before,
  .page-head__deco {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  }

  .page-head {
    padding-bottom: clamp(48px, 12vw, 72px);
  }

  .sec-head {
    margin-bottom: clamp(28px, 6vw, 40px);
  }

  /* 横並びステップを2列へ */
  .phase__list,
  .flow-phase__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 番号付き縦フローは番号を上に置く */
  .about-philosophy__item,
  .profile-philosophy__item,
  .svc-steps__item,
  .talent-flow__item,
  .impl__item,
  .flow-implementation__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    justify-items: start;
    gap: 1rem;
  }

  .impl__item > .numcircle,
  .flow-implementation__item > .numcircle {
    grid-row: auto;
  }

  /* BEFORE / AFTER は縦積み、矢印は下向きに */
  .beforeafter__cols {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .beforeafter__arrow::before {
    transform: translate(-50%, -70%) rotate(135deg);
  }

  /* 定義リストは縦積み */
  .priority__item,
  .flow-priority__row,
  .beforeafter__item,
  .privacy__contact-row {
    grid-template-columns: minmax(0, 1fr);
    gap: .4em;
  }

  /* 会社概要テーブルは行を縦積み */
  .company-outline__table,
  .company-outline__table tbody,
  .company-outline__table tr,
  .company-outline__table th,
  .company-outline__table td {
    display: block;
    width: auto;
  }

  .company-outline__table th {
    padding-bottom: .4em;
    border-bottom: none;
    white-space: normal;
  }

  .company-outline__table tr:last-child td {
    border-bottom: none;
  }

  /* フォームは1列 */
  .form__row {
    grid-template-columns: minmax(0, 1fr);
    gap: .8rem;
  }

  .form__label {
    padding-top: 0;
  }

  .form__checks {
    flex-direction: column;
    gap: .9em;
  }

  /* 濃色バンド・CTA の余白調整 */
  .about-banner,
  .svc-banner,
  .talent-flow__closing,
  .flow-diagnosis__sum {
    padding: clamp(26px, 7vw, 40px) clamp(20px, 5vw, 32px);
  }

  .about-goal__define,
  .flow-goal__key {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .service-cta__text,
  .cta-band__text,
  .svc-cta__text,
  .company-cta__text,
  .news-cta__text,
  .profile-closing__text,
  .contact-lead__text,
  .thanks__text,
  .thanks-closing__text,
  .notfound__text {
    text-align: left;
  }

  .profile__hero-body {
    margin-inline: 0;
    margin-top: -24px;
  }

  .flow-diagnosis__item > .numcircle,
  .flow-roadmap__item > .numcircle {
    margin-top: calc(clamp(44px, 4.4vw, 56px) / -2 - 14px);
  }
}


/* ==========================================================================
   27. レスポンシブ 480px 以下
   ========================================================================== */

@media (max-width: 480px) {

  .about-problem__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .phase__list,
  .flow-phase__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-next__card,
  .service-area__card,
  .svc-others__card,
  .svc-related__card,
  .other-service__card,
  .thanks-next__card,
  .notfound-nav__card {
    padding-bottom: calc(var(--pad-card) * 2 + 34px);
  }

  .about-next__card > .btn__arrow,
  .svc-others__card > .btn__arrow,
  .svc-related__card > .btn__arrow,
  .other-service__card > .btn__arrow,
  .thanks-next__card > .btn__arrow,
  .notfound-nav__card > .btn__arrow {
    --arrow-size: 34px;
    width: 34px;
    height: 34px;
  }

  .service-area__card {
    padding-bottom: 0;
  }

  .thanks__actions .btn,
  .notfound__action .btn,
  .flow-goal__cta-btns .btn,
  .svc-cta__actions .btn {
    width: 100%;
  }

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

  .news-entry__links {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ==========================================================================
   28. prefers-reduced-motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .about-next__card,
  .service-area__card,
  .svc-others__card,
  .svc-related__card,
  .other-service__card,
  .thanks-next__card,
  .notfound-nav__card,
  .form__input,
  .form__select,
  .form__textarea,
  .form__check-input,
  .notfound-nav__list a {
    transition: none;
  }

  .about-next__card:hover,
  .service-area__card:hover,
  .svc-others__card:hover,
  .svc-related__card:hover,
  .other-service__card:hover,
  .thanks-next__card:hover,
  .notfound-nav__card:hover {
    transform: none;
  }
}
