/* ============================================================
   Raisee Service Page — style.css
   Design: Adraise brand tone — 全面ライト系
   Adraise 背景色: rgb(242,252,253) = #F2FCFD
   Adraise グラデ: #62A6BC → #7CBE96
   Adraise 影:    rgba(178,219,229,0.2)
   ============================================================ */

/* ── Variables ── */
:root {
  /* Adraise ブランドカラー */
  --clr-primary:    #62A6BC;
  --clr-primary-d:  #4a8fa6;
  --clr-primary-l:  #e8f7fa;

  --clr-accent:     #7CBE96;
  --clr-accent-d:   #5aa37c;

  /* テキスト */
  --clr-text:   #182C3A;
  --clr-text-2: #3E5C6E;
  --clr-text-3: #7090A0;

  /* 背景 — すべて Adraise 系ライト */
  --clr-base:   #F2FCFD;   /* Adraise: rgb(242,252,253)  */
  --clr-base-2: #E6F7F9;   /* やや深め                   */
  --clr-white:  #ffffff;

  /* ボーダー */
  --clr-border: #C8E8EE;   /* Adraise 影色ベース         */

  /* グラデーション */
  --grad-primary: linear-gradient(to right, #62A6BC 0.3%, #7CBE96 100%);
  --grad-btn:     linear-gradient(135deg, #62A6BC 0%, #7CBE96 100%);
  /* セクション区切り: 極薄グラデーション */
  --grad-section: linear-gradient(180deg, #F2FCFD 0%, #E6F7F9 100%);

  /* Adraise 影 */
  --shadow-sm:  0 2px 8px   rgba(178,219,229,0.20);
  --shadow-md:  0 8px 28px  rgba(178,219,229,0.28);
  --shadow-lg:  0 20px 60px rgba(178,219,229,0.32);

  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --header-h:   76px;
  --max-w:      1440px;
  --transition: 0.25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--clr-text);
  background: var(--clr-base);   /* #F2FCFD */
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6 { margin: 0; line-height: 1.2; }
p { margin: 0; }

/* ── 波アニメーション背景 (Adraise tone) ── */
/* wave-bg より上に来るすべての要素を z-index:1 以上に */
.site-header { z-index: 900; }
main         { position: relative; z-index: 1; }
.site-footer { position: relative; z-index: 1; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 9999;
  padding: 12px 18px; background: #fff; color: #000;
  border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ── Layout ── */
.container {
  width: min(var(--max-w), calc(100% - 40px));
  margin: 0 auto;
}

/* セクション背景クラス — 全てライト系 */
.section-white  { background: var(--clr-white); }
.section-light  { background: var(--clr-base); }
.section-light2 { background: var(--grad-section); }

/* ── Section Header ── */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-primary-d);
  background: rgba(98,166,188,0.10);
  border: 1px solid rgba(98,166,188,0.22);
}

.section-title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #365472;
  margin-bottom: 18px;
}
.section-desc {
  font-size: 16px;
  color: var(--clr-text-2);
  max-width: 640px;
  line-height: 1.8;
}

.mt-24 { margin-top: 24px !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid rgba(98,166,188,0.45);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 8px 24px rgba(98,166,188,0.30);
}
.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(124,190,150,0.35);
}

.btn-outline {
  border-color: var(--clr-primary);
  color: var(--clr-primary-d);
  background: transparent;
}
.btn-outline:hover {
  background: var(--clr-primary-l);
  border-color: var(--clr-primary-d);
}

/* ヘッダーに乗るボタン（ライト背景に合わせてアウトラインと同色調） */
.btn-ghost {
  border-color: var(--clr-primary);
  color: var(--clr-primary-d);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--clr-primary-l);
  border-color: var(--clr-primary-d);
}

.btn-lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.full-w { width: 100%; }
.sp-only { display: none; }

