/* せんデータ コーポレートサイト 共通スタイル
   トップ（index.html）と下層ページ（/cases/ /platform/ など）で共有する。
   ページ固有のスタイルは各HTMLの <style> に置く。 */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Helvetica Neue", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}

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

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

/* ===== Variables ===== */
:root {
  --navy: #1a2a4a;
  --navy-light: #243d66;
  --navy-dark: #0e1b30;
  --ocean-deep: #2980b9;
  --ocean-mid: #5dade2;
  --ocean-light: #85c1e9;
  --ocean-sky: #aed6f1;
  --accent: #2e86c1;
  --accent-light: #5dade2;
  --accent-pale: #d6eaf8;
  --teal: #2ab5a0;
  --sky: #eaf4fc;
  --gray-light: #f0f7fc;
  --gray: #dce8f0;
  --text: #333;
  --text-light: #5a6577;
  --white: #fff;
  --section-padding: 120px 0;
  --container-width: 1100px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Fade-in ===== */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 42, 74, 0.06);
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 24px rgba(26, 42, 74, 0.08);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  height: 60px;
  width: auto;
}

.header-logo .brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

nav a,
.header-logo .brand-text {
  white-space: nowrap;
}

/* 別ページ（小売・外食ダッシュボード）への入り口。ページ内の移動と区別するため、ロゴ付きの囲みにする */
nav a.nav-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav a.nav-app img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

nav a.nav-app::after {
  display: none;
}

nav a.nav-app:hover {
  background: var(--navy);
  color: var(--white);
}

/* ダッシュボードのメニュー。PC はボタンで開くパネル、ハンバーガー内では見出し＋リンクを並べて表示する */
.nav-menu {
  position: relative;
}

button.nav-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

button.nav-app svg {
  width: 18px;
  height: 18px;
}

button.nav-app .chev {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

button.nav-app:hover,
.nav-menu.open button.nav-app {
  background: var(--navy);
  color: var(--white);
}

.nav-menu.open button.nav-app .chev {
  transform: rotate(180deg);
}

.nav-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 330px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(26, 42, 74, 0.16);
}

.nav-menu.open .nav-panel {
  display: grid;
  gap: 2px;
}

.nav-panel-label {
  display: none;
}

nav .nav-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: normal;
  transition: background 0.2s ease;
}

nav .nav-panel a::after {
  display: none;
}

nav .nav-panel a:hover,
nav .nav-panel a:focus-visible {
  background: rgba(26, 42, 74, 0.06);
  color: var(--navy);
}

.nav-panel img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-panel b {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.nav-panel small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

@media (max-width: 1080px) {
  .nav-menu {
    width: 100%;
  }

  button.nav-app {
    display: none;
  }

  .nav-panel,
  .nav-menu.open .nav-panel {
    display: grid;
    gap: 4px;
    position: static;
    width: auto;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid var(--gray);
    border-radius: 0;
    box-shadow: none;
    background: none;
  }

  .nav-panel > a {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .nav-panel-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.1em;
    margin-bottom: 2px;
  }

  nav .nav-panel a {
    padding: 8px 0;
  }
}

/* ===== サービスのメニュー：PCはホバー／クリックで開くドロップダウン、スマホはハンバーガー内の開閉 ===== */
button.nav-drop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
}

button.nav-drop .chev {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-svc.open button.nav-drop .chev {
  transform: rotate(180deg);
}

.nav-svc .nav-panel {
  left: -20px;
  right: auto;
  width: 390px;
}

/* ボタンとパネルの間の隙間でホバーが切れないようにする */
.nav-svc .nav-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

nav .nav-panel a.nav-panel-all {
  justify-content: flex-end;
  padding: 10px 12px 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  border-top: 1px solid var(--gray);
  border-radius: 0;
  margin-top: 4px;
}

@media (hover: hover) and (min-width: 1081px) {
  .nav-svc:hover .nav-panel {
    display: grid;
    gap: 2px;
  }

  .nav-svc:hover button.nav-drop .chev {
    transform: rotate(180deg);
  }
}

@media (max-width: 1080px) {
  .nav-svc {
    text-align: center;
  }

  button.nav-drop {
    font-size: 0.85rem;
  }

  .nav-svc .nav-panel,
  .nav-svc .nav-panel::before {
    display: none;
  }

  .nav-svc.open .nav-panel {
    display: grid;
    width: auto;
    padding: 12px 0 4px;
    margin-top: 14px;
    text-align: left;
  }

  nav .nav-panel a.nav-panel-all {
    justify-content: center;
    border-top: 0;
    margin-top: 0;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* メニューが1行に収まらない幅は、スマホと同じハンバーガーに切り替える（640px 以下の指定は下の @media にある） */
@media (max-width: 1080px) {
  header nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 28px 24px;
    gap: 22px;
    border-bottom: 1px solid var(--gray);
    box-shadow: 0 8px 30px rgba(26, 42, 74, 0.1);
  }

  header nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--teal));
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-navy {
  color: var(--white);
  background: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
}

.btn-outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--accent-pale);
  transition: border-color 0.3s ease;
}

.text-link:hover {
  border-bottom-color: var(--accent);
}

/* ===== Section Common ===== */
.section-title {
  text-align: center;
  margin-bottom: 72px;
}

.section-title .label {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section-title .section-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 20px;
  line-height: 1.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  margin: 24px auto 0;
}

.section-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* Wave divider */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  display: block;
}

/* ===== Status badge ===== */
.status-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.6;
  white-space: nowrap;
}

