@charset "UTF-8";
/* =========================================================
   CIRCUS Ads 製品サイト  common.css
   - デザイントークン / リセット / レイアウト（l-） / 共通パーツ（c-） / ユーティリティ（u-）
   - 使い方・完成HTML：_components.md
   - ブレークポイント：SP <768px ／ TB 768–1023px ／ PC ≥1024px（グロナビのみ ≥1080px）
   - 色・余白は必ずトークン（var(--…)）で指定する。HEXの直書きはしない
   ========================================================= */

/* ---------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------- */
:root {
  /* キーカラー（オレンジ）。現行Adsの値 */
  --key: #FE7114;          /* 面・アイコン・大きい装飾用。白地で2.77:1のため文字には使わない */
  --key-text: #B84A00;     /* 白地の文字・塗りボタン（白と5.23:1 / --key-faint上 4.9:1） */
  --key-dark: #933B00;     /* hover・押下（白と7.33:1） */
  --on-key: #FFFFFF;       /* --key-text / --key-dark の面に載せる文字色 */
  /* サブカラー（キーカラーを薄めた色） */
  --key-pale: #FFD7BA;     /* 線・マーカー・バッジ地 */
  --key-light: #FFF0E5;    /* 帯・カード地・hover地 */
  --key-faint: #FAF7F5;    /* 大きな背景面（現行Adsの --lkey） */
  --lkey: var(--key-faint);

  /* イラスト用パレット（ロゴの色）。文字色には使わない */
  --ill-orange: #FE7114;
  --ill-amber: #FE9C28;
  --ill-yellow: #FFC800;
  --ill-lemon: #FFE600;
  --ill-brown: #402F08;    /* 線画・影。白地で12.9:1 */

  /* テキスト・グレー（現行Adsの値） */
  --def: #333333;          /* 本文 */
  --dgry: #666666;         /* 補足文（白地5.74:1 / --bg上4.97:1） */
  --mgry: #999999;         /* 記号・無効（文字には使わない） */
  --gry: #D9D9D9;          /* 罫線 */
  --border: #D9D9D9;       /* カード枠・罫線 */
  --lgry: #F5F5F5;         /* 薄い面 */
  --bg: #ECEFF2;           /* グレー帯 */
  --wht: #FFFFFF;
  --alert: #FD5254;        /* 必須・エラー（白地3.23:1。太字・アイコン併用で） */
  --link: var(--key-text);

  /* フッター（濃色面。白文字ロゴを載せる） */
  --ft-bg: #2E2A27;        /* 白文字14.2:1 */
  --ft-text: #FFFFFF;
  --ft-sub: #CFC9C3;       /* 補足文字 8.67:1 */
  --ft-line: rgba(255, 255, 255, .16);

  /* フォント */
  --ff-base: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --ff-en: "Oswald", "Zen Kaku Gothic New", sans-serif;
  --fs-base: 1rem;         /* 16px（SPは15px） */
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-h1: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 0.88rem + 2.65vw, 2.5rem);    /* 24→40px（現行Adsと同じ） */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --lh-base: 1.8;
  --lh-head: 1.5;

  /* 角丸 */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 40px;            /* 大きな面（round container） */
  --r-pill: 999px;         /* ボタン */

  /* 影 */
  --sh-sm: 0 2px 8px rgba(64, 47, 8, 0.06);
  --sh-md: 4px 8px 24px rgba(64, 47, 8, 0.08);
  --sh-lg: 0 16px 40px rgba(64, 47, 8, 0.12);
  --sh-key: 4px 8px 24px rgba(254, 113, 20, 0.28);
  --sh-header: 0 2px 12px rgba(0, 0, 0, 0.08);

  /* 余白スケール（4px基準） */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 40px;
  --sp-8: 48px;
  --sp-9: 64px;
  --sp-10: 80px;
  --sp-11: 120px;
  --sec-y: clamp(56px, 2.5rem + 4.2vw, 96px);  /* セクション上下（375→56 / 768→72 / 1280→96） */
  --sec-gap: clamp(24px, 1rem + 2vw, 48px);    /* 見出し→本文 */

  /* コンテナ */
  --container: 1120px;
  --container-md: 980px;
  --container-sm: 760px;
  --gutter: 16px;

  /* ヘッダー・固定CTAの高さ */
  --h-header: 64px;
  --h-spcta: 80px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --z-header: 100;
  --z-spcta: 90;
}
@media (min-width: 768px) {
  :root { --gutter: 24px; --h-header: 72px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 40px; --h-header: 80px; }
}

/* ---------------------------------------------------------
   2. Reset / Base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--h-header) + 16px); }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
body {
  min-height: 100vh;
  font-family: var(--ff-base);
  font-size: 15px;
  line-height: var(--lh-base);
  color: var(--def);
  background: var(--wht);
  letter-spacing: 0.04em;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: var(--fs-base); } }
h1, h2, h3, h4, h5, h6 { line-height: var(--lh-head); font-weight: 700; }
img, svg, video, iframe { max-width: 100%; height: auto; vertical-align: middle; }
img { border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; border-spacing: 0; }
small { font-size: var(--fs-xs); }
:focus-visible { outline: 3px solid var(--key-text); outline-offset: 2px; }
.l-footer__main :focus-visible { outline-color: var(--key); }
[hidden] { display: none !important; }
body.is-menu-open { overflow: hidden; }

.u-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.c-skip { position: absolute; left: 8px; top: -100px; z-index: 999; padding: 8px 16px; background: var(--wht); border: 2px solid var(--key-text); border-radius: var(--r-sm); }
.c-skip:focus { top: 8px; }

/* ---------------------------------------------------------
   3. Layout
   --------------------------------------------------------- */
.l-container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.l-container--md { max-width: calc(var(--container-md) + var(--gutter) * 2); }
.l-container--sm { max-width: calc(var(--container-sm) + var(--gutter) * 2); }
.l-main { display: block; }

/* ===== Header（製品ヘッダー1段。全社上部バーは既存サイト側のものを使うため置かない） ===== */
.l-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--wht);
  transition: box-shadow .3s var(--ease);
}
.l-header.is-scrolled { box-shadow: var(--sh-header); }
.l-header__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  height: var(--h-header);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
}
/* ロゴ（circusads-logo.svg 258×64） */
.l-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 1; }
.l-header__logo img { width: auto; height: 40px; }
@media (min-width: 1024px) { .l-header__logo img { height: 44px; } }

/* ハンバーガー（<1080px） */
.l-header__toggle {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 48px; height: 48px; margin-left: auto; margin-right: -8px; border-radius: var(--r-sm);
  font-size: 10px; letter-spacing: 0; line-height: 1;
}
.l-header__toggle-bars { position: relative; display: block; width: 24px; height: 16px; margin-bottom: 4px; }
.l-header__toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--def);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.l-header__toggle-bars span:nth-child(1) { top: 0; }
.l-header__toggle-bars span:nth-child(2) { top: 7px; }
.l-header__toggle-bars span:nth-child(3) { top: 14px; }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(2) { opacity: 0; }
.l-header__toggle[aria-expanded="true"] .l-header__toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* グロナビ：SP/TB はドロワー、PC（≥1080px）は横並び */
.l-gnav {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100dvh - var(--drawer-top, var(--h-header)));
  overflow-y: auto; overscroll-behavior: contain;
  padding: var(--sp-4) var(--gutter) var(--sp-9);
  background: var(--key-faint);
  border-top: 1px solid var(--border);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.l-gnav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.l-gnav__list { display: flex; flex-direction: column; }
