/* =======================
   News Single Page Styles
   ======================= */
.news-single {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #333;
  max-width: 1180px;
  margin: 0 auto;
  background-color: #fff;
  padding: 0 1rem 3rem 1rem;
}

/* スマホ時は既存のまま */
@media (max-width: 768px) {
  .news-single {
    max-width: 100%;
    padding: 1rem 1rem 2rem 1rem;
  }
}

/* h1〜h4 見出し共通 */
.news-single h1,
.news-single h2,
.news-single h3,
.news-single h4 {
  font-weight: 700;
  line-height: 1.4;
  margin: 2rem 0 1rem;
  color: #222;
}

/* h1: 記事タイトル */
.news-single h1 {
  font-size: 2rem;
  border-bottom: 2px solid #c07ade;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

/* h2: セクションタイトル */
.news-single h2 {
  font-size: 1.5rem;
  border-left: 6px solid #c07ade;
  padding-left: 12px;
}

/* h3: 小見出し */
.news-single h3 {
  font-size: 1.25rem;
  border-left: 4px solid #ddd;
  padding-left: 10px;
  margin-left: 10px;
}

/* 見出し直下の段落を揃える */
.news-single h3+p {
  padding-left: 10px;
}

/* h4: 補助見出し */
.news-single h4 {
  font-size: 1.1rem;
  color: #444;
  margin-left: 20px;
}

/* 見出し直下の段落を揃える */
.news-single h4+p {
  padding-left: 20px;
}


/* 記事内の画像 */
.news-single img {
  max-width: 100%;
  max-height: 400px;
  height: auto;
  border-radius: 6px;
  margin: 1.5rem auto;
  display: block;
  object-fit: contain;
}

/* キャプション付き画像（WP標準） */
.news-single .wp-caption {
  text-align: center;
  margin: 1.5rem auto;
  max-width: 100%;
}

.news-single .wp-caption img {
  margin-bottom: 0.5rem;
}

.news-single .wp-caption-text {
  font-size: 0.9rem;
  color: #666;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .news-single h1 {
    font-size: 1.6rem;
  }

  .news-single h2 {
    font-size: 1.3rem;
  }

  .news-single h3 {
    font-size: 1.15rem;
  }

  .news-single h4 {
    font-size: 1rem;
  }
}