/* =============================================================
   SORAMICHI コーポレートサイト — デザインシステム v2
   「メッセージ刷新・サイト改修提案書」反映版
   方向性: エンタープライズコンサルの信頼性 × AI企業の先端性
   - ブランドネイビー var(--deep) を基軸に、ディープネイビーのヒーロー
   - アクセントにエレクトリックシアン（AI・データの先端性）
   - 余白を広く、罫線は細く、カードは静かなホバーで「格」を演出
   ============================================================= */
:root {
  /* メインカラー: 当社ブランドカラー #4285F4（v5で変更） */
  --navy: #4285F4;          /* プライマリ（ボタン・リンク・アクセント） */
  --navy-deep: #2D6BDB;     /* プライマリのホバー */
  --ink: #050E22;           /* ヒーロー・フッターの最深色 */
  --ink-2: #0A1B3D;
  --cyan: #38D4FF;          /* AIアクセント */
  --cyan-dim: #9CD8FF;
  --blue: #4285F4;
  --pale: #F2F6FC;
  --pale-2: #E1EBFD;
  --text: #1E2A3A;
  --text-sub: #5B6B7F;
  --line: #E3E9F2;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 36px rgba(45, 107, 219, .10);
  --shadow-hover: 0 16px 44px rgba(45, 107, 219, .16);
  /* ── v282: 監査で確定した追加トークン ── */
  --deep: #0A429E;          /* 濃紺（CTA帯・資料請求系アクセント） */
  --deep-2: #123C8F;        /* 濃紺グラデ終点 */
  --deep-hover: #08347C;    /* 濃紺ボタンのホバー */
  --deep-grad: linear-gradient(120deg, var(--ink-2) 0%, var(--deep) 60%, var(--deep-2) 100%);
  --r-sm: 12px;             /* 角丸: 小物（バッジ・チップ台紙） */
  --r-lg: 16px;             /* 角丸: 大パネル。カード基準は --radius 14px */
  /* ワイドレイアウト（v5）: 電通デジタル・Accenture水準の1480px */
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.85; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; height: auto; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }
.container.narrow { max-width: 860px; }