.l-gnav__item { border-bottom: 1px solid var(--gry); }
.l-gnav__link {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  width: 100%; min-height: 56px; padding: var(--sp-3) var(--sp-2);
  font-weight: 700; font-size: 1rem; text-align: left; line-height: 1.4; white-space: nowrap;
}
.l-gnav__link::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid var(--key); border-top: 2px solid var(--key);
  transform: rotate(45deg); flex-shrink: 0;
}
button.l-gnav__link::after { transform: rotate(135deg); transition: transform .25s var(--ease); margin-top: -4px; }
button.l-gnav__link[aria-expanded="true"]::after { transform: rotate(-45deg); margin-top: 4px; }
.l-gnav__link[aria-current="page"], .l-gnav__item.is-current > .l-gnav__link { color: var(--key-text); }
.l-gnav__child { display: none; padding: 0 0 var(--sp-3) var(--sp-4); }
.l-gnav__link[aria-expanded="true"] + .l-gnav__child { display: block; }
.l-gnav__child a { display: block; padding: 10px var(--sp-2); font-size: var(--fs-sm); }
.l-gnav__child a::before { content: "\2014\00a0"; color: var(--key); }
.l-gnav__child a:hover, .l-gnav__child a[aria-current="page"] { color: var(--key-text); }
.l-gnav__cta { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
.l-gnav__cta .c-btn { width: 100%; min-width: 0; }
/* ドロワー下部だけに出すサブリンク（オンライン相談・お問い合わせ） */
.l-gnav__sub { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6); font-size: var(--fs-sm); font-weight: 700; }
.l-gnav__sub a { color: var(--key-text); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .l-gnav__cta { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .l-header__toggle { display: none; }
  .l-gnav {
    position: static; height: auto; overflow: visible; padding: 0; background: none; border: 0;
    visibility: visible; opacity: 1; transform: none; transition: none;
    display: flex; align-items: center; flex: 1; gap: var(--sp-4);
  }
  .l-gnav__list { flex-direction: row; align-items: center; margin-right: auto; }
  .l-gnav__item { position: relative; border: 0; }
  .l-gnav__link { min-height: var(--h-header); padding: 0 10px; font-size: var(--fs-sm); justify-content: flex-start; }
  a.l-gnav__link::after { display: none; }
  button.l-gnav__link::after { width: 6px; height: 6px; border-width: 1.5px; border-color: currentColor; }
  .l-gnav__link:hover, .l-gnav__link[aria-expanded="true"] { color: var(--key-text); }
  .l-gnav__link[aria-current="page"]::before, .l-gnav__item.is-current > .l-gnav__link::before {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 18px; height: 2px; background: var(--key);
  }
  .l-gnav__child {
    position: absolute; top: calc(100% - 12px); left: 0; min-width: 240px; padding: var(--sp-2);
    background: var(--wht); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-lg);
  }
  .l-gnav__child a { border-radius: var(--r-sm); padding: 10px 14px; }
  .l-gnav__child a:hover { background: var(--key-light); }
  .l-gnav__sub { display: none; }
  /* 右上のCTA2つ：同じ幅・同じ高さ */
  .l-gnav__cta { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--sp-2); margin: 0; }
  .l-gnav__cta .c-btn { min-height: 42px; padding: 10px 16px; font-size: var(--fs-sm); letter-spacing: .02em; white-space: nowrap; }
}
@media (min-width: 1280px) {
  .l-gnav__link { padding: 0 16px; font-size: 0.9375rem; }
  .l-gnav__link[aria-current="page"]::before, .l-gnav__item.is-current > .l-gnav__link::before { left: 16px; right: 16px; }
  .l-gnav__cta { gap: var(--sp-3); }
  .l-gnav__cta .c-btn { padding-inline: 16px; font-size: var(--fs-sm); }
}

/* ===== Footer ===== */
.l-footer { background: var(--wht); }
/* CTA帯（3カード：無料トライアル／資料DL／オンライン相談） */
.l-footer__cta { padding: var(--sec-y) var(--sp-4); }
.l-footer__cta-inner {
  max-width: calc(var(--container) + var(--sp-9) * 2); margin-inline: auto;
  padding: var(--sp-8) var(--sp-4); border-radius: var(--r-lg);
  background: var(--key-light);
}
.l-footer__cta-title { text-align: center; font-size: var(--fs-h3); }
.l-footer__cta-title small { display: block; margin-bottom: var(--sp-1); font-size: var(--fs-sm); font-weight: 700; color: var(--key-text); }
.l-footer__cta-list { display: grid; gap: var(--sp-4); max-width: var(--container); margin: var(--sp-6) auto 0; }
.l-footer__cta-list > li { display: flex; }
.l-footer__cta-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center;
  padding: var(--sp-6) var(--sp-5); background: var(--wht); border-radius: var(--r-md); box-shadow: var(--sh-md);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.l-footer__cta-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.l-footer__cta-card img { width: 56px; height: 56px; }
