/* =========================================================
   SKYGAUGE — style.css
   Variant C（採用デザイン）を Vanilla CSS へ移植したもの。
   ========================================================= */

/* ---------- 1. CSS変数（トークン） ---------- */
:root {
  /* カラー */
  --color-primary: #0b5fff;
  --color-accent: #00c2a8;
  --color-heading: #0a2540;
  --color-text: #0e1726;
  --color-text-muted: #5b6675;
  --color-background: #ffffff;
  --color-background-subtle: #f4f7fa;
  --color-border: #e3e8ee;

  /* 補助トーン（画像オーバーレイ・グラデーション用の深色） */
  --color-overlay-deep: #0a1726;
  --color-overlay-deep-2: #13325f;
  --color-scrim: #060f1c;

  /* フォント */
  --font-display: "Space Grotesk", "Inter", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --font-sans: "Inter", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 角丸 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* 余白（PC基準） */
  --section-padding-y: 120px;
  --section-padding-x: 80px;
  --section-max-width: 1280px;
  --nav-max-width: 1440px;
  --card-gap-sm: 16px;
  --card-gap-md: 24px;
  --card-gap-lg: 32px;

  /* ヘッダー基準オフセット（アンカースクロール用） */
  --header-offset: 72px;

  /* シャドウ */
  --shadow-card: 0 4px 20px rgba(10, 37, 64, 0.04);
  --shadow-card-lg: 0 4px 24px rgba(10, 37, 64, 0.04);
  --shadow-btn-primary: 0 10px 30px rgba(11, 95, 255, 0.4);
  --shadow-btn-accent: 0 10px 30px rgba(0, 194, 168, 0.4);
}

/* ---------- 2. リセット / 基本設定 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* JSでオフセット付きスクロールを行うため既定はauto */
}

body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* 上記のリセットが [hidden] より優先されてしまうため、明示的に上書きする */
[hidden] {
  display: none;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.2;
}

/* ---------- 3. 共通レイアウト ---------- */
.sg-section {
  padding: var(--section-padding-y) var(--section-padding-x);
  background: var(--color-background);
}

.sg-section--soft {
  background: var(--color-background-subtle);
}

.sg-section__inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
}

.sg-section__header {
  text-align: center;
  margin: 0 auto 64px;
}

.sg-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(11, 95, 255, 0.08);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.sg-section__title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.sg-section__lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 24px auto 0;
}

#product .sg-section__lead {
  max-width: 900px;
}

#software .sg-section__lead {
  max-width: 960px;
}

/* スクロールフェードイン（JS有効時のみ非表示から開始） */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

html.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 4. ボタン ---------- */
.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  white-space: nowrap;
}

.sg-btn--primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 95, 255, 0.3);
}

.sg-btn--accent {
  background: var(--color-accent);
  color: var(--color-heading);
  font-weight: 700;
}

.sg-btn--lg {
  padding: 16px 28px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.sg-btn--primary.sg-btn--lg {
  box-shadow: var(--shadow-btn-primary);
}

.sg-btn--accent.sg-btn--lg {
  box-shadow: var(--shadow-btn-accent);
}

.sg-check {
  font-weight: 700;
  color: var(--color-accent);
}

/* ---------- 5. お知らせバー ---------- */
.sg-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 51;
  background: linear-gradient(90deg, var(--color-overlay-deep), var(--color-overlay-deep-2));
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
}

.sg-notice__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
}

.sg-notice__tag {
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--color-accent);
  color: var(--color-heading);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: var(--radius-pill);
}

.sg-notice__text {
  flex: 1;
  line-height: 1.5;
}

.sg-notice__text strong {
  font-weight: 700;
}

.sg-notice__text span {
  opacity: 0.85;
  margin-left: 12px;
}

.sg-notice__link {
  flex-shrink: 0;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.sg-notice__close {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}

.sg-notice[hidden] {
  display: none;
}

/* ---------- 6. 固定ヘッダー / ナビゲーション ---------- */
/* ヘッダーはHero上に透過オーバーレイとして重なる仕様のため、
   main側で確保するのはお知らせバーの高さ分のみとする。
   （ヘッダー分まで確保すると、Hero先頭が白い本文背景の上に
   浮いてしまい、透過時の白文字ナビが見えなくなる） */
main {
  padding-top: var(--notice-height, 0px);
}

.sg-header {
  position: fixed;
  top: var(--notice-height, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, top 0.3s ease;
}

.sg-header.is-solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}

.sg-nav {
  max-width: var(--nav-max-width);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.sg-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sg-nav__partner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sg-nav__partner-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  transition: color 0.35s ease;
}

.sg-header.is-solid .sg-nav__partner-name {
  color: var(--color-heading);
}

.sg-nav__divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  transition: color 0.35s ease;
}

