/* ==== 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; } }
}

/* ==== components/mono.css ==== */
/* =========================================================
   モノトーン系の下層ページ（共通の型）: 本文の部品
   - 各ページの pages.json の css に入れる（main-{css_key}.css に連結。描画を止めずに後から読み込む）
   - 色の変数（--mono-*）は components/mono-fv.css の .page-mono で定義
   - 部品: 見出し（parts/mono-heading.html）・ページ内リンク・カード・業務のカード・表・事例カード・
     STEP・囲み・FAQ と CTA の色（共通部品 c-faq・cta-block の上書き）
   - 仕様: 資料_20261011/adsense/デザイン仕様_モノトーン下層.md
   ========================================================= */

/* ---- 節と本文 ---- */
.mono-section { position: relative; padding-block: 64px; }
.mono-section--step { padding-block: 90px 70px; }
.mono-lead { font-size: 20px; font-weight: var(--fw-regular); line-height: 1.9; }
.mono-text { font-size: 17px; line-height: 1.9; }
.mono-section .mono-text { margin-top: 24px; }
.mono-lead-block > p + p, .mono-box > p + p { margin-top: 16px; }
.mono-inline-link { color: var(--mono-ink); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 4px; }
.mono-inline-link:hover { text-decoration-thickness: 2px; }

/* ---- 見出し（h2: 黒・太字・下に 2px の黒線・左寄せ。英字の飾りは原稿に「（飾り）」がある節だけ） ---- */
.mono-heading { margin-bottom: 40px; }
.mono-heading__en {
  overflow: hidden; margin-bottom: 6px;
  font-family: var(--font-en); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0.24em; color: var(--mono-sub);
}
.mono-heading__en > span { display: inline-block; }
.mono-heading__title {
  position: relative; padding-bottom: 15px;
  font-size: clamp(26px, 3.2vw, 45px); font-weight: var(--fw-bold); line-height: 1.4; letter-spacing: 0.04em; color: var(--mono-black);
}
.mono-heading__title::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mono-black); transform-origin: left center;
}

/* ---- ページ内リンクは最初の画面に入るため components/mono-fv.css（埋め込み）に置く ---- */

/* ---- カード（白に近い灰色・角丸・柔らかい影。ニューモーフィズム風） ---- */
.mono-card { background: var(--mono-card); border-radius: var(--mono-radius); box-shadow: var(--mono-shadow); }

/* ---- 業務のカード（左に大きな和文ラベル・右に説明。現行の「戦略 Strategy／実行 Action」） ---- */
.mono-features { display: grid; gap: 28px; }
.mono-feature { display: grid; grid-template-columns: var(--mono-feature-label, 260px) minmax(0, 1fr); align-items: center; gap: 40px; padding: 38px 56px; }
.mono-feature__label { font-size: clamp(28px, 2.8vw, 40px); font-weight: var(--fw-bold); line-height: 1.3; letter-spacing: 0.12em; text-align: center; color: var(--mono-ink); }
.mono-feature__body { padding-left: 40px; border-left: 1px solid var(--mono-line); font-size: 17px; line-height: 1.9; }

/* ---- 表（モノトーン） ---- */
.mono-table-wrap { padding: 10px; }
.mono-table { width: 100%; border-collapse: collapse; }
.mono-table th, .mono-table td { padding: 20px 28px; border-bottom: 1px solid var(--mono-table-line); text-align: left; vertical-align: middle; font-size: 17px; line-height: 1.7; }
.mono-table thead th { background: var(--mono-ink); color: var(--mono-white); font-size: 15px; font-weight: var(--fw-bold); letter-spacing: 0.12em; border-bottom: 0; }
.mono-table thead th:first-child { border-top-left-radius: var(--mono-radius-sm); width: 30%; }
.mono-table thead th:last-child { border-top-right-radius: var(--mono-radius-sm); }
.mono-table tbody th { background: var(--mono-row); font-weight: var(--fw-bold); }
.mono-table tbody tr:last-child > * { border-bottom: 0; }
.mono-table tbody tr:last-child > th { border-bottom-left-radius: var(--mono-radius-sm); }