/* ============================================================
   HEADER
   — ヘッダーのみ Adraise のグラデボタン色に合わせたダーク
     (他の全セクションはライト系)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(242,252,253,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(98,166,188,0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon { width: 40px; height: 40px; flex-shrink: 0; }
.brand-wordmark {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #365472;
  line-height: 1;
}
/* ロゴ画像 */
.brand-logo-img {
  height: 96px;
  width: auto;
  display: block;
  object-fit: contain;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.global-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #365472;
  transition: color var(--transition), background var(--transition);
}
.global-nav a:hover { color: var(--clr-primary); background: rgba(98,166,188,0.10); }
.global-nav a:focus-visible { outline: 2px solid rgba(98,166,188,0.45); outline-offset: 2px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-login-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-primary-d);
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  margin-right: 14px;
}
.header-login-link:hover {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(98,166,188,0.30);
  background: rgba(98,166,188,0.08);
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO BG WRAP — パーティクル＋接続ライン背景（Raisee カラー）
   ============================================================ */
.hero-bg-wrap {
  position: relative;
  background: linear-gradient(160deg, #EBF7FA 0%, #F2FCFD 55%, #E8F6F9 100%);
}

/* Canvas：ラッパー全体に stretch、コンテンツの裏側に固定 */
#hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

/* ラッパー直下の section / div を Canvas より前面に */
.hero-bg-wrap > section,
.hero-bg-wrap > div:not(#hero-particle-canvas) {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* hero 自体の背景を透明に */
.hero-bg-wrap .hero,
.hero-bg-wrap .dashboard-showcase,
.hero-bg-wrap .trust-section {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* ============================================================
   HERO
   — Adraise の世界観: ライト＋ボタンのグラデカラーでアクセント
     背景は F2FCFD ベースに極薄グラデで海の光差し込みを表現
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 96px;
  background: transparent;
}

/* hero 上部に細いグラデ帯（アクセント） */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* テキスト側は全てダーク文字 */
.hero-text { color: var(--clr-text); min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--clr-primary-d);
  background: rgba(98,166,188,0.12);
  border: 1px solid rgba(98,166,188,0.28);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(46px, 6.2vw, 82px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: var(--clr-text);
  margin-bottom: 24px;
}

/* タイトル：行レイアウト・折り返し禁止 */
.hero-title {
  white-space: nowrap;
  overflow: visible;
}
.hero-title .ht-line1 {
  display: block;
  white-space: nowrap;
}
.hero-title .ht-line2 {
  display: block;
  white-space: nowrap;
  padding-left: 2em; /* 階段状に右へずらす */
  margin-top: -0.05em; /* 行間を詰める */
}

/* 「における全てを」「上で」— section-title と同サイズ感 */
.hero-title .ht-plain {
  font-size: 0.65em;
  vertical-align: 0.10em;
  letter-spacing: -0.02em;
}
/* 「上で」だけ少し右・少し下にずらす */
.hero-title .ht-line2 .ht-plain {
  margin-left: 0.2em;
  vertical-align: -0.05em;
}
/* 「上で」側の「」」を「「」と同じサイズに（0.98 ÷ 0.65 ≈ 1.508） */
.hero-title .ht-line2 .ht-plain .ht-kakko {
  font-size: 1.508em;
  vertical-align: 0;
}

/* 「SES」— plainよりひと回り大きく */
.hero-title .ht-ses {
  font-size: 0.80em;
  color: inherit;
  -webkit-text-fill-color: inherit;
  background: none;
}

/* 「Raisee」— SES(0.80em)よりひと回り大きく */
.hero-title .ht-raisee {
  font-size: 0.98em; /* 0.80 × 1.22 ≈ 0.98 */
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 「Raisee」の「」括弧部分 — #365472 */
.hero-title .ht-kakko {
  background: none;
  -webkit-text-fill-color: #365472;
  color: #365472;
}

/* （レイジー）：ロゴの直右にインラインで並べる */
.hero-title .ht-yomi {
  display: inline;
  font-size: 0.38em;
  font-weight: 700;
  color: #4a8fa6;
  -webkit-text-fill-color: #4a8fa6;
  background: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  vertical-align: -0.3em;
}

.hero-sub {
  font-size: 20px;
  color: var(--clr-text-2);
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

/* ── 認定バッジ（横型 BtoB格式） ── */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-chips .chip-award {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #C8DDE6;
  box-shadow:
    0 1px 4px rgba(54,84,114,0.10),
    0 3px 10px rgba(98,166,188,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-chips .chip-award:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 14px rgba(54,84,114,0.14),
    0 8px 24px rgba(98,166,188,0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

/* 左端アクセントライン */
.chip-accent {
  display: block;
  width: 4px;
  height: 100%;
  flex-shrink: 0;
  background: var(--grad-btn);
}

/* アイコンエリア */
.chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--clr-primary-d);
}

/* テキストブロック */
.chip-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 0 14px 0 2px;
}

/* 上段：英字ラベル（認定章っぽい小見出し） */
.chip-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--clr-primary);
  text-transform: uppercase;
  line-height: 1;
}

/* 下段：日本語テキスト */
.chip-text {
  font-size: 13px;
  font-weight: 700;
  color: #365472;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

/* ── UI Window ── */
.hero-visual { position: relative; }

.ui-window {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(98,166,188,0.14);
  overflow: hidden;
}

.ui-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--clr-base);
  border-bottom: 1px solid var(--clr-border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #fc6c6c; }
.dot.y { background: #fbbf24; }
.dot.g { background: #4cd98a; }
.ui-window-title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-text-3);
}

.ui-tabs {
  display: flex;
  gap: 0;
  padding: 12px 16px 0;
  background: var(--clr-base);
  border-bottom: 1px solid var(--clr-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.ui-tabs::-webkit-scrollbar { display: none; }

.ui-tab {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.ui-tab.active, .ui-tab:hover {
  color: var(--clr-primary-d);
  border-bottom-color: var(--clr-primary);
}
.ui-tab:focus-visible { outline: 2px solid rgba(98,166,188,0.4); }

.ui-panel { display: none; padding: 20px; }
.ui-panel.active { display: block; }

/* KPI */
.ui-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.ui-kpi {
  background: var(--clr-base);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 14px;
}
.ui-kpi span { display: block; font-size: 11px; color: var(--clr-text-3); margin-bottom: 6px; }
.ui-kpi strong { display: block; font-size: 22px; font-weight: 900; color: var(--clr-text); }
.ui-kpi.highlight {
  border-color: rgba(98,166,188,0.35);
  background: var(--clr-primary-l);
}
.ui-kpi.highlight strong { color: var(--clr-primary-d); }

/* Chart */
.ui-chart-area {
  background: var(--clr-base);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 16px;
}
.ui-chart-label { font-size: 12px; font-weight: 700; color: var(--clr-text-2); margin-bottom: 16px; }
.ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
}
.ui-bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: rgba(98,166,188,0.18);
  border: 1px solid rgba(98,166,188,0.20);
  position: relative;
  transition: height 0.6s ease;
}
.ui-bar.active {
  background: var(--grad-btn);
  border-color: transparent;
}
.ui-bar span {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--clr-text-3);
  white-space: nowrap;
}

/* List UI */
.ui-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ui-list-head span { font-size: 14px; font-weight: 800; color: var(--clr-text); }
.ui-list-head em { font-style: normal; font-size: 12px; color: var(--clr-text-3); }

.ui-list-items { display: grid; gap: 10px; }
.ui-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  background: var(--clr-base);
}
.ui-list-name { font-size: 13px; font-weight: 600; color: var(--clr-text); }

.ui-tag {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(98,166,188,0.12);
  color: var(--clr-primary-d);
  white-space: nowrap;
}
.ui-tag.orange { background: #fff4e6; color: #9a5d00; }
.ui-tag.blue   { background: #e6f0ff; color: #1a4d9a; }
.ui-tag.green  { background: #e6f9ee; color: #1a6e45; }
.ui-tag.gray   { background: #f0f2f4; color: #52687a; }

/* Member UI */
.ui-member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ui-member-card {
  background: var(--clr-base);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 14px;
}
.ui-member-skill { font-size: 12px; font-weight: 700; color: var(--clr-text); margin-bottom: 6px; }
.ui-member-count { font-size: 12px; color: var(--clr-text-2); margin-bottom: 10px; }
.ui-member-count strong { color: var(--clr-primary-d); font-size: 16px; }
.ui-member-bar {
  height: 6px; border-radius: 999px;
  background: rgba(98,166,188,0.15);
  overflow: hidden;
}
.ui-member-bar div {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-btn);
}

/* Sales UI */
.ui-sales-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.ui-sales-kpi {
  background: var(--clr-base);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 14px;
}
.ui-sales-kpi span { display: block; font-size: 11px; color: var(--clr-text-3); margin-bottom: 4px; }
.ui-sales-kpi strong { display: block; font-size: 22px; font-weight: 900; color: var(--clr-text); margin-bottom: 4px; }
.ui-sales-kpi small { font-size: 12px; font-weight: 700; }
.ui-sales-kpi small.up { color: var(--clr-accent-d); }
.ui-sales-kpi small.neutral { color: var(--clr-primary-d); }

.ui-line-chart {
  background: var(--clr-base);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100px;
}
.ui-line-chart svg { width: 100%; height: 100%; }

/* Floating badges */
.hero-float-a, .hero-float-b {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-text);
  box-shadow: 0 6px 24px rgba(178,219,229,0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  border: 1px solid rgba(98,166,188,0.18);
}
.hero-float-a i, .hero-float-b i { color: var(--clr-primary-d); }
.hero-float-a { right: -10px; top: 28px; }
.hero-float-b { left: -8px; bottom: 32px; }



/* ============================================================
   DASHBOARD SHOWCASE
   ============================================================ */
.dashboard-showcase {
  padding: 48px 0 0;
  background: transparent;
}
.dashboard-showcase .ui-window {
  max-width: 860px;
  margin: 0 auto;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-section {
  padding: 40px 0 0;
  background: transparent;
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  padding: 56px 32px 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.carousel-card {
  text-align: center;
  max-width: 320px;
}
.carousel-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.carousel-label {
  font-size: 20px;
  font-weight: 800;
  color: #365472;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.carousel-card p {
  font-size: 15px;
  color: var(--clr-text-2);
  line-height: 1.75;
}
/* ═══════════════════════════════════════════
   カルーセル 1枚目：モニター画面
   ═══════════════════════════════════════════ */
.carousel-slide--monitor {
  padding: 28px 16px 24px;
  background: linear-gradient(145deg, #f0f8fb 0%, #e8f4f7 100%);
  box-sizing: border-box;
  min-height: 340px;
}
.carousel-monitor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* ════════════════════════════════════════════════════
   ヒーロー デバイス画像
   デスクトップ画面とスマートフォン画面をPNGで配置
════════════════════════════════════════════════════ */

.hero-devices-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  padding: 20px 0 0;
}

.devices-stack {
  position: relative;
  display: inline-block;
  padding-right: min(6vw, 50px);
  padding-bottom: min(3vw, 24px);
}

.hero-desktop-img {
  display: block;
  width: min(72vw, 640px);
  height: auto;
  filter: drop-shadow(0 18px 52px rgba(10,35,55,0.18));
}

.hero-smartphone-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(19vw, 170px);
  height: auto;
  display: block;
  z-index: 2;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.18));
}


.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 20px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--clr-primary);
  transform: scale(1.35);
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: rgba(255,255,255,0.9);
  color: var(--clr-primary-d);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 2;
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-prev:hover,
.carousel-next:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}
.trust-label-top {
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: var(--clr-text-2);
  margin-bottom: 12px;
}
.trust-label-main {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #365472;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.trust-marquee {
  overflow: hidden;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 20px 0;
  background: rgba(255,255,255,0.6);
}
.trust-marquee {
  position: relative;
}
.trust-track {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
}
.logo-ph {
  display: inline-flex;
  align-items: center;
  height: 240px;
  padding: 0 36px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--clr-white);
  border: 1px dashed rgba(98,166,188,0.35);
  color: var(--clr-text-3);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(178,219,229,0.18);
  margin-right: 18px; /* アイテム間の固定間隔（複製アイテムにも適用） */
}
/* ロゴ画像を含むプレースホルダー（共通） */
.logo-ph--img {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* 全ロゴ共通：視覚的な高さを揃えるベース */
.logo-ph--img .logo-img {
  display: block;
  height: 84px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  opacity: 1;
}
/* RIVER RISE：正方形・余白多めなので少し大きく */
.logo-ph--img .logo-img[alt="RIVER RISE"] {
  height: 180px;
  max-width: 480px;
}
/* Next Fortune：縦並び・非常に余白多いのでスケールアップ */
.logo-ph--img .logo-img[alt="Next Fortune"] {
  height: 216px;
  max-width: 390px;
}
/* Credech：横長なので幅を広く・高さは抑える */
.logo-ph--img .logo-img[alt="Credech"] {
  height: 66px;
  max-width: 330px;
}
/* HURANG：正方形・縦積みレイアウト */
.logo-ph--img .logo-img[alt="HURANG"] {
  height: 120px;
  max-width: 180px;
}
/* Inankl：横長テキストのみ・シンプルなので高さ抑えめ・幅広め */
.logo-ph--img .logo-img[alt="Inankl"] {
  height: 81px;
  max-width: 450px;
}
/* marquee は JS (requestAnimationFrame) で制御 */
.trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 28px;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text-2);
  background: var(--clr-base);
}
.trust-note i { color: var(--clr-primary-d); }

/* ============================================================
   PAIN SECTION
   ============================================================ */
.pain-section {
  padding: 100px 0;
  background: var(--clr-white);
  position: relative;
  overflow: hidden;
}

/* 砂嵐ノイズレイヤー */
.pain-section .pain-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ノイズ本体：粒子感を強化しRaiseeカラーに馴染ませる */
.pain-section .pain-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  /* 細かい粒子（高周波ノイズ） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.88' numOctaves='4' seed='12'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.26;
  mix-blend-mode: multiply;
  animation: noiseDrift 5s steps(4) infinite;
}

/* Raiseeカラー（青緑）のtintオーバーレイ */
.pain-section .pain-noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(98,166,188,0.18) 0%, transparent 70%),
    linear-gradient(135deg,
      rgba(98,166,188,0.14) 0%,
      rgba(124,190,150,0.08) 50%,
      rgba(98,166,188,0.14) 100%
    );
  mix-blend-mode: normal;
}

