/* DXビジョンのページ専用。色・文字・余白は design.css の :root トークンを使う。 */
.dx-page main > section.dx-sec { padding-block: 96px; border-top: 0; }
.dx-page main > section.dx-sec--wash { background: var(--sky-wash); }
.dx-page .dx-sec .wrap > * { max-width: none; }
.dx-page h2, .dx-page h3 { margin: 0; }

/* ---- 冒頭 ---- */
.dx-page .dx-eyebrow { margin: 0 0 12px; color: var(--sea); font-size: var(--label); font-weight: 700; letter-spacing: .22em; line-height: 1.5; }
.dx-page .dx-date { margin-top: 20px; color: var(--text); font-size: var(--label); }
.dx-page .dx-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.dx-page .dx-toc a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 20px 8px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: var(--label); font-weight: 700; line-height: 1.4; transition: border-color .2s, background .2s; }
.dx-page .dx-toc a span { color: var(--sea); font-size: .8125rem; letter-spacing: .08em; }
.dx-page .dx-toc a:hover { border-color: var(--sea); background: var(--sky-wash); text-decoration: none; }

/* ---- 章の見出し ---- */
.dx-page .dx-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 48px; }
.dx-page .dx-num { flex-shrink: 0; color: var(--sea); font-size: var(--heading); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.dx-page .dx-head h2 { margin: 0; padding-left: 22px; border-left: 2px solid var(--dark-line); font-size: var(--chapter); line-height: 1.5; letter-spacing: -.02em; }
.dx-page .dx-sub { margin: 56px 0 24px; padding: 0; font-size: var(--subheading); line-height: 1.5; letter-spacing: -.025em; }
.dx-page .dx-sub:first-child { margin-top: 0; }
.dx-page .dx-sub::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 16px; background: var(--sea); border-radius: 2px; }
.dx-page .dx-lede { max-width: 46em; margin-bottom: 32px; }
.dx-page .dx-lede + .dx-sub { margin-top: 40px; }
.dx-page .dx-after { max-width: 46em; margin-top: 36px; font-weight: 700; }

/* ---- 01 目的 ---- */
.dx-page .dx-hero { position: relative; overflow: hidden; padding: 56px 56px 52px; color: #fff; background: linear-gradient(135deg, var(--sea-deep) 0%, #145aa6 62%, var(--sea) 100%); border-radius: 28px; }
.dx-page .dx-hero::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 360px; height: 360px; border: 56px solid rgb(255 255 255 / .08); border-radius: 50%; pointer-events: none; }
.dx-page .dx-hero h3 { position: relative; z-index: 1; max-width: 22em; font-size: var(--heading); line-height: 1.5; letter-spacing: -.03em; text-wrap: balance; }
.dx-page .dx-hero .dx-quote { position: relative; z-index: 1; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .3); font-size: var(--subheading); font-weight: 700; line-height: 1.6; }
.dx-page .dx-prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 56px; margin-top: 44px; }
.dx-page .dx-prose p { margin: 0; }

