/* ==== 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/creative-branding.css ==== */
/* /creative-branding/ の残り（後から読み込む）。見た目の出典: Figma 309:3635 */

/* ---- 見出し（英字は Marcellus SC。暗い帯の上では色を反転） ---- */
.page-branding .c-heading__en { font-weight: 400; color: #111111; letter-spacing: 0.04em; }
.page-branding .c-heading__ja::after { background: linear-gradient(90deg, #1fd9bd, #5b23d4); }
.cb-dark .c-heading__en { color: var(--cb-sub); }
.cb-dark .c-heading__ja { color: var(--cb-on-dark); }

/* ---- 暗い帯（#111）。上端は FV へ張り出す弧、下端は明るい色の弧で凹ませる（擬似要素＝レイアウトに影響しない） ---- */
.cb-dark { position: relative; z-index: 1; background: var(--cb-dark); color: var(--cb-on-dark); }
.cb-dark::before, .cb-dark::after { content: ""; position: absolute; left: -15%; right: -15%; height: 240px; border-radius: 50%; pointer-events: none; }
.cb-dark::before { top: -120px; background: var(--cb-dark); z-index: -1; }
.cb-dark::after { bottom: -120px; background: #ededed; z-index: 0; }
.cb-dark > section { position: relative; z-index: 1; }
.cb-dark--a > section:last-of-type, .cb-dark--b > section:last-of-type { padding-bottom: calc(var(--section-y) + 120px); }
.cb-dark .l-section { overflow: visible; }
.cb-dark--a { margin-top: -20px; }

/* 細い線の波（ワイヤー状の帯）。aria-hidden の飾り。画面に入ると一度だけ流れ込んで止まる */
.cb-dark .cb-wire { color: rgba(255, 255, 255, 0.2); } /* 波の土台は components/wire-wave.css */
.cb-wire--a { top: 34%; }
.cb-wire--b { top: 30%; transform: scaleX(-1); }

/* ---- 2. CI と VI（表のままジグザグ） ---- */
.cb-zig { display: block; width: 100%; border-collapse: collapse; }
.cb-zig tbody { display: block; }
.cb-zig__row { position: relative; display: block; min-height: 470px; padding: 56px 0 56px calc(400px + 96px); }
.cb-zig__row + .cb-zig__row { margin-top: 110px; }
.cb-zig__row--vi { padding: 56px calc(400px + 96px) 56px 0; }
/* 行見出し（th）の文字は原稿どおり名称だけ。カード・番号・英字は擬似要素で描く飾り（代替テキスト / "" で読み上げない） */
.cb-zig__head { position: static; display: block; padding-top: 128px; text-align: left; font-size: 26px; font-weight: var(--fw-bold); line-height: 1.6; letter-spacing: 0.04em; }
.cb-zig__head--ci { color: #1dadc2; }
.cb-zig__head--vi { color: #17a891; }
/* 番号（tr::before）と英字の小見出し（tr::after）: 行の上端に置く */
.cb-zig__row::before, .cb-zig__row::after { position: absolute; top: 56px; font-family: var(--font-en); font-weight: 400; line-height: 1; pointer-events: none; }
.cb-zig__row::before {
  content: attr(data-num); content: attr(data-num) / "";
  left: calc(400px + 96px); padding-right: 40px; font-size: 104px; color: var(--cb-on-dark); letter-spacing: -0.02em;
  background: linear-gradient(to bottom right, transparent calc(50% - 0.6px), var(--cb-sub) 50%, transparent calc(50% + 0.6px)) right bottom / 34px 96px no-repeat;
}
.cb-zig__row::after { content: attr(data-sub); content: attr(data-sub) / ""; left: calc(400px + 96px + 168px); top: calc(56px + 70px); font-size: 26px; color: var(--cb-sub); letter-spacing: 0.06em; }
.cb-zig__row--vi::before { left: 0; }
.cb-zig__row--vi::after { left: 168px; }
/* カード（th::before）と輪郭線の英字（th::after）: 行（tr）を基準に左（VI は右）へ */
.cb-zig__head::before, .cb-zig__head::after { position: absolute; top: 0; width: 400px; height: 470px; pointer-events: none; }
.cb-zig__head::before {
  content: ""; left: 0; border-radius: 12px; background: var(--cb-grad-ci);
  transform: perspective(1400px) rotateY(12deg) rotateX(3deg) rotateZ(-1.5deg);
  box-shadow: 0 0 34px rgba(120, 220, 255, 0.28), 0 30px 80px rgba(0, 0, 0, 0.55);
  transition: transform 0.7s var(--motion-ease-out);
}
.cb-zig__head::after {
  content: attr(data-card); content: attr(data-card) / ""; left: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 7% 5% 0;
  transform: perspective(1400px) rotateY(12deg) rotateX(3deg) rotateZ(-1.5deg);
  font-family: var(--font-en); font-weight: 400; font-size: 120px; line-height: 0.95; color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.72);
}
.cb-zig__head--vi::before { left: auto; right: 0; background: var(--cb-grad-vi); box-shadow: 0 0 34px rgba(19, 181, 136, 0.3), 0 30px 80px rgba(0, 0, 0, 0.55); transform: perspective(1400px) rotateY(-12deg) rotateX(3deg) rotateZ(1.5deg); }
.cb-zig__head--vi::after { left: auto; right: 0; transform: perspective(1400px) rotateY(-12deg) rotateX(3deg) rotateZ(1.5deg); }
@media (hover: hover) and (pointer: fine) {
  .cb-zig__row:hover .cb-zig__head::before, .cb-zig__row:hover .cb-zig__head::after { transform: perspective(1400px) rotateY(4deg) rotateX(1deg) translate3d(0, -8px, 0); }
  .cb-zig__row--vi:hover .cb-zig__head::before, .cb-zig__row--vi:hover .cb-zig__head::after { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg) translate3d(0, -8px, 0); }
}
.cb-zig__cell { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 18px; line-height: 1.9; }
.cb-zig__cell::before { content: attr(data-label) / ""; display: block; margin-bottom: 4px; font-size: 13px; color: var(--cb-sub); letter-spacing: 0.1em; }
.cb-civi__note { max-width: 760px; margin-top: 96px; font-size: 17px; line-height: 2; }

/* グラデーションのカード（やや傾いた台形・グロー・輪郭線だけの英字）。文字なしの飾り＝CSS だけで描く */
.cb-card {
  display: block; position: absolute; top: 0; left: 0; width: 400px; height: 470px; border-radius: 12px; overflow: hidden;
  background: var(--cb-grad, var(--cb-grad-ci));
  transform: perspective(1400px) rotateY(12deg) rotateX(3deg) rotateZ(-1.5deg);
  box-shadow: 0 0 34px rgba(120, 220, 255, 0.28), 0 30px 80px rgba(0, 0, 0, 0.55);
  transition: transform 0.7s var(--motion-ease-out);
}
.cb-card--ci { --cb-grad: var(--cb-grad-ci); }
.cb-card--vi { --cb-grad: var(--cb-grad-vi); box-shadow: 0 0 34px rgba(19, 181, 136, 0.3), 0 30px 80px rgba(0, 0, 0, 0.55); }
.cb-card--web { --cb-grad: var(--cb-grad-web); box-shadow: 0 0 34px rgba(135, 65, 255, 0.35), 0 24px 60px rgba(0, 0, 0, 0.55); }
.cb-card--graphic { --cb-grad: var(--cb-grad-graphic); box-shadow: 0 0 34px rgba(34, 182, 90, 0.32), 0 24px 60px rgba(0, 0, 0, 0.55); }
.cb-card--video { --cb-grad: var(--cb-grad-video); box-shadow: 0 0 34px rgba(185, 57, 128, 0.35), 0 24px 60px rgba(0, 0, 0, 0.55); }
/* 光の筋（ゆっくり横切る）。opacity・transform だけ */
.cb-card::after {
  content: ""; position: absolute; inset: -30% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.32) 50%, transparent 60%);
  transform: translate3d(-40%, 0, 0); opacity: 0.8;
}
.cb-card__en {
  position: absolute; right: 7%; bottom: 5%; max-width: 92%; text-align: right; font-family: var(--font-en); font-size: 120px; line-height: 0.95;
  color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.72); overflow-wrap: anywhere; letter-spacing: 0.02em;
}
@media (hover: hover) and (pointer: fine) {
  .cb-apply__row:hover .cb-card { transform: perspective(1400px) rotateY(4deg) rotateX(1deg) translate3d(0, -8px, 0); }
  .cb-apply__row:nth-child(even):hover .cb-card { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg) translate3d(0, -8px, 0); }
}