.sg-header.is-solid .sg-nav__divider {
  color: var(--color-border);
}

.sg-partner-mark {
  width: 26px;
  height: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.sg-partner-mark span {
  background: #ffffff;
  border-radius: 2px;
  transition: background 0.35s ease;
}

.sg-header.is-solid .sg-partner-mark span {
  background: var(--color-heading);
}

.sg-partner-mark--sm {
  width: 20px;
  height: 20px;
}

.sg-nav__logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-nav__name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.35s ease;
}

.sg-header.is-solid .sg-nav__name {
  color: var(--color-heading);
}

.sg-nav__menu {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
}

.sg-nav__link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.sg-header.is-solid .sg-nav__link {
  color: var(--color-text-muted);
}

.sg-nav__link.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.sg-header.is-solid .sg-nav__link.is-active {
  background: rgba(11, 95, 255, 0.08);
  color: var(--color-primary);
}

.sg-nav__cta {
  flex-shrink: 0;
}

/* ---------- 7. Hero ---------- */
.sg-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--color-heading);
}

.sg-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sg-hero__video,
.sg-hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-heading);
}

.sg-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sg-hero__overlay--diagonal {
  background: linear-gradient(
    100deg,
    rgba(6, 15, 28, 0.86) 0%,
    rgba(6, 15, 28, 0.62) 34%,
    rgba(6, 15, 28, 0.28) 60%,
    rgba(6, 15, 28, 0.05) 100%
  );
}

.sg-hero__overlay--vertical {
  background: linear-gradient(
    180deg,
    rgba(6, 15, 28, 0.4) 0%,
    transparent 22%,
    transparent 55%,
    rgba(6, 15, 28, 0.5) 100%
  );
}

.sg-hero__inner {
  position: relative;
  height: 100%;
  max-width: var(--nav-max-width);
  margin: 0 auto;
  padding: 120px 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sg-hero__content {
  max-width: 720px;
}

.sg-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10, 20, 34, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 26px;
}

.sg-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.27);
}

.sg-hero__title {
  font-size: 82px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  color: #ffffff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.sg-hero__title-highlight {
  background: linear-gradient(120deg, #5aa0ff, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sg-hero__lead {
  display: inline-block;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 34px;
  max-width: 580px;
  padding: 16px 20px;
  background: rgba(8, 16, 28, 0.45);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 8. 製品概要 ---------- */
.sg-product__top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--card-gap-lg);
  align-items: stretch;
  margin-bottom: var(--card-gap-md);
}

.sg-product__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-background-subtle);
  min-height: 440px;
  border: 1px solid var(--color-border);
}

.sg-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-product__points {
  display: grid;
  gap: var(--card-gap-sm);
  align-content: start;
}

.sg-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: var(--card-gap-md);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.sg-point__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.13), rgba(0, 194, 168, 0.13));
  color: var(--color-primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-point__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sg-point__desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
}

.sg-payload-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 32px;
}

.sg-payload-header__title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.sg-payload-header__lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
}

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

.sg-detail-grid + .sg-detail-grid {
  margin-top: 20px;
}

.sg-detail-grid--centered {
  display: flex;
  justify-content: center;
}

.sg-detail-grid--centered .sg-detail-card {
  flex: 0 1 calc((100% - 40px) / 3);
}

.sg-detail-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-background);
}

.sg-detail-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-background-subtle);
  min-height: 140px;
}

.sg-detail-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-detail-card__body {
  padding: var(--card-gap-md);
}

.sg-detail-card__title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sg-detail-card__desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- 9. 特徴・機能 ---------- */
.sg-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap-md);
}

.sg-feature-card {
  position: relative;
  padding: var(--card-gap-lg);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.sg-feature-card__metric {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-heading);
  line-height: 1.3;
}

.sg-feature-card__metric-sub {
  font-size: 20px;
}

.sg-feature-card__title {
  font-size: 19px;
  font-weight: 700;
  margin: 16px 0 10px;
}

.sg-feature-card__desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- 10. 用途・活用シーン ---------- */
.sg-usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap-sm);
}

