/* ----------------------------------------
// 対応エリアページ
---------------------------------------- */
.revive-area-page .article_body [id] {
  scroll-margin-top: 160px;
}

.area-visual {
  height: auto;
}

/* 目次 */
.article .area-toc {
  border: 1px solid #d7dadf;
  margin: 0 0 60px;
  padding: 24px 30px;
}
.article .area-toc__ttl {
  color: #595757;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 12px;
}
.article .area-toc__list {
  border: none;
  margin: 0;
  padding: 0 0 0 24px;
  width: auto;
}
.article .area-toc__list li {
  font-size: 16px;
  line-height: 1.6;
  padding: 4px 0;
}
.article .area-toc__list a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article .area-toc__list a:hover {
  color: #55934f;
}

/* 料金の下のページ案内 */
.article .area-pagelinks {
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 0 0 30px;
  padding: 0;
  width: auto;
}
.article .area-pagelinks li {
  list-style: none;
  padding-left: 18px;
  position: relative;
}
.article .area-pagelinks li::before {
  border-right: 2px solid #55934f;
  border-top: 2px solid #55934f;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
}
.article .area-pagelinks a,
.article .area-links a {
  color: #25c6d1;
}

/* アクセスのルート表 */
.article .area-route {
  -webkit-overflow-scrolling: touch;
  margin-bottom: 10px;
  overflow-x: auto;
}
.article .area-route table {
  border-collapse: collapse;
  min-width: 100%;
}
.article .area-route th,
.article .area-route td {
  border: 3px solid #fff;
  font-size: 1.6rem;
  line-height: 1.6;
  padding: 12px 15px;
  text-align: left;
  vertical-align: middle;
}
.article .area-route th {
  background-color: #e9f0d3;
  color: #000;
  font-weight: bold;
  white-space: nowrap;
}
.article .area-route td {
  background-color: #f2f3f7;
  color: #000;
}
.article .area-route td:first-child,
.article .area-route td:nth-child(3),
.article .area-route td:last-child {
  white-space: nowrap;
}
.article .area-route__note {
  margin-bottom: 40px;
}
.article .area-info table {
  width: 100%;
}
.article .area-info td {
  width: auto;
}
.article .area-info td:first-child {
  white-space: nowrap;
  width: 160px;
}

/* 同じ沿線のエリア */
.article .area-links {
  border: none;
  margin: 0 0 20px;
  padding: 0;
  width: auto;
}
.article .area-links li {
  border-bottom: 1px solid #d7dadf;
  list-style: none;
  padding: 14px 0 14px 18px;
  position: relative;
}
.article .area-links li::before {
  border-right: 2px solid #55934f;
  border-top: 2px solid #55934f;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
}
.article .area-links__line {
  color: #595757;
  font-size: 1.5rem;
  margin-left: 4px;
}
.article .area-links__clinic {
  margin-bottom: 60px;
}

/* ----------------------------------------
// 院ページ「周辺エリアから通院される方へ」・TOP
---------------------------------------- */
.area-hub {
  margin-bottom: 80px;
  margin-top: 80px;
}
.area-hub__lead {
  font-size: 1.6rem;
  line-height: 1.9;
  margin: 0 auto 40px;
  max-width: 900px;
}
.area-hub__group {
  border-left: 5px solid #55934f;
  color: #595757;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 40px 0 16px;
  padding-left: 12px;
}
.area-hub__list,
.top-area__list {
  display: grid;
  gap: 0 30px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
}
.area-hub__list li,
.top-area__list li {
  border-bottom: 1px solid #d7dadf;
  font-size: 1.6rem;
  line-height: 1.5;
  list-style: none;
  padding: 12px 0;
}
.area-hub__list a,
.top-area__list a {
  color: #000;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.area-hub__list a:hover,
.top-area__list a:hover {
  color: #55934f;
}
.area-note {
  color: #595757;
  display: block;
  font-size: 1.3rem;
  margin-top: 2px;
}

.top-area {
  margin: 20px 0 60px;
}
.top-area__ttl {
  border-left: 5px solid #55934f;
  color: #595757;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-left: 12px;
}
.top-area__group {
  border-top: 1px solid #d7dadf;
}
.top-area__group:last-child {
  border-bottom: 1px solid #d7dadf;
}
.top-area__group summary {
  color: #000;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: bold;
  list-style: none;
  padding: 16px 40px 16px 4px;
  position: relative;
}
.top-area__group summary::-webkit-details-marker {
  display: none;
}
.top-area__group summary::after {
  color: #55934f;
  content: "＋";
  font-size: 1.8rem;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.top-area__group[open] summary::after {
  content: "－";
}
.top-area__group .top-area__list {
  padding: 0 4px 16px;
}

.access .media.-area {
  flex-wrap: wrap;
}
.access .media > .top-area {
  flex: 0 0 100%;
  margin: 0;
}

/* ----------------------------------------
// HTMLサイトマップ
---------------------------------------- */
#sitemap .sitemap_area {
  grid-column: 1 / -1;
}
.sitemap_area__ttl {
  color: #595757;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 20px 0 4px;
}
#sitemap .sitemap_area__list {
  column-gap: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 1100px) {
  .revive-area-page .article_body [id] {
    scroll-margin-top: 110px;
  }
}

