/* =============================================================
   studycase.css  — MaruMaru JAPAN
   全セクション共通スタイル統合版
   ============================================================= */

/* ── Google Fonts ────────────────────────────────────────────
   (HTMLの <head> に読み込み済み。バックアップとして記載)
   @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Barlow+Condensed:wght@600;700;800&display=swap');
   ─────────────────────────────────────────────────────────── */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --blue:     #1B5FA8;
  --blue-lt:  #EBF2FB;
  --blue-mid: #D0E4F7;
  --orange:   #E8673A;
  --red:      #C0392B;
  --dark:     #141C2E;
  --gray:     #5A677D;
  --border:   #D0DCF0;
  --bg:       #F5F8FD;
  --white:    #ffffff;
  --footer:   #1E2740;
  --radius:   6px;
  --shadow:   0 6px 28px rgba(27,95,168,.10);
  --shadow-lg:0 12px 40px rgba(27,95,168,.14);
  --header-h: 58px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.75;
  font-size: 15px;
}

img { max-width: 100%; display: block; }
a   { color: var(--blue); text-decoration: none; }

/* ── Page Wrap ─────────────────────────────────────────────── */
.page-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

/* ── Reveal Animation ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  animation: fadeUp .62s cubic-bezier(.16,1,.3,1) forwards;
}


/* =============================================================
   SITE HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 14px rgba(27,95,168,.09);
  height: var(--header-h);
}

.header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .06em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray);
  padding: 6px 12px;
  border-radius: 20px;
  transition: background .18s, color .18s;
  white-space: nowrap;
}

.nav-link:hover { background: var(--blue-lt); color: var(--blue); }

.nav-link.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 6px 16px;
}

.nav-link.nav-cta:hover { background: #154D8A; }


/* =============================================================
   PAGE SECTION WRAPPER
   ============================================================= */
.page-section {
  padding-top: 52px;
  margin-bottom: 16px;
}

.section-label-bar {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-left: 4px solid var(--blue);
  padding-left: 14px;
}

.page-section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--blue-lt);
  padding: 2px 10px;
  border-radius: 3px;
}

.page-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .05em;
}

/* SECTION DIVIDER */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-divider span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gray);
  text-transform: uppercase;
  white-space: nowrap;
}


/* =============================================================
   SECTION 1: SERVICE 下層 — 自社メディア
   ============================================================= */

