/* PV公式サイトの本文（ページ本文・お知らせ本文）用。見出しは旧テーマの h3・h4 の見た目を写したもの
   本文の見出しは移行時に 旧h1〜h3→h2、旧h4→h3、旧h5→h4 に変えている */
html { scroll-behavior: smooth; }
.key-visual h1 { margin: 0; padding: 0; line-height: normal; }

.pv-body { padding-top: 70px; padding-bottom: 90px; }
.pv-body > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.pv-body strong, .pv-body b { font-weight: bold; }
.pv-body em, .pv-body i { font-style: italic; }
.pv-body p { margin-bottom: 1.4em; line-height: 2; }

.pv-body h2 {
  position: relative; margin-top: 70px; margin-bottom: 30px; padding: 12.5px;
  text-align: center; line-height: 1.4; font-size: 28px; font-weight: bold; letter-spacing: 0.1em;
}
.pv-body > h2:first-child { margin-top: 0; }
.pv-body h2::before, .pv-body h2::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px;
  background: linear-gradient(to right, rgba(0, 164, 203, 0), #00A4CB, rgba(0, 164, 203, 0));
}
.pv-body h2::before { top: 0; }
.pv-body h2::after { bottom: 0; }

.pv-body h3 {
  position: relative; margin-top: 50px; margin-bottom: 20px; padding-left: 39px;
  line-height: 1.5; font-size: 24px; font-weight: bold; letter-spacing: 0.1em;
}
.pv-body h3::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 29px; height: 24px; background: url(/pv/theme/pool_volunteer/media/img/h4.png) no-repeat center/contain;
}
.pv-body h4 { margin-top: 36px; margin-bottom: 12px; font-size: 19px; font-weight: bold; color: #00A4CB; letter-spacing: 0.05em; }
.pv-body h5 { margin-top: 28px; margin-bottom: 8px; font-size: 17px; font-weight: bold; }

.pv-body ul, .pv-body ol { margin-bottom: 1.4em; padding-left: 1.6em; }
.pv-body ul > li { list-style-type: disc; }
.pv-body ol > li { list-style-type: decimal; }
.pv-body li { line-height: 1.8; margin-bottom: 0.4em; }
.pv-body li > ul, .pv-body li > ol { margin-top: 0.4em; margin-bottom: 0; }

.pv-body table { width: 100%; border-collapse: collapse; margin-bottom: 2em; font-size: 15px; }
.pv-body th, .pv-body td { border: 1px solid #d0d0d0; padding: 10px 14px; vertical-align: top; text-align: left; line-height: 1.7; }
.pv-body th { background: #f8f8f8; font-weight: bold; }

.pv-body img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.pv-body figure { margin: 0 auto 2em; text-align: center; }
.pv-body figcaption { margin-top: 0.5em; font-size: 14px; color: #666; }
.pv-body iframe { max-width: 100%; }

/* トップのお知らせ枠（固定ページ「top-notice」の本文）。1段落目を旧サイトのオレンジの見出しにする */
.top-notice p { margin-bottom: 0.2em; }
.top-notice p:first-child { color: #ff6200; font-size: 20px; font-weight: bold; }
.top-notice strong, .top-notice b { font-weight: bold; }
.top-notice a { text-decoration: underline; }

@media only screen and (max-width: 768px) {
  .top-notice p:first-child { font-size: 17px; }
  .pv-body { padding-top: 40px; padding-bottom: 60px; }
  .pv-body h2 { margin-top: 50px; margin-bottom: 20px; line-height: 1.8; font-size: 22px; }
  .pv-body h3 { padding-left: 30px; font-size: 18px; }
  .pv-body h3::before { width: 22px; height: 18px; }
  .pv-body h4 { font-size: 17px; }
  .pv-body table { font-size: 14px; }
  .pv-body th, .pv-body td { padding: 8px 10px; }
}