.status-badge.live { background: rgba(42, 181, 160, 0.14); color: #1d8f7d; }
.status-badge.trial { background: rgba(230, 126, 34, 0.14); color: #b95c0a; }
.status-badge.free { background: var(--accent-pale); color: var(--accent); }

/* ===== Product cards（トップと下層の「関連プロダクト」で共用） ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 20px;
  padding: 36px 32px 30px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 42, 74, 0.1);
}

.product-card .product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.product-card .product-verb {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.product-card h3 small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.product-card .product-lead {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 14px;
}

.product-card .product-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 22px;
  line-height: 1.8;
}

.product-card .product-meta b {
  color: var(--navy);
  font-weight: 700;
  margin-right: 6px;
}

.product-card .product-live {
  font-size: 0.8rem;
  color: var(--navy);
  background: var(--gray-light);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.product-card .product-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.product-card .product-note {
  font-size: 0.72rem;
  color: var(--text-light);
}

.product-card.is-base {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
  color: var(--white);
}

.product-card.is-base::before {
  background: linear-gradient(90deg, var(--ocean-mid), var(--teal));
}

.product-card.is-base .product-verb { color: var(--ocean-light); }
.product-card.is-base h3 { color: var(--white); }
.product-card.is-base h3 small { color: rgba(255, 255, 255, 0.6); }
.product-card.is-base .product-lead { color: rgba(255, 255, 255, 0.85); }
.product-card.is-base .product-meta { color: rgba(255, 255, 255, 0.6); }
.product-card.is-base .product-meta b { color: var(--white); }

.product-card.is-base .product-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.product-card.is-base .product-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card.is-base .product-flow span {
  display: block;
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.product-card.is-base .product-flow span + span::before {
  content: "↓";
  display: block;
  color: rgba(255, 255, 255, 0.4);
  margin: -6px 0 2px;
  font-size: 0.8rem;
}

/* ===== 下層ページ：ページヘッダー ===== */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 150px 24px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 320px at 85% 20%, rgba(93, 173, 226, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 10% 90%, rgba(42, 181, 160, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.35);
}

.page-hero .label {
  font-size: 0.75rem;
  color: var(--ocean-light);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.page-hero .lead {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  max-width: 720px;
}

.page-hero .status-badge {
  margin-left: 14px;
  vertical-align: middle;
}

/* ===== 下層ページ：本文 ===== */
.content-section {
  padding: 96px 0;
}

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

.content-section h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
}

.content-section h3 {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  margin: 36px 0 12px;
}

.content-section p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 18px;
}

.content-section .note {
  font-size: 0.8rem;
  color: var(--text-light);
}

.content-section .intro {
  max-width: 760px;
  margin-bottom: 40px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.92rem;
  line-height: 1.9;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-pale), #e0f5f1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232e86c1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.check-list li b {
  color: var(--navy);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 42, 74, 0.05);
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray);
  line-height: 1.7;
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td:first-child {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 流れ図（横並びの箱と矢印） */
.flow {
  display: grid;
  grid-template-columns: repeat(var(--flow-cols, 4), 1fr);
  gap: 12px;
  align-items: stretch;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 16px;
  padding: 26px 20px 22px;
  text-align: center;
}

.flow-step::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 2px;
  background: var(--gray);
}

.flow-step h4 {
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.flow-step p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* 特徴カード */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 16px;
  padding: 28px 24px;
}

.feature-card h4 {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
  margin: 0;
}

.feature-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-pale), #e0f5f1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* 事例カード */
.case-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 20px;
  padding: 40px 36px;
  margin-bottom: 28px;
  scroll-margin-top: 100px;
}

.case-card .case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-pale);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.case-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 24px;
}

.case-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-col h4 {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.case-col li {
  font-size: 0.86rem;
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
}

.case-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}

.case-col.result li::before {
  background: var(--teal);
}

.case-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--gray);
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.case-foot b {
  color: var(--navy);
}

/* ===== CTA帯 ===== */
.cta-band {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 60%, var(--teal) 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  max-width: 620px;
  margin: 0 auto 32px;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--navy);
}

/* ===== 関連リンク ===== */
.related {
  padding: 72px 0;
  background: var(--white);
}

.related h2 {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-item {
  display: block;
  background: var(--gray-light);
  border: 1px solid var(--gray);
  border-radius: 14px;
  padding: 20px 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 42, 74, 0.08);
}

.related-item .related-label {
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 4px;
}

.related-item .related-name {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}

.related-item p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ===== Footer ===== */
footer {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(26, 42, 74, 0.06);
  padding: 36px 24px;
  position: relative;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 52px;
  width: auto;
}

.footer-brand span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.78rem;
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

footer small {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ===== Responsive（共通部分） ===== */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card.is-base .product-inner {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .case-body {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -12px;
    left: 50%;
    width: 2px;
    height: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 80px 0;
  }

  header .container {
    height: 92px;
  }

  .header-logo img {
    height: 48px;
  }

  .header-logo .brand-text {
    font-size: 0.9rem;
  }

  header nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 28px 24px;
    gap: 22px;
    border-bottom: 1px solid var(--gray);
    box-shadow: 0 8px 30px rgba(26, 42, 74, 0.1);
  }

  header nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .section-title {
    margin-bottom: 48px;
  }

  .product-card {
    padding: 28px 22px 24px;
  }

  .page-hero {
    padding: 130px 24px 60px;
  }

  .content-section {
    padding: 64px 0;
  }

  .case-card {
    padding: 28px 22px;
  }

  .data-table th,
  .data-table td {
    padding: 12px 12px;
    font-size: 0.82rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 画面には出さず、読み上げ・検索用に残すテキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
