/* =====================================================
   ATRI AI — 介護シフトAI ランディングページ
   style.css — やさしい水色・福祉デザイン v4
   ===================================================== */

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

:root {
  --color-bg-base:     #F7FCFF;
  --color-bg-mid:      #EAF8FF;
  --color-bg-warm:     #FFF9F2;
  --color-bg-light:    #FFFFFF;

  --color-accent:      #3BA7D8;
  --color-accent-mid:  #64C7D0;
  --color-accent-light:#A8E0F5;
  --color-teal:        #5EB8A2;
  --color-warm:        #F5A24A;
  --color-warm-light:  #FFCC80;

  --color-text:        #333333;
  --color-text-muted:  #5E6B75;
  --color-text-light:  #9AAFBA;

  --color-surface:     rgba(255, 255, 255, 0.90);
  --color-border:      rgba(0, 0, 0, 0.07);
  --color-border-accent: rgba(59, 167, 216, 0.28);

  --grad-bg:     linear-gradient(150deg, #EAF8FF 0%, #F4FBFF 50%, #FFFFFF 100%);
  --grad-accent: linear-gradient(135deg, #3BA7D8, #64C7D0);
  --grad-teal:   linear-gradient(135deg, #5EB8A2, #7DCFBC);
  --grad-warm:   linear-gradient(135deg, #F5A24A, #FFCC80);

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  --section-py: 110px;
  --container:  1200px;

  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 9999px;
}

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

body {
  font-family: var(--font-ja);
  background: transparent;
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  opacity: 0;
}

/* =====================================================
   グローバル背景レイヤー（固定・最背面）
   ===================================================== */

/* 基底グラデーション ＋ 極薄グリッドライン */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(
    150deg,
    #EAF5FF 0%,
    #F7FCFF 30%,
    #F0FAF7 65%,
    #F7FCFF 100%
  );
}

/* AIネットワーク風グリッドライン（超薄） */
.site-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 167, 216, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 167, 216, 0.042) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ぼかし浮遊オーブ共通 */
.site-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

/* 左上：メインブルー */
.orb-blue {
  width: 680px; height: 540px;
  background: radial-gradient(ellipse, rgba(59, 167, 216, 0.18) 0%, transparent 68%);
  top: -180px; left: -180px;
  animation: orbFloat 22s ease-in-out infinite;
}

/* 右上：ライトスカイ */
.orb-sky {
  width: 520px; height: 480px;
  background: radial-gradient(ellipse, rgba(168, 224, 245, 0.16) 0%, transparent 68%);
  top: 4%; right: -150px;
  animation: orbFloat 28s ease-in-out infinite 5s;
}

/* 中央左：エメラルド */
.orb-teal {
  width: 560px; height: 460px;
  background: radial-gradient(ellipse, rgba(94, 184, 162, 0.13) 0%, transparent 68%);
  top: 40%; left: -110px;
  animation: orbFloat 32s ease-in-out infinite 10s;
}

/* 右下：ソフトブルー */
.orb-mint {
  width: 480px; height: 440px;
  background: radial-gradient(ellipse, rgba(59, 167, 216, 0.11) 0%, transparent 68%);
  bottom: 4%; right: -80px;
  animation: orbFloat 24s ease-in-out infinite 3s;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =====================================================
   レイアウトユーティリティ
   ===================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--color-accent);
  background: rgba(59, 167, 216, 0.10);
  border: 1px solid rgba(59, 167, 216, 0.30);
  padding: 6px 18px;
  border-radius: var(--r-full);
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =====================================================
   ボタン
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--r-full);
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 167, 216, 0.32);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(59, 167, 216, 0.45);
}
.btn-primary:hover svg { transform: translateX(5px); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent);
  border: 2px solid rgba(59, 167, 216, 0.40);
}
.btn-secondary:hover {
  background: #fff;
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 167, 216, 0.18);
}

.btn-large { padding: 20px 52px; font-size: 18px; }

/* =====================================================
   スクロールアニメーション
   ===================================================== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-fade-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-fade-up.visible,
.anim-fade-left.visible,
.anim-fade-right.visible {
  opacity: 1;
  transform: none;
}

/* =====================================================
   ナビゲーション
   ===================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease,
              backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 167, 216, 0.14);
  box-shadow: 0 2px 20px rgba(59, 167, 216, 0.08);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.logo-text {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--color-text);
  line-height: 1;
}
.logo-text-ja {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
}
.logo-accent { color: var(--color-accent); }

/* フッターロゴ */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.logo-img-footer {
  height: 80px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-accent); }

