/* ===== Base ===== */
:root {
  --black: #0E1116;
  --black-soft: #171923;
  --ink: #1A202C;
  --text-sub: #4A5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --border: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.14);
  --blue-600: #2166A8;
  --blue-500: #1873AC;
  --blue-400: #1288CE;
  --blue-200: #5FBCE9;
  --navy-900: #0F2B50;
  --teal-500: #14B8A6;
  --cyan-400: #22D3EE;
  --mint-400: #4AE3B5;
  --grad-accent: linear-gradient(90deg, #1288CE 0%, #18B7C4 55%, #4AE3B5 100%);
  --grad-accent-bright: linear-gradient(90deg, #5FBCE9 0%, #6FE3E1 55%, #A7F3D0 100%);
  --grad-deep: linear-gradient(135deg, #0C2A4E 0%, #0E7490 55%, #2DD4BF 100%);
  --grad-btn: linear-gradient(90deg, #1288CE 0%, #18B7C4 45%, #34D399 100%);
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --header-h: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pc-only { display: inline; }
.sp-only { display: none; }

.grad-text {
  background: var(--grad-accent-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-text-dark {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* スクロールで浮かび上がる演出（クラスはJSが付与） */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 17, 22, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 32px;
}

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

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.global-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  transition: opacity 0.2s;
}

.global-nav a:hover { opacity: 0.7; }

.global-nav .nav-cta {
  background: var(--grad-btn);
  color: #fff;
  padding: 11px 28px;
  border-radius: 9999px;
  font-size: 13px;
  transition: box-shadow 0.25s, filter 0.25s, opacity 0.2s;
}

.global-nav .nav-cta:hover {
  opacity: 1;
  filter: brightness(1.12);
  box-shadow: 0 0 20px rgba(74, 227, 181, 0.5);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -8px; }
.nav-toggle-bar::after { left: 0; top: 8px; }

.nav-toggle.is-open .nav-toggle-bar { background: transparent; }
.nav-toggle.is-open .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(60% 80% at 82% 45%, rgba(18, 136, 206, 0.24) 0%, rgba(18, 136, 206, 0) 70%),
    radial-gradient(55% 70% at 8% 85%, rgba(14, 116, 144, 0.32) 0%, rgba(14, 116, 144, 0) 70%),
    radial-gradient(40% 50% at 45% 110%, rgba(52, 211, 153, 0.14) 0%, rgba(52, 211, 153, 0) 70%),
    radial-gradient(120% 120% at 85% 20%, #12222E 0%, var(--black) 55%);
  color: #fff;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* bottom glow rising into the hero */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(34, 211, 238, 0.26) 0%, rgba(34, 211, 238, 0) 100%);
  pointer-events: none;
}

/* glowing horizon line at the bottom edge */
.hero-horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(to right, rgba(34, 211, 238, 0) 0%, rgba(34, 211, 238, 0.9) 35%, rgba(74, 227, 181, 0.9) 65%, rgba(74, 227, 181, 0) 100%);
  box-shadow: 0 0 26px 3px rgba(45, 212, 191, 0.55);
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: min(46vw, 560px);
  opacity: 0.55;
  filter: saturate(1.05) drop-shadow(0 0 60px rgba(34, 211, 238, 0.45));
  pointer-events: none;
}

.hero-mark img { width: 100%; }

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 140px;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  background: var(--grad-accent-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero h1 {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.hero-sub {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.9);
}

.hero-lead {
  margin-top: 32px;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.68);
  max-width: 50em;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  left: 34px;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(95, 188, 233, 0.9), rgba(95, 188, 233, 0));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.75); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 15px 44px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-align: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s;
}

.btn-light {
  background: #fff;
  color: var(--black);
}

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

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-dark {
  background: var(--black);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-dark:hover { background: var(--teal-500); }

.btn-grad {
  background: var(--grad-btn);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 24px rgba(14, 116, 144, 0.4);
  transition: box-shadow 0.25s, filter 0.25s, transform 0.25s;
}

.btn-grad:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 32px rgba(74, 227, 181, 0.5);
  transform: translateY(-1px);
}

/* ===== Sections ===== */
.section { padding: 120px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.section-label {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  margin-top: 28px;
  color: var(--text-sub);
  font-size: 15px;
}

/* ===== About / Strength ===== */
.about-statement {
  margin-top: 56px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.strength-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.strength-item {
  padding: 40px 32px;
  border-left: 1px solid var(--border);
}

.strength-item:first-child { border-left: none; }

.strength-num {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.strength-item h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.strength-item p:last-child {
  margin-top: 12px;
  font-size: 14px;
  line-height: 2;
  color: var(--text-sub);
}


/* ===== Group ===== */
.group-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.group-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.group-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
}

.group-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 43, 80, 0.12);
}

.group-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* 各社サイトのファーストビューに掲げられているメッセージ。カードの主役として扱う。
   文字数が会社ごとに大きく違うので、3行分の高さを確保して上下中央に置き、
   下に続く要素の開始位置を3枚で揃える */
.group-tagline {
  display: flex;
  align-items: center;
  margin-top: 26px;
  min-height: 3.6em; /* 2行分 = line-height 1.8 × 2 */
  font-family: var(--font-serif);
  /* 1行に収まる上限は18px（必要幅293px／使える幅271px）だが、
     モバイルでは余裕が1pxしかなく、Webフォントの読み込みに失敗して
     フォールバックになると折り返すため17pxにする */
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.group-tagline span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.group-domain {
  /* 1行の会社と2行の会社があるため、確保した高さの中で上下中央に置く。
     上寄せだと1行の会社だけ罫線までの余白が広く見える */
  display: flex;
  align-items: center;
  margin-top: 14px;
  min-height: 60px; /* 2行分(約41px) + padding-bottom 18px。端数で1pxずれるため固定値 */
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 各社の要点。段落から独立させることで、強調が行をまたいで割れるのを防ぐ。
   1行/2行の差で下の説明文がずれないよう2行分の高さを確保する */
.group-point {
  position: relative;
  margin-top: 20px;
  min-height: 3.7em; /* 2行分 = line-height 1.85 × 2 */
  padding-left: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.group-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  bottom: 0.4em;
  width: 3px;
  border-radius: 2px;
  background: var(--grad-accent);
}

.group-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2.05;
  color: var(--text-sub);
}

.group-when {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 8px;
  background: #F5F8FB;
  font-size: 13.5px;
  line-height: 1.8;
  font-weight: 500;
}

.group-when span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-500);
}

/* カード上部：代表者の顔と会社名をセットで見せる */
.group-head {
  display: flex;
  align-items: center;
  gap: 15px;
  /* 社名が2行になる会社（Frontegrity Consulting）に高さを合わせ、
     3枚の役割ラベル以降の位置を揃える */
  min-height: 124px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.group-head-body { min-width: 0; }

.group-rep-photo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-accent) border-box;
}

.group-rep-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.group-rep {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-sub);
}

