/* 固定ページ本文（当院の施設基準・各種健康診断）。色はテーマの緑に合わせる */

/* ページ内リンク */
.ns-entry .info-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}
.ns-entry .info-anchor-nav li { margin: 0; padding: 0; }
.info-anchor-nav a {
  display: block;
  padding: 12px 18px;
  background: var(--ns-sub);
  border: 1px solid var(--ns-line);
  border-radius: var(--ns-radius);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.info-anchor-nav a:hover { background: var(--ns-theme); color: #fff; }

/* リード文 */
.info-lead {
  color: var(--ns-theme);
  font-size: 1.15em;
  font-weight: 600;
}

/* 各セクション */
.info-section { margin: 56px 0 0; scroll-margin-top: calc(var(--ns-header-h) + 16px); }
.ns-entry .info-section h2 { margin: 0 0 24px; font-size: 24px; }
.ns-entry .info-section h3 {
  margin: 32px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--ns-theme);
  font-size: 19px;
}
.info-section ol { padding-left: 1.5em; }
.info-section li { margin-bottom: 8px; }

/* チェック付きの一覧（各種健康診断） */
.ns-entry .info-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.ns-entry .info-check-list li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 46px;
  background: #fff;
  border: 1px solid var(--ns-line);
  border-radius: var(--ns-radius);
  font-weight: 500;
}
.ns-entry .info-check-list li::before {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 14px;
  height: 7px;
  border-bottom: 2px solid var(--ns-theme);
  border-left: 2px solid var(--ns-theme);
  content: "";
  transform: translateY(-70%) rotate(-45deg);
}

/* お問い合わせの枠 */
.info-box {
  margin: 64px 0 0;
  padding: 40px 32px;
  text-align: center;
  background: var(--ns-sub);
  border: 1px solid var(--ns-line);
  border-radius: var(--ns-radius);
}
.info-box__label { margin: 0 0 4px; color: var(--ns-theme); font-weight: 600; }
.ns-entry .info-box h2 { margin: 0 0 18px; font-size: 22px; border: 0; padding: 0; }
.ns-entry .info-box h2::after { display: none; }
.info-box__tel { margin: 20px 0 0; }
.info-box__tel a {
  font-family: var(--ns-font-en);
  font-size: 28px;
  font-weight: 500;
  color: var(--ns-theme);
  text-decoration: none;
  letter-spacing: .04em;
}

/* 施設基準の表 */
.notice-table-wrap { width: 100%; overflow-x: auto; margin-top: 24px; }
.ns-entry .notice-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.ns-entry .notice-table th,
.ns-entry .notice-table td {
  padding: 13px 12px;
  border: 1px solid var(--ns-line);
  vertical-align: middle;
  overflow-wrap: break-word;
}
.ns-entry .notice-table thead th {
  background: var(--ns-theme);
  color: #fff;
  text-align: center;
  font-weight: 600;
}
.notice-table tbody tr:nth-child(even) { background: var(--ns-sub); }
.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 (max-width: 767px) {
  .ns-fv__body {
    padding: 14px 16px;
    background: rgba(255, 255, 255, .78);
    border-radius: 8px;
  }
  .ns-fv__copy, .ns-fv__sub { text-shadow: none; }
}

@media screen and (max-width: 768px) {
  .ns-entry .info-anchor-nav { display: block; }
  .ns-entry .info-anchor-nav li { margin-bottom: 10px; }
  .ns-entry .info-section h2 { font-size: 21px; }
  .ns-entry .info-section h3 { font-size: 17px; }
  .ns-entry .info-check-list { grid-template-columns: 1fr; }
  .info-box { padding: 32px 20px; }
  .ns-entry .notice-table { min-width: 640px; }
}
