/* splight tracker LP — style.css
   Brand: deep green #2D4A3E / off-white #F5F5F0 / amber #E8A33D */

:root {
  --green: #2D4A3E;
  --green-dark: #1F352C;
  --off-white: #F5F5F0;
  --amber: #E8A33D;
  --amber-dark: #C98420;
  --text: #22302B;
  --text-muted: #566963;
  --border: rgba(45, 74, 62, 0.14);
  --max-width: 1120px;

  /* 260720 追加: 角丸2階層 */
  --radius-sm: 8px;
  --radius-lg: 12px;
  --radius: var(--radius-lg); /* 既存互換エイリアス（カード用） */

  /* 260720 追加: 積層シャドウ（カード級 / ドロワー・モーダル級） */
  --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 10px 20px rgba(20, 30, 26, 0.08), 0 4px 8px rgba(20, 30, 26, 0.06), 0 0 1px rgba(20, 30, 26, 0.08);
  --shadow-drawer: 0 2px 8px rgba(0, 0, 0, 0.06), 0 -6px 12px rgba(0, 0, 0, 0.03), 0 14px 28px rgba(0, 0, 0, 0.08);

  /* 260720 追加: 背景リフト用の淡緑（セクション区切りのリズム） */
  --bg-mint: color-mix(in oklab, var(--green) 6%, #ffffff);

  /* 260720 追加: 淡色チップ（深緑15%） */
  --chip-bg: color-mix(in oklab, var(--green) 15%, transparent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

h1, h2, h3 {
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
  min-width: 0;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

section {
  padding: 72px 0;
}

/* 260720 追加: アンカースクロール時にsticky headerで見出しが隠れないように */
section[id] {
  scroll-margin-top: 84px;
}

/* 260720 追加: フォーカスリング（アクセシビリティ、フォーム要素） */
input, textarea, select {
  outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* 260720 追加: prefers-reduced-motion で全アニメーション/トランジションを無効化 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: #1a1a1a;
  box-shadow: 0 6px 16px rgba(232, 163, 61, 0.35);
}

.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(232, 163, 61, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(232, 163, 61, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 245, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--green);
}

.logo-mark {
  display: inline-flex;
  color: var(--green);
}

.logo-mark-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.logo-wordmark {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
  color: inherit;
}

/* ロゴロックアップ: 会社ロゴ(splight) ＋ 下段 amber TRACKER */
.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  gap: 3px;
}
.logo-splight {
  height: 22px;
  width: auto;
  display: block;
}
.logo-tracker {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--amber);
  padding-left: 2px;
}
@media (max-width: 480px) {
  .logo-splight { height: 19px; }
  .logo-tracker { font-size: 9px; letter-spacing: 3.5px; }
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--amber-dark);
}

/* ---------- Hamburger nav (mobile) ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle svg {
  pointer-events: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 30, 26, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(78vw, 320px);
  background: #fff;
  box-shadow: var(--shadow-drawer);
  padding: 20px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1), visibility 300ms cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-title {
  font-weight: 700;
  color: var(--green);
}

.nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  color: var(--amber-dark);
}

body.nav-open-lock {
  overflow: hidden;
}

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

  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 56px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--off-white) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

/* 260720 変更: amber単色テキストから深緑淡色チップに寄せる（amberはCTA専用へ） */
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  background: var(--chip-bg);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.hero h1 {
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem);
  color: var(--green);
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 46em;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}

/* ---------- Problem ---------- */
.problem {
  background: #fff;
}

.problem h2 {
  color: var(--green);
  max-width: 26em;
}

.lead {
  font-size: 1.05rem;
  max-width: 48em;
}

.problem-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.problem-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- Solution ---------- */
.solution {
  background: var(--green);
  color: #fff;
}

.solution-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.solution h2 {
  color: #fff;
}

.solution .accent {
  color: var(--amber);
}

.solution p {
  color: rgba(255, 255, 255, 0.85);
}