/* ---- 事例カード（カード全体が <a>。リンク文字は事例名。地域はリンクの外） ---- */
.mono-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.mono-case { position: relative; padding: 14px 14px 18px; }
.mono-case__media { overflow: hidden; border-radius: var(--mono-radius-sm); aspect-ratio: 4 / 3; background: var(--mono-media-bg); }
.mono-case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--motion-ease-out); }
.mono-case__name { display: flex; flex-wrap: wrap; align-items: center; margin-top: 16px; padding: 0 44px 0 6px; font-size: 18px; font-weight: var(--fw-bold); line-height: 1.5; }
.mono-case__name::after { /* 右端の矢印（飾り） */
  content: ""; position: absolute; right: 22px; bottom: 26px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mono-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2l4 4-4 4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.35s var(--motion-ease-out);
}
.mono-case__link { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--mono-ink); text-decoration: none; } /* リンク自体も幅・高さ 44px 以上（押せる範囲はカード全体。幅の下限は「BEL」のような短い事例名のため。2026-10-12 青木さん承認で /web/web-site/ のページの CSS から移した） */
.mono-case__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--mono-radius); } /* カード全体を押せる範囲に */
.mono-case__area { font-size: 15px; font-weight: var(--fw-regular); color: var(--mono-sub); }
.mono-links { display: flex; flex-wrap: wrap; gap: 0 36px; margin-top: 32px; }
.page-mono .mono-textlink { color: var(--mono-ink); }
.mono-action { margin-top: 36px; text-align: center; }

/* ---- STEP（左に影つきの白い円・中に工程名、右に角丸のカード） ---- */
.mono-steps { --circle: 220px; position: relative; display: grid; gap: 36px; }
.mono-steps::before { /* 円の中心を結ぶ縦の線（飾り） */
  content: ""; position: absolute; left: calc(var(--circle) / 2); top: 60px; bottom: 60px; width: 1px; background: var(--mono-step-line); transform-origin: center top;
}
.mono-step { position: relative; display: grid; grid-template-columns: var(--circle) minmax(0, 1fr); align-items: center; }
.mono-step__circle {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: var(--circle); aspect-ratio: 1; padding: 16px; border-radius: 50%; text-align: center;
  background: var(--mono-circle); box-shadow: var(--mono-step-shadow);
}
.mono-step__num { font-family: var(--font-en); font-size: 15px; font-weight: 600; letter-spacing: 0.2em; color: var(--mono-sub); }
.mono-step__title { margin-top: 6px; font-size: 19px; font-weight: var(--fw-bold); line-height: 1.45; letter-spacing: 0.06em; }
.mono-step__card {
  display: flex; align-items: center; min-height: calc(var(--circle) * 0.78);
  margin-left: calc(var(--circle) / -2); padding: 32px 48px 32px calc(var(--circle) / 2 + 44px); font-size: 17px; line-height: 1.9;
}

/* ---- 箇条書きのカード（灰色の地の上のカードの中に、区切り線と黒い四角の印の箇条書き。/web/maintenance/ で追加、2026-10-12 型に統合）。
   項目の後ろに他ページへのリンクがあるとき（原稿の「- 項目 →「リンク文字」/url」）は、項目の下に .mono-list__link の文字リンク ---- */
.mono-list-wrap { margin-top: 28px; padding: 12px 48px; }
.mono-list > li { word-break: auto-phrase; position: relative; padding: 18px 0 18px 24px; border-bottom: 1px solid var(--mono-line); font-size: 17px; line-height: 1.8; }
.mono-list > li:last-child { border-bottom: 0; }
.mono-list > li::before { content: ""; position: absolute; left: 0; top: calc(18px + 0.9em - 3px); width: 7px; height: 7px; background: var(--mono-ink); }
.mono-list__link { display: block; }
/* 項目の下の文字リンクは本文と同じ大きさ（PC 17px・スマホ 16px。2026-10-12 R2: 15px にしていたのを削除） */
/* 節の最後の注記・他ページへの文字リンク */
.mono-note { margin-top: 24px; }
.mono-section .mono-note .mono-text { margin-top: 0; }
.mono-note > * + * { margin-top: 8px; }

@media (max-width: 767px) {
  .mono-list-wrap { padding: 4px 22px; }
  .mono-list > li { font-size: 16px; padding: 14px 0 14px 20px; }
  .mono-list > li::before { top: calc(14px + 0.9em - 3px); }
}

