/* ==== components/mega-menu.css ==== */
/* メガメニュー（簡易版。見た目の完成形はトップ制作時: 計画 §5-1） */
.mega-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #141414; border-top: 1px solid var(--color-header-line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: var(--color-white);
}
.mega-menu[hidden] { display: none; }
.mega-menu__inner { width: min(calc(100% - 80px), 1240px); margin: 0 auto; padding: 36px 0 32px; }
.mega-menu__label { margin-bottom: 18px; font-size: 12px; color: var(--color-footer-sub); letter-spacing: 0.12em; }
.mega-menu__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.mega-menu__col-title { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.18); }
.mega-menu__col-link { font-size: 15px; font-weight: var(--fw-bold); text-decoration: none; }
.mega-menu__list { display: grid; gap: 4px; }
.mega-menu__link { display: inline-block; padding: 4px 0; font-size: 14px; color: #d6d6d6; text-decoration: none; }
.mega-menu__link:hover, .mega-menu__col-link:hover, .mega-menu__bpo-link:hover { color: var(--color-white); text-decoration: underline; }
.mega-menu__list--company { grid-template-columns: repeat(4, max-content); gap: 8px 40px; }
.mega-menu__bottom {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18);
}
.mega-menu__bpo-link { font-size: 14px; color: #d6d6d6; text-decoration: none; }
.mega-menu__diagnosis-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border-radius: 4px; background: var(--grad-brand); font-size: 14px; font-weight: var(--fw-bold); text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .mega-menu:not([hidden]) { animation: mega-in 0.32s var(--motion-ease-out, ease-out); }
  .mega-menu:not([hidden]) .mega-menu__col,
  .mega-menu:not([hidden]) .mega-menu__bottom,
  .mega-menu:not([hidden]) .mega-menu__list--company > li { animation: mega-item 0.5s var(--motion-ease-out, ease-out) both; }
  .mega-menu__col:nth-child(2) { animation-delay: 0.05s !important; }
  .mega-menu__col:nth-child(3) { animation-delay: 0.1s !important; }
  .mega-menu__col:nth-child(4) { animation-delay: 0.15s !important; }
  .mega-menu__bottom { animation-delay: 0.2s !important; }
  .mega-menu__list--company > li:nth-child(2) { animation-delay: 0.05s !important; }
  .mega-menu__list--company > li:nth-child(3) { animation-delay: 0.1s !important; }
  .mega-menu__list--company > li:nth-child(4) { animation-delay: 0.15s !important; }
  @keyframes mega-in { from { opacity: 0; transform: translate3d(0, -12px, 0); } to { opacity: 1; transform: none; } }
  @keyframes mega-item { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
}
.mega-menu__link { transition: color 0.2s ease, transform 0.25s ease; }
@media (hover: hover) { .mega-menu__link:hover { transform: translateX(4px); } }
/* オフィスデザイン（2026-10-13）: バナー枠をやめた文字リンク1行。BPO事業より控えめ（小さく・薄く） */
.mega-menu__office-link { font-size: 13px; color: #bdbdbd; text-decoration: none; }
.mega-menu__office-link:hover { color: var(--color-white); text-decoration: underline; }
/* 「メディア」パネル（2026-10-13）: 会社概要パネルと同じ並び・動き */
.mega-menu__list--media { grid-template-columns: repeat(4, max-content); gap: 8px 40px; }
@media (prefers-reduced-motion: no-preference) {
  .mega-menu:not([hidden]) .mega-menu__list--media > li { animation: mega-item 0.5s var(--motion-ease-out, ease-out) both; }
  .mega-menu__list--media > li:nth-child(2) { animation-delay: 0.05s !important; }
  .mega-menu__list--media > li:nth-child(3) { animation-delay: 0.1s !important; }
  .mega-menu__list--media > li:nth-child(4) { animation-delay: 0.15s !important; }
}

/* ==== components/drawer-menu.css ==== */
/* スマホのハンバーガーメニュー（07 §3-2 の5段） */
.drawer-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, 0.55);
}
.drawer-menu[hidden] { display: none; }
.drawer-menu__panel {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 420px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--color-header-bg); color: var(--color-white);
  padding: 0 20px 40px;
}
.drawer-menu__head { display: flex; align-items: center; justify-content: space-between; height: 61px; border-bottom: 1px solid var(--color-header-line); margin: 0 -20px 8px; padding: 0 6px 0 20px; }
.drawer-menu__logo img { width: 140px; }
.drawer-menu__close { position: relative; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
.drawer-menu__close-icon::before, .drawer-menu__close-icon::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: var(--color-white);
}
.drawer-menu__close-icon::before { transform: rotate(45deg); }
.drawer-menu__close-icon::after { transform: rotate(-45deg); }
.drawer-menu__heading { margin: 20px 0 6px; font-family: var(--font-en); font-size: 12px; font-weight: 600; color: var(--color-footer-sub); letter-spacing: 0.14em; }
.drawer-menu__list { border-top: 1px solid var(--color-footer-line); }
.drawer-menu__list + .drawer-menu__list { margin-top: 20px; }
.drawer-menu__group { border-bottom: 1px solid var(--color-footer-line); }
.drawer-menu__summary, .drawer-menu__link, .drawer-menu__bpo {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  font-size: 15px; font-weight: var(--fw-bold); text-decoration: none; cursor: pointer; list-style: none;
}
.drawer-menu__summary::-webkit-details-marker { display: none; }
.drawer-menu__summary::after { content: "+"; font-family: var(--font-en); font-size: 20px; font-weight: 500; }
.drawer-menu__details[open] > .drawer-menu__summary::after { content: "−"; }
.drawer-menu__bpo { font-size: 14px; font-weight: var(--fw-regular); color: #d6d6d6; }
.drawer-menu__sublist { padding: 0 0 12px 12px; }
.drawer-menu__sublink { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: #d6d6d6; text-decoration: none; }
.drawer-menu .office-banner { margin-top: 24px; }
.drawer-menu__cta { display: grid; gap: 12px; margin-top: 24px; }
.drawer-menu__cta .c-btn { width: 100%; justify-content: center; }
.drawer-menu__tel { margin-top: 4px; text-align: center; font-size: 18px; font-weight: var(--fw-bold); }
.drawer-menu__tel a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.drawer-menu__hours { text-align: center; font-size: 13px; color: var(--color-footer-sub); }
.drawer-menu__services { margin-top: 24px; }
.drawer-menu__ext-list { display: grid; gap: 0; }
.drawer-menu__ext { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: #d6d6d6; text-decoration: none; }
body.is-drawer-open { overflow: hidden; }

/* 開閉の動き（drawer.js が .is-open を付け外し。閉じる動きが終わってから hidden） */
@media (prefers-reduced-motion: no-preference) {
  .drawer-menu { transition: opacity 0.35s ease; }
  .drawer-menu__panel { transition: transform 0.45s var(--motion-ease-out, ease-out); }
  .drawer-menu:not(.is-open) { opacity: 0; }
  .drawer-menu:not(.is-open) .drawer-menu__panel { transform: translate3d(100%, 0, 0); }
  .drawer-menu__body > *, .drawer-menu .office-banner, .drawer-menu__cta, .drawer-menu__services {
    transition: opacity 0.5s ease, transform 0.6s var(--motion-ease-out, ease-out);
  }
  .drawer-menu:not(.is-open) .drawer-menu__body > *,
  .drawer-menu:not(.is-open) .office-banner,
  .drawer-menu:not(.is-open) .drawer-menu__cta,
  .drawer-menu:not(.is-open) .drawer-menu__services { opacity: 0; transform: translate3d(24px, 0, 0); }
  .drawer-menu.is-open .drawer-menu__body > :nth-child(2) { transition-delay: 0.08s; }
  .drawer-menu.is-open .drawer-menu__body > :nth-child(3) { transition-delay: 0.14s; }
  .drawer-menu.is-open .office-banner { transition-delay: 0.2s; }
  .drawer-menu.is-open .drawer-menu__cta { transition-delay: 0.26s; }
  .drawer-menu.is-open .drawer-menu__services { transition-delay: 0.32s; }
  .drawer-menu__summary::after { transition: transform 0.3s ease; }
  .site-header__burger-lines span { transition: transform 0.3s ease, opacity 0.3s ease; }
}
.drawer-menu__summary:active, .drawer-menu__link:active, .drawer-menu__sublink:active { background: rgba(255, 255, 255, 0.06); }
/* オフィスデザイン（2026-10-13）: バナー枠をやめた文字リンク1行。BPO事業と同じ形で、文字は控えめ */
.drawer-menu__office { display: flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: var(--fw-regular); color: #bdbdbd; text-decoration: none; }
/* 運営サービスのセキュリティチョイス2種はロゴのリンク（sc-logo。2026-10-13） */
.drawer-menu__ext-list .sc-logo-item { padding: 6px 0; }
.drawer-menu__sublist .sc-logo-item { padding: 6px 0; } /* 「メディア」の開閉の中のロゴ（2026-10-13 第2版） */

/* ==== components/sc-logo.css ==== */
/* セキュリティチョイスのロゴのリンク（sc-logo）。2026-10-13 ブラッシュアップ第2弾で共通部品に移した
   （元は pages/security.css・pages/company.css に同じ定義が2つ。中身は同じ）。ロゴは白文字なので濃い地のピル */
.sc-logo-row { margin-top: 12px; }
.sc-logo { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 16px; border-radius: 8px; background: #111111; vertical-align: middle; }
.sc-logo img { display: block; width: auto; height: 26px; }
.sc-logo:hover { background: #2a2a2a; }
.sc-logo:focus-visible { outline: 3px solid #111111; outline-offset: 2px; }
li.sc-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
/* 濃い地（フッター・ドロワー）用: 地と同化しないよう細い枠。フォーカスの枠は白 */
.sc-logo--on-dark { border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; }
.sc-logo--on-dark:hover { background: #1f1f1f; border-color: rgba(255, 255, 255, 0.5); }
.sc-logo--on-dark:focus-visible { outline-color: #ffffff; }
.sc-logo--on-dark img { height: 22px; }

/* ==== components/section-heading.css ==== */
/* 英字（飾り）＋日本語見出しの2段（現行・Figma の見せ方。英字は見出しタグにしない: 04 §6-3） */
.c-heading { margin-bottom: 44px; }
.c-heading--center { text-align: center; }
.c-heading__en {
  overflow: hidden; padding-bottom: 0.06em;
  font-family: var(--font-en); font-size: var(--fs-en-heading); font-weight: 600;
  line-height: 1.2; letter-spacing: 0.02em; color: var(--color-heading-en);
}
.c-heading__ja {
  margin-top: 10px; font-size: var(--fs-h2); font-weight: var(--fw-bold);
  line-height: var(--lh-heading); letter-spacing: var(--ls-heading);
}
.c-heading__ja::after {
  content: ""; display: block; width: 48px; height: 3px; margin-top: 14px; border-radius: 2px;
  background: var(--grad-brand); transform-origin: left center;
}
.c-heading--center .c-heading__ja::after { margin-inline: auto; transform-origin: center; }
@media (max-width: 767px) {
  .c-heading { margin-bottom: 28px; }
  .c-heading__ja { margin-top: 6px; }
}

/* ==== components/flow.css ==== */
.c-flow { display: grid; gap: 16px; counter-reset: flow; }
.c-flow__item {
  display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 32px;
  padding: 28px 40px; background: var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.c-flow__num {
  font-family: var(--font-en); font-size: 64px; font-weight: 600; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.c-flow__title { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: var(--lh-heading); margin-bottom: 6px; }
@media (max-width: 767px) {
  .c-flow__item { grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; align-items: start; }
  .c-flow__num { font-size: 34px; padding-top: 2px; }
}

/* ==== components/faq.css ==== */
.c-faq { display: grid; gap: 12px; }
.c-faq__item { background: var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.c-faq__q {
  position: relative; display: flex; align-items: center; gap: 18px; min-height: 64px;
  padding: 18px 64px 18px 24px; cursor: pointer; list-style: none; font-weight: var(--fw-bold); line-height: 1.6;
}
.c-faq__q::-webkit-details-marker { display: none; }
.c-faq__q::after {
  content: ""; position: absolute; right: 28px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--color-navy); border-bottom: 2px solid var(--color-navy); transform: rotate(45deg); transition: transform 0.2s ease;
}
.c-faq__item[open] > .c-faq__q::after { transform: translateY(4px) rotate(-135deg); }
.c-faq__mark {
  flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-brand); color: var(--color-white); font-family: var(--font-en); font-weight: 600; font-size: 16px;
}
.c-faq__mark--a { background: var(--color-white); color: var(--color-navy); border: 2px solid var(--color-navy); }
.c-faq__a { display: flex; gap: 18px; padding: 0 24px 24px; }
.c-faq__a-body { padding-top: 4px; }
.c-faq__a-body p + p { margin-top: 4px; }
@media (max-width: 767px) {
  .c-faq__q { gap: 12px; padding: 14px 48px 14px 16px; }
  .c-faq__q::after { right: 20px; }
  .c-faq__a { gap: 12px; padding: 0 16px 18px; }
  .c-faq__mark { width: 32px; height: 32px; font-size: 14px; }
}

/* ==== components/table.css ==== */
/* 比較表（現行 /bpo/ の比較表の配色: 列見出し BPO #0F659B・タイミー #F9D828、行見出しはグラデーション、セルは2色の交互） */
.c-table-wrap { width: 100%; }
.c-compare { width: calc(100% + 20px); margin: -10px; border-spacing: 10px; table-layout: fixed; }
.c-compare th, .c-compare td { padding: 22px 24px; border-radius: 4px; vertical-align: middle; line-height: 1.7; }
.c-compare__corner { width: 22%; background: none; }
.c-compare__col { text-align: center; font-size: 19px; font-weight: var(--fw-bold); }
.c-compare__col--bpo { background: var(--color-th-bpo); color: var(--color-white); }
.c-compare__col--timee { background: var(--color-th-timee); color: var(--color-text); }
.c-compare__row { background: var(--grad-row); color: var(--color-white); font-size: 17px; font-weight: var(--fw-bold); text-align: center; }
.c-compare tbody tr:nth-child(odd) td { background: var(--color-cell-1); }
.c-compare tbody tr:nth-child(even) td { background: var(--color-cell-2); }
.c-compare td { font-size: 16px; }

/* スマホ: 行見出しを上に横長で出し、その下に2列（横にはみ出さない: 計画 R5） */
@media (max-width: 767px) {
  .c-compare { margin: 0; width: 100%; border-spacing: 0; }
  .c-compare thead tr, .c-compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .c-compare thead tr { margin-bottom: 6px; }
  .c-compare__corner { display: none; }
  .c-compare tbody tr + tr { margin-top: 14px; }
  .c-compare__row { grid-column: 1 / -1; }
  .c-compare th, .c-compare td { padding: 12px 14px; font-size: 14.5px; }
  .c-compare__col { font-size: 15px; }
  .c-compare tbody tr:nth-child(even) td { background: var(--color-cell-1); }
}

/* ==== components/office-banner.css ==== */
/* オフィスデザインの文字バナー（写真なし: K-13） */
.office-banner {
  position: relative; display: grid; gap: 6px; overflow: hidden;
  padding: 40px 120px 40px 48px; border-radius: var(--radius-panel);
  background: var(--color-panel-1); color: var(--color-white); text-decoration: none;
}
.office-banner::before, .office-banner::after {
  content: ""; position: absolute; width: 40px; height: 220px; border-radius: 999px; transform: rotate(45deg); opacity: 0.35;
}
.office-banner::before { right: 120px; top: -70px; background: var(--color-panel-2); }
.office-banner::after { right: 40px; top: -20px; background: var(--color-aqua); }
.office-banner__en { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: #9cc4e4; }
.office-banner__title { font-size: 24px; font-weight: var(--fw-bold); line-height: 1.5; }
.office-banner__text { font-size: 15px; line-height: 1.8; }
.office-banner__more { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 4px; }
.office-banner__arrow { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--color-white); }
.office-banner__arrow::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-top: 2px solid var(--color-panel-1); border-right: 2px solid var(--color-panel-1); transform: translateX(-2px) rotate(45deg); }
.office-banner:hover .office-banner__arrow { transform: translateX(4px); transition: transform 0.2s ease; }
.office-banner--compact { padding: 16px 70px 16px 24px; border-radius: 12px; }
.office-banner--compact .office-banner__title { font-size: 15px; }
.office-banner--compact .office-banner__text { font-size: 12.5px; }
.office-banner--compact .office-banner__en, .office-banner--compact .office-banner__more { display: none; }
.office-banner--drawer { padding: 24px 20px; border-radius: 14px; }
.office-banner--drawer .office-banner__title { font-size: 17px; }
.office-banner--drawer .office-banner__text { font-size: 13.5px; }
@media (max-width: 767px) {
  .office-banner { padding: 28px 22px; }
  .office-banner__title { font-size: 19px; }
  .office-banner::before { right: 40px; }
  .office-banner::after { right: -10px; }
}

/* ==== components/cta-block.css ==== */
/* ページ末尾の問い合わせ帯（現行: 写真＋紺の半透明の重ね・白文字中央・丸い白ボタン） */
.cta-block { position: relative; overflow: hidden; color: var(--color-white); text-align: center; background: var(--color-panel-1); }
.cta-block__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-block::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(15, 78, 139, 0.9), rgba(11, 102, 161, 0.82)); }
.cta-block__inner { position: relative; z-index: 2; width: min(calc(100% - var(--gutter) * 2), 960px); margin: 0 auto; padding: 110px 0; }
.cta-block__en { font-family: var(--font-en); font-size: var(--fs-en-heading); font-weight: 600; line-height: 1.2; }
.cta-block__title { margin-top: 10px; font-size: clamp(22px, 2.4vw, 32px); font-weight: var(--fw-bold); line-height: 1.5; letter-spacing: var(--ls-heading); }
.cta-block__text { margin: 24px auto 0; max-width: 720px; font-size: 16px; line-height: 2; }
.cta-block__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 40px; }
.cta-block__btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 300px; min-height: 64px;
  padding: 0 10px 0 30px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: var(--radius-btn);
  color: var(--color-white); font-weight: var(--fw-bold); text-decoration: none; letter-spacing: 0.06em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cta-block__btn--primary { background: var(--color-white); color: var(--color-panel-1); }
.cta-block__btn:hover { background: rgba(255, 255, 255, 0.15); }
.cta-block__btn--primary:hover { background: #e8f0f8; }
.cta-block__btn-arrow { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--color-white); }
.cta-block__btn--primary .cta-block__btn-arrow { background: var(--grad-brand); }
.cta-block__btn-arrow::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-top: 2px solid var(--color-panel-1); border-right: 2px solid var(--color-panel-1); transform: translateX(-2px) rotate(45deg); }
.cta-block__btn--primary .cta-block__btn-arrow::before { border-color: var(--color-white); }
.cta-block__info { margin-top: 28px; font-size: 16px; }
.cta-block__info a { display: inline-block; padding: 10px 0; color: inherit; }
@media (max-width: 767px) {
  .cta-block__inner { padding: 72px 0; }
  .cta-block__text { font-size: 16px; text-align: left; }
  .cta-block__btns { flex-direction: column; align-items: stretch; }
  .cta-block__btn { min-width: 0; min-height: 58px; padding-left: 22px; }
}

/* 写真なしの「光」の見た目（Figma /creative-branding/ の CONTACT US）。cta-block に cta_bg を渡さないとこちら */
.cta-block--glow { background: #111111; }
.cta-block--glow::before {
  inset: -20%; z-index: 1;
  background:
    radial-gradient(40% 50% at 70% 45%, rgba(53, 76, 255, 0.55), transparent 70%),
    radial-gradient(35% 45% at 45% 75%, rgba(0, 159, 207, 0.45), transparent 70%),
    radial-gradient(30% 40% at 85% 85%, rgba(185, 57, 128, 0.45), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .cta-block--glow.is-inview::before { animation: cta-glow-drift 4.5s var(--motion-ease-out) both; } /* 画面に入ると一度だけ光が動いて止まる */
  @keyframes cta-glow-drift { from { transform: translate3d(-4%, 2%, 0) rotate(0deg); } to { transform: translate3d(4%, -3%, 0) rotate(8deg); } }
}
@media (min-width: 1024px) {
  .cta-block--glow { text-align: left; }
  .cta-block--glow .cta-block__inner { width: min(calc(100% - 80px), 1200px); }
  .cta-block--glow .cta-block__text { margin-left: 0; }
  .cta-block--glow .cta-block__btns { justify-content: flex-start; }
}

/* ==== components/site-footer.css ==== */
/* 現行「STACK Original Footer」のデザインを引き継ぐ（値は現行のインライン CSS から） */
.site-footer { background: var(--color-footer-bg); color: var(--color-white); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer__inner {
  width: min(calc(100% - 80px), 1240px); margin: 0 auto; padding: 92px 0 78px;
  display: grid; grid-template-columns: 240px minmax(0, 1fr) 230px; gap: 40px; align-items: start;
}
.site-footer__logo-link { display: inline-flex; align-items: center; min-height: 48px; }
.site-footer__logo { width: 190px; }
.site-footer__company { margin-top: 34px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; line-height: 1.8; letter-spacing: 0.03em; color: var(--color-footer-sub); }
.site-footer__company-name { margin-bottom: 4px; color: var(--color-white); font-weight: var(--fw-bold); }
.site-footer__company a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--color-footer-sub); }
.site-footer__company a:hover { color: var(--color-white); }
.site-footer__dx { margin-top: 20px; font-size: 12px; line-height: 1.7; color: var(--color-footer-sub); }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.site-footer__nav-title {
  margin: 0 0 24px; font-family: var(--font-ja); font-size: 14px; font-weight: var(--fw-bold);
  line-height: 1; letter-spacing: 0.13em; color: var(--color-footer-label);
}
.site-footer__nav-list { display: flex; flex-direction: column; gap: 6px; }
.site-footer__nav-list a {
  position: relative; display: inline-block; padding: 6px 0; font-size: 15px; font-weight: var(--fw-regular);
  line-height: 1.65; letter-spacing: 0.02em; color: var(--color-footer-text);
}
.site-footer__nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left center; transition: transform 0.25s ease; }
.site-footer__nav-list a:hover { color: #fff; }
.site-footer__nav-list a:hover::after { transform: scaleX(1); }
.site-footer__nav-list--ext a { font-size: 14px; }
.site-footer__cta { border-top: 1px solid var(--color-footer-line); }
.site-footer__bottom { border-top: 1px solid var(--color-footer-line); }
.site-footer__cta-link { display: block; transition: background-color 0.3s ease; }
.site-footer__cta-link:hover { background: #151515; }
.site-footer__cta-inner { width: min(calc(100% - 80px), 1240px); min-height: 310px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.site-footer__cta-copy { display: flex; flex-direction: column; gap: 18px; }
.site-footer__cta-kicker { font-family: var(--font-en); font-size: clamp(76px, 8vw, 132px); font-weight: 600; line-height: 0.9; letter-spacing: 0.01em; }
.site-footer__cta-text { font-size: 18px; line-height: 1.8; letter-spacing: 0.04em; color: #d4d4d4; }
.site-footer__cta-arrow { position: relative; flex: 0 0 auto; width: 86px; height: 86px; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 50%; transition: background-color 0.3s ease, transform 0.3s ease; }
.site-footer__cta-arrow { display: grid; place-items: center; font-size: 38px; line-height: 1; }
.site-footer__cta-arrow::before { content: "↗"; }
.site-footer__cta-link:hover .site-footer__cta-arrow { background: #fff; color: #111; }
.site-footer__bottom-inner { width: min(calc(100% - 80px), 1240px); margin: 0 auto; min-height: 74px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.site-footer__copyright { font-size: 11px; line-height: 1.5; letter-spacing: 0.08em; color: var(--color-footer-label); }
.site-footer__copyright small { font-size: inherit; }

@media (max-width: 1023px) {
  .site-footer__bottom { padding-bottom: calc(var(--sp-cta-h) + env(safe-area-inset-bottom)); }
  .site-footer__inner, .site-footer__cta-inner, .site-footer__bottom-inner { width: min(calc(100% - 56px), 1240px); }
  .site-footer__inner { grid-template-columns: 1fr; gap: 56px; padding: 78px 0 68px; }
  .site-footer__cta-inner { min-height: 260px; }
}
@media (max-width: 767px) {
  .site-footer__inner, .site-footer__cta-inner, .site-footer__bottom-inner { width: calc(100% - 40px); }
  .site-footer__inner { gap: 48px; padding: 62px 0 54px; }
  .site-footer__logo { width: 158px; }
  .site-footer__company { margin-top: 27px; font-size: 12px; }
  .site-footer__nav { grid-template-columns: 1fr; gap: 42px; }
  .site-footer__nav-title { margin-bottom: 20px; font-size: 13px; }
  .site-footer__nav-list { gap: 0; border-top: 1px solid var(--color-footer-line); }
  .site-footer__nav-list li { border-bottom: 1px solid var(--color-footer-line); }
  .site-footer__nav-list a { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 11px 0; font-size: 14px; line-height: 1.5; }
  .site-footer__nav-list a::before { content: "↗"; order: 2; margin-left: 18px; font-size: 15px; color: var(--color-footer-label); }
  .site-footer__nav-list a::after { display: none; }
  .site-footer__cta-inner { min-height: 220px; padding: 46px 0 42px; align-items: flex-end; gap: 20px; }
  .site-footer__cta-kicker { font-size: 40px; line-height: 0.88; }
  .site-footer__cta-text { font-size: 14px; line-height: 1.75; }
  .site-footer__cta-arrow { width: 56px; height: 56px; margin-bottom: 4px; }
  .site-footer__cta-arrow { font-size: 27px; }
  .site-footer__bottom-inner { min-height: 64px; padding: 12px 0; }
}
/* DX認定ロゴ（2026-10-13 青木さん決定）: 濃い地に「基本カラー文字白ヌキ」版。原寸（高さ160px）より小さく表示 */
.site-footer__dx { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.site-footer__dx-logo { display: block; width: auto; height: 36px; }
/* 運営サービスのセキュリティチョイス2種はロゴのリンク（sc-logo。2026-10-13）。文字リンクの下線・矢印は付けない */
.site-footer__nav-list a.sc-logo { display: inline-flex; width: auto; min-height: 48px; padding: 10px 16px; }
.site-footer__nav-list a.sc-logo::after, .site-footer__nav-list a.sc-logo::before { content: none; display: none; }
.site-footer__nav-list .sc-logo-item { padding: 4px 0; }
@media (max-width: 767px) {
  .site-footer__nav-list .sc-logo-item { padding: 12px 0; }
}

/* ==== components/motion.css ==== */
/* =========================================================
   動きの共通部品（14 §11「動きの実装ルール」）
   - 動かすのは transform / translate / scale / opacity だけ（CLS を出さない）
   - 初期状態を隠すのは <html class="js">（main.js が付ける）かつ reduced-motion でないときだけ
     → JS が無い・失敗しても全文が見える
   - FV の文字・LCP 画像は透明にしない（transform だけの登場）
   使い方は README「動きの部品」
   ========================================================= */
/* 変数（--motion-ease など）は motion-intro.css（HTML に埋め込み）で定義 */
html { -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: no-preference) {
  /* ---- data-motion: スクロールで1回だけ現れる ---- */
  .js [data-motion] {
    transition: opacity var(--motion-dur) var(--motion-ease), transform var(--motion-dur) var(--motion-ease-out);
    transition-delay: calc(var(--motion-i, 0) * var(--motion-step) + var(--motion-delay, 0ms));
  }
  .js [data-motion]:not(.is-inview) { opacity: 0; }
  .js [data-motion="fade-up"]:not(.is-inview) { transform: translate3d(0, var(--motion-dist), 0); }
  .js [data-motion="slide-left"]:not(.is-inview) { transform: translate3d(-56px, 0, 0); }
  .js [data-motion="slide-right"]:not(.is-inview) { transform: translate3d(56px, 0, 0); }
  .js [data-motion="zoom"]:not(.is-inview) { transform: scale(0.94); }

  /* heading: 英字は下からせり上がる（マスク）、日本語は少し遅れて、下線が伸びる */
  .js [data-motion="heading"]:not(.is-inview) { opacity: 1; }
  .js [data-motion="heading"] .c-heading__en > span { display: inline-block; transition: transform 1s var(--motion-ease-out); }
  .js [data-motion="heading"]:not(.is-inview) .c-heading__en > span { transform: translate3d(0, 105%, 0); }
  .js [data-motion="heading"] .c-heading__ja { transition: opacity 0.8s var(--motion-ease) 0.25s, transform 0.8s var(--motion-ease-out) 0.25s; }
  .js [data-motion="heading"]:not(.is-inview) .c-heading__ja { opacity: 0; transform: translate3d(0, 16px, 0); }
  .js [data-motion="heading"] .c-heading__ja::after { transition: transform 0.9s var(--motion-ease-out) 0.45s; }
  .js [data-motion="heading"]:not(.is-inview) .c-heading__ja::after { transform: scaleX(0); }

  /* reveal: 画像の上の幕が引いて、画像が少し縮みながら現れる */
  .js [data-motion="reveal"]:not(.is-inview) { opacity: 1; }
  .js [data-motion="reveal"] { position: relative; overflow: hidden; }
  .js [data-motion="reveal"]::after {
    content: ""; position: absolute; inset: 0; z-index: 3; background: var(--color-aqua);
    transform-origin: right center; transition: transform 1.1s var(--motion-ease-out) 0.15s;
  }
  .js [data-motion="reveal"].is-inview::after { transform: scaleX(0); }
  .js [data-motion="reveal"] img { transition: transform 1.6s var(--motion-ease-out) 0.15s; }
  .js [data-motion="reveal"]:not(.is-inview) img { transform: scale(1.18); }


  /* ---- 流れる英字（aria-hidden の飾り）: 画面に入ると一度だけ流れて止まる（4.5 秒。WCAG 2.2.2 を止めるボタンなしで満たす） ---- */
  .c-marquee.is-inview .c-marquee__track { animation: motion-marquee 4.5s var(--motion-ease-out) both; }
  @keyframes motion-marquee {
    from { transform: translate3d(6%, 0, 0); }
    to { transform: translate3d(-22%, 0, 0); }
  }

  /* ---- スクロールに連動する飾り（対応ブラウザだけ。JS 不要） ---- */
  @supports (animation-timeline: view()) {
    [data-parallax] { animation: motion-parallax linear both; animation-timeline: view(); }
    [data-parallax="up"] { animation-name: motion-parallax-up; }
    @keyframes motion-parallax { from { translate: 0 -70px; } to { translate: 0 70px; } }
    @keyframes motion-parallax-up { from { translate: 0 90px; } to { translate: 0 -90px; } }
  }
  @supports (animation-timeline: scroll()) {
    .scroll-progress {
      display: block; animation: motion-progress linear both; animation-timeline: scroll(root);
    }
    @keyframes motion-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }

  /* ---- 背景写真のズーム（一度だけ） ---- */
  [data-play].is-inview .motion-kenburns { animation: motion-kenburns 4.5s var(--motion-ease-out) both; } /* 画面に入ると一度だけゆっくり寄って止まる */
  @keyframes motion-kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }

}


/* ---- 流れる英字の土台（動かないときも1行で表示） ---- */
.c-marquee { overflow: hidden; white-space: nowrap; }
.c-marquee__track { display: inline-flex; width: max-content; }
.c-marquee__group { flex: 0 0 auto; padding-right: 0.5em; }

/* ---- スクロール量のバー（ヘッダー下端。非対応ブラウザでは出ない） ---- */
.scroll-progress {
  display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--grad-brand); transform-origin: left center; pointer-events: none;
}

/* ---- 押したときの反応（タップ・クリック。軽い transform だけ） ---- */
.c-btn:active, .cta-block__btn:active, .sp-fixed-cta__btn:active, .office-banner:active { transform: scale(0.97); }
.sp-fixed-cta__btn { transition: transform 0.15s ease, filter 0.15s ease; }
.sp-fixed-cta__btn:active { filter: brightness(0.92); }

/* ---- ホバー（マウスのある端末だけ） ---- */
@media (hover: hover) and (pointer: fine) {
  .c-btn .c-btn__arrow, .cta-block__btn-arrow, .office-banner__arrow { transition: transform 0.35s var(--motion-ease-out); }
  .c-btn:hover .c-btn__arrow, .cta-block__btn:hover .cta-block__btn-arrow { transform: translateX(6px); }
  .c-textlink::after { transition: transform 0.3s var(--motion-ease-out); }
  .c-textlink:hover::after { transform: translateX(5px) rotate(45deg); }
  /* 持ち上がり: 出現（transform）と別の translate を使い、出現の遅れ（stagger）を消さない */
  .motion-lift { transition: translate 0.45s var(--motion-ease-out), box-shadow 0.45s var(--motion-ease-out); }
  .js [data-motion].motion-lift {
    transition-property: opacity, transform, translate, box-shadow;
    transition-duration: var(--motion-dur), var(--motion-dur), 0.45s, 0.45s;
    transition-timing-function: var(--motion-ease), var(--motion-ease-out), var(--motion-ease-out), var(--motion-ease-out);
    transition-delay: calc(var(--motion-i, 0) * var(--motion-step)), calc(var(--motion-i, 0) * var(--motion-step)), 0s, 0s;
  }
  .motion-lift:hover { translate: 0 -6px; box-shadow: 0 22px 44px rgba(21, 74, 125, 0.16); }
  .motion-zoom-img img { transition: transform 1s var(--motion-ease-out); }
  .motion-zoom-img:hover img { transform: scale(1.06); }
}

/* ---- 開閉の動き（FAQ・ドロワーの開閉・メガメニュー） ---- */
@media (prefers-reduced-motion: no-preference) {
  details[open] > .motion-open { animation: motion-open 0.45s var(--motion-ease-out); }
  @keyframes motion-open { from { opacity: 0; transform: translate3d(0, -10px, 0); } to { opacity: 1; transform: none; } }
}

/* ==== pages/dxsupport.css ==== */
/* /dxsupport/ の残り（後から読み込む）。見た目の出典: Figma 309:2932 */

/* ---- 共通の小物 ---- */
/* 明朝の見出しは文節で折り返し、行の長さをそろえる（1〜2文字だけ次の行に落ちるのを防ぐ） */
.dx-panel__title, .dx-statement__title, .dx-cert__title, .dx-section-title, .page-dx .cta-block__title { word-break: auto-phrase; text-wrap: balance; }
/* 「● 英字」のラベル（Figma の「● Five DX support measures」「● Contact Us」）。aria-hidden の飾り */
.dx-dot-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 500; font-size: 15px; letter-spacing: 0.08em; color: #5fb6d6; }
.dx-dot-label::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--dx-dot); }
.dx-dot-label--dark { color: var(--dx-accent); }
.dx-section-title { margin-top: 12px; font-family: var(--font-mincho); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.5; letter-spacing: 0.06em; }
.dx-textlink {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--color-white); font-weight: var(--fw-bold);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.dx-textlink::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--motion-ease-out); }
.dx-textlink:hover::after { transform: translateX(5px) rotate(45deg); }
.dx-textlink--dark { color: var(--dx-accent); }

/* ---- 暗いパネル（#2B3141・角丸 20px・左右 40px 内側に浮かせる） ---- */
.dx-panel { position: relative; margin: 0 40px; border-radius: 20px; background: var(--dx-panel); color: #eceef2; }
.dx-panel + .dx-panel, .dx-panel--flow { margin-top: 0; }
.dx-panel__inner { width: min(calc(100% - 128px), 1200px); margin: 0 auto; padding: 100px 0; }
.dx-panel__head { margin-bottom: 48px; }
.dx-panel__title { margin-top: 16px; font-family: var(--font-mincho); font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1.5; letter-spacing: 0.06em; color: var(--color-white); }

/* 2. 2つの領域 */
.dx-domain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.dx-domain__item { padding: 36px 0 30px; border-top: 1px solid var(--dx-line); }
.dx-domain__en { font-family: var(--font-en); font-weight: 300; font-size: 18px; letter-spacing: 0.1em; color: #8d93a1; }
.dx-domain__title { margin: 6px 0 16px; font-size: clamp(20px, 1.8vw, 26px); font-weight: var(--fw-bold); line-height: 1.5; color: var(--color-white); }
.dx-domain p:not(.dx-domain__en) { line-height: 1.95; }
.dx-domain__link { margin-top: 14px; }
.dx-panel__note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--dx-line); font-size: 15px; line-height: 1.9; color: #c9ccd4; }
.dx-panel__note a { color: var(--color-white); text-underline-offset: 4px; }

/* ---- 3. 見直しのきっかけ（明朝の大きな文・左に「」の引用・右に段落・下に都市の写真） ---- */
.dx-statement { position: relative; padding: 130px 0 0; }
.dx-statement__inner { width: min(calc(100% - var(--gutter) * 2), 1200px); margin: 0 auto; }
.dx-statement__title { font-family: var(--font-mincho); font-weight: 500; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.5; letter-spacing: 0.06em; }
.dx-statement__body { margin-top: 40px; } /* 導入文 → 6項目の順（原稿の順。C1） */
.dx-statement__body .dx-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 56px; margin-top: 48px; }
.dx-quotes { display: grid; gap: 22px; }
.dx-quotes li { position: relative; padding-left: 1.1em; font-family: var(--font-mincho); font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.6; letter-spacing: 0.04em; }
.dx-quotes li::before { content: "「" / ""; position: absolute; left: -0.1em; top: 0; }
.dx-quotes li::after { content: "」" / ""; }
.dx-statement__text { max-width: 760px; font-size: clamp(16px, 1.3vw, 18px); line-height: 2.2; letter-spacing: 0.04em; color: var(--dx-sub); } /* Figma は明朝だが、明朝の読み込みを見出し・引用だけに絞るため本文の書体に（速度） */
.dx-statement__city { position: relative; height: clamp(220px, 28vw, 400px); margin-top: 90px; overflow: hidden; }
.dx-statement__city img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.dx-statement__city::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #edf1f2 0%, rgba(237, 241, 242, 0) 40%), linear-gradient(90deg, rgba(46, 144, 182, 0.35), rgba(197, 225, 255, 0.3)); }

/* ---- 4. Supportive DX の帯（英字と角丸写真）＋ DX認定のブロック ---- */
.dx-cert { position: relative; padding: 90px 0 120px; overflow: hidden; }
.dx-band { display: grid; gap: 28px; margin-bottom: 70px; }
.dx-band__row { overflow: hidden; }
.dx-band__group { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; }
.dx-band__word {
  font-family: var(--font-en); font-weight: 300; font-size: clamp(64px, 9.6vw, 140px); line-height: 1; letter-spacing: -0.01em;
  /* 色は Figma どおり #C2DEEA のまま。aria-hidden の飾りの文字（WCAG 1.4.3 の「装飾」の例外）なので、文字色ではなく背景を文字の形に切り抜いて塗る */
  color: transparent; background: #c2deea; -webkit-background-clip: text; background-clip: text;
}
.dx-band img { width: clamp(150px, 15vw, 220px); height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 30px rgba(20, 60, 100, 0.15); }
.dx-cert__card {
  position: relative; z-index: 1; width: min(calc(100% - var(--gutter) * 2), 880px); margin: 0 auto; padding: 56px 64px;
  border-radius: 20px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 20px 50px rgba(20, 60, 100, 0.1);
}
.dx-cert__title { margin: 12px 0 18px; font-family: var(--font-mincho); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.5; letter-spacing: 0.06em; }
.dx-cert__card p + p { margin-top: 10px; }
.dx-cert__link { margin-top: 18px !important; }

/* ---- 5. 進め方（暗いパネルの2列の番号付きリスト。右列を少し下げる） ---- */
.dx-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; counter-reset: none; }
.dx-step { display: grid; grid-template-columns: minmax(0, 1fr) clamp(150px, 18vw, 230px); grid-template-areas: "head img" "text text"; gap: 18px 28px; padding: 36px 0 34px; border-top: 1px solid var(--dx-line); align-self: start; }
.dx-steps > .dx-step:nth-child(even) { margin-top: 110px; }
.dx-step__head { grid-area: head; }
.dx-step__badge {
  display: inline-block; padding: 4px 12px; border-radius: 10px; background: linear-gradient(180deg, #5b6783, #384259 50%, #5b6783);
  font-family: var(--font-en); font-weight: 500; font-size: 14px; color: var(--color-white);
}
.dx-step__title { margin-top: 14px; font-size: clamp(20px, 1.8vw, 26px); font-weight: var(--fw-bold); line-height: 1.5; color: var(--color-white); }
.dx-step__en { margin-top: 4px; font-family: var(--font-en); font-weight: 300; font-size: 17px; letter-spacing: 0.06em; color: #8d93a1; }
.dx-step__img { grid-area: img; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.dx-step__text { grid-area: text; font-size: 16px; line-height: 2; color: #d6d8de; }

/* ---- 6. 料金・8. FAQ ---- */
.dx-price { padding: 120px 0 0; }
.dx-price__box { width: min(calc(100% - var(--gutter) * 2), 1200px); margin: 0 auto; padding: 56px 64px; border-radius: 20px; background: var(--color-white); }
.dx-price__box p { margin-top: 12px; }
.dx-faq { padding: 100px 0 var(--section-y); }
.dx-faq__inner { width: min(calc(100% - var(--gutter) * 2), 1200px); margin: 0 auto; }
.dx-faq .c-faq { margin-top: 36px; }
.page-dx .c-faq__mark { background: var(--dx-dot); }
.page-dx .c-faq__mark--a { background: var(--color-white); color: var(--dx-accent); border-color: var(--dx-accent); }
.page-dx .c-faq__q::after { border-color: var(--dx-accent); }
.page-dx .c-faq__a-body a { color: var(--dx-accent); }

/* ---- CTA（Figma: 左半分に写真＋青のかぶせ、右に紺の地。共通の cta-block の写真版をこのページだけ組み替え） ---- */
.page-dx .cta-block { background: #3b4058; text-align: left; }
.page-dx .cta-block__bg { inset: 0 50% 0 0; width: 50%; }
.page-dx .cta-block::before { inset: 0 50% 0 0; background: linear-gradient(135deg, rgba(12, 97, 131, 0.55), rgba(18, 181, 226, 0.3)); }
.page-dx .cta-block__inner { width: auto; margin: 0 0 0 50%; padding: 100px 64px; max-width: 720px; }
.page-dx .cta-block__en { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; letter-spacing: 0.08em; color: #5fb6d6; }
.page-dx .cta-block__en::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--dx-dot); }
.page-dx .cta-block__title { font-family: var(--font-mincho); font-weight: 500; font-size: clamp(26px, 2.8vw, 40px); }
.page-dx .cta-block__text { margin-left: 0; }
.page-dx .cta-block__btns { justify-content: flex-start; }

/* ---- タブレット ---- */
@media (max-width: 1023px) {
  .dx-panel { margin: 0 20px; }
  .dx-panel__inner { width: calc(100% - 64px); padding: 72px 0; }
  .dx-statement__body .dx-quotes { grid-template-columns: 1fr; margin-top: 32px; }
  .dx-steps { grid-template-columns: 1fr; }
  .dx-steps > .dx-step:nth-child(even) { margin-top: 0; }
  .page-dx .cta-block__bg, .page-dx .cta-block::before { inset: 0 0 auto 0; width: 100%; height: 240px; }
  .page-dx .cta-block__inner { margin: 0; padding: 280px var(--gutter) 72px; max-width: none; }
}

/* ---- スマホ ---- */
@media (max-width: 767px) {
  .dx-panel { margin: 0 12px; border-radius: 16px; }
  .dx-panel__inner { width: calc(100% - 40px); padding: 56px 0; }
  .dx-panel__head { margin-bottom: 28px; }
  .dx-domain { grid-template-columns: 1fr; }
  .dx-domain__item { padding: 28px 0 22px; }
  .dx-panel__note { font-size: 16px; } /* スマホは本文 16px 以上（計画 R2） */
  .dx-statement { padding-top: 80px; }
  .dx-statement__body { margin-top: 24px; }
  .dx-statement__city { margin-top: 56px; }
  .dx-cert { padding: 64px 0 72px; }
  .dx-band { gap: 16px; margin-bottom: 44px; }
  .dx-band__group { gap: 24px; padding-right: 24px; }
  .dx-cert__card { padding: 32px 22px; border-radius: 16px; }
  .dx-step { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "head img" "text text"; gap: 14px 16px; padding: 28px 0 26px; }
  .dx-step__img { width: 112px; align-self: center; }
  .dx-price { padding-top: 72px; }
  .dx-price__box { padding: 32px 22px; border-radius: 16px; }
  .dx-faq { padding-top: 64px; }
  .page-dx .cta-block__bg, .page-dx .cta-block::before { height: 200px; }
  .page-dx .cta-block__inner { padding-top: 236px; }
}

/* CTA の写真は左半分だけに置くため、拡大の動き（共通の motion-kenburns）はこのページでは止める（拡大すると右半分にはみ出す） */
.page-dx .cta-block .motion-kenburns { animation: none !important; }

/* ---- 飾りの動き（一度だけ・5 秒以内に止まる。reduced-motion では動かない） ---- */
@media (prefers-reduced-motion: no-preference) {
  .dx-band__row--reverse.is-inview .c-marquee__track { animation-name: dx-marquee-reverse; }
  @keyframes dx-marquee-reverse { from { transform: translate3d(-22%, 0, 0); } to { transform: translate3d(4%, 0, 0); } }
  .dx-step__img { transition: transform 1.2s var(--motion-ease-out) 0.2s, opacity 1.2s var(--motion-ease) 0.2s; }
  .js .dx-step:not(.is-inview) .dx-step__img { transform: scale(1.08); opacity: 0; }
}
/* マウスを乗せたときの色: 文字のきわまでで窮屈だったため、要素の外側に左右 24px（上下は要素の余白のまま）広げた面で色を変える
   （2026-10-13 ブラッシュアップ第1弾 #9。文字の位置と区切り線は変えない。要素の ::before を使う。マウスの使える画面だけ） */
@media (hover: hover) and (pointer: fine) {
  .dx-domain__item, .dx-step { position: relative; isolation: isolate; }
  .dx-domain__item::before, .dx-step::before { content: ""; position: absolute; inset: 0 -24px; z-index: -1; border-radius: 10px; background-color: transparent; transition: background-color 0.3s ease; pointer-events: none; }
  .dx-domain__item:hover::before, .dx-step:hover::before { background-color: rgba(255, 255, 255, 0.05); }
}
/* DX認定ロゴ（2026-10-13 青木さん決定。白いカードの上に基本カラー版。原寸より小さく表示） */
.dx-cert__logo { margin-bottom: 8px; }
.dx-cert__logo-img { display: block; width: auto; height: 44px; }

/* ==== pages/dxsupport-sub.css ==== */
/* /dxsupport/software/・/dxsupport/hardware/（DX の子ページ）の残り。親 /dxsupport/ の部品（pages/dxsupport.css）を土台に、
   子ページにだけある部品（製品の一覧・手配できる製品・作業の一覧・表・取扱メーカー）を足す。色は親の変数（.page-dx）だけ。新しい色は区切り線・薄い地の2つ（下） */

/* ---- 暗いパネルの中: 導入文・製品のカード（領域ごとの h3） ---- */
.dx-panel__lead { margin-top: 20px; max-width: 860px; font-size: 16px; line-height: 1.9; color: #d6d8de; }
.dx-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.dx-products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.dx-product { padding: 32px 0 30px; border-top: 1px solid var(--dx-line); }
.dx-product__title { margin-bottom: 14px; font-size: clamp(19px, 1.7vw, 24px); font-weight: var(--fw-bold); line-height: 1.5; color: var(--color-white); }
.dx-product__text { margin-bottom: 12px; font-size: 16px; line-height: 1.9; color: #d6d8de; }
.dx-product__list li, .dx-bullets li, .dx-chips li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.dx-product__list li + li, .dx-bullets li + li { margin-top: 8px; }
.dx-product__list li::before, .dx-bullets li::before, .dx-chips li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--dx-dot);
}
.dx-product__list li { color: #eceef2; }
.dx-product__name { font-weight: var(--fw-bold); color: var(--color-white); }
.dx-product__count { margin-top: 14px; font-size: 16px; font-weight: var(--fw-bold); color: var(--color-white); }
.dx-product__links { margin-top: 16px; font-size: 16px; line-height: 1.7; color: #c9ccd4; }
.dx-product__links li + li { margin-top: 4px; }
.dx-inline-link { color: var(--color-white); text-decoration: underline; text-underline-offset: 4px; }
.dx-panel__note p + p { margin-top: 8px; }
.dx-step__link { color: var(--color-white); text-decoration: underline; text-underline-offset: 4px; }

/* ---- 白の箱の節（親の料金の箱 .dx-price__box を使う） ---- */
.dx-box-section { padding: 120px 0 0; }
.dx-box-section + .dx-box-section { padding-top: 40px; }
.dx-box__link { margin-top: 18px !important; }
.dx-box__links { margin-top: 16px; }
.dx-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; margin: 20px 0 12px; }
.dx-bullets { margin: 16px 0 4px; }
.dx-tasks { margin-top: 20px; }
.dx-tasks > li { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 4px 28px; padding: 16px 0; border-top: 1px solid #dfe3e8; } /* 区切り線（飾り） */
.dx-tasks > li:last-child { border-bottom: 1px solid #dfe3e8; }
.dx-tasks__label { font-size: 17px; font-weight: var(--fw-bold); line-height: 1.7; color: var(--dx-accent); }
.dx-tasks > li p { margin-top: 0 !important; }
.dx-tasks__lead { margin-top: 24px !important; }

/* 表（購入とリースの違い）。3列のまま、スマホでも横にはみ出さない */
.dx-table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 16px; line-height: 1.7; }
.dx-table th, .dx-table td { padding: 16px 20px; border-bottom: 1px solid #dfe3e8; text-align: left; vertical-align: middle; word-break: keep-all; }
.dx-table thead th { background: var(--dx-panel); color: var(--color-white); font-weight: var(--fw-bold); letter-spacing: 0.06em; }
.dx-table tbody th { background: #f3f6f8; font-weight: var(--fw-bold); }
.dx-table th:first-child { min-width: 5em; } /* 行見出し（「契約期間」など4字）が語の途中で折り返さない幅（スマホで「支払／い」と切れたため） */ /* 行見出しの薄い地（#2b2c31 の文字で 12.8:1） */
.dx-table__after { margin-top: 20px !important; }

/* 取扱メーカー（ロゴのある社はロゴ＋社名、無い社は社名だけ。社名の文字は全社出す） */
.dx-makers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.dx-maker {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 132px;
  padding: 20px 16px; border: 1px solid #dfe3e8; border-radius: 12px; background: var(--color-white); text-align: center;
}
/* 2026-10-18 第5弾（ロゴの大きさをそろえる）: 余白を詰めたロゴ（*-fit.webp と第5弾の追加分）を、同じ高さの枠（PC 52px・スマホ 44px）に object-fit: contain で置く。
   枠の高さが全社同じなので、下の社名の位置がそろう。各社の幅 --w は「見た目の面積がほぼ同じ」になるよう縦横比から決めた（幅＝√(4400×縦横比)。上限 176px。
   中まで塗りつぶした形の HP・サクサは重く見えるため面積を 0.55 倍）。スマホは幅を 0.82 倍、枠の幅を超えない */
.dx-maker__logo { display: block; width: min(var(--w, 140px), 100%); height: 52px; object-fit: contain; }
.dx-maker__logo--hp { --w: 49px; }      /* 200×200 → 49×49 */
.dx-maker__logo--nec { --w: 127px; }    /* 400×109 → 約 35px の高さ */
.dx-maker__logo--canon { --w: 141px; }  /* 400×89 → 約 31px */
.dx-maker__logo--kyocera { --w: 138px; }/* 400×92 → 約 32px */
.dx-maker__logo--iodata { --w: 176px; } /* 400×50 → 約 22px（横長） */
.dx-maker__logo--pfu { --w: 111px; }    /* 400×144 → 約 40px */
/* 2026-10-29 第2弾 No.134 の追加分（同じ式: 幅＝√(4400×縦横比)。塗りつぶしの面のレノボは 0.55 倍） */
.dx-maker__logo--fujitsu { --w: 95px; }  /* 400×194 → 約 46px */
.dx-maker__logo--lenovo { --w: 85px; }   /* 400×133 → 約 28px */
.dx-maker__logo--dell { --w: 52px; }     /* 200×200 → 52×52 */
.dx-maker__logo--sharp { --w: 129px; }   /* 400×106 → 約 34px */
.dx-maker__logo--brother { --w: 108px; } /* 400×151 → 約 41px */
.dx-maker__name { font-size: 16px; font-weight: var(--fw-bold); line-height: 1.5; color: var(--dx-ink); }

/* DX認定のカード（親の帯は置かない）・更新の計画（親の明朝の見出し。都市の写真は置かない） */
.dx-cert--sub { padding: 120px 0 0; }
.dx-cert__links { margin-top: 18px; }
.dx-statement--sub { padding: 120px 0 0; }
.dx-statement--sub .dx-statement__text + .dx-statement__text { margin-top: 12px; }

/* 白の箱・カードの後ろに暗いパネルが続くときの間（親は暗いパネルの前に別の節の余白がある） */
.dx-box-section + .dx-panel, .dx-cert--sub + .dx-panel { margin-top: 120px; }

/* 流れ（写真なし） */
.dx-steps--noimg .dx-step { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "text"; }

@media (max-width: 1023px) {
  .dx-products, .dx-products--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .dx-box-section, .dx-cert--sub, .dx-statement--sub { padding-top: 72px; }
  .dx-box-section + .dx-box-section { padding-top: 24px; }
  .dx-box-section + .dx-panel, .dx-cert--sub + .dx-panel { margin-top: 72px; }
  .dx-product { padding: 26px 0 22px; }
  .dx-chips { grid-template-columns: minmax(0, 1fr); }
  .dx-tasks > li { grid-template-columns: minmax(0, 1fr); }
  .dx-table th, .dx-table td { padding: 12px 8px; }
  .dx-makers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dx-maker { min-height: 112px; padding: 16px 10px; }
  .dx-maker__logo { width: min(calc(var(--w, 140px) * 0.82), 100%); height: 44px; }
  .dx-maker__name { min-height: 3em; } /* 「アイ・オー・データ」が2行になるため、社名の枠を2行分で固定し、同じ行のカードで社名の位置をそろえる */
}

/* 見出し・短い文の折り返し: 子ページは keep-all＋HTML の <wbr>（語の切れ目）だけで折り返す。
   親の auto-phrase のままだと 375px で「DX認定事業者と／しての導入」、FAQ の質問が「分か／らない」と語の途中で切れたため（親のページの CSS は変えていない） */
.page-dx-sub .dx-panel__title, .page-dx-sub .dx-statement__title, .page-dx-sub .dx-cert__title, .page-dx-sub .dx-section-title,
.page-dx-sub .cta-block__title, .page-dx-sub .c-faq__q-text, .page-dx-sub .dx-product__title, .page-dx-sub .dx-maker__name,
.page-dx-sub .dx-tasks__label, .page-dx-sub .dx-textlink, .page-dx-sub .c-btn { word-break: keep-all; }
/* 製品の一覧・手配できる製品・作業の一覧の項目も keep-all＋HTML の <wbr>（製品名・語の切れ目）。375px で「ビジネスセキュリ／ティサービス」「クラウ／ドサービス」と切れたため（2026-10-12 合格後の小修正） */
.page-dx-sub .dx-product__list li, .page-dx-sub .dx-chips li, .page-dx-sub .dx-bullets li { word-break: keep-all; } /* 文字リンク・ボタンも（「セキュ／リティ」と切れたため） */