.l-footer__cta-card-title { font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.l-footer__cta-card-text { font-size: var(--fs-sm); color: var(--dgry); line-height: 1.7; }
.l-footer__cta-card .c-btn { margin-top: auto; width: 100%; min-width: 0; min-height: 54px; }
.l-footer__cta-card:hover .c-btn { transform: none; }
.l-footer__cta-note { margin-top: var(--sp-5); text-align: center; font-size: var(--fs-sm); }
.l-footer__cta-note a { color: var(--key-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .l-footer__cta { padding-inline: var(--sp-5); }
  .l-footer__cta-inner { padding: var(--sp-9) var(--sp-6); border-radius: var(--r-xl); }
  .l-footer__cta-list { grid-template-columns: repeat(3, 1fr); }
  .l-footer__cta-card { padding-inline: var(--sp-4); }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  /* TB：3枚並びでボタン文言が折り返さないよう詰める */
  .l-footer__cta-inner { padding-inline: var(--sp-4); }
  .l-footer__cta-list { gap: var(--sp-3); }
  .l-footer__cta-card { padding-inline: var(--sp-3); }
  .l-footer__cta-card .c-btn { padding-inline: 10px; font-size: .8125rem; letter-spacing: .02em; }
}
@media (min-width: 1024px) {
  .l-footer__cta { padding-inline: var(--sp-7); }
  .l-footer__cta-card { padding-inline: var(--sp-5); }
}

/* サイトマップ（濃色面＋白文字ロゴ） */
.l-footer__main { padding-block: var(--sp-9) var(--sp-6); background: var(--ft-bg); color: var(--ft-text); }
.l-footer__grid { display: grid; gap: var(--sp-7); }
.l-footer__brand img { width: auto; height: 40px; }
.l-footer__brand-text { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ft-sub); line-height: 1.8; }
.l-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-4); }
.l-footer__nav-title { font-size: var(--fs-sm); font-weight: 700; line-height: 1.6; }
.l-footer__nav-title + .l-footer__nav-title, .l-footer__nav-list + .l-footer__nav-title { margin-top: var(--sp-4); }
.l-footer__nav-title a:hover { color: var(--key); }
.l-footer__nav-list { margin-top: var(--sp-2); }
.l-footer__nav-list a { display: inline-block; padding: 4px 0; font-size: var(--fs-xs); color: var(--ft-sub); line-height: 1.6; }
.l-footer__nav-list a::before { content: "\2014\00a0"; color: var(--key); }
.l-footer__nav-list a:hover { color: var(--ft-text); text-decoration: underline; }
/* 別タブで開くリンクの印 */
.l-footer__main a[target="_blank"]::after {
  content: ""; display: inline-block; width: .9em; height: .9em; margin-left: .3em; vertical-align: -.1em; background: currentColor;
  -webkit-mask: var(--ico-ext) center/contain no-repeat; mask: var(--ico-ext) center/contain no-repeat;
}
.l-footer__main .l-footer__sns a::after { content: none; }
.l-footer__bottom { display: grid; gap: var(--sp-4); margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--ft-line); }
.l-footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-5); font-size: var(--fs-xs); color: var(--ft-sub); }
.l-footer__legal a:hover { color: var(--ft-text); text-decoration: underline; }
.l-footer__sns { display: flex; gap: var(--sp-3); }
.l-footer__sns a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid var(--ft-line); border-radius: 50%; color: var(--ft-text);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.l-footer__sns a::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat; }
.l-footer__sns a:hover { background: var(--wht); color: var(--ft-bg); }
.l-footer__sns-x { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 1.15h3.68l-8.04 9.19L24 22.85h-7.41l-5.8-7.59-6.64 7.59H.47l8.6-9.83L0 1.15h7.59l5.24 6.93zm-1.29 19.5h2.04L6.49 3.24H4.3z'/%3E%3C/svg%3E"); }
.l-footer__sns-facebook { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.07C24 5.41 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.04V9.41c0-3.02 1.8-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.97h-1.5c-1.5 0-1.96.93-1.96 1.89v2.26h3.32l-.53 3.49h-2.8V24C19.62 23.1 24 18.1 24 12.07'/%3E%3C/svg%3E"); }
.l-footer__sns-youtube { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8M9.6 15.6V8.4l6.3 3.6z'/%3E%3C/svg%3E"); }
.l-footer__company { font-size: var(--fs-xs); color: var(--ft-sub); }
.l-footer__company a { text-decoration: underline; text-underline-offset: 3px; }
.l-footer__company a:hover { color: var(--ft-text); }
.l-footer__copy { font-family: var(--ff-en); font-size: var(--fs-xs); color: var(--ft-sub); letter-spacing: .06em; }
@media (min-width: 768px) {
  .l-footer__nav { grid-template-columns: repeat(4, 1fr); }
  .l-footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .l-footer__sns { grid-column: 2; grid-row: 1; }
}
@media (min-width: 1024px) {
  .l-footer__grid { grid-template-columns: 300px 1fr; gap: var(--sp-9); }
  .l-footer__brand img { height: 44px; }
}
/* CTA帯のないフッター（フォーム・サンクス） */
.l-footer:not(:has(.l-footer__cta)) { margin-top: var(--sec-y); }

/* ===== SP固定CTA（<1024px。JS がFV通過後に .is-show を付ける。フォーム・サンクスには置かない） ===== */
.l-spcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-spcta);
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3) calc(var(--sp-2) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.l-spcta.is-show { transform: none; }
.l-spcta__item { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-width: 0; }
.l-spcta__label { font-size: 10px; font-weight: 700; line-height: 1.4; color: var(--dgry); letter-spacing: 0; white-space: nowrap; }
.l-spcta .c-btn { flex: 1; width: 100%; min-width: 0; min-height: 52px; padding: 4px 8px; font-size: var(--fs-sm); line-height: 1.3; letter-spacing: .02em; gap: .3em; box-shadow: none; }
@media (min-width: 1024px) { .l-spcta { display: none; } }
@media (max-width: 1023.98px) { body.has-spcta .l-footer { padding-bottom: var(--h-spcta); } }

/* ---------------------------------------------------------
   4. Components
   --------------------------------------------------------- */

/* ===== Button =====
   <a class="c-btn c-btn--primary" href="…">ラベル</a>
   色：--primary（キーカラー塗り＝無料トライアル）/ --outline（白地＋キーカラー枠＝資料DL）/ --white（色面の上）/ --ghost（グレー枠＝サブ）/ --on-dark（濃色面の上の枠）
   サイズ：--sm / （標準）/ --lg　幅：--block
   アイコン：--arrow（右矢印）/ --dl（ダウンロード）/ --ext（別タブ） */
:root {
  --ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ico-dl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
  --ico-ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
}
.c-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; min-width: 220px; padding: 10px 28px;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1rem; line-height: 1.4; text-align: center; letter-spacing: .06em;
  cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.c-btn:hover { transform: translateY(-2px); }
.c-btn:active { transform: none; }
.c-btn--primary { background: var(--key-text); color: var(--on-key); box-shadow: var(--sh-key); }
.c-btn--primary:hover { background: var(--key-dark); }
.c-btn--outline { background: var(--wht); color: var(--key-text); border-color: var(--key-text); }
.c-btn--outline:hover { background: var(--key-light); }
.c-btn--white { background: var(--wht); color: var(--key-text); box-shadow: var(--sh-md); }
.c-btn--white:hover { background: var(--key-light); }
.c-btn--ghost { background: var(--wht); color: var(--def); border-color: var(--gry); }
.c-btn--ghost:hover { border-color: var(--def); }
.c-btn--on-dark { background: transparent; color: var(--wht); border-color: var(--wht); }
.c-btn--on-dark:hover { background: rgba(255, 255, 255, .12); }
.c-btn--sm { min-height: 40px; min-width: 0; padding: 6px 20px; font-size: var(--fs-sm); border-width: 1.5px; }
.c-btn--lg { min-height: 64px; min-width: 280px; padding: 12px 36px; font-size: 1.0625rem; }
@media (min-width: 1024px) { .c-btn--lg { font-size: 1.125rem; } }
.c-btn--block { display: flex; width: 100%; min-width: 0; }
.c-btn--arrow::after, .c-btn--dl::after, .c-btn--ext::after {
  content: ""; width: 1em; height: 1em; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat;
}
.c-btn--arrow { --ico: var(--ico-arrow); }
.c-btn--dl { --ico: var(--ico-dl); }
.c-btn--ext { --ico: var(--ico-ext); }
.c-btn__label { display: inline; }
.c-btn__sub { margin-left: .2em; font-size: .78em; font-weight: 500; opacity: .9; }
@media (max-width: 767.98px) { .c-btn__sub { display: block; margin-left: 0; } }
.c-btn__badge { display: inline-block; padding: 1px 8px; border-radius: var(--r-xs); background: var(--wht); color: var(--key-text); font-size: var(--fs-xs); line-height: 1.6; }
.c-btn--outline .c-btn__badge, .c-btn--white .c-btn__badge { background: var(--key-text); color: var(--on-key); }

/* ボタンを並べる：PC/TBは同じ幅（いちばん長い文言に合わせる）、SPは縦積みで同じ高さ */
.c-btn-group {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--sp-5) var(--sp-4);
  width: fit-content; max-width: 100%; margin-inline: auto;
}
.c-btn-group--start { margin-left: 0; }
.c-btn-group > .c-btn, .c-btn-group > .c-btn-unit { min-width: 0; }
.c-btn-group > .c-btn { width: 100%; }
@media (min-width: 768px) { .c-btn-group > .c-btn { min-width: 240px; } }
/* ボタン上の吹き出し文言「＼3分で分かる概要資料／」 */
.c-btn-unit { display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-2); }
.c-btn-unit__label { font-size: var(--fs-sm); font-weight: 700; line-height: 1.4; text-align: center; }
.c-btn-unit__label::before { content: "＼"; }
.c-btn-unit__label::after { content: "／"; }
.c-btn-unit > .c-btn { flex: 1; width: 100%; }
@media (min-width: 768px) { .c-btn-unit > .c-btn { min-width: 240px; } }
@media (max-width: 767.98px) {
  .c-btn-group { grid-auto-flow: row; grid-auto-rows: 1fr; width: 100%; }
  .c-btn-group .c-btn { min-width: 0; padding-inline: 20px; }
}

/* テキストリンク（矢印付き） */
.c-link { display: inline-flex; align-items: center; gap: .4em; color: var(--key-text); font-weight: 700; }
.c-link::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.c-link:hover { text-decoration: underline; }

/* ===== Section ===== */
.c-sec { padding-block: var(--sec-y); }
.c-sec--fill { background: var(--bg); }
.c-sec--key { background: var(--key-faint); }
.c-sec--bg { /* contents.css で独自の背景を付けるセクションの目印（余白ルール用） */ }
/* 角丸の面（round container）。左右に余白を残して面を置く */
.c-sec--round { margin-inline: var(--sp-4); border-radius: var(--r-lg); background: var(--bg); }
.c-sec--round.c-sec--key { background: var(--key-faint); }
@media (min-width: 768px) { .c-sec--round { margin-inline: var(--sp-5); border-radius: var(--r-xl); } }
@media (min-width: 1024px) { .c-sec--round { margin-inline: var(--sp-7); } }
/* 下向き三角で次のセクションへつなぐ（課題→解決） */
.c-sec--notch { position: relative; }
.c-sec--notch::after {
  content: ""; position: absolute; left: 50%; bottom: -39px; transform: translateX(-50%);
  border-style: solid; border-width: 40px 60px 0; border-color: var(--bg) transparent transparent;
}
.c-sec--notch.c-sec--key::after { border-top-color: var(--key-faint); }