@media screen and (max-width: 750px) {
  .article .area-toc {
    margin-bottom: 8vw;
    padding: 4vw 5vw;
  }
  .article .area-toc__ttl {
    font-size: 4vw;
    margin-bottom: 2vw;
  }
  .article .area-toc__list {
    padding-left: 5vw;
  }
  .article .area-toc__list li {
    font-size: 3.7333333333vw;
    padding: 1.6vw 0;
  }
  .article .area-pagelinks {
    flex-direction: column;
    gap: 0;
  }
  .article .area-pagelinks li {
    font-size: 4vw;
    padding: 2.4vw 0 2.4vw 4.5vw;
  }
  .article .area-route table,
  .article .area-route tbody,
  .article .area-route tr,
  .article .area-route td {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .article .area-route thead {
    display: none;
  }
  .article .area-route tr {
    margin-bottom: 3vw;
  }
  .article .area-route td {
    border-width: 0 0 2px;
    display: flex;
    gap: 3vw;
  }
  .article .area-route td:first-child,
  .article .area-route td:nth-child(3),
  .article .area-route td:last-child {
    white-space: normal;
  }
  .article .area-route td::before {
    color: #595757;
    flex-shrink: 0;
    font-weight: bold;
    width: 5.5em;
  }
  .article .area-route td:nth-child(1)::before {
    content: "手段";
  }
  .article .area-route td:nth-child(2)::before {
    content: "ルート";
  }
  .article .area-route td:nth-child(3)::before {
    content: "乗換";
  }
  .article .area-route td:nth-child(4)::before {
    content: "所要時間";
  }
  .article .area-info td:first-child {
    width: 24vw;
  }
  .article .area-route th,
  .article .area-route td {
    font-size: 3.4666666667vw;
    padding: 2vw 2.6666666667vw;
  }
  .article .area-links li {
    font-size: 4vw;
    padding: 3.2vw 0 3.2vw 4.5vw;
  }
  .article .area-links__line {
    display: block;
    font-size: 3.2vw;
    margin-left: 0;
  }
  .area-hub {
    margin-bottom: 12vw;
    margin-top: 12vw;
  }
  .area-hub__lead {
    font-size: 3.7333333333vw;
    margin-bottom: 6vw;
  }
  .area-hub__group {
    font-size: 4.2666666667vw;
    margin: 8vw 0 2vw;
  }
  .area-hub__list,
  .top-area__list {
    grid-template-columns: 1fr;
  }
  .area-hub__list li,
  .top-area__list li {
    font-size: 4vw;
    padding: 3.2vw 0;
  }
  .area-note {
    font-size: 3.2vw;
  }
  .top-area__ttl {
    font-size: 4.5333333333vw;
  }
  .top-area__group summary {
    font-size: 3.7333333333vw;
    padding: 4vw 10vw 4vw 1vw;
  }
  .sitemap_area__ttl {
    font-size: 3.7333333333vw;
  }
  #sitemap .sitemap_area__list {
    column-gap: 4vw;
    grid-template-columns: repeat(2, 1fr);
  }
}

.revive-area-page .article .wp-block-mob-faq + h2 {
  margin-top: 60px;
}