@keyframes noiseDrift {
  0%   { background-position: 0px 0px; }
  25%  { background-position: -40px 30px; }
  50%  { background-position: 35px -40px; }
  75%  { background-position: -25px -15px; }
  100% { background-position: 0px 0px; }
}

/* --- フェーズフロー（新構成）--- */
.phase-flow {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.phase-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 0;
  min-width: 120px;
}
.phase-label {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--clr-primary-d);
  background: var(--clr-primary-l);
  border: 1px solid rgba(98,166,188,0.28);
  border-radius: var(--radius-sm);
  padding: 7px 6px;
  white-space: nowrap;
}
.phase-tags {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phase-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-text-2);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  text-align: center;
  line-height: 1.4;
}
.phase-arrow {
  font-size: 22px;
  color: var(--clr-primary);
  line-height: 1;
  padding-top: 6px;
  flex-shrink: 0;
  align-self: flex-start;
}

/* --- 旧 flow-arrow（後方互換のため残す）--- */
.flow-arrow-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  margin-bottom: 40px;
}
.flow-arrow-item {
  position: relative;
  padding: 14px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--clr-primary-d);
  background: var(--clr-primary-l);
  border: 1px solid rgba(98,166,188,0.22);
  border-radius: var(--radius-sm);
}
.flow-arrow-item:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--clr-primary);
  z-index: 1;
  background: var(--clr-white);
  width: 14px;
  text-align: center;
  line-height: 1;
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain-card {
  background: var(--clr-base);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

/* 右上に薄く配置する背景SVGアイコン */
.pain-bg-icon {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 96px;
  height: 96px;
  pointer-events: none;
  z-index: 0;
  /* 右上は鮮明、左下へ向かってフェード */
  -webkit-mask-image: radial-gradient(ellipse 110% 110% at 100% 0%, black 45%, transparent 90%);
  mask-image: radial-gradient(ellipse 110% 110% at 100% 0%, black 45%, transparent 90%);
}

/* テキスト要素はアイコンの前面に */
.pain-card h3,
.pain-card p {
  position: relative;
  z-index: 1;
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pain-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: rgba(98,166,188,0.12);
  color: var(--clr-primary-d);
  font-size: 20px;
}
.pain-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: #365472; }
.pain-card p  { font-size: 15px; color: var(--clr-text-2); line-height: 1.75; }

/* ============================================================
   VALUE SECTION — ライト化（旧ダーク → Adraise ベース）
   ============================================================ */
.value-section {
  padding: 100px 0;
  /* Adraise 感: 極薄グラデ＋水面光の radial */
  background:
    radial-gradient(ellipse 55% 60% at 5% 30%,  rgba(98,166,188,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 95% 70%, rgba(124,190,150,0.10) 0%, transparent 50%),
    linear-gradient(180deg, #EBF8FA 0%, #F2FCFD 100%);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}
.value-text .section-title { margin-bottom: 18px; }

.value-metrics { display: grid; gap: 16px; }
.value-metric-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-metric-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-metric-card i {
  font-size: 20px;
  color: var(--clr-accent-d);
}
.value-metric-card strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-text);
}
.value-metric-card p {
  font-size: 14px;
  color: var(--clr-text-2);
  line-height: 1.7;
}

/* ============================================================
   ODR SECTION
   ============================================================ */
.odr-section {
  padding: 100px 0;
  background: var(--clr-white);
  position: relative;
  overflow: hidden;
  contain: paint; /* transform:scale() の overflow 突き抜けを防止 */
}
/* section-desc 内の「Raisee」強調 */
.odr-raisee-name {
  font-size: 1.12em;
  font-weight: 800;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.odr-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 16px;
  align-items: center;
}

/* カード本体 */
.odr-card {
  background: var(--clr-base);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  align-self: stretch;
}
.odr-card::before {
  content: '';
  position: absolute;
  right: -30px; bottom: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(98,166,188,0.12) 0%,
    rgba(124,190,150,0.08) 50%,
    transparent 70%);
  pointer-events: none;
}
.odr-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* カードヘッダー（タイトル＋サブタイトル） */
.odr-card-header {
  margin-bottom: 20px;
}

/* Organize / Do / Raise 大見出し */
.odr-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.odr-title.organize { color: #3a7d92; }
.odr-title.do       { color: #2d6e4e; }
.odr-title.raise    { color: #2a5c72; }

/* サブタイトル（大見出しより少し小さく） */
.odr-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #365472;
  line-height: 1.45;
  margin: 0;
}

/* 本文 */
.odr-card p {
  font-size: 14px;
  color: var(--clr-text-2);
  line-height: 1.9;
  margin: 0;
}

/* カード間の矢印 */
.odr-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex-shrink: 0;
}
.odr-arrow i {
  font-size: 20px;
  color: var(--clr-primary);
  opacity: 0.7;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(98,166,188,0.10) 0%, transparent 50%),
    linear-gradient(180deg, #F2FCFD 0%, #EBF8FA 100%);
}

.feature-tab-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.feature-tab {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text-2);
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border);
  transition: all var(--transition);
}
.feature-tab:hover { border-color: var(--clr-primary); color: var(--clr-primary-d); }
.feature-tab.active {
  background: var(--grad-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(98,166,188,0.28);
}
.feature-tab:focus-visible { outline: 2px solid rgba(98,166,188,0.4); outline-offset: 3px; }

.feature-panel { display: none; }
.feature-panel.active { display: block; }

/* ── Adraise風 左右2カラム サービスUI ── */
.fsr-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

/* 左：ボタンリスト */
.fsr-left {
  background: linear-gradient(160deg, #EBF7FA 0%, #F2FCFD 100%);
  border-right: 1px solid var(--clr-border);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  overflow: visible; /* activeボタンが右にはみ出せるよう */
  position: relative;
  z-index: 1;
}
.fsr-btn-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fsr-btn {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid rgba(98,166,188,0.45);
  background: rgba(255,255,255,0.75);
  color: #365472;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: width 0.28s cubic-bezier(0.4,0,0.2,1), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(98,166,188,0.12);
  text-align: left;
  position: relative;
}
/* ホバー：色・矢印のみ、幅は変えない */
.fsr-btn:hover {
  background: var(--grad-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(98,166,188,0.32);
}
/* アクティブ：右に伸びる */
.fsr-btn.active {
  background: var(--grad-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(98,166,188,0.38);
  width: calc(100% + 24px);
  border-radius: 10px;
}
.fsr-arrow-l {
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
  margin-right: 10px;
}
.fsr-btn-label {
  flex: 1;
  letter-spacing: 0.02em;
}
.fsr-arrow-r {
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
  margin-left: 10px;
}
.fsr-btn:hover .fsr-arrow-r,
.fsr-btn.active .fsr-arrow-r {
  opacity: 1;
}

/* 右：詳細コンテンツ */
.fsr-right {
  background: #fff;
  padding: 36px 36px;
  position: relative;
  min-height: 600px;
}
.fsr-detail {
  position: absolute;
  top: 36px; left: 36px; right: 36px; bottom: 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.fsr-detail.active {
  opacity: 1;
  visibility: visible;
}
.fsr-detail-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(98,166,188,0.28);
}
.fsr-detail h4 {
  font-size: 22px;
  font-weight: 800;
  color: #365472;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.fsr-detail p {
  font-size: 15px;
  color: var(--clr-text-2);
  line-height: 1.85;
}

/* fsr-detail 内部レイアウト：テキスト上 ＋ メディア下 */
.fsr-detail-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.fsr-detail-text {
  flex-shrink: 0;
}

/* メディアプレースホルダー */
.fsr-media-placeholder {
  flex: 1;
  min-height: 160px;
  border-radius: 12px;
  border: 2px dashed rgba(98,166,188,0.40);
  background: rgba(98,166,188,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--clr-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.fsr-media-placeholder::before {
  content: attr(data-label);
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(98,166,188,0.6);
  letter-spacing: 0.05em;
}
.fsr-media-placeholder i {
  font-size: 28px;
  opacity: 0.55;
}
.fsr-media-placeholder span {
  opacity: 0.7;
}
.fsr-media-placeholder:hover {
  background: rgba(98,166,188,0.12);
  border-color: rgba(98,166,188,0.65);
}
/* 実際の画像・動画が差し込まれたとき */
.fsr-media-placeholder img,
.fsr-media-placeholder video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像全体を表示 */
  border-radius: 10px;
}

/* ============================================================
   CASE SECTION
   ============================================================ */
.case-section {
  padding: 100px 0;
  background: var(--clr-white);
  position: relative;
  overflow: hidden;
  contain: paint; /* transform:scale() の overflow 突き抜けを防止 */
}

.case-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 auto 20px;
  justify-content: center;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
}
.case-card {
  width: 340px;
  flex-shrink: 0;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-card.coming-soon { opacity: 0.92; }

.cs-placeholder {
  height: 220px;
  background: linear-gradient(135deg, #F2FCFD 0%, rgba(178,219,229,0.28) 100%);
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--clr-text-3);
}
.cs-placeholder i { font-size: 28px; }
.cs-placeholder p { font-size: 12px; font-weight: 700; margin: 0; }

/* ロゴ画像をインタビュー欄に表示 */
.cs-placeholder--logo {
  background: linear-gradient(135deg, #F2FCFD 0%, rgba(178,219,229,0.18) 100%);
}
.cs-placeholder--logo .cs-logo-img {
  max-height: 90px;
  max-width: 70%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
/* 株式会社リバーライズ：2.5倍（プレースホルダーも拡張） */
.cs-placeholder--logo:has(.cs-logo-img[alt="株式会社リバーライズ"]) {
  height: 220px;
}
.cs-placeholder--logo .cs-logo-img[alt="株式会社リバーライズ"] {
  max-height: 225px;
  max-width: 90%;
}
/* オーラン株式会社：1.2倍 */
.cs-placeholder--logo .cs-logo-img[alt="オーラン株式会社"] {
  max-height: 108px;
  max-width: 75%;
}

.cs-body { padding: 22px; }
.cs-company {
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-primary-d);
  margin-bottom: 10px;
}
.cs-quote {
  font-size: 15px;
  font-weight: 700;
  color: #365472;
  line-height: 1.65;
  margin-bottom: 14px;
}
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--clr-base);
  color: var(--clr-text-2);
  border: 1px solid var(--clr-border);
}
.case-note {
  font-size: 12px;
  color: var(--clr-text-3);
  text-align: center;
}

/* ============================================================
   FLOW SECTION — ライト化（旧ダーク紺 → Adraise グラデ）
   ============================================================ */
.flow-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 65% 55% at 10% 20%, rgba(98,166,188,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 80%, rgba(124,190,150,0.14) 0%, transparent 50%),
    linear-gradient(160deg, #D5EEF4 0%, #E4F6F0 60%, #F2FCFD 100%);
}

.step-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  align-items: flex-start; /* カードをコンテンツ幅に */
  width: fit-content; /* ステップ2の最長テキスト幅に揃える */
}
.step-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(98,166,188,0.25);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  position: relative;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 36px;
  width: 100%; /* step-grid幅いっぱい（ステップ2基準）に揃える */
  white-space: normal;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* STEP番号エリア（左列） */
.step-num {
  flex-shrink: 0;
  min-width: 60px;
}

/* カード間の矢印（下向き） */
.step-line {
  width: 2px;
  height: 32px;
  background: rgba(98,166,188,0.35);
  margin: 0 0 0 66px; /* STEP番号の中央に揃える */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: static;
}
.step-line::after {
  content: '';
  width: 8px; height: 8px;
  border-bottom: 2px solid rgba(98,166,188,0.5);
  border-right: 2px solid rgba(98,166,188,0.5);
  transform: rotate(45deg);
  margin-bottom: -5px;
}
.step-line.last { display: none; }

.step-num {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--clr-text-3);
  margin-bottom: 0;
  flex-shrink: 0;
  min-width: 60px;
  padding-top: 4px;
}
.step-num span {
  font-size: 32px;
  font-weight: 900;
  background: var(--grad-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-top: 4px;
}
.step-card-body {
  flex: 1;
}
.step-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #365472;
  margin-bottom: 14px;
  white-space: nowrap;
}
.step-card p {
  font-size: 15px;
  color: var(--clr-text-2);
  line-height: 1.8;
  margin-bottom: 20px;
  white-space: nowrap;
}
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-primary-d);
  transition: gap var(--transition);
}
.step-link:hover { gap: 12px; color: var(--clr-primary); }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-section {
  padding: 160px 0;  /* 上下に波Canvas（120px）分の余白を追加 */
  background: var(--clr-base);
  position: relative;
  overflow: hidden;
  contain: paint;    /* transform:scale()のオーバーフロー防止 */
}