/* --- セクション余白の統一ルール（--sec-y は1回分だけ空ける） ---
   ・白いセクション（色modifierなし）が続く → 後ろの上余白を0（前の下余白だけ）
   ・同じ色のセクションが続く → 後ろの上余白を0
   ・角丸の面が続く → 面と面の間を少し空ける
   ・中間CTA（.c-cta）は白セクションとの間を1回分にする。上が0になることはない
   ・フッターCTA帯は、直前が白セクション／中間CTAなら上余白を0（二重にしない） */
.c-sec:not(.c-sec--fill, .c-sec--key, .c-sec--round, .c-sec--bg) + .c-sec:not(.c-sec--fill, .c-sec--key, .c-sec--round, .c-sec--bg) { padding-top: 0; }
.c-sec--fill:not(.c-sec--round) + .c-sec--fill:not(.c-sec--round),
.c-sec--key:not(.c-sec--round) + .c-sec--key:not(.c-sec--round) { padding-top: 0; }
.c-sec--round + .c-sec--round { margin-top: var(--sp-5); }
.c-sec--notch + .c-sec { padding-top: calc(var(--sec-y) + 24px); }
.c-sec:not(.c-sec--fill, .c-sec--key, .c-sec--round, .c-sec--bg) + .c-cta { padding-top: 0; }
.c-cta + .c-sec:not(.c-sec--fill, .c-sec--key, .c-sec--round, .c-sec--bg) { padding-top: 0; }
.l-main:has(> .c-sec:last-child:not(.c-sec--fill, .c-sec--key, .c-sec--round, .c-sec--bg)) + .l-footer > .l-footer__cta,
.l-main:has(> .c-cta:last-child) + .l-footer > .l-footer__cta { padding-top: 0; }
.l-main:has(> .c-sec:last-child:not(.c-sec--fill, .c-sec--key, .c-sec--round, .c-sec--bg)) + .l-footer:not(:has(.l-footer__cta)) { margin-top: 0; }

/* セクション見出し：英字キャプション（上）＋ h2 ＋ リード */
.c-sec__head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); text-align: center; margin-bottom: var(--sec-gap); }
.c-sec__head--left { align-items: flex-start; text-align: left; }
.c-sec__en {
  order: -2; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-en); font-size: .8125rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--key-text); line-height: 1.3;
}
.c-sec__en::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--key); }
.c-sec__sub { order: -1; font-weight: 700; font-size: clamp(0.9375rem, .85rem + .4vw, 1.25rem); line-height: 1.5; }
.c-sec__title { font-size: var(--fs-h2); line-height: 1.45; letter-spacing: .06em; }
.c-sec__lead { margin-top: var(--sp-4); max-width: 46em; font-weight: 500; line-height: 1.9; }
.c-sec__foot { margin-top: var(--sec-gap); text-align: center; }
/* 小見出し（h3）：左にキーカラーの縦線 */
.c-heading { position: relative; padding-left: 16px; font-size: var(--fs-h3); line-height: 1.5; }
.c-heading::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 4px; border-radius: 2px; background: var(--key); }

/* ===== Breadcrumb ===== */
.c-breadcrumb { padding-block: var(--sp-3); font-size: var(--fs-xs); color: var(--dgry); }
.c-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.c-breadcrumb__item { display: inline-flex; align-items: center; }
.c-breadcrumb__item + .c-breadcrumb__item::before { content: ""; width: 5px; height: 5px; margin-inline: 10px; border-top: 1px solid var(--mgry); border-right: 1px solid var(--mgry); transform: rotate(45deg); }
.c-breadcrumb__item a:hover { color: var(--key-text); text-decoration: underline; }
.c-breadcrumb__item [aria-current="page"] { color: var(--def); }

/* ===== Page head（下層ページのタイトル帯） ===== */
.c-pagehead { position: relative; overflow: hidden; padding-block: var(--sp-8); background: var(--key-faint); }
.c-pagehead::before, .c-pagehead::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.c-pagehead::after { right: -60px; top: -80px; width: 280px; height: 280px; background: var(--key-light); }
.c-pagehead::before { right: 150px; bottom: -36px; width: 72px; height: 72px; background: var(--ill-yellow); opacity: .35; }
.c-pagehead__inner { position: relative; z-index: 1; }
.c-pagehead__en { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-en); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--key-text); }
.c-pagehead__en::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--key); }
.c-pagehead__title { margin-top: var(--sp-1); font-size: var(--fs-h1); letter-spacing: .06em; }
.c-pagehead__lead { margin-top: var(--sp-4); max-width: 44em; }
.c-pagehead__updated { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--dgry); }
@media (max-width: 767.98px) { .c-pagehead::before { right: 40px; } }
@media (min-width: 1024px) {
  .c-pagehead { padding-block: var(--sp-10); }
  .c-pagehead::after { width: 420px; height: 420px; right: -80px; top: -140px; }
  .c-pagehead::before { right: 320px; width: 96px; height: 96px; }
}

/* ===== Grid / Card =====
   同じ行のカードは grid でそろえる。ul > li で包むときも li を伸ばして高さをそろえる。
   見出し・本文・ボタンの位置まで行ごとにそろえるときは .c-grid--sub（カードを grid の直下に置き、--rows に行数） */
.c-grid { display: grid; gap: var(--sp-5); align-items: stretch; }
.c-grid > li { display: flex; flex-direction: column; }
.c-grid > li > .c-card { flex: 1; }
@media (min-width: 768px) {
  .c-grid--2, .c-grid--3, .c-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .c-grid--3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .c-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.c-grid.c-grid--sub > * { display: grid; grid-template-rows: subgrid; grid-row: span var(--rows, 3); row-gap: var(--sp-3); align-content: start; }
.c-card {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5); background: var(--wht);
  border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--sh-sm);
}
.c-card--center { align-items: center; text-align: center; }
.c-grid.c-grid--sub > .c-card--center { justify-items: center; }
.c-card--flat { box-shadow: none; }
.c-card--fill { border-color: transparent; background: var(--lgry); box-shadow: none; }
.c-card--key { border: 2px solid var(--key); }
a.c-card { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
a.c-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.c-card__img { display: flex; align-items: center; justify-content: center; height: 160px; margin-bottom: var(--sp-2); }
.c-card__img img { max-height: 100%; width: auto; }
.c-card__label { font-size: var(--fs-sm); font-weight: 700; color: var(--key-text); }
.c-card__title { font-size: var(--fs-h4); line-height: 1.5; }
.c-card__text { font-size: var(--fs-sm); line-height: 1.85; }
.c-card__foot { margin-top: auto; padding-top: var(--sp-3); }
.c-grid--sub .c-card__foot { margin-top: 0; padding-top: 0; align-self: end; }
.c-card__num { font-family: var(--ff-en); font-size: 2.25rem; font-weight: 600; line-height: 1; color: var(--key); }

/* ===== Feature（機能グリッド＋機能詳細） ===== */
.c-feature-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); padding: var(--sp-5); border-radius: var(--r-lg); background: var(--wht); }
.c-feature-grid--bg { background: var(--lgry); }
@media (min-width: 768px) { .c-feature-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3) var(--sp-5); padding: var(--sp-6); } }
@media (min-width: 1024px) { .c-feature-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5) var(--sp-6); padding: var(--sp-7) var(--sp-8); } }
.c-feature-grid__item { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) 0; font-weight: 700; line-height: 1.5; }
a.c-feature-grid__item:hover { color: var(--key-text); }
.c-feature-grid__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--key-light); }
.c-feature-grid__icon img { width: 32px; height: 32px; }
.c-feature-grid__text small { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--dgry); }

