/* タイトル（記事専用） */
.page-title_area_article {
  background-image: url('/wp-content/themes/tantei2025/assets/images/title_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 200px;
  text-align: center;
  color: #fff;
}

.page-title_area_article h1 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  padding: 0 15px;
}

/* 全体ベース */
.single-post {
  font-family: "Helvetica Neue", "Yu Gothic", sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
}

/* 見出し */
.single-post h1,
.single-post h2,
.single-post h3,
.single-post h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.single-post h1 {
  font-size: 2rem;
}

.single-post h2 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: bold;
  padding: 0.8rem 2rem;
  border-left: 5px solid #e48f45;
  background: #FFF6EC;
  margin-bottom: 30px;
  line-height: 1.6rem;
}

.single-post h3 {
  font-size: 1.3rem;
  border-bottom: 3px solid #e48f45;
  line-height: 2.5rem;
}

.single-post h4 {
  font-size: 1.5rem;
}

/* 段落 */
.single-post p {
  margin-bottom: 1.2rem;
}

/* 画像 */
.single-post img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 引用 */
.single-post blockquote {
  border-left: 4px solid #E48F45;
  background: #fff;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
  background-color: #FFF6EC;
}

/* リスト */
.single-post ul,
.single-post ol {
  margin: 1.2rem 0 1.2rem 1.5rem;
  padding-left: 1rem;
}

.single-post li {
  margin-bottom: 0.5rem;
}

/* テーブル（投稿内に含む場合） */
.single-post table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: #fff;
}

.single-post th,
.single-post td {
  border: 1px solid #ddd;
  padding: 0.75rem;
}

.single-post th {
  background-color: #E48F45;
  color: #fff;
  font-weight: bold;
}

/* リンク */
.single-post a {
  text-decoration: underline;
}

.single-post a:hover {
  color: #E48F45;
  text-decoration: none;
}