.news-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}
.news-left { position: sticky; top: calc(var(--header-h) + 24px); }
.news-left .section-title { margin-bottom: 14px; }
.news-left .section-desc { white-space: nowrap; }

.news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--clr-border);
  align-items: start;
}
.news-item:first-child { border-top: 1px solid var(--clr-border); }

.news-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text-3);
  padding-top: 4px;
}
.news-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(98,166,188,0.12);
  color: var(--clr-primary-d);
  margin-bottom: 8px;
}
.news-body h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.45;
  color: #365472;
}
.news-body p { font-size: 14px; color: var(--clr-text-2); line-height: 1.75; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 100px 0;
  background: var(--clr-white);
  position: relative;
  overflow: hidden;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: var(--clr-base);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}
.faq-item.is-open { box-shadow: var(--shadow-md); }

.faq-summary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 24px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  color: #365472;
  text-align: left;
  border-radius: var(--radius-lg);
}
.faq-summary:focus-visible { outline: 2px solid rgba(98,166,188,0.4); outline-offset: -2px; }

.faq-icon {
  flex-shrink: 0;
  color: var(--clr-primary-d);
  font-size: 14px;
  transition: transform 0.35s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  overflow: hidden;
  height: 0;
  transition: height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 18px;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.faq-answer p {
  padding-top: 14px;
  font-size: 15px;
  color: var(--clr-text-2);
  line-height: 1.8;
}

/* ============================================================
   CTA + CONTACT FORM — ライト化（旧ダーク → Adraise ベース）
   ============================================================ */
.cta-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 60% 55% at 5% 50%,  rgba(98,166,188,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 95% 40%, rgba(124,190,150,0.12) 0%, transparent 50%),
    linear-gradient(160deg, #D5EEF4 0%, #E4F6F0 55%, #F2FCFD 100%);
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr 580px;  /* フォーム幅を拡大 */
  gap: 40px;
  align-items: start;
}

.cta-checks {
  margin-top: 72px; /* タイトルからの余白をさらに広げて下に配置 */
  display: grid;
  gap: 18px;
}
.cta-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px; /* 1.5倍に変更 */
  color: var(--clr-text-2);
  font-weight: 600;
  line-height: 1.4;
}
.cta-checks i { color: var(--clr-accent-d); font-size: 22px; }

.contact-form-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 28px 32px;  /* 上下パディングを縮小 */
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
}
.contact-form-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
  color: #365472;
}
.contact-form-card > p {
  font-size: 14px;
  color: var(--clr-text-2);
  margin-bottom: 24px;
}

.cform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cform-group {
  display: flex;
  flex-direction: column;
  gap: 5px;           /* ラベルと入力欄の隙間を縮小 */
  margin-bottom: 10px; /* 項目間の余白を縮小 */
  min-width: 0;       /* Firefox: grid item の intrinsic min-width によるはみ出しを防止 */
}
.cform-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.req {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  background: #fee2e2;
  color: #b91c1c;
}
.opt {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  background: var(--clr-base);
  color: var(--clr-text-3);
}
.cform-group input,
.cform-group select,
.cform-group textarea {
  padding: 8px 12px;   /* 入力欄の上下パディングを縮小 */
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 14px;     /* フォントサイズを微調整 */
  color: var(--clr-text);
  background: var(--clr-base);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.cform-group input:focus,
.cform-group select:focus,
.cform-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(98,166,188,0.14);
  background: var(--clr-white);
}
.cform-group textarea { resize: vertical; line-height: 1.7; }
.cform-group input.error,
.cform-group select.error,
.cform-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}

/* フォーム内セクション区切りラベル */
.cform-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-primary-d);
  border-bottom: 1.5px solid rgba(98,166,188,0.25);
  padding-bottom: 4px;
  margin: 14px 0 10px;  /* 上下余白を縮小 */
}
.cform-section-label:first-child { margin-top: 0; }