/* 機能詳細：テキスト＋イラストの2カラム（交互に反転は --reverse） */
.c-feature {
  display: grid; gap: var(--sp-5); align-items: center;
  padding: var(--sp-6) var(--sp-5); background: var(--wht);
  border: 1px solid var(--key-pale); border-radius: var(--r-lg);
}
.c-feature + .c-feature { margin-top: var(--sp-5); }
@media (min-width: 1024px) {
  .c-feature { grid-template-columns: 5fr 6fr; gap: var(--sp-8); padding: var(--sp-8) var(--sp-9); border-radius: var(--r-xl); }
  .c-feature--reverse .c-feature__body { order: 2; }
}
.c-feature__tag {
  display: inline-flex; align-items: center; gap: var(--sp-2); padding: 4px 14px 4px 6px;
  border: 1px solid var(--key); border-radius: var(--r-pill); color: var(--key-text); font-size: var(--fs-sm); font-weight: 700;
}
.c-feature__tag img { width: 24px; height: 24px; }
.c-feature__title { margin-top: var(--sp-3); font-size: var(--fs-h3); line-height: 1.5; }
.c-feature__text { margin-top: var(--sp-3); }
.c-feature__list { margin-top: var(--sp-4); display: grid; gap: 6px; }
.c-feature__list li { position: relative; padding-left: 1.6em; font-size: var(--fs-sm); }
.c-feature__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: .9em; height: .5em; border-left: 2px solid var(--key); border-bottom: 2px solid var(--key); transform: rotate(-45deg); }
.c-feature__media { border-radius: var(--r-md); overflow: hidden; background: var(--key-faint); }
.c-feature__media img { display: block; width: 100%; }

/* ===== Steps（利用の流れ） ===== */
.c-steps { display: grid; gap: var(--sp-5); }
.c-steps__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-4); align-items: start; }
.c-steps__item:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: calc(var(--sp-5) * -1 + 8px); width: 2px; background: repeating-linear-gradient(var(--key-pale) 0 6px, transparent 6px 10px); }
.c-steps__num {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--key-text); color: var(--on-key);
  font-family: var(--ff-en); line-height: 1;
}
.c-steps__num small { font-size: 9px; letter-spacing: .1em; }
.c-steps__num span { font-size: 1.375rem; font-weight: 600; }
.c-steps__title { font-size: var(--fs-h4); line-height: 1.5; padding-top: 4px; }
.c-steps__text { margin-top: var(--sp-1); font-size: var(--fs-sm); }
.c-steps__img { margin-top: var(--sp-3); }
@media (min-width: 1024px) {
  .c-steps--h { grid-template-columns: repeat(var(--steps, 3), 1fr); gap: var(--sp-6); }
  .c-steps--h .c-steps__item { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; justify-items: center; text-align: center; padding: var(--sp-6) var(--sp-4); background: var(--wht); border-radius: var(--r-md); box-shadow: var(--sh-sm); }
  .c-steps--h .c-steps__item:not(:last-child)::after {
    left: auto; right: calc(var(--sp-6) * -.5); top: 50%; bottom: auto; width: 0; height: 0; background: none;
    border-style: solid; border-width: 10px 0 10px 12px; border-color: transparent transparent transparent var(--key); transform: translate(50%, -50%);
  }
}

/* ===== Table（比較表・汎用表）。SP は .c-scroll で横スクロール =====
   <p class="c-scroll__hint">横にスクロールできます</p>
   <div class="c-scroll" role="region" aria-label="◯◯の比較表" tabindex="0"><table class="c-table">…</table></div> */
.c-scroll {
  position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--key) var(--lgry);
}
.c-scroll::-webkit-scrollbar { height: 4px; }
.c-scroll::-webkit-scrollbar-thumb { background: var(--key); border-radius: 4px; }
.c-scroll > table { min-width: var(--table-min, 640px); }
.c-scroll__hint { display: block; margin-bottom: var(--sp-2); font-size: var(--fs-xs); color: var(--dgry); text-align: right; }
.c-scroll__hint::after { content: " →"; }
@media (min-width: 1024px) { .c-scroll__hint { display: none; } .c-scroll > table { min-width: 0; } }

/* 比較表：CIRCUS Ads の列（is-key）を強調 */
.c-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 12px 0; --table-min: 720px; }
@media (min-width: 1024px) { .c-table { border-spacing: 24px 0; } }
.c-table th, .c-table td { padding: var(--sp-4) var(--sp-2); text-align: center; vertical-align: middle; line-height: 1.5; }
.c-table thead th { padding: var(--sp-4) var(--sp-2) var(--sp-5); background: var(--bg); border-radius: var(--r-md) var(--r-md) 0 0; font-size: 1rem; }
.c-table thead th.c-table__blank { background: none; width: 18%; }
.c-table thead th.is-key { background: var(--key-text); color: var(--on-key); font-family: var(--ff-en); font-size: 1.25rem; letter-spacing: .04em; }
.c-table tbody th { font-size: var(--fs-sm); text-align: left; border-top: 1px solid var(--gry); }
.c-table tbody td { border-top: 1px solid var(--gry); font-size: var(--fs-sm); font-weight: 700; }
.c-table tbody td.is-key { border-left: 2px solid var(--key); border-right: 2px solid var(--key); border-top-color: var(--key-pale); background: var(--wht); }
.c-table tbody tr:last-child > * { border-bottom: 1px solid var(--gry); }
.c-table tbody tr:last-child td.is-key { border-bottom: 2px solid var(--key); border-radius: 0 0 var(--r-md) var(--r-md); }
.c-table__mark { display: block; margin-bottom: 4px; font-size: 1.75rem; line-height: 1; font-weight: 400; }
.c-table__mark--best::before { content: "\25CE"; color: var(--key); }   /* ◎ */
.c-table__mark--good::before { content: "\25CB"; color: var(--key); }   /* ○ */
.c-table__mark--mid::before  { content: "\25B3"; color: var(--mgry); }  /* △ */
.c-table__mark--bad::before  { content: "\00D7"; color: var(--mgry); }  /* × */
.c-table__note { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--dgry); }

/* 汎用データ表（仕様・会社情報など） */
.c-dtable { width: 100%; border: 1px solid var(--border); background: var(--wht); font-size: var(--fs-sm); }
.c-dtable th, .c-dtable td { padding: var(--sp-3) var(--sp-4); border: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.7; }
.c-dtable thead th { background: var(--bg); font-weight: 700; }
.c-dtable tbody th { width: 30%; background: var(--lgry); font-weight: 700; }
@media (max-width: 767.98px) {
  /* 2列の表はSPで縦積み（横スクロールにしない）。列の多い表は .c-scroll で包む */
  .c-dtable--stack, .c-dtable--stack tbody, .c-dtable--stack tr, .c-dtable--stack th, .c-dtable--stack td { display: block; width: 100%; }
  .c-dtable--stack tbody th { border-bottom: 0; }
}

