/* ============================
   INFORMATION (お知らせ 一覧・詳細 共通)
============================ */

/* ============================
   INFORMATION ARCHIVE (お知らせ一覧)
============================ */
.information-archive .c-page-title {
  margin-top: 108px;
}
@media (max-width: 767px) {
  .information-archive .c-page-title {
    margin-top: 60px;
  }
}

.information-archive__list-section {
  margin-top: 167px;
}
@media (max-width: 767px) {
  .information-archive__list-section {
    margin-top: 90px;
  }
}

.information-archive__inner {
  max-width: 1010px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (max-width: 767px) {
  .information-archive__inner {
    padding-inline: 30px;
  }
}

/* ページネーション (WordPress標準: .pagination > .nav-links > .page-numbers) */
.information-archive .pagination {
  margin-top: 50px;
}
@media (max-width: 767px) {
  .information-archive .pagination {
    margin-top: 30px;
  }
}

.information-archive .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .information-archive .nav-links {
    gap: 4px;
  }
}

.information-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s;
}
@media (max-width: 767px) {
  .information-archive .page-numbers {
    min-width: 40px;
    height: 44px;
    padding: 0 4px;
  }
}

.information-archive .page-numbers.current {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.information-archive .page-numbers:not(.current):hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.information-archive .page-numbers.dots {
  border: none;
}

.information-archive .page-numbers.dots:hover {
  background: none;
  color: var(--color-primary);
}

/* 0件時メッセージ */
.information-archive__empty {
  padding: 40px 0;
  color: var(--color-text);
  font-size: 16px;
  text-align: center;
}
@media (max-width: 767px) {
  .information-archive__empty {
    padding: 30px 0;
    font-size: 14px;
  }
}

/* WP標準ラベルの非表示 (screen-reader-text) */
.information-archive .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================
   INFORMATION SINGLE (お知らせ詳細)
============================ */
.information-single__article {
  margin-top: 113px;
}
@media (max-width: 767px) {
  .information-single__article {
    margin-top: 50px;
  }
}

.information-single__inner {
  max-width: 1250px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (max-width: 767px) {
  .information-single__inner {
    padding-inline: 30px;
  }
}

/* タイトルエリア (上下 2px ライン) */
.information-single__header {
  padding: 60px 0;
  border-top: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  text-align: left;
}

.information-single__date {
  display: block;
  color: var(--color-primary);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}
@media (max-width: 767px) {
  .information-single__date {
    font-size: 14px;
  }
}

.information-single__title {
  margin-top: 8px;
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  text-align: left;
}
@media (max-width: 767px) {
  .information-single__title {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
}

/* アイキャッチ */
.information-single__thumbnail {
  max-width: 1250px;
  margin: 60px auto;
  text-align: center;
}
@media (max-width: 767px) {
  .information-single__thumbnail {
    margin: 30px auto;
  }
}

.information-single__thumbnail img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* 本文 */
.information-single__content {
  margin-top: 60px;
}
@media (max-width: 767px) {
  .information-single__content {
    margin-top: 30px;
  }
}

/* 本文最初の要素は上余白なし (二重回避) */
.information-single__content > *:first-child {
  margin-top: 0;
}

/* 見出し h2 */
.information-single__content h2 {
  margin-top: 60px;
  margin-bottom: 24px;
  color: #231815;
  font-size: 26px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 3.9px;
}
@media (max-width: 767px) {
  .information-single__content h2 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.05em;
  }
}

/* 見出し h3 */
.information-single__content h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: #231815;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .information-single__content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
  }
}

/* 見出し h4 */
.information-single__content h4 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: #231815;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .information-single__content h4 {
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
  }
}

/* 本文 p */
.information-single__content p {
  margin-bottom: 24px;
  color: #4C4948;
  font-size: 24px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 1.2px;
}
@media (max-width: 767px) {
  .information-single__content p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }
}

/* リスト: list-style を復活 (reset.css の list-style: none を上書き) */
.information-single__content ul {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-left: 24px;
  list-style: disc;
  list-style-position: outside;
}
.information-single__content ol {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-left: 24px;
  list-style: decimal;
  list-style-position: outside;
}
.information-single__content ul li,
.information-single__content ol li {
  margin-bottom: 8px;
  color: #4C4948;
  font-size: 20px;
  line-height: 1.8;
}
@media (max-width: 767px) {
  .information-single__content ul,
  .information-single__content ol {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-left: 20px;
  }
  .information-single__content ul li,
  .information-single__content ol li {
    margin-bottom: 6px;
    font-size: 16px;
  }
}

/* リンク (本文中で判別できる色 + 下線) */
.information-single__content a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 画像 (レスポンシブ + 上下余白) */
.information-single__content figure,
.information-single__content img {
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 100%;
  height: auto;
}
.information-single__content figure > img {
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .information-single__content figure,
  .information-single__content img {
    margin-top: 24px;
    margin-bottom: 24px;
  }
}

/* 表 (横スクロール対応 + 罫線・パディング) */
.information-single__content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin-top: 40px;
  margin-bottom: 40px;
}
.information-single__content th,
.information-single__content td {
  padding: 12px;
  border: 1px solid #ccc;
  color: #4C4948;
  font-size: 20px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}
.information-single__content th {
  background-color: #f5f5f5;
  font-weight: 500;
}
/* 1列目: 見出しセルが折り返さないよう nowrap */
.information-single__content th:first-child,
.information-single__content td:first-child {
  white-space: nowrap;
}
@media (max-width: 767px) {
  .information-single__content table {
    margin-top: 24px;
    margin-bottom: 24px;
    min-width: 500px;
  }
  .information-single__content th,
  .information-single__content td {
    padding: 8px;
    font-size: 14px;
  }
}

/* お知らせ一覧へ (c-btn-frame) の配置 */
.information-single__back {
  margin: 60px auto 0;
  text-align: center;
  max-width: 457px;
}
@media (max-width: 767px) {
  .information-single__back {
    margin-top: 30px;
  }
}