/* 送信エリア・ボタン（contact.html と共通化） */
.form-submit-area { margin-top: 18px; }  /* 送信ボタン上の余白を縮小 */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;    /* ボタン高さを縮小 */
  border-radius: 8px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(98,166,188,0.28);
  transition: opacity 0.2s, transform 0.2s;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.btn-submit:hover    { opacity: 0.88; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-privacy {
  margin-top: 14px;
  font-size: 12px;
  color: var(--clr-text-3);
  text-align: center;
}
.form-privacy a { color: var(--clr-primary-d); text-decoration: underline; }

/* 個人情報の取り扱い同意チェックボックス */
.cform-agreement { margin-top: 8px; }
.cform-agreement-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-2);
  cursor: pointer;
  line-height: 1.6;
}
.cform-agreement-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--clr-primary);
  cursor: pointer;
}
.cform-agreement-label input[type="checkbox"].error {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}
.cform-agreement-label a { color: var(--clr-primary-d); text-decoration: underline; }
.cform-error { font-size: 12px; color: #b91c1c; margin-top: 6px; }

/* 送信完了画面（CTA内） */
.form-success {
  text-align: center;
  padding: 48px 20px;
}
.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success-icon i { font-size: 28px; color: #fff; }
.form-success h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--clr-text);
}
.form-success h4 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--clr-text);
}
.form-success p {
  font-size: 14px;
  color: var(--clr-text-2);
  line-height: 1.7;
}