.group-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-500);
  transition: opacity 0.2s;
}

.group-link span { margin-left: 4px; }
.group-link:hover { opacity: 0.65; }

/* テキストリンクは行高のままだとスマホで押しづらいため、
   レイアウトを崩さずに当たり判定だけ広げる。
   高さは隣接するリンクと重ならない範囲で最大にとる */
.group-link,
.footer-nav a,
.company-group a { position: relative; }

.group-link::after,
.footer-nav a::after,
.company-group a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
}

/* 会社リストは折り返し時の行間が狭いので、行間を広げたうえで控えめに */
.company-group a::after { height: 40px; }

/* ===== Case Studies ===== */
.section-alt { background: #F5F8FB; }

.case-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 28px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0.85;
}

.case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 4px 14px;
}

.case-coming {
  margin-top: 28px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.case-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ===== News ===== */
.news-list {
  margin-top: 56px;
  list-style: none;
  border-top: 1px solid var(--border);
}

.news-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--border);
}

.news-chip {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-500);
  border: 1px solid currentColor;
  border-radius: 9999px;
  padding: 3px 14px;
}

.news-date {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.news-title {
  font-size: 15px;
  font-weight: 500;
}


/* ===== Company (dark section) ===== */
.section-dark {
  position: relative;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(14, 116, 144, 0.2) 0%, rgba(14, 116, 144, 0) 60%),
    radial-gradient(50% 80% at 90% 100%, rgba(18, 136, 206, 0.1) 0%, rgba(18, 136, 206, 0) 60%),
    var(--black-soft);
  color: #fff;
}

.section-dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(34, 211, 238, 0) 0%, rgba(34, 211, 238, 0.6) 40%, rgba(74, 227, 181, 0.6) 60%, rgba(74, 227, 181, 0) 100%);
}

.section-dark .section-lead { color: rgba(255, 255, 255, 0.7); }

.company-table-wrap { margin-top: 56px; overflow-x: auto; }

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 22px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
  font-size: 15px;
  font-weight: 400;
}

