/* === block 1 (was lines 19-1850) === */
/* ── RESET & BASE ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  background: #fff;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── TOKENS ── */
:root {
  --blue: #0000cd;
  --blue-l: #ededff;
  --blue-m: rgba(0, 0, 205, 0.08);
  --gold: #c9933a;
  --gold-l: rgba(201, 147, 58, 0.1);
  --red: #aa3332;
  --red-l: rgba(170, 51, 50, 0.07);
  --bg: #f5f7fa;
  --border: #e0e5ec;
  --text: #1a1a2e;
  --sub: #555;
  --muted: #888;
  --radius: 12px;
  --section-pad: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 80px);
}

/* ── TYPOGRAPHY SCALE ── */
.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.title-lg {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.35;
}

.title-md {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.4;
}

.body-md {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--sub);
  line-height: 1.85;
}

.body-sm {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.8;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 12px 24px;
}

.btn-primary:hover {
  background: #0000a8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 205, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 11px 22px;
}

.btn-ghost:hover {
  background: var(--blue-l);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 12px;
  border-radius: 6px;
  min-height: 36px;
}

.btn-case {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-l);
  border-radius: 6px;
  padding: 6px 14px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-case:hover {
  background: #dcdcff;
  border-color: rgba(0, 0, 205, 0.2);
}

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.logo img {
  height: 32px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  font-size: 13px;
  color: var(--sub);
}

.nav a {
  transition: color 0.2s;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--text);
}

.nav a.nav-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav .ext {
  color: var(--muted);
}

.header-cta {
  display: flex;
  gap: 8px;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .btn-ghost.header-ghost {
    display: none;
  }

  .header-cta {
    gap: 6px;
  }

  .header-cta .btn {
    font-size: 11px !important;
    padding: 8px 12px !important;
    min-height: 36px !important;
    white-space: nowrap;
    border-radius: 6px !important;
  }

  .header-sp-dl {
    display: inline-flex !important;
  }
}