/* ---- 暗い帯（黒地・白文字。h2 は白文字で右に白線が伸びる。中の箇条書きは .mono-bullets。現行 /web/maintenance/「過去のお問い合わせ事例」。
   /web/maintenance/ で追加、2026-10-12 型に統合。変数 --mono-dark-rule 等は mono-fv.css の .page-mono） ---- */
.mono-dark { background: var(--mono-black); color: var(--mono-white); }
.mono-section.mono-dark { padding-block: 90px; } /* .mono-section の余白（スマホの指定を含む）より優先 */
.mono-dark :focus-visible { outline-color: var(--mono-white); }
.mono-dark .mono-heading__en { color: var(--mono-crumb); }
.mono-dark .mono-heading__title { display: flex; align-items: center; gap: 28px; padding-bottom: 0; color: var(--mono-white); }
.mono-dark .mono-heading__title::after { position: static; flex: 1 1 auto; min-width: 48px; max-width: var(--mono-dark-rule-max); height: var(--mono-dark-rule); background: var(--mono-white); }
.mono-dark .mono-text { margin-top: 0; }
.mono-dark .mono-text + .mono-bullets, .mono-dark .mono-bullets + .mono-text { margin-top: 32px; }

/* h2 の折り返し: 暗い帯の h2 は横に線が並ぶため1行の幅が狭く、auto-phrase の自動の区切り（例「お問い／合わせ」）で切れることがある。
   ここだけ keep-all にし、部品の引数に書いた <wbr>（語の切れ目）だけで折り返す */
.mono-dark .mono-heading__title { word-break: keep-all; }

/* 暗い帯の中の箇条書き */
.mono-bullets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.mono-bullets > li { word-break: auto-phrase; position: relative; padding: 16px 0 16px 24px; border-bottom: 1px solid var(--mono-on-dark-line); font-size: 17px; line-height: 1.8; }
.mono-bullets > li::before { content: ""; position: absolute; left: 0; top: calc(16px + 0.9em - 3px); width: 7px; height: 7px; background: var(--mono-white); }

@media (max-width: 767px) {
  .mono-section.mono-dark { padding-block: 60px; }
  .mono-dark .mono-heading__title { gap: 16px; }
  .mono-bullets { grid-template-columns: minmax(0, 1fr); }
  .mono-bullets > li { font-size: 16px; padding: 13px 0 13px 20px; }
  .mono-bullets > li::before { top: calc(13px + 0.9em - 3px); }
}

/* ---- 囲み（料金の考え方など） ---- */
.mono-box { padding: 44px 56px; }

/* ---- FAQ（共通部品 c-faq の色だけモノトーンに） ---- */
.page-mono .c-faq { gap: 16px; }
.page-mono .c-faq__item { background: var(--mono-card); box-shadow: var(--mono-shadow-soft); }
.page-mono .c-faq__mark { background: var(--mono-ink); color: var(--mono-white); }
.page-mono .c-faq__mark--a { background: var(--mono-white); color: var(--mono-ink); border-color: var(--mono-ink); }
.page-mono .c-faq__q::after { border-color: var(--mono-ink); }
.page-mono .c-faq__q { border-radius: var(--radius-card); transition: background-color 0.25s ease; }
.page-mono .c-faq__q:hover { background: var(--mono-hover); }

