@charset "UTF-8";
/* ==========================================================
   Bigdream Lite サイト共通スタイル
   3ページ（トップ / リリースノート / セットアップガイド）で共有
   ========================================================== */

:root {
  --bgdl-primary: #00695c;      /* メインカラー（ティール） */
  --bgdl-primary-dark: #004d40;
  --bgdl-accent: #28a745;       /* ダウンロードCTA（緑） */
  --bgdl-navy: #1a237e;
  --bgdl-bg: #f4f4f9;
  --bgdl-text: #333;
}

body {
  font-family: 'Roboto', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--bgdl-text);
  background-color: var(--bgdl-bg);
}

/* ---------- 共通ヘッダー（全ページ） ---------- */
.site-header {
  background-color: var(--bgdl-primary);
}
.site-header .navbar-brand,
.site-header .nav-link {
  color: #fff;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: #b2dfdb;
}

/* ---------- 共通フッター（全ページ） ---------- */
.site-footer {
  background-color: var(--bgdl-primary-dark);
  color: #fff;
  padding: 30px 0 20px;
  margin-top: 60px;
}
.site-footer a {
  color: #b2dfdb;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- セクション見出し ---------- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--bgdl-primary);
}
.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- ダウンロードボタン（配布準備中） ---------- */
.btn-download {
  background-color: var(--bgdl-accent);
  border-color: var(--bgdl-accent);
  color: #fff;
  padding: 15px 30px;
  font-size: 1.25rem;
}
.btn-download:hover {
  background-color: #1e7e34;
  border-color: #1e7e34;
  color: #fff;
}
.is-preparing {
  cursor: not-allowed;
}
.btn-download.is-preparing,
.btn-download.is-preparing:hover {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* ==========================================================
   トップページ
   ========================================================== */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url('../img/DreamHorse1.jpeg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 130px 0;
}
.hero-section h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, .7);
}
.hero-section .hero-lead {
  font-size: 1.4rem;
}
.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, .92);
  color: var(--bgdl-primary-dark);
  font-weight: 700;
  border-radius: 50px;
  padding: 6px 20px;
  margin-bottom: 20px;
}

.features-section {
  padding: 60px 0;
}
.feature-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
  padding: 30px;
  height: 100%;
}
.feature-card i {
  font-size: 2.4rem;
  color: var(--bgdl-primary);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: .95rem;
  margin-bottom: 0;
}

/* Max との比較表 */
.compare-table th {
  background-color: var(--bgdl-primary);
  color: #fff;
  vertical-align: middle;
}
.compare-table td {
  vertical-align: middle;
}

.download-section {
  background-color: var(--bgdl-primary);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.carousel-item img {
  width: 100%;
  height: auto;
}
.carousel-control-prev,
.carousel-control-next {
  width: 7%;
  background-color: rgba(0, 105, 92, .75);
}
.carousel-caption-bar {
  background-color: rgba(0, 0, 0, .75);
  color: #fff;
  padding: 8px;
  text-align: center;
  font-weight: 700;
}

.link-list a {
  display: block;
  margin: 12px 0;
  font-size: 1.05rem;
}

/* ==========================================================
   リリースノート
   ========================================================== */
.version-history th {
  background-color: var(--bgdl-navy);
  color: #fff;
}
.release-latest {
  border-left: 6px solid var(--bgdl-primary);
}

/* ==========================================================
   セットアップガイド
   ========================================================== */
.setup-hero {
  background-color: var(--bgdl-primary);
  color: #fff;
  padding: 44px 0;
}
.setup-hero h1 {
  font-weight: 700;
}
.setup-meta {
  display: inline-block;
  background-color: rgba(255, 255, 255, .15);
  border-radius: 6px;
  padding: 8px 16px;
  margin-top: 10px;
}

/* 左サイドバー目次
   ※ sticky は目次を包む要素（.setup-toc-sticky）に指定する。
     内側の <nav> に指定すると、包含ブロックの高さ分しか追従しない。 */
.setup-toc-sticky {
  position: sticky;
  top: 20px;
}
.setup-toc .list-group-item {
  border: none;
  border-left: 4px solid transparent;
  padding: 10px 14px;
  font-size: .95rem;
  color: var(--bgdl-text);
}
.setup-toc .list-group-item .toc-num {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  background-color: #dfe3e6;
  color: #555;
  font-weight: 700;
  font-size: .8rem;
  margin-right: 8px;
}
.setup-toc .list-group-item.active {
  background-color: #e0f2f1;
  border-left-color: var(--bgdl-primary);
  color: var(--bgdl-primary-dark);
  font-weight: 700;
}
.setup-toc .list-group-item.active .toc-num {
  background-color: var(--bgdl-primary);
  color: #fff;
}

/* ステップカード */
.step-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  padding: 28px 30px;
  margin-bottom: 32px;
  scroll-margin-top: 20px;
}
.step-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 2px solid #eceff1;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.step-num {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  line-height: 52px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--bgdl-primary);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}
.step-card.is-optional .step-num,
.step-card.is-reference .step-num {
  background-color: #90a4ae;
}
.step-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-badges .badge {
  font-size: .8rem;
  margin-right: 6px;
}
.step-card ol {
  padding-left: 1.3em;
}
.step-card ol > li {
  margin-bottom: 12px;
  line-height: 1.8;
}
.step-card .alert {
  margin-top: 16px;
  margin-bottom: 16px;
}
.step-card .alert-heading {
  font-size: 1.05rem;
  font-weight: 700;
}

/* 「ここまでで完了したこと」 */
.step-done {
  background-color: #e8f5e9;
  border-left: 5px solid #43a047;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 20px;
  font-size: .95rem;
}
.step-done i {
  color: #43a047;
  margin-right: 8px;
}

/* 準備するものリスト */
.prep-item {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px 18px;
  height: 100%;
  background-color: #fff;
}
.prep-item.is-required {
  border-left: 5px solid #dc3545;
}
.prep-item.is-optional {
  border-left: 5px solid #adb5bd;
}
.prep-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* 動作環境チェックリスト */
.env-table td:first-child {
  width: 42px;
  color: #43a047;
  text-align: center;
}
.env-table th {
  width: 30%;
  background-color: #eceff1;
}

/* コードっぽいパス表示 */
code.path {
  background-color: #eceff1;
  color: #37474f;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* モバイル用の目次 */
@media (max-width: 991.98px) {
  .setup-toc-sticky {
    position: static;
  }
  .hero-section h1 {
    font-size: 2.4rem;
  }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header,
  .site-footer,
  .setup-toc-col,
  .setup-mobile-toc,
  .btn,
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .step-card {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
    margin-bottom: 16px;
  }
  .setup-hero {
    background: none !important;
    color: #000 !important;
    padding: 10px 0;
  }
  .step-num {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