/* ── HERO ── */
#hero {
  padding: clamp(60px, 8vw, 90px) 0 clamp(40px, 5vw, 60px);
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  text-align: left;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-ctas {
  justify-content: flex-start;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-top {
  height: calc(50dvh - clamp(60px, 8vw, 90px) - 60px);
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(16px, 2.5vw, 24px);
  box-sizing: border-box;
}

.hero-bottom {
  flex: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 左カラム：ロゴ (removed) */
.hero-logo-col {
  display: none;
}

.hero-h1 {
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero-h1 .grad {
  background: linear-gradient(135deg, #0000cd, #4040ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--sub);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: none;
  text-align: left;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── HIGHLIGHT MARKER ── */
@keyframes marker-sweep {
  from {
    background-size: 0% 100%;
  }

  to {
    background-size: 100% 100%;
  }
}

.highlight-word {
  display: inline-block;
  opacity: 0;
  text-align: left;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
}

/* gradクラスとの競合を解消 */
.hero-h1 .highlight-word.grad {
  background-image: linear-gradient(var(--blue), var(--blue)) !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}

.hero-h1 .highlight-word.anim {
  animation: marker-sweep 0.65s ease forwards;
  animation-fill-mode: both;
}

.hero-h1 .highlight-word.d1 {
  animation-delay: 0s;
}

.hero-h1 .highlight-word.d2 {
  animation-delay: 0s;
}

/* ── KPI strip (ヒーロー下部・独立帯) ── */
#hero-kpi-band {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(16px, 2vw, 28px) clamp(20px, 6vw, 80px)
    clamp(28px, 3.5vw, 48px);
}

.hero-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease 0.5s,
    transform 0.7s ease 0.5s;
}

.hero-kpi-strip.kpi-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-kpi-cell {
  padding: clamp(20px, 3vw, 40px) clamp(16px, 2.5vw, 28px);
  text-align: center;
}

.kpi-lbl-top {
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  margin-top: 8px;
  display: block;
}

.kpi-num {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.kpi-num .u {
  font-size: clamp(22px, 2.5vw, 36px);
}

/* 旧classes */
.hero-badge {
  display: none;
}

.hero-kpi-col {
  display: none !important;
}

.hero-kpi-mob {
  display: none !important;
}

.kpi-strip {
  display: none !important;
}

.kpi-item {
  display: none;
}

.hero-kpi-cell:nth-child(1) {
  background: var(--bg);
}

.hero-kpi-cell:nth-child(2) {
  background: var(--bg);
}

.hero-kpi-cell:nth-child(3) {
  background: var(--bg);
}

@media (max-width: 600px) {
  #hero-kpi-band {
    padding: 24px clamp(20px, 6vw, 80px);
  }

  .hero-kpi-strip {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .hero-kpi-cell {
    padding: 20px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .kpi-lbl-top {
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.4;
    word-break: keep-all;
    min-height: 2.8em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
  }

  .kpi-num {
    font-size: clamp(30px, 8vw, 44px);
    margin-top: 4px;
  }

  .kpi-num .u {
    font-size: clamp(16px, 4vw, 22px);
  }
}

/* ── SECTION WRAPPER ── */
.section {
  padding: var(--section-pad);
}

.section.alt {
  background: var(--bg);
}

.section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head .label {
  margin-bottom: 10px;
  display: block;
}

.section-head .title-lg {
  margin-bottom: 10px;
}

/* ── PAIN / SOLUTION ── */
.pain-tag-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

.pain-tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pain-tag {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--sub);
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.pain-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pain-tag.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.pain-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pain-tab {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  font-family: inherit;
}

.pain-tab.active {
  color: var(--text);
  border-bottom-color: var(--blue);
}

.pain-tab:hover {
  color: var(--text);
}

.pain-panel {
  display: none;
  padding-top: 40px;
}

.pain-panel.active {
  display: block;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.pain-grid > div {
  display: flex;
  flex-direction: column;
}

/* 悩みカード：高さ固定で常に均一 */
.pain-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

/* ソリューションカード */
.sol-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sol-card {
  flex: 1;
}

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

/* 左カラム */
.pain-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pain-col-label.is-pain {
  color: var(--red);
}

.pain-col-label.is-sol {
  color: var(--blue);
}

/* 悩みカードグリッド */
/* SP カルーセル */
@media (max-width: 640px) {
  .pain-grid {
    grid-template-columns: 1fr !important;
  }

  /* ラッパー：外へのはみ出しを完全封鎖 */
  .pain-cards-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  .pain-cards {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: scroll !important;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 4px 0 12px 0;
    /* widthをwrapに収める */
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-auto-rows: unset !important;
  }

  .pain-cards::-webkit-scrollbar {
    display: none;
  }

  .pain-card-item {
    flex: 0 0 78% !important;
    min-width: 0;
    scroll-snap-align: start;
    height: auto !important;
  }

  .pain-card-illust {
    height: 150px !important;
    aspect-ratio: unset !important;
  }

  /* カウンター表示 「1 / 4」 */
  .pain-counter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
  }

  .pain-counter-num {
    font-weight: 700;
    color: var(--blue);
    font-size: 14px;
  }

  .pain-counter-total {
    color: var(--muted);
  }

  /* ドット */
  .pain-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
  }

  .pain-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.25s;
    cursor: pointer;
  }

  .pain-dot.active {
    background: var(--blue);
    width: 20px;
    border-radius: 3px;
  }

  .pain-swipe-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px;
  }

  .pain-swipe-hint svg {
    flex-shrink: 0;
  }
}

@media (min-width: 641px) {
  .pain-swipe-hint,
  .pain-dots,
  .pain-counter {
    display: none !important;
  }

  .pain-cards-wrap {
    width: 100%;
  }
}

.pain-card-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.pain-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 205, 0.09);
}