.nav-cta {
  background: var(--grad-accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(59, 167, 216, 0.28);
  transition: transform 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 167, 216, 0.42);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(247, 252, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.mobile-menu a { font-size: 22px; font-weight: 700; color: var(--color-text); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--color-accent); }
.mobile-cta {
  background: var(--grad-accent) !important;
  color: #fff !important;
  padding: 16px 52px;
  border-radius: var(--r-full);
  font-size: 18px !important;
}

/* =====================================================
   ① ヒーロー — 写真フルハイト右配置
   ===================================================== */
.hero {
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
}

/* 右側：写真（上端揃え・全体表示） */
.hero-photo-area {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-start; /* 写真を上端から開始 */
  padding-top: 0;
  padding-bottom: 72px;    /* 波形上のフェード確保 */
}

/* height: auto で縦方向のクロップを防ぐ */
.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  flex-shrink: 0;
}

/* 写真の左端→透明グラデーション */
.hero-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1.00)  0%,
    rgba(255, 255, 255, 0.90) 20%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.08) 68%,
    transparent               88%
  );
  z-index: 2;
  pointer-events: none;
}

/* 写真の下部→波形と馴染むグラデーション */
.hero-photo-area::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(to top, rgba(234, 248, 255, 0.75), transparent);
  z-index: 3;
  pointer-events: none;
}

/* コンテンツ（縦並び：上段=コピー / 下段=プレビューカード） */
.hero-inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 0;
  gap: 48px;
}

.hero-content {
  max-width: 560px;
  text-align: left;
}

/* ---- ヒーロープレビューカード ---- */
.hero-preview {
  display: grid;
  grid-template-columns: 2.3fr 1.8fr 1fr;
  gap: 14px;
  width: 100%;
  padding-bottom: 96px; /* 波形の上に収める */
}

.hprev-card {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(59, 167, 216, 0.18),
    0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.70);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.hprev-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 24px 60px rgba(59, 167, 216, 0.22),
    0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.hprev-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: center;
  padding: 7px 12px;
  background: rgba(234, 248, 255, 0.70);
  border-top: 1px solid rgba(59, 167, 216, 0.10);
  letter-spacing: 0.5px;
}

/* スマホカード：既存の mobile-frame をコンパクトに流用 */
.hprev-card-phone {
  justify-content: space-between;
}
.hprev-phone-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px 8px;
  background: #fff;
}
.hprev-phone-inner .mobile-notch {
  width: 40px;
  height: 10px;
  background: rgba(59, 167, 216, 0.08);
  border-radius: 0 0 8px 8px;
  margin: 0 auto 10px;
}
.hprev-phone-inner .mobile-content { padding: 0 10px 10px; }
.hprev-phone-inner .mobile-app-header { font-size: 10px; }
.hprev-phone-inner .mobile-date      { font-size: 8px; }
.hprev-phone-inner .mobile-section-label { font-size: 8px; }
.hprev-phone-inner .mobile-shift-item    { margin-bottom: 6px; }
.hprev-phone-inner .mobile-badge  { font-size: 8px; padding: 2px 6px; }
.hprev-phone-inner .mobile-names  { font-size: 9px; }

/* バッジ */
.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(59, 167, 216, 0.10);
  border: 1px solid rgba(59, 167, 216, 0.38);
  padding: 8px 22px;
  border-radius: var(--r-full);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  animation: anim-fadeDown 0.8s ease forwards;
}

/* タイトル */
.hero-title {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.38;
  margin-bottom: 22px;
  color: var(--color-text);
  animation: anim-fadeUp 0.8s ease 0.15s both;
  letter-spacing: -0.01em;
}

/* 「介護現場の"あったらいい"」を1まとまりに */
.title-block {
  white-space: nowrap;
  display: inline;
}

.highlight {
  background: linear-gradient(135deg, #3BA7D8, #64C7D0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* サブコピー */
.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--color-text-muted);
  margin-bottom: 40px;
  animation: anim-fadeUp 0.8s ease 0.30s both;
  line-height: 1.8;
}

/* ボタン群 */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: anim-fadeUp 0.8s ease 0.45s both;
}

/* ---- ヒーロー下部グラデーション＋AIドットレイヤー ---- */
.hero-ai-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 54%;
  z-index: 2;
  pointer-events: none;
  /* 白→水色グラデーション */
  background: linear-gradient(
    to bottom,
    transparent                      0%,
    rgba(207, 241, 255, 0.20)        28%,
    rgba(188, 233, 255, 0.42)        60%,
    rgba(170, 224, 255, 0.58)       100%
  );
}