/* ===== Plan（料金カード。既定2列：無料トライアル／スタンダード） ===== */
.c-plans { display: grid; gap: var(--sp-6) var(--sp-5); align-items: stretch; }
@media (min-width: 768px) { .c-plans { grid-template-columns: repeat(2, 1fr); max-width: var(--container-md); margin-inline: auto; } }
@media (min-width: 1024px) { .c-plans--3 { grid-template-columns: repeat(3, 1fr); max-width: none; } }
.c-plan {
  position: relative; display: flex; flex-direction: column;
  padding: var(--sp-7) var(--sp-5) var(--sp-6); background: var(--wht);
  border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
.c-plan--recommend { border: 3px solid var(--key); box-shadow: var(--sh-key); }
.c-plan__badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 4px 20px; border-radius: var(--r-pill); background: var(--key-text); color: var(--on-key);
  font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; letter-spacing: .1em;
}
.c-plan__name { text-align: center; font-size: 1.375rem; letter-spacing: .08em; }
.c-plan__name small { display: block; font-family: var(--ff-en); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .16em; color: var(--key-text); text-transform: uppercase; }
.c-plan__target { margin-top: var(--sp-2); text-align: center; font-size: var(--fs-sm); color: var(--dgry); line-height: 1.6; }
.c-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px; margin-top: var(--sp-4); padding-block: var(--sp-4); border-block: 1px solid var(--border); line-height: 1.1; }
.c-plan__price-num { font-family: var(--ff-en); font-weight: 600; font-size: 3rem; letter-spacing: 0; }
.c-plan--recommend .c-plan__price-num { color: var(--key-text); }
.c-plan__price-unit { font-size: 1rem; font-weight: 700; }
.c-plan__price-tax { font-size: var(--fs-xs); color: var(--dgry); }
.c-plan__price-note { flex-basis: 100%; margin-top: var(--sp-2); text-align: center; font-size: var(--fs-xs); color: var(--dgry); line-height: 1.6; }
.c-plan__list { display: grid; gap: var(--sp-2); margin-top: var(--sp-5); font-size: var(--fs-sm); }
.c-plan__list li { position: relative; padding-left: 1.7em; line-height: 1.6; }
.c-plan__list li::before { content: ""; position: absolute; left: 3px; top: .4em; width: .85em; height: .45em; border-left: 2px solid var(--key); border-bottom: 2px solid var(--key); transform: rotate(-45deg); }
.c-plan__list strong { color: var(--key-text); }
.c-plan__foot { margin-top: auto; padding-top: var(--sp-6); }
.c-plan__foot .c-btn { width: 100%; min-width: 0; }
.c-notes { margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--dgry); line-height: 1.8; }
.c-notes li { padding-left: 1em; text-indent: -1em; }
.c-notes li::before { content: "※"; }

/* 無料トライアルの申込条件（仕様書9章の4条件。文言は全ページ同じ）
   <div class="c-cond"><p class="c-cond__title">…</p><ol class="c-cond__list"><li>…</li></ol></div> */
.c-cond { position: relative; max-width: 40em; margin: var(--sp-5) auto 0; padding: var(--sp-4) var(--sp-5); border: 1px solid var(--key-pale); border-radius: var(--r-md); background: var(--wht); color: var(--def); font-size: var(--fs-sm); line-height: 1.7; text-align: left; }
.c-cond__title { font-weight: 700; color: var(--key-text); }
.c-cond__list { margin-top: var(--sp-2); counter-reset: cond; }
.c-cond__list li { position: relative; padding-left: 1.8em; counter-increment: cond; }
.c-cond__list li + li { margin-top: 4px; }
.c-cond__list li::before { content: counter(cond); position: absolute; left: 0; top: .2em; display: inline-flex; align-items: center; justify-content: center; width: 1.35em; height: 1.35em; border-radius: 50%; background: var(--key-text); color: var(--on-key); font-family: var(--ff-en); font-size: .8em; line-height: 1; }
.c-cond__note { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--dgry); }
.c-cond__note a, .c-cond a { color: var(--link); text-decoration: underline; }

/* プラン比較表（.c-scroll で包む） */
.c-plan-table { width: 100%; table-layout: fixed; background: var(--wht); border: 1px solid var(--border); font-size: var(--fs-sm); --table-min: 640px; }
.c-plan-table th, .c-plan-table td { padding: var(--sp-4) var(--sp-3); border: 1px solid var(--border); text-align: center; vertical-align: middle; line-height: 1.6; }
.c-plan-table thead th { padding-block: var(--sp-5); background: var(--bg); font-size: 1.125rem; }
.c-plan-table thead th:first-child { width: 30%; background: var(--wht); }
.c-plan-table thead th.is-key { background: var(--key-text); color: var(--on-key); }
.c-plan-table thead th small { display: block; font-size: var(--fs-xs); font-weight: 500; }
.c-plan-table tbody th { text-align: left; background: var(--lgry); font-weight: 700; }
.c-plan-table tbody td { font-weight: 700; }
.c-plan-table tbody td.is-key { background: var(--key-faint); }
.c-plan-table__group th { background: var(--key-light) !important; color: var(--key-text); text-align: left !important; }
.c-plan-table .is-yes::before { content: "\25CB"; display: block; font-size: 1.25rem; color: var(--key); line-height: 1.2; }
.c-plan-table .is-no { color: var(--dgry); }

/* ===== FAQ（details/summary。JS不要） ===== */
.c-faq { max-width: var(--container-md); margin-inline: auto; }
.c-faq__item { border-bottom: 1px solid var(--gry); }
.c-faq__item:first-child { border-top: 1px solid var(--gry); }
.c-faq__q {
  position: relative; display: grid; grid-template-columns: 32px 1fr 24px; gap: var(--sp-3); align-items: start;
  padding: var(--sp-5) 0; font-weight: 700; font-size: 1rem; line-height: 1.6; cursor: pointer; list-style: none;
}
@media (min-width: 768px) { .c-faq__q { font-size: 1.125rem; grid-template-columns: 40px 1fr 24px; } }
.c-faq__q::-webkit-details-marker { display: none; }
.c-faq__q::before, .c-faq__a::before { font-family: var(--ff-en); font-size: 1.625rem; font-weight: 600; line-height: 1; }
.c-faq__q::before { content: "Q"; color: var(--key); }
.c-faq__q::after {
  content: ""; justify-self: center; width: 10px; height: 10px; margin-top: 6px;
  border-right: 2px solid var(--def); border-bottom: 2px solid var(--def); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.c-faq__item[open] > .c-faq__q::after { transform: rotate(-135deg); margin-top: 12px; }
.c-faq__q:hover { color: var(--key-text); }
.c-faq__a { display: grid; grid-template-columns: 32px 1fr 24px; gap: var(--sp-3); padding: 0 0 var(--sp-5); }
@media (min-width: 768px) { .c-faq__a { grid-template-columns: 40px 1fr 24px; } }
.c-faq__a::before { content: "A"; color: var(--dgry); }
.c-faq__a > div > * + * { margin-top: var(--sp-2); }
.c-faq__a a { color: var(--link); text-decoration: underline; }
.c-faq--card .c-faq__item { margin-bottom: var(--sp-3); padding-inline: var(--sp-5); border: 0; border-radius: var(--r-md); background: var(--wht); box-shadow: var(--sh-sm); }

/* ===== 中間CTA帯（本文途中のCV。main の直下に置く。.c-sec で包まない） =====
   既定：薄いキーカラー面＋塗り（無料トライアル）＋枠（資料DL）。--fill：濃いキーカラー面（ボタンは白系に自動で切替） */
.c-cta { padding: var(--sec-y) var(--sp-4); }
.c-cta__inner {
  position: relative; overflow: hidden; max-width: calc(var(--container) + var(--sp-9) * 2); margin-inline: auto;
  padding: var(--sp-8) var(--sp-4); border-radius: var(--r-lg);
  background: var(--key-light); text-align: center;
}
.c-cta__inner::before, .c-cta__inner::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.c-cta__inner::before { width: 320px; height: 320px; left: -140px; bottom: -200px; background: var(--key); opacity: .12; }
.c-cta__inner::after { width: 160px; height: 160px; right: -50px; top: -70px; background: var(--ill-yellow); opacity: .35; }
.c-cta__sub { position: relative; font-weight: 700; font-size: clamp(0.9375rem, .85rem + .4vw, 1.25rem); color: var(--key-text); }
.c-cta__title { position: relative; margin-top: var(--sp-1); font-size: var(--fs-h3); line-height: 1.5; }
.c-cta .c-btn-group { position: relative; margin-top: var(--sp-6); }
.c-cta__note { position: relative; margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--dgry); }
@media (min-width: 768px) { .c-cta { padding-inline: var(--sp-5); } .c-cta__inner { padding: var(--sp-9) var(--sp-7); border-radius: var(--r-xl); } }
@media (min-width: 1024px) { .c-cta { padding-inline: var(--sp-7); } }
.c-cta--fill .c-cta__inner { background: var(--key-text); color: var(--on-key); }
.c-cta--fill .c-cta__inner::before { background: var(--wht); opacity: .08; }
.c-cta--fill .c-cta__sub, .c-cta--fill .c-cta__note { color: var(--on-key); }
.c-cta--fill .c-btn--primary { background: var(--wht); color: var(--key-text); box-shadow: var(--sh-md); }
.c-cta--fill .c-btn--primary:hover { background: var(--key-light); }
.c-cta--fill .c-btn--outline { background: transparent; color: var(--on-key); border-color: var(--wht); }
.c-cta--fill .c-btn--outline:hover { background: rgba(255, 255, 255, .12); }