.pain-card-illust {
  width: 100%;
  height: 130px;
  background: linear-gradient(135deg, var(--blue-l) 0%, #dde8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.pain-card-illust img {
  width: 80%;
  height: 100%;
  object-fit: contain;
}

.pain-card-body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.pain-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
}

/* 旧リスト（非表示） */
.pain-items {
  display: none;
}

/* 右カラム */
.sol-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: box-shadow 0.2s;
}

.sol-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 205, 0.08);
}

.sol-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.sol-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.sol-price {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  line-height: 1.6;
  flex-shrink: 0;
}

.sol-desc {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.8;
}

.sol-link {
  margin-top: 10px;
}

/* ── HOW IT WORKS ── */
.flow-wrap {
  margin-top: clamp(32px, 5vw, 48px);
  position: relative;
}

/* 横線 */
.flow-row {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.flow-row::before {
  content: "";
  position: absolute;
  top: 27px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

@media (max-width: 640px) {
  .flow-row {
    flex-direction: column;
    gap: 0;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    padding-left: 22px;
  }

  /* 縦タイムライン線 */
  .flow-row::before {
    display: none;
  }

  .flow-row::after {
    content: "";
    position: absolute;
    left: 43px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), rgba(0, 0, 205, 0.15));
    z-index: 0;
  }
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 640px) {
  .flow-step {
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    padding: 0 0 36px 0;
    border: none;
    position: relative;
    z-index: 1;
  }

  .flow-step:last-child {
    padding-bottom: 0;
  }
}

.flow-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 12px 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 205, 0.22);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .flow-circle {
    margin: 0;
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
}

.flow-step-body {
  flex: 1;
  width: 100%;
}

.flow-period {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.flow-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.flow-desc {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .flow-desc {
    max-width: none;
    margin: 0;
  }
}

/* ── CASES ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(24px, 4vw, 40px);
}

@media (max-width: 640px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip .stat-cell:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.stat-cell {
  padding: 24px 20px;
  text-align: center;
  background: #fff;
}

.stat-cell:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-num {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-num .u {
  font-size: 16px;
}

.stat-lbl {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2vw, 16px);
}

@media (max-width: 640px) {
  .cases-grid-wrap {
    position: relative;
  }

  .cases-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-bottom: 12px;
  }

  .cases-grid::-webkit-scrollbar {
    display: none;
  }

  .case-card {
    flex: 0 0 calc(100vw - clamp(32px, 8vw, 64px));
    scroll-snap-align: start;
  }

  .cases-scroll-arrows {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
  }
}

.case-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.case-arrow-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.case-arrow-btn:hover svg {
  stroke: #fff;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 205, 0.08);
}

.case-bar {
  height: 4px;
}

.case-inner {
  padding: clamp(16px, 3vw, 24px);
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.case-industry {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-kpi {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.case-company {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.case-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.lbl-pain {
  color: var(--red);
}

.lbl-sol {
  color: var(--blue);
}

.case-text {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.8;
  margin-bottom: 10px;
}

.case-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-result img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--blue);
}

.faq-toggle {
  font-size: 22px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}

.faq-a {
  display: none;
  padding: 0 0 18px;
  font-size: 13px;
  color: var(--sub);
  line-height: 1.9;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* ── CTA FORM TYPE TOGGLE ── */
.form-type-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
}

.form-type-btn {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  transition: all 0.2s;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
}