/* ---- CTA（共通部品 cta-block の cta_variant "mono"。モノトーンの写真・白文字・白の二重線・白枠のボタン・右 40% を空ける） ---- */
.cta-block--mono { background: var(--mono-cta-bg); text-align: left; }
.cta-block--mono::before { background: var(--mono-cta-overlay); }
.cta-block--mono :focus-visible { outline-color: var(--mono-white); }
.cta-block--mono .cta-block__inner { width: min(calc(100% - var(--gutter) * 2), var(--container)); padding: 70px 0; }
.cta-block--mono .cta-block__inner > * { max-width: 60%; }
.cta-block--mono .cta-block__en { font-size: 15px; font-weight: 600; letter-spacing: 0.24em; }
.cta-block--mono .cta-block__title { margin-top: 12px; padding-bottom: 22px; border-bottom: 3px double var(--mono-white); font-size: clamp(22px, 2vw, 29px); font-weight: var(--fw-regular); }
.cta-block--mono .cta-block__text { margin: 24px 0 0; text-align: left; }
.cta-block--mono .cta-block__btns { justify-content: flex-start; gap: 16px; margin-top: 32px; }
.cta-block--mono .cta-block__btn { min-width: 300px; min-height: 60px; padding-left: 24px; border: 2px solid var(--mono-white); border-radius: var(--mono-btn-radius); background: transparent; color: var(--mono-white); }
.cta-block--mono .cta-block__btn:hover { background: var(--mono-btn-ghost-hover-bg); }
.cta-block--mono .cta-block__btn--primary { background: var(--mono-white); color: var(--mono-black); }
.cta-block--mono .cta-block__btn--primary:hover { background: var(--mono-btn-light-hover-bg); }
.cta-block--mono .cta-block__btn-arrow { width: 40px; height: 40px; }
.cta-block--mono .cta-block__btn-arrow::before { border-color: var(--mono-black); }
.cta-block--mono .cta-block__btn--primary .cta-block__btn-arrow { background: var(--mono-black); }
.cta-block--mono .cta-block__btn--primary .cta-block__btn-arrow::before { border-color: var(--mono-white); }

/* ---- 見出し・短い文の折り返し（型の決まり）: 語の切れ目で折り返す（スマホで「運用ま／で」のように語の途中で切らない）。
   word-break: auto-phrase（Chrome 119 以降）。使えないブラウザでは keep-all にし、HTML の <wbr>（語の切れ目。
   見出しは部品の引数に <wbr> を書く）だけで折り返す。収まらない長さのときは body の overflow-wrap: anywhere で折り返す ---- */
.mono-heading__title, .mono-feature__label, .cta-block--mono .cta-block__title, .page-mono .c-faq__q-text { word-break: auto-phrase; }
@supports not (word-break: auto-phrase) {
  .mono-heading__title, .mono-feature__label, .cta-block--mono .cta-block__title, .page-mono .c-faq__q-text { word-break: keep-all; }
}

/* 事例名・地域と表のセルは列が狭く、auto-phrase でも「PlusDivide株式会／社」「（カートシス／テム）」のように語の途中で切れたため、
   keep-all にし、部品の側で入れた <wbr>（語の切れ目）と「・」などの後ろだけで折り返す（/web/ec/ で見つけ、2026-10-12 型に入れた） */
.mono-case__name, .mono-table th, .mono-table td { word-break: keep-all; }

/* 工程名（STEP の円の中の h3）は円の幅が狭く、auto-phrase だと「取り／決め」のように切れることがあるため、どのブラウザでも keep-all にし、
   HTML の <wbr>（語の切れ目）だけで折り返す（/web/maintenance/ で見つけ、2026-10-12 型に移した） */
.mono-step__title { word-break: keep-all; }

/* ---- 動き（14 §11。transform・opacity だけ。発火は motion.js の IntersectionObserver。reduced-motion では動かさない） ---- */
@media (prefers-reduced-motion: no-preference) {
  /* 見出し: 英字がマスクの下からせり上がり、h2 が出て、下の黒線が左から伸びる */
  .js [data-motion="mono-heading"]:not(.is-inview) { opacity: 1; }
  .js [data-motion="mono-heading"] .mono-heading__en > span { transition: transform 0.9s var(--motion-ease-out); }
  .js [data-motion="mono-heading"]:not(.is-inview) .mono-heading__en > span { transform: translate3d(0, 105%, 0); }
  .js [data-motion="mono-heading"] .mono-heading__title { transition: opacity 0.8s var(--motion-ease) 0.1s, transform 0.8s var(--motion-ease-out) 0.1s; }
  .js [data-motion="mono-heading"]:not(.is-inview) .mono-heading__title { opacity: 0; transform: translate3d(0, 16px, 0); }
  .js [data-motion="mono-heading"] .mono-heading__title::after { transition: transform 1.1s var(--motion-ease-out) 0.3s; }
  .js [data-motion="mono-heading"]:not(.is-inview) .mono-heading__title::after { transform: scaleX(0); }

  /* STEP: 円が少し回りながら大きくなって位置に着く（カードの出現と同じ順番の遅れ） */
  .js .mono-step .mono-step__circle { transition: transform 1s var(--motion-ease-out) calc(var(--motion-i, 0) * var(--motion-step) + 120ms); }
  .js .mono-step:not(.is-inview) .mono-step__circle { transform: scale(0.8) rotate(-10deg); }
  /* 縦の線は STEP の一覧が画面に入ると上から伸びる（1回だけ） */
  .js .mono-steps::before { transition: transform 1.6s var(--motion-ease-out) 0.2s; }
  .js .mono-steps:not(.is-inview)::before { transform: scaleY(0); }
}