/* CTA左カラム：安心ポイントカード */
.cta-trust-cards {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(98,166,188,0.18);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  backdrop-filter: blur(4px);
}
.cta-trust-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(98,166,188,0.18), rgba(124,190,150,0.18));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary-d);
  font-size: 15px;
}
.cta-trust-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 3px;
}
.cta-trust-card p {
  font-size: 13px;
  color: var(--clr-text-2);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   — フッターのみ Adraise のボタングラデと同トーンのダーク
   ============================================================ */
.site-footer {
  background: #D8F0F5;
  color: #365472;
}
.footer-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid rgba(98,166,188,0.30);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-logo-icon { width: 38px; height: 38px; }
.footer-logo-word {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #365472;
  line-height: 1;
}
/* フッターロゴ画像 */
.footer-logo-img {
  height: 104px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 14px;
}
.footer-brand > p { font-size: 14px; color: #4a7a90; line-height: 1.75; }

.footer-pmark {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.footer-pmark-logo {
  width: 56px;
  height: auto;
  flex-shrink: 0;
  display: block;
}
.footer-pmark-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-pmark-text span {
  font-size: 13px;
  font-weight: 700;
  color: #365472;
}
.footer-pmark-text small {
  font-size: 12px;
  color: #4a7a90;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-self: end;
  padding-top: 40px;  /* さらに下にずらす */
}
.footer-nav-col h4 {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #365472;
  margin-bottom: 18px;
}
.footer-nav-col ul { display: grid; gap: 12px; }
.footer-nav-col li a {
  font-size: 14px;
  color: #4a7a90;
  transition: color var(--transition);
}
.footer-nav-col li a:hover { color: var(--clr-primary); }

.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(98,166,188,0.15); }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* SNSアイコンリスト */
.footer-sns {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0; padding: 0;
}
.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-sns a:hover { opacity: 0.82; transform: translateY(-2px); }

/* X（旧Twitter）：黒背景＋白アイコン */
.footer-sns .sns-x {
  background: #000;
  color: #fff;
}
/* Facebook：公式ブルー背景＋白アイコン */
.footer-sns .sns-fb {
  background: #1877F2;
  color: #fff;
}
/* note：公式ロゴカラー（#41C9B4）背景＋白文字 */
.footer-sns .sns-note {
  background: #41C9B4;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* コピーライト */
.footer-copy {
  font-size: 13px;
  color: #4a7a90;
}

/* ============================================================
   OCEAN BG — 海モチーフ背景アニメーション
   ============================================================ */

/* ── キーフレーム定義 ── */

/* 泡が下からゆっくり浮き上がる */
@keyframes bubbleRise {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.45; }
  100% { transform: translateY(-110%) scale(1.1); opacity: 0; }
}

/* 光の輪が広がって消える */
@keyframes ripple {
  0%   { transform: scale(0.3); opacity: 0.65; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* SVG波がゆっくり横に流れる */
@keyframes waveDrift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ゆらゆらと浮遊 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-22px); }
}

/* ── 共通：疑似要素レイヤー ── */
.pain-section::before,
.odr-section::before,
.case-section::before,
.news-section::before,
.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
/* セクション内コンテンツを前面に（装飾Canvas/ocean-layerは除く） */
.pain-section > *,
.odr-section > *,
.case-section > *,
.faq-section > *,
.features-section > *,
.flow-section > * {
  position: relative;
  z-index: 1;
}
.news-section > *:not(.news-wave-canvas) {
  position: relative;
  z-index: 1;
}

/* ── PAIN セクション：ノイズのみ（浮遊球・霊魂球は削除） ── */
.pain-section::before { background: none; }
.pain-section::after  { display: none; }

/* ── ODR セクション：右下に大きな光の波紋 ── */
.odr-section::before {
  background:
    radial-gradient(ellipse 70% 60% at 95% 95%, rgba(98,166,188,0.30) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 5%  5%,  rgba(124,190,150,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 50% 50%, rgba(98,166,188,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 80% 20%, rgba(124,190,150,0.18) 0%, transparent 60%);
}
.odr-section::after {
  display: none;
}

/* ── CASE セクション：静的グラデ（アニメなし）── */
.case-section::before {
  background:
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(124,190,150,0.20) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 50% 50%,  rgba(98,166,188,0.10) 0%, transparent 65%);
  animation: none;
}

/* ── NEWS セクション：静的グラデのみ（アニメなし）── */
.news-section::before {
  background:
    radial-gradient(ellipse 85% 45% at 50% 100%, rgba(98,166,188,0.30) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 10% 20%,  rgba(124,190,150,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 90% 10%,  rgba(98,166,188,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 60% 50%,  rgba(124,190,150,0.14) 0%, transparent 60%);
  animation: none;
}
.news-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 200%; height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C180,110 360,20 540,70 C720,110 900,20 1080,70 C1260,110 1440,20 1440,70 L1440,140 L0,140 Z' fill='rgba(98,166,188,0.14)'/%3E%3Cpath d='M0,90 C200,50 400,115 600,85 C800,50 1000,110 1200,85 C1320,70 1400,90 1440,88 L1440,140 L0,140 Z' fill='rgba(124,190,150,0.11)'/%3E%3Cpath d='M0,110 C240,85 480,125 720,105 C960,85 1200,120 1440,108 L1440,140 L0,140 Z' fill='rgba(98,166,188,0.08)'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 50% 100%;
  pointer-events: none;
  z-index: 0;
  /* animation: waveDrift 18s linear infinite; */
  animation: none;
}

/* ── FAQ セクション：浮遊する泡＋左上の光 ── */
.faq-section::before {
  background:
    radial-gradient(ellipse 60% 60% at 0% 50%,   rgba(98,166,188,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 100% 0%,  rgba(124,190,150,0.24) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 50%  100%, rgba(98,166,188,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 80%  60%,  rgba(124,190,150,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 25% 25% at 25%  25%,  rgba(98,166,188,0.14) 0%, transparent 55%);
  animation: none;
}

/* ============================================================
   OCEAN BG EXTRA — 海モチーフ追加要素
   ============================================================ */

/* ── 追加アニメーション ── */
@keyframes waveDrift2 {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes ripple2 {
  0%   { transform: scale(0.4); opacity: 0.60; }
  100% { transform: scale(3.5); opacity: 0; }
}
@keyframes ripple3 {
  0%   { transform: scale(0.2); opacity: 0.65; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes rippleLg {
  0%   { transform: scale(0.3); opacity: 0.60; }
  100% { transform: scale(8.5); opacity: 0; }
}
/* 操舵輪の回転 */
@keyframes helmSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* ゴッドレイ（海中光） */
@keyframes godray {
  0%, 100% { opacity: 0.24; transform: skewX(-8deg) scaleY(1);    }
  50%       { opacity: 0.48; transform: skewX(-8deg) scaleY(1.06); }
}
@keyframes godray2 {
  0%, 100% { opacity: 0.18; transform: skewX(6deg) scaleY(1);    }
  50%       { opacity: 0.38; transform: skewX(6deg) scaleY(1.08); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  33%       { transform: translateY(-18px) translateX(10px); }
  66%       { transform: translateY(-30px) translateX(-6px); }
}

/* ── 共通：ocean-layer ── */
.ocean-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  contain: paint; /* transform:scale() の overflow 突き抜けを防止 */
  z-index: 0;
}

/* ==============================
   PAIN セクション：ゴッドレイ＋多重波紋＋海鳥
   ============================== */
.pain-godray {
  position: absolute;
  top: -10%; left: 0; right: 0;
  height: 130%;
  pointer-events: none;
  z-index: 0;
}
.pain-godray span {
  position: absolute;
  top: 0;
  transform-origin: top center;
  border-radius: 0 0 50% 50%;
  height: 100%;
}
.pain-godray span:nth-child(1) { left: 5%;  width: 90px;  background: linear-gradient(180deg, rgba(98,166,188,0.38) 0%, transparent 72%);  animation: godray  5s ease-in-out infinite; }
.pain-godray span:nth-child(2) { left: 22%; width: 65px;  background: linear-gradient(180deg, rgba(124,190,150,0.32) 0%, transparent 68%); animation: godray2 6.5s ease-in-out infinite 1s; }
.pain-godray span:nth-child(3) { left: 42%; width: 115px; background: linear-gradient(180deg, rgba(98,166,188,0.34) 0%, transparent 78%);  animation: godray  7s ease-in-out infinite 2s; }
.pain-godray span:nth-child(4) { left: 63%; width: 60px;  background: linear-gradient(180deg, rgba(124,190,150,0.28) 0%, transparent 65%); animation: godray2 5.5s ease-in-out infinite 0.5s; }
.pain-godray span:nth-child(5) { left: 80%; width: 80px;  background: linear-gradient(180deg, rgba(98,166,188,0.36) 0%, transparent 74%);  animation: godray  6s ease-in-out infinite 3s; }
.pain-godray span:nth-child(6) { left: 92%; width: 50px;  background: linear-gradient(180deg, rgba(124,190,150,0.24) 0%, transparent 66%); animation: godray2 8s ease-in-out infinite 1.5s; }
/* pain-ripples：非表示 */
.pain-ripples { display: none; }


/* ==============================
   ODR セクション：操舵輪×2＋多重波紋5個＋ゴッドレイ
   ============================== */
/* 操舵輪中央からの波紋（SVG内circle） */
@keyframes helmCenterRipple {
  0%   { r: 22; opacity: 0.7; }
  100% { r: 62; opacity: 0; }
}
.helm-ripple-1 { animation: helmCenterRipple 3s ease-out infinite 0s; }
.helm-ripple-2 { animation: helmCenterRipple 3s ease-out infinite 1s; }
.helm-ripple-3 { animation: helmCenterRipple 3s ease-out infinite 2s; }

.odr-helm {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 400px; height: 400px;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
  animation: helmSpin 36s linear infinite;
}
.odr-helm2 {
  position: absolute;
  left: -30px; top: 20px;
  width: 220px; height: 220px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  animation: helmSpin 50s linear infinite reverse;
}
/* odr-ripples
   「なぜ、Raiseeだけが…」セクションの操舵輪中央円から広がる波紋

   odr-helm （右下・青系）:
     CSS: right:-40px, bottom:-40px, width:400px, height:400px, viewBox=240×240
     スケール: 400/240 = 1.667
     中央円 cx=120,cy=120 → 画面右側から: (400-120×1.667)-40 = 0px, 下側: (400-120×1.667)-40 = 0px
     → right:0px, bottom:0px に適当するが、中央円は左から200pxの位置→right基準 200px
     実際: right=-40時のsvg左端は画面右から400-40=360px(左側から).
     中央円の画面左からの位置: (right端 - svg_width + cx×scale) = viewport_right - 40 - 400 + 200 = viewport_right - 240px
     → right: 240-40=200... 簡化: right基準で (400 - cx×scale) - 40 = (400-200)-40 = 160px
     bottom同様: (400-200)-40 = 160px
     → transform: translate(50%,50%) で中心居中する
*/
.odr-ripples span {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
/* 右下操舵輪（odr-helm）中央円から広がる波紋
   right:160px, bottom:160px → margin で中心合わせ（transform はアニメが上書きするため使わない） */
.odr-ripples span:nth-child(1) { width:  80px; height:  80px; right: 120px; bottom: 120px; border: 3px   solid rgba(98,166,188,0.55); animation: ripple2 4.5s ease-out infinite; }
.odr-ripples span:nth-child(2) { width:  80px; height:  80px; right: 120px; bottom: 120px; border: 2px   solid rgba(98,166,188,0.40); animation: ripple2 4.5s ease-out infinite 1.5s; }
.odr-ripples span:nth-child(3) { width:  80px; height:  80px; right: 120px; bottom: 120px; border: 1.5px solid rgba(98,166,188,0.25); animation: ripple2 4.5s ease-out infinite 3s; }
/* 左上操舵輪（odr-helm2）中央円から広がる波紋
   odr-helm2: left:-30px, top:20px, width:220px, viewBox=240×240
   スケール: 220/240 ≈ 0.917
   中央円 cx=120,cy=120 → left=120×0.917-30=80px, top=120×0.917+20=130px
   波紋左上: left=80-37.5=43px, top=130-37.5=93px */
/* 左上操舵輪（odr-helm2）中央円から広がる大きな波紋
   odr-helm2: left:-30px, top:20px, width:220px, viewBox=240×240
   スケール: 220/240≈0.917 → 中央円: left=120×0.917-30=80px, top=120×0.917+20=130px
   波紋左上: left=80-37.5=43px, top=130-37.5=93px */
.odr-ripples span:nth-child(4) { width: 75px; height: 75px; left: 43px; top: 93px; border: 3px   solid rgba(124,190,150,0.50); animation: rippleLg 5.5s ease-out infinite 0.5s; }
.odr-ripples span:nth-child(5) { width: 75px; height: 75px; left: 43px; top: 93px; border: 2px   solid rgba(124,190,150,0.35); animation: rippleLg 5.5s ease-out infinite 2.0s; }
.odr-ripples span:nth-child(6) { width: 75px; height: 75px; left: 43px; top: 93px; border: 1.5px solid rgba(124,190,150,0.20); animation: rippleLg 5.5s ease-out infinite 3.5s; }
/* 中央波紋（nth-child 7,8）は削除 */
.odr-ripples span:nth-child(7) { display: none; }
.odr-ripples span:nth-child(8) { display: none; }
.odr-godray { position: absolute; top: 0; left: 0; right: 0; height: 55%; pointer-events: none; z-index: 0; }
.odr-godray span { position: absolute; top: 0; transform-origin: top center; border-radius: 0 0 60% 60%; height: 100%; }
.odr-godray span:nth-child(1) { left: 12%; width: 75px;  background: linear-gradient(180deg, rgba(98,166,188,0.36) 0%, transparent 78%);  animation: godray  6s ease-in-out infinite 1s; }
.odr-godray span:nth-child(2) { left: 32%; width: 100px; background: linear-gradient(180deg, rgba(124,190,150,0.32) 0%, transparent 72%); animation: godray2 7s ease-in-out infinite; }
.odr-godray span:nth-child(3) { left: 55%; width: 70px;  background: linear-gradient(180deg, rgba(98,166,188,0.28) 0%, transparent 75%);  animation: godray  5.5s ease-in-out infinite 2s; }
.odr-godray span:nth-child(4) { left: 76%; width: 55px;  background: linear-gradient(180deg, rgba(124,190,150,0.24) 0%, transparent 70%); animation: godray2 8s ease-in-out infinite 3s; }

/* ==============================
   CASE セクション：海鳥アニメーション
   ============================== */

/* 海鳥：シンプルな翼線（V字カーブ）の羽ばたきアニメーション
   viewBox=80×40 中心点(40,20)
   上げ: 翼先端 y=5  下げ: 翼先端 y=32 */
@keyframes flapL {
  0%, 100% { d: path('M40,20 Q28,8 10,14'); }
  50%       { d: path('M40,20 Q28,30 10,26'); }
}
@keyframes flapR {
  0%, 100% { d: path('M40,20 Q52,8 70,14'); }
  50%       { d: path('M40,20 Q52,30 70,26'); }
}
@keyframes flapL2 {
  0%, 100% { d: path('M40,20 Q28,8 10,14'); }
  50%       { d: path('M40,20 Q28,31 10,27'); }
}
@keyframes flapR2 {
  0%, 100% { d: path('M40,20 Q52,8 70,14'); }
  50%       { d: path('M40,20 Q52,31 70,27'); }
}
@keyframes flapL3 {
  0%, 100% { d: path('M40,20 Q28,8 10,14'); }
  50%       { d: path('M40,20 Q28,29 10,25'); }
}
@keyframes flapR3 {
  0%, 100% { d: path('M40,20 Q52,8 70,14'); }
  50%       { d: path('M40,20 Q52,29 70,25'); }
}
@keyframes flapL4 {
  0%, 100% { d: path('M40,20 Q28,8 10,14'); }
  50%       { d: path('M40,20 Q28,30 10,26'); }
}
@keyframes flapR4 {
  0%, 100% { d: path('M40,20 Q52,8 70,14'); }
  50%       { d: path('M40,20 Q52,30 70,26'); }
}
@keyframes flapL5 {
  0%, 100% { d: path('M40,20 Q28,8 10,14'); }
  50%       { d: path('M40,20 Q28,29 10,25'); }
}
@keyframes flapR5 {
  0%, 100% { d: path('M40,20 Q52,8 70,14'); }
  50%       { d: path('M40,20 Q52,29 70,25'); }
}
/* 浮遊アニメーション */
@keyframes birdFloat1 {
  0%,100% { transform: translate(0px, 0px); }
  50%     { transform: translate(12px, -8px); }
}
@keyframes birdFloat2 {
  0%,100% { transform: translate(0px, 0px); }
  50%     { transform: translate(-10px, -6px); }
}
@keyframes birdFloat3 {
  0%,100% { transform: translate(0px, 0px); }
  50%     { transform: translate(8px, -10px); }
}

/* 各海鳥の配置：セクション上部の左右隅に集め、カード・テキストエリアと被らないよう上部のみ */
.case-bird {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
/* PC: 3羽を上部左・右・中央右寄りに。2羽は下部の余白部分へ */
/* 遠近感：左から右へ段階的に小さく、全て上部に集めてカードと被らない */
/* PC: カード上部の余白とセクション端のみに配置。カード領域（top 25%〜）には入れない */
/* 上部5羽・右下2羽（浮遊アニメなし・位置固定） */
/* 上部群（左→右で小さく・遠近感） */
.case-bird-1 { width: 180px; height: 90px;  top:  3%; left:  2%;  }
.case-bird-2 { width: 150px; height: 75px;  top:  1%; right:  2%; }
.case-bird-3 { width: 118px; height: 59px;  top:  7%; right: 14%; }
.case-bird-4 { width:  92px; height: 46px;  top:  3%; left:  18%; }
.case-bird-5 { width:  70px; height: 35px;  top:  9%; left:  40%; }
/* 右下群（カードの右側〜右下角に配置） */
.case-bird-6 { width: 140px; height: 70px; bottom: 12%; right: 1%;  }
.case-bird-7 { width: 100px; height: 50px; bottom:  6%; right: 10%; }

/* 翼の羽ばたき（各鳥で周期をずらす） */
.case-bird-1 .bird-wing-l { animation: flapL  1.4s ease-in-out infinite; }
.case-bird-1 .bird-wing-r { animation: flapR  1.4s ease-in-out infinite; }
.case-bird-2 .bird-wing-l { animation: flapL2 1.7s ease-in-out infinite 0.3s; }
.case-bird-2 .bird-wing-r { animation: flapR2 1.7s ease-in-out infinite 0.3s; }
.case-bird-3 .bird-wing-l { animation: flapL3 1.5s ease-in-out infinite 0.6s; }
.case-bird-3 .bird-wing-r { animation: flapR3 1.5s ease-in-out infinite 0.6s; }
.case-bird-4 .bird-wing-l { animation: flapL4 1.9s ease-in-out infinite 0.2s; }
.case-bird-4 .bird-wing-r { animation: flapR4 1.9s ease-in-out infinite 0.2s; }
.case-bird-5 .bird-wing-l { animation: flapL5 1.6s ease-in-out infinite 0.9s; }
.case-bird-5 .bird-wing-r { animation: flapR5 1.6s ease-in-out infinite 0.9s; }
.case-bird-6 .bird-wing-l { animation: flapL  1.5s ease-in-out infinite 0.4s; }
.case-bird-6 .bird-wing-r { animation: flapR  1.5s ease-in-out infinite 0.4s; }
.case-bird-7 .bird-wing-l { animation: flapL3 1.8s ease-in-out infinite 1.1s; }
.case-bird-7 .bird-wing-r { animation: flapR3 1.8s ease-in-out infinite 1.1s; }


/* ==============================
   NEWS セクション：Canvas波＋操舵輪
   ============================== */
/* news-right は通常フロー */
.news-right {
  position: relative;
}
/* Canvas波：共通 — news-sectionの左端から画面幅いっぱい */
.news-wave-canvas {
  position: absolute;
  left: 50%;                    /* 中心基準 */
  transform: translateX(-50%);  /* 画面中心に居中 */
  width: 100vw;                 /* 画面幅いっぱい */
  pointer-events: none;
  z-index: 0 !important;
  display: block;
}
/* 上部：セクション上端に密着（描画ロジック側で反転済み） */
.news-wave-canvas--top {
  top: 0;
  transform: translateX(-50%);
}
/* 下部：セクション下端に密着 */
.news-wave-canvas--bottom {
  bottom: 0;
  transform: translateX(-50%);
}
.news-helm {
  position: absolute;
  right: 3%; top: 48%;
  transform: translateY(-50%);
  width: 280px; height: 280px;
  opacity: 0.18;
  pointer-events: none; z-index: 0;
  animation: helmSpin 42s linear infinite;
}


/* ==============================
   FAQ セクション：ゴッドレイ5本＋多重波紋6個
   ============================== */
.faq-godray { position: absolute; top: -5%; left: 0; right: 0; height: 110%; pointer-events: none; z-index: 0; }
.faq-godray span { position: absolute; top: 0; transform-origin: top center; border-radius: 0 0 50% 50%; height: 100%; }
.faq-godray span:nth-child(1) { left: 5%;  width: 90px;  background: linear-gradient(180deg, rgba(98,166,188,0.40) 0%, transparent 72%);  animation: godray  7s ease-in-out infinite; }
.faq-godray span:nth-child(2) { left: 22%; width: 65px;  background: linear-gradient(180deg, rgba(124,190,150,0.34) 0%, transparent 66%); animation: godray2 8s ease-in-out infinite 1.5s; }
.faq-godray span:nth-child(3) { left: 44%; width: 110px; background: linear-gradient(180deg, rgba(98,166,188,0.36) 0%, transparent 75%);  animation: godray  6s ease-in-out infinite 3s; }
.faq-godray span:nth-child(4) { left: 66%; width: 75px;  background: linear-gradient(180deg, rgba(124,190,150,0.30) 0%, transparent 68%); animation: godray2 9s ease-in-out infinite 0.8s; }
.faq-godray span:nth-child(5) { left: 84%; width: 85px;  background: linear-gradient(180deg, rgba(98,166,188,0.34) 0%, transparent 70%);  animation: godray  7.5s ease-in-out infinite 4s; }
.faq-godray span:nth-child(6) { left: 95%; width: 55px;  background: linear-gradient(180deg, rgba(124,190,150,0.26) 0%, transparent 65%); animation: godray2 6s ease-in-out infinite 2s; }
.faq-ripples span { position: absolute; border-radius: 50%; pointer-events: none; }
.faq-ripples span:nth-child(1) { width: 320px; height: 320px; bottom: -110px; left: -75px;  border: 3px   solid rgba(98,166,188,0.55); animation: ripple  4.5s ease-out infinite; }
.faq-ripples span:nth-child(2) { width: 320px; height: 320px; bottom: -110px; left: -75px;  border: 2px   solid rgba(98,166,188,0.40); animation: ripple  4.5s ease-out infinite 1.5s; }
.faq-ripples span:nth-child(3) { width: 320px; height: 320px; bottom: -110px; left: -75px;  border: 1.5px solid rgba(98,166,188,0.24); animation: ripple  4.5s ease-out infinite 3s; }
.faq-ripples span:nth-child(4) { width: 260px; height: 260px; top: -65px;     right: -65px; border: 3px   solid rgba(124,190,150,0.50); animation: ripple2 5.5s ease-out infinite 1s; }
.faq-ripples span:nth-child(5) { width: 260px; height: 260px; top: -65px;     right: -65px; border: 2px   solid rgba(124,190,150,0.35); animation: ripple2 5.5s ease-out infinite 2.8s; }
.faq-ripples span:nth-child(6) { width: 260px; height: 260px; top: -65px;     right: -65px; border: 1.5px solid rgba(124,190,150,0.20); animation: ripple2 5.5s ease-out infinite 4.5s; }
.faq-ripples span:nth-child(7) { width: 180px; height: 180px; top: 40%;       left: 46%;   border: 2.5px solid rgba(98,166,188,0.42); animation: ripple3 3.8s ease-out infinite 2s; }
.faq-ripples span:nth-child(8) { width: 180px; height: 180px; top: 40%;       left: 46%;   border: 1.5px solid rgba(98,166,188,0.26); animation: ripple3 3.8s ease-out infinite 3.8s; }

/* ==============================
   FEATURES セクション：ゴッドレイ＋波紋＋海鳥
   ============================== */
.ftr-godray { position: absolute; top: -5%; left: 0; right: 0; height: 115%; pointer-events: none; z-index: 0; }
.ftr-godray span { position: absolute; top: 0; transform-origin: top center; border-radius: 0 0 50% 50%; height: 100%; }
.ftr-godray span:nth-child(1) { left: 8%;  width: 85px;  background: linear-gradient(180deg, rgba(98,166,188,0.34) 0%, transparent 72%);  animation: godray  6s ease-in-out infinite; }
.ftr-godray span:nth-child(2) { left: 28%; width: 70px;  background: linear-gradient(180deg, rgba(124,190,150,0.28) 0%, transparent 68%); animation: godray2 7.5s ease-in-out infinite 1s; }
.ftr-godray span:nth-child(3) { left: 55%; width: 105px; background: linear-gradient(180deg, rgba(98,166,188,0.30) 0%, transparent 76%);  animation: godray  8s ease-in-out infinite 3s; }
.ftr-godray span:nth-child(4) { left: 80%; width: 60px;  background: linear-gradient(180deg, rgba(124,190,150,0.24) 0%, transparent 65%); animation: godray2 6.5s ease-in-out infinite 1.5s; }
.ftr-ripples span { position: absolute; border-radius: 50%; pointer-events: none; }
.ftr-ripples span:nth-child(1) { width: 250px; height: 250px; bottom: -80px;  left: -60px;  border: 3px   solid rgba(98,166,188,0.48); animation: ripple  5s ease-out infinite; }
.ftr-ripples span:nth-child(2) { width: 250px; height: 250px; bottom: -80px;  left: -60px;  border: 2px   solid rgba(98,166,188,0.32); animation: ripple  5s ease-out infinite 1.7s; }
.ftr-ripples span:nth-child(3) { width: 250px; height: 250px; bottom: -80px;  left: -60px;  border: 1.5px solid rgba(98,166,188,0.18); animation: ripple  5s ease-out infinite 3.4s; }
.ftr-ripples span:nth-child(4) { width: 200px; height: 200px; top: -50px;     right: -50px; border: 2.5px solid rgba(124,190,150,0.44); animation: ripple2 5.5s ease-out infinite 0.8s; }
.ftr-ripples span:nth-child(5) { width: 200px; height: 200px; top: -50px;     right: -50px; border: 1.5px solid rgba(124,190,150,0.26); animation: ripple2 5.5s ease-out infinite 2.8s; }


/* ==============================
   FLOW セクション：操舵輪＋波紋＋海鳥
   ============================== */
/* flow-section の波紋・操舵輪アニメーションを停止 */
.flw-ripples { display: none; }
.flw-helm {
  position: absolute;
  left: -50px; top: 50%;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  opacity: 0.17;
  pointer-events: none; z-index: 0;
  animation: none;
}


/* ── ゴッドレイ（縦長グラデーション線）全セクション非表示 ── */
.pain-godray,
.odr-godray,
.case-godray,
.faq-godray,
.ftr-godray {
  display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 中間幅 (~1440px): hero タイトルが PC 画像裏に隠れるのを防ぐ */
@media (max-width: 1440px) {
  .hero-title { font-size: clamp(36px, 5vw, 64px); }
  .hero-title .ht-line2 { padding-left: 1em; }
  .hero-inner { gap: 36px; }
}

/* Tablet: ~1024px */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-bottom: 60px; }
  .hero-float-a, .hero-float-b { display: none; }
  .value-grid { grid-template-columns: 1fr; gap: 36px; }
  .value-metrics { grid-template-columns: repeat(3, 1fr); }
  .news-layout { grid-template-columns: 1fr; gap: 40px; }
  .news-left { position: static; }
  .news-left .section-desc { white-space: normal; }
  .cta-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }

  /* odr: タブレットは縦積み */
  .odr-grid  { grid-template-columns: 1fr; gap: 0; }
  .odr-arrow { width: 100%; height: 36px; }
  .odr-arrow i { transform: rotate(90deg); }
  .odr-title { font-size: 26px; }

  /* fsr: タブレットも2カラム維持 */
  .fsr-layout { grid-template-columns: 200px 1fr; min-height: 400px; }
  .fsr-left { padding: 24px 18px; }
  .fsr-btn { height: 52px; font-size: 13px; padding: 0 14px; }
}

/* Mobile: ~768px */
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .sp-only { display: block; }
  /* スマホ画像はモバイルで非表示 */
  .hero-smartphone-img { display: none; }

  /* サイト全体のライトトーンに合わせたメニュー背景／文字色。
     backdrop-filter を持つ .site-header は fixed 子要素の包含ブロックになる
     ため、top/bottom ではなく固定 height を指定して viewport 全体を覆う */
  .global-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #F2FCFD;
    padding: 20px 20px 32px;
    overflow-y: auto;
    border-top: 1px solid rgba(98,166,188,0.22);
    z-index: 800;
  }
  .global-nav.is-open { display: flex; }
  .global-nav a {
    font-size: 17px;
    font-weight: 700;
    padding: 16px 18px;
    width: 100%;
    color: #365472;
    border-radius: var(--radius-sm);
  }
  .global-nav a:hover,
  .global-nav a:focus-visible {
    color: var(--clr-primary);
    background: rgba(98,166,188,0.10);
  }
  .header-actions { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 52px 0 48px; }
  .hero-title { font-size: clamp(36px, 9vw, 52px); }
  .hero-sub { font-size: 15px; }
  .ui-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .ui-sales-kpis { grid-template-columns: repeat(3, 1fr); }

  .section-title { font-size: clamp(26px, 7vw, 38px); }

  .flow-arrow-row {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
  }
  .flow-arrow-item:not(:last-child)::after { display: none; }

  /* phase-flow: スマホでは縦積み・矢印を下向きに */
  .phase-flow { flex-direction: column; gap: 4px; }
  .phase-group { flex: unset; width: 100%; }
  .phase-tags { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .phase-arrow { align-self: center; transform: rotate(90deg); padding-top: 0; padding: 2px 0; }

  .pain-cards           { grid-template-columns: 1fr; }
  .value-metrics        { grid-template-columns: 1fr; }
  .odr-grid             { grid-template-columns: 1fr; gap: 0; }
  .odr-arrow            { width: 100%; height: 32px; }
  .odr-arrow i          { transform: rotate(90deg); }
  .feature-panel-grid   { grid-template-columns: 1fr 1fr; }
  .case-grid            { grid-template-columns: 1fr; }
  .step-grid            { align-items: flex-start; }
  .step-card            { white-space: normal; width: 100%; }
  .step-card h3, .step-card p { white-space: normal; }
  .step-line            { display: none; }
  .faq-grid             { grid-template-columns: 1fr; }
  .cform-row            { grid-template-columns: 1fr; }
  .footer-nav           { grid-template-columns: 1fr 1fr; }

  /* fsr: スマホは縦積み */
  .fsr-layout { grid-template-columns: 1fr; min-height: auto; }
  .fsr-left { border-right: none; border-bottom: 1px solid var(--clr-border); padding: 20px 16px; }
  .fsr-right { padding: 24px 20px; min-height: 320px; }
  .fsr-detail { top: 24px; left: 20px; right: 20px; bottom: 20px; }
  .fsr-btn { height: 48px; font-size: 13px; }
  .fsr-media-placeholder { min-height: 140px; }
}

/* Small mobile: ~480px */
@media (max-width: 480px) {
  .hero-actions         { flex-direction: column; }
  .hero-actions .btn    { width: 100%; }
  .feature-panel-grid   { grid-template-columns: 1fr; }
  .ui-kpi-row           { grid-template-columns: repeat(2, 1fr); }
  .ui-sales-kpis        { grid-template-columns: 1fr; }
  .footer-nav           { grid-template-columns: 1fr; }
  .feature-tab-list     { flex-wrap: wrap; gap: 6px; }
  .feature-tab          { font-size: 13px; padding: 10px 16px; }

  /* バッジ：スマホは横幅いっぱいに並べる */
  .hero-chips           { gap: 8px; }
  .hero-chips .chip-award { height: 46px; flex: 1 1 calc(50% - 4px); }
  .chip-text            { font-size: 12px; }
  .chip-label           { font-size: 8px; }

  /* fsr: スマホ */
  .fsr-left { padding: 20px 16px; }
  .fsr-btn  { height: 48px; font-size: 13px; padding: 0 14px; }
  .fsr-right { padding: 24px 20px; min-height: 200px; }
  .fsr-detail h4 { font-size: 18px; }
  .fsr-detail p  { font-size: 14px; }
}

/* ============================================================
   Raisee インラインロゴ画像（テキスト内ロゴ差し替え）
   ============================================================ */
.raisee-logo-inline {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  position: relative;
  top: -0.08em;
  /* 白背景画像のため mix-blend-mode 不要 */
}

/* ① ヒーロータイトル内「Raisee」
   ht-raisee の font-size は clamp(46px,6.2vw,82px) × 0.98em ≈ 45〜80px
   画像はテキストと同じ行高になるよう height 基準で合わせる */
.raisee-logo-inline--hero {
  height: 1em;
  width: auto;
  top: -0.05em;
  /* ht-raisee の background-clip:text が img に波及するのを防ぐ */
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: initial !important;
  background: none !important;
}

/* ② トラストラベル内「Raisee」
   trust-label-main は font-size: 32px */
.raisee-logo-inline--trust {
  height: 1em;
  width: auto;
  top: -0.12em;
}

/* ③ セクションタイトル内「Raisee」
   section-title は clamp(28px, 3.8vw, 46px) */
.raisee-logo-inline--section {
  height: 1em;
  width: auto;
  top: -0.165em;
  margin-right: 0.04em;  /* 直後のテキストと少し隙間 */
}

/* 導入実績のRaiseeロゴ個別調整 */
.raisee-logo-inline--case {
  top: -0.22em;
}

/* スマホではロゴも縮小に追従（height: em で自動） */