.form-type-btn.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ── CTA ── */
#cta {
  padding: var(--section-pad);
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-badge {
  color: var(--blue);
  background: var(--blue-l);
  border: 1px solid rgba(0, 0, 205, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 12px;
}

.cta-title em {
  color: var(--blue);
  font-style: normal;
}

.cta-sub {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.85;
  margin-bottom: 36px;
}

.cta-form {
  background: var(--bg);
  border: 1.5px solid #b8c4d0;
  border-radius: 16px;
  padding: clamp(20px, 4vw, 32px);
  text-align: left;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hs-form-frame {
  background: var(--bg);
  border: 1.5px solid #b8c4d0;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

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

.form-full {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-label span {
  color: var(--red);
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: var(--muted);
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 0, 205, 0.08);
}

.form-textarea {
  width: 100%;
  padding: 11px 14px;
  height: 88px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

.form-textarea::placeholder {
  color: var(--muted);
}

.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 0, 205, 0.08);
}

.form-submit {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: var(--gold);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.03em;
  transition:
    background 0.2s,
    transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: #b8832e;
  transform: translateY(-2px);
}

.form-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 10px;
  text-align: center;
  line-height: 1.7;
}

.form-input.error {
  border-color: rgba(255, 100, 100, 0.7) !important;
}

.form-input.success {
  border-color: rgba(100, 220, 130, 0.6) !important;
}

.field-error {
  font-size: 10px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.field-error.show {
  display: block;
}

.form-submit.loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-submit.sent {
  background: #1a6b3c;
}

.form-thanks {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.form-thanks.show {
  display: block;
}

.form-thanks-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.form-thanks-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.form-thanks-sub {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.8;
}

.cta-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.cta-dl:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

/* ── FOOTER ── */
.footer {
  background: #111827;
  padding: clamp(40px, 6vw, 56px) clamp(20px, 6vw, 80px) 28px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

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

.footer-top-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer-top-row {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .footer-logo-col {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-top-row nav {
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

.footer-logo {
  margin-bottom: 8px;
  overflow: hidden;
  width: 206px;
  height: 44px;
}

.footer-logo img {
  display: block;
  max-width: none;
  width: 275px;
  height: auto;
  margin-top: -56px;
  margin-left: -34px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-link {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

/* ── CURTAIN ── */
#curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.curtain-panel {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--blue);
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
}

.curtain-panel.left {
  left: 0;
  transform: translateX(0);
}

.curtain-panel.right {
  right: 0;
  transform: translateX(0);
}

.curtain-logo {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.curtain-logo img {
  height: clamp(120px, 18vw, 200px);
  width: auto;
}

.curtain-bar-wrap {
  width: 160px;
  height: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.curtain-bar {
  height: 100%;
  width: 0%;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.4s ease;
}

#curtain.open .curtain-panel.left {
  transform: translateX(-100%);
}

#curtain.open .curtain-panel.right {
  transform: translateX(100%);
}

#curtain.done {
  display: none;
}

/* ── KPI STRIP override ── */
.kpi-strip {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(16px, 3vw, 32px) !important;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease 0.6s,
    transform 0.7s ease 0.6s;
  flex-wrap: unset !important;
  align-items: unset !important;
}

.kpi-strip.kpi-visible {
  opacity: 1;
  transform: translateY(0);
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.kpi-num {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.kpi-num .u {
  font-size: clamp(22px, 2.5vw, 36px);
}

.kpi-lbl {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* === block 2 (was lines 2012-2018) === */
@media (max-width: 640px) {
  #about > div > div:last-child {
    grid-template-columns: 1fr !important;
  }
}

/* === block 3 (was lines 2272-2903) === */
/* ── HAMBURGER MENU ── */
.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  flex-shrink: 0;
}

.ham-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

.ham-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 98;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ham-menu.open {
  display: block;
}

.ham-menu nav {
  display: flex;
  flex-direction: column;
}

.ham-menu nav a {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.ham-menu nav a:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .ham-btn {
    display: flex;
  }
}

/* ── KPI BAND TITLE/NOTE ── */
.kpi-band-hd {
  text-align: left;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.kpi-band-hd .label {
  color: var(--blue);
}

.kpi-band-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}

/* ── PS PC: 3列横並び ── */
#pain .ps-scroll-wrap {
  position: relative;
  width: 100%;
}

#pain .section-inner {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
}

#pain .section-inner .ps-block {
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0;
  box-sizing: border-box;
}

/* PS圧縮 */
.ps-block {
  padding: clamp(16px, 2vw, 24px) !important;
  border-radius: 12px !important;
}

.ps-sol-desc {
  display: none !important;
}

.ps-sol-card {
  padding: 8px 10px !important;
  gap: 6px !important;
}

.ps-sol-name {
  font-size: 12px !important;
}

.ps-illust {
  width: clamp(60px, 6vw, 90px) !important;
}

.ps-bubble-list li {
  font-size: 12px !important;
}

/* PS arrows: PCでは非表示 */
#psArrows {
  display: none !important;
}

#psDots {
  display: none !important;
}

.ps-counter {
  font-size: 14px;
  font-weight: 700;
  color: var(--sub);
  min-width: 40px;
  text-align: center;
}

/* ── PAIN/SOLUTION NEW LAYOUT ── */
.ps-block {
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.ps-grid {
  flex: 1;
}

.ps-sol {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ps-sol-cards {
  flex: 1;
}

.ps-block-1 {
  background: #fff;
  border: 1px solid var(--border);
}

/* ナレッジ活用 */
.ps-block-2 {
  background: #fff;
  border: 1px solid var(--border);
}

/* データ分析 */
.ps-block-3 {
  background: #fff;
  border: 1px solid var(--border);
}

/* データ分析: 薄オレンジ */
.ps-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(12px, 2vw, 24px) 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ps-divider::before,
.ps-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ps-sol-header {
  margin-bottom: 28px;
}

.ps-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ps-category-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
}

.ps-category-tag-1 {
  background: #c7d2fe;
  color: #3730a3;
}

.ps-category-tag-2 {
  background: #bbf7d0;
  color: #166534;
}

.ps-category-tag-3 {
  background: #fed7aa;
  color: #9a3412;
}

.ps-sol-title {
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 24px;
}

.ps-sol-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-sol-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ps-sol-icon {
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
  display: flex;
  align-items: flex-start;
}

.ps-sol-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.ps-sol-desc {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.7;
}

/* 事例ボタン強調 */
.ps-case-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 205, 0.2);
  width: 100%;
}

.ps-case-link:hover {
  background: #0000a8;
  transform: translateY(-1px);
}

.ps-pain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ps-illust {
  width: clamp(300px, 38vw, 520px);
  height: auto;
  object-fit: contain;
}

.ps-sol-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.ps-bubble-wrap {
  width: 100%;
}

.ps-bubble {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 20px 22px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ps-bubble::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 24px;
  border: 10px solid transparent;
  border-bottom-color: #fff;
  border-top: 0;
  filter: drop-shadow(0 -2px 1px rgba(0, 0, 0, 0.06));
}

.ps-bubble-right::before {
  left: auto;
  right: 24px;
}

.ps-bubble-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

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

.ps-bubble-list li {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.ps-bubble-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-l);
  border: 2px solid var(--red);
}

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

  .ps-illust {
    width: clamp(160px, 55vw, 260px);
  }

  /* SP: ps-block scroll */
  #pain.section {
    padding: clamp(32px, 5vw, 56px) 0 0 !important;
  }

  #pain > div {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
  }

  #pain .section-head {
    padding-left: clamp(20px, 6vw, 80px) !important;
    padding-right: clamp(20px, 6vw, 80px) !important;
    margin-bottom: 20px !important;
  }

  #pain .section-head .title-lg {
    font-size: 20px !important;
  }

  #pain .ps-scroll-wrap {
    position: relative;
    width: 100vw;
    overflow: hidden;
  }

  #pain .section-inner {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important;
    scrollbar-width: none;
    padding: 0 clamp(16px, 5vw, 24px) !important;
    scroll-padding-left: clamp(16px, 5vw, 24px);
  }

  #pain .section-inner::-webkit-scrollbar {
    display: none;
  }

  #pain .section-inner .ps-block {
    flex: 0 0 calc(100vw - clamp(32px, 10vw, 48px)) !important;
    width: calc(100vw - clamp(32px, 10vw, 48px)) !important;
    max-width: calc(100vw - clamp(32px, 10vw, 48px)) !important;
    min-width: 0 !important;
    scroll-snap-align: start;
    box-sizing: border-box;
    border-radius: 16px !important;
    padding: 20px clamp(16px, 4vw, 24px) 24px !important;
    margin: 0 clamp(8px, 2.5vw, 12px) !important;
  }

  .ps-sol-header {
    margin-bottom: 10px !important;
  }

  .ps-category-tag {
    font-size: 11px !important;
    padding: 2px 8px !important;
    margin-bottom: 6px !important;
  }

  .ps-sol-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  .ps-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .ps-sol-cards {
    gap: 6px !important;
  }

  .ps-sol-card {
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  .ps-sol-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .ps-sol-name {
    font-size: 13px !important;
    margin-bottom: 2px !important;
  }

  .ps-sol-desc {
    display: none !important;
  }

  .ps-case-link {
    padding: 8px 12px !important;
    font-size: 12px !important;
    margin-top: 10px !important;
  }

  .ps-illust {
    width: 130px !important;
  }

  .ps-pain {
    gap: 8px !important;
  }

  .ps-bubble {
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }

  .ps-bubble-title {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }

  .ps-bubble-list {
    gap: 4px !important;
  }

  .ps-bubble-list li {
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding-left: 14px !important;
  }

  .ps-bubble-list li::before {
    width: 6px !important;
    height: 6px !important;
    top: 5px !important;
  }

  .ps-divider {
    display: none;
  }

  /* scroll arrows */
  .ps-scroll-arrows {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
  }

  .ps-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
  }

  .ps-arrow-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
  }

  .ps-arrow-btn:hover svg {
    stroke: #fff;
  }

  .ps-arrow-btn svg {
    stroke: var(--blue);
  }

  .ps-scroll-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
  }

  .ps-scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.25s;
    cursor: pointer;
  }

  .ps-scroll-dot.active {
    background: var(--blue);
    width: 24px;
    border-radius: 4px;
  }
}