/* AIネットワーク風グリッド（超薄） */
.hero-ai-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 167, 216, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 167, 216, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ドット（交点アクセント） */
.hero-ai-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(59, 167, 216, 0.18) 1.2px,
    transparent 1.2px
  );
  background-size: 48px 48px;
  background-position: 0 0;
}

/* 波形ディバイダー */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 5;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =====================================================
   スタットバー（ヒーロー波形の直下）
   ===================================================== */
.stats-bar {
  background: #EAF8FF;
  padding: 52px 0;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 36px;
}

.stats-icon {
  width: 60px;
  height: 60px;
  background: rgba(59, 167, 216, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.stats-icon svg {
  width: 26px;
  height: 26px;
}

.stats-body {
  display: flex;
  flex-direction: column;
}

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

/* 「0円」強調 */
.stats-zero {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.stats-sep {
  width: 1px;
  height: 52px;
  background: rgba(59, 167, 216, 0.25);
  flex-shrink: 0;
}

/* =====================================================
   シフト作成の悩み共感セクション
   ===================================================== */
.shift-stress {
  padding: var(--section-py) 0;
  background: rgba(255, 255, 255, 0.90);
  position: relative;
  overflow: hidden;
}

/* 背景の装飾サークル */
.shift-stress::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 167, 216, 0.06) 0%, transparent 68%);
  pointer-events: none;
}
.shift-stress::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(94, 184, 162, 0.05) 0%, transparent 68%);
  pointer-events: none;
}

.shift-stress-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* 左：テキスト */
.shift-stress-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.45;
  color: var(--color-text);
  margin-top: 20px;
  margin-bottom: 36px;
}

.shift-stress-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shift-stress-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.13);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: 0 2px 12px rgba(59, 167, 216, 0.06);
  transition: border-color 0.28s, transform 0.28s, box-shadow 0.28s;
}
.shift-stress-list li:hover {
  border-color: rgba(59, 167, 216, 0.30);
  transform: translateX(6px);
  box-shadow: 0 6px 24px rgba(59, 167, 216, 0.11);
}

.stress-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1.3;
}

.shift-stress-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.shift-stress-list p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* 右：画像エリア（縦並び） */
.shift-stress-image {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* メイン画像ラッパー */
.stress-photo-wrap {}

.stress-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  box-shadow:
    0 16px 52px rgba(59, 167, 216, 0.13),
    0 4px 16px rgba(0, 0, 0, 0.06);
}

/* 共感カード */
.stress-alone-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 10px 36px rgba(40, 60, 80, 0.14),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

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

/* テキストオーバーレイ（下部グラデーション） */
.stress-alone-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 22px;
  background: linear-gradient(
    to top,
    rgba(20, 36, 52, 0.72) 0%,
    rgba(20, 36, 52, 0.38) 55%,
    transparent 100%
  );
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.stress-alone-quote {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.30);
}

.stress-alone-sub {
  color: rgba(255, 255, 255, 0.80);
  font-size: 12px;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* レスポンシブ */
@media (max-width: 860px) {
  .shift-stress-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .shift-stress-image { order: -1; }
}
@media (max-width: 480px) {
  .shift-stress-list li     { padding: 14px 16px; }
  .stress-alone-caption     { padding: 32px 16px 16px; }
  .stress-alone-quote       { font-size: 13px; }
}

/* =====================================================
   ② 悩み・課題
   ===================================================== */
.problems {
  padding: var(--section-py) 0;
  background: var(--color-bg-mid);
  position: relative;
}
.problems::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59, 167, 216, 0.30), transparent);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.problem-card {
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.12);
  border-radius: var(--r-md);
  padding: 36px 24px;
  text-align: center;
  cursor: default;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 14px rgba(59, 167, 216, 0.06);
}
.problem-card:hover {
  border-color: rgba(59, 167, 216, 0.30);
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(59, 167, 216, 0.12);
}
.problem-icon { font-size: 38px; margin-bottom: 18px; }
.problem-card p { font-size: 15px; color: var(--color-text-muted); line-height: 1.7; }
.problem-card p strong { color: var(--color-text); }

.problems-solution { text-align: center; }
.problems-solution p { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--color-text); }
.highlight-text { color: var(--color-accent); }
.arrow-down {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  margin: 0 auto;
  animation: anim-bounce 2s ease infinite;
}

/* =====================================================
   ③ サービス説明
   ===================================================== */