.sg-usecase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-heading);
  aspect-ratio: 5 / 4;
}

.sg-usecase-card__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-usecase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 23, 38, 0.78) 100%);
  pointer-events: none;
}

.sg-usecase-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 6px 12px;
  background: var(--color-accent);
  color: var(--color-heading);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
}

.sg-usecase-card__body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
}

.sg-usecase-card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.sg-usecase-card__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* ---------- 11. 仕様・スペック ---------- */
.sg-specs__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-lg);
  padding: 48px;
}

.sg-specs__table {
  margin: 0;
}

.sg-specs__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.sg-specs__row--last {
  border-bottom: 0;
}

.sg-specs__key {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.sg-specs__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--color-heading);
  font-weight: 600;
}

.sg-specs__media {
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-heading);
}

.sg-specs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-specs__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 38, 0.5) 0%, transparent 30%, transparent 70%, rgba(10, 23, 38, 0.6) 100%);
  pointer-events: none;
}

/* ---------- 12. ソフトウェア ---------- */
.sg-software__top {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: var(--card-gap-lg);
}

.sg-software__list {
  display: grid;
  gap: var(--card-gap-sm);
  align-content: start;
}

.sg-software-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--color-background-subtle);
  border-radius: var(--radius-md);
}

.sg-software-item__index {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.06);
}

.sg-software-item__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.sg-software-item__desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
}

.sg-software__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-heading);
  border: 1px solid var(--color-border);
  min-height: 440px;
}

.sg-software__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-software__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 38, 0.35) 0%, transparent 30%, transparent 55%, rgba(10, 23, 38, 0.82) 100%);
  pointer-events: none;
}

.sg-software__media-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
}

.sg-software__media-caption h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.sg-software__media-caption p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.sg-report {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card-lg);
}

.sg-report__media {
  width: 300px;
  aspect-ratio: 529 / 674;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-background);
  box-shadow: 0 16px 44px rgba(10, 37, 64, 0.16);
  border: 1px solid var(--color-border);
}

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

.sg-report__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.sg-report__title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.sg-report__desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  max-width: 560px;
}

.sg-report__checklist {
  display: grid;
  gap: 10px;
}

.sg-report__checklist li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  color: var(--color-heading);
}

/* ---------- 13. 導入の流れ ---------- */
.sg-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap-sm);
}

.sg-process-step {
  position: relative;
  padding: var(--card-gap-md);
  background: var(--color-background);
  border-radius: var(--radius-md);
}

.sg-process-step__index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.sg-process-step__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sg-process-step__desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- 14. 販売・サポート ---------- */
.sg-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sg-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--card-gap-lg);
  border-radius: 18px;
  background: var(--color-background);
  color: var(--color-heading);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.sg-plan-card--featured {
  background: linear-gradient(160deg, var(--color-heading), var(--color-overlay-deep-2));
  color: #ffffff;
  border: 0;
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.2);
}

.sg-plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--color-accent);
  color: var(--color-heading);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.sg-plan-card__name {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
}

.sg-plan-card__tagline {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 24px;
  line-height: 1.5;
}

.sg-plan-card__points {
  margin: 0 0 28px;
}

.sg-plan-card__points li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.6;
}

.sg-plan-card--featured .sg-check {
  color: var(--color-accent);
}

.sg-plan-card:not(.sg-plan-card--featured) .sg-check {
  color: var(--color-primary);
}

.sg-plan-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* ---------- 15. 会社概要 ---------- */
.sg-company__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
  background: var(--color-background);
  padding: 48px;
  border-radius: var(--radius-xl);
}

.sg-company__blurb {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-muted);
  margin: 0 0 28px;
}

.sg-company__link {
  text-decoration: none;
}

.sg-company__table {
  margin: 0;
}

.sg-company__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
}

.sg-company__row:first-child {
  border-top: 0;
}

.sg-company__term {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.sg-company__desc {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sg-company__desc a {
  color: inherit;
}

/* ---------- 16. お問い合わせ ---------- */
.sg-contact__form {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  background: var(--color-background-subtle);
  border-radius: var(--radius-xl);
  display: grid;
  gap: 20px;
}

.sg-form-group {
  display: block;
}

.sg-form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-heading);
  margin-bottom: 8px;
  font-weight: 600;
}

.sg-form-required {
  color: var(--color-primary);
  margin-left: 4px;
}

.sg-form-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-left: 10px;
}