.company-table th {
  width: 200px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  vertical-align: top;
}

.company-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.company-group a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.company-group a span { margin-left: 3px; font-size: 12px; }

.company-group a:hover { color: var(--mint-400); }

.company-parent {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.company-sub {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

.company-parent a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.company-parent a:hover { color: var(--mint-400); }

.note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.section-dark .note { color: rgba(255, 255, 255, 0.45); }

/* ===== CTA band ===== */
.cta-band {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  padding: 88px 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 90% at 80% 100%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 65%),
    radial-gradient(40% 80% at 10% 0%, rgba(18, 136, 206, 0.35) 0%, rgba(18, 136, 206, 0) 65%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  text-align: center;
}

.cta-band-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.cta-band-lead {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn { margin-top: 36px; min-width: 280px; }

/* ===== Contact form ===== */
.contact-form {
  margin-top: 56px;
  max-width: 640px;
}

/* Netlify Forms のハニーポット（人間には見せない） */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-row { margin-bottom: 28px; }

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

.required {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--black);
  border-radius: 3px;
  vertical-align: 2px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #FAFBFC;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.form-submit { margin-top: 40px; }

.form-submit .btn { min-width: 260px; }

/* ===== Mini pages (thanks / 404) ===== */
.mini-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 96px;
  color: #fff;
  background:
    radial-gradient(60% 80% at 78% 40%, rgba(18, 136, 206, 0.24) 0%, rgba(18, 136, 206, 0) 70%),
    radial-gradient(55% 70% at 10% 88%, rgba(14, 116, 144, 0.32) 0%, rgba(14, 116, 144, 0) 70%),
    radial-gradient(120% 120% at 85% 20%, #12222E 0%, var(--black) 55%);
  overflow: hidden;
}

.mini-page .hero-mark {
  right: -12%;
  width: min(50vw, 520px);
  opacity: 0.28;
}

.mini-inner { position: relative; z-index: 1; }

.mini-mark {
  width: 76px;
  margin: 0 auto 32px;
}

.mini-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.24em;
  background: var(--grad-accent-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mini-title {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.mini-lead {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 768px) {
  .mini-page { padding: 96px 0 72px; }
  .mini-actions .btn { flex: 1 1 100%; }
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(14, 116, 144, 0.18) 0%, rgba(14, 116, 144, 0) 60%),
    var(--black);
  color: #fff;
  padding: 72px 0 48px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(34, 211, 238, 0) 0%, rgba(34, 211, 238, 0.5) 40%, rgba(74, 227, 181, 0.5) 60%, rgba(74, 227, 181, 0) 100%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo img { width: 210px; height: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-nav a { opacity: 0.75; transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 1; }

.copyright {
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .strength-grid { grid-template-columns: 1fr; }
  .strength-item { border-left: none; border-top: 1px solid var(--border); padding: 32px 8px; }
  .strength-item:first-child { border-top: none; }

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

  .group-grid { grid-template-columns: 1fr; gap: 20px; }
  .group-link { margin-top: 22px; padding-top: 0; }

}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .container { padding: 0 24px; }

  .header-inner { padding: 0 16px 0 24px; }

  .header-logo img { width: 175px; }

  .nav-toggle { display: block; }

  .global-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--black);
    border-top: 1px solid var(--border-dark);
    display: none;
  }

  .global-nav.is-open { display: block; }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 20px;
  }

  .global-nav li a {
    display: block;
    padding: 14px 28px;
  }

  .global-nav .nav-cta {
    margin: 12px 24px 0;
    border-radius: 9999px;
    text-align: center;
  }

  .hero-mark {
    top: auto;
    bottom: -8%;
    right: -22%;
    transform: none;
    width: 72vw;
    opacity: 0.35;
  }

  .hero-inner { padding-top: 72px; padding-bottom: 96px; }

  .hero-lead { font-size: 14px; }

  .hero-actions .btn { flex: 1 1 100%; }

  .section { padding: 80px 0; }

  .cta-band { padding: 64px 0; }
  .cta-band .btn { min-width: 0; width: 100%; }

  .hero-scroll { display: none; }

  .news-list li { flex-wrap: wrap; gap: 12px 16px; padding: 20px 4px; }
  .news-title { flex-basis: 100%; }

  .global-nav ul { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }

  .section-head { gap: 14px; }

  .company-table th { width: 110px; padding: 18px 4px; font-size: 13px; }
  .company-table td { padding: 18px 4px; font-size: 14px; }
}