.service {
  padding: var(--section-py) 0;
  background: rgba(255, 255, 255, 0.91);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.12);
  border-radius: var(--r-md);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 14px rgba(59, 167, 216, 0.06);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(59, 167, 216, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(59, 167, 216, 0.13);
}
.service-card:hover::after { opacity: 1; }

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(59, 167, 216, 0.10);
  border: 1px solid rgba(59, 167, 216, 0.22);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-icon-wrap svg { width: 28px; height: 28px; color: var(--color-accent); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--color-text); }
.service-card p  { font-size: 14px; color: var(--color-text-muted); line-height: 1.8; }

/* =====================================================
   ④ 強み・特徴
   ===================================================== */
.features {
  padding: var(--section-py) 0;
  background: var(--color-bg-mid);
}

.features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-text { display: flex; flex-direction: column; gap: 40px; }

.feature-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.feature-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.feature-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.feature-item p  { font-size: 14px; color: var(--color-text-muted); line-height: 1.8; }

/* 右カラム：成功カード ＋ AI カード縦並び */
.features-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

/* 成功イメージカード */
.success-card {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.14);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 8px 36px rgba(59, 167, 216, 0.10),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.success-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 52px rgba(59, 167, 216, 0.15),
    0 4px 14px rgba(0, 0, 0, 0.06);
}

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

.success-caption {
  padding: 18px 22px 20px;
  background: linear-gradient(135deg, #EAF8FF 0%, #F7FCFF 60%, #fff 100%);
  border-top: 1px solid rgba(59, 167, 216, 0.10);
}

.success-quote {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.success-quote::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--grad-accent);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: -0.1em;
}

.success-sub {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 600;
  padding-left: 13px;
  letter-spacing: 0.02em;
}

.ai-card {
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.16);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 390px;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(59, 167, 216, 0.10),
    0 2px 12px rgba(0, 0, 0, 0.04);
}