/* ===== 実績数字（Cloud CIRCUS 全体の数字と分かる書き方で） ===== */
.c-achv { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); padding-block: var(--sp-7); text-align: center; }
.c-achv__laurel { width: 28px; height: auto; flex-shrink: 0; }
.c-achv__laurel--r { transform: scaleX(-1); }
.c-achv__catch { font-size: var(--fs-sm); font-weight: 700; line-height: 1.6; }
.c-achv__count { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-top: var(--sp-1); font-weight: 700; line-height: 1.1; }
.c-achv__num { font-family: var(--ff-en); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 600; color: var(--key-text); letter-spacing: .02em; }
.c-achv__note { margin-top: var(--sp-1); font-size: var(--fs-xs); color: var(--dgry); }
@media (min-width: 768px) { .c-achv__laurel { width: 40px; } .c-achv__catch { font-size: 1rem; } }

/* ===== 資料DLブロック（表紙＋アジェンダ＋フォーム枠） ===== */
.c-dl { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) { .c-dl { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.c-dl__cover {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden;
  background: var(--wht); box-shadow: 0 0 0 1px var(--border), 12px 12px 0 var(--key-light), var(--sh-md);
}
.c-dl__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-dl__title { margin-top: var(--sp-6); font-size: var(--fs-h3); }
.c-dl__lead { margin-top: var(--sp-2); font-weight: 700; color: var(--dgry); }
.c-dl__list { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); counter-reset: dl; }
.c-dl__list li { display: flex; gap: var(--sp-3); align-items: baseline; padding: var(--sp-3) var(--sp-4); background: var(--lgry); border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-sm); counter-increment: dl; }
.c-dl__list li::before { content: counter(dl, decimal-leading-zero); font-family: var(--ff-en); color: var(--key-text); font-size: 1rem; flex-shrink: 0; }

/* フォーム枠（Pardot iframe の器）。iframe は高さが自動で変わらないので、ページごとに
   style="--frame-h:1150px; --frame-h-sp:1350px" で指定する（SPは項目が縦に伸びるぶん高く） */
.c-form-frame { padding: var(--sp-5) var(--sp-4); background: var(--wht); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.c-form-frame__title { margin-bottom: var(--sp-4); font-size: 1.125rem; text-align: center; }
.c-form-frame__lead { margin: calc(var(--sp-2) * -1) 0 var(--sp-4); font-size: var(--fs-sm); font-weight: 700; color: var(--key-text); text-align: center; }
.c-form-frame iframe { display: block; width: 100%; border: 0; height: var(--frame-h, 1150px); }
.c-form-frame__placeholder { display: flex; align-items: center; justify-content: center; min-height: 360px; border: 2px dashed var(--gry); border-radius: var(--r-md); color: var(--dgry); font-size: var(--fs-sm); text-align: center; padding: var(--sp-5); }
.c-form-frame__note { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--dgry); }
@media (min-width: 768px) { .c-form-frame { padding: var(--sp-6); } }
@media (max-width: 767.98px) {
  /* reCAPTCHA（幅304px固定）がはみ出さないよう、SPでは枠を画面幅いっぱいに */
  .c-form-frame { margin-inline: calc(var(--gutter) * -1); padding: var(--sp-4) var(--sp-1); border-inline: 0; border-radius: 0; box-shadow: none; }
  .c-form-frame iframe { height: var(--frame-h-sp, var(--frame-h, 1150px)); }
}

/* ===== カテゴリタブ／チップ ===== */
.c-tabs { display: flex; gap: var(--sp-2); overflow-x: auto; padding-bottom: 4px; margin-bottom: var(--sp-6); scrollbar-width: none; }
.c-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .c-tabs { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.c-tabs__item {
  flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 22px;
  border: 1.5px solid var(--gry); border-radius: var(--r-pill); background: var(--wht);
  font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; transition: all .2s var(--ease);
}
.c-tabs__item:hover { border-color: var(--key); color: var(--key-text); }
.c-tabs__item[aria-current="page"], .c-tabs__item.is-active { background: var(--key-text); border-color: var(--key-text); color: var(--on-key); }
.c-chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--r-pill); background: var(--key-light); color: var(--key-text); font-size: var(--fs-xs); font-weight: 700; line-height: 1.6; white-space: nowrap; }
.c-chip--gray { background: var(--lgry); color: var(--dgry); }
.c-chip--outline { background: var(--wht); border: 1px solid var(--key); }
.c-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== 記事一覧カード ===== */
.c-media-list { display: grid; gap: var(--sp-6) var(--sp-5); }
@media (min-width: 768px) { .c-media-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .c-media-list { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8) var(--sp-6); } }
.c-media-card { display: flex; flex-direction: column; background: var(--wht); }
.c-media-card__link { display: flex; flex-direction: column; height: 100%; }
.c-media-card__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-md); background: var(--key-light); }
.c-media-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.c-media-card__thumb img.is-logo { object-fit: contain; padding: 14% 12%; background: var(--wht); }
.c-media-card__link:hover .c-media-card__thumb img { transform: scale(1.04); }
.c-media-card__cat { position: absolute; left: 10px; top: 10px; }
.c-media-card__cat .c-chip { background: var(--wht); }
.c-media-card__meta { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--dgry); }
.c-media-card__date { font-family: var(--ff-en); letter-spacing: .06em; }
.c-media-card__title { margin-top: var(--sp-1); font-size: 1.0625rem; line-height: 1.6; }
.c-media-card__link:hover .c-media-card__title { color: var(--key-text); text-decoration: underline; }
.c-media-card__text { margin-top: var(--sp-1); font-size: var(--fs-sm); color: var(--dgry); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 横長の一覧（お知らせなど） */
.c-news-list { border-top: 1px solid var(--gry); }
.c-news-list__item a { display: grid; gap: 4px var(--sp-4); padding: var(--sp-4) var(--sp-2); border-bottom: 1px solid var(--gry); }
.c-news-list__item a:hover .c-news-list__title { color: var(--key-text); text-decoration: underline; }
.c-news-list__meta { display: flex; gap: var(--sp-3); align-items: center; font-size: var(--fs-xs); color: var(--dgry); font-family: var(--ff-en); }
@media (min-width: 768px) { .c-news-list__item a { grid-template-columns: 220px 1fr; align-items: center; } }
/* 記事がまだないときの表示 */
.c-empty { padding: var(--sp-6) var(--sp-4); border: 1px dashed var(--border); border-radius: var(--r-md); color: var(--dgry); font-size: var(--fs-sm); text-align: center; }
/* ページャー */
.c-pager { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-8); }
.c-pager a, .c-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--gry); border-radius: var(--r-pill); font-family: var(--ff-en); }
.c-pager a:hover { border-color: var(--key); color: var(--key-text); }
.c-pager [aria-current="page"] { background: var(--key-text); border-color: var(--key-text); color: var(--on-key); }

