/* 縦長スクショ 取扱説明書 共通スタイル (ライト/ダーク自動追従) */
:root {
  --bg: #FFFBF1;
  --surface: #FFFFFF;
  --surface-sub: #FFF4DC;
  --border: #F0E3C2;
  --text: #2A2112;
  --text-sub: #6F5F44;
  --accent: #C2500A;
  --accent-hover: #A94309;
  --accent-soft: rgba(232, 117, 26, 0.12);
  --on-accent: #FFFFFF;
  --step-bg: #FFF8E6;
  --step-border: #F5DFA8;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
  :root {
  --bg: #141B2D;
  --surface: #1E2640;
  --surface-sub: #262F4E;
  --border: #34406A;
  --text: #F3F1EA;
  --text-sub: #B0B6CC;
  --accent: #FFA45C;
  --accent-hover: #FF8A3D;
  --accent-soft: rgba(255, 164, 92, 0.16);
  --on-accent: #3A1D05;
  --step-bg: #1B2340;
  --step-border: #3A4673;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

/* ヘッダーナビゲーション */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
}
.site-header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-pill {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}
.global-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.global-nav a {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.global-nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.global-nav a[aria-current="page"] {
  color: var(--on-accent);
  background: var(--accent);
}

/* ヒーローバナー */
.hero-banner {
  background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%);
  padding: 40px 20px 24px;
  text-align: center;
}
.hero-banner .pill {
  display: inline-block;
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero-banner h1 {
  font-size: 26px;
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text);
}
.hero-banner p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-sub);
  font-size: 14.5px;
}

/* メインコンテナ */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 18px 80px;
}

/* パンくずリスト */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-sub);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--accent);
}

/* カードセクション */
.card-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.card-section h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.card-section h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 24px 0 12px;
  color: var(--text);
}

/* やりたいことタグ */
.want-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.want-tag {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-sub);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.want-tag:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

/* 機能グリッド（トップ用） */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.feature-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.feature-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-card-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.feature-card-desc {
  font-size: 13.5px;
  color: var(--text-sub);
  margin: 0 0 16px;
  flex-grow: 1;
}
.feature-card-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ステップ解説カード */
.step-item {
  background: var(--step-bg);
  border: 1px solid var(--step-border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 24px;
}
.step-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.step-badge {
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 6px;
}
.step-title {
  font-size: 16.5px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

/* 画像ギャラリー・スクリーンショット */
.shot-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
}
@media (min-width: 640px) {
  .shot-container-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .shot-container-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
.shot-card {
  background: var(--surface-sub);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.shot-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}
.shot-caption {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-sub);
  margin-top: 10px;
}

/* コールアウト / ポイント */
.callout {
  background: var(--surface-sub);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
}
.callout-title {
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.faq-item {
  background: var(--surface-sub);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.faq-q {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.faq-q-mark {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.2;
}
.faq-a {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.65;
}

/* ページフッターナビゲーション（前へ・次へ） */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.page-nav-link {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.page-nav-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.page-nav-link.next {
  text-align: right;
  margin-left: auto;
}
.page-nav-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  display: block;
  margin-bottom: 4px;
}
.page-nav-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--accent);
}

/* フッター */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-sub);
  background: var(--surface);
}
.site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

picture { display: block; }
.shot-card picture img { max-width: 100%; height: auto; }
ol, ul { padding-left: 1.4em; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.spec-table th { background: var(--surface-sub); font-weight: 800; }