@media (max-width: 768px) {
  #psArrows {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding-bottom: 16px;
  }

  #psDots {
    display: flex !important;
    padding-bottom: 8px;
  }
}

/* === block 4 (was lines 2950-2987) === */
.case-result-top {
  margin-bottom: 16px;
  padding: 14px 18px;
  background: var(--blue);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.case-result-top .rt-sep {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 7px 0;
}

.case-kpi-highlight {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-kpi-chip {
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--blue-l);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 205, 0.15);
}

/* === block 5 (was lines 3090-3208) === */
#news {
  padding: var(--section-pad);
  background: #fff;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  #newsArrows {
    display: flex !important;
  }

  .news-grid {
    grid-template-columns: repeat(3, 80vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-card {
    scroll-snap-align: start;
  }
}

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s;
  opacity: 0;
  transform: translateY(28px);
}

.news-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 205, 0.1);
}

.news-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-l) 0%, #dde8ff 100%);
  overflow: hidden;
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-thumb-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.news-body {
  padding: 18px 20px 22px;
}

.news-company {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.news-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.65;
}

.news-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--blue-l);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

/* === block 6 (was lines 3985-4030) === */
/* ── SP GLOBAL FIXES ── */
@media (max-width: 640px) {
  .section {
    padding: 48px 20px !important;
  }

  .section-head .title-lg {
    font-size: 22px !important;
  }

  .body-md {
    font-size: 13px !important;
  }

  .ps-block {
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }

  .case-card {
    border-radius: 12px;
  }

  .cases-grid {
    grid-template-columns: 1fr !important;
  }

  .flow-step {
    padding: 14px 0 !important;
  }

  #about > div > div {
    gap: 16px !important;
  }

  .hero-p {
    font-size: 13px !important;
  }

  .btn {
    font-size: 13px !important;
    min-height: 40px !important;
  }
}