/* ===== 事例カード・事例の3行サマリー ===== */
.c-case-list { display: grid; gap: var(--sp-4); }
@media (min-width: 768px) { .c-case-list { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); } }
.c-case-list > li { display: flex; }
.c-case-card { flex: 1; display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); background: var(--wht); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.c-case-card:hover { border-color: var(--key-pale); box-shadow: var(--sh-md); }
.c-case-card__tag { align-self: flex-start; padding: 2px 10px; border-radius: var(--r-pill); background: var(--key-text); color: var(--on-key); font-size: var(--fs-xs); font-weight: 700; }
.c-case-card__meta { font-size: var(--fs-xs); color: var(--dgry); }
.c-case-card__title { font-size: 1.125rem; font-weight: 700; line-height: 1.6; }
.c-case-card__facts { display: grid; gap: 6px; margin-top: var(--sp-2); padding: var(--sp-3); background: var(--key-faint); border-radius: var(--r-md); font-size: var(--fs-sm); }
.c-case-card__facts b { color: var(--key-text); }
.c-case-card__more { margin-top: auto; padding-top: var(--sp-2); font-size: var(--fs-sm); font-weight: 700; color: var(--key-text); }
.c-case-card__more::after { content: " →"; }
.c-case-summary { margin-bottom: var(--sp-5); padding: var(--sp-5); background: var(--key-faint); border: 1px solid var(--key-pale); border-radius: var(--r-lg); }
.c-case-summary__title { margin: 0 0 var(--sp-3); font-weight: 700; color: var(--key-text); }
.c-case-summary__list { display: grid; gap: var(--sp-3); }
.c-case-summary__list > div { display: grid; gap: 4px; }
@media (min-width: 768px) { .c-case-summary__list > div { grid-template-columns: 7em 1fr; gap: var(--sp-3); } }
.c-case-summary__list dt { font-weight: 700; }

/* ===== 記事本文（CMS本文エリア。.c-article の中は素のタグで書けばよい） ===== */
.c-article { max-width: var(--container-sm); margin-inline: auto; font-size: 1rem; line-height: 2; }
.c-article__head { margin-bottom: var(--sp-7); }
.c-article__title { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem); line-height: 1.5; }
.c-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--dgry); }
.c-article__eyecatch { margin-top: var(--sp-5); border-radius: var(--r-md); overflow: hidden; }
.c-article__eyecatch img { display: block; width: 100%; }
.c-article__body > * + * { margin-top: 1.5em; }
.c-article__body h2 { margin-top: 3em; padding: .6em .9em; border-left: 6px solid var(--key); background: var(--key-faint); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); line-height: 1.5; }
.c-article__body h3 { position: relative; margin-top: 2.4em; padding-bottom: .4em; border-bottom: 2px solid var(--key-pale); font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.5; }
.c-article__body h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 4em; height: 2px; background: var(--key); }
.c-article__body h4 { margin-top: 2em; font-size: 1.0625rem; color: var(--key-text); }
.c-article__body a:not(.c-btn) { color: var(--link); text-decoration: underline; }
.c-article__body strong { background: linear-gradient(transparent 62%, var(--key-pale) 62%); }
.c-article__body ul, .c-article__body ol { padding-left: 1.5em; }
.c-article__body li + li { margin-top: .4em; }
.c-article__body ul li::marker { color: var(--key); }
.c-article__body ol li::marker { color: var(--key-text); font-family: var(--ff-en); font-weight: 600; }
.c-article__body blockquote { position: relative; padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-8); background: var(--lgry); border-radius: var(--r-md); color: var(--dgry); }
.c-article__body blockquote::before { content: "\201C"; position: absolute; left: 16px; top: 4px; font-family: var(--ff-en); font-size: 3rem; line-height: 1; color: var(--key); }
.c-article__body figure img { display: block; width: 100%; border-radius: var(--r-sm); border: 1px solid var(--border); }
.c-article__body figcaption { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--dgry); text-align: center; }
.c-article__body table { width: 100%; font-size: var(--fs-sm); line-height: 1.7; }
.c-article__body th, .c-article__body td { padding: var(--sp-3); border: 1px solid var(--border); text-align: left; vertical-align: top; }
.c-article__body thead th { background: var(--key-light); }
.c-article__body tbody th { background: var(--lgry); }
.c-article__body .c-scroll table { --table-min: 560px; }
.c-article__box { padding: var(--sp-5); border: 2px solid var(--key-pale); border-radius: var(--r-md); background: var(--wht); }
.c-article__box-title { font-weight: 700; color: var(--key-text); }
/* 目次 */
.c-toc { padding: var(--sp-5); background: var(--lgry); border-radius: var(--r-md); }
.c-toc__title { font-weight: 700; font-family: var(--ff-en); letter-spacing: .1em; }
.c-toc ol { margin-top: var(--sp-2); padding-left: 1.4em; font-size: var(--fs-sm); }
.c-toc a { text-decoration: none !important; color: var(--def) !important; }
.c-toc a:hover { color: var(--key-text) !important; }

/* ---------------------------------------------------------
   5. Utilities
   --------------------------------------------------------- */
/* 文中の強調：文字をキー色 / 背景をキー色 / マーカー */
.u-key { color: var(--key-text); }
.u-keybg { display: inline; padding: 0 .3em; background: var(--key-text); color: var(--on-key); border-radius: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.u-marker { background: linear-gradient(transparent 62%, var(--ill-yellow) 62%); }
.u-en { font-family: var(--ff-en); letter-spacing: .02em; }
.u-center { text-align: center; }
.u-mt-0 { margin-top: 0 !important; }
.u-mt-sm { margin-top: var(--sp-4) !important; }
.u-mt-md { margin-top: var(--sp-6) !important; }
.u-mt-lg { margin-top: var(--sp-9) !important; }
.u-text-sm { font-size: var(--fs-sm); }
.u-text-gray { color: var(--dgry); }
.u-bold { font-weight: 700; }
/* 改行位置の制御：<span class="u-ib">ひとかたまり</span>（その中では折り返さない） */
.u-ib { display: inline-block; }
/* 表示切替：ブロック（u-sp-only / u-pc-only）と、文言（u-sp-text / u-pc-text：SPだけ短い文言にする） */
@media (max-width: 767.98px) { .u-pc-only, .u-pc-text { display: none !important; } }
@media (min-width: 768px) { .u-sp-only, .u-sp-text { display: none !important; } }
/* 差替え対象の目印（確認時に body.is-show-todo を付けると枠が出る） */
.is-show-todo [data-todo] { outline: 2px dashed var(--ill-amber); outline-offset: 2px; }

/* ページ内リンクの着地点が固定ヘッダーに隠れないように */
.c-sec[id] { scroll-margin-top: var(--h-header); }

/* ===== 点検後の調整（2026-10-28） ===== */
/* KV（下端が白）の直後の白セクションは上余白を重ねない（QC-18） */
.p-top-kv + .c-sec:not(.c-sec--fill, .c-sec--key, .c-sec--round, .c-sec--bg) { padding-top: 0; }
/* CTA帯のないフッター：直前が色のセクションでも白い帯を出さない（QC-19） */
.l-main:has(> .c-sec:last-child:is(.c-sec--fill, .c-sec--key, .c-sec--round, .c-sec--bg)) + .l-footer:not(:has(.l-footer__cta)) { margin-top: 0; }
/* カテゴリタブはSPでも折り返す（QC-20） */
.c-tabs { flex-wrap: wrap; overflow: visible; }
/* カード型FAQの最後の項目の下に余白を足さない（QC-21） */
.c-faq--card .c-faq__item:last-child { margin-bottom: 0; }
/* タップ領域を44px以上に（見た目の位置は変えない。UX-18） */
.c-link { padding-block: 10px; margin-block: -10px; }
.l-gnav__sub a { display: inline-block; padding-block: 12px; }
@media (max-width: 1079.98px) { .l-gnav__cta .c-btn { min-height: 48px; } }
@media (max-width: 767.98px) {
  .l-footer__nav-title a, .l-footer__nav-list a, .l-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .l-footer__nav-list { margin-top: 0; }
  .l-footer__nav-title + .l-footer__nav-title, .l-footer__nav-list + .l-footer__nav-title { margin-top: 0; }
}
.c-cond__note .c-link { padding-block: 12px; margin-block: -12px; }