/* ── ヘッダー ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; gap: 30px; height: 72px;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 30px; width: auto; display: block; }
.global-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.global-nav a {
  font-size: 13.5px; font-weight: 500; color: var(--text);
  padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.global-nav a:hover, .global-nav a.current { color: var(--navy); border-bottom-color: var(--navy); opacity: 1; }
.header-cta { flex-shrink: 0; }
.btn.sm-cta { padding: 9px 18px; font-size: 13px; }

/* ── ボタン ─────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  border: 1.5px solid transparent; transition: all .22s; text-align: center; cursor: pointer;
}
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: var(--navy-deep); opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn.outline:hover { background: var(--pale); opacity: 1; }
.btn.white { background: #fff; color: var(--navy); }
.btn.white:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.btn.wide { width: 100%; }
.btn-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ── ヒーロースライダー（CMS「TOPスライダー」で管理・全面リンク） ── */
.hero-slider {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 0;
  /* v258: 全スライドを同一マスに重ね、常に「一番背の高いスライド」の高さで固定
     （切替時に文章量で高さがガタつくのを防止） */
  display: grid;
}
.hero-bg { display: none; }
/* ビジョン層: スライドの上に常時表示（二層構造の恒常レイヤー） */
.hero-vision {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  padding: 60px 48px 0; text-align: center; pointer-events: none;
}
.hero-vision .v-en {
  font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; letter-spacing: .05em;
  background: linear-gradient(120deg, #FFFFFF 30%, var(--cyan-dim) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.3;
}
.hero-vision .v-ja {
  margin-top: 12px; font-size: clamp(13px, 1.2vw, 16.5px);
  color: rgba(255, 255, 255, .88); letter-spacing: .1em; font-weight: 600;
}
/* スライドはセクション全幅・全高。背景（写真／グラデ）は端から端まで表示 */
.hero-slider .slide {
  position: relative; grid-area: 1 / 1; width: 100%;
  display: flex; align-items: center;
  padding: 0 48px;
  min-height: clamp(440px, 60vh, 600px);
  color: #fff;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 46%, var(--deep-2) 100%);
  opacity: 0; pointer-events: none;
  /* v257: クロスフェード（同時表示で文字が重なる）→ 順次フェードに。
     消える側は即 .45s でフェードアウト、現れる側（.active付与）は .4s 待ってからフェードイン */
  transition: opacity .45s ease;
}
.hero-slider .slide.active { transition: opacity .45s ease .4s; }
.hero-slider .slide.active { opacity: 1; pointer-events: auto; }
.hero-slider .slide:hover { opacity: 1; }
.hero-slider .slide:hover h2 { color: var(--cyan-dim); }
/* 画像なしスライド: グリッド＋グロー演出 */
.hero-slider .slide:not(.has-bg)::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(620px 420px at 84% 18%, rgba(56, 212, 255, .16), transparent 64%),
    radial-gradient(520px 420px at 8% 92%, rgba(66, 133, 244, .14), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
/* 入稿画像 → 背景cover（フルブリード）。可読性はオーバーレイで担保 */
.hero-slider .slide.has-bg {
  background-size: cover; background-position: center;
}
.hero-slider .slide.has-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* v262: 黒フィルターを約3割明るく（写真の見えを優先しつつ文字可読性は維持） */
  background:
    linear-gradient(to bottom, rgba(5, 14, 34, .55) 0%, transparent 34%),
    linear-gradient(100deg, rgba(5, 14, 34, .62) 0%, rgba(5, 14, 34, .38) 42%, rgba(5, 14, 34, .04) 78%, transparent 100%),
    linear-gradient(to top, rgba(5, 14, 34, .38) 0%, transparent 38%);
}
.slide-inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.slide-text { max-width: 760px; }
.slide-badge {
  display: inline-block; font-size: 15px; letter-spacing: .1em; font-weight: 700;
  color: var(--cyan-dim); margin-bottom: 20px;
  padding: 8px 20px; border: 1px solid rgba(156, 216, 255, .35);
  border-radius: 999px; background: rgba(56, 212, 255, .06);
}
.hero-slider h2 {
  font-size: clamp(26px, 3.8vw, 48px); font-weight: 800; line-height: 1.5;
  letter-spacing: .02em; margin-bottom: 18px; transition: color .25s;
}
.slide-copy { font-size: 16.5px; color: rgba(255,255,255,.8); margin-bottom: 26px; max-width: none; }
.slide-more {
  display: inline-block; font-size: 14px; font-weight: 800;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slider-dots {
  position: absolute; left: 0; right: 0; bottom: 92px;
  display: flex; gap: 10px; justify-content: center; z-index: 6;
}
.slider-dots .dot {
  width: 30px; height: 4px; border-radius: 4px; border: none; cursor: pointer;
  background: rgba(255,255,255,.25); transition: all .3s; padding: 0;
}
.slider-dots .dot.active { background: var(--cyan); width: 46px; }
/* ── 実績数値バー（ファーストビュー直下に昇格） ────── */
.stats-bar { padding: 0 48px; margin-top: -52px; position: relative; z-index: 30; }
.stats-inner {
  max-width: var(--maxw); margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 20px 24px 18px;
}
.stat { text-align: center; padding: 2px 10px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat-num {
  font-size: clamp(26px, 2.7vw, 36px); font-weight: 800; letter-spacing: .01em;
  color: var(--ink-2); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 12.5px; font-weight: 700; color: var(--navy); margin-left: 3px; }
.stat-label { display: block; font-size: 11.5px; font-weight: 700; color: var(--text-sub); margin-bottom: 5px; letter-spacing: .04em; }

/* ── セクション共通 ─────────────────────── */
.section { padding: 96px 0; }
.section.pale { background: var(--pale); }
.en-label { font-size: 12px; letter-spacing: .3em; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.en-label.light { color: var(--cyan-dim); }
.section-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--ink-2); margin-bottom: 18px; letter-spacing: .02em; }
.section-title.sm { font-size: 21px; }
.lead { color: var(--text-sub); max-width: 760px; margin-bottom: 40px; }

.chip { display: inline-block; font-size: 11.5px; font-weight: 700; background: var(--pale-2); color: var(--navy); border-radius: 999px; padding: 4px 12px; }
.chip.outline { background: #fff; border: 1px solid var(--line); color: var(--text-sub); }
.chip.on-dark { background: rgba(255,255,255,.14); color: #fff; }
.tag { display: inline-block; font-size: 11.5px; color: var(--text-sub); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }

/* ── 事業3ピラー ─────────────────────── */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; color: var(--text); transition: all .3s ease;
  position: relative; overflow: hidden;
}
/* マウスオーバーで全カード共通に反転（白 → ダークネイビー） */
.pillar-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(360px 240px at 88% 10%, rgba(56, 212, 255, .22), transparent 60%),
    linear-gradient(150deg, var(--ink) 0%, var(--deep-2) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.pillar-card > * { position: relative; z-index: 1; }
.pillar-en { font-size: 11px; letter-spacing: .26em; color: var(--blue); font-weight: 700; transition: color .3s; }
.pillar-card h3 { font-size: 21px; font-weight: 800; color: var(--ink-2); transition: color .3s; }
.pillar-desc { font-size: 13.5px; color: var(--text-sub); flex: 1; transition: color .3s; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pillar-card .tag { transition: color .3s, border-color .3s; }
.pillar-more { font-size: 13px; font-weight: 700; color: var(--navy); margin-top: 8px; transition: color .3s; }
.pillar-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.pillar-card:hover::before { opacity: 1; }
.pillar-card:hover .pillar-en { color: var(--cyan); }
.pillar-card:hover h3 { color: #fff; }
.pillar-card:hover .pillar-desc { color: rgba(255, 255, 255, .78); }
.pillar-card:hover .tag { border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .85); }
.pillar-card:hover .pillar-more { color: var(--cyan); }

/* ── 導入事例カード（定量KPI常設） ───────────── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; color: var(--text); transition: all .25s;
}
.case-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--navy); }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.case-card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink-2); line-height: 1.6; flex: 1; }
.case-client { font-size: 12.5px; color: var(--text-sub); }
.case-kpis { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 14px; }
.kpi {
  font-size: 13px; font-weight: 800;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case-kpis.large { border: none; padding: 0; margin-bottom: 26px; gap: 22px; }
.case-kpis.large .kpi { font-size: 22px; }

.case-filter {
  display: flex; gap: 18px; align-items: end; flex-wrap: wrap;
  background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 36px;
}
.case-filter label { font-size: 12.5px; font-weight: 700; color: var(--text-sub); display: flex; flex-direction: column; gap: 6px; }
.case-filter select { min-width: 180px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 14px; background: #fff; color: var(--text); }
.filter-clear { font-size: 13px; align-self: center; }
.empty-note { color: var(--text-sub); padding: 30px 0; }

.case-step { margin-bottom: 44px; }
.case-step-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--navy); padding-bottom: 10px; margin-bottom: 16px; }
.step-no { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .1em; }
.case-step-head h2 { font-size: 21px; font-weight: 800; color: var(--ink-2); }
.step-sub { font-size: 12px; color: var(--text-sub); margin-left: auto; }

.dl-band {
  display: flex; align-items: center; gap: 26px; justify-content: space-between; flex-wrap: wrap;
  background: var(--pale-2); border-radius: var(--radius);
  padding: 30px 34px; margin-top: 52px;
}
.dl-band h3 { font-size: 18px; color: var(--ink-2); margin-bottom: 6px; }
.dl-band p { font-size: 13.5px; color: var(--text-sub); }

/* ── PICK UP ───────────────────────────── */
.pickup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pickup-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; color: var(--text); transition: all .25s;
  display: flex; flex-direction: column; gap: 10px;
}
.pickup-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--navy); }
.pickup-card h3 { font-size: 15.5px; font-weight: 700; color: var(--ink-2); line-height: 1.6; }
.pickup-card p { font-size: 13px; color: var(--text-sub); }

/* ── 信頼性ハブ バンド ───────────────────── */
.trust-band { background: linear-gradient(120deg, var(--ink) 0%, var(--deep-2) 100%); color: #fff; padding: 72px 48px; }
.trust-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.trust-band h2 { font-size: 25px; font-weight: 800; margin-bottom: 12px; }
.trust-band p { color: rgba(255,255,255,.78); max-width: 680px; font-size: 14px; }

/* ── パートナー・取引先 ─────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 16px; text-align: center; }
.partner-card .logo-text { font-weight: 800; font-size: 16px; color: var(--navy); display: block; margin-bottom: 8px; }
.partner-card img { max-height: 56px; max-width: 75%; margin-bottom: 10px; object-fit: contain; }
.partner-card p { font-size: 11.5px; color: var(--text-sub); }
.client-grid { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.client-name { font-size: 13px; font-weight: 600; color: var(--text-sub); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 18px; }
.client-note { margin-top: 24px; font-size: 13.5px; color: var(--text-sub); }

/* ── ナレッジ ───────────────────────────── */
.knowledge-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.news-list { list-style: none; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; color: var(--text); font-size: 14px; }
.news-list a:hover { background: var(--pale); opacity: 1; }
.news-list time { font-size: 12.5px; color: var(--text-sub); white-space: nowrap; font-variant-numeric: tabular-nums; }
.news-list .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* /news 一覧（large）: 日付・枠付きカテゴリ・見出しのバランス（v57） */
.news-list.large li {
  display: flex; align-items: center; gap: 18px; padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.news-list.large .date { font-size: 13px; color: var(--text-sub); white-space: nowrap; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.news-list.large .cat {
  font-size: 11.5px; font-weight: 700; color: var(--navy);
  border: 1px solid var(--navy); border-radius: 4px; padding: 3px 0;
  white-space: nowrap; flex: 0 0 auto; width: 92px; text-align: center;
}
.news-list.large li a { flex: 1; font-size: 15px; line-height: 1.6; color: var(--ink, #0a1b3d); padding: 0; }
.news-list.large li a:hover { color: var(--blue); background: none; }
@media (max-width: 680px) {
  .news-list.large li { flex-wrap: wrap; gap: 8px 12px; padding: 16px 4px; }
  .news-list.large li a { flex: 1 1 100%; order: 3; }
}
.more-link { display: block; text-align: right; margin-top: 18px; font-size: 13.5px; font-weight: 700; }
.more-link.back { text-align: left; }

/* ── サブページ共通ヒーロー ─────────────── */
.page-hero { background: linear-gradient(130deg, var(--ink) 0%, var(--deep-2) 100%); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; letter-spacing: .02em; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 720px; font-size: 14.5px; }
.page-hero .case-meta { margin-bottom: 14px; }

/* ── 事業領域（ピラー別） ─────────────────── */
.pillar-section { margin-bottom: 80px; padding-top: 8px; }
.pillar-section:last-child { margin-bottom: 0; }
.cat-label { font-size: 15px; font-weight: 700; color: var(--navy); margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--navy); }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sol-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 20px 22px; color: var(--text); transition: all .22s; }
.sol-card:hover { opacity: 1; border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.sol-card h4 { font-size: 14.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.sol-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }

/* ── 記事系 ─────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: all .25s; display: flex; flex-direction: column; }
.post-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-hover); }
/* サムネは基本16:9（合わない画像は高さ基準でフィット=左右をトリム） */
.post-card-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(130deg, var(--pale-2), var(--pale)); overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-body h3 { font-size: 14.5px; font-weight: 700; line-height: 1.5; color: var(--ink-2); margin: 0; }
.post-card-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.post-cat-badge { display: inline-block; font-size: 10.5px; font-weight: 700; color: #1A6FE0; background: #EAF2FD; border: 1px solid #CCDFF8; border-radius: 4px; padding: 2px 8px; letter-spacing: .02em; }
.post-card .excerpt { font-size: 12.5px; line-height: 1.7; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.post-card .meta { margin-top: auto; padding-top: 4px; }
.post-card .date, .meta { font-size: 12.5px; color: var(--text-sub); }
.article-title { font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.65; }
.excerpt { font-size: 13px; color: var(--text-sub); }
.blog-filters { margin-bottom: 40px; }
.filter-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--text-sub); margin: 0 0 8px; }
.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag-filter { display: flex; gap: 8px 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tag-filter a { font-size: 12.5px; color: #4A6076; background: #F2F5F9; border-radius: 6px; padding: 4px 10px; transition: all .15s; }
.tag-filter a:hover { background: #E3ECF7; color: #1A6FE0; }
.tag-filter a.active { background: var(--navy); color: #fff; }
.filter-now { font-size: 13px; color: var(--text-sub); margin: 10px 0 0; }
.filter-now a { color: #1A6FE0; margin-left: 6px; }
.cat-filter a { font-size: 13px; font-weight: 600; padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-sub); background: #fff; }
.cat-filter a.on, .cat-filter a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.badge-pill { display: inline-block; font-size: 11.5px; font-weight: 700; background: var(--pale-2); color: var(--navy); border-radius: 999px; padding: 3px 12px; }
.seminar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; }
.seminar-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.breadcrumb { font-size: 12.5px; color: var(--text-sub); margin-bottom: 0; }
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb .bc-sep { margin: 0 7px; color: #93A3B8; }
.breadcrumb .bc-current { color: var(--ink-2); }
.breadcrumb .bc-home { vertical-align: -2px; margin-right: 4px; }
.breadcrumb-top { padding-top: 0; }
/* グロナビ直下のコンパクトなパンくず帯（v58） */
.breadcrumb-bar { border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumb-bar .breadcrumb { padding: 10px 0; }
.breadcrumb-bottom { margin-top: 40px; margin-bottom: 0; padding: 22px 0 4px; border-top: 1px solid var(--line); }

.md-body { max-width: none; }
.md-body h2 { font-size: 22px; font-weight: 800; color: var(--ink-2); margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.md-body h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 34px 0 12px; padding-left: 14px; position: relative; line-height: 1.5; }
.md-body h3::before { content: ''; position: absolute; left: 0; top: .3em; width: 4px; height: 1.02em; background: var(--navy); border-radius: 3px; }
.md-body h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin: 26px 0 10px; padding-left: 18px; position: relative; line-height: 1.6; }
.md-body h4::before { content: ''; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--navy); border-radius: 2px; }
/* 文中リンクは下線でリンクと明示（青い見出しと区別） */
.md-body p a, .md-body li a, .md-body td a, .md-body blockquote a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.md-body p { margin-bottom: 16px; }
.md-body ul, .md-body ol { margin: 0 0 16px 24px; }
.md-body li { margin-bottom: 6px; }
.md-body table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 14px; }
.md-body th, .md-body td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.md-body th > p:only-child, .md-body td > p:only-child { margin: 0; }
.md-body thead th { background: var(--navy); color: #fff; font-weight: 700; }
.md-body tbody th { background: var(--pale-2); color: var(--ink-2); font-weight: 700; }
.md-body tbody tr:nth-child(even) td { background: #F8FAFE; }
.md-body img { border-radius: 10px; max-width: min(100%, 720px); height: auto; display: block; margin: 16px auto; }
/* v309: 記事内の動画。img と同じ扱いで枠内に収める（WPの width/height 属性で
   はみ出していたため。height:auto を必ず付けて縦横比を保つ） */
.md-body video { border-radius: 10px; max-width: min(100%, 720px); width: 100%; height: auto;
  display: block; margin: 16px auto; background: #000; }
.md-body audio { max-width: 100%; display: block; margin: 16px auto; }
.md-body .wp-video, .md-body .wp-video-shortcode { max-width: 100% !important; width: 100% !important; height: auto !important; margin: 16px auto; }
.md-body blockquote { border-left: 4px solid var(--pale-2); padding: 4px 18px; color: var(--text-sub); margin-bottom: 16px; }
.md-body code { background: var(--pale); border-radius: 5px; padding: 2px 7px; font-size: .9em; }

/* ── お問い合わせ ───────────────────────── */
.contact-form { max-width: 640px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 22px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px;
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px;
  font-family: inherit; font-size: 15px; background: #fff; color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 66, 158, .12); }
.req { font-size: 10.5px; background: #C00000; color: #fff; border-radius: 4px; padding: 2px 7px; margin-left: 8px; vertical-align: 2px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 26px; font-size: 14px; }
.alert.success { background: #EAF6EC; color: #1E7A34; border: 1px solid #BFE3C8; }

/* ── 段階CTA ───────────────────────────── */
.cta-stages {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 50%, var(--deep-2) 100%);
  color: #fff; padding: 100px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-stages::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px 380px at 50% 0%, rgba(56,212,255,.12), transparent 65%); }
.cta-stages-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.cta-stages h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 44px; }
.cta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: left; max-width: 980px; margin: 0 auto; }
.cta-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 30px 26px; color: #fff;
  display: flex; flex-direction: column; gap: 10px; transition: all .25s;
}
.cta-card:hover { opacity: 1; transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.4); }
.cta-card.primary { background: linear-gradient(140deg, rgba(56,212,255,.18), rgba(66,133,244,.14)); border-color: rgba(56,212,255,.5); }
.cta-phase { font-size: 11.5px; letter-spacing: .08em; color: var(--cyan-dim); font-weight: 700; }
.cta-card h3 { font-size: 19px; font-weight: 800; }
.cta-card p { font-size: 13px; color: rgba(255,255,255,.75); flex: 1; }
.cta-go { font-size: 13.5px; font-weight: 800; color: var(--cyan); }
.cta-stages .tel { margin-top: 40px; font-size: 14px; }
.cta-stages .tel a { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: .04em; }
.cta-stages .tel span { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ── フッター ───────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 48px 32px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 56px; flex-wrap: wrap; }
.footer-brand { max-width: 280px; }
.wordmark { display: block; margin-bottom: 16px; }
.wordmark img { height: 76px; width: auto; }
.footer-brand p { font-size: 12.5px; line-height: 1.9; }
.footer-en { letter-spacing: .26em; font-size: 10.5px; color: rgba(255,255,255,.4); margin-top: 10px; }
.footer-cols { display: flex; gap: 44px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 9px; min-width: 130px; }
.footer-head { font-size: 12px; font-weight: 800; color: #fff; letter-spacing: .06em; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-col a { font-size: 12.5px; color: rgba(255,255,255,.66); }
.footer-col a:hover { color: var(--cyan-dim); opacity: 1; }
.copyright { text-align: center; font-size: 11.5px; color: rgba(255,255,255,.4); margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

/* ── レスポンシブ ─────────────────────── */
@media (max-width: 1024px) {
  .pillar-grid, .case-grid, .pickup-grid { grid-template-columns: 1fr 1fr; }
  .sol-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .global-nav { display: none; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .hero-vision { padding: 44px 24px 0; }
  .hero-slider .slide { padding: 48px 24px 130px; min-height: clamp(380px, 56vh, 480px); }
  .slider-dots { bottom: 44px; }
  .container { padding: 0 24px; }
  .stats-bar { padding: 0 20px; margin-top: -44px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 12px 0; padding: 14px 8px 12px; border-radius: var(--r-lg); }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 10px; margin-bottom: 3px; }
  .stat:nth-child(3) { border-left: none; }
  .pillar-grid, .case-grid, .pickup-grid, .cta-grid, .sol-grid, .card-grid, .knowledge-cols { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .footer-cols { justify-content: flex-start; }
  .header-inner { height: 60px; padding: 0 14px 0 18px; }
  .header-cta { margin-left: auto; }
}

/* ── ナビ ドロップダウン（企業情報・採用のサブページ） ── */
.nav-group-wrap { position: relative; display: flex; align-items: center; }
.global-nav a.has-sub::after { content: " ▾"; font-size: 13px; color: var(--navy); margin-left: 2px; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-hover); padding: 8px;
  min-width: 200px; display: none; z-index: 110;
}
.nav-group-wrap:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; border-bottom: none !important; white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--pale); }

/* ── 固定ページのサブナビ（タブ） ── */
.subnav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; margin-bottom: 44px; }
.subnav a {
  flex: 1 1 auto; min-width: max-content; text-align: center;
  font-size: 15px; font-weight: 800; padding: 14px 28px; border-radius: 10px;
  border: 1.5px solid transparent; color: var(--navy); background: var(--pale);
}
.subnav a.on, .subnav a:hover { background: var(--navy); border-color: var(--navy); color: #fff; opacity: 1; }
@media (max-width: 680px) {
  .subnav { gap: 8px; }
  .subnav a { font-size: 14px; padding: 11px 20px; flex: 1; text-align: center; white-space: nowrap; }
}

/* ── 認定パートナーページ ── */
.partner-grid.large { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.partner-grid.large .partner-logo { height: 176px; }
.partner-grid.large .partner-logo img { max-height: 152px; max-width: 92%; }
.partner-group { font-size: 19px; font-weight: 800; color: var(--ink-2); margin: 14px 0 20px; padding-left: 14px; border-left: 4px solid var(--navy); }
.partner-card.detail { text-align: left; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.partner-logo { height: 120px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.partner-logo img { max-height: 96px; max-width: 86%; object-fit: contain; }
.partner-grid.large .logo-text { font-size: 22px; }
.cert-title { font-size: 16.5px; font-weight: 800; color: var(--ink-2); }
.cert-desc { font-size: 13.5px; color: var(--text-sub); line-height: 1.85; flex: 1; }
.partner-card.detail .more-link { align-self: flex-end; }
.partner-card .cert { font-size: 13px; color: var(--text-sub); margin-top: 6px; }
@media (max-width: 680px) { .partner-grid.large { grid-template-columns: 1fr; } }
.stats-inner.static { margin-top: 8px; }


/* ── 動画スライド（会社ビジョン動画などを背景フルブリード再生） ── */
.slide-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.hero-slider .slide.has-bg::before { z-index: 1; }
.hero-slider .slide .slide-inner { z-index: 2; }

/* ── ページブロック（レイアウトパターン） ── */
.section.dark { background: linear-gradient(135deg, var(--ink) 0%, var(--deep-2) 100%); color: #fff; }
.section.dark .section-title, .section.dark .blk-sec-title, .section.dark h3 { color: #fff; }
.section.dark .md-body, .section.dark .md-body p { color: rgba(255,255,255,.85); }
.blk-statement { text-align: center; }
.statement-title { font-size: clamp(24px, 3.2vw, 40px); font-weight: 800; color: var(--ink-2); letter-spacing: .03em; line-height: 1.6; }
.section.dark .statement-title { color: #fff; }
.statement-lead { max-width: 820px; margin: 22px auto 0; color: var(--text-sub); }
.blk-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.blk-cards { display: grid; gap: 22px; }
/* minmax(0,1fr): カード内の巨大画像・幅広の表があってもカラム幅を厳密に等分に保つ（グリッド崩れ防止） */
.blk-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blk-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blk-cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.blk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; min-width: 0; }
.blk-card table { width: 100%; max-width: 100%; table-layout: fixed; word-break: break-word; }
.section.dark .blk-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.blk-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--pale-2); }
.section.dark .blk-card h3 { color: var(--cyan-dim); border-color: rgba(255,255,255,.2); }
.blk-card .md-body p { margin-bottom: 8px; font-size: 14px; }
.blk-imgtext-sec { padding: 56px 0; }
.blk-imgtext { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.blk-imgtext.img-right .blk-img { order: 2; }
.blk-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.blk-txt h3 { font-size: 22px; font-weight: 800; color: var(--ink-2); margin-bottom: 16px; }
.blk-fullimg img { width: 100%; border-radius: var(--radius); display: block; }
.blk-caption { font-size: 12.5px; color: var(--text-sub); margin-top: 10px; text-align: center; }
.blk-banner-sec { padding: 56px 0; }
.blk-banner {
  display: block; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--ink) 0%, var(--deep-2) 100%);
  background-size: cover; background-position: center;
  border-radius: var(--radius); color: #fff; padding: 56px 48px;
}
.blk-banner.has-img::before { content: ""; position: absolute; inset: 0; background: rgba(5, 14, 34, .62); }
.blk-banner-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.blk-banner h3 { font-size: 26px; font-weight: 800; }
.blk-banner-copy { color: rgba(255,255,255,.82); font-size: 14px; max-width: 680px; }
.blk-banner .btn { margin-top: 10px; }
.blk-banner:hover { opacity: 1; box-shadow: var(--shadow-hover); }
@media (max-width: 900px) {
  .blk-twocol, .blk-imgtext, .blk-cards.cols-3, .blk-cards.cols-4 { grid-template-columns: 1fr; }
  .blk-cards.cols-2 { grid-template-columns: 1fr; }
  .blk-imgtext.img-right .blk-img { order: 0; }
}

/* ── 人物紹介ブロック（経営ボード等の共通レイアウトパターン） ── */
.blk-profile-sec { padding: 36px 0; }
.blk-profile-sec.pale { background: var(--pale); }
.blk-profile {
  display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.blk-profile.photo-s { grid-template-columns: 160px 1fr; gap: 36px; }
.blk-profile.photo-l { grid-template-columns: 300px 1fr; gap: 48px; }
.blk-profile.img-right .profile-photo { order: 2; }
.profile-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); display: block;
}
.profile-role {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--navy);
  background: var(--pale-2); border-radius: 999px; padding: 5px 16px; margin-bottom: 12px;
}
.profile-name { font-size: 23px; font-weight: 800; color: var(--ink-2); margin-bottom: 16px; letter-spacing: .04em; }
.profile-bio { font-size: 14.5px; }
.profile-bio p { margin-bottom: 10px; }
@media (max-width: 760px) {
  .blk-profile { grid-template-columns: 1fr; gap: 22px; }
  .blk-profile.img-right .profile-photo { order: 0; }
  .profile-photo { max-width: 300px; }
}

/* ── 記事メタ（ブログ詳細・セミナー） ── */
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cat-chip {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy);
  background: var(--pale-2); border-radius: 999px; padding: 4px 14px;
}
.cat-chip.open { color: #fff; background: var(--navy); }
.cat-chip.closed { color: var(--text-sub); background: #EEF1F6; }
.article-date { font-size: 13px; color: var(--text-sub); font-weight: 600; }
/* 記事上部（添付②レイアウト）: カテゴリ→タイトル→更新日→#タグ→サムネ */
.article-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.article-date-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-sub); margin: 12px 0 14px; }
.article-updated { font-weight: 700; }
.article-title { font-size: clamp(20px, 2.1vw, 26px); font-weight: 800; color: var(--ink-2); line-height: 1.75; margin-bottom: 22px; letter-spacing: .01em; overflow-wrap: anywhere; max-width: 880px; margin-left: auto; margin-right: auto; }
.article-thumb { width: 100%; max-width: 880px; height: auto; aspect-ratio: auto; border-radius: var(--radius); display: block; margin: 0 auto 30px; box-shadow: var(--shadow); }
.article-body { max-width: 880px; margin-left: auto; margin-right: auto; }

/* ── セミナー一覧 ── */
.seminar-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.seminar-row {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}

.seminar-row:hover { box-shadow: var(--shadow-hover); border-color: var(--navy); opacity: 1; }
.seminar-thumb { width: 100%; height: auto; display: block; border-radius: 0; }
.seminar-info h3 { font-size: 16.5px; font-weight: 800; color: var(--ink-2); line-height: 1.7; }
.seminar-row:hover h3 { color: var(--navy); }
.seminar-info { padding: 18px 20px 20px; }
.seminar-info .article-title, .seminar-info h3 { overflow-wrap: anywhere; }
.seminar-row:hover { transform: translateY(-2px); }
@media (max-width: 700px) { .seminar-list { grid-template-columns: 1fr; } }

/* ── セミナー・記事本文の体裁調整 ── */
.article-body img { display: block; width: auto; max-width: min(100%, 620px); height: auto; margin: 24px auto; box-shadow: var(--shadow); border-radius: 10px; }
/* 画像の配置指定（回り込みなし・その行で左右に寄せるだけ） */
.article-body img.img-left { margin-left: 0; margin-right: auto; }
.article-body img.img-right { margin-left: auto; margin-right: 0; }
.article-body figure { margin: 24px auto; text-align: center; }
.article-body figure img { margin: 0 auto 8px; }
.article-body figcaption { text-align: center; font-size: 13px; color: var(--text-sub); margin-top: 6px; }
/* 画像キャプション（:::caption）: 画像直後に置く小さめの説明 */
.cms-caption { text-align: center; font-size: 13px; color: var(--text-sub); line-height: 1.6; margin: -12px auto 26px; max-width: 620px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h2, .article-body h3 { scroll-margin-top: 96px; }
.article-body table { display: block; width: max-content; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body li { margin-bottom: 6px; }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }

/* ── ブログ詳細：レイアウト・カテゴリ/タグ・目次 ── */
.article-section { padding-top: 28px; padding-bottom: 64px; }
.article-section .article-title { margin-bottom: 0; }
.article-section .article-tags { margin: 0 0 24px; }
.article-section .article-body { max-width: 100%; }
.article-section .article-thumb { max-width: 100%; margin-bottom: 26px; }
a.cat-chip { transition: background .2s, color .2s; cursor: pointer; }
a.cat-chip:hover { background: var(--navy); color: #fff; opacity: 1; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.tag-chip {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--text-sub);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 12px;
  transition: border-color .2s, color .2s;
}
a.tag-chip:hover { border-color: var(--navy); color: var(--navy); opacity: 1; }
/* メタ行に同居するタグ（カテゴリ・日付と同じ行・小さめ） */
.article-tags-inline { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.article-tags-inline .tag-chip { font-size: 11px; padding: 2px 10px; }
.article-back { display: inline-block; margin-top: 42px; }

.toc { background: #F7F9FC; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 24px 14px; margin: 8px 0 36px; }
.toc-bar { text-align: center; margin-bottom: 12px; }
.toc-ttl { font-size: 16px; font-weight: 800; color: var(--ink-2); letter-spacing: .04em; }
.toc-ttl::before { content: "\2261"; margin-right: 8px; color: var(--navy); }
.toc-body, .toc-sub { list-style: none; margin: 0; padding: 0; }
.toc-body > li { margin: 7px 0; }
.toc a { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; padding: 2px 0; }
.toc a:hover { color: var(--navy); opacity: 1; }
.toc-no { color: var(--navy); font-weight: 700; min-width: 1.6em; flex-shrink: 0; }
.toc-lv2 > a { font-weight: 700; }
.toc-sub { margin: 3px 0 8px 14px; padding-left: 16px; border-left: 1px solid var(--line); }
.toc-sub a { font-size: 13.5px; color: var(--text-sub); font-weight: 500; }
.toc-sub .toc-no { font-weight: 600; }
.toc-foot { text-align: center; margin-top: 6px; }
.toc-fold { font-size: 12px; color: var(--text-sub); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 18px; cursor: pointer; transition: border-color .2s, color .2s; }
.toc-fold:hover { border-color: var(--navy); color: var(--navy); }
.toc.folded .toc-body { display: none; }
.toc.folded .toc-foot { margin-top: 0; }
/* 目次: 既定で半分表示（もっと見るで全開） */
.toc-collapsed .toc-body > li.toc-hidden { display: none; }
.toc-more { font-size: 12.5px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 20px; cursor: pointer; transition: border-color .2s, background .2s; }
.toc-more:hover { border-color: var(--navy); background: var(--pale, #f2f6fc); }
.toc-collapsed .toc-body { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }

/* ── 本文中の装飾枠（:::point / :::caution / :::memo） ── */
.cms-box { border-radius: 10px; padding: 16px 20px; margin: 24px 0; border: 1px solid var(--line); background: #fff; }
.cms-box-ttl { font-weight: 800; font-size: 14.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cms-box-ttl::before { content: ""; width: 5px; height: 16px; border-radius: 3px; display: inline-block; }
.cms-box > :last-child { margin-bottom: 0; }
.box-point { background: #F2F8FF; border-color: #BBD9FF; }
.box-point .cms-box-ttl { color: #1A6FE0; }
.box-point .cms-box-ttl::before { background: #1A6FE0; }
.box-caution { background: #FFF6F2; border-color: #FFD0BE; }
.box-caution .cms-box-ttl { color: #E0542D; }
.box-caution .cms-box-ttl::before { background: #E0542D; }
.box-memo { background: #F6F7F9; border-color: #E0E4EA; }
.box-memo .cms-box-ttl { color: #5B6B7F; }
.box-memo .cms-box-ttl::before { background: #97A4B5; }
.box-conclusion { background: #F0F5FD; border: 2px solid #3D6EDB; border-radius: var(--r-sm); position: relative; margin-top: 40px; padding-top: 22px; }
.box-conclusion .cms-box-ttl { position: absolute; top: -16px; left: 14px; display: inline-block; background: #3D6EDB; color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: .04em; padding: 5px 16px; border-radius: 8px; }
.box-conclusion .cms-box-ttl::before { display: none; }

/* シンプル青枠 */
.box-plain { background: #F7FAFF; border: 1.5px solid #9FBFF0; }
.box-double { background: #F7FAFF; border: 4px double #6E9EE8; }
/* チェックリスト（ポイント枠デザイン＋チェック） */
.box-checklist .cms-check { list-style: none; padding: 0; margin: 0; }
.box-checklist .cms-check li { position: relative; padding-left: 30px; margin: 9px 0; line-height: 1.7; }
.box-checklist .cms-check li::before { content: '✓'; position: absolute; left: 3px; top: 0; color: #2D6BDB; font-weight: 800; }
/* YouTube埋め込み（16:9レスポンシブ） */
.yt-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 26px 0; border-radius: var(--r-sm); overflow: hidden; background: #000; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* FAQ（アコーディオン） */
/* FAQ（:::faq。ブロックFAQと衝突しない独立クラス。コンパクト・既定で展開） */
.cms-faq { margin: 24px 0; display: flex; flex-direction: column; gap: 8px; }
.cms-faq-ttl { font-size: 15.5px; font-weight: 800; color: #fff; background: var(--navy); margin: 6px 0 12px; padding: 9px 16px; border-radius: 8px; line-height: 1.5; }
.cms-faq-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.cms-faq-q { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 8px; padding: 11px 40px 11px 12px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); position: relative; line-height: 1.6; }
.cms-faq-q::-webkit-details-marker { display: none; }
.cms-faq-q::after { content: '+'; position: absolute; right: 14px; top: 9px; font-size: 18px; color: var(--text-sub); font-weight: 400; }
.cms-faq-item[open] .cms-faq-q::after { content: '\2212'; }
.cms-faq-a { display: flex; align-items: flex-start; gap: 8px; padding: 2px 14px 12px 12px; color: var(--text); line-height: 1.8; font-size: 14px; }
.cms-faq-at { flex: 1; min-width: 0; }
.cms-faq-at > :first-child { margin-top: 0; }
.cms-faq-at > :last-child { margin-bottom: 0; }
.cms-faq-badge { flex: none; width: 22px; height: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; background: var(--navy); color: #fff; }
.cms-faq-badge-a { background: #FDECE4; color: #E0542D; }
/* 関連リンクブロック（本文中）: 見出し付き */
.rel-block { margin: 28px 0; }
.rel-block-ttl { font-size: 13px; font-weight: 800; color: var(--navy); letter-spacing: .04em; margin: 0 0 10px; padding-left: 11px; border-left: 3px solid var(--navy); }
.rel-block .rel-card, .rel-block .relx-cards { margin: 0; }
/* 関連リンク（単記事カード）: サムネはトリミングせず全体表示 */
.rel-card { display: flex; gap: 16px; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 26px 0; background: #fff; text-decoration: none; transition: box-shadow .2s; }
.rel-card:hover { box-shadow: var(--shadow); }
.rel-card-thumb { flex: none; width: 210px; background: #F4F7FB; display: flex; align-items: center; justify-content: center; }
.rel-card-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rel-card-noimg { background: linear-gradient(135deg, #E1EBFD, #F2F6FC); }
.rel-card-body { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 16px 18px; min-width: 0; }
.rel-card-ttl { font-weight: 700; color: var(--ink-2); line-height: 1.5; }
.rel-card-exc { font-size: 13px; color: var(--text-sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-card-src { font-size: 11px; color: #9AA7B6; margin-top: 2px; }
@media (max-width: 560px) { .rel-card-thumb { width: 128px; } }
/* 関連リンク（複数）: 1行3つ・サムネはトリミングせず全体表示・画像とタイトルは分離 */
.relx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.relx-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s; }
.relx-card:hover { box-shadow: var(--shadow); }
.relx-thumb { background: #F4F7FB; display: block; font-size: 0; }
.relx-thumb img { width: 100%; height: auto; display: block; }
.relx-noimg { background: linear-gradient(135deg, #E1EBFD, #F2F6FC); }
.relx-ttl { padding: 10px 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); line-height: 1.5; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .relx-cards { grid-template-columns: repeat(2, 1fr); } }
/* 著者ボックス */
.author-box { margin: 42px 0 8px; padding: 22px; background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box-head { font-size: 12px; font-weight: 800; color: var(--text-sub); letter-spacing: .06em; margin-bottom: 14px; }
.author-box-main { display: flex; gap: 18px; align-items: flex-start; }
.author-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-name { font-weight: 800; color: var(--ink-2); font-size: 16px; }
.author-role { font-weight: 500; font-size: 12px; color: var(--text-sub); margin-left: 10px; }
.author-bio { margin: 8px 0 0; font-size: 14px; color: var(--text); line-height: 1.8; }
.author-bio p { margin: 0; }
.author-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.author-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; text-decoration: none; transition: border-color .2s, color .2s; }
.author-link::before { content: '🔗'; font-size: 11px; }
.author-link:hover { border-color: var(--navy); opacity: 1; }
/* SNSシェアバー */
.share-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 30px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.share-ttl { font-size: 13px; font-weight: 700; color: var(--text-sub); }
.share-links { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; min-width: 36px; padding: 0 12px; border-radius: 8px; font-weight: 700; font-size: 13px; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.share-btn:hover { opacity: .9; }
.share-x { background: #000; color: #fff; border-color: #000; }
.share-fb { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-hatena { background: #00A4DE; color: #fff; border-color: #00A4DE; }
.share-line { background: #06C755; color: #fff; border-color: #06C755; }
/* 関連記事コーナー（ページ下部） */
.related-corner { margin: 50px 0 0; padding: 34px 0 0; border-top: 1px solid var(--line); }
/* サービスページ等ワイド表示時: 上は前セクションの余白があるため詰め、下はフッターとの間隔を確保 */
.related-corner.wide { margin: -40px 0 0; padding: 34px 0 90px; }
.related-corner-ttl { font-size: 20px; font-weight: 800; color: var(--ink-2); margin: 0 0 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-cell { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.related-cell:hover { box-shadow: var(--shadow); }
.related-cell-thumb { background: #F4F7FB; display: block; font-size: 0; }
.related-cell-thumb img { width: 100%; height: auto; display: block; }
.related-cell-noimg { background: linear-gradient(135deg, #E1EBFD, #F2F6FC); }
.related-cell-ttl { padding: 12px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); line-height: 1.5; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.seminar-cta { margin-top: 34px; }
.seminar-ended {
  margin-top: 34px; padding: 16px 22px; border-radius: 10px;
  background: #F2F5FA; border: 1px solid var(--line);
  color: var(--text-sub); font-size: 14px;
}
.seminar-ended a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ── セミナー詳細系の共通パターン（現行デザイン準拠） ── */
.blk-band-sec { padding: 40px 0 6px; }
.blk-band {
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 800; letter-spacing: .04em;
  padding: 12px 22px; border-radius: 6px;
}
.blk-button-sec { padding: 26px 0; }
.blk-button-sec .center { text-align: center; }
.btn.ended {
  display: inline-block; background: #fff; color: var(--text-sub);
  border: 1px solid #C9D2DF; border-radius: 8px; padding: 13px 44px;
  font-size: 14px; font-weight: 700; cursor: default;
}
.blk-callout-sec { padding: 30px 0; }
/* カード並びのPoint番号 */
.blk-card-num { display: inline-block; color: #2D6BDB; font-weight: 800; font-size: 14px; letter-spacing: .06em; border-bottom: 2px solid #2D6BDB; padding-bottom: 2px; margin-bottom: 8px; }
/* 画像＋テキストの番号帯（旧サイトのpoint帯画像をCSSで再現） */
.blk-num-band { display: flex; align-items: baseline; gap: 8px; border-bottom: 2px solid #2D6BDB; padding-bottom: 4px; margin-bottom: 14px; }
.blk-num-band span { color: #2D6BDB; font-weight: 800; font-size: 15px; letter-spacing: .08em; }
.blk-num-band strong { color: #2D6BDB; font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: .04em; }
.blk-imgtext-btn { margin-top: 16px; }
.blk-imgtext.no-img { display: block; }
.blk-imgtext.no-img .blk-txt { max-width: none; }
/* 画像ギャラリー（横並び＋キャプション） */
.blk-gallery-sec .gallery-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 18px; }
.gallery-item { flex: 1 1 calc(33.333% - 12px); min-width: 220px; max-width: 460px; margin: 0; }
.gallery-item img { width: 100%; height: auto; border-radius: 8px; border: 1px solid #E3EAF3; display: block; }
.gallery-item figcaption { text-align: center; font-size: 13px; font-weight: 700; color: #2A3646; margin-top: 8px; }
@media (max-width: 700px) { .gallery-item { flex-basis: 100%; max-width: none; } }
/* お悩みリスト（アイコン＋短文カードのグリッド） */
.blk-worries-sec { padding: 44px 0; }
.blk-worries-sec.pale { background: #F4F8FD; }
.worries-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; justify-content: flex-start; }
.worry-item {
  flex: 0 1 calc(33.333% - 10px); min-width: 260px; box-sizing: border-box;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #DCE4EF; border-radius: 10px; padding: 16px 18px;
}
.blk-worries-sec.dark .worry-item { border-color: transparent; }
.worry-item img { width: 54px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.worry-mark {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  background: #E1EBFD; color: #2D6BDB; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.worry-item p { margin: 0; font-size: 14px; line-height: 1.7; }
@media (max-width: 700px) { .worry-item { flex-basis: 100%; } }
.blk-callout {
  position: relative; border: 1.5px solid var(--blue); border-radius: 8px;
  padding: 30px 28px 24px; max-width: 880px;
}
.callout-tab {
  position: absolute; top: -13px; left: 16px;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .05em;
  padding: 4px 14px; border-radius: 4px;
}
.callout-title { color: var(--navy); font-size: 16.5px; font-weight: 800; margin-bottom: 12px; }
.blk-callout .md-body p { margin-bottom: 10px; font-size: 14px; }
.blk-callout .md-body li { font-size: 14px; }
/* キービジュアル帯: ダーク背景＋中央寄せ画像 */
.blk-fullimg.dark { background: var(--ink); padding: 0; }
.blk-fullimg.dark img { max-width: 800px; margin: 0 auto; border-radius: 0; }
.blk-fullimg img { max-width: 880px; margin: 0 auto; }

/* ── ヘッダーCTA 3ボタン ── */
.header-cta { display: flex; gap: 8px; align-items: center; }
.btn.sm-cta.cta-sub { padding: 10px 16px; font-size: 12.5px; }
@media (max-width: 1240px) { .btn.sm-cta.cta-sub { padding: 9px 12px; font-size: 12px; } }
@media (max-width: 760px) { .btn.sm-cta.cta-sub { display: none; } }

/* ── ブログ ページネーション ── */
.blog-pager { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; padding: 40px 0 8px; }
.blog-pager a, .blog-pager .pager-dots { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; font-weight: 700; }
.pager-num { border: 1px solid var(--line); color: var(--ink-2); padding: 0 6px; }
.pager-num:hover { border-color: var(--navy); color: var(--navy); opacity: 1; }
.pager-num.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager-arrow { border: 1px solid var(--line); color: var(--ink-2); padding: 0 16px; }
.pager-arrow:hover { border-color: var(--navy); color: var(--navy); opacity: 1; }
.pager-dots { color: var(--text-sub); }

/* ── 資料請求 ── */
.btn.lg { padding: 15px 48px; font-size: 15px; }
.section .center { text-align: center; }
.request-catch { font-size: 19px; font-weight: 800; color: var(--ink-2); line-height: 1.8; text-align: center; margin: 8px 0 28px; }

/* ── 資料請求カードのサムネ（ロゴ画像が多いため contain で全体表示） ── */
.req-card > .req-thumb {
  width: 100%; height: 180px; object-fit: contain; object-position: center;
  display: block; background: #fff; border-bottom: 1px solid var(--line);
  padding: 18px 24px;
}

/* ── フロー（STEP）ブロック ── */
.blk-flow-sec, .blk-faq-sec, .blk-compare-sec { padding: 38px 0; }
.blk-sec-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--ink-2); text-align: center; margin-bottom: 30px; }
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1184px;
  margin: 0 auto;
}
.flow-step-num { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--text-sub); margin-bottom: 8px; }
.flow-step-main { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.flow-step-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.flow-step-head { background: var(--pale); color: var(--navy); font-weight: 800; font-size: 16px; text-align: left; padding: 10px 16px; border-left: 4px solid var(--blue); border-radius: 0 6px 6px 0; margin-bottom: 14px; }
.flow-step-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.flow-tag { border: 1.5px solid var(--blue); color: var(--navy); font-weight: 700; font-size: 13px; border-radius: 6px; padding: 8px 16px; }
.flow-step-desc { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.flow-step-desc li { font-size: 13.5px; color: var(--text); padding-left: 16px; position: relative; }
.flow-step-desc li::before { content: "・"; position: absolute; left: 0; color: var(--blue); }
@media (max-width: 720px) { .flow-step-main { grid-template-columns: 1fr; gap: 16px; } }

/* ── FAQ アコーディオン ── */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.faq-q { display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--blue); font-weight: 400; transition: transform .2s; }
.faq-item[open] .faq-q::after { content: "−"; }
.faq-q-mark, .faq-a-mark { flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.faq-q-mark { background: var(--blue); color: #fff; }
.faq-a { display: flex; gap: 12px; padding: 4px 20px 18px; }
.faq-a-mark { background: var(--pale-2); color: var(--navy); }
.faq-a .md-body { font-size: 14px; }
.faq-a .md-body p { margin: 0; }

/* ── 比較ステップ（2枠を矢印で縦に） ── */
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 880px; margin: 0 auto; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.compare-col-head { background: var(--pale); color: var(--navy); font-weight: 800; text-align: center; padding: 13px 12px; border-bottom: 2px solid var(--blue); border-radius: var(--radius) var(--radius) 0 0; margin: -22px -22px 18px; }
.compare-step { border: 1px solid var(--line); border-radius: 8px; padding: 13px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.compare-arrow { text-align: center; color: var(--blue); font-size: 13px; margin: 7px 0; }
@media (max-width: 720px) { .compare-cols { grid-template-columns: 1fr; gap: 18px; } }

/* ── メインビジュアル（動画＋中央ロゴ＋コピー：現行サイト型） ── */
.hero-mv { position: relative; width: 100%; height: clamp(440px, 60vh, 600px); overflow: hidden; background: var(--ink); }
.hero-mv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-mv-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; padding: 24px;
  background: linear-gradient(180deg, rgba(5,14,34,.42) 0%, rgba(5,14,34,.30) 45%, rgba(5,14,34,.55) 100%); }
.hero-mv-logo { width: min(440px, 64vw); height: auto; filter: drop-shadow(0 2px 16px rgba(0,0,0,.35)); }
.hero-mv-copy { color: #fff; font-size: clamp(20px, 3vw, 32px); font-weight: 800; line-height: 1.6; letter-spacing: .04em; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
@media (max-width: 640px) { .hero-mv { height: clamp(380px, 56vh, 480px); } }

/* ── ヒーロー: 動画→スライダー切替ステージ（同一枠で重ねる） ── */
.hero-stage { position: relative; }
/* 動画レイヤー: ステージ全体を覆うオーバーレイ。終了でフェードアウト */
.hero-stage .hero-mv { position: absolute; inset: 0; height: auto; z-index: 20; opacity: 1; transition: opacity .6s ease; }
.hero-stage .hero-mv.is-hidden { opacity: 0; pointer-events: none; }
/* 動画と共存するスライダーは初期非表示（高さは確保）→is-activeでフェードイン */
.hero-slider.is-under-video { opacity: 0; transition: opacity .6s ease; }
.hero-slider.is-under-video.is-active { opacity: 1; }

/* ── カード内の画像（募集職種カード等）：カード上部に全幅表示 ── */
.blk-card { overflow: hidden; }
.blk-card.has-img { padding: 0 0 22px; }
.blk-card-img { width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: 240px; object-fit: cover; display: block; }
.blk-card.has-img h3 { margin: 0 22px 12px; padding: 18px 0 10px; }
.blk-card.has-img .md-body { padding: 0 22px; }
.blk-card.has-img .md-body p { font-size: 13.5px; color: var(--text-sub); }

/* ===== 導入事例ハブ / インタビュー（v49で追加） ===== */
.section.alt { background: #f5f8ff; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head .en-label { color: #4285F4; font-weight: 700; letter-spacing: .08em; margin: 0 0 4px; }
.section-head h2 { font-size: 26px; margin: 0; color: #0a1b3d; }

.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hub-card {
  display: block; padding: 36px 32px; border-radius: var(--radius);
  background: #fff; border: 1px solid #e2e8f0; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,27,61,.12); border-color: #4285F4; }
.hub-card .en-label { color: #4285F4; font-weight: 700; letter-spacing: .08em; margin: 0 0 6px; font-size: 13px; }
.hub-card h2 { font-size: 22px; margin: 0 0 10px; color: #0a1b3d; }
.hub-card p { color: #475569; line-height: 1.8; margin: 0 0 14px; }
.hub-card .hub-link { color: #4285F4; font-weight: 700; }

.case-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; margin-bottom: 12px; background: #eef2f9; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 760px) {
  .hub-grid { grid-template-columns: 1fr; }
}

/* ===== 構築中の注意バナー（v49・A案: 小さめ常時表示）===== */
.maintenance-banner {
  background: #fef2f2; color: #b91c1c;
  border-bottom: 2px solid #dc2626;
  font-size: 12px; font-weight: 700;
  text-align: center; padding: 6px 16px; line-height: 1.5;
}

/* ===== フッター拡張（v51・SNS/サービス/認証マーク/下部リンク）===== */
.footer-sns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-sns .sns-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.82);
  transition: all .18s;
}
.footer-sns .sns-icon:hover { background: #4285F4; border-color: #4285F4; color: #fff; }
.footer-sns .sns-text { font-size: 11px; font-weight: 800; letter-spacing: .02em; }

.footer-services { flex: 1; min-width: 280px; }
.footer-service-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}
.footer-service-grid a { font-size: 12.5px; color: rgba(255,255,255,.66); }
.footer-service-grid a:hover { color: var(--cyan-dim); }

.footer-certs {
  max-width: var(--maxw); margin: 48px auto 0; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 28px;
}
.footer-certs img { height: 52px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; }

.footer-bottom-links {
  max-width: var(--maxw); margin: 28px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0;
}
.footer-bottom-links a {
  font-size: 12px; color: rgba(255,255,255,.6); padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.footer-bottom-links a:first-child { padding-left: 0; }
.footer-bottom-links a:last-child { border-right: none; padding-right: 0; }
.footer-bottom-links a:hover { color: var(--cyan-dim); }

@media (max-width: 760px) {
  .footer-service-grid { grid-template-columns: 1fr; }
  .footer-certs { gap: 18px; }
  .footer-certs img { height: 42px; }
  .footer-bottom-links { flex-direction: column; align-items: center; }
  .footer-bottom-links a { border-right: none; padding: 4px 0; }
}

/* ===== モバイル：ハンバーガー + ドロワー（v53）===== */
.nav-toggle {
  display: none; /* PCでは非表示。1024px以下で表示 */
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; margin-left: auto;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink, #0a1b3d);
  border-radius: 2px; transition: .25s;
}

.drawer-overlay {
  position: fixed; inset: 0; background: rgba(10,27,61,.45);
  opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 998;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(82vw, 340px);
  background: #fff; z-index: 999; box-shadow: -8px 0 32px rgba(10,27,61,.18);
  transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid #eef2f7;
}
.drawer-title { font-weight: 700; color: var(--ink, #0a1b3d); letter-spacing: .04em; }
.drawer-close { background: none; border: none; font-size: 28px; line-height: 1; color: #5B6B7F; cursor: pointer; padding: 0 4px; }
.drawer-nav { padding: 8px 0; flex: 1; }
.drawer-nav > a {
  display: block; padding: 14px 22px; font-size: 15px; font-weight: 600;
  color: var(--ink, #0a1b3d); border-bottom: 1px solid #f4f6fa;
}
.drawer-nav > a:hover { background: #f5f8ff; color: #4285F4; }
.drawer-section { border-bottom: 1px solid #f4f6fa; padding: 6px 0 10px; }
.drawer-section-head {
  padding: 12px 22px 6px; font-size: 12px; font-weight: 800;
  color: #4285F4; letter-spacing: .06em;
}
.drawer-section a {
  display: block; padding: 9px 22px 9px 34px; font-size: 14px; color: #475569;
}
.drawer-section a:hover { color: #4285F4; }
.drawer-cta { padding: 18px 22px 28px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #eef2f7; }
.drawer-cta .btn { width: 100%; text-align: center; }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; } /* CTAはドロワー内に集約 */
}

/* プレビュー表示帯（v54・ログインユーザーの校正用） */
.preview-banner {
  background: #1a56c4; color: #fff;
  font-size: 12.5px; font-weight: 700; text-align: center;
  padding: 8px 16px; line-height: 1.5;
}

/* 主要取引先：ロゴグリッド表示（v54・現行サイト準拠） */
.client-grid.logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 24px;
  align-items: center;
}
.client-logo { display: flex; align-items: center; justify-content: center; min-height: 52px; }
.client-logo img { max-height: 48px; max-width: 100%; object-fit: contain; }
.client-logo .client-name { font-size: 12px; }
@media (max-width: 1024px) { .client-grid.logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px) { .client-grid.logos { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; } }

/* ===== TOP ナレッジ：1カラム + ブログ/動画カード（v55）===== */
.knowledge-single { display: flex; flex-direction: column; gap: 56px; }
.knowledge-block .more-link { display: block; text-align: right; margin-top: 18px; }
.blog-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 18px; }
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-card-thumb {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 10px; background: #eef2f9; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
}
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-thumb .noimg { color: #9aa7b8; font-weight: 700; letter-spacing: .1em; font-size: 13px; }
.blog-card .chip { display: inline-block; margin-bottom: 8px; }
.blog-card h3 { font-size: 15px; line-height: 1.6; margin: 0; color: var(--ink, #0a1b3d); }
/* YouTube再生ボタン */
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.7);
}
.yt-play::after {
  content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff;
}
.youtube-card:hover .yt-play { background: #ff0000; }
@media (max-width: 760px) {
  .blog-card-grid { grid-template-columns: 1fr; gap: 18px; }
  .knowledge-single { gap: 40px; }
}

/* /case-studies の静的スタッツ（アニメなし）+ スマホ2列化（v57） */
.stats-static .stat-num { color: var(--navy); -webkit-text-fill-color: currentColor; }
@media (max-width: 680px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stats-inner .stat:nth-child(3) { border-left: none; }
}

/* 事業領域：アンカーナビ（v58→白背景・MVと余白） */
.anchor-nav {
  position: sticky; top: 72px; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  margin-top: 36px;
}
.anchor-nav-inner { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 8px 48px 18px; }
.anchor-nav-inner::-webkit-scrollbar { height: 0; }
.anchor-nav a {
  flex: 1 1 auto; min-width: max-content; text-align: center;
  padding: 14px 28px; border-radius: 10px;
  background: var(--pale); color: var(--navy); font-size: 15px; font-weight: 800;
  white-space: nowrap; transition: all .15s; border: 1.5px solid transparent;
}
.anchor-nav a:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.pillar-section { scroll-margin-top: 150px; }
@media (max-width: 1024px) { .anchor-nav { top: 71px; margin-top: 24px; } }
@media (max-width: 680px) { .anchor-nav { top: 59px; } .pillar-section { scroll-margin-top: 210px; } }
@media (max-width: 680px) {
  .anchor-nav-inner { padding: 6px 18px 14px; gap: 8px; }
  .anchor-nav a { flex: 0 0 auto; font-size: 13.5px; padding: 11px 18px; }
}

/* ニュース等のページ送り（v58） */
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; }
.pager-nums { display: flex; gap: 6px; }
.pager-num { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13.5px; color: var(--text-sub); border: 1px solid var(--line); background: #fff; }
.pager-num.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.pager-num:hover:not(.on) { border-color: var(--navy); color: var(--navy); }
.pager-prev, .pager-next { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.pager-prev.disabled, .pager-next.disabled { color: var(--line); cursor: default; }
@media (max-width: 680px) { .pager { gap: 10px; } .pager-num { min-width: 30px; height: 30px; } }

/* /case-studies 上部ミッション・見出し（v58） */
.case-mission { text-align: center; max-width: 880px; }
.case-mission .section-title { line-height: 1.5; margin: 6px 0 18px; }
.case-mission .lead { color: var(--text-sub); line-height: 1.95; text-align: left; }
.section-title.center { text-align: center; }
.stats-note { text-align: center; font-size: 12px; color: var(--text-sub); margin: 4px 0 22px; }
@media (max-width: 680px) { .case-mission .lead { text-align: left; } }

/* SEO・読み上げ用の視覚的非表示（v60・TOPのH1等） */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 下層ページヒーローの見出し相当（H1はページ本体に移譲・v61） */
.page-hero .page-hero-h { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; letter-spacing: .02em; color: #fff; }

/* 関連サービス（事例・インタビュー記事下部） */
.svc-links { margin: 34px 0 8px; padding: 20px 22px; background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); }
.svc-links-ttl { font-size: 13px; font-weight: 800; color: var(--ink-2); letter-spacing: .05em; margin: 0 0 12px; padding-left: 11px; border-left: 4px solid var(--navy); }
.svc-links-list { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; text-decoration: none; transition: border-color .2s; }
.svc-link:hover { border-color: var(--navy); opacity: 1; }

/* グレーの付箋（:::note） */
/* グレーの付箋: 枠線なし・角なし・右上に折り込み */
.cms-note {
  position: relative; background: #F2F3F5; border: 0; border-radius: 0;
  padding: 24px 30px; margin: 28px 0; color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.cms-note::before {
  content: ''; position: absolute; top: 0; right: 0; width: 24px; height: 24px;
  background: #D9DBDF;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.cms-note > :last-child { margin-bottom: 0; }

/* コードブロック（```） */
.article-body pre { background: #F6F7F9; border: 1px solid #E5E8EC; border-radius: 10px; padding: 18px 20px; margin: 22px 0; overflow-x: auto; }
.article-body pre code { background: none; border: 0; padding: 0; font-size: 13.5px; line-height: 1.7; color: #24292f; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; white-space: pre; display: block; }
/* インラインコード（1行の値・パス等） */
.article-body code { background: #F3F4F6; border: 1px solid #E3E5E8; border-radius: 6px; padding: 2px 8px; font-size: .88em; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; color: #24292f; }

/* 関連記事カードの更新日 */
.related-cell-date, .relx-date, .rel-card-date { display: block; font-size: 11px; color: var(--text-sub); margin-top: 4px; }

/* CTAボタン（:::btn。文字量で横幅可変・改行可） */
.cms-btn-wrap { text-align: center; margin: 28px 0; }
.cms-btn { display: inline-block; background: #2D6BDB; color: #fff !important; font-weight: 700; text-align: center;
  max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere;
  padding: 15px 44px; border-radius: 999px; text-decoration: none; line-height: 1.65; font-size: 16px; /* v286: サイト標準のピル形に統一 */
  box-shadow: 0 3px 10px rgba(45,107,219,.28); transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.cms-btn:hover { background: #1E5BC8; transform: translateY(-1px); box-shadow: 0 5px 14px rgba(45,107,219,.34); text-decoration: none; }
/* グレー枠（:::gbox。角ばったシンプルなグレー枠） */
.cms-gbox { border: 1px solid #C9CDD3; background: #FAFAFB; border-radius: 0; padding: 18px 22px; margin: 28px 0; }
.cms-gbox > :last-child { margin-bottom: 0; }

/* サービス導線バナー（:::service。ソリューション管理のマスタから自動生成） */
.svc-banner { margin: 32px 0; }
.svc-banner-inner { position: relative; display: flex; gap: 22px; align-items: center; background: #F4F8FE; border: 1px solid #D9E5F7;
  border-radius: var(--radius); padding: 26px 26px 22px; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; flex-wrap: wrap; }
.svc-banner-inner:hover { box-shadow: 0 6px 18px rgba(45,107,219,.14); transform: translateY(-2px); text-decoration: none; }
.svc-banner-brand { position: absolute; top: 12px; left: 26px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: #7A90B8; }
.svc-banner-thumb { flex: 0 0 190px; max-width: 190px; border-radius: 8px; overflow: hidden; margin-top: 10px; }
.svc-banner-thumb img { width: 100%; height: 118px; object-fit: cover; display: block; }
.svc-banner-body { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.svc-banner-ttl { font-size: 21px; font-weight: 700; color: #1A2333; line-height: 1.4; }
.svc-banner-catch { font-size: 14.5px; color: #3A4356; line-height: 1.7; }
.svc-banner-btn { align-self: flex-end; background: #2D6BDB; color: #fff; font-weight: 700; font-size: 14px;
  padding: 11px 26px; border-radius: 999px; box-shadow: 0 3px 10px rgba(45,107,219,.26); }
.svc-banner-inner:hover .svc-banner-btn { background: #1E5BC8; }
@media (max-width: 640px) { .svc-banner-thumb { flex-basis: 100%; max-width: 100%; } .svc-banner-thumb img { height: 150px; } .svc-banner-btn { align-self: stretch; text-align: center; } }

/* 事例・インタビュー詳細: 案件情報ボックス */
.case-spec { border: 1.5px solid var(--navy); background: #fff; border-radius: 10px; padding: 4px 18px; margin: 0 0 30px; }
.case-spec-row { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid #EEF1F4; }
.case-spec-row:last-child { border-bottom: none; }
.case-spec dt { flex: 0 0 96px; font-size: 12.5px; font-weight: 700; color: var(--text-sub); padding-top: 1px; }
.case-spec dd { flex: 1; font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.6; }
@media (max-width: 560px) { .case-spec-row { flex-direction: column; gap: 3px; } .case-spec dt { flex-basis: auto; } }

/* ========== 事例・インタビュー一覧カード刷新（v113） ========== */
/* カードは画像を主役に。padディングは本文側に移す */
.case-grid { align-items: stretch; }
.case-grid .case-card { padding: 0; overflow: hidden; gap: 0; display: flex; flex-direction: column; height: 100%; }
.case-grid .case-card .case-thumb { border-radius: 0; margin-bottom: 0; position: relative; background: #eef2f9; }
/* サムネは高さを固定して cover で揃える（カードのガタつき防止） */
.case-grid .case-card .case-thumb { aspect-ratio: 16 / 9; height: auto; }
.case-grid .case-card .case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* サムネ上の業種ラベル */
.case-thumb-cat {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(20,40,80,.82);
  padding: 4px 11px; border-radius: 4px; letter-spacing: .02em; backdrop-filter: blur(2px);
}
.case-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.case-card-body h3 { flex: none; font-size: 15.5px; font-weight: 700; color: var(--ink-2); line-height: 1.55; margin: 0; }
/* 中身は上詰め、余ったスペースはカード最下部にまとめる（中央の空白を防ぐ） */
.case-card-body::after { content: ''; flex: 1 1 auto; }
.case-project { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .02em; margin: 0; }
/* 課題・ソリューションのラベル付き表示 */
.case-taxo { display: flex; gap: 8px; align-items: baseline; }
.case-taxo-label { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; color: var(--text-sub); background: #F2F5F9; border-radius: 4px; padding: 2px 7px; margin-top: 2px; }
.case-taxo-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.case-taxo .chip { font-size: 11px; padding: 2px 9px; }

/* 事例カードは課題→ソリューションの順（テンプレ側で制御済み）。プロジェクトを見出しに */
.ach-card .case-card-body h3 { font-size: 14.5px; color: var(--text); font-weight: 600; line-height: 1.5; }

/* ========== 詳細ページ: 業種ラベル・プロジェクト・スペックのタグ表示 ========== */
.article-head-labels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.article-project { font-size: 14px; font-weight: 700; color: var(--blue); margin: 0 0 6px; letter-spacing: .01em; }
.case-spec dd.spec-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-spec dd.spec-tags .chip { font-size: 12px; }

/* ========== 導入事例ハブ: 実績リッチ化・注記調整・余白詰め ========== */
.case-stats-sec { padding-top: 46px; padding-bottom: 46px; }
.stats-head { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 22px; }
.case-stats-sec .stats-note { align-self: flex-end; text-align: right; font-size: 11.5px; color: var(--text-sub); line-height: 1.3; margin: 0; }
/* リッチな実績ボックス */
.stats-rich { padding: 40px 24px; gap: 0; }
.stats-rich .stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 16px; }
.stats-rich .stat-figure { display: inline-flex; align-items: baseline; gap: 2px; }
.stats-rich .stat-label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 8px; letter-spacing: .03em; }
.stats-rich .stat-sub { font-size: 10.5px; color: var(--text-sub); margin-top: 2px; }
.case-hub-entries { padding-top: 40px; }

/* ========== ブログ絞り込みコンパクト化 ========== */
.blog-filters.compact { margin-bottom: 32px; }
.filter-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filter-bar .cat-filter { margin-bottom: 0; flex: 1; }
.tag-toggle {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--text-sub);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer;
  transition: all .15s;
}
.tag-toggle:hover { border-color: var(--blue); color: var(--blue); }
.tag-toggle[aria-expanded="true"] { background: var(--pale); color: var(--blue); border-color: #CCDFF8; }
.tag-toggle-caret { font-size: 10px; transition: transform .15s; }
.tag-toggle[aria-expanded="true"] .tag-toggle-caret { transform: rotate(180deg); }
.blog-filters.compact .tag-filter { margin-top: 14px; padding: 16px; background: var(--pale); border-radius: 10px; }
.blog-filters.compact .tag-filter[hidden] { display: none; }

@media (max-width: 640px) {
  .filter-bar .cat-filter { flex-basis: 100%; }
  .case-stats-sec .stats-note { align-self: center; text-align: center; }
}

/* インタビュー一覧: 業種は画像に重ねずカード本文の先頭に表示（v116） */
.case-industry { font-size: 11.5px; font-weight: 700; color: var(--text-sub); letter-spacing: .03em; margin: 0; }
.case-industry::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); margin-right: 6px; vertical-align: baseline; }

/* インタビュー/事例 一覧カード: クライアント名を主役に（現行サイト準拠）(v120) */
.case-card-body { flex: 1; }
.case-client-name { font-size: 15px; font-weight: 800; color: var(--blue); margin: 0 0 6px; line-height: 1.4; letter-spacing: .01em; }
.case-card-body h3 { flex: none; font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.6; margin: 0 0 14px; }
/* カード内ミニスペック（業種・ソリューション・課題をラベル付きで） */
.case-mini-spec { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.case-mini-spec .cms-row { display: grid; grid-template-columns: 84px 1fr; gap: 8px; align-items: start; }
.case-mini-spec dt { font-size: 11px; font-weight: 700; color: var(--text-sub); padding-top: 3px; }
.case-mini-spec dd { margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.chip.soft { background: #EEF3FB; color: var(--ink-2); border: none; }

/* 記事詳細: タイトル上のクライアント名（青・太字・目立たせる）(v120) */
.article-client-name { font-size: clamp(18px, 2vw, 24px); font-weight: 900; color: var(--blue); margin: 0 0 10px; letter-spacing: .01em; line-height: 1.4; }
/* 詳細スペックのコンパクト版（ラベル細め・余白圧縮） */
.case-spec.compact { padding: 2px 16px; margin: 0 0 26px; }
.case-spec.compact .case-spec-row { padding: 7px 0; gap: 14px; align-items: center; }
.case-spec.compact dt { flex: 0 0 88px; font-size: 12px; }
.case-spec.compact dd { font-size: 13px; }
.case-spec.compact dd.spec-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* 一覧カード: 業種/ソリューション/課題を見出し付きで横並び・小さめ・角丸なし（v124） */
/* 一覧カード: 業種のみ表示・軽量化（v125） */
.case-industry-only { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.case-industry-only .cio-label { font-size: 10.5px; font-weight: 700; color: var(--text-sub); letter-spacing: .02em; flex: none; }
.case-industry-only .cio-val { font-size: 12.5px; font-weight: 700; color: var(--blue); }

/* ============================================================
   TOPデザイン調整 v158（キャプチャ提出向け）
   ①スライダードットの操作性 ②「詳しく見る」ボタン化
   ③実績数値バーのリッチ化 ④日本語の読みやすい改行
   ⑤テキスト導線のボタン化 ⑥パートナー/取引先ロゴ拡大
   ============================================================ */

/* ① スライダードット: 当たり判定を大きく（見た目はスリムなバーのまま） */
.slider-dots { gap: 12px; }
.slider-dots .dot {
  width: 46px; height: 20px; background: transparent; position: relative;
}
.slider-dots .dot::before {
  content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 4px;
  border-radius: 4px; background: rgba(255,255,255,.35); transition: all .3s;
}
.slider-dots .dot:hover::before { background: rgba(255,255,255,.6); }
.slider-dots .dot.active { width: 62px; }
.slider-dots .dot.active::before { background: var(--cyan); }

/* ② 「詳しく見る」をボタンに（暗い写真背景の上で押せる見た目に） */
.slide-more {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--navy);
  -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor;
  font-size: 14px; font-weight: 800;
  padding: 13px 30px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.slide:hover .slide-more { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.34); }

/* ③ 実績数値バー: 白基調のまま質感アップ（グラデ・アクセントバー・カード感） */
.stats-inner {
  position: relative; overflow: hidden; padding: 40px 20px 36px;
  background:
    radial-gradient(620px 220px at 10% -20%, rgba(31,109,255,.07), transparent 62%),
    radial-gradient(560px 240px at 92% 120%, rgba(0,194,255,.08), transparent 62%),
    #fff;
  box-shadow: 0 18px 46px rgba(10,30,70,.12);
}
.stats-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.stat-unit { color: var(--blue); }
.stat-label { font-weight: 700; color: var(--text-sub); margin-top: 8px; }

/* ④ 日本語の改行を語のまとまりで（対応ブラウザのみ有効・非対応でも無害） */
.lead, .hero-mv-copy, .pillar-desc, .trust-band p { word-break: auto-phrase; }
.section-title, .slide-title { text-wrap: balance; }

/* ⑤ テキスト導線（〜一覧 → / 導入事例はこちら →）をボタン化 */
.more-link {
  display: block; width: fit-content; margin-left: auto; text-align: center;
  border: 1.5px solid var(--blue); color: var(--blue);
  border-radius: 999px; padding: 10px 24px;
  font-size: 13.5px; font-weight: 700;
  transition: background .2s, color .2s;
}
.more-link:hover { background: var(--blue); color: #fff; }
.more-link.back { margin-left: 0; margin-right: auto; }

/* ⑥ 主要取引先の説明とリンクを格上げ */
.client-note {
  margin-top: 30px; font-size: 16px; font-weight: 700; color: var(--ink-2);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
.client-note a {
  display: inline-block; padding: 10px 24px; border-radius: 999px;
  border: 1.5px solid var(--blue); color: var(--blue);
  font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s;
}
.client-note a:hover { background: var(--blue); color: #fff; }

/* ⑦ 認定パートナー・主要取引先のロゴを拡大 */
.partner-card { padding: 34px 18px 28px; }
.partner-card img { max-height: 78px; max-width: 88%; margin-bottom: 14px; }
.partner-card .logo-text { font-size: 18px; }
.partner-card p { font-size: 12.5px; }
.client-grid.logos { gap: 26px 20px; }
.client-logo { min-height: 66px; }
.client-logo img { max-height: 60px; }
.client-logo .client-name { font-size: 13px; }

/* ============================================================
   v160 エンプラ質感レイヤー
   （気に入らない場合はこのブロックごと削除、またはv159へ戻せば元通り）
   ============================================================ */

/* ── 実績数値: 青ラインを廃止し、ラベルを上に・大きく ── */
.stats-inner::before { display: none; }
.stat {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  column-gap: 3px; padding: 8px 12px;
}
.stat-label {
  order: -1; flex-basis: 100%; margin: 0 0 10px;
  font-size: 14.5px; font-weight: 800; color: var(--navy); letter-spacing: .06em;
}
.stat-num { font-size: clamp(34px, 3.8vw, 50px); }
.stats-inner { padding: 42px 20px 38px; }

/* ── ヒーロー: 文字の可読性と入場アニメーション ── */
.slide.has-bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,16,36,.12) 0%, rgba(6,16,36,.02) 38%, rgba(6,16,36,.35) 100%);
}
.slide-inner { position: relative; z-index: 2; }
@keyframes peFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.slide.active .slide-text { animation: peFadeUp .9s cubic-bezier(.2,.7,.2,1) .5s both; }

/* ── カード類: 統一されたホバー浮遊感（エンプラの定番） ── */
.pillar-card, .case-card, .partner-card, .blog-card, .cta-card {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s, border-color .28s;
}
.pillar-card:hover, .case-card:hover, .partner-card:hover, .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(10, 30, 70, .13);
  border-color: rgba(31, 109, 255, .45);
}
.pillar-more { transition: letter-spacing .25s; display: inline-block; }
.pillar-card:hover .pillar-more { letter-spacing: .05em; color: var(--blue); }

/* ── 淡色セクション: ごく薄い光のウォッシュで奥行き ── */
.section.pale {
  background:
    radial-gradient(900px 340px at 8% 0%, rgba(31,109,255,.045), transparent 60%),
    radial-gradient(760px 300px at 95% 100%, rgba(0,194,255,.05), transparent 60%),
    var(--pale);
}

/* ── TRUST帯: 深いグラデ＋光の円で質感アップ ── */
.trust-band { position: relative; overflow: hidden;
  background: linear-gradient(118deg, var(--ink) 0%, #0E2F72 55%, var(--deep-2) 100%);
}
.trust-band::before, .trust-band::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.trust-band::before { width: 460px; height: 460px; right: -140px; top: -200px; background: radial-gradient(circle, rgba(0,194,255,.20), transparent 70%); }
.trust-band::after  { width: 560px; height: 560px; left: -180px; bottom: -300px; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 70%); }
.trust-inner { position: relative; z-index: 1; }

/* ── 全体の呼吸: セクション余白をわずかに広く・見出しを引き締め ── */
.section { padding: 108px 0; }
.section-title { letter-spacing: .015em; }

/* ============================================================
   v161 CTAルール統一・可読性アップ
   ルール: 塗りボタン＝ブランド青（主要アクション）
           白抜き青枠＝「〜一覧」系サブ導線
   ============================================================ */

/* 塗りボタンをブランド青に統一（明るい背景上の主要アクション） */
.btn.navy { background: var(--blue); border-color: var(--blue); }
.btn.navy:hover { background: #1857CC; border-color: #1857CC; }

/* 白抜きボタンも青枠に統一（サブ導線） */
.btn.outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn.outline:hover { background: var(--blue); color: #fff; }

/* ニュース一覧ボタンが幅いっぱいに伸びるバグ修正（古い指定が勝っていた） */
.knowledge-block .more-link { display: table; margin-left: auto; text-align: center; }

/* 可読性アップ（小さすぎた箇所の底上げ） */
.lead { font-size: 16px; line-height: 2; }
.pillar-desc { font-size: 14px; }
.news-list a { font-size: 14.5px; padding: 17px 6px; }
.news-list .t { font-weight: 600; }
.partner-card p { font-size: 13px; }
.blog-card h3 { font-size: 15.5px; }

/* ============================================================
   v161-B 画像リッチ化（導入事例サムネ・採用カード）
   ============================================================ */

/* 導入事例カード: アイキャッチ画像（無い場合はブランドグラデ） */
.case-thumb {
  aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  margin: -8px -6px 4px; position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 70%, var(--cyan) 130%);
  display: flex; align-items: center; justify-content: center;
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-thumb-fallback { color: rgba(255,255,255,.92); font-weight: 800; font-size: 15px; letter-spacing: .12em; }

/* 採用カード: 写真が入るまでの上質なプレースホルダ（グラデ帯＋番号） */
.recruit-sec .blk-cards { counter-reset: recruit; }
.recruit-sec .blk-card { position: relative; overflow: hidden; }
.recruit-sec .blk-card::before {
  content: ''; display: block; height: 96px; margin: -30px -26px 20px;
  background:
    radial-gradient(240px 120px at 85% -30%, rgba(0,194,255,.45), transparent 70%),
    linear-gradient(120deg, var(--ink) 0%, var(--deep-2) 90%);
}
.recruit-sec .blk-card::after {
  counter-increment: recruit; content: counter(recruit, decimal-leading-zero);
  position: absolute; top: 22px; right: 24px;
  font-size: 44px; font-weight: 800; letter-spacing: .04em;
  color: rgba(255,255,255,.9); line-height: 1;
}
.recruit-sec .blk-card h3 { border-bottom: none; padding-bottom: 0; }
/* 写真（![]()）を入れたカードは帯の代わりに写真を表示 */
.recruit-sec .blk-card.has-img::before, .recruit-sec .blk-card.has-img::after { display: none; }
.recruit-sec .blk-card.has-img { padding-top: 0; }
.recruit-sec .blk-card.has-img .blk-card-img { margin: 0 -26px 20px; width: calc(100% + 52px); max-width: none; }

/* ============================================================
   v163 実績数値の写真背景デザイン＋事業領域ビジュアル
   （実績は サイト設定 top_stats_style=classic で旧デザインに戻せる）
   ============================================================ */

/* ── 実績数値: 写真背景＋白カード（背景写真はstats_bg_image設定。未設定時は下のグラデ） ── */
.stats-photo {
  position: relative; padding: 84px 48px 92px; overflow: hidden; margin-top: 0;
  background:
    linear-gradient(180deg, rgba(9, 30, 68, .58), rgba(13, 44, 100, .52)),
    radial-gradient(900px 500px at 20% 30%, rgba(0,194,255,.25), transparent 60%),
    linear-gradient(115deg, #244a86 0%, #3a6bb5 45%, #7FA8D9 100%);
  background-size: cover; background-position: center;
}
.stats-photo-inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.sp-title {
  text-align: center; color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800;
  letter-spacing: .04em; margin-bottom: 6px; text-shadow: 0 2px 14px rgba(6,20,50,.4);
}
.sp-title .note { font-size: 13px; font-weight: 700; margin-left: 14px; letter-spacing: .02em; opacity: .95; }
.sp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 38px; }
.sp-item { text-align: center; }
.sp-label {
  color: #fff; font-size: 16.5px; font-weight: 800; letter-spacing: .06em;
  margin-bottom: 14px; text-shadow: 0 2px 10px rgba(6,20,50,.45);
}
.sp-card {
  background: rgba(255,255,255,.94); border-radius: 22px; padding: 38px 12px 28px;
  box-shadow: 0 18px 44px rgba(6, 22, 58, .28), inset 0 1px 0 rgba(255,255,255,.9);
}
.sp-num {
  display: block; font-size: clamp(46px, 5.2vw, 68px); font-weight: 800; line-height: 1.05;
  letter-spacing: .01em; font-variant-numeric: tabular-nums;
  background: linear-gradient(150deg, var(--blue), var(--navy));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-unit { display: block; margin-top: 10px; font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .1em; }
@media (max-width: 860px) {
  .sp-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-photo { padding: 64px 24px 72px; }
}

/* ── 事業領域カードの上部ビジュアル（カードの余白いっぱいに敷く） ── */
.pillar-visual {
  display: block; width: calc(100% + 56px); margin: -34px -28px 8px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .pillar-visual { width: 100%; } }

/* ============================================================
   v164 実績の再配置＋画像の見切れ修正
   TOP=白背景カード型（ラベル枠内・黒・大きく） / 事例ページ=写真背景型
   ============================================================ */

/* ── TOP実績: 白カード・ラベルは枠内で黒く大きく・数字特大 ── */
.stats-cards { padding: 50px 20px 46px; background: linear-gradient(180deg, #F4F8FD, #fff); }
.stats-inner2 {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.stat-card {
  background: #fff; border-radius: 18px; text-align: center; padding: 26px 12px 24px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(10, 30, 70, .08);
}
.stat-t { font-size: 16px; font-weight: 800; color: #16233F; letter-spacing: .04em; margin-bottom: 10px; }
.stat-fig { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.stat-card .stat-num {
  font-size: clamp(42px, 4.6vw, 60px); font-weight: 800; line-height: 1.05;
  letter-spacing: .01em; font-variant-numeric: tabular-nums;
  background: linear-gradient(150deg, var(--blue), var(--navy));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card .stat-u { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .06em; }
@media (max-width: 860px) { .stats-inner2 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ── 事例ページの実績（写真背景型）: 業界の注記 ── */
.sp-sub { margin-top: 8px; font-size: 11.5px; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(6,20,50,.5); }

/* ── 画像の見切れ修正: グローバル img{max-width:100%} の打ち消し ── */
.pillar-visual {
  /* v277: 台紙なしの白地インセット（イラストが白背景のため、薄青台紙だと枠に見える） */
  display: block; width: 100%; max-width: none;
  margin: 0 0 6px; aspect-ratio: 16 / 8.2; object-fit: contain;
  background: none; border-radius: 0; padding: 6px 0;
  border-bottom: none;
}
.case-card { overflow: hidden; }
.case-thumb { margin: -28px -26px 8px; width: calc(100% + 52px); max-width: none; border-radius: 0; }
.recruit-sec .blk-card.has-img .blk-card-img {
  margin: -30px -26px 18px; width: calc(100% + 52px); max-width: none; height: 190px;
}

/* ============================================================
   v165 実績パネル復帰・事業領域ホバー統一・事例カード余白
   ============================================================ */

/* ── 実績: 外側は元の白パネル、中の表示は新スタイル（項目名＝黒・大／数字＝特大） ── */
.stat-label { color: #16233F; font-size: 16px; font-weight: 800; letter-spacing: .04em; margin-bottom: 4px; }
.stat-num { font-size: clamp(40px, 4.4vw, 58px); }
.stat-unit { font-size: 15px; font-weight: 800; }

/* ── 事業領域: ホバーの濃紺反転をやめ、他カードと同じ浮遊に統一 ── */
.pillar-card::before { content: none; }
.pillar-card:hover { border-color: rgba(31, 109, 255, .45); }
.pillar-card:hover .pillar-en { color: var(--blue); }
.pillar-card:hover h3 { color: #16233F; }
.pillar-card:hover .pillar-desc { color: var(--text-sub); }
.pillar-card:hover .tag { border-color: var(--line); color: var(--text-sub); }

/* ── 導入事例カード: 詰まり解消（サムネ下と要素間に呼吸） ── */
.case-thumb { margin-bottom: 18px; }
.case-card { gap: 14px; padding-bottom: 30px; }
.case-card h3 { line-height: 1.65; }

/* ============================================================
   v166 スライド見出し2行固定・リード1行・事例カードの磨き込み
   ============================================================ */

/* ── スライド見出し: 常に2行分の高さを確保し、2行を超える分は省略（CTA位置が揃う） ── */
.hero-slider h2 {
  min-height: 3em; /* 2行分の高さ確保のみ（省略はしない。v234で「…」を撤廃） */
}

/* ── 導入事例セクションのリードを1行に（幅制限を解除） ── */
.lead.lead-1line { max-width: none; }

/* ── 導入事例カード: チップを写真に重ね、余白のリズムを整える ── */
.case-thumb { margin-bottom: 0; }
.case-card { gap: 0; padding-bottom: 28px; }
.case-card .case-meta { margin-top: -18px; position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.case-card .chip {
  background: #fff; color: var(--navy); border: none;
  box-shadow: 0 4px 14px rgba(10, 30, 70, .16);
  font-weight: 700; padding: 6px 14px;
}
.case-card .chip.outline { background: #fff; color: var(--blue); }
.case-card h3 { margin-top: 14px; line-height: 1.7; font-size: 15.5px; }
.case-card:hover h3 { color: var(--blue); }

/* 画像なしのフォールバックを見栄え良く（濃紺グラデ＋業種名） */
.case-thumb { background: linear-gradient(135deg, #0A2A66 0%, #1F6DFF 100%); }
.case-thumb-fallback {
  color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .1em;
  text-shadow: 0 2px 12px rgba(6, 20, 50, .45);
}
.case-thumb-fallback::before {
  content: 'CASE STUDY'; display: block; text-align: center;
  font-size: 10.5px; letter-spacing: .3em; opacity: .75; margin-bottom: 8px;
}

/* ============================================================
   v167 導入事例カードの構造再設計
   画像は上部いっぱい・テキストは専用の余白ボックス（四方均等）
   チップは画像に重ねない・縦に伸びてOK
   ============================================================ */
.case-card { padding: 0; gap: 0; overflow: hidden; }
.case-thumb { margin: 0; width: 100%; max-width: none; }
.case-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 26px; flex: 1; }
.case-card .case-meta { margin-top: 0; position: static; }
.case-card .chip { background: var(--pale-2); color: var(--navy); border: none; box-shadow: none; padding: 4px 12px; font-weight: 700; }
.case-card .chip.outline { background: #fff; border: 1px solid var(--line); color: var(--text-sub); }
.case-card h3 { margin-top: 0; }

/* ============================================================
   v168 サービスページ・ブロックの表示調整
   ============================================================ */

/* ① ギャラリー: 画像の灰色ボーダーを廃止 */
.gallery-item img { border: none; }

/* ③⑩ ギャラリー・テキストブロックの上下余白を半減（他ページの.sectionには影響しない） */
.blk-gallery-sec { padding: 44px 0; }
.blk-text-sec { padding: 44px 0; }

/* ⑦ 背景色（薄い青/ダーク）が .section 前提だったのを、独自セクションのブロックにも適用 */
.blk-flow-sec.pale, .blk-callout-sec.pale, .blk-faq-sec.pale, .blk-compare-sec.pale { background: var(--pale); }
.blk-flow-sec.dark, .blk-callout-sec.dark, .blk-faq-sec.dark, .blk-compare-sec.dark, .blk-worries-sec.dark {
  background: linear-gradient(135deg, var(--ink) 0%, var(--deep-2) 100%); color: #fff;
}
.blk-flow-sec.dark .blk-sec-title, .blk-callout-sec.dark .blk-sec-title, .blk-faq-sec.dark .blk-sec-title,
.blk-compare-sec.dark .blk-sec-title, .blk-worries-sec.dark .blk-sec-title,
.blk-worries-sec.dark .blk-sub-title { color: #fff; }

/* ⑧ 見出しデザインの統一: h2（ブロック見出し）とh3（小見出し）を全ブロック共通に */
.blk-sec-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; color: var(--ink-2); text-align: center; margin-bottom: 30px; }
.blk-text-sec .en-label { text-align: center; }
.blk-sub-title { font-size: 19px; font-weight: 800; color: var(--ink-2); text-align: center; margin: 0 0 22px; }
.callout-title { font-size: 19px; font-weight: 800; color: var(--ink-2); }
.md-body h3 { font-size: 18px; font-weight: 800; color: var(--ink-2); }

/* ── 組み合わせボックス（青枠+見出し+画像+テキスト+CTA） ── */
.cms-showcase { background: #F4F8FE; border: 1.5px solid #C9DAF6; border-radius: var(--r-sm); padding: 22px 26px 26px; margin: 32px 0; }
.cms-showcase-ttl { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 3px solid #3D6EDB; font-size: 20px; font-weight: 800; color: #1E2B3C; }
.cms-showcase-img { text-align: center; margin: 18px 0; }
.cms-showcase-img img { max-width: 100%; height: auto; border-radius: 10px; }
.cms-showcase .cms-btn-wrap { text-align: center; margin: 20px 0 2px; }

/* ── スマホ最適化（記事パーツ） ── */
@media (max-width: 680px) {
  .cms-btn { padding: 14px 22px; font-size: 15px; }
  .cms-showcase { padding: 16px 14px 18px; }
  .cms-showcase-ttl { font-size: 17px; }
  .cms-showcase-img { margin: 14px 0; }
}


/* 見出し下の本文（全ブロック共通・v200） */
.blk-lead { max-width: 760px; margin: -12px auto 28px; text-align: center; color: var(--text-sub); }
.blk-lead p { margin: 0 0 8px; }
.blk-band-sec .blk-lead { margin-top: 14px; text-align: left; }

/* 画像ギャラリーの大きさ（v200） */
.blk-gallery-sec.gal-sm .gallery-item { flex-basis: calc(20% - 15px); min-width: 140px; max-width: 240px; }
.blk-gallery-sec.gal-lg .gallery-item { flex-basis: calc(50% - 9px); min-width: 280px; max-width: 640px; }
@media (max-width: 700px) {
  .blk-gallery-sec.gal-sm .gallery-item { flex-basis: calc(50% - 9px); min-width: 120px; }
  .blk-gallery-sec.gal-lg .gallery-item { flex-basis: 100%; }
}

/* CTAブロック（v200） */
.blk-cta-sec { text-align: center; }
.blk-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.blk-cta-btns .btn { min-width: 220px; }
.blk-cta-sec.dark .blk-lead { color: rgba(255,255,255,.85); }


/* カード並び: サムネの見せ方（v201） */
.blk-cards.img-icon .blk-card-img { width: auto; max-width: 78%; max-height: 120px; object-fit: contain; display: block; margin: 22px auto 0; }
.blk-cards.img-icon .blk-card.has-img h3 { margin: 14px 22px 12px; padding: 0 0 10px; }

/* カード並び: 下向き矢印の装飾（v201） */
.blk-cards.deco-arrow .blk-card::before {
  content: ""; display: block; width: 0; height: 0; margin: 0 auto 18px;
  border-left: 46px solid transparent; border-right: 46px solid transparent; border-top: 34px solid #3D6EDB;
}
.section.dark .blk-cards.deco-arrow .blk-card::before { border-top-color: #6FA0F2; }


/* 動画（YouTube）ブロック（v202） */
.blk-videos { display: grid; gap: 20px; margin-top: 8px; }
.blk-videos.n1 { max-width: 680px; margin-left: auto; margin-right: auto; }
.blk-videos.n2 { grid-template-columns: repeat(2, 1fr); }
.blk-videos.n3 { grid-template-columns: repeat(3, 1fr); }
.blk-video { aspect-ratio: 16 / 9; }
.blk-video iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; display: block; }
@media (max-width: 820px) { .blk-videos.n2, .blk-videos.n3 { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* カード並び: リンク付きカード（v202） */
.blk-card { position: relative; }
.blk-card-stretch { position: absolute; inset: 0; z-index: 1; }
.blk-card.has-link { transition: transform .18s, box-shadow .18s, border-color .18s; }
.blk-card.has-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #B9CFF3; }

/* カード並び: 上下コンテンツを▼でつなぐ二層構成（v202） */
.blk-card-sep { width: 0; height: 0; margin: 18px auto; border-left: 28px solid transparent; border-right: 28px solid transparent; border-top: 20px solid #3D6EDB; }
.blk-card-sub { font-size: 15px; font-weight: 800; color: #2D6BDB; margin: 0 0 8px; }
.blk-card.has-img .blk-card-sep { margin: 18px auto; }
.blk-card.has-img .blk-card-sub, .blk-card.has-img .md-body + .blk-card-sep { margin-left: 22px; margin-right: 22px; }
.blk-card.has-img .blk-card-sep { margin-left: auto; margin-right: auto; }
.blk-card.has-img .blk-card-sub { margin: 0 22px 8px; }
.section.dark .blk-card-sub { color: var(--cyan-dim); }
.section.dark .blk-card-sep { border-top-color: #6FA0F2; }


/* セミナー: 開催終了の斜め帯（v205） */
.seminar-thumb-wrap { position: relative; display: block; overflow: hidden; }
.seminar-thumb-wrap.detail { display: inline-block; max-width: 100%; }
.seminar-ribbon {
  position: absolute; top: 16px; left: -42px; transform: rotate(-45deg);
  background: #3D4756; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  padding: 6px 48px; box-shadow: 0 2px 6px rgba(0,0,0,.25); pointer-events: none; z-index: 1;
}


/* 記事詳細: コンテンツ列を中央寄せ（v209） */
.article-meta { max-width: 880px; margin-left: auto; margin-right: auto; }
.seminar-cta, .seminar-ended { max-width: 880px; margin-left: auto; margin-right: auto; }
.seminar-thumb-wrap.detail { display: block; max-width: 880px; margin-left: auto; margin-right: auto; }

/* ニュース種別ラベルの統一（v209）: 一覧・TOPでも詳細と同じ青ピル。列揃え用に最小幅 */
.cat-chip.news-cat { min-width: 96px; text-align: center; }


/* TOP: ブログ・動画カードを導入事例カードと同じ体裁に（v210） */
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .18s, transform .18s; }
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); opacity: 1; }
.blog-card-thumb { border-radius: 0; margin-bottom: 0; }
.blog-card-body { padding: 16px 18px 18px; }
.blog-card-body .chip { margin-bottom: 10px; }
.blog-card-body h3 { font-size: 15px; font-weight: 700; line-height: 1.65; margin: 0; }

/* TOP: 補助導線（一覧へ）は右寄せで統一（v210） */
.knowledge-block .more-link { display: block; text-align: right; margin-top: 14px; }

/* ブログ: タグ絞り込みを分かりやすく（v210） */
.tag-toggle { color: var(--navy); background: var(--pale); border-color: transparent; }
.tag-toggle::before { content: "#"; font-weight: 800; color: var(--blue); }
.tag-toggle:hover { background: var(--pale-2); }
.tag-filter { background: var(--pale); border-radius: var(--r-sm); padding: 16px 18px; margin-top: 12px; }
.tag-filter::before { content: "タグを選んで絞り込み"; display: block; font-size: 12px; font-weight: 700; color: var(--text-sub); margin-bottom: 10px; }

/* 導入事例ハブ: 実績数値のコンパクト版（v210） */
.stats-photo.compact { padding: 34px 0; }
.stats-photo.compact .sp-title { font-size: 17px; margin-bottom: 18px; }
.stats-photo.compact .sp-card { padding: 10px 6px; }
.stats-photo.compact .sp-num { font-size: clamp(26px, 3vw, 34px); }

/* 導入事例ハブ: 入口カードに画像（TOP事業領域カード風）（v210） */
.hub-card { overflow: hidden; padding: 0 0 24px; }
.hub-visual { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; margin-bottom: 20px; }
.hub-card .en-label, .hub-card h2, .hub-card > p, .hub-card .hub-link { margin-left: 26px; margin-right: 26px; }


/* 導入事例ハブ: 実績数値の白背景デザイン（v211） */
.stats-photo.compact { background: #fff !important; border-bottom: 1px solid var(--line); }
.stats-photo.compact .sp-title { color: var(--ink-2); }
.stats-photo.compact .sp-title .note { color: var(--text-sub); }
.stats-photo.compact .sp-label { color: var(--navy); }
.stats-photo.compact .sp-card { background: var(--pale); border: 1px solid #DCE7F5; box-shadow: none; }
.stats-photo.compact .sp-num { color: var(--navy); }
.stats-photo.compact .sp-unit { color: var(--navy); }
.stats-photo.compact .sp-sub { color: var(--text-sub); }


/* ── UIUX・スマホ監査対応（v215） ───────────────── */
/* 表: スマホでは横スクロール（レイアウト崩壊させない） */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.table-scroll table { margin: 0; }
/* 本文: 長いURL・英数字でも折り返す。埋め込みは幅超過させない */
.md-body { overflow-wrap: break-word; }
.md-body iframe { max-width: 100%; }
/* 装飾のはみ出し防止 */
.trust-band { overflow: hidden; }
/* iOSの自動文字拡大を無効化（横向き時のレイアウト崩れ防止） */
html { -webkit-text-size-adjust: 100%; }


/* ブロック: フロー（テキストのみ）（v220） */
.steps-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
.steps-item { display: flex; align-items: center; gap: 18px; padding: 20px 0; }
.steps-item + .steps-item { border-top: 1px dashed #D5DFEC; }
.steps-badge {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto;
  background: var(--blue); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.steps-badge .en { font-size: 8px; font-weight: 700; letter-spacing: .1em; margin-bottom: 2px; }
.steps-badge .n { font-size: 17px; font-weight: 800; }
.steps-text { font-size: 16px; font-weight: 700; color: var(--ink-2); }
.steps-text .md-body p { margin: 0; }

/* ---- お問い合わせ（Mautic遷移・A案） ---- */
.contact-lead-wrap { text-align: center; max-width: 760px; }
.contact-lead-wrap .lead { text-align: center; }
.contact-cta { margin: 34px 0 30px; }
.contact-cta .btn { min-width: 320px; }
.contact-tel .tel-number a { font-size: 26px; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: .04em; }
.contact-tel .tel-hours { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* ---- 資料請求一覧: カード見出しを拡大（v233） ---- */


/* ---- 資料請求 詳細（v233）: 画像縮小・CTA強調 ---- */
.request-thumb { max-width: 620px; }
.req-dl-btn {
  font-size: 17px; font-weight: 800; padding: 20px 72px;
  box-shadow: 0 8px 22px rgba(10, 66, 158, .32);
  letter-spacing: .04em;
}
.req-dl-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 66, 158, .4); }

/* ---- TOP: 会社紹介エリア（Accelerate Success Together / v236で潰れ修正） ---- */
.about-band { padding: 96px 0 100px; overflow: hidden; background: #fff; }
.about-en { text-align: center; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--navy); letter-spacing: .02em; margin-bottom: 64px; }
/* 写真=左端〜52% / テキスト=残り幅（minmaxで最小幅を保証し、どの画面幅でも潰れない） */
.about-grid { display: grid; grid-template-columns: minmax(0, 46%) minmax(280px, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.about-photo { min-width: 0; }
.about-photo img { width: 100%; height: 360px; object-fit: cover; display: block; }
.about-text { min-width: 0; max-width: 660px; }
.about-text h2 { font-size: clamp(21px, 2.1vw, 26px); font-weight: 800; color: var(--ink-2); line-height: 1.8; position: relative; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.about-text h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 2px; background: var(--navy); }
.about-body { font-size: 16px; line-height: 2.1; color: var(--text); margin: 28px 0 34px; }
.about-btns { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .about-band { padding: 64px 0 70px; }
  .about-en { font-size: 24px; margin-bottom: 34px; padding: 0 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; padding-right: 0; }
  .about-photo { width: 100%; }
  .about-photo img { height: 240px; }
  .about-text { max-width: none; padding: 0 24px; }
}

/* ---- TOP認定パートナー: スマホは表示順の先頭5つのみ（v237） ---- */
@media (max-width: 760px) {
  .top-partners .partner-card:nth-child(n+6) { display: none; }
}

/* ---- 会社紹介写真の「差し替え予定」ラベル（設定で写真を差し替えると自動で消える / v238） ---- */
.about-photo { position: relative; }
.about-photo-note {
  position: absolute; top: 14px; left: 14px;
  background: rgba(5, 14, 34, .78); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 7px 16px; border-radius: 6px;
}

/* ===== v239: スライドキャッチ2行化（PC） =====
   現行の最長キャッチが2行に収まるサイズ・幅に調整。省略（…）はしない方針のまま */
.slide-text { max-width: 820px; }
.hero-slider h2 { font-size: clamp(24px, 3vw, 34px); }

/* ===== v239: スマホ最適化一式 ===== */
.clients-more { display: none; }
@media (max-width: 760px) {
  /* コーナー余白の圧縮 */
  .section { padding: 52px 0; }
  .about-band { padding: 48px 0 54px; }
  /* MVかぶり軽減＋実績コンパクト化 */
  .stats-bar { margin-top: -26px; padding: 0 14px; }
  .stats-inner { gap: 10px 0; padding: 16px 10px 14px; }
  .stat { padding: 3px 8px; }
  .stat-num { font-size: 22px; }
  .stat-unit { font-size: 11.5px; }
  .stat-label { font-size: 10px; margin-bottom: 3px; letter-spacing: .02em; }
  /* ニュース: 1行目=日付+種別 / 2行目=タイトル全文（省略しない） */
  .news-list a { flex-wrap: wrap; gap: 6px 10px; padding: 14px 2px; }
  .news-list time { font-size: 12.5px; color: var(--text-sub); }
  .news-list .t { flex: 1 1 100%; white-space: normal; overflow: visible; text-overflow: clip; font-weight: 700; line-height: 1.65; }
  /* 主要取引先: 3列・小さめロゴ・12件で折りたたみ＋もっと見る */
  .client-grid.logos { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
  .client-logo { min-height: 40px; }
  .client-logo img { max-height: 34px; }
  .client-grid.logos .client-logo:nth-child(n+15) { display: none; }
  .client-grid.logos .client-logo:nth-child(13),
  .client-grid.logos .client-logo:nth-child(14) { opacity: .22; pointer-events: none; }
  .client-grid.logos.expanded .client-logo:nth-child(n+15) { display: flex; }
  .client-grid.logos.expanded .client-logo:nth-child(13),
  .client-grid.logos.expanded .client-logo:nth-child(14) { opacity: 1; pointer-events: auto; }
  .clients-more { display: block; width: 100%; margin: 18px auto 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; }
  /* ブログ・導入事例・動画: 横スライドでコンパクトに */
  .case-grid, .blog-card-grid { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
  .case-grid > *, .blog-card-grid > * { flex: 0 0 76%; scroll-snap-align: start; }
}

/* ===== v240: 絞り込みエリアのスマホコンパクト化（/achievement・/case 共通） ===== */
@media (max-width: 760px) {
  .case-filter { padding: 12px 14px; gap: 8px; margin-bottom: 24px; }
  .case-filter label { flex-direction: row; align-items: center; gap: 10px; width: 100%; white-space: nowrap; font-size: 12px; }
  .case-filter select { min-width: 0; flex: 1; padding: 8px 10px; font-size: 13px; }
  .case-filter .filter-clear { margin-left: auto; padding: 2px 0; }
}

/* ===== v240: /dxsolution サービスカードのイラスト（左寄せ・設定で非表示可） ===== */
.sol-card.with-illust { display: flex; align-items: center; gap: 16px; }
.sol-illust { width: 84px; height: 84px; flex: 0 0 84px; display: block; align-self: center; }
.sol-card-body { min-width: 0; }
@media (max-width: 760px) {
  .sol-illust { width: 64px; height: 64px; flex-basis: 64px; }
  .sol-card.with-illust { gap: 12px; padding: 14px 14px; }
}

/* ===== v247: フォーム埋め込み（資料請求・お問い合わせ） ===== */
.form-embed { max-width: 760px; margin: 8px auto 0; text-align: left; }
.form-embed iframe { width: 100%; height: 760px; border: none; display: block; background: #fff; }
@media (max-width: 760px) { .form-embed iframe { height: 820px; } }

/* ===== v247: サービスページの関連ブログ見出しを他のH2（blk-sec-title）と統一 ===== */
.related-corner.wide .related-corner-ttl { font-size: clamp(20px, 2.4vw, 26px); text-align: center; margin: 0 0 30px; }

/* ===== v247: 表の色指定パーツ（:::table-color blue|pale|gray [side]） ===== */
.cms-tblc { margin: 24px 0; }
.cms-tblc table { border-collapse: collapse; }
.tblc-blue thead th { background: var(--navy); color: #fff; border-color: var(--navy); }
.tblc-pale thead th { background: var(--pale-2); color: var(--ink-2); }
.tblc-gray thead th { background: #EEF1F5; color: var(--ink-2); }
.tblc-side.tblc-blue tbody tr > td:first-child, .tblc-side.tblc-blue tbody tr > th:first-child { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.tblc-side.tblc-pale tbody tr > td:first-child, .tblc-side.tblc-pale tbody tr > th:first-child { background: var(--pale-2); color: var(--ink-2); font-weight: 700; }
.tblc-side.tblc-gray tbody tr > td:first-child, .tblc-side.tblc-gray tbody tr > th:first-child { background: #EEF1F5; color: var(--ink-2); font-weight: 700; }

/* ===== v247: LPのslickカルーセル矢印をアイコンフォント非依存のCSS矢印に置換 ===== */
#lp-root .slick-prev:before, #lp-root .slick-next:before { content: '' !important; }
#lp-root .slick-arrow { font-size: 0; }
#lp-root .slick-prev::after, #lp-root .slick-next::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-top: 2.5px solid #2D6BDB; border-right: 2.5px solid #2D6BDB;
}
#lp-root .slick-prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
#lp-root .slick-next::after { transform: translate(-70%, -50%) rotate(45deg); }

/* ── TOP 事業領域セクション: 薄青背景（v249） ── */
.section.biz-blue { background: #EEF4FC; }

/* ── TOPの採用情報: 見出しを他セクションと同じ標準サイズ・左寄せに（v252） ── */
.recruit-top .blk-sec-title {
  font-size: clamp(24px, 3vw, 32px); text-align: left; letter-spacing: .02em; margin-bottom: 18px;
}

/* ── ブロック見出しのENラベル中央寄せ統一（v252）
   text ブロックのみ中央化されておりcards等が対応漏れ→中央見出しの直前ラベルは全ブロックで中央に。 ── */
.en-label:has(+ .blk-sec-title) { text-align: center; }
/* TOPの採用情報は左寄せ統一（recruit-top）のため、ラベルも左のまま */
.recruit-top .en-label:has(+ .blk-sec-title) { text-align: left; }

/* ── 見出しだけのテキストブロック: 直後セクションとの間延び解消（v255） ── */
.blk-text-sec.head-only { padding-bottom: 0; }
.blk-text-sec.head-only .blk-sec-title { margin-bottom: 0; }
.blk-text-sec.head-only + section { padding-top: 40px; }

/* ── TOPスライダー: PC/SP画像出し分け（v256）。image_sp未設定ならPC画像を継承 ── */
.hero-slider .slide.has-bg { background-image: var(--slide-bg); }
@media (max-width: 680px) {
  .hero-slider .slide.has-bg { background-image: var(--slide-bg-sp, var(--slide-bg)); }
}

/* ── TOPスライド: 文字色トーン切替（v256）。明るい写真向けの黒系配色 ── */
.hero-slider .slide.tone-dark { color: var(--ink-2); }
.hero-slider .slide.tone-dark:hover h2 { color: var(--navy); }
.slide.tone-dark .slide-copy { color: rgba(10, 27, 61, .78); }
.slide.tone-dark .slide-badge {
  color: var(--navy); border-color: rgba(10, 66, 158, .35); background: rgba(10, 66, 158, .06);
}
.slide.tone-dark .slide-more { background: var(--navy); color: #fff; }
/* 膜も反転: 画像を暗くする紺の膜 → 文字周りをほんのり白く（可読性確保） */
.hero-slider .slide.tone-dark.has-bg::before {
  background:
    linear-gradient(to bottom, rgba(255,255,255,.55) 0%, transparent 34%),
    linear-gradient(100deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.5) 46%, rgba(255,255,255,.08) 100%),
    linear-gradient(to top, rgba(255,255,255,.4) 0%, transparent 38%);
}
.slide.tone-dark.has-bg::after { background: none; }

/* ── 実績バーの注釈（期間・v263） ── */
.stats-note { max-width: var(--maxw); margin: 8px auto 0; text-align: right; font-size: 11px; color: #9AA7BC; letter-spacing: .02em; }
@media (max-width: 760px) { .stats-note { font-size: 10px; margin-top: 6px; } }

/* ── スマホ: Accelerateの2ボタンを右寄せ（ブログ等のmore-linkと同じ寄せ・v263） ── */
@media (max-width: 760px) { .about-btns { justify-content: flex-end; } }

/* ── フッター認証ロゴ: 白チップの高さを揃えて整列（v263） ── */
.footer-certs img { height: 56px; padding: 8px 12px; }

/* ── TOPスライド: ロゴバッジ（v264→v265調整）。ツールロゴを白チップで表示。
   「詳しく見る」ボタン（カプセル型）と見た目が被らないよう、角丸長方形のタグ形状に ── */
.slide-badge.logo {
  background: #fff; border-color: rgba(255, 255, 255, .5);
  padding: 7px 14px; line-height: 0; border-radius: var(--r-sm); /* v278: 縦マージン圧縮 */
}
.slide-badge.logo img { height: 38px; width: auto; max-width: 220px; object-fit: contain; display: inline-block; }
@media (max-width: 680px) { .slide-badge.logo img { height: 30px; max-width: 170px; } }

/* ── スマホのスライド: 中央寄せ＋フィルター強化（v266） ── */
@media (max-width: 680px) {
  /* バッジ・キャッチ・説明・ボタンをすべて中央に */
  .hero-slider .slide-text { text-align: center; }
  .hero-slider .slide-badge { margin-left: auto; margin-right: auto; }
  .hero-slider .slide-more { margin-left: auto; margin-right: auto; }
  /* 文字が画像中央に乗るため、左寄り設計の膜をやめて全面均一の濃い膜に */
  .hero-slider .slide.has-bg::before {
    background:
      linear-gradient(to bottom, rgba(5, 14, 34, .58) 0%, rgba(5, 14, 34, .46) 50%, rgba(5, 14, 34, .60) 100%);
  }
  .slide.has-bg::after { background: none; }
}

/* ── スライドタイトルのPC専用改行（v269）: タイトル内の「|」が <br class="pc-br"> になる。スマホでは無効 ── */
@media (max-width: 680px) { .hero-slider h2 .pc-br, .hero-slider .slide-copy .pc-br { display: none; } }

/* ── SPデザイン調整（v271） ── */
@media (max-width: 760px) {
  /* A: TOP会社紹介のCTA2つを横並び（幅を等分・ボタンをコンパクト化） */
  .about-btns { flex-wrap: nowrap; gap: 12px; }
  .about-btns .btn { flex: 1 1 0; padding: 12px 10px; font-size: 13px; white-space: nowrap; }
  /* D: パンくずを1行に（長い場合は横スクロール） */
  .breadcrumb { white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .breadcrumb::-webkit-scrollbar { display: none; }
}
@media (max-width: 680px) {
  /* B: /dxsolution 上部の3タブ: 折り返して全部見えるように（「システム開発」切れ解消） */
  .anchor-nav-inner { flex-wrap: wrap; gap: 8px; padding: 8px 16px 14px; overflow-x: visible; }
  .anchor-nav a { padding: 12px 10px; font-size: 13px; }
}

/* ── CTAブロック: ネイビーグラデ帯デザイン（v272・A-5コンパクト/電話なし） ── */
.blk-cta-sec.cta-band {
  color: #fff; text-align: center; position: relative; overflow: hidden;
  background: var(--deep-grad);
  padding: 38px 0 34px;
}
.blk-cta-sec.cta-band::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 230px; height: 230px;
  border-radius: 50%; background: rgba(56, 212, 255, .12);
}
.blk-cta-sec.cta-band::after {
  content: ""; position: absolute; left: -55px; bottom: -80px; width: 185px; height: 185px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.cta-band .container { position: relative; }
.cta-band-en { font-size: 11.5px; letter-spacing: .22em; color: #38D4FF; font-weight: 800; margin-bottom: 8px; }
.cta-band-title { font-size: clamp(19px, 2.3vw, 24px); font-weight: 800; margin-bottom: 8px; }
.cta-band-lead { color: rgba(255, 255, 255, .85); font-size: 14px; margin-bottom: 18px; text-align: center; }
.cta-band-lead p { margin: 0 0 4px; }
.cta-band .blk-cta-btns { margin-top: 0; }
.cta-band .btn.cta-main { background: #fff; color: var(--navy); min-width: 220px; }
.cta-band .btn.cta-main:hover { background: #EAF1FC; transform: translateY(-1px); }
.cta-band .btn.cta-sub2 { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; min-width: 220px; }
.cta-band .btn.cta-sub2:hover { background: rgba(255, 255, 255, .12); }

/* ── 記事パーツ: 資料請求バナー（v272）。サービスバナーの骨格＋差し色 ── */
.svc-banner.req-banner .svc-banner-brand { color: var(--deep); }
.svc-banner.req-banner .svc-banner-inner { border-color: #B9CFF3; background: linear-gradient(135deg, #F4F8FE, #E9F1FC); }
.svc-banner.req-banner .svc-banner-btn { background: var(--navy); }

/* ── サービス導線バナー: 資料請求ボタン付き2ボタン構造（v273） ── */
.svc-banner-inner.has-req:hover { transform: none; }
.svc-banner-ttl-link { color: inherit; }
.svc-banner-ttl-link:hover { color: var(--blue); text-decoration: underline; }
.svc-banner-btns { display: flex; gap: 10px; flex-wrap: wrap; align-self: flex-end; }
.svc-banner-btns .svc-banner-btn { align-self: auto; text-decoration: none; }
.svc-banner-btns .svc-banner-btn:hover { background: #1E5BC8; }
.svc-banner-btn.req { background: var(--navy); box-shadow: 0 3px 10px rgba(10, 66, 158, .26); }
.svc-banner-btns .svc-banner-btn.req:hover { background: var(--deep-hover); }
@media (max-width: 640px) {
  .svc-banner-btns { align-self: stretch; flex-direction: column; }
  .svc-banner-btns .svc-banner-btn { text-align: center; }
}

/* ── TOPおすすめコンテンツ（v279） ── */
.reco-card .reco-desc { font-size: 12.5px; color: var(--text-sub); line-height: 1.7; margin-top: 6px; }
.reco-ph {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--ink-2), var(--deep) 70%, var(--deep-2));
}
.reco-ph span { color: #fff; font-weight: 800; font-size: 15px; padding: 0 18px; text-align: center; line-height: 1.5; }
@media (max-width: 680px) { .reco-grid { grid-template-columns: 1fr 1fr; } .reco-ph span { font-size: 12.5px; } }


/* ── 資料請求カード（v338）─────────────────────────────
   パートナー・認証ページの認定パートナーカードと同じ構成にそろえる。
   ・図版は「枠付き・角丸の枠」の中に収める（全幅の画像＋濃紺の帯はやめる）
   ・名称 → 説明 → 右下のリンク の順
   ・カードの高さが揃うよう、説明は伸縮させリンクを下端に固定する
   ──────────────────────────────────────────── */
.req-card2 {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
  color: var(--text); transition: transform .25s, box-shadow .25s;
  text-align: left;
}
.req-card2:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* 図版の枠（パートナーのロゴ枠と同じ見た目） */
.req-fig2 {
  height: 176px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; box-sizing: border-box;
}
.req-fig2 > img { max-height: 148px; max-width: 92%; object-fit: contain; display: block; }
.req-fig2-text { font-weight: 800; font-size: 17px; color: var(--deep); text-align: center; line-height: 1.5; }

.req-title2 { font-size: 16.5px; font-weight: 800; color: var(--ink-2); margin: 0; line-height: 1.55; }
.req-desc2 {
  font-size: 13.5px; color: var(--text-sub); line-height: 1.85; margin: 0; flex: 1;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.req-card2 .more-link { align-self: flex-end; }

@media (max-width: 760px) {
  .req-card2 { padding: 22px 20px; }
  .req-fig2 { height: 150px; }
  .req-fig2 > img { max-height: 124px; }
}

/* ── 固定ページのヒーロー背景写真（v299） ── */
.page-hero.has-bg { position: relative; isolation: isolate; }
.page-hero.has-bg::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-bg); background-size: cover; background-position: center;
}
.page-hero.has-bg::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(130deg, rgba(5,14,34,.86) 0%, rgba(18,60,143,.78) 100%);
}

/* ── サイトマップページ（v306） ── */
.sm-groups { display: flex; flex-direction: column; gap: 34px; }
.sm-group-ttl { font-size: 18px; font-weight: 800; color: var(--ink-2); border-left: 5px solid var(--navy);
  padding-left: 12px; margin-bottom: 14px; }
.sm-sub-ttl { font-size: 14px; font-weight: 800; color: var(--deep); margin: 16px 0 8px; }
.sm-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; margin: 0 0 6px; padding: 0; }
.sm-list li { font-size: 14px; }
.sm-list a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; }
.sm-list a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.sm-list-dense { grid-template-columns: repeat(2, 1fr); gap: 6px 20px; }
.sm-list-dense li { font-size: 13px; }
.sm-details { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; }
.sm-details summary { cursor: pointer; font-size: 13.5px; font-weight: 800; color: var(--deep); }
.sm-details[open] summary { margin-bottom: 12px; }
@media (max-width: 760px) { .sm-list, .sm-list-dense { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .sm-list, .sm-list-dense { grid-template-columns: 1fr; } }

/* ============================================================
   Mauticフォーム（JS埋め込み・v319）
   ma.sora-michi.co.jp/form/generate.js が .mautic-form の中に
   直接描画する前提。iframeをやめたため高さ調整が不要になった。
   Mautic側が出力するCSSに負けないよう、詳細度を上げ、
   見た目を決める主要プロパティには !important を付けている。
   色・角丸はサイト共通のトークンを参照する（直書きしない）。
   ============================================================ */
.mautic-form { --mf-red: #C00000; text-align: left; max-width: 600px; margin: 0 auto; }

/* Mautic側にスタイル注入用の隠しフィールドが残っていても表示しない */
.mautic-form .sm-styleholder { display: none !important; }
.mautic-form .mauticform-row:has(.sm-styleholder) { display: none !important; margin: 0 !important; }

.mautic-form .mauticform_wrapper {
  max-width: 600px; margin: 0 auto; padding: 0;
  font-family: inherit; font-size: 15px; line-height: 1.8; box-sizing: border-box;
}
.mautic-form .mauticform_wrapper * { box-sizing: border-box; }
.mautic-form .mauticform-innerform { margin: 0; }

/* 行 */
.mautic-form .mauticform-row { margin: 0 0 18px !important; padding: 0 !important; }
.mautic-form .mauticform-row:last-child { margin-bottom: 0 !important; }

/* ラベル */
.mautic-form .mauticform-label {
  display: block !important; margin: 0 0 6px !important;
  font-size: 14px !important; font-weight: 700 !important; letter-spacing: .02em;
  color: var(--deep) !important;
}
.mautic-form .mauticform-required { color: var(--mf-red) !important; margin-left: 4px; font-weight: 700; }

/* 入力欄 */
.mautic-form .mauticform_wrapper .mauticform-input,
.mautic-form .mauticform_wrapper .mauticform-selectbox,
.mautic-form .mauticform_wrapper .mauticform-textarea {
  display: block !important; width: 100% !important;
  padding: 12px 14px !important;
  font-family: inherit !important; font-size: 16px !important; line-height: 1.6 !important;
  color: var(--text) !important; background: #fff !important;
  border: 1px solid var(--line) !important; border-radius: 8px !important;
  box-shadow: none !important; appearance: none; -webkit-appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  height: auto !important;
}
.mautic-form .mauticform_wrapper .mauticform-textarea { min-height: 140px !important; resize: vertical; }
.mautic-form .mauticform_wrapper .mauticform-selectbox {
  background-image: linear-gradient(45deg, transparent 50%, var(--deep) 50%),
                    linear-gradient(135deg, var(--deep) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 40px !important; cursor: pointer;
}
.mautic-form .mauticform-input::placeholder,
.mautic-form .mauticform-textarea::placeholder { color: #B9C0CC; }
.mautic-form .mauticform-input:hover,
.mautic-form .mauticform-selectbox:hover,
.mautic-form .mauticform-textarea:hover { border-color: #B6C2D6 !important; }
.mautic-form .mauticform-input:focus,
.mautic-form .mauticform-selectbox:focus,
.mautic-form .mauticform-textarea:focus {
  outline: none;
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, .16) !important;
}

/* 補助説明 */
.mautic-form .mauticform-helpmessage {
  display: block; margin-top: 6px;
  font-size: 13px !important; line-height: 1.7; color: var(--text-sub) !important; font-weight: 400 !important;
}

/* 同意チェックボックス群（薄青のカードでまとめる） */
.mautic-form .mauticform-checkboxgrp,
.mautic-form .mauticform-radiogrp {
  background: var(--pale-2); border-radius: 10px;
  padding: 16px 18px !important; margin-bottom: 22px !important;
}
.mautic-form .mauticform-checkboxgrp .mauticform-label,
.mautic-form .mauticform-radiogrp .mauticform-label { margin-bottom: 2px !important; }
.mautic-form .mauticform-checkboxgrp-row,
.mautic-form .mauticform-radiogrp-row {
  display: flex !important; align-items: flex-start; gap: 8px; margin-top: 10px;
}
.mautic-form .mauticform-checkboxgrp-checkbox,
.mautic-form .mauticform-radiogrp-radio {
  flex: 0 0 auto; width: 18px !important; height: 18px !important; margin: 3px 0 0 !important;
  accent-color: var(--navy); cursor: pointer;
}
.mautic-form .mauticform-checkboxgrp-label,
.mautic-form .mauticform-radiogrp-label {
  margin: 0 !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.7;
  color: var(--text) !important; cursor: pointer;
}
.mautic-form .mauticform-checkboxgrp a,
.mautic-form .mauticform-helpmessage a { color: var(--deep); text-decoration: underline; }
.mautic-form .mauticform-checkboxgrp a:hover,
.mautic-form .mauticform-helpmessage a:hover { color: var(--navy); }

/* 送信ボタン（サイトのボタンと同じピル形） */
.mautic-form .mauticform-button-wrapper { margin-top: 26px !important; text-align: center; }
.mautic-form .mauticform_wrapper .mauticform-button,
.mautic-form .mauticform_wrapper button.mauticform-button,
.mautic-form .mauticform_wrapper .mauticform-button.btn-default {
  display: inline-block !important; min-width: 260px; max-width: 100%;
  width: auto !important; padding: 15px 40px !important;
  font-family: inherit !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: .04em;
  color: #fff !important; background: var(--navy) !important;
  border: none !important; border-radius: 999px !important;
  cursor: pointer; text-shadow: none;
  box-shadow: 0 2px 8px rgba(66, 133, 244, .28) !important;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mautic-form .mauticform_wrapper .mauticform-button:hover {
  background: var(--deep) !important;
  box-shadow: 0 4px 14px rgba(10, 66, 158, .32) !important;
}
.mautic-form .mauticform_wrapper .mauticform-button:active { transform: translateY(1px); }
.mautic-form .mauticform_wrapper .mauticform-button[disabled] {
  background: #B9C0CC !important; box-shadow: none !important; cursor: not-allowed;
}

/* エラー・完了メッセージ */
.mautic-form .mauticform-errormsg {
  display: block; margin-top: 6px;
  font-size: 13px !important; line-height: 1.7; color: var(--mf-red) !important; font-weight: 500;
}
.mautic-form .mauticform-error {
  margin: 0 0 20px !important; padding: 14px 16px !important;
  font-size: 14px !important; line-height: 1.7; color: var(--mf-red) !important;
  background: #FDF0F0 !important; border: 1px solid #F3C9C9 !important; border-radius: 8px !important;
}
.mautic-form .mauticform-error:empty,
.mautic-form .mauticform-message:empty { display: none !important; margin: 0 !important; padding: 0 !important; border: none !important; }
.mautic-form .mauticform-message {
  margin: 0 0 20px !important; padding: 16px 18px !important;
  font-size: 15px !important; line-height: 1.8; color: var(--deep-hover) !important; font-weight: 500;
  background: var(--pale-2) !important; border-radius: 8px !important;
}

/* JavaScript無効時の案内 */
.mautic-form .form-noscript {
  padding: 16px 18px; font-size: 14px; line-height: 1.9; color: var(--text);
  background: var(--pale); border: 1px solid var(--line); border-radius: 10px; text-align: left;
}
.mautic-form .form-noscript a { color: var(--deep); text-decoration: underline; }

/* アクセシビリティ */
.mautic-form :focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mautic-form * { transition: none !important; } }

@media (max-width: 640px) {
  .mautic-form .mauticform_wrapper { font-size: 14px; }
  .mautic-form .mauticform-row { margin-bottom: 16px !important; }
  .mautic-form .mauticform-checkboxgrp,
  .mautic-form .mauticform-radiogrp { padding: 14px 15px !important; }
  .mautic-form .mauticform_wrapper .mauticform-button { width: 100% !important; min-width: 0; padding: 15px 20px !important; }
}

/* ── Mauticフォームの見た目調整（v321）───────────────────────
   ① 薄青セクションに白いカードで浮かせ、フォームの範囲を明確にする
   ② 入力枠の線を濃くして「入力できる場所」が分かるようにする
   ③ 余白を詰め、姓・名を横並びにして縦の長さを短縮する
   ─────────────────────────────────────────────── */
.form-section { padding-top: 56px !important; padding-bottom: 64px !important; }

/* ① フォームを白いカードに */
.form-section .mautic-form,
.form-section .form-embed {
  max-width: 640px; margin: 0 auto; padding: 34px 36px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .form-section .mautic-form,
  .form-section .form-embed { padding: 24px 20px 22px; }
  .form-section { padding-top: 40px !important; padding-bottom: 48px !important; }
}

/* ② 入力枠の線を濃く（薄すぎて枠が見えない問題の解消） */
.mautic-form .mauticform_wrapper .mauticform-input,
.mautic-form .mauticform_wrapper .mauticform-selectbox,
.mautic-form .mauticform_wrapper .mauticform-textarea {
  border: 1px solid #C3D0E4 !important;
  background: #FCFDFF !important;
}
.mautic-form .mauticform_wrapper .mauticform-input:hover,
.mautic-form .mauticform_wrapper .mauticform-selectbox:hover,
.mautic-form .mauticform_wrapper .mauticform-textarea:hover { border-color: #9DB2D4 !important; }
.mautic-form .mauticform_wrapper .mauticform-input:focus,
.mautic-form .mauticform_wrapper .mauticform-selectbox:focus,
.mautic-form .mauticform_wrapper .mauticform-textarea:focus {
  background: #fff !important; border-color: var(--navy) !important;
}

/* ③ 余白を詰める */
.mautic-form .mauticform-row { margin-bottom: 14px !important; }
.mautic-form .mauticform-label { margin-bottom: 5px !important; font-size: 13.5px !important; }
.mautic-form .mauticform_wrapper .mauticform-input,
.mautic-form .mauticform_wrapper .mauticform-selectbox { padding: 11px 13px !important; }
.mautic-form .mauticform_wrapper .mauticform-textarea { padding: 11px 13px !important; min-height: 108px !important; }
.mautic-form .mauticform-checkboxgrp,
.mautic-form .mauticform-radiogrp { padding: 14px 16px !important; margin-bottom: 16px !important; }
.mautic-form .mauticform-checkboxgrp-row,
.mautic-form .mauticform-radiogrp-row { margin-top: 8px; }
.mautic-form .mauticform-button-wrapper { margin-top: 20px !important; }
.mautic-form .mauticform-helpmessage { margin-top: 5px; font-size: 12.5px !important; }

/* ③-2 姓・名を横並びに（両方存在するときだけ適用。無ければ従来どおり縦積み） */
.mautic-form .mauticform-innerform:has([id*="lastname"]):has([id*="firstname"]),
.mautic-form .mauticform-innerform:has([id*="last_name"]):has([id*="first_name"]) {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start;
}
.mautic-form .mauticform-innerform > * { grid-column: 1 / -1; }
.mautic-form .mauticform-innerform > [id*="lastname"],
.mautic-form .mauticform-innerform > [id*="last_name"] { grid-column: 1; }
.mautic-form .mauticform-innerform > [id*="firstname"],
.mautic-form .mauticform-innerform > [id*="first_name"] { grid-column: 2; }
@media (max-width: 560px) {
  .mautic-form .mauticform-innerform:has([id*="lastname"]):has([id*="firstname"]),
  .mautic-form .mauticform-innerform:has([id*="last_name"]):has([id*="first_name"]) {
    grid-template-columns: 1fr;
  }
  .mautic-form .mauticform-innerform > * { grid-column: 1 / -1 !important; }
}

/* 同意カード内に追加する個人情報保護方針へのリンク */
.mautic-form .mf-privacy-link { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; }
.mautic-form .mf-privacy-link a { color: var(--deep); text-decoration: underline; font-weight: 700; }
.mautic-form .mf-privacy-link a:hover { color: var(--navy); }
.mautic-form .mf-privacy-link a::after { content: ' ↗'; font-weight: 400; }

/* ── 資料請求一覧: 事業領域ごとの見出し（v324） ── */
.req-group + .req-group { margin-top: 56px; }
.req-group.has-sep { padding-top: 52px; border-top: 1px solid var(--line); }
.req-group-head { margin-bottom: 22px; }
.req-group-head .en-label { margin-bottom: 4px; }
.req-group-head .section-title { margin-bottom: 0; }
@media (max-width: 760px) {
  .req-group + .req-group { margin-top: 40px; }
  .req-group.has-sep { padding-top: 36px; }
}

/* ── Mauticフォーム: 必須／任意バッジ（v334）──────────────────
   Mauticは必須項目を「行のクラス」として出力する:
     <div class="mauticform-row mauticform-required mauticform-text">
   ラベル内に <span class="mauticform-required">*</span> を出す設定もあるため、
   どちらの形でも必須と判定できるようにしている。
   ※ .mauticform-required に直接 ::after を付けると、行の末尾（入力欄の下）に
     バッジが出てしまうため、必ずラベルに対して付ける。
   ───────────────────────────────────────────── */

/* バッジ共通の見た目 */
.mautic-form .mauticform-label::after {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  border-radius: 4px;
  vertical-align: 2px;
}

/* ① 必須 — 行にクラスが付く場合／ラベル内にマークがある場合の両方に対応 */
.mautic-form .mauticform-row.mauticform-required > .mauticform-label::after,
.mautic-form .mauticform-row:has(> .mauticform-label > .mauticform-required) > .mauticform-label::after {
  content: "必須";
  color: #fff;
  background: var(--mf-red);
}
/* required属性しか無い場合の保険 */
.mautic-form .mauticform-row:not(.mauticform-required):has([required]) > .mauticform-label::after {
  content: "必須";
  color: #fff;
  background: var(--mf-red);
}

/* ② ラベル内の「*」はバッジと二重になるため隠す */
.mautic-form .mauticform-label .mauticform-required {
  display: none !important;
}

/* ③ 任意 — 入力欄を持つ行のうち、必須でないものだけ
      （見出し・説明・ボタンの行にバッジが出るのを防ぐ） */
.mautic-form .mauticform-row:not(.mauticform-required):not(:has(> .mauticform-label > .mauticform-required)):not(:has([required])):has(.mauticform-input, .mauticform-textarea, .mauticform-selectbox) > .mauticform-label::after {
  content: "任意";
  color: var(--text-sub);
  background: #EDF0F4;
}

/* ④ バッジを出さない箇所 */
.mautic-form .mauticform-button-wrapper > .mauticform-label::after,
.mautic-form .mauticform-checkboxgrp-label::after,
.mautic-form .mauticform-radiogrp-label::after { content: none; }
