@charset "utf-8";

/*
 * 固定ページ本文 (.page-content) 用タイポグラフィ
 * Tailwind の Preflight で見出し・リスト等がリセットされるため、
 * 本文エリア内のみ基本的なスタイルを復元する。
 * 全体には読み込まず、必要なテンプレート側で wp_enqueue_style して使う。
 */

.page-content {
  line-height: 1.5;
  color: rgba(51, 51, 51, 0.93);
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

.page-content h1 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
}
.page-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
}
.page-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}
.page-content h4 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.75rem;
}
.page-content h5,
.page-content h6 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.page-content > :first-child {
  margin-top: 0;
}

.page-content p {
  margin: 0 0 1.25rem;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5em;
}
.page-content ul {
  list-style: disc;
}
.page-content ol {
  list-style: decimal;
}
.page-content li {
  margin-bottom: 0.25rem;
}

.page-content strong,
.page-content b {
  font-weight: 700;
}

.page-content a {
  color: #06f;
  text-decoration: underline;
}
.page-content a:hover {
  opacity: 0.8;
}

.page-content table {
  width: 100%;
  margin: 0 0 1.25rem;
  border-collapse: collapse;
}
.page-content th,
.page-content td {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  text-align: left;
}
.page-content th {
  background: #f5f5f5;
  font-weight: 700;
}

@media (max-width: 767px) {
  .page-content h1 {
    font-size: 1.625rem;
  }
  .page-content h2 {
    font-size: 1.375rem;
  }
  .page-content h3 {
    font-size: 1.125rem;
  }
}