/* ---- 3. 設計するもの ---- */
.cb-deliver { padding-top: 0; }
.cb-deliver__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cb-deliver__item {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 26px 30px; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px; background: rgba(255, 255, 255, 0.03); font-size: 17px; line-height: 1.8; overflow: hidden;
}
.cb-deliver__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #1fd9bd, #5b23d4); transform-origin: left center; }
.cb-deliver__num { flex: 0 0 auto; white-space: nowrap; font-family: var(--font-en); font-size: 40px; line-height: 1; color: #65d2e0; }

/* ---- 4. FLOW（明るい帯・左に大きなぼかし円・02 だけ字下げ） ---- */
.cb-flow { position: relative; z-index: 2; overflow: hidden; padding: 150px 0 calc(var(--section-y) + 120px); } /* z-index: 前の暗い帯の下の曲線の面（.cb-dark::after）がぼかし円の上に重なり、斜めの境界線に見えたため、この節を上に重ねる */ /* 下の余白: 次の暗い帯の上の曲線（.cb-dark::before＝上へ 120px）の分を足す（2026-10-13 ブラッシュアップ #11。ボタンが次の節とギリギリだったため） */
/* 上の境界: ぼかし円が節の上端で切れて線のように見えたため、節の上 260px を地の色（#ededed）から透明へのグラデーションで覆ってなじませる（同 #11） */
.cb-flow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 260px; z-index: 1; background: linear-gradient(180deg, #ededed 0%, rgba(237, 237, 237, 0.85) 35%, rgba(237, 237, 237, 0) 100%); pointer-events: none; }
.cb-flow__orb {
  /* Figma: cyan→blue・blur 150px・不透明度 .51。静止画のぼかし（動かすのは transform・opacity だけ） */
  position: absolute; left: -22%; top: 6%; width: 760px; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(170deg, #4fe3f2 0%, #4a8fe8 48%, #3a4fd8 100%); opacity: 0.51; filter: blur(150px);
}
.cb-flow__ring { position: absolute; left: -26%; top: 4%; width: 800px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(53, 76, 255, 0.55); }
.cb-flow__inner { position: relative; z-index: 2; width: min(calc(100% - var(--gutter) * 2), 820px); margin: 0 6% 0 auto; }
.cb-flow__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 40px; }
.cb-flow__en { font-family: var(--font-en); font-size: 80px; line-height: 1; color: #111111; }
.cb-flow__star::before { content: "✦" / ""; font-size: 18px; color: #111111; }
.cb-flow__title { word-break: auto-phrase; text-wrap: balance; font-size: clamp(22px, 2.2vw, 30px); font-weight: var(--fw-bold); line-height: 1.5; letter-spacing: 0.06em; }
.cb-step { position: relative; padding: 40px 0 36px; border-bottom: 1px solid rgba(89, 89, 89, 0.45); }
.cb-step--indent { margin-left: 100px; }
.cb-step__title { margin-bottom: 14px; font-weight: var(--fw-bold); }
.cb-step__num { font-family: var(--font-en); font-weight: 400; font-size: 28px; color: var(--cb-step-num); }
.cb-step__en { position: absolute; top: calc(40px + 4px); left: 52px; font-family: var(--font-en); font-weight: 400; font-size: 22px; line-height: 1.4; color: #595959; letter-spacing: 0.06em; } /* 見出しの外。番号の行の右に置く */
.cb-step__title { line-height: 1.4; }
.cb-step__name { display: block; margin-top: 8px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.5; letter-spacing: 0.04em; }
.cb-step p { font-size: 16px; line-height: 2; }
.cb-flow__action { margin-top: 48px; }

/* ---- 5. ロゴを使う場面まで（WEB・GRAPHIC・VIDEO のジグザグ3行） ---- */
.cb-dark--b { margin-top: 0; }
.cb-apply__intro { max-width: 760px; }
.cb-apply__intro p + p { margin-top: 12px; }
.cb-apply__list { margin-top: 72px; display: grid; gap: 80px; }
.cb-apply__row { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: center; gap: 72px; }
.cb-apply__row:nth-child(even) { grid-template-columns: minmax(0, 1fr) 340px; }
.cb-apply__row:nth-child(even) .cb-card { order: 2; transform: perspective(1400px) rotateY(-12deg) rotateX(3deg) rotateZ(1.5deg); }
.cb-card--sm { position: relative; width: 100%; height: 240px; }
.cb-card--sm .cb-card__en { font-size: 72px; }
/* §5 の番号と英字の小見出し（CI/VI 行の擬似要素と同じ見た目: Marcellus SC・細い番号・「/」の斜線・英字は番号の右） */
.cb-zig__num, .cb-zig__sub { font-family: var(--font-en); font-weight: 400; line-height: 1; }
.cb-zig__num { position: relative; display: inline-block; font-size: 104px; padding-right: 34px; color: var(--cb-on-dark); letter-spacing: -0.02em; }
.cb-zig__num::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 1px; height: 96px; background: var(--cb-sub); transform: rotate(32deg); transform-origin: bottom center; }
.cb-zig__sub { display: inline-block; margin-left: 10px; font-size: 26px; color: var(--cb-sub); letter-spacing: 0.06em; }
.cb-zig__meta { display: flex; align-items: flex-end; flex-wrap: wrap; }
.cb-apply__row .cb-zig__num { font-size: 72px; padding-right: 26px; }
.cb-apply__row .cb-zig__num::after { height: 66px; }
.cb-apply__link { margin-top: 20px; }
.cb-apply__link a {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: clamp(19px, 1.8vw, 24px); font-weight: var(--fw-bold); line-height: 1.6;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.cb-apply__link a::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--motion-ease-out); }
.cb-apply__link a:hover::after { transform: translateX(6px) rotate(45deg); }
.cb-apply__row--web .cb-apply__link a { color: #a57bff; }
.cb-apply__row--graphic .cb-apply__link a { color: #3fd27a; }
.cb-apply__row--video .cb-apply__link a { color: #e063a8; }

/* ---- 6. 料金・8. FAQ（明るい帯） ---- */
.cb-price { padding-top: calc(var(--section-y) * 0.6 + 120px); } /* 暗い帯の下端の弧（::after）が 120px 食い込む分を足す */
.cb-price__box { padding: 48px 56px; border-radius: var(--radius-panel); background: var(--color-white); border-left: 6px solid #111111; }
.cb-price__box .c-heading { margin-bottom: 20px; }
.cb-price__box p + p { margin-top: 12px; }
.cb-faq { padding-top: calc(var(--section-y) * 0.4); }
.page-branding .c-faq__mark { background: linear-gradient(135deg, #1dadc2, #5b23d4); }
.page-branding .c-faq__mark--a { background: var(--color-white); color: #3b2a9e; border-color: #5b23d4; }
.page-branding .c-faq__q::after { border-color: #5b23d4; }

/* ---- 飾りの動き（aria-hidden。一度だけ・5 秒以内に止まる・reduced-motion では動かない） ---- */
@media (prefers-reduced-motion: no-preference) {
  /* 画面に入ったときに一度だけ動いて止まる（どれも 5 秒以内） */
  .cb-apply__row.is-inview .cb-card,
  .cb-zig__row.is-inview .cb-zig__head::before, .cb-zig__row.is-inview .cb-zig__head::after { animation: motion-float 3.6s var(--motion-ease-out) both; }
  .cb-apply__row.is-inview .cb-card::after { animation: cb-sheen 2.6s ease-in-out 0.8s both; }
  .cb-flow__orb.is-inview { animation: cb-orb-breathe 4s var(--motion-ease-out) both; }
  @keyframes cb-sheen { from { transform: translate3d(-45%, 0, 0); } to { transform: translate3d(45%, 0, 0); } }
  /* 出現: 設計するものの上の線が伸びる */
  .js .cb-deliver__item::before { transition: transform 1s var(--motion-ease-out) 0.3s; }
  .js .cb-deliver__item:not(.is-inview)::before { transform: scaleX(0); }
}

/* ---- タブレット ---- */
@media (max-width: 1023px) {
  /* タブレット以下: カード → 番号・英字 → 名称 → 内容 → 使う場面 の縦積み */
  .cb-zig__row, .cb-zig__row--vi { padding: 0; min-height: 0; }
  .cb-zig__head { position: relative; padding-top: calc(300px + 36px + 110px); }
  .cb-zig__head::before, .cb-zig__head::after, .cb-zig__head--vi::before, .cb-zig__head--vi::after { left: 0; right: auto; width: min(100%, 520px); height: 300px; }
  .cb-zig__row::before, .cb-zig__row--vi::before { left: 0; top: calc(300px + 36px); }
  .cb-zig__row::after, .cb-zig__row--vi::after { left: 168px; top: calc(300px + 36px + 70px); }
  .cb-card { position: relative; width: min(100%, 520px); height: 300px; margin: 0 0 36px; }
  .cb-deliver__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-apply__row, .cb-apply__row:nth-child(even) { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
  .cb-apply__row:nth-child(even) .cb-card { order: 0; }
  .cb-flow__inner { margin: 0 auto; }
}

/* ---- スマホ（ジグザグは縦積み） ---- */
@media (max-width: 767px) {
  .cb-dark::before, .cb-dark::after { height: 120px; }
  .cb-dark::before { top: -60px; }
  .cb-dark::after { bottom: -60px; }
  .cb-dark--a > section:last-of-type, .cb-dark--b > section:last-of-type { padding-bottom: calc(var(--section-y) + 60px); }
  .cb-zig__row + .cb-zig__row { margin-top: 72px; }
  .cb-card { width: 100%; height: 220px; margin-bottom: 28px; transform: perspective(1000px) rotateY(8deg) rotateX(2deg); }
  .cb-card__en { font-size: 84px; }
  .cb-zig__head { padding-top: calc(220px + 28px + 76px); font-size: 20px; }
  .cb-zig__head::before, .cb-zig__head::after, .cb-zig__head--vi::before, .cb-zig__head--vi::after { width: 100%; height: 220px; }
  .cb-zig__head::before, .cb-zig__head::after { transform: perspective(1000px) rotateY(8deg) rotateX(2deg); }
  .cb-zig__head--vi::before, .cb-zig__head--vi::after { transform: perspective(1000px) rotateY(-8deg) rotateX(2deg); }
  .cb-zig__head::after { font-size: 84px; }
  .cb-zig__row::before, .cb-zig__row--vi::before { top: calc(220px + 28px); font-size: 64px; padding-right: 28px; background-size: 24px 58px; }
  .cb-zig__row::after, .cb-zig__row--vi::after { left: 112px; top: calc(220px + 28px + 42px); font-size: 18px; }
  .cb-zig__num { font-size: 64px; padding-right: 22px; }
  .cb-zig__num::after { height: 58px; right: 4px; bottom: 4px; }
  .cb-zig__sub { font-size: 18px; }
  .cb-zig__cell { font-size: 16px; margin-top: 16px; padding-top: 14px; }
  .cb-civi__note { margin-top: 56px; font-size: 16px; }
  .cb-deliver__list { grid-template-columns: 1fr; gap: 12px; }
  .cb-deliver__item { flex-direction: row; align-items: center; gap: 18px; padding: 20px; font-size: 16px; }
  .cb-deliver__num { font-size: 30px; }
  .cb-flow { padding-top: 96px; }
  .cb-flow__orb { left: -60%; width: 520px; top: 2%; filter: blur(80px); }
  .cb-flow__ring { left: -70%; width: 560px; top: 0; }
  .cb-flow__en { font-size: 52px; }
  .cb-flow__head { margin-bottom: 20px; }
  .cb-step { padding: 28px 0 26px; }
  .cb-step--indent { margin-left: 24px; }
  .cb-step__num { font-size: 24px; }
  .cb-step__en { top: calc(28px + 4px); left: 44px; font-size: 17px; }
  .cb-flow__action .c-btn { width: 100%; justify-content: space-between; }
  .cb-apply__list { margin-top: 44px; gap: 48px; }
  .cb-apply__row, .cb-apply__row:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .cb-card--sm { height: 180px; margin-bottom: 0; }
  .cb-card--sm .cb-card__en { font-size: 60px; }
  .cb-apply__row .cb-zig__num { font-size: 52px; padding-right: 20px; }
  .cb-apply__row .cb-zig__num::after { height: 48px; }
  .cb-apply__link { margin-top: 10px; }
  .cb-price__box { padding: 28px 22px; }
  .cb-price { padding-top: calc(var(--section-y) * 0.6 + 60px); } /* スマホの弧は 60px */
}

/* ==== pages/web-cbs.css ==== */
/* /web/graphic/・/web/movie/ の残り（後から読み込む）。2026-10-29 追加要望 B: /creative-branding/ のトンマナに寄せた。
   cb の部品（暗い帯 cb-dark・細い線の波・FLOW の cb-flow／cb-steps・料金の箱 cb-price__box・FAQ の印・見出しの英字）は pages/creative-branding.css をそのまま使う。
   ここは2ページの原稿にある「2列の表」「囲みの文と文字リンク」を cb の見た目で出すための部品と、節の間の余白の調整だけ（新しい色は cb の色だけ） */

/* 見出し: 日本語の見出しを語の切れ目で折り返す（部品 section-heading は <wbr> を通さないため） */
.page-cbs .c-heading__ja { word-break: auto-phrase; text-wrap: balance; }

/* 暗い帯の中の2つ目の節は上の余白を詰める（cb の「設計するもの」と同じ） */
.cbs .cb-dark > section + section { padding-top: 0; }

/* 原稿の2列の表（制作する印刷物・用途に合わせた動画）: 表のまま、行を cb の「設計するもの」と同じ細い枠のカードにする。
   番号（tr::before）と上のグラデーションの線（tr::after）は飾り（代替テキスト / "" で読み上げない）。列の見出しは表の中に残し（画面では隠す）、カードの中に小さく出す */
.cbs-cards { display: block; width: 100%; border-collapse: collapse; }
.cbs-cards tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cbs-cards__row {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px 28px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.03);
}
.cbs-cards__row::before { content: attr(data-num); content: attr(data-num) / ""; font-family: var(--font-en); font-size: 40px; line-height: 1; color: #65d2e0; }
.cbs-cards__row::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #1fd9bd, #5b23d4); }
.cbs-cards__head { display: block; padding: 0; text-align: left; font-size: 20px; font-weight: var(--fw-bold); line-height: 1.6; letter-spacing: 0.04em; word-break: keep-all; }
.cbs-cards__cell { display: block; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 16px; line-height: 1.8; word-break: keep-all; }
.cbs-cards__cell::before { content: attr(data-label) / ""; display: block; margin-bottom: 2px; font-size: 13px; color: var(--cb-sub); letter-spacing: 0.1em; }

/* 囲みの文（暗い帯の中）: 1文目は少し大きく太く。文字リンクは cb の「ロゴを使う場面まで」の色付きの下線のリンク */
.cbs-text__lead, .cbs-price__lead { font-size: clamp(18px, 1.6vw, 21px); font-weight: var(--fw-bold); line-height: 1.8; }
.cbs-links { display: grid; gap: 4px; margin-top: 28px; }
.cbs-links__item a {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: clamp(17px, 1.5vw, 20px); font-weight: var(--fw-bold); line-height: 1.6;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; word-break: keep-all; overflow-wrap: anywhere;
}
.cbs-links__item a::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--motion-ease-out); }
.cbs-links__item a:hover::after { transform: translateX(6px) rotate(45deg); }
.cbs-links__item--web a { color: #a57bff; }     /* cb の WEB の行と同じ色（#111 の上） */
.cbs-links__item--graphic a { color: #3fd27a; } /* cb の GRAPHIC の行と同じ色 */
.cbs-links__item--video a { color: #e063a8; }   /* cb の VIDEO の行と同じ色 */
.cbs-links--light .cbs-links__item a { color: #3b2a9e; } /* 白い箱の中（cb の FAQ の回答の印と同じ色） */

/* 段落2つ（アニメーションと実写）: 暗い帯の中の細い枠の箱を2つ並べる。英字は飾り */
.cbs-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cbs-pair__item { padding: 32px 30px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.03); font-size: 17px; line-height: 2; }
.cbs-pair__en { margin-bottom: 12px; font-family: var(--font-en); font-size: 28px; line-height: 1.2; letter-spacing: 0.06em; color: var(--cb-sub); }

/* 節の間の余白: 暗い帯の直後の明るい節（/web/movie/ の公開先の節）は、帯の下の余白が十分あるため上を少しだけ空ける。
   FLOW の後ろは cb と違って暗い帯ではないため、弧の分の余白を外す */
.cbs-after-dark { position: relative; z-index: 2; padding-top: 72px; } /* 帯の下の弧（.cb-dark::after。地の色で帯の下へ 120px はみ出す）が白い箱の上に重なるため、この節を上に重ねる。余白は少しだけ */
.cbs-after-dark + .cb-flow { padding-top: 64px; }
.cbs .cb-flow { padding-bottom: calc(var(--section-y) * 0.5); }
.cbs .cb-price { padding-top: calc(var(--section-y) * 0.3); }
.cbs-action { margin-top: 32px; }

@media (max-width: 1023px) {
  .cbs-cards tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cbs-cards tbody { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cbs-cards__row { padding: 22px 20px 20px; gap: 10px; }
  .cbs-cards__row::before { font-size: 30px; }
  .cbs-cards__head { font-size: 18px; }
  .cbs-pair { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cbs-pair__item { padding: 24px 20px; font-size: 16px; }
  .cbs-pair__en { font-size: 22px; }
  .cbs-after-dark { padding-top: 48px; }
  .cbs-after-dark + .cb-flow { padding-top: 48px; }
  .cbs-action .c-btn { width: 100%; justify-content: space-between; }
}

/* ==== pages/graphic.css ==== */
/* /web/graphic/ だけの調整。2026-10-29 追加要望 B で /creative-branding/ のトンマナに寄せたため、2ページ共通の部品は pages/web-cbs-fv.css・web-cbs.css に置いた。
   このページだけの調整は今は無い（元の「スマホの表の左の列の幅」は表をカードにしたため不要。元の内容は snapshots/2026-10-29-feedback1028b-before/local/assets/css/pages/graphic.css） */