/* ---- 02 環境変化 ---- */
.dx-page .dx-cards4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dx-page .dx-card { position: relative; padding: 32px 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 30px rgb(12 63 120 / .06); }
.dx-page .dx-card .dx-no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px; color: #fff; background: var(--sea); border-radius: 50%; font-size: 1.125rem; font-weight: 700; line-height: 1; }
.dx-page .dx-card h3 { margin-bottom: 12px; font-size: var(--chapter); line-height: 1.5; letter-spacing: -.02em; }
.dx-page .dx-card p { margin: 0; color: var(--text); line-height: 1.9; }
.dx-page .dx-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.dx-page .dx-panel { padding: 32px 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.dx-page .dx-panel h3 { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: var(--chapter); line-height: 1.5; letter-spacing: -.02em; }
.dx-page .dx-panel--risk { background: var(--ink); border-color: var(--ink); color: #fff; }
.dx-page .dx-panel--risk h3 { border-color: rgb(255 255 255 / .25); }
.dx-page .dx-list { margin: 0; padding: 0; list-style: none; }
.dx-page .dx-list li { position: relative; padding-left: 26px; line-height: 1.8; }
.dx-page .dx-list li + li { margin-top: 12px; }
.dx-page .dx-list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 9px; height: 9px; background: var(--sea); border-radius: 50%; }
.dx-page .dx-panel--risk .dx-list li::before { background: #8fc4f5; }

/* ---- 03 ビジネスモデル ---- */
.dx-page .dx-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.dx-page .dx-area { display: flex; flex-direction: column; padding: 36px 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 10px 30px rgb(12 63 120 / .06); }
.dx-page .dx-area .dx-tag { align-self: flex-start; margin-bottom: 16px; padding: 4px 16px; color: var(--sea-deep); background: var(--sky-wash); border-radius: 999px; font-size: var(--label); font-weight: 700; letter-spacing: .06em; line-height: 1.7; }
.dx-page .dx-area h3 { margin-bottom: 14px; font-size: var(--subheading); line-height: 1.45; letter-spacing: -.02em; }
.dx-page .dx-area > p { margin: 0; color: var(--text); line-height: 1.9; }
.dx-page .dx-area .dx-policy { margin: 28px 0 14px; color: var(--sea); font-size: var(--label); font-weight: 700; letter-spacing: .08em; }
.dx-page .dx-steps { margin: 0; padding: 0; list-style: none; counter-reset: dx; }
.dx-page .dx-steps li { position: relative; display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); line-height: 1.7; counter-increment: dx; }
.dx-page .dx-steps li::before { content: counter(dx); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: 1px; color: var(--sea-deep); background: var(--sky-wash); border-radius: 50%; font-size: .9375rem; font-weight: 700; }
.dx-page .dx-area .dx-goal { margin-top: auto; padding-top: 24px; font-weight: 700; }
.dx-page .dx-join { margin-top: 56px; padding: 40px 40px 36px; background: #fff; border: 1px solid var(--line); border-radius: 28px; }
.dx-page .dx-join .dx-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin-bottom: 28px; }
.dx-page .dx-join .dx-pill { padding: 20px 24px; color: var(--sea-deep); background: var(--sky-wash); border-radius: 20px; text-align: center; font-weight: 700; line-height: 1.6; }
.dx-page .dx-join .dx-pill small { display: block; color: var(--text); font-size: var(--label); font-weight: 400; }
.dx-page .dx-join .dx-x { color: var(--sea); font-size: 1.75rem; font-weight: 600; line-height: 1; }
.dx-page .dx-join .dx-sub { margin: 0 0 20px; text-align: center; }
.dx-page .dx-join .dx-sub::before { margin-inline: auto; }
.dx-page .dx-join p { max-width: 46em; margin: 0 auto; }
.dx-page .dx-join p + p { margin-top: 1em; }

/* ---- 04 体制 ---- */
.dx-page .dx-org { display: grid; justify-items: center; gap: 0; }
.dx-page .dx-org .dx-role { width: 100%; padding: 28px 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 30px rgb(12 63 120 / .06); }
.dx-page .dx-org .dx-role h3 { margin-bottom: 10px; font-size: var(--chapter); line-height: 1.5; letter-spacing: -.02em; }
.dx-page .dx-org .dx-role p { margin: 0; color: var(--text); line-height: 1.85; }
.dx-page .dx-org .dx-role--top { max-width: 640px; color: #fff; background: linear-gradient(135deg, var(--sea-deep), #145aa6); border-color: var(--sea-deep); text-align: center; }
.dx-page .dx-org .dx-role--top h3 small { display: block; margin-bottom: 4px; color: #cfe6fa; font-size: var(--label); font-weight: 400; letter-spacing: .04em; }
.dx-page .dx-org .dx-role--top p { color: #e6f2fc; }
.dx-page .dx-org .dx-stem { width: 2px; height: 36px; background: var(--dark-line); }
.dx-page .dx-org .dx-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; padding-top: 0; }
.dx-page .dx-org .dx-row::before { content: ""; position: absolute; top: -1px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; background: var(--dark-line); }
.dx-page .dx-org .dx-row .dx-role { position: relative; margin-top: 0; }
.dx-page .dx-org .dx-row .dx-role::before { content: ""; position: absolute; top: -37px; left: 50%; width: 2px; height: 36px; background: var(--dark-line); transform: translateX(-1px); }
.dx-page .dx-org .dx-row { margin-top: 0; }
.dx-page .dx-talent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.dx-page .dx-talent li { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; line-height: 1.75; }
.dx-page .dx-talent li:nth-child(n+4) { grid-column: span 1; }

/* ---- 05 ITシステム ---- */
.dx-page .dx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dx-page .dx-tile { padding: 28px 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 30px rgb(12 63 120 / .06); }
.dx-page .dx-tile .dx-no { display: block; margin-bottom: 10px; color: var(--sea); font-size: var(--label); font-weight: 700; letter-spacing: .12em; }
.dx-page .dx-tile h3 { margin-bottom: 10px; font-size: var(--chapter); line-height: 1.5; letter-spacing: -.02em; }
.dx-page .dx-tile p { margin: 0; color: var(--text); line-height: 1.85; }
.dx-page .dx-phase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.dx-page .dx-phase li { position: relative; padding: 32px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.dx-page .dx-phase li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -20px; width: 20px; height: 2px; background: var(--sea); }
.dx-page .dx-phase li:not(:last-child)::before { content: ""; position: absolute; top: calc(50% - 4px); right: -21px; width: 9px; height: 9px; border-top: 2px solid var(--sea); border-right: 2px solid var(--sea); transform: rotate(45deg); }
.dx-page .dx-phase .dx-stage { display: inline-block; margin-bottom: 14px; padding: 2px 14px; color: #fff; background: var(--sea); border-radius: 999px; font-size: var(--label); font-weight: 700; letter-spacing: .06em; line-height: 1.8; }
.dx-page .dx-phase h3 { margin-bottom: 10px; font-size: var(--chapter); line-height: 1.5; letter-spacing: -.02em; }
.dx-page .dx-phase p { margin: 0; color: var(--text); line-height: 1.85; }

/* ---- 06 成果指標 ---- */
.dx-page .dx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dx-page .dx-kpi { padding: 0 0 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 30px rgb(12 63 120 / .06); }
.dx-page .dx-kpi h3 { margin-bottom: 24px; padding: 22px 28px; color: var(--sea-deep); background: var(--sky-wash); font-size: var(--chapter); line-height: 1.5; letter-spacing: -.02em; }
.dx-page .dx-kpi .dx-list { padding-inline: 28px; }

/* ---- 07 コミットメント ---- */
.dx-page .dx-commit { padding: 64px 56px 56px; color: #fff; background: linear-gradient(135deg, var(--sea-deep) 0%, #145aa6 70%, var(--sea) 100%); border-radius: 28px; }
.dx-page .dx-commit h3 { max-width: 20em; margin-bottom: 32px; font-size: var(--heading); line-height: 1.5; letter-spacing: -.03em; text-wrap: balance; }
.dx-page .dx-commit p { max-width: 44em; margin: 0; color: #eaf4fd; }
.dx-page .dx-commit p + p { margin-top: 1.1em; }
.dx-page .dx-commit .dx-sign { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .3); color: #fff; font-weight: 700; line-height: 1.8; }
.dx-page .dx-commit .dx-sign small { display: block; color: #cfe6fa; font-size: var(--label); font-weight: 400; }
.dx-page .dx-enact { margin-top: 28px; color: var(--text); font-size: var(--label); text-align: right; }

/* ---- 幅が狭いとき ---- */
@media (max-width: 960px) {
  .dx-page .dx-cards4, .dx-page .dx-split, .dx-page .dx-areas, .dx-page .dx-prose, .dx-page .dx-kpis { grid-template-columns: minmax(0, 1fr); }
  .dx-page .dx-tiles, .dx-page .dx-talent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-page .dx-phase { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .dx-page .dx-phase li:not(:last-child)::after { top: auto; bottom: -36px; right: auto; left: 50%; width: 2px; height: 36px; transform: translateX(-1px); }
  .dx-page .dx-phase li:not(:last-child)::before { top: auto; bottom: -33px; right: auto; left: calc(50% - 4px); transform: rotate(135deg); }
  .dx-page .dx-org .dx-row { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .dx-page .dx-org .dx-row::before { display: none; }
  .dx-page .dx-org .dx-row .dx-role::before { top: -37px; }
}
@media (max-width: 760px) {
  .dx-page main > section.dx-sec { padding-block: 64px; }
  .dx-page .dx-head { flex-direction: column; gap: 10px; margin-bottom: 32px; }
  .dx-page .dx-head h2 { padding-left: 0; border-left: 0; }
  .dx-page .dx-hero, .dx-page .dx-commit { padding: 36px 24px 32px; border-radius: 22px; }
  .dx-page .dx-card, .dx-page .dx-panel, .dx-page .dx-area, .dx-page .dx-tile, .dx-page .dx-join { padding-inline: 22px; }
  .dx-page .dx-tiles, .dx-page .dx-talent { grid-template-columns: minmax(0, 1fr); }
  .dx-page .dx-join .dx-pair { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dx-page .dx-join .dx-x { text-align: center; }
  .dx-page .dx-toc a { min-height: 44px; padding: 6px 16px 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .dx-page .dx-toc a { transition: none; }
}