.ai-card-header {
  background: rgba(59, 167, 216, 0.07);
  border-bottom: 1px solid rgba(59, 167, 216, 0.14);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.ai-dots { display: flex; gap: 6px; }
.ai-dots span { width: 11px; height: 11px; border-radius: 50%; }
.ai-dots span:nth-child(1) { background: #FC8181; }
.ai-dots span:nth-child(2) { background: #F6C05E; }
.ai-dots span:nth-child(3) { background: #68D391; }

.ai-card-body { padding: 26px; }

.ai-progress {
  background: rgba(59, 167, 216, 0.10);
  border-radius: var(--r-full);
  height: 6px;
  margin-bottom: 26px;
  overflow: hidden;
}
.ai-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad-accent);
  border-radius: var(--r-full);
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-items { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.ai-item  { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--color-text-muted); }
.ai-check { color: var(--color-teal); font-weight: 700; }
.ai-item-active { color: var(--color-accent); }
.ai-spin  { display: inline-block; animation: anim-spin 1s linear infinite; }

.ai-result {
  background: rgba(59, 167, 216, 0.07);
  border: 1px solid rgba(59, 167, 216, 0.18);
  border-radius: var(--r-sm);
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
}
.ai-time { color: var(--color-accent); font-weight: 700; font-family: var(--font-en); }

/* =====================================================
   ⑤ デモ画面
   ===================================================== */
.demo { padding: var(--section-py) 0; background: rgba(255, 255, 255, 0.91); }

/* 上段：シフト表(大) ＋ 集計表(小) ／ 下段：スマホ(中央) */
.demo-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 28px;
}

/* 上段左：シフト表（大きめ） */
.demo-card-shift  { grid-column: 1; grid-row: 1; }

/* 上段右：集計表 */
.demo-card-summary { grid-column: 2; grid-row: 1; }

/* 下段：スマホUI — 全幅スパンして中央寄せ */
.demo-card-mobile {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.demo-card-mobile .demo-screen {
  width: 100%;
  max-width: 400px;
}

.demo-card { display: flex; flex-direction: column; }

.demo-screen {
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.14);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 4px 20px rgba(59, 167, 216, 0.08);
}
.demo-card:hover .demo-screen {
  border-color: rgba(59, 167, 216, 0.28);
  box-shadow: 0 10px 36px rgba(59, 167, 216, 0.14);
  transform: translateY(-5px);
}

.screen-header {
  background: rgba(59, 167, 216, 0.07);
  border-bottom: 1px solid rgba(59, 167, 216, 0.12);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
}
.screen-title   { font-weight: 600; color: var(--color-text); font-size: 12px; }
.screen-actions { display: flex; gap: 8px; flex-shrink: 0; }
.screen-btn {
  background: rgba(59, 167, 216, 0.08);
  border: 1px solid rgba(59, 167, 216, 0.20);
  border-radius: var(--r-sm);
  padding: 4px 12px;
  font-size: 11px;
  cursor: pointer;
  color: var(--color-text-muted);
}
.screen-btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.shift-table { padding: 16px; }
.shift-row {
  display: grid;
  grid-template-columns: 72px repeat(5, 1fr);
  gap: 5px;
  margin-bottom: 5px;
  align-items: center;
}
.shift-header-row {
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-en);
}
.staff-name  { font-size: 12px; font-weight: 600; color: var(--color-text); }
.shift-cell  { text-align: center; padding: 6px 2px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.shift-day   { background: rgba(59, 167, 216, 0.14);  color: #1E7BAA; }
.shift-night { background: rgba(130, 100, 210, 0.13); color: #6040A8; }
.shift-rest  { background: rgba(245, 162, 74, 0.16);  color: #C07020; }
.shift-early { background: rgba(94, 184, 162, 0.16);  color: #2E8B7A; }

.excel-preview { padding: 16px; }
.excel-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 6px;
  font-size: 12px;
  padding: 8px 6px;
  border-radius: 4px;
  margin-bottom: 3px;
  color: var(--color-text-muted);
}
.excel-header {
  background: rgba(59, 167, 216, 0.10);
  color: var(--color-accent);
  font-weight: 700;
  font-family: var(--font-en);
}
.excel-row:not(.excel-header) { border-bottom: 1px solid rgba(59, 167, 216, 0.08); }
.excel-export-btn {
  margin-top: 14px;
  background: rgba(94, 184, 162, 0.10);
  border: 1px solid rgba(94, 184, 162, 0.28);
  border-radius: var(--r-sm);
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--color-teal);
  cursor: pointer;
  transition: background 0.2s;
}
.excel-export-btn:hover { background: rgba(94, 184, 162, 0.18); }

/* 実スクリーンショット用カード */
.demo-screen-photo {
  padding: 0;
  display: block;
  overflow: hidden;
}

.demo-screenshot {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.demo-card:hover .demo-screenshot {
  transform: scale(1.02);
}

.demo-screen-center { display: flex; justify-content: center; padding: 28px 0; }
.mobile-frame {
  width: 188px;
  background: #fff;
  border-radius: 28px;
  border: 2px solid rgba(59, 167, 216, 0.22);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(59, 167, 216, 0.12);
}
.mobile-notch {
  width: 56px;
  height: 14px;
  background: rgba(59, 167, 216, 0.08);
  border-radius: 0 0 10px 10px;
  margin: 0 auto 14px;
}
.mobile-content       { padding: 0 14px 16px; }
.mobile-app-header    { font-size: 12px; font-weight: 700; color: var(--color-accent); text-align: center; margin-bottom: 6px; }
.mobile-date          { font-size: 9px; color: var(--color-text-muted); text-align: center; margin-bottom: 14px; }
.mobile-section-label { font-size: 9px; color: var(--color-text-muted); font-weight: 700; margin-bottom: 10px; }
.mobile-shift-item    { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mobile-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.mobile-badge-early { background: rgba(94, 184, 162, 0.18);  color: #2E8B7A; }
.mobile-badge-day   { background: rgba(59, 167, 216, 0.16);  color: #1E7BAA; }
.mobile-badge-night { background: rgba(130, 100, 210, 0.13); color: #6040A8; }
.mobile-names       { font-size: 10px; color: var(--color-text-muted); }

.demo-label { text-align: center; font-size: 14px; color: var(--color-text-muted); font-weight: 600; }

/* =====================================================
   ⑥ 導入の流れ
   ===================================================== */
.flow { padding: var(--section-py) 0; background: rgba(255, 249, 242, 0.90); }

.flow-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
  padding: 36px 22px;
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.12);
  border-radius: var(--r-md);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 14px rgba(59, 167, 216, 0.06);
}
.flow-step:hover {
  border-color: rgba(59, 167, 216, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(59, 167, 216, 0.13);
}
.flow-number {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.28;
  margin-bottom: 12px;
}
.flow-icon   { font-size: 36px; margin-bottom: 16px; }
.flow-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--color-text); }
.flow-step p  { font-size: 13px; color: var(--color-text-muted); line-height: 1.8; }

.flow-connector {
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: var(--color-accent-light);
  font-size: 28px;
  flex-shrink: 0;
  padding-top: 20px;
}

/* =====================================================
   ⑦ 料金プラン
   ===================================================== */
.pricing { padding: var(--section-py) 0; background: rgba(247, 252, 255, 0.89); }

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.20);
  border-radius: var(--r-xl);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 28px rgba(59, 167, 216, 0.08);
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(59, 167, 216, 0.14);
}

.pricing-badge {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--grad-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-full);
}

.pricing-name { font-size: 18px; color: var(--color-text-muted); margin-bottom: 28px; font-weight: 600; }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.price-from   { font-size: 16px; color: var(--color-text-muted); }
.price-amount {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-unit   { font-size: 24px; color: var(--color-text-muted); }

.pricing-note { font-size: 12px; color: var(--color-text-muted); margin-bottom: 36px; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.feature-check { color: var(--color-teal); font-weight: 700; font-size: 15px; }

.pricing-btn { width: 100%; justify-content: center; }

.pricing-info { display: flex; flex-direction: column; gap: 22px; }

.info-item {
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.12);
  border-radius: var(--r-md);
  padding: 28px 26px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(59, 167, 216, 0.06);
}
.info-item:hover {
  border-color: rgba(59, 167, 216, 0.28);
  transform: translateX(5px);
  box-shadow: 0 6px 24px rgba(59, 167, 216, 0.11);
}
.info-icon   { font-size: 28px; margin-bottom: 12px; }
.info-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.info-item p  { font-size: 13px; color: var(--color-text-muted); line-height: 1.8; }

/* =====================================================
   ⑧ 開発者情報
   ===================================================== */
.developer { padding: var(--section-py) 0; background: var(--color-bg-mid); }

.developer-card {
  display: flex;
  gap: 64px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.16);
  border-radius: var(--r-xl);
  padding: 64px;
  box-shadow: 0 8px 40px rgba(59, 167, 216, 0.08);
}

.developer-avatar { position: relative; flex-shrink: 0; }
.avatar-photo {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid rgba(59, 167, 216, 0.38);
  box-shadow: 0 4px 20px rgba(59, 167, 216, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}
.avatar-glow {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 167, 216, 0.22) 0%, transparent 70%);
  opacity: 0.8;
  animation: anim-glowPulse 3s ease infinite;
}

.company-name {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.developer-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.developer-name  { font-size: 30px; font-weight: 900; color: var(--color-text); }
.developer-field-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(59, 167, 216, 0.10);
  border: 1px solid rgba(59, 167, 216, 0.32);
  padding: 4px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.developer-role  { font-size: 14px; color: var(--color-warm); font-weight: 600; margin-bottom: 28px; }
.developer-quote {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 2;
  border-left: 3px solid var(--color-accent);
  padding-left: 24px;
  font-style: normal;
}

/* =====================================================
   ⑨ お問い合わせ
   ===================================================== */
.contact {
  padding: var(--section-py) 0;
  background: rgba(247, 252, 255, 0.89);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(59, 167, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(59, 167, 216, 0.12);
  border-radius: var(--r-lg);
  padding: 44px 36px;
  text-align: center;
  display: block;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 16px rgba(59, 167, 216, 0.07);
}
.contact-card:hover {
  border-color: rgba(59, 167, 216, 0.30);
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(59, 167, 216, 0.14);
}
.contact-icon   { font-size: 52px; margin-bottom: 22px; }
.contact-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.contact-card p  { font-size: 14px; color: var(--color-text-muted); margin-bottom: 22px; }
.contact-link    { color: var(--color-accent); font-size: 14px; font-weight: 700; }

.line-qr-img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 22px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-cta {
  text-align: center;
  padding: 64px;
  background: linear-gradient(135deg, #EAF8FF 0%, #F7FCFF 100%);
  border: 1px solid rgba(59, 167, 216, 0.18);
  border-radius: var(--r-xl);
  box-shadow: 0 4px 24px rgba(59, 167, 216, 0.08);
}
.contact-cta h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; color: var(--color-text); }
.contact-cta p  { font-size: 16px; color: var(--color-text-muted); margin-bottom: 36px; }

/* =====================================================
   フッター
   ===================================================== */
.footer {
  background: var(--color-bg-mid);
  border-top: 1px solid rgba(59, 167, 216, 0.14);
  padding: 52px 0 36px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 36px;
}
.footer-logo    { line-height: 1; }
.footer-brand p { font-size: 13px; color: var(--color-text-muted); }

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a { font-size: 13px; color: var(--color-text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(59, 167, 216, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: var(--color-text-muted); }
.footer-email    { color: var(--color-accent) !important; }

/* =====================================================
   キーフレームアニメーション
   ===================================================== */
@keyframes orbFloat {
  0%,  100% { transform: translate(   0px,   0px) scale(1.00); }
  25%        { transform: translate(  44px, -52px) scale(1.05); }
  50%        { transform: translate( -28px,  34px) scale(0.96); }
  75%        { transform: translate(  50px,  18px) scale(1.03); }
}

@keyframes anim-fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes anim-fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes anim-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes anim-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}
@keyframes anim-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes anim-glowPulse {
  0%, 100% { transform: scale(1);   opacity: 0.12; }
  50%       { transform: scale(1.1); opacity: 0.20; }
}

/* =====================================================
   レスポンシブ
   ===================================================== */

/* ---- タブレット（860px）：ヒーロー写真を背景化 ---- */
@media (max-width: 860px) {
  .hero-photo-area  { width: 100%; padding-top: 72px; padding-bottom: 72px; }
  .hero-photo-fade  { background: rgba(255, 255, 255, 0.88); }
  .hero-inner       { min-height: auto; padding-top: 100px; gap: 36px; }
  .hero-content     { max-width: 100%; text-align: center; }
  .hero-buttons     { justify-content: center; }
  .hero-title       { font-size: clamp(26px, 5vw, 44px); }
  .hero-preview     { grid-template-columns: 1fr 1fr; padding-bottom: 88px; }
  .hprev-card-phone { display: none; }
}

/* ---- タブレット（960px）：特徴・料金を1カラム化 ---- */
@media (max-width: 960px) {
  .features-content { grid-template-columns: 1fr; gap: 52px; }
  .features-visual  { order: -1; }
  .pricing-cards    { grid-template-columns: 1fr; }
}

/* ---- 中間（540px）：ヒーロープレビュー1カラム ---- */
@media (max-width: 540px) {
  .hero-preview     { grid-template-columns: 1fr; }
  .hprev-card-phone { display: flex; }
}

/* =====================================================
   スマホ（768px以下）
   ===================================================== */
@media (max-width: 768px) {
  :root { --section-py: 56px; }
  body  { overflow-x: hidden; }

  /* ---- ナビゲーション ---- */
  .nav-links, .nav-cta { display: none; }
  .hamburger     { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav-container { padding: 10px 16px; }
  .logo-img      { height: 36px; }
  .logo-text     { font-size: 18px; }
  .logo-text-ja  { display: none; }          /* モバイルでサブテキスト非表示 */

  /* ---- ヒーロー ---- */
  .hero-inner    { padding-top: 68px; gap: 16px; }
  .hero-content  { max-width: 100%; text-align: center; }
  .hero-badge    {
    font-size: 11px;
    padding: 5px 12px;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }
  .hero-title    {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .title-block   { white-space: normal; }    /* モバイルで折り返し許可 */
  .hero-subtitle { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
  .hero-buttons  {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
    height: 52px;
  }
  .hero-preview  { padding-bottom: 52px; gap: 10px; }

  /* ---- スタットバー（2×2グリッド） ---- */
  .stats-bar       { padding: 28px 0; }
  .stats-bar-inner { flex-wrap: wrap; row-gap: 18px; column-gap: 0; justify-content: flex-start; }
  .stats-sep       { display: none; }
  .stats-item      { width: 50%; padding: 0 16px; gap: 10px; justify-content: flex-start; }
  .stats-icon      { width: 40px; height: 40px; flex-shrink: 0; }
  .stats-icon svg  { width: 18px; height: 18px; }
  .stats-feat      { font-size: 12px; }

  /* ---- セクションヘッダー ---- */
  .section-header  { margin-bottom: 36px; }
  .section-title   { font-size: clamp(22px, 6vw, 32px); line-height: 1.3; }
  .section-desc    { font-size: 14px; }

  /* ---- 課題 ---- */
  .problems-grid   { grid-template-columns: 1fr 1fr; gap: 12px; }
  .problem-card    { padding: 24px 12px; }
  .problem-icon    { font-size: 28px; margin-bottom: 10px; }
  .problem-card p  { font-size: 13px; }
  .problems-solution p { font-size: 16px; }

  /* ---- サービス ---- */
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 28px 20px; }

  /* ---- 特徴 ---- */
  .features-content { grid-template-columns: 1fr; gap: 36px; }
  .features-visual  { order: -1; }
  .features-text    { gap: 24px; }
  .feature-item h3  { font-size: 16px; }

  /* ---- デモ ---- */
  .demo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }
  .demo-card-shift,
  .demo-card-summary { grid-column: 1; grid-row: auto; }
  .demo-card-mobile  { grid-column: 1; grid-row: auto; align-items: stretch; }
  .demo-card-mobile .demo-screen { max-width: 100%; }
  .demo-screen {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }
  .demo-screenshot   { border-radius: 0; }

  /* ---- 料金 ---- */
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card  { padding: 36px 24px; }

  /* ---- 導入の流れ ---- */
  .flow-steps     { flex-direction: column; align-items: center; }
  .flow-connector { padding-top: 0; font-size: 36px; transform: rotate(90deg); }
  .flow-step      { max-width: 100%; width: 100%; }

  /* ---- 開発者 ---- */
  .developer-card     { flex-direction: column; padding: 36px 24px; text-align: center; gap: 28px; }
  .developer-name-row { justify-content: center; }
  .developer-quote    { text-align: left; }

  /* ---- お問い合わせ ---- */
  .contact-cards { grid-template-columns: 1fr; gap: 14px; }
  .contact-card  { padding: 32px 20px; }
  .contact-cta   { padding: 40px 24px; }

  /* ---- フッター ---- */
  .footer-content { flex-direction: column; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .footer-links   { flex-wrap: wrap; gap: 14px; justify-content: center; }
}

/* =====================================================
   スマホ小（480px以下）
   ===================================================== */
@media (max-width: 480px) {
  :root { --section-py: 48px; }

  /* ---- ロゴ・ナビ ---- */
  .logo-img      { height: 32px; }
  .logo-text     { font-size: 16px; }
  .nav-container { padding: 10px 14px; }
  .logo-text-wrap { gap: 0; }

  /* ---- レイアウト ---- */
  .container { padding: 0 16px; }

  /* ---- ヒーロー ---- */
  .hero-inner    { padding-top: 62px; gap: 14px; }
  .hero-badge    { font-size: 10px; padding: 5px 11px; }
  .hero-title    { font-size: clamp(22px, 7.5vw, 30px); line-height: 1.2; margin-bottom: 10px; }
  .hero-subtitle { font-size: 13px; margin-bottom: 16px; }
  .hero-buttons .btn {
    padding: 13px 20px;
    font-size: 14px;
    height: 48px;
    max-width: 280px;
  }
  .hero-buttons  { gap: 8px; margin-bottom: 16px; }
  .hero-preview  { padding-bottom: 44px; gap: 8px; }

  /* ---- スタットバー ---- */
  .stats-bar  { padding: 22px 0; }
  .stats-item { padding: 0 10px; gap: 8px; }
  .stats-icon { width: 36px; height: 36px; }
  .stats-icon svg { width: 16px; height: 16px; }
  .stats-feat { font-size: 11px; line-height: 1.5; }
  .stats-zero { font-size: 15px; }

  /* ---- セクションヘッダー ---- */
  .section-title  { font-size: clamp(20px, 6.5vw, 26px); line-height: 1.3; }
  .section-desc   { font-size: 13px; }
  .section-label  { font-size: 10px; letter-spacing: 3px; padding: 5px 12px; }
  .section-header { margin-bottom: 30px; }

  /* ---- 課題 ---- */
  .problems-grid   { grid-template-columns: 1fr; gap: 10px; }
  .problems-solution p { font-size: 15px; }

  /* ---- サービス ---- */
  .service-card    { padding: 24px 16px; }
  .service-card h3 { font-size: 15px; }
  .service-card p  { font-size: 13px; }

  /* ---- デモ ---- */
  .demo-grid       { gap: 12px; }
  .demo-screen     { border-radius: 12px; }
  .demo-screen-center { padding: 16px 0; }
  .demo-label      { font-size: 13px; margin-top: 4px; }

  /* ---- 料金 ---- */
  .pricing-card { padding: 32px 18px; }
  .price-amount { font-size: 44px; }
  .pricing-name { font-size: 16px; }

  /* ---- 開発者 ---- */
  .developer-card { padding: 28px 16px; gap: 22px; }
  .developer-name { font-size: 20px; }
  .avatar-photo   { width: 110px; height: 110px; }

  /* ---- お問い合わせ ---- */
  .contact-cta  { padding: 32px 16px; }
  .contact-card { padding: 26px 16px; }
  .contact-icon { font-size: 38px; margin-bottom: 14px; }
  .line-qr-img  { width: 110px; height: 110px; }

  /* ---- シフトストレス ---- */
  .shift-stress-list li { padding: 12px 14px; }
  .stress-alone-caption { padding: 28px 14px 14px; }
  .stress-alone-quote   { font-size: 13px; }
}