/* セクションボックス */
.section-box {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-body {
  padding: 32px 36px 36px;
}

/* セクションタグ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(232,103,58,.08);
  border: 1.5px solid rgba(232,103,58,.3);
  border-radius: 20px;
  padding: 3px 14px;
  margin-bottom: 22px;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: block;
}

/* メディア紹介レイアウト */
.media-intro {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

/* ロゴ円 */
.logo-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0F1C3A 0%, #1B3B7A 100%);
  border: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 20px rgba(27,95,168,.25);
}

.logo-circle .l1 { font-family:'Barlow Condensed',sans-serif; font-size:11px; font-weight:700; color:#cde4ff; letter-spacing:.08em; }
.logo-circle .l2 { font-family:'Barlow Condensed',sans-serif; font-size:16px; font-weight:800; color:#fff; letter-spacing:.06em; }
.logo-circle .l3 { font-family:'Barlow Condensed',sans-serif; font-size:13px; font-weight:700; color:var(--orange); letter-spacing:.1em; }

/* テキスト */
.media-headline {
  font-size: clamp(18px,3vw,23px);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.media-catch {
  font-size: 13px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 3px solid var(--orange);
}

.media-body p {
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.8;
}

/* チャンネル紹介エリア */
.channel-section {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.channel-title { font-size:15px; font-weight:700; color:var(--orange); margin-bottom:4px; }
.channel-sub   { font-size:12.5px; color:var(--gray); margin-bottom:22px; }

/* SNSアイコン */
.channel-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform .2s;
}

.ch:hover { transform: translateY(-4px); }

.ch-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  overflow: hidden;
}

.ch-icon-wrap svg { width: 22px; height: 22px; }

.ch-name { font-size:10px; color:var(--gray); font-weight:500; white-space:nowrap; }

.ch-xiaohongshu .ch-icon-wrap { background: #FF2742; }
.ch-douyin      .ch-icon-wrap { background: #010101; }
.ch-weibo       .ch-icon-wrap { background: #E6162D; }
.ch-facebook    .ch-icon-wrap { background: #1877F2; }
.ch-instagram   .ch-icon-wrap { background: linear-gradient(135deg,#833AB4,#C13584,#E1306C,#F77737,#FCAF45); }
.ch-youtube     .ch-icon-wrap { background: #FF0000; }
.ch-tiktok      .ch-icon-wrap { background: #010101; }

/* スマホモックアップ */
.phones-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.phone {
  width: 58px; height: 100px;
  border: 2.5px solid #CBD5E0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.1);
  flex-shrink: 0;
}

.phone::before {
  content: '';
  position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 4px;
  background: #CBD5E0; border-radius: 2px; z-index: 2;
}

.phone-screen { position:absolute; inset:16px 0 0; border-radius:0 0 7px 7px; }

.p1 .phone-screen { background: linear-gradient(160deg,#FF2742,#FF8FA3); }
.p2 .phone-screen { background: linear-gradient(160deg,#010101,#444); }
.p3 .phone-screen { background: linear-gradient(160deg,#E6162D,#FF6B6B); }
.p4 .phone-screen { background: linear-gradient(160deg,#1877F2,#74B5FF); }
.p5 .phone-screen { background: linear-gradient(160deg,#833AB4,#E1306C,#FCAF45); }
.p6 .phone-screen { background: linear-gradient(160deg,#FF0000,#FF8080); }

/* 矢印 */
.arrow-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.arrow-item { display:flex; align-items:center; gap:6px; }
.arrow-item.right { flex-direction: row-reverse; }

.arrow-label { font-size:11.5px; font-weight:600; color:var(--blue); white-space:nowrap; }

.arrow-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(27,95,168,.2));
  position: relative;
}

.arrow-item.right .arrow-line { background: linear-gradient(90deg, rgba(27,95,168,.2), var(--blue)); }

.arrow-item.left  .arrow-line::after  { content:'▶'; position:absolute; right:-6px; top:-7px; font-size:9px; color:var(--blue); }
.arrow-item.right .arrow-line::before { content:'◀'; position:absolute; left:-6px;  top:-7px; font-size:9px; color:var(--blue); }

/* 関連記事 */
.related-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.related-txt { font-size:13px; color:var(--gray); }

/* SNSツールチップ */
.ch-tooltip-box {
  position: fixed;
  background: rgba(20,28,46,.92);
  color: #fff;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 6px;
  max-width: 190px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s;
  z-index: 9999;
  line-height: 1.5;
  transform: translateX(-50%);
}

.ch-tooltip-box.show { opacity: 1; }


/* =============================================================
   SECTION 2: STUDYCASE 一覧
   ============================================================= */

/* ヒーローバナー */
.hero-banner {
  border: 2px solid var(--blue);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 160px 1fr 140px;
  min-height: 160px;
}

.hero-left {
  background: linear-gradient(160deg, var(--blue-lt) 0%, var(--blue-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}

.hero-icon-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 14px rgba(27,95,168,.18);
}

.hero-icon-ring svg { width: 38px; height: 38px; }

.hero-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  background: var(--white);
  border: 1.5px solid var(--blue);
  border-radius: 20px;
  padding: 3px 14px;
  white-space: nowrap;
}

.hero-center {
  display: flex;
  align-items: center;
  padding: 28px 28px;
}

.hero-list { list-style: none; display:flex; flex-direction:column; gap:10px; }

.hero-list li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}

.hero-list li::before { content:'・'; color:var(--orange); font-weight:900; flex-shrink:0; }

.hero-right {
  background: linear-gradient(160deg, #fff8f5 0%, #fdf1ec 100%);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  position: relative;
  overflow: hidden;
}

.hero-right canvas { position:absolute; inset:0; opacity:.35; pointer-events:none; }

.hero-chart svg  { width:80px; height:64px; position:relative; z-index:1; }
.hero-globe svg  { width:44px; height:44px; opacity:.65; position:relative; z-index:1; }
.hero-chart, .hero-globe { position: relative; z-index: 1; }

/* フィルターバー */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  transition: all .2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* 事例カード */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-card {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.case-card:hover {
  border-color: var(--orange);
  box-shadow: 0 10px 36px rgba(232,103,58,.14);
  transform: translateY(-3px);
}

.case-card-inner {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  min-height: 110px;
}

.case-num {
  background: linear-gradient(180deg, var(--blue-lt) 0%, var(--blue-mid) 100%);
  border-right: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.case-num span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
}

.case-content { padding: 20px 24px; }

.case-meta { display:flex; gap:8px; margin-bottom:9px; flex-wrap:wrap; }

.tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 11px;
  border-radius: 20px;
}

.tag-industry { background:rgba(27,95,168,.08); color:var(--blue); border:1px solid rgba(27,95,168,.2); }
.tag-type     { background:rgba(232,103,58,.08); color:var(--orange); border:1px solid rgba(232,103,58,.22); }

.case-title { font-size:15px; font-weight:800; color:var(--dark); margin-bottom:6px; letter-spacing:-.01em; }
.case-desc  { font-size:13px; color:var(--gray); line-height:1.7; }

.case-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 16px 20px;
  border-left: 1px solid rgba(0,0,0,.06);
  flex-shrink: 0;
}

.detail-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .05em;
  font-style: italic;
}


/* =============================================================
   SECTION 3: STUDYCASE 下層（事例詳細）
   ============================================================= */

/* パンくず */
.breadcrumb {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 20px;
  list-style: none;
}

.breadcrumb li { font-size:12px; color:var(--gray); }
.breadcrumb li + li::before { content:' ›'; margin:0 7px; color:var(--border); }
.breadcrumb li a { color:var(--blue); }
.breadcrumb li a:hover { text-decoration:underline; }
.breadcrumb li:last-child { font-weight:500; }

/* 詳細カード */
.detail-card {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* 事例ヘッダー */
.case-header {
  background: linear-gradient(135deg, #EBF2FB 0%, #F0F6FF 60%, #FDF4F0 100%);
  border-bottom: 2px solid rgba(27,95,168,.14);
  padding: 36px 40px 30px;
  position: relative;
  overflow: hidden;
}

.case-header::after {
  content: '';
  position: absolute; right:-40px; top:-40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(27,95,168,.05);
  pointer-events: none;
}

.case-tags { display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap; }

.badge {
  font-size: 11px; font-weight:700;
  padding: 3px 13px; border-radius:20px;
}

.badge-blue   { background:rgba(27,95,168,.1); color:var(--blue); border:1.5px solid rgba(27,95,168,.25); }
.badge-orange { background:rgba(232,103,58,.1); color:var(--orange); border:1.5px solid rgba(232,103,58,.28); }

.case-main-title {
  font-size: clamp(20px,3.2vw,26px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -.02em;
  position: relative;
}

.case-subtitle { font-size:14px; color:var(--gray); line-height:1.65; position:relative; }

/* 事例ボディ */
.case-body { padding: 36px 40px; }

/* ブロック */
.block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.block:last-child { border-bottom:none; margin-bottom:0; padding-bottom:0; }

.block-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.block-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight:800;
  display: flex; align-items:center; justify-content:center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(27,95,168,.25);
}

.block-heading h2 { font-size:15.5px; font-weight:800; color:var(--blue); letter-spacing:-.01em; }

.block-indent { padding-left: 44px; }

.block-indent p { font-size:14px; color:var(--dark); line-height:1.85; }

/* 箇条書き */
.dot-list { list-style:none; display:flex; flex-direction:column; gap:11px; padding-left:44px; }

.dot-list li {
  font-size: 14px; color:var(--dark); line-height:1.72;
  display: flex; align-items:flex-start; gap:10px;
}

.dot-list li::before {
  content: ''; width:7px; height:7px; border-radius:50%;
  background: var(--orange); flex-shrink:0; margin-top:8px;
}

/* ステップカード */
.step-list { display:flex; flex-direction:column; gap:13px; padding-left:44px; }

.step-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: default;
  opacity: 0;
  transform: translateX(-14px);
}

.step-card.is-visible {
  animation: slideIn .45s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes slideIn {
  to { opacity:1; transform:translateX(0); }
}

.step-card:hover { border-color:var(--blue); box-shadow:0 3px 16px rgba(27,95,168,.1); transform:translateX(3px); }

.step-emoji { font-size:22px; line-height:1; flex-shrink:0; margin-top:1px; }

.step-card strong { display:block; font-size:14px; font-weight:800; color:var(--dark); margin-bottom:4px; }

.step-card p { font-size:13px; color:var(--gray); line-height:1.65; margin:0; }

/* 結果ブロック */
.result-block {
  background: linear-gradient(135deg, rgba(27,95,168,.04) 0%, rgba(232,103,58,.04) 100%);
  border: 1.5px solid rgba(27,95,168,.18) !important;
  border-radius: 10px;
  padding: 28px 32px;
}

.result-numbers {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 22px;
  padding-left: 44px;
}

.num-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}

.num-card:hover { transform:translateY(-3px); box-shadow:0 8px 22px rgba(27,95,168,.12); }

.num-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px; font-weight:800;
  color: var(--blue); line-height:1;
  display: block; margin-bottom:6px;
}

.num-val small { font-size:18px; color:var(--orange); }

.num-label { font-size:11.5px; color:var(--gray); font-weight:500; line-height:1.45; display:block; }

.result-note {
  font-size: 13.5px; color:var(--dark);
  background: rgba(27,95,168,.06);
  border-left: 4px solid var(--blue);
  padding: 11px 16px;
  border-radius: 0 6px 6px 0;
  margin-left: 44px;
  line-height: 1.72;
}


/* =============================================================
   SHARED BUTTONS
   ============================================================= */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  background: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-arrow:hover { background:var(--red); color:var(--white); transform:translateX(2px); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background .2s, transform .2s;
}

.btn-primary:hover { background:#154D8A; transform:translateY(-2px); }


/* =============================================================
   CTA セクション（1回のみ）
   ============================================================= */
.cta-section {
  background: linear-gradient(135deg, #EDF3FB 0%, #FDF1EC 100%);
  border-radius: 12px;
  padding: 52px 36px;
  text-align: center;
  margin-top: 52px;
  border: 1.5px solid var(--border);
}

.cta-section h2 {
  font-size: clamp(17px,2.8vw,22px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}

.cta-section p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }


/* =============================================================
   FOOTER（1回のみ）
   ============================================================= */
.site-footer {
  background: var(--footer);
  color: #B8C5DA;
  padding: 52px 20px 28px;
}

.footer-inner { max-width: 880px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}

.footer-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight:700;
  color: var(--white); margin-bottom:8px; letter-spacing:.05em;
}

.footer-brand-desc { font-size:12px; color:#7B8FA8; line-height:1.7; }

.footer-col h4 {
  font-size:12px; font-weight:700; color:var(--white);
  letter-spacing:.08em; margin-bottom:14px; text-transform:uppercase;
}

.footer-col ul { list-style:none; }
.footer-col ul li + li { margin-top:9px; }
.footer-col ul li a { font-size:12.5px; color:#7B8FA8; transition:color .18s; }
.footer-col ul li a:hover { color:var(--white); }

.footer-contact-btn {
  display:inline-block; background:var(--blue); color:var(--white);
  font-size:12px; font-weight:600; padding:10px 16px;
  border-radius:var(--radius); text-align:center; transition:background .2s;
}
.footer-contact-btn:hover { background:#154D8A; }

.footer-bottom { display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; }
.footer-bottom a { font-size:12px; color:#7B8FA8; }
.footer-bottom a:hover { color:var(--white); }
.footer-copy { font-size:11px; color:#4A5A72; }


/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 720px) {
  .header-nav { display:none; }

  .section-body { padding:22px 18px 26px; }

  .media-intro { grid-template-columns:1fr; justify-items:center; text-align:center; }
  .media-catch { text-align:left; }
  .phones-row  { flex-wrap:wrap; }

  .hero-banner { grid-template-columns:1fr; }
  .hero-left, .hero-right { border:none; border-bottom:1px solid var(--border); }
  .hero-right { min-height:80px; flex-direction:row; gap:16px; }

  .case-card-inner { grid-template-columns:44px 1fr; }
  .case-action {
    grid-column: 2;
    flex-direction: row;
    justify-content: flex-end;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,.06);
    padding: 10px 16px;
  }

  .case-header { padding:24px 20px 20px; }
  .case-body   { padding:24px 20px; }
  .block-indent, .dot-list, .step-list { padding-left:0; }
  .result-numbers { grid-template-columns:1fr; padding-left:0; }
  .result-note { margin-left:0; }

  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }
}

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