body {
  margin: 0;
  padding-top: 61px; /* ナビバーの高さ分 */
  min-height: 100vh; /* ページ全体の高さを最低100vhに設定 */
  display: flex;
  flex-direction: column;
  font-family: '游明朝体', 'Yu Mincho', 'Hiragino Mincho ProN', 'MS PMincho', serif;
  color: #333333; /* 全体の文字色をやや濃く */
  font-size: 1.25rem;  /* （20px） */
  line-height: 1.75;    /* 行間少し広め */
}
/* ヒーロー画像全体 */
.hero {
    width: 100%;
    height: 30vh; /* 高さは画面の50%：調整可能 */
    background-image: url(../images/bg_02.jpg); /* 画像パスに変更 */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* オーバーレイなし（背景を少し暗くして文字を見やすく） */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 中央のテキストブロック */
.hero-content {
  text-align: center;
  color: white;
  padding: 1rem;
}

.hero-logo {
  font-size: 3rem;
  letter-spacing: 0.2em;
  font-weight: bold;
  margin: 0;
}

.hero-text {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}
.img-container {
  max-width: 970px;
  width: 100%;
  margin-top: 20px;
}
.responsive-img {
  display: block;
  width: 100%;
  height: auto;
}
.serif-title {
  font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.main-text {
  ffont-size: 1.5rem; /* = 28px */
  line-height: 1.9;  /* 行間もゆったりめ */
}
p {
  line-height: 1.8;
}
.container {
  max-width: 1080px;
}
.custom-h1 {
  font-size: 34px;
  font-family: "Times New Roman", Times, serif;
  line-height: 0.9;
}
.custom-h2 {
  font-size: 30px;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.2;
}
.custom-h3 {
  font-size: 24px;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.2;
}
.custom-list {
  list-style: none; /* リストのマーカー（●や・など）を非表示にする */
  padding: 0; /* リストのパディングをゼロに設定 */
}
.custom-list li {
  padding: 10px 0; /* 上下のパディングを調整（例: 10px） */
}
.custom-h4 {
  font-size: 1.5rem;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.8;
}
.custom-h5 {
  font-size: 1.25rem;
  line-height: 1.2;
}
.custom-p {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.8;
}
.under {
  position: relative;
  background: linear-gradient(transparent 70%, #b0d984 50%);
}
.red {
  font-size: 18px;
  color: rgba(255, 0, 4, 1.00);
}
/* supprtの文字上下ライン装飾 */
.underline-text {
  position: relative;
}
.underline-text {
  position: relative;
}
.underline-text::before, .underline-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: black; /* 線のカラー */
}
.underline-text::before {
  top: 30px; /* 上の隙間を調整 */
}
.underline-text::after {
  bottom: 30px; /* 下の隙間を調整 */
}
.bg {
  background-color: #0a1a2f;
}
/* navbar */
.navbar.bg-custom {
  background-color: #0a1a2f; /* 好きな色に変更可能 */
}
.navbar {
  display: flex; /* 直下の要素が並列 */
  justify-content: center;
  background-color: #343a40;
  width: 1100px; /* ナビゲーションバーの横幅を設定 */
  margin: 0 auto; /* ページの中央に配置 */
}
.navbar-brand {
  margin-right: auto; /* ロゴを左に寄せる */
}
.navbar-nav {
  margin-left: auto; /* メニュー項目を右に寄せる */
}
.nav-item {
  padding: 0 10px; /* メニュー項目の間隔を調整 */
}
.navbar .navbar-nav .nav-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 1.00);
  transition: color 0.3s; /* ホバーエフェクトのトランジションを追加 */
}
.navbar .navbar-nav .active > .nav-link, .navbar .navbar-nav .nav-link:focus, .navbar .navbar-nav .nav-link:hover {
  color: rgba(96, 162, 161, 1);
}
.dropdown-item {
  color: rgba(0, 0, 0, 1.00);
}
/* カスタムCSSスタイル */
.navbar_height {
  margin-top: 87px; /* ナビゲーションバーの高さと同じ値を設定 */
}
/* カードの上に重ねるタグ */
/* ▼ 共通スタイル：まず最初に書く */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem; /* タグ間の余白 */
  margin-bottom: 0.5rem;
}
.tag {
  display: inline-block;
  border: 1px solid #aaa;
  color: #666;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  font-weight: 500;
  background-color: transparent;
  white-space: nowrap; /* 改行防止 */
}
.button-group a + a {
  margin-top: 0.5rem;
  display: inline-block;
}
.btn-amazon {
  background-color: #1d2d3d;
  color: #fff;
  border: 1px solid #1d2d3d;
  font-weight: 500;
}
.btn-amazon:hover {
  background-color: #fff;
  color: #1d2d3d;
  border-color: #1d2d3d;
  text-decoration: none;
}

.btn-amazon i {
  margin-right: 0.4em;
}

/* 作品紹介ページ用 */
.breadcrumb a,
.breadcrumb a:link {
  color: #1a237e !important; /* 濃紺 */
  text-decoration: none;
}
.breadcrumb a:hover,
.breadcrumb a:focus {
  color: #0d1b50 !important; /* さらに濃い色 */
  text-decoration: none;
}

.img-book-custom {
  width: 200px;
}
/* PLEIONEについてページ用 */
.img-pleione-custom {
  width: 200px;
}
/* 本の説明部分に余白を追加したい場合 */
  .book-description {
    padding-left: 1rem;
  }
/* サンクスページ */
.main-content02 {
  min-height: 600px;  /* 最低でも600pxの高さを確保 */
}
footer {
  background-color: #0a1a2f;
  font-size: 0.875rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: white;
  text-align: center;
  padding: 20px 0;
}
/* スマートフォンおよびタブレットのメディアクエリ(画面の幅が768ピクセル以下) */
@media (max-width: 768px) {
  body {
    font-size: 1.125rem;  /* スマホ初期値（18px） */
  }
  .hero-text {
    font-size: 1rem; /* または 1remでもOK */
  }
  .button-group a + a {
    margin-top: 0 !important;
    margin-left: 0.5rem; /* ボタン間の横マージンを適用 */
  }
  .custom-p {
    text-align: left !important;
  }
  .footer-label {
    font-size: 0.8rem; /* または 0.95rem など微調整OK */
  }
  .navbar {
    width: 100%; /* ナビゲーションバーの横幅を100%に設定 */
  }
  .navbar-toggler, .navbar-brand {
    margin-left: auto;
    margin-right: auto;
  }
  /* カルーセル内の画像を高さ 100px に設定 */
  .carousel-item {
    height: 500px !important;
  }
  /* 画像のアスペクト比を解除 */
  .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* 画像をカルーセル内に合わせて調整 */
  }
	/* 作品紹介ページ用 */
	.img-book-custom {
    width: 90%;
  }
	/* PLEIONEについてページ用 */
	.img-pleione-custom {
    width: 90%;
  }
}
