/* 固定ページ全体 */
.clinic-info-page {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.9;
  color: #000000;
}

/* 上のリンクボタン */
.info-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 45px;
}

.info-anchor-nav li {
  margin: 0;
  padding: 0;
}

.info-anchor-nav a {
  display: block;
  padding: 12px 18px;
  background: #f4f8fb;
  border: 1px solid #d9e7ef;
  color: #000000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.info-anchor-nav a:hover {
  background: #1f4e79;
  color: #ffffff;
}

/* 各セクション */
.info-section {
  margin-bottom: 60px;
}

.info-section h2 {
  font-size: 26px;
  font-weight: bold;
  color: #000000;
  border-bottom: 3px solid #000000;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.info-section h3 {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  border-left: 5px solid #000000;
  padding-left: 12px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.info-section p {
  margin-bottom: 18px;
  color: #000000;
}

.info-section ol {
  padding-left: 1.5em;
  margin-bottom: 20px;
  color: #000000;
}

.info-section li {
  margin-bottom: 8px;
  color: #000000;
}

.info-section a {
  color: #000000;
  text-decoration: underline;
}

/* テーブル外枠 */
.notice-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 25px;
}

/* テーブル本体 */
.notice-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #dddddd;
  color: #000000;
}

/* セル共通 */
.notice-table th,
.notice-table td {
  border: 1px solid #dddddd;
  padding: 13px 12px;
  word-break: break-word;
  overflow-wrap: break-word;
  vertical-align: middle;
  color: #000000;
}

/* テーブルの一番上だけ色付け */
.notice-table thead th {
  background-color: #1f4e79 !important;
  color: #ffffff !important;
  text-align: center;
  font-weight: bold;
}

/* 偶数行に薄い背景 */
.notice-table tbody tr:nth-child(even) {
  background-color: #f8fbfd;
}

/* 列幅 */
.notice-table th:nth-child(1),
.notice-table td:nth-child(1) {
  width: 45%;
}

.notice-table th:nth-child(2),
.notice-table td:nth-child(2) {
  width: 30%;
}

.notice-table th:nth-child(3),
.notice-table td:nth-child(3) {
  width: 25%;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .info-anchor-nav {
    display: block;
  }

  .info-anchor-nav li {
    margin-bottom: 10px;
  }

  .info-section h2 {
    font-size: 22px;
  }

  .info-section h3 {
    font-size: 18px;
  }

  .notice-table {
    min-width: 720px;
  }
}
