@charset "utf-8";
/* j-sta.css — J-STA.com ページ固有スタイル
   基盤: basic.css
   ----------------------------------------------------------------
   設計方針:
   - ページ全体のテーマ変数を :root で上書き
   - ヒーロー・レイアウトはこのファイルで定義
   - カードのバリエーションは #features / #usecases で上書き
   ---------------------------------------------------------------- */

/* ========== テーマ変数上書き ========== */
:root {
  --screenshot-bg: #f8fafc;
  --screenshot-border: var(--border-light);
  --screenshot-text-color: var(--text-sub);
  --catchphrase-color: var(--primary-deep);
}

/* ========== メインレイアウト ========== */
#j-sta main {
  margin: -4rem auto auto;
  position: relative;
}
#j-sta main > .inner {
  position: relative;
  max-width: 1240px;
  margin: auto;
  padding: 0 4% 4rem;
}
.card{
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
}

/* ========== ヒーローセクション ========== */
.hero-section {
  padding: 8rem 4% 12rem;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: white;
  position: relative;
  margin-bottom: 0 !important;
}
.hero-section h1 {
  max-width: 960px;
  margin: auto;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}

/* ========== #risks（共通ダークセクション） ========== */
#risks {
  background: var(--primary-deep);
  color: white;
  padding: 2rem 4%;
  border-radius: 15px;
}
#risks h2 {
  color: white;
}
#risks h2::after {
  background-color: white;
}
#risks .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
#risks .card h3,
#risks .card strong {
  color: white;
  border-bottom-color: white;
}
#risks .card p {
  color: #cbd5e1;
}
#risks .grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ========== カード: #features（番号付き） ========== */
/* h3 に連番バッジを自動挿入 */
#features {
  counter-reset: feature-counter;
}
#features .card h3 {
  border-bottom-color: #334155;
  color: #334155;
}
#features .card h3::before {
  content: counter(feature-counter);
  counter-increment: feature-counter;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--accent-blue);
  color: white;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 0.75rem;
}
#usecases .card h3 {
  color: #334155;
  border-bottom-color: #334155;
}
#usecases .card h3::before {
  color: var(--accent-blue);
  content: '✓ ';
  margin-right: 0.5rem;
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 4% 4rem;
  }
  #j-sta main {
    margin-top: -2rem;
  }
}
@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 4% 4rem;
  }
}