.solution-visual {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Features ---------- */
.features {
  background: var(--off-white);
}

.features h2 {
  color: var(--green);
  text-align: center;
  margin-bottom: 40px;
}

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

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-card h3 {
  color: var(--green);
}

.feature-card p {
  margin-bottom: 0;
}

/* ---------- Apps ---------- */
.apps {
  background: var(--off-white);
}

.apps h2 {
  color: var(--green);
  text-align: center;
  margin-bottom: 40px;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.apps-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apps-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.apps-card--available {
  background: var(--off-white);
}

.apps-card--soon {
  background: var(--off-white);
  opacity: 0.9;
}

.apps-card h3 {
  color: var(--green);
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.store-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #fff;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.store-badge-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.store-badge-status {
  font-size: 0.75rem;
  color: var(--amber);
}

/* ---------- Company / Contact ---------- */
.company {
  background: var(--green-dark);
  color: #fff;
}

.company h2 {
  color: #fff;
}

.company p {
  color: rgba(255, 255, 255, 0.85);
}

.company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.company-info {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
}

.company-info h3 {
  color: var(--amber);
  margin-bottom: 16px;
}

.company-info dl {
  margin: 0;
}

.company-info dl div {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.company-info dl div:last-child {
  border-bottom: none;
}

.company-info dt {
  flex: 0 0 6em;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.company-info dd {
  margin: 0;
}

.company-info a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.9rem;
}

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

.footer-logo {
  height: 20px;
  width: auto;
  display: block;
}

.footer-inner p {
  margin: 0;
  color: inherit;
}

.company-info-logo {
  height: 26px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
}

.footer-inner a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- Legal page ---------- */
.legal {
  background: #fff;
}

.legal-inner {
  max-width: 780px;
}

.legal h1 {
  color: var(--green);
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal h2 {
  color: var(--green);
  font-size: 1.2rem;
  margin-top: 40px;
}

.legal ul {
  color: var(--text-muted);
  padding-left: 24px;
}

.legal-contact {
  margin: 0;
}

.legal-contact div {
  display: flex;
  gap: 12px;
  padding: 6px 0;
}

.legal-contact dt {
  flex: 0 0 8em;
  color: var(--text-muted);
}

/* ============================================================
   260719 追加: TOP簡易化 + 詳細ページ(features/usecase/app)共通
   ============================================================ */

/* ---------- Hero footnote ---------- */
.hero-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero h1 sup,
.eyebrow sup {
  font-size: 0.55em;
  color: var(--amber-dark);
}

/* ---------- Section heading (centered) ---------- */
.section-head {
  text-align: center;
  max-width: 40em;
  margin: 0 auto 40px;
}

.section-head .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  color: var(--green);
  position: relative;
  padding-bottom: 16px;
}

/* 260720 追加: 見出し下のアクセント線（IntersectionObserver到達で伸びる） */
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 3px;
  margin-left: -24px;
  background: var(--amber);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .section-head h2::after {
    transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  }
}

.section-head h2.is-visible::after {
  transform: scaleX(1);
}

.section-head p {
  margin-bottom: 0;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------- 6特徴グリッド ---------- */
.features-6 {
  background: #fff;
}

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

.feature-card-sm {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card-sm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card-sm .feature-icon {
  margin-bottom: 12px;
}

.feature-card-sm h3 {
  color: var(--green);
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.feature-card-sm p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- 3段比較(簡易) ---------- */
.compare-simple {
  background: var(--off-white);
}

.compare-rows {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compare-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.compare-badge {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
}

.compare-row--bad .compare-badge {
  background: #C94F3D;
}

.compare-row--warn .compare-badge {
  background: var(--amber);
}

.compare-row--good .compare-badge {
  background: var(--green);
}

.compare-row strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.compare-row span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.compare-row--good {
  border-color: var(--green);
  background: rgba(45, 74, 62, 0.05);
}

.link-more {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--amber-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.link-more:hover {
  text-decoration: underline;
}

/* ---------- 利用用途3カード ---------- */
.usecase-simple {
  background: var(--bg-mint);
}

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

.usecase-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.usecase-card h3 {
  color: var(--green);
  margin-bottom: 8px;
}

.usecase-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.usecase-note {
  display: inline-flex;
  margin-top: 10px;
  background: var(--chip-bg);
  color: var(--green);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

/* ---------- 価格と保証 ---------- */
.pricing {
  background: var(--off-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.pricing-reasons {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.pricing-reasons h3 {
  color: var(--green);
  margin-bottom: 16px;
}

.pricing-reasons ol {
  margin: 0;
  padding-left: 1.3em;
  display: grid;
  gap: 14px;
}

.pricing-reasons li {
  color: var(--text);
  font-size: 0.95rem;
}

.pricing-reasons li strong {
  display: block;
  color: var(--green);
  margin-bottom: 2px;
}

.warranty-card {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-card-hover);
}

.warranty-card h3 {
  color: #fff;
  margin-bottom: 16px;
}

.warranty-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.warranty-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.warranty-list li span:last-child {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.warranty-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- アプリ簡易紹介 ---------- */
.app-intro {
  background: #fff;
}

.app-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.app-intro-shot {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
}

.app-intro-shot img {
  width: 100%;
  display: block;
}

/* 260719 追加③: アプリ実機スクショの縦長トリミング表示 */
.app-intro-shot img {
  height: 320px;
  object-fit: cover;
  object-position: top;
}

.gallery-item img {
  height: 280px;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 600px) {
  .app-intro-shot img {
    height: 280px;
  }

  .gallery-item img {
    height: 260px;
  }
}

.app-intro-copy h2 {
  color: var(--green);
}

.mode-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.mode-chip {
  background: var(--chip-bg);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--border);
}

/* ---------- サブページ用ヒーロー ---------- */
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--off-white) 100%);
  padding: 48px 0 56px;
}


.page-hero h1 {
  color: var(--green);
  font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.4rem);
}

.page-hero p {
  max-width: 44em;
  font-size: 1.02rem;
}

/* ---------- 詳細ページ: 特徴の深掘り ---------- */
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-detail-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-detail-card h3 {
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-detail-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ---------- 比較図解(詳細) ---------- */
.compare-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.compare-panel {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compare-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.compare-panel--good {
  border-color: var(--green);
  background: rgba(45, 74, 62, 0.05);
}

.compare-panel h4 {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 1rem;
}

.compare-panel .compare-panel-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.compare-panel--bad .compare-panel-tag {
  background: rgba(201, 79, 61, 0.12);
  color: #C94F3D;
}

.compare-panel--warn .compare-panel-tag {
  background: rgba(232, 163, 61, 0.15);
  color: var(--amber-dark);
}

.compare-panel--good .compare-panel-tag {
  background: rgba(45, 74, 62, 0.12);
  color: var(--green);
}

.compare-visual {
  height: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
}

.compare-array {
  width: 20px;
  height: 40px;
  background: var(--green);
  border-radius: 3px;
  transform-origin: bottom center;
}

.compare-shadow {
  position: absolute;
  bottom: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 2px;
}

.compare-panel p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ---------- Predictive Tracking 技術説明 ---------- */
.tech-block {
  background:
    linear-gradient(135deg, rgba(31, 53, 44, 0.94), rgba(45, 74, 62, 0.9)),
    url("../assets/img/photos/texture-closeup.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.tech-block h2,
.tech-block h3 {
  color: #fff;
}

/* 260720 追加: 暗色背景上のeyebrowは白ベースの淡色チップに */
.tech-block .eyebrow {
  background: rgba(255, 255, 255, 0.14);
}

.tech-block p {
  color: rgba(255, 255, 255, 0.85);
}

.tech-block-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

/* ---------- 積雪ゲージ ---------- */
.snow-block {
  background: #fff;
}

.snow-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.snow-gauge {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* ---------- 「なぜ安くできるのか」ブロック(features詳細) ---------- */
.why-cheap {
  background: var(--bg-mint);
}

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

.why-cheap-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-cheap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.why-cheap-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.why-cheap-card h3 {
  color: var(--green);
  font-size: 1rem;
}

.why-cheap-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- 利用用途 詳細ページ ---------- */
.usecase-detail-section {
  padding: 64px 0;
}

.usecase-detail-section:nth-child(even) {
  background: var(--bg-mint);
}

.usecase-detail-section:nth-child(odd) {
  background: #fff;
}

/* 260720 hallmark audit反映: 番号+見出しの横並び(gate54)を縦積みへ */
.usecase-detail-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 20px;
}

.usecase-num {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--amber);
}

.usecase-detail-head h2 {
  color: var(--green);
  margin-bottom: 0;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.flow-step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.flow-step .flow-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.flow-step h4 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 0.98rem;
}

.flow-step p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.stat-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  margin: 8px 0 16px;
}

.stat-highlight .stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.stat-highlight .stat-label {
  font-size: 0.85rem;
}

.note-box {
  border-left: 3px solid var(--amber);
  background: rgba(232, 163, 61, 0.1);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text);
  margin-top: 16px;
}

/* ---------- アプリ詳細ページ ---------- */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.mode-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.mode-card .feature-icon {
  justify-content: center;
  display: flex;
  margin-bottom: 10px;
}

.mode-card h3 {
  color: var(--green);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.mode-card p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.layer-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
  margin: 24px auto 0;
}

.layer-box {
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.layer-box + .layer-box {
  margin-top: 20px;
  margin-left: 28px;
}

.layer-box strong {
  display: block;
  color: var(--green);
  margin-bottom: 2px;
}

.layer-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.layer-arrow {
  margin-left: 42px;
  color: var(--amber-dark);
  font-size: 1.1rem;
}

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

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--off-white);
}

/* ---------- ページ下部 CTA ---------- */
.page-cta {
  background: var(--green-dark);
  color: #fff;
}

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-cta h2 {
  color: #fff;
  margin-bottom: 6px;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.page-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.page-cta .btn-outline:hover {
  background: #fff;
  color: var(--green-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner,
  .solution-inner,
  .company-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .solution-visual {
    order: -1;
  }

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

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

  .feature-grid-6,
  .usecase-grid,
  .why-cheap-grid,
  .feature-detail-grid,
  .compare-diagram,
  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid,
  .app-intro-inner,
  .tech-block-inner,
  .snow-inner {
    grid-template-columns: 1fr;
  }

  .app-intro-inner .app-intro-shot,
  .tech-block-inner .solution-visual,
  .snow-inner .snow-gauge {
    order: -1;
  }

  .mode-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {
  section {
    padding: 48px 0;
  }

  .site-nav {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

  .feature-grid-6,
  .usecase-grid,
  .why-cheap-grid,
  .feature-detail-grid,
  .compare-diagram,
  .flow-steps,
  .mode-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .page-cta-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   260719 追加②: デザイン刷新（実写ビジュアル + 図解 + リズム）
   ============================================================ */

/* ---------- 共通: 写真フレーム ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
}

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

.img-note {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(20, 30, 26, 0.55);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

/* ---------- 共通: アイコンバッジ ---------- */
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(45, 74, 62, 0.08);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.icon-badge--amber {
  background: rgba(232, 163, 61, 0.12);
  border-color: rgba(232, 163, 61, 0.25);
}

.icon-badge--dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ---------- ヒーロー実写ビジュアル + 図解バッジ ---------- */
.hero-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(45, 74, 62, 0.22);
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
}

.hero-diagram-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  max-width: 280px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 10px 26px rgba(20, 30, 26, 0.18);
}

.hero-diagram-badge svg {
  flex: 0 0 auto;
}

.hero-diagram-badge span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.4;
}

.hero-photo-note {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
}

/* ---------- フルブリード写真バンド ---------- */
.photo-band {
  padding: 0;
  background: var(--off-white);
}

.photo-band-frame {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 22px, 100% 0, 100% calc(100% - 22px), 0 100%);
}

.photo-band-frame img {
  width: 100%;
  height: clamp(200px, 32vw, 420px);
  object-fit: cover;
  display: block;
}

.photo-band-caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 10px 0 0;
}

/* ---------- 利用用途カード写真 ---------- */
.usecase-card {
  padding: 0 0 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.usecase-card .media-frame {
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
}

.usecase-card-body {
  padding: 0 22px;
}

/* ---------- 信頼バッジ(価格と保証) ---------- */
.pricing-reasons ol {
  list-style: none;
  padding-left: 0;
}

.pricing-reasons li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pricing-reasons li .icon-badge {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.pricing-reasons li .icon-badge svg {
  width: 20px;
  height: 20px;
}

.pricing-reasons li .reason-text strong {
  display: block;
  color: var(--green);
  margin-bottom: 2px;
}

.warranty-list li {
  align-items: center;
}

.warranty-badge-icon {
  display: inline-flex;
  margin-right: 6px;
  vertical-align: -4px;
}

/* ---------- リパワリング図解 ---------- */
.repower-diagram {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.repower-box {
  flex: 1 1 100px;
  min-width: 100px;
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px dashed var(--border);
}

.repower-box .repower-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1px 8px;
  margin-bottom: 8px;
}

.repower-box strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

.repower-box--new {
  background: rgba(45, 74, 62, 0.06);
  border: 1px solid var(--green);
}

.repower-box--new .repower-tag {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.repower-box--new strong {
  color: var(--green);
}

.repower-arrow {
  flex: 0 0 auto;
  color: var(--amber-dark);
  font-size: 1.3rem;
  font-weight: 700;
}

.repower-result {
  flex: 1 1 120px;
  min-width: 120px;
  text-align: center;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #fff;
}

.repower-result strong {
  display: block;
  font-size: 1rem;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.repower-result span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 利用用途詳細: 写真+本文の2カラム ---------- */
.usecase-media-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  margin-top: 24px;
}

.usecase-media-row .media-frame {
  aspect-ratio: 5 / 4;
}

.usecase-media-row--reverse .usecase-media-photo {
  order: 2;
}

@media (max-width: 900px) {
  .usecase-media-row {
    grid-template-columns: 1fr;
  }

  .usecase-media-row--reverse .usecase-media-photo {
    order: -1;
  }
}

/* ---------- 積雪ビジュアル(写真+ゲージ) ---------- */
.snow-visual-stack {
  display: grid;
  gap: 16px;
}

.snow-visual-stack .media-frame {
  aspect-ratio: 3 / 2;
}

/* 260720 hallmark audit反映: 疑似スマホ端末フレーム(gate47)を撤去し素のfigure+ヘアライン枠に */
.app-intro-shot,
.gallery-item {
  border: 1px solid var(--border);
}

/* ---------- モバイル固定CTAバー ---------- */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 640px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 245, 240, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
  }

  .mobile-cta-bar .btn {
    width: 100%;
  }

  body {
    padding-bottom: 64px;
  }
}

/* ---------- Responsive: 追加要素 ---------- */
@media (max-width: 900px) {
  .hero-diagram-badge {
    max-width: 70%;
  }
}

@media (max-width: 600px) {
  .photo-band-frame img {
    height: 220px;
  }

  .repower-diagram {
    flex-direction: column;
    align-items: stretch;
  }

  .repower-arrow {
    text-align: center;
  }
}

/* ============================================================
   260720 追加④: スクロールリベール（IntersectionObserver + reveal.js）
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* カード級（reveal後もホバーで浮き上がる） */
  .feature-card,
  .feature-card-sm,
  .feature-detail-card,
  .mode-card,
  .usecase-card,
  .why-cheap-card,
  .apps-card,
  .flow-step,
  .gallery-item,
  .compare-row,
  .compare-panel {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1), transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.25s ease;
  }

  .feature-card.is-visible,
  .feature-card-sm.is-visible,
  .feature-detail-card.is-visible,
  .mode-card.is-visible,
  .usecase-card.is-visible,
  .why-cheap-card.is-visible,
  .apps-card.is-visible,
  .flow-step.is-visible,
  .gallery-item.is-visible,
  .compare-row.is-visible,
  .compare-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .feature-card.is-visible:hover,
  .feature-card-sm.is-visible:hover,
  .feature-detail-card.is-visible:hover,
  .mode-card.is-visible:hover,
  .usecase-card.is-visible:hover,
  .why-cheap-card.is-visible:hover,
  .apps-card.is-visible:hover,
  .flow-step.is-visible:hover,
  .gallery-item.is-visible:hover,
  .compare-row.is-visible:hover,
  .compare-panel.is-visible:hover {
    transform: translateY(-4px);
  }

  /* カード級（ホバーリフトなし: 保証・価格理由） */
  .pricing-reasons,
  .warranty-card,
  .layer-box {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1), transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .pricing-reasons.is-visible,
  .warranty-card.is-visible,
  .layer-box.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* セクションブロック級 */
  .app-intro-inner,
  .tech-block-inner,
  .snow-inner,
  .usecase-media-row,
  .repower-diagram {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1), transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .app-intro-inner.is-visible,
  .tech-block-inner.is-visible,
  .snow-inner.is-visible,
  .usecase-media-row.is-visible,
  .repower-diagram.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