/* ホバー（マウスのある端末だけ）: カードの影が深くなる。持ち上がりは motion.css の motion-lift */
@media (hover: hover) and (pointer: fine) {
  .page-mono .motion-lift:hover { box-shadow: var(--mono-shadow-hover); }
  .mono-case:hover .mono-case__media img { transform: scale(1.06); }
  .mono-case:hover .mono-case__name::after { transform: translateX(4px); }
}

/* ---- スマホ ---- */
@media (max-width: 767px) {
  .mono-section { padding-block: 48px; }
  .mono-section--step { padding-block: 60px 52px; }
  .mono-lead { font-size: 17px; line-height: 1.85; }
  .mono-text, .mono-feature__body, .mono-table th, .mono-table td, .mono-step__card { font-size: 16px; }
  .mono-heading { margin-bottom: 28px; }
  .mono-heading__en { font-size: 13px; }
  .mono-heading__title { padding-bottom: 12px; }

  .mono-features { gap: 20px; }
  .mono-feature { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 22px; }
  .mono-feature__label { font-size: 24px; text-align: left; letter-spacing: 0.08em; }
  .mono-feature__body { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--mono-line); }

  .mono-table-wrap { padding: 6px; }
  .mono-table th, .mono-table td { padding: 14px 14px; }
  .mono-table thead th { font-size: 14px; }
  .mono-table thead th:first-child { width: 36%; }

  .mono-cases { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
  .mono-case { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 12px 12px; }
  .mono-case__name { margin-top: 0; padding: 0 38px 0 0; font-size: 16px; }
  .mono-case__name::after { right: 14px; bottom: auto; top: 50%; margin-top: -14px; width: 28px; height: 28px; }
  .mono-case__media { border-radius: 10px; }
  .mono-links { flex-direction: column; margin-top: 22px; }
  .mono-action .c-btn { width: 100%; justify-content: space-between; }

  .mono-steps { --circle: 124px; gap: 28px; }
  .mono-steps::before { display: none; }
  .mono-step { grid-template-columns: minmax(0, 1fr); }
  .mono-step__circle { margin: 0 0 -46px 14px; padding: 12px; }
  .mono-step__num { font-size: 12px; }
  .mono-step__title { margin-top: 2px; font-size: 15px; letter-spacing: 0.02em; }
  .mono-step__card { min-height: 0; margin-left: 0; padding: 62px 20px 22px; }

  .mono-box { padding: 26px 22px; }

  .cta-block--mono .cta-block__inner { padding: 56px 0; }
  .cta-block--mono .cta-block__inner > * { max-width: none; }
  .cta-block--mono .cta-block__btn { min-width: 0; width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .mono-feature { --mono-feature-label: 180px; gap: 28px; padding: 32px 36px; }
  .mono-feature__body { padding-left: 28px; }
  .mono-cases { gap: 20px; }
  .mono-steps { --circle: 180px; }
  .mono-step__title { font-size: 18px; }
  .mono-step__card { padding-right: 32px; padding-left: calc(var(--circle) / 2 + 32px); }
  .cta-block--mono .cta-block__inner > * { max-width: 75%; }
}

/* ==== pages/internet.css ==== */
/* /internet/ だけの調整（共通の型は components/mono-fv.css・mono.css）。新しい色・影・角丸は無い（型の変数だけ） */

/* §2 取り扱う光回線: 回線ごとに型の囲み（mono-box mono-card）を縦に並べる。
   PC は左（ロゴ・h3・相談ボタン）と右（原稿のカード表＝型の mono-table）の2列、1023px 以下は縦に積む */
.inet-lines { display: grid; gap: 32px; margin-top: 32px; }
.inet-line { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-areas: "head table" "action table"; grid-template-rows: auto 1fr; gap: 24px 48px; align-items: start; scroll-margin-top: 96px; }
.inet-line__head { grid-area: head; }
.inet-line__table { grid-area: table; }
.inet-line__action { grid-area: action; } /* 相談ボタンは原稿の順（表の後ろ）で HTML に置き、PC は左の列のロゴ・h3 の下に出す */
.inet-line__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
/* ロゴ: 白地の画像のため白い面（型の --mono-white・角 --mono-radius-sm）。元の画像（幅 400px）より大きく表示しない */
.inet-line__logo { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 300px; min-height: 120px; padding: 16px 24px; border-radius: var(--mono-radius-sm); background: var(--mono-white); }
.inet-line__logo img { display: block; width: 200px; max-width: 100%; height: auto; }
/* SONIX は正式ロゴの受領まで画像を置かない（2026-10-18。K-68 のロゴの枠の指定は削除） */
/* 囲みの中の h3: 型の値（20〜24px（1.8vw）／700、スマホ 19px。2026-10-12 承認。/web/web-site/・/security/ と同じ） */
.inet-line__title { font-size: clamp(20px, 1.8vw, 24px); font-weight: var(--fw-bold); line-height: 1.5; letter-spacing: 0.04em; word-break: keep-all; }
.mono-section .inet-line__text { margin-top: 0; }
.inet-line__action .c-btn { word-break: keep-all; }
.inet-line__table { padding: 0; background: none; box-shadow: none; }
.inet-line__table .mono-table thead th:first-child { width: 34%; }

/* 文字リンクは keep-all（語の切れ目の <wbr> だけで折り返す。/security/ 群と同じ）。「Wi-Fi」はハイフンの後ろで改行しない */
.page-internet .mono-textlink, .page-internet .mono-inline-link { word-break: keep-all; } /* 文中のリンクも（§3 で「回／線について相談する」と切れたため。第2版） */
.inet-nowrap { white-space: nowrap; }

/* 2026-10-29 第2弾（No.157・158）: プラン・速度の行と公式の注記。注記は長い文のため keep-all を外して普通に折り返す（はみ出し防止） */
.mono-table td .inet-note { margin-top: 6px; font-size: 13px; font-weight: 400; line-height: 1.7; color: var(--mono-sub); word-break: normal; overflow-wrap: anywhere; }
.mono-table td.inet-wrap { word-break: normal; overflow-wrap: anywhere; }
.mono-table td.inet-note-cell { font-size: 14px; line-height: 1.7; color: var(--mono-sub); }
.inet-sub { display: block; margin-top: 4px; font-size: 15px; }
.inet-sub .mono-inline-link { word-break: normal; overflow-wrap: anywhere; }
/* スマホ: 表の行を縦に積む（項目名の下に内容。長い注記で表が横にはみ出さないように） */
@media (max-width: 767px) {
  .inet-line__table .mono-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .inet-line__table .mono-table, .inet-line__table .mono-table tbody, .inet-line__table .mono-table tr, .inet-line__table .mono-table th, .inet-line__table .mono-table td { display: block; width: auto; }
  .inet-line__table .mono-table tbody th { border-bottom: 0; padding-bottom: 8px; border-radius: 0; }
  .inet-line__table .mono-table tbody tr:first-child th { border-top-left-radius: var(--mono-radius-sm); border-top-right-radius: var(--mono-radius-sm); }
  .inet-line__table .mono-table td { padding-top: 10px; }
}

@media (max-width: 1023px) {
  .inet-line { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "table" "action"; grid-template-rows: auto; gap: 24px; }
}
@media (max-width: 767px) {
  .inet-lines { gap: 20px; margin-top: 24px; }
  .inet-line__title { font-size: 19px; }
  .inet-line__logo { max-width: none; min-height: 100px; }
  .inet-line__logo img { width: 180px; }
  .inet-line__action, .inet-line__action .c-btn { width: 100%; }
  .inet-line__action .c-btn { justify-content: space-between; }
  .inet-line__table .mono-table thead th:first-child { width: 42%; } /* 行見出し「プラン・通信速度・固定IP」の「通信速度・」が keep-all のまま1行に入る幅（38% では「通信速度／・固定IP」と切れた） */
}