.sg-form-input,
.sg-form-textarea,
.sg-form-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  color: var(--color-heading);
  font-family: var(--font-sans);
  font-size: 14px;
  border-radius: var(--radius-sm);
  outline: none;
}

.sg-form-input:focus,
.sg-form-textarea:focus,
.sg-form-select:focus {
  border-color: var(--color-primary);
}

.sg-form-input.is-invalid,
.sg-form-textarea.is-invalid,
.sg-form-select.is-invalid {
  border-color: #d3242f;
}

.sg-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sg-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-heading);
  border-radius: var(--radius-sm);
}

.sg-checkbox input {
  accent-color: var(--color-primary);
}

/* 「ご依頼内容」用のトグルボタン表現（元デザイン準拠：選択すると青に反転） */
.sg-checkbox--toggle {
  padding: 10px 18px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sg-checkbox--toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.sg-checkbox--toggle.is-selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.cf-turnstile {
  margin-top: 4px;
}

.sg-form-error-text {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #d3242f;
}

.sg-form-submit {
  margin-top: 8px;
  padding: 16px 28px;
  box-shadow: 0 8px 24px rgba(11, 95, 255, 0.25);
}

.sg-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sg-form-result {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.sg-form-result--success {
  background: rgba(0, 194, 168, 0.12);
  color: #067a68;
}

.sg-form-result--error {
  background: rgba(211, 36, 47, 0.1);
  color: #d3242f;
}

/* ---------- 17. フッター ---------- */
.sg-footer {
  padding: 40px 80px;
  background: var(--color-heading);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-sans);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sg-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sg-footer__logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-footer__note {
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  font-size: 11px;
}

/* ---------- 18. フォームのエラー表示 ---------- */
.sg-checkbox-group.is-invalid {
  outline: 1px solid #d3242f;
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* =========================================================
   レスポンシブ
   PC: 1025px以上（上記が基準値）
   タブレット: 641px〜1024px
   スマートフォン: 640px以下
   ========================================================= */

/* ---------- タブレット ---------- */
@media (max-width: 1024px) {
  .sg-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .sg-nav {
    padding-left: 24px;
    padding-right: 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .sg-nav__menu {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .sg-hero__inner {
    padding: 200px 40px 56px;
    justify-content: flex-start;
  }

  .sg-hero__title {
    font-size: 60px;
  }

  .sg-section__title {
    font-size: 40px;
  }

  .sg-features__grid,
  .sg-usecases__grid,
  .sg-plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sg-process__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sg-specs__panel,
  .sg-software__top,
  .sg-contact__form,
  .sg-company__grid {
    grid-template-columns: 1fr;
  }

  .sg-specs__media {
    position: static;
  }

  .sg-product__top {
    grid-template-columns: 1fr;
  }

  .sg-software__top,
  .sg-report {
    grid-template-columns: 1fr;
  }

  .sg-report__media {
    width: 100%;
    max-width: 340px;
  }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 640px) {
  .sg-section {
    padding: 64px 20px;
  }

  .sg-nav {
    padding: 12px 16px;
  }

  .sg-nav__cta {
    display: none;
  }

  .sg-hero {
    min-height: 620px;
  }

  .sg-hero__inner {
    padding: 150px 20px 48px;
    justify-content: flex-start;
  }

  .sg-hero__title {
    font-size: 42px;
    line-height: 1.1;
  }

  .sg-hero__lead {
    font-size: 16px;
  }

  .sg-section__title {
    font-size: 30px;
    line-height: 1.2;
  }

  .sg-point__title,
  .sg-detail-card__title {
    font-size: 18px;
  }

  .sg-features__grid,
  .sg-usecases__grid,
  .sg-plans__grid,
  .sg-process__grid,
  .sg-product__top,
  .sg-detail-grid,
  .sg-software__top,
  .sg-report {
    grid-template-columns: 1fr;
  }

  .sg-detail-grid--centered {
    flex-direction: column;
  }

  .sg-detail-grid--centered .sg-detail-card {
    flex-basis: auto;
  }

  .sg-report__media {
    width: 100%;
    max-width: 300px;
  }

  .sg-company__grid {
    padding: 24px;
  }

  .sg-company__row {
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }

  .sg-contact__form {
    padding: 20px;
  }

  .sg-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 32px 20px;
  }

  .sg-notice__inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .sg-notice__text span {
    display: block;
    margin: 4px 0 0 0;
    font-size: 12px;
  }
}
