/* カラー変更 */

:root {
  --content-width: 1200px;
  --main-color01: #2074be;
  --main-color02: #7ac5f5;
  --sub-color: #ff9999;
  --accent-color: #dbebf5;
}

/* コンテンツレイアウト */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  word-break: break-all;
  border-spacing: 0;
  border-collapse: collapse;
  text-indent: initial;
  text-decoration: none;
  line-height: 2em;
  margin: 0;
}

body {
  overflow-x: hidden;
  font-family: "Zen Kaku Gothic New", "メイリオ", Meiryo, Osaka,
    "ＭＳ Ｐゴシック", "MS PGothic", "游ゴシック体", "Yu Gothic", YuGothic,
    Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN,
    "ヒラギノ角ゴ ProN W3", sans-serif;
}

/* main {
  padding-top: 100px;
} */

.home main {
  padding-top: 0;
}

@media (max-width: 767px) {
  .home main {
    /* padding-top: 100px; */
    padding-top: 80px;
  }

  main {
    /* padding-top: 100px; */
    padding-top: 80px;
  }
}
ul {
  padding-left: 20px;
}
li::marker {
  color: var(--main-color02);
}

a:hover {
  opacity: 0.7;
}

section {
  padding: 60px 0;
}

section:first-of-type {
  padding-top: 0px;
}

@media (max-width: 767px) {
  section {
    padding: 30px 0;
  }
}

.home section:first-of-type {
  padding-top: 60px;
}

@media (max-width: 767px) {
  .home section:first-of-type {
    padding-top: 30px;
  }
}

.container {
  margin: 0 auto;
  max-width: var(--content-width);
}
@media (max-width: 1200px) {
  .container {
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
    margin: 0 auto;
    max-width: var(--content-width);
  }
  .container:first-child {
    margin-top: 0;
  }
}

.clinic-container {
  margin: 0 auto;
  padding-right: calc(30px / 2);
  padding-left: 0;
  /* max-width: var(--content-width); */
}
@media (max-width: 1200px) {
  .clinic-container {
    padding-right: calc(30px / 2);
    padding-left: 0;
    margin: 0 auto;
    max-width: var(--content-width);
  }
  .clinic-container:first-child {
    margin-top: 0;
  }
}

@media (max-width: 1024px) {
  .clinic-container {
    padding-right: 0;
    padding-left: 0;
    margin: 0 auto;
    max-width: var(--content-width);
  }
  .clinic-container:first-child {
    margin-top: 0;
  }
}

.doctor-container {
  margin: 0 auto;
  max-width: var(--content-width);
}
@media (max-width: 1200px) {
  .doctor-container {
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
    margin: 0 auto;
    max-width: var(--content-width);
  }
  .doctor-container:first-child {
    margin-top: 0;
  }
}

/* .doctor-container {
    margin: 0 auto;
    padding-left: calc(160px / 2);
    padding-right: 0;
}
@media (max-width: 1200px) {
  .doctor-container {
    padding-left: calc(160px / 2);
    padding-right: 0;
    margin: 0 auto;
    max-width: var(--content-width);
  }
  .doctor-container:first-child {
    margin-top: 0;
  }
} */

@media (max-width: 767px) {
  .doctor-container {
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
    margin: 0 auto;
    max-width: var(--content-width);
  }
  .doctor-container:first-child {
    margin-top: 0;
  }
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .row {
    display: block;
    margin-top: 0;
  }
  .row.sp-2row {
    display: flex;
  }
}

.row.reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.row .span_1 {
  width: calc(100% / 12 * 1);
}

.row .span_2 {
  width: calc(100% / 12 * 2);
}

.row .span_3 {
  width: calc(100% / 12 * 3);
}

.row .span_4 {
  width: calc(100% / 12 * 4);
}

.row .span_5 {
  width: calc(100% / 12 * 5);
}

.row .span_6 {
  width: calc(100% / 12 * 6);
}

.row .span_7 {
  width: calc(100% / 12 * 7);
}

.row .span_8 {
  width: calc(100% / 12 * 8);
}

.row .span_9 {
  width: calc(100% / 12 * 9);
}

.row .span_10 {
  width: calc(100% / 12 * 10);
}

.row .span_11 {
  width: calc(100% / 12 * 11);
}

.row .span_12 {
  width: 100%;
}

.row > .col {
  margin-top: 30px;
  margin-left: 0;
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

@media (max-width: 767px) {
  .row > .col {
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
    width: 100%;
  }
  .row.sp-2row > .col {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .row .span_1 {
    width: auto;
  }
  .row > .col:not(:first-child) {
    margin-top: 20px;
  }
}

/* ヘッダー */

header {
  /* position: fixed; */
  width: 100%;
  z-index: 100;
  /* padding: 10px 30px; */
  padding: 10px 10%;
  top: 0;
  background: #ffffff;
  overflow: visible !important;
}

.header-wrap {
  position: relative;
  width: auto;
  min-height: 80px;
  text-align: center;
  margin: 0 auto;
  /* max-width: var(--content-width); */
}

.header-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px 0;
  width: 100%;
  line-height: 1.2;
}

/* グローバルメニュー */
.header-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  background: #ffff;
}
.header_nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: 0 auto;
  list-style: none;
  padding: 10px 0 20px;
  gap: 0 15px;
}

.header_nav[data-sticky="true"] {
  position: fixed;
  top: 10px;
  right: 0;
  z-index: 101;
  background: #ffff;
  padding: 0 40px 0 40px;
  border-radius: 50px 0 0 50px;
}

.header_nav ul li {
  position: relative;
}
nav ul li.has-child::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 32px;
  width: 20px;
  height: 10px;
  background: url(/wp-content/uploads/gnavi-arrow.png) no-repeat center;
  background-size: cover;
  transform: translateX(-50%);
}

nav li.has-child ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /* top: 74px; */
  top: 56px;
  z-index: 15;
  width: 200px;
  background: #ffffff;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  padding: 0;
}

nav li.has-child ul:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 100%;
  top: -20px;
}

nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}

nav li.has-child ul li a {
  /* color: #fff; */
  /* border-bottom:solid 1px #CCCCCC; */
  display: block;
  width: 200px;
  text-decoration: none;
  padding: 10px 0;
  font-weight: 400;
}

nav li.has-child ul li a::before {
  content: "";
  position: absolute;
  border-bottom: solid 1px #cccccc;
  bottom: 5px;
  left: 10px;
  width: 90%;
  height: 1px;
}

nav li.has-child ul li:last-child > a {
  border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
  /* background: rgba(80, 76, 68, 0.7); */
  color: var(--main-color01);
}

/* .header_nav ul li a {
  color: #fff;
  text-align: center;
} */

/* .header_nav ul li a:hover {
  text-decoration: underline;
  color: var(--main-color01);
} */

.header_nav span {
  display: block;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 1090px) {
  .header_nav ul {
    display: none;
  }
}

@media (max-width: 767px) {
  header {
    padding: 0 0 0 10px;
    position: fixed;
  }
  .header-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    width: 100%;
    justify-content: space-between;
  }
}

.header-head {
  text-align: left;
  flex: 1;
}

.header-head a {
  display: inline-block;
}

.header-copy:not(.title) {
  font-size: 1rem;
  font-weight: normal;
  text-align: left;
  position: relative;
  margin: 0;
}

/* @media (max-width: 767px) {
    .header-copy:not(.title) {
        display: none;
    }
} */

.header-head img {
  width: 340px;
}

@media (max-width: 1024px) {
  .header-copy:not(.title) {
    display: none;
  }
  .header-top {
    margin: 0;
  }
}

@media (max-width: 767px) {
  .header-head img {
    width: 80%;
    padding: 10px 0;
  }
  .header-top {
    /* margin: 10px; */
    margin: 0;
    line-height: 1.2;
  }
  /* .header-copy:not(.title){
    font-size: 0.7rem;
    line-height: 1;
    margin-bottom: 10px;
   } */
}

.header-btn {
  position: relative;
  cursor: pointer;
  width: 60px;
  height: 80px;
  z-index: 999999999;
}

.header-btn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 17px;
  height: 3px;
  border-radius: 2px;
  background: var(--main-color01);
  /* width: 45%; */
  width: 46%;
}

.header-btn span:nth-of-type(1) {
  /* top: 24px; */
  /* top: 42px; */
  top: 31px;
}

.header-btn span:nth-of-type(2) {
  /* top: 32px; */
  /* top: 50px; */
  top: 39px;
}

.header-btn span:nth-of-type(3) {
  /* top: 40px; */
  /* top: 58px; */
  top: 47px;
}

.header-btn span:nth-of-type(4) {
  /* top: 42px; */
  /* top: 60px; */
  top: 50px;
  background: none;
  font-size: 10px;
  color: var(--main-color01);
  font-weight: bold;
}

.header-btn.active span:nth-of-type(1) {
  /* top: 24px; */
  /* top: 40px; */
  top: 37px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 40%;
}

.header-btn.active span:nth-of-type(2) {
  opacity: 0;
}

.header-btn.active span:nth-of-type(3) {
  /* top: 52px; */
  /* top: 36px; */
  top: 49px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
}

.header_nav {
  margin-right: 0px;
}

@media (min-width: 1025px) {
  .header-btn {
    display: none;
  }
}

/* スライドナビゲーション */

.slide {
  background-color: #ffffff;
  width: 300px;
  min-height: 100vh;
  position: fixed;
  right: -100%;
  top: 0;
  z-index: 10;
  overflow: scroll;
  padding-top: 100px;
}

.slide-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  background: transparent;
  cursor: pointer;
  z-index: -1;
}

@media (max-width: 767px) {
  .slide {
    padding-top: 80px;
    /* padding-top: 100px; */
  }
}

.slide-menu {
  list-style: none;
  border-top: 2px solid #fff;
  /* padding: 0; */
  padding: 0 20px;
}

.slide-menu > ul {
  padding: 0;
  list-style: none;
}

.slide-menu > ul > li {
  border-bottom: 2px solid #d8d8d8;
}

.slide-menu > ul > li > a {
  text-decoration: none;
  color: #000000;
  /* padding: 20px; */
  padding: 15px;
  display: block;
  font-weight: bold;
  font-size: 18px;
}

.slide-menu > ul > li > a:hover {
  /* background-color: var(--main-color02); */
  /* box-shadow: inset 0px 5px 10px -5px rgba(0, 0, 0, 0.5); */
  transition: 0.3s ease 0s;
  opacity: 1;
}

.sub-menu {
  width: 100%;
  padding: 0;
  /*  background: #8bb2e5; */
  display: none;
  list-style: none;
}

.sub-menu > li > a {
  text-decoration: none;
  color: #000000;
  padding: 10px 15px;
  display: block;
  border-top: 1px dashed #c1c1c1;
  font-weight: 500;
}

.sub-menu-title {
  position: relative;
}

.sub-menu-title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 32px;
  width: 20px;
  height: 10px;
  background: url(/wp-content/uploads/gnavi-arrow.png) no-repeat center;
  background-size: cover;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
}

.slide-menu > ul > li.active.sub-menu-title::before {
  background: url(/wp-content/uploads/gnavi-arrow01.png) no-repeat center;
  /* transform: rotate(180deg); */
  background-size: cover;
}

.menu-text:after {
  content: "MENU";
  display: block;
  line-height: 1;
  text-align: center;
  width: 100%;
  font-size: 8px;
  padding-top: 5px;
}

.header-btn.active .menu-text:after {
  content: "CLOSE";
}

/* ぱんくず */

.bread_wrap {
  margin-top: 0;
  margin-bottom: 0;
}

.bread {
  overflow: hidden;
}

.bread ul {
  margin: 0 auto;
  float: none;
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .bread ul {
    padding: 15px 0;
    justify-content: start;
  }
}

.bread ul li {
  list-style: none;
  position: relative;
  float: left;
  margin-right: 20px;
  padding-right: calc(20px + 9px);
}

@media (max-width: 767px) {
  .bread ul li {
    margin-right: 15px;
    padding-right: calc(15px + 9px);
  }
}

.bread ul li a {
  padding: 0;
  text-decoration: underline;
  color: var(--main-color02);
}

.bread ul li a:hover {
  color: #1b1b1b;
  text-decoration: none;
}

.bread ul li:after {
  content: ">";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.bread ul li:last-child {
  padding-right: 0;
  margin-right: 0;
}

.bread ul li:last-child:after {
  content: none;
}

.medicalinfo {
  background-color: var(--accent-color);
}

/* 画像のフィックス */

figure {
  margin: 0;
  text-align: center;
}

img {
  vertical-align: middle;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.recruit-info-container img {
  width: auto;
}

figure img {
  width: inherit;
}

/* 投稿 */

.article_list {
  padding: 30px;
  border: 1px solid var(--main-color02);
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .article_list {
    padding: 20px;
  }
}

.article_list:first-child {
  margin-top: 0;
}

.article_list:nth-child(n + 2) {
  margin-top: 30px;
}

.article_date {
  display: flex;
  align-items: center;
  gap: 20px;
}

.article_detail {
  padding: 4%;
  margin-bottom: 4%;
  font-size: 1.2rem;
}

.article_detail img {
  width: auto;
}

.article_detail .span_12 {
  margin: 2% 0;
}

.article_button {
  margin-top: 30px;
  text-align: right;
}

@media (max-width: 767px) {
  .article_button {
    margin-top: 20px;
  }
}

.more {
  display: inline-block;
  overflow: hidden;
  margin: auto;
}

.more.btn_ss a,
.more.btn_ss span {
  padding: 0.3em 2.1em 0.3em 1.4em;
}

.more.btn_s a,
.more.btn_s span {
  padding: 0.5em 2.1em 0.5em 1.4em;
}

.more.btn_m a,
.more.btn_m span {
  padding: 0.5em 2.1em 0.5em 1.4em;
}

.more a,
.more span {
  display: inline-block;
  letter-spacing: normal;
  color: var(--main-color02);
  border: 1px solid var(--main-color02);
  padding: 0.9em 1.6em;
  margin-bottom: 1px;
  text-decoration: none;
}

.more a:after,
.more span:after {
  border-color: var(--main-color02);
}

.more a:hover,
.more span:hover {
  color: #333;
  border-color: #333;
}

.more a:hover:after,
.more span:hover:after {
  border-color: #333;
}

.more a.add_arrow,
.more span.add_arrow {
  padding-right: 1.9em;
}

.add_arrow {
  display: block;
  position: relative;
}

.add_arrow:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 5%;
  margin: auto;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: translate(0, -50%) rotate(45deg);
  transform: translate(0, -50%) rotate(45deg);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.add_arrow:hover:after {
  right: 3%;
  border-color: #fff;
}

.more {
  display: inline-block;
  overflow: hidden;
  margin: auto;
}

.more a {
  display: inline-block;
  letter-spacing: normal;
  border: 1px solid var(--main-color02);
  color: var(--main-color02);
  padding: 0.3em 1.3em 0.3em 1em;
  margin-bottom: 1px;
  text-decoration: none;
  font-size: 1.2rem;
}

.pager {
  overflow: hidden;
  margin-bottom: 5%;
}

.pager .pager_prev {
  float: left;
}

.pager .pager_prev a {
  display: block;
  position: relative;
  padding-left: 15px;
  text-decoration: none;
}

.pager .pager_prev a:before,
.pager .pager_prev a:after {
  content: "";
  display: block;
  position: absolute;
  left: 2px;
  margin: auto;
  width: 8px;
  height: 1px;
  background: var(--main-color02);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.pager .pager_prev a:before {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
  top: calc(50% - 2px);
}

.pager .pager_prev a:after {
  -webkit-transform: translateY(-50%) rotate(-135deg);
  transform: translateY(-50%) rotate(-135deg);
  top: calc(50% + 3px);
}

.pager .pager_prev a:hover {
  text-decoration: underline;
}

.pager .pager_prev a:hover:before {
  left: 0;
}

.pager .pager_prev a:hover:after {
  left: 0;
}

.pager .pager_next {
  float: right;
}

.pager .pager_next a {
  display: block;
  position: relative;
  padding-right: 15px;
  text-decoration: none;
}

.pager .pager_next a:before,
.pager .pager_next a:after {
  content: "";
  display: block;
  position: absolute;
  right: 2px;
  margin: auto;
  width: 8px;
  height: 1px;
  background: var(--main-color02);
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.pager .pager_next a:before {
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  top: calc(50% - 2px);
}

.pager .pager_next a:after {
  -webkit-transform: translateY(-50%) rotate(135deg);
  transform: translateY(-50%) rotate(135deg);
  top: calc(50% + 3px);
}

.pager .pager_next a:hover {
  text-decoration: underline;
}

.pager .pager_next a:hover:before {
  right: 0;
}

.pager .pager_next a:hover:after {
  right: 0;
}

.top-recruit {
  background: var(--accent-color);
}

.top-news {
  background: url(/wp-content/uploads/news-bg.png) no-repeat center;
  background-size: cover;
}

/* .top-clinic {
    background: #AB9D83;
} */

.news-wrap {
  margin: 0 40px;
  padding: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  /* padding: 0 30px; */
  background-color: var(--main-color02);
  border-radius: 50px 50px 0 0;
}

.news-items {
  /* background: #fff; */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-item {
  flex: 1;
}

.news-items-inner {
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  align-items: center;
  position: relative;
  padding-right: 30px;
  padding: 15px;
  border-bottom: 1px solid #c1c1c1;
}

time {
  color: var(--main-color01);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* .news-items-inner:before {
    content: '>';
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 24px;
    color: #000;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
} */

.news-items-inner::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  right: 10px;
}

.news-items-inner:hover {
  background-color: #f4fbff;
  transition: 0.3s ease;
}

.news-items-inner:hover::after {
  content: "●";
  font-size: 10px;
  color: var(--main-color01);
}

.news-items-inner:last-child {
  border-bottom: none;
}

.cat {
  background: var(--main-color01);
  padding: 0 10px;
  color: #fff;
}

.post-title {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  color: #000000;
}

.news-item time {
  width: 100%;
  color: #575757;
}

.news-item a {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  color: #000000;
  line-height: 0;
}

.news-content {
  width: 100%;
  margin: 15px 0 0;
  line-height: 1.5;
}

.news-item a:hover {
  text-decoration: underline;
  opacity: 0.7;
}

.news-bnr {
  margin: 0 40px;
}

.news-bnr a {
  display: block;
  position: relative;
  box-shadow: 10px 10px 0px 0px rgba(227, 212, 212, 1);
}

.news-bnr a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/wp-content/uploads/news-bnr-on-pc.png) no-repeat center /
    contain;
  opacity: 0;
  transition: opacity 0.3s;
}

.news-bnr a:hover {
  box-shadow: none;
}

.news-bnr a:hover::after {
  opacity: 1;
}

.news-bnr a:hover img {
  opacity: 0;
}

.news-bnr01 {
  /* margin: 0 40px 40px; */
  margin: 40px 40px 0;
}

.news-bnr01 a {
  display: block;
  position: relative;
  box-shadow: 10px 10px 0px 0px rgba(227, 212, 212, 1);
}

/* .news-bnr01 a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/news-bnron.png) no-repeat center / contain;
    opacity: 0;
    transition: opacity 0.3s;
} */

.news-bnr01 a:hover {
  box-shadow: none;
}

/* .news-bnr01 a:hover::after{
    opacity: 1;
} */

@media (max-width: 767px) {
  .top-news {
    background: none;
    position: relative;
  }
  .top-news::before {
    content: "";
    background: url(/wp-content/uploads/news-bg-sp.png) no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-size: contain;
  }
  .news-wrap {
    margin: 0;
    border-radius: 30px 30px 0 0;
    padding: 20px;
  }
  .news-items-inner {
    padding: 15px 20px 15px 20px;
  }
  .news-bnr {
    margin: 0 auto;
  }
  .news-bnr01 {
    /* margin: 0 auto 40px; */
    margin: 40px auto 0;
  }

  .news-bnr a:hover img {
    opacity: 1;
  }
  .news-bnr a::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .top-news {
    background: none;
    position: relative;
  }
  .top-news::before {
    content: "";
    background: url(/wp-content/uploads/news-bg-sp.png) no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-size: contain;
  }
}

.icon-list {
  width: 100%;
  /* max-width: 50rem; */
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  justify-content: center;
}

.icon-item {
  list-style: none;
}

.icon-link {
  display: inline-flex;
  font-size: 3rem;
  text-decoration: none;
  color: var(--color-icon);
  width: 6rem;
  height: 7rem;
  transition: 0.5s linear;
  position: relative;
  z-index: 1;
  margin: auto;
}

.icon-link:hover {
  color: #fff;
}

/* .icon-link i {
  margin: auto;    
} */

.icon-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  top: 0;
  left: 0;
  width: 6rem;
  height: 6rem;
  background: #000;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transition: 0.3s cubic-bezier(0.95, 0.32, 0.37, 1.21);
}

.icon-link:hover::before {
  transform: scale(1);
}

.icon-item:nth-child(1) a:hover:before {
  background: var(--main-color02);
}

/* 共通の scale アニメーション */
@keyframes pulse {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.icon-link::before {
  content: "";
  position: absolute;
  /* top: 0;
  left: 0;
  width: 6rem;
  height: 6rem; */
  top: -7px;
  left: -7px;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  animation: pulse 2.5s ease-in-out infinite;
}

/* 個別の背景色を常に反映 */
.icon-item:nth-child(1) a::before {
  background: var(--main-color02);
}

@media (max-width: 767px) {
  .news-item {
    width: 100%;
    flex: auto;
    padding-top: 10px;
  }
}

/* コンタクトフォーム */

span[class^="cf-"] {
  display: block;
}

.form-wrap dl {
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 0;
  gap: 0;
  align-items: stretch;
}

.form-wrap dl:last-child {
  margin-bottom: 0;
}

.form-wrap dl dt {
  font-weight: bold;
  width: 240px;
  background: var(--main-color01);
  padding: 10px;
  color: #fff;
  border-bottom: 1px solid #fff;
}

.form-wrap dl dd {
  padding: 10px;
  margin-left: 0;
  width: calc(100% - 240px);
  background: #fff;
}

.reqired {
  color: #f00;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="url"],
input[type="email"] {
  width: 100%;
  font-size: 20px;
  border: none;
  background: #ececec;
  height: 100%;
}

.submit {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

button {
  text-decoration: none;
  border: none;
  outline: 0;
  color: #fff;
  cursor: pointer;
  background: none;
  padding: 23px 20px 23px 20px;
  width: 100%;
}

button:hover {
  color: #fff;
}

select {
  font-size: 20px;
  border: none;
  background: #ececec;
  height: 100%;
}

textarea {
  width: 100%;
  border: none;
  background: #ececec;
  height: 100%;
}

@media (max-width: 820px) {
  .form-wrap dl dd {
    width: 100%;
  }
  .form-wrap dl dt {
    width: 100%;
  }
}

/* カレンダー */

.calendars {
  display: flex;
  gap: 20px 2%;
}

.xo-event-calendar .calendar:first-child .month-next {
  visibility: hidden;
}

.xo-event-calendar .calendar:nth-child(n + 2) .month-next {
  visibility: visible;
}

.xo-event-calendar table.xo-month .month-header > span {
  margin: 0 20px;
  flex-grow: 0;
}

@media (max-width: 480px) {
  .calendars {
    flex-wrap: wrap;
  }
  .xo-event-calendar .calendar:first-child .month-next {
    visibility: visible;
  }
  .xo-event-calendar .calendar:nth-child(n + 2) .month-next {
    visibility: hidden;
  }
}

.xo-event-calendar table.xo-month td,
.xo-event-calendar table.xo-month th {
  border: none;
}

.xo-event-calendar table.xo-month {
  border: none;
}

.xo-event-calendar table.xo-month .month-dayname td div {
  text-align: center;
}

.holiday-titles {
  display: flex;
  flex-wrap: wrap;
}

.xo-event-calendar p.holiday-title {
  margin-right: 20px;
}

.xo-event-calendar table.xo-month button {
  background: var(--main-color02);
  width: 32px;
  border-radius: 50%;
}

.xo-event-calendar table.xo-month button span.nav-next {
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  margin-right: 5px;
}

.xo-event-calendar table.xo-month button span.nav-prev {
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin-left: 5px;
}

.xo-event-calendar table.xo-month .month-event-title {
  background: var(--main-color01) !important;
  text-align: center;
}

/* Slider */

.mv {
  /* padding-left: 563px; */
  padding-bottom: 100px;
  display: flex;
  position: relative;
}

.mv-point {
  position: absolute;
  display: flex;
  justify-content: center;
  bottom: 0;
  width: 100%;
}

.mv-point img {
  width: 15%;
}

/* .mv:before{
    position: absolute;
    content: '';
    height: 100%;
    width: 563px;
    top: 0;
    left: 0;
    background:url(/wp-content/uploads/mv-bg.png) no-repeat;
    background-size: cover;
    z-index: -1;
  } */

.slider-wrap {
  overflow: hidden;
  border-radius: 50px 0 0 50px;
  height: 70vh;
  width: 100%;
}

.mv-image {
  height: 100vh;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.mv-image.mv01 {
  background-image: url(/wp-content/uploads/mv01.png);
}

.mv-image.mv02 {
  background-image: url(/wp-content/uploads/mv02.png);
}

.mv-image.mv03 {
  background-image: url(/wp-content/uploads/mv03.png);
}

/* .slider01 {
    width: 100%;
} */

/* .catch {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 70px;
    writing-mode: vertical-rl;
}

.catch .txt p {
    font-size: 32px;
    padding: 20px;
    font-family: serif;
    color: #fff;
    text-shadow: 1px 4px 2px #000;
} */

.catch {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  /* width: 563px; */
  width: 45%;
  left: 0;
}

/* .catch img {
    height: 70vh;
} */

.slick-prev {
  left: 1% !important;
}

.slick-next {
  right: 1% !important;
}

.slick-prev:before,
.slick-next:before {
  color: #000 !important;
}

@media (max-width: 1025px) {
  .mv {
    display: block;
    padding-bottom: 40px;
  }

  .mv-image {
    height: 69vh;
    width: 100%;
  }
  .mv-image.mv01 {
    background-image: url(/wp-content/uploads/sp-mv01.png);
  }

  .mv-image.mv02 {
    background-image: url(/wp-content/uploads/sp-mv02.png);
  }

  .mv-image.mv03 {
    background-image: url(/wp-content/uploads/sp-mv03.png);
  }
  .catch {
    top: 10%;
    bottom: 0;
    left: 0;
    transform: none;
    position: absolute;
    z-index: 1;
  }
  .catch .txt p {
    font-size: 5vw;
  }
  .catch img {
    /* height: 60vh; */
    height: 55vh;
  }
  .mv-point {
    flex-direction: column;
    padding: 0 20px;
    width: 100%;
    bottom: 0;
    z-index: 1;
  }
  .mv-point img {
    width: 80%;
    margin: 0 auto;
  }
  .slider-wrap {
    border-radius: 0;
  }
}

@media (max-width: 1020px) {
  .mv-point img {
    width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .mv-point img {
    width: 100%;
    margin: 0 auto;
  }
  .catch {
    width: 184px;
  }
  .catch img {
    height: auto;
  }
}

/* 見出し */

/* h2.heading-1 {
    margin: 0 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: bold;
    font-size: 1.6rem;
    color: #1A1131;
    letter-spacing: 3px;
    border-bottom: none;
    line-height: 1.5em;
    font-family: serif;
}

h2.heading-1 span {
    display: block;
    font-size: 1rem;
}

h2.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 300px;
    height: 1px;
    background: #1A1131;
    top: 50%;
    transform: translateY(-50%);
    right: 101%;
}

h2.heading-1 a {
    color: var(--main-color02);
} */

h2.heading-1 {
  margin: 0 0 0.5em;
  text-align: center;
  margin: 0 auto;
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  font-size: 2.5rem;
  color: #000000;
  letter-spacing: 3px;
  border-bottom: none;
  line-height: 1em;
}

h2.heading-1 span {
  display: block;
  font-size: 1.5rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: normal;
  color: var(--main-color01);
}

h2.heading-2 {
  margin: 0 0 0.5em;
  text-align: center;
  margin: 0 auto;
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  font-size: 2.5rem;
  color: #000000;
  letter-spacing: 3px;
  border-bottom: none;
  line-height: 1em;
}

/* h2.heading-1 span {
    display: block;
    font-size: 1.5rem;
    font-family: "Josefin Sans", sans-serif;
    font-weight: normal;
    color: var(--main-color01);
} */

.h2span {
  font-size: 1.5rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: normal;
  color: var(--main-color01);
  display: inline-block;
}

h2.heading-2.base span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  line-height: 1.2;
}

h2.heading-2.base.animate span {
  animation: fadeInChar 0.5s ease forwards;
}

/* アニメーションディレイ：1文字ごとに遅延 */
h2.heading-2.base.animate span:nth-of-type(1) {
  animation-delay: 0s;
}
h2.heading-2.base.animate span:nth-of-type(2) {
  animation-delay: 0.05s;
}
h2.heading-2.base.animate span:nth-of-type(3) {
  animation-delay: 0.1s;
}
h2.heading-2.base.animate span:nth-of-type(4) {
  animation-delay: 0.15s;
}
h2.heading-2.base.animate span:nth-of-type(5) {
  animation-delay: 0.2s;
}
h2.heading-2.base.animate span:nth-of-type(6) {
  animation-delay: 0.25s;
}
h2.heading-2.base.animate span:nth-of-type(7) {
  animation-delay: 0.3s;
}
h2.heading-2.base.animate span:nth-of-type(8) {
  animation-delay: 0.35s;
}
h2.heading-2.base.animate span:nth-of-type(9) {
  animation-delay: 0.4s;
}
h2.heading-2.base.animate span:nth-of-type(10) {
  animation-delay: 0.45s;
}
h2.heading-2.base.animate span:nth-of-type(11) {
  animation-delay: 0.5s;
}
h2.heading-2.base.animate span:nth-of-type(12) {
  animation-delay: 0.55s;
}
h2.heading-2.base.animate span:nth-of-type(13) {
  animation-delay: 0.6s;
}
h2.heading-2.base.animate span:nth-of-type(14) {
  animation-delay: 0.65s;
}
h2.heading-2.base.animate span:nth-of-type(15) {
  animation-delay: 0.7s;
}
h2.heading-2.base.animate span:nth-of-type(16) {
  animation-delay: 0.75s;
}
h2.heading-2.base.animate span:nth-of-type(17) {
  animation-delay: 0.8s;
}
h2.heading-2.base.animate span:nth-of-type(18) {
  animation-delay: 0.85s;
}
h2.heading-2.base.animate span:nth-of-type(19) {
  animation-delay: 0.9s;
}
h2.heading-2.base.animate span:nth-of-type(20) {
  animation-delay: 0.95s;
}
h2.heading-2.base.animate span:nth-of-type(21) {
  animation-delay: 1s;
}
h2.heading-2.base.animate span:nth-of-type(22) {
  animation-delay: 1.05s;
}
h2.heading-2.base.animate span:nth-of-type(23) {
  animation-delay: 1.1s;
}
h2.heading-2.base.animate span:nth-of-type(24) {
  animation-delay: 1.15s;
}
h2.heading-2.base.animate span:nth-of-type(25) {
  animation-delay: 1.2s;
}
h2.heading-2.base.animate span:nth-of-type(26) {
  animation-delay: 1.25s;
}
h2.heading-2.base.animate span:nth-of-type(27) {
  animation-delay: 1.3s;
}
h2.heading-2.base.animate span:nth-of-type(28) {
  animation-delay: 1.35s;
}
h2.heading-2.base.animate span:nth-of-type(29) {
  animation-delay: 1.4s;
}
h2.heading-2.base.animate span:nth-of-type(30) {
  animation-delay: 1.45s;
}
/* 必要に応じて31〜50まで続けてOK */

@keyframes fadeInChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2.heading-news {
  padding: 40px 80px 0;
  border-radius: 50px 50px 0 0;
  width: fit-content;
  background-color: var(--main-color02);
  text-align: center;
  margin: 0 auto;
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  font-size: 2.5rem;
  color: #ffff;
  letter-spacing: 3px;
  border-bottom: none;
  line-height: 1em;
}

h2.heading-news span {
  display: block;
  font-size: 1.5rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: normal;
}

h2.trouble-title-en {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 60px;
  /* line-height: 1em; */
  line-height: 0.5;
  text-align: center;
  color: var(--accent-color);
  position: relative;
  z-index: 1;
}

/* h3.heading-1 {
    margin: 0 0 0.5em;
    position: relative;
    border: 0;
    word-wrap: break-word;
    font-weight: bold;
    padding-top: 0;
    font-size: 1.4rem;
    color: var(--main-color02);
    padding-left: 1em;
}

h3.heading-1:after {
    display: block;
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    background: linear-gradient(to top, #D9D1C1 50%, var(--main-color02) 50%);
    ;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
} */

h3.heading-1 {
  /* margin: 0 0 1em; */
  margin: 1em 0 1em;
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  /* padding-top: 40px;
    padding-bottom: 40px; */
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  line-height: 1.75;
}

h3.heading-1::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: auto;
  width: 100px;
  height: 107px;
  transform: translate(-50%, -50%);
  background: url(/wp-content/uploads/h3-01.png) no-repeat center / contain;
  z-index: -1;
}

h3.heading-1-2 {
  /* margin: 0 0 1em; */
  margin: 1em 0 1em;
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  /* padding-top: 40px;
    padding-bottom: 40px; */
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  line-height: 1.75;
}

h3.heading-1-2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: auto;
  width: 100px;
  height: 107px;
  transform: translate(-50%, -50%);
  background: url(/wp-content/uploads/h3-01-2.png) no-repeat center / contain;
  z-index: 0;
}

h3.heading-2 {
  /* margin: 0 0 0.5em; */
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 2.5rem;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
}

h3.heading-2::before,
h3.heading-2::after {
  content: "";
  height: 2px;
  flex-grow: 1;
  background-color: var(--main-color01);
}

h3.heading-2::before {
  margin-right: 24px;
}
h3.heading-2::after {
  margin-left: 24px;
}

h3.heading-2-1 {
  /* margin: 0 0 0.5em; */
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 2.5rem;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
  text-align: center;
}

h3.heading-2-1::before,
h3.heading-2-1::after {
  content: "";
  height: 2px;
  flex-grow: 1;
  background-color: var(--main-color01);
}

h3.heading-2-1::before {
  margin-right: 24px;
}
h3.heading-2-1::after {
  margin-left: 24px;
}

h3.heading-3 {
  /* margin: 0 0 0.5em; */
  position: relative;
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  /* padding-top: 40px; */
  padding-top: 60px;
  /* padding-bottom: 40px; */
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  display: block;
  line-height: 1.75;
}

h3.heading-3::before {
  content: "";
  position: absolute;
  /* top: 16px; */
  top: 35px;
  left: 50%;
  margin: 0 auto;
  width: 50px;
  height: 54px;
  transform: translate(-50%, -50%);
  background: url(/wp-content/uploads/h3-01.png) no-repeat center / contain;
}

/* h4.heading-1 {
    margin: 0 0 0.5em;
    font-size: 1.2rem;
    position: relative;
    color: var(--main-color02);
    font-weight: normal;
    line-height: 1.5em;
} */

h4.heading-1 {
  margin: 0 0 0.5em;
  font-size: 1.75rem;
  position: relative;
  color: #333333;
  font-weight: bold;
  line-height: 1.5em;
  border-bottom: solid 1px #dadada;
  position: relative;
  padding: 16px 0;
}

h4.heading-1::after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 1px var(--main-color02);
  bottom: -1px;
  width: 20%;
}

h4.heading-2 {
  margin: 0 0 0.5em;
  font-size: 1.5rem;
  position: relative;
  color: #000000;
  font-weight: bold;
  line-height: 1.5em;
  position: relative;
  padding: 16px 0 16px 30px;
}

h4.heading-2::after {
  content: "";
  position: absolute;
  /* top: 50%; */
  top: 20px;
  left: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  background: url(/wp-content/uploads/h4-01.png) no-repeat center / contain;
  /* transform: translate(0, -50%); */
}
/* h5.heading-1 {
    margin: 0 0 0.5em;
    font-size: 1rem;
    position: relative;
    color: var(--main-color02);
    font-weight: normal;
    line-height: 1.5em;
} */

h5.heading-1 {
  /* margin: 0 0 0.5em; */
  font-size: 1.25rem;
  position: relative;
  color: var(--main-color02);
  font-weight: bold;
  line-height: 1.5em;
  padding: 16px 0;
}

/* #pagetitle {
    position: relative;
    color: #fff;
    padding: 2em 0.5em;
    background: var(--main-color01);
} */

#pagetitle {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 593px;
}

/* #pagetitle:after {
    content: '';
    position: absolute;
}

#pagetitle span {
    text-align: center;
    font-size: 2.0rem;
    font-weight: normal;
    display: block;
    box-sizing: border-box;
    border:3px solid #fff;
    line-height: 1.5em;
} */

#pagetitle::before {
  content: "";
  position: absolute;
  background: url(/wp-content/uploads/pagetitle-bg.png);
  right: 0;
  background-repeat: no-repeat;
  top: 0;
  width: 70%;
  height: 100%;
  background-size: cover;
  background-position: left;
}

.title-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: 35%;
}

.title-box-bg {
  position: relative;
  /* width: 100%; */
  justify-content: center;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* .title-box-bg::before {
    content: "";
    position: absolute;
    left: -360px;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 40px 40px 40px 360px;
    z-index: 1;
    border-radius: 0 30px 30px 0;
} */

#pagetitle span {
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  display: block;
  box-sizing: border-box;
  /* border: 3px solid #fff; */
  line-height: 1.5em;
  z-index: 1;
  position: relative;
  /* margin: 0 0 0 auto; */
}

#pagetitle span:nth-child(1) {
  border-bottom: solid 3px var(--main-color01);
  width: fit-content;
}

#pagetitle span:nth-child(2) {
  font-size: 32px;
  font-weight: 600;
  font-family: "Josefin Sans";
  color: var(--main-color01);
}

#pagetitle::after {
  content: "";
  position: absolute;
  background: url(/wp-content/uploads/pagetitle-bg-left.png);
  left: 0;
  top: 0;
  width: 30%;
  height: 100%;
  background-repeat: no-repeat;
  /* transform: translateY(-50%); */
  background-position: right;
  background-size: cover;
  z-index: 0;
}

.title-box::before {
  content: "";
  position: absolute;
  left: -360px;
  right: 0;
  height: 130px;
  top: 195px;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  width: 35%;
  padding: 40px 40px 40px 360px;
  z-index: 1;
  border-radius: 0 30px 30px 0;
}

@media (max-width: 1450px) {
  .title-box {
    /* width: 40%; */
    width: 50%;
  }
  #pagetitle span {
    font-size: 40px;
  }
  .title-box::before {
    width: 50%;
  }
}

@media (max-width: 820px) {
  #pagetitle {
    height: 246px;
  }
  #pagetitle::before {
    width: 100%;
  }
  #pagetitle span {
    /* font-size: 30px; */
    font-size: 25px;
  }
  #pagetitle span:nth-child(2) {
    font-size: 20px;
  }
  .title-box {
    align-items: flex-start;
    padding-left: 15px;
    /* width: 50%; */
    width: 80%;
  }
  .title-box-bg {
    height: 107px;
  }
  #pagetitle::after {
    width: 37%;
  }
  /* .title-box-bg::before{
        left: -15px;
        padding: 20px 20px 20px 15px;
    } */
  .title-box::before {
    height: 50px;
    top: 60px;
  }
}

@media (max-width: 768px) {
  h2.heading-1 {
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  h2.heading-1 {
    font-size: 1.8rem;
    padding-top: 0;
  }
  h3.heading-1 {
    font-size: 1.4rem;
  }
  h3.heading-1::before {
    height: 80px;
  }
  h3.heading-1-2 {
    font-size: 1.4rem;
  }
  h3.heading-1-2::before {
    height: 80px;
  }
  h2.heading-news {
    padding: 24px 40px 0;
    border-radius: 30px 30px 0 0;
    font-size: 1.8rem;
  }
  h2.heading-news span {
    font-size: 1rem;
  }
  h2.heading-2 {
    font-size: 1.8rem;
  }
  .h2span {
    font-size: 1rem;
  }
  h2.heading-2.base span {
    opacity: 1;
    transform: none;
    font-size: 1.8rem;
  }
  h2.trouble-title-en {
    font-size: 40px;
  }
  h2.heading-1 span {
    font-size: 1rem;
    letter-spacing: 0;
  }
  h3.heading-2 {
    font-size: 1.4rem;
  }
  h3.heading-2-1 {
    font-size: 1.4rem;
  }
  h3.heading-3 {
    font-size: 1.4rem;
  }
  h3.heading-3::before {
    height: 50px;
  }
  h4.heading-1 {
    font-size: 1.2rem;
  }
  h4.heading-2 {
    font-size: 1.2rem;
  }
  h4.heading-3 {
    font-size: 1.2rem;
  }
}

/* ボタン */

/* .btn-1 {
    color: #fff;
    display: block;
    width: 180px;
    margin-left: auto;
    height: auto;
    padding: 16px 20px 16px 20px;
    background: var(--main-color02);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    position: relative;
    border-radius: 50px;
    text-align: center;
} */

/* .btn-1:hover {
    color: #fff;
    background: #B28575;
} */

.btn-1 {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--main-color01);
  display: block;
  width: 270px;
  margin-left: auto;
  height: auto;
  padding: 16px 32px 16px 24px;
  background: #ffffff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  position: relative;
  border-radius: 50px;
  text-align: center;
  margin: 0 auto;
  border: solid 4px #ffffff;
  margin-top: 30px;
}

.btn-1::after {
  content: "";
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-1:hover {
  background-color: #fff;
  border-color: var(--main-color01);
  color: var(--main-color01);
  transition: 0.3s ease;
  opacity: 1;
}

.btn-1:hover::after {
  content: "●";
  font-size: 10px;
}

/* .btn-2 {
    color: #fff;
    display: block;
    width: 180px;
    height: auto;
    padding: 23px 20px 23px 20px;
    background: var(--main-color02);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    position: relative;
    border-radius: 50px;
    text-align: center;
}

.btn-2:hover {
    color: #fff;
    background: #B28575;
} */

.btn-2 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  display: block;
  width: 220px;
  /* margin-left: auto; */
  height: auto;
  padding: 16px 32px 16px 24px;
  background: var(--main-color01);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  position: relative;
  border-radius: 50px;
  text-align: center;
  /* margin: 0 auto; */
  border: solid 4px var(--main-color01);
}

.btn-2::after {
  content: "";
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-2:hover {
  background-color: #fff;
  border-color: var(--main-color01);
  color: var(--main-color01);
  transition: 0.3s ease;
}

.btn-2:hover::after {
  content: "●";
  font-size: 10px;
}

.btn-3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  display: block;
  width: 220px;
  /* margin-left: auto; */
  height: auto;
  padding: 16px 32px 16px 24px;
  background: var(--main-color02);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  position: relative;
  border-radius: 50px;
  text-align: center;
  /* margin: 0 auto; */
  border: solid 4px var(--main-color02);
}

.btn-3::after {
  content: "";
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-3:hover {
  background-color: #fff;
  border-color: var(--main-color02);
  color: var(--main-color02);
  transition: 0.3s ease;
}

.btn-3:hover::after {
  content: "●";
  font-size: 10px;
}

.btn-4 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  display: block;
  width: 390px;
  /* margin-left: auto; */
  height: auto;
  padding: 16px 32px 16px 24px;
  background: var(--main-color01);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  position: relative;
  border-radius: 50px;
  text-align: center;
  /* margin: 0 auto; */
  border: solid 4px var(--main-color01);
}

.btn-4::after {
  content: "";
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-4:hover {
  background-color: #fff;
  border-color: var(--main-color01);
  color: var(--main-color01);
  transition: 0.3s ease;
}

.btn-4:hover::after {
  content: "●";
  font-size: 10px;
}

.btn-5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  display: block;
  width: 390px;
  /* margin-left: auto; */
  height: auto;
  padding: 16px 32px 16px 24px;
  background: var(--main-color02);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  position: relative;
  border-radius: 50px;
  text-align: center;
  /* margin: 0 auto; */
  border: solid 4px var(--main-color02);
}

.btn-5::after {
  content: "";
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-5:hover {
  background-color: #fff;
  border-color: var(--main-color02);
  color: var(--main-color02);
  transition: 0.3s ease;
}

.btn-5:hover::after {
  content: "●";
  font-size: 10px;
}

@media (max-width: 480px) {
  .btn-1 {
    margin-top: 20px;
  }
  .btn-2 {
    width: 227px;
  }
  .btn-3 {
    width: 227px;
  }
  .btn-4 {
    width: 100%;
    font-size: 1rem;
  }
  .btn-5 {
    width: 100%;
    font-size: 1rem;
    padding: 16px 40px 16px 20px;
  }
}

/* テーブル */

.table-schedule {
  width: 100%;
  border: 1px solid var(--main-color01);
  border-radius: 10px;
  border-collapse: separate;
  overflow: hidden;
}

.table-schedule thead th {
  background-color: var(--main-color01);
  color: #ffff;
}

.table-schedule td,
.table-schedule th {
  /* border-bottom: 1px solid #C9D6DF; */
  padding: 0.2em 0.3em;
  text-align: center;
  /* font-weight: normal; */
  background: #ffffff;
}

.table-schedule td {
  color: var(--main-color01);
}

.table-schedule tr:first-child td,
.table-schedule tr:first-child th {
  border-bottom: 1px solid var(--main-color01);
}

@media (max-width: 480px) {
  .table-schedule td,
  .table-schedule th {
    /* padding: 0.7em .3em; */
    padding: 0.3em 0.1em;
  }
}

.table-default {
  width: 100%;
}

.table-default td,
.table-default th {
  padding: 0.7em 1em;
  border: 1px solid #c9d6df;
  vertical-align: middle;
}

.table-default th {
  background: var(--pale-color);
}

.table-check {
  width: 100%;
}

.table-check td,
.table-check th {
  padding: 0.7em 1em;
  border: 1px solid #c9d6df;
  vertical-align: middle;
}

.table-check th {
  background: var(--accent-color);
  text-align: left;
  width: 50%;
}

@media (max-width: 480px) {
  .table-check {
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .table-pc-only {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .table-sp-only {
    display: none !important;
  }
}

.yoyaku {
  color: #db2d2d !important;
  background: #ffffff;
  padding: 5px;
  font-size: 0.8rem;
  border: 1px solid #db2d2d;
}

/* 流れ */

.bg {
  background: #e8f6fb;
  padding: 10px 15px;
  display: block;
  border: 1px solid #fff;
  box-shadow: 0 3px 3px #ebeae8;
  border-radius: 13px 0;
  margin-right: 10px;
}

span.bg {
  background: var(--main-color02);
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  display: block;
}

.indent {
  margin-left: 2em;
  text-indent: -2em;
}

.indent span.bg {
  display: inline;
}

.frame {
  border: 1px solid var(--main-color02);
  border-radius: 6px;
  padding: 1em 0;
  position: relative;
  display: flex;
}

.frame > .col {
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

.span_6 .frame,
.span_4 .frame {
  margin-top: 30px;
}

@media (max-width: 767px) {
  .span_6 .frame,
  .span_4 .frame {
    margin-top: 20px;
  }
  .frame {
    display: block;
  }
  .frame .span_2,
  .frame .span_3,
  .frame .span_4,
  .frame .span_5,
  .frame .span_6,
  .frame .span_7,
  .frame .span_8,
  .frame .span_9,
  .frame .span_10 {
    width: 100% !important;
  }
}

.frame.arrow:after {
  border-color: transparent transparent transparent var(--main-color02);
  border-style: solid;
  border-width: 26px 0 26px 18px;
  content: "";
  margin-top: -11px;
  position: absolute;
  right: 50%;
  bottom: -36px;
  transform: rotate(90deg);
}

.frame.arrow.end:after {
  display: none;
}

/* リスト */

dl {
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 0;
  /* align-items: flex-start; */
  gap: 10px;
}

dl dt {
  font-weight: bold;
  width: 180px;
}

dl dd {
  /* width: calc(100% - 200px); */
  /* width: calc(100% - 104px); */
  width: calc(100% - 110px);
}

.clinic-info-img {
  width: 50%;
}

@media (max-width: 1024px) {
  .clinic-info-img {
    width: 100%;
    position: relative;
  }

  .clinic-info-img::before {
    content: "";
    position: absolute;
    background: url(/wp-content/uploads/clinic-point01.png) no-repeat center;
    background-size: contain;
    width: 30%;
    height: 30%;
    top: -10%;
    right: -3%;
  }

  dl dd {
    width: calc(100% - 90px);
  }
}

.clinic-info dl {
  gap: 10px 0;
}

.clinic-info dt {
  /* background: var(--main-color02); */
  color: #000000;
  text-align: center;
  /* border-radius: 15px; */
  border-bottom: 3px solid var(--main-color01);
  padding: 8px 5px;
  width: 104px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  .clinic-info dt {
    width: 80px;
  }
  .footer-clinic-info dd {
    line-height: 1.5;
    padding: 8px 5px;
  }
}

@media (max-width: 480px) {
  .clinic-info dt {
    width: 80px;
  }
}

.clinic-info dd {
  display: flex;
  /* padding: 8px; */
  /* border-bottom: 1px solid #CCCCCC; */
  align-items: center;
  margin-left: 5px;
  position: relative;
}

.clinic-info dd::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #cccccc;
}

.access-map {
  width: 100%;
}

.access-info dt {
  background: var(--main-color02);
  color: #fff;
  text-align: center;
  width: 180px;
  border-radius: 50px;
}

.access-info dd {
  width: 100%;
}

.access-info ul li {
  border-bottom: 1px dashed #bababa;
}

.top-recruit {
  background-color: var(--accent-color);
}

.recruit-info dd {
  background-color: #fff;
}

.recruit-info dl {
  align-items: stretch;
}

.recruit {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1a1131;
  padding: 10px 40px;
  border: solid 5px var(--main-color01);
  position: relative;
}

.recruit ::before {
  content: "";
  position: absolute;
  border: solid 1px var(--main-color01);
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
}

.recruit-info dl dt {
  background-color: var(--main-color01);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  color: #fff;
}

.recruit-info dl dd {
  display: flex;
  align-items: center;
  padding: 20px;
}

.history {
  display: flex;
  gap: 5px 0;
  flex-wrap: wrap;
  padding-left: 0;
}

.history li {
  border-bottom: 1px dotted #b4b4b4;
  flex-grow: 1;
  width: 100%;
  list-style: none;
}

/* ページトップ */

.pagetop {
  position: fixed;
  /* bottom: 98px; */
  bottom: 0;
  left: 1%;
  z-index: 1;
}

.pagetop a {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  padding: 0;
  background: var(--main-color01);
  border-radius: 100px 100px 0 0;
}

.pagetop a:after {
  content: "";
  display: block;
  position: absolute;
  top: 42%;
  left: 44%;
  margin: auto;
  width: 10px;
  height: 10px;
  background: url(/wp-content/uploads/pagetop-arrow.png);
  background-repeat: no-repeat;
  background-size: contain;
  /* -webkit-transform: translate(-50%, -20%) rotate(45deg);
    transform: translate(-50%, -20%) rotate(45deg);
    -webkit-transition: .2s;
    transition: .2s; */
}

.pagetop a:hover:after {
  top: 15%;
}

.pagetop a:before {
  position: absolute;
  content: "TOPへ";
  bottom: 5px;
  left: -15px;
  color: #fff;
  font-size: 12px;
}

@media (max-width: 480px) {
  .pagetop {
    /* bottom: 98px; */
    bottom: 70px;
  }
  .pagetop a {
    width: 50px;
    height: 50px;
  }
  .pagetop a:before {
    font-size: 14px;
    /* left: -25px; */
    left: -35px;
    bottom: 0;
  }
  .pagetop a:after {
    top: 30%;
    left: 43%;
  }
}

/* グローバルメニュー */

.header_nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: 0 auto;
  list-style: none;
  padding: 10px 0 20px;
  /* gap: 0 15px; */
  gap: 0 20px;
}

.header_nav ul li {
  position: relative;
}

.header_nav ul li a {
  /* color: #fff; */
  color: #000000;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

.header_nav ul li a:hover {
  /* text-decoration: underline; */
  color: var(--main-color01);
}

.header_nav span {
  display: block;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 1023px) {
  .header_nav ul {
    display: none;
  }
}

/* フッター */
footer {
  background: #f4fbff;
}
.footer-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  /* padding: 20px 0; */
  padding: 40px 0;
}

.footer-logo {
  background: #f4fbff;
  width: fit-content;
  margin: 0 auto;
  padding: 40px;
  border-radius: 50px 50px 0 0;
}

.footer__links ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 10px 0;
}

.footer__links ul li {
  position: relative;
}

.footer__links ul li:before {
  position: absolute;
  content: "・";
  height: 100%;
  right: 0;
  width: 8px;
  color: #fff;
}

.footer__links ul li:last-child:before {
  content: "";
}

.footer__links ul li a {
  padding: 10px;
  color: #fff;
}
.footer-info {
  display: flex;
  gap: 20px;
  padding: 0 20px;
}

.footer-info-inner {
  width: 50%;
  /* color: #fff; */
}
.footer-menu {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-nav {
  margin: 0 auto 0;
  max-width: var(--content-width);
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
  position: relative;
}

.footer-nav-bg {
  background-color: #ffffff;
  padding-top: 60px;
}

.nav-wrap {
  display: flex;
  justify-content: center;
  gap: 0 40px;
  padding-bottom: 60px;
}
.nav-inner {
  width: 50%;
  font-weight: 500;
}

.nav-category-a {
  font-size: 1.25rem;
  position: relative;
  margin-bottom: 0.5em;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 500;
}

.nav-category-a span {
  font-size: 2rem;
  color: var(--main-color02);
}

.nav-category-a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #000000;
}

.nav-category-b {
  font-size: 1.25rem;
  position: relative;
  margin-bottom: 0.5em;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 500;
}

.nav-category-b span {
  font-size: 2rem;
  color: var(--main-color02);
}

.nav-category-b:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #000000;
}

.nav {
  list-style: none;
  gap: 5px 0;
  padding: 0;
}

.nav li {
  position: relative;
  width: 50%;
  font-weight: bold;
  padding-left: 20px;
}

.nav li a {
  color: #000000;
}

.nav li a::before {
  content: "";
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f105";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav li a:hover {
  border-bottom: solid 1px var(--main-color01);
}

.nav li a:hover::before {
  content: "●";
  font-size: 10px;
  color: var(--main-color01);
}

.sns_icon {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 10px;
  justify-content: flex-end;
}

.clinic_sns_icon {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 10px;
}

.footer-policy-link {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 20px;
  justify-content: flex-end;
}

.footer-policy-link a {
  color: #000;
}

.footer-clinic-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 24px;
  flex-grow: 1;
  font-size: 1.15rem;
}

.footer-clinic-info dl {
  gap: 10px 0;
}

.footer-clinic-info dt {
  /* background: var(--main-color02); */
  color: #000000;
  text-align: center;
  /* border-radius: 15px; */
  border-bottom: 3px solid var(--main-color01);
  padding: 8px 5px;
  width: 104px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-clinic-info dd {
  display: flex;
  /* padding: 8px; */
  /* border-bottom: 1px solid #CCCCCC; */
  align-items: center;
  margin-left: 5px;
  position: relative;
}

.footer-clinic-info dd::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #cccccc;
}

.footer-table {
  margin-top: 30px;
  padding: 0 20px;
}

.footer-logo img {
  width: 340px;
}

@media (max-width: 1024px) {
  .footer-info {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .footer-info-inner {
    width: 100%;
  }
  .footer-menu {
    width: 100%;
  }
  .footer-logo img {
    width: 209px;
  }
  .footer-logo {
    padding: 30px;
    border-radius: 30px 30px 0 0;
  }
  .footer-clinic-info dt {
    width: 85px;
  }
  .footer-nav-bg {
    padding-top: 0;
  }
  .footer-wrap {
    padding: 24px 0;
  }
  .footer-table {
    margin-top: 20px;
  }
  .footer-clinic-info dd {
    line-height: 1.5;
    padding: 8px 5px;
  }
}

@media (max-width: 480px) {
  .sns_icon {
    flex-wrap: wrap;
    justify-content: center;
  }
  .sns_icon li {
    width: 80px;
  }
  .footer-policy-link {
    display: block;
  }
}

.copy {
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #fff !important;
  background: var(--main-color02) !important;
}

@media (max-width: 480px) {
  .copy {
    margin-bottom: 66px;
  }
}

/* 予約ボタン */
.reservation_area {
  position: fixed;
  top: 170px;
  right: 0;
  z-index: 10;
}

.reservation_area ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* grid-gap: 20px 0; */
  grid-gap: 0;
}

.reservation_btn span {
  line-height: 1;
  /* padding: 10px 0 0 0; */
  text-align: center;
  font-weight: 700;
}

.reservation_area li {
  list-style: none;
  letter-spacing: 2px;
  position: relative;
}

/* .reservation_area li:nth-child(1):before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    background: var(--main-color02);
    z-index: -1;  
  } */

.reservation_area li:nth-child(1):before {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  top: 30px;
  left: 10px;
  background: url(/wp-content/uploads/reserv-icon-1.png) no-repeat center;
  background-size: contain;
  z-index: -1;
  opacity: 0;
}

.reservation_area li:nth-child(2):before {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  top: 30px;
  left: 10px;
  background: url(/wp-content/uploads/reserv-icon-2.png) no-repeat center;
  background-size: contain;
  z-index: -1;
  opacity: 0;
}

.reservation_area li:nth-child(3):before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  background: var(--main-color02);
  z-index: -1;
}

/* .reservation_area li:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    background: var(--main-color02);
    z-index: -1;  
  } */

/* .reservation_area li:after {
    position: absolute;
    content: "";
    top: 8px;
    bottom: 8px;
    left: 8px;
    right: 8px;
    border-radius: 10px 0 0 10px;
    width: 100px;
} */

.btn-font {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 1px;
}

.reservation_area li a {
  display: block;
  padding: 25px 10px;
  transition: all 0.2s ease-out;
}

@media (min-width: 1025px) {
  .reservation_area li:hover {
    /* margin-right: 10px; */
    transition: all 0.3s;
    width: 165px;
  }
  .reservation_area li:hover:nth-child(1):before {
    transition: all 0.3s;
    opacity: 1;
  }
  .reservation_area li:hover:nth-child(2):before {
    transition: all 0.3s;
    opacity: 1;
  }
}

.reservation_area li.side_btn_01 a,
.reservation_area li.side_btn_02 a,
.reservation_area li.side_btn_03 a {
  display: flex;
  font-size: 1.5rem;
  align-items: center;
  flex-direction: column;
  color: #fff;
  z-index: 10;
  padding: 10px;
  width: 96px;
}

.reservation_area li.side_btn_01 img,
.reservation_area li.side_btn_02 img,
.reservation_area li.side_btn_03 img {
  height: 30px;
  width: 30px;
}

.reservation_area li a {
  display: block;
  padding: 15px 10px;
  transition: all 0.2s ease-out;
}

.reservation_area li {
  color: #fff;
  /* background: var(--main-color02); */
  width: 145px;
  height: 114px;
  display: flex;
  /* justify-content: center; */
  justify-content: end;
  align-items: center;
  border-radius: 150px 0 0 150px;
  z-index: 10;
}

.reservation_area li:nth-child(1),
.reservation_area li:nth-child(3) {
  color: #fff;
  background: var(--main-color02);
}

.reservation_area li:nth-child(2) {
  color: #fff;
  background: var(--main-color01);
}

.text-small {
  font-size: 1rem;
  color: var(--main-color01);
  background: #ffffff;
  padding: 5px;
  letter-spacing: 0;
}

.text-small-tel {
  font-size: 1rem;
  color: var(--sub-color);
  background: #ffffff;
  padding: 5px;
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  .reservation_area li {
    height: 80px;
  }

  .reservation_area li:before {
    display: none;
  }

  .reservation_area {
    bottom: 0px;
    top: auto;
    width: 100%;
  }

  .reservation_area ul {
    flex-direction: row;
  }

  .reservation_area ul li {
    writing-mode: horizontal-tb;
    text-align: center;
    width: 100%;
    border-radius: 10px 10px 0 0;
  }

  /* .reservation_area li.side_btn_01,
    .reservation_area li.side_btn_02{
        width: 50%;        
    } */

  .reservation_area li.side_btn_01 img,
  .reservation_area li.side_btn_02 img,
  .reservation_area li.side_btn_03 img {
    height: 30px;
    width: 30px;
  }

  .reservation_area li:nth-child(1) a,
  .reservation_area li:nth-child(2) a,
  .reservation_area li:nth-child(3) a {
    width: 100%;
    padding: 10px 0;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
    color: #fff;
    display: flex;
    flex-direction: column;
  }

  .reservation_btn span {
    /* padding: 0; */
    /* font-size: 1.2rem; */
    font-size: 1.1rem;
  }

  /* .reservation_area li:after {
        position: absolute;
        border-right: 1px solid #fff;
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        content: "";
        top: 10%;
        bottom: 10%;
        left: 4%;
        right: 4%;
        border-radius: 10px 10px 0 0;
        width: 90%;
        height: 100px;
    } */
  .reservation_area li:nth-child(1) {
    background: var(--sub-color);
  }
  .reservation_area li:nth-child(2) {
    background: var(--main-color02);
  }
  .reservation_area li:nth-child(3) {
    background: var(--main-color01);
  }
}

@media (max-width: 480px) {
  .reservation_btn span {
    font-size: 1rem;
  }
}

/* 
.reservation_area {
    position: fixed;
    top: 170px;
    right: 0;
    z-index: 1;
}

.reservation_area ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.reservation_area li {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-text-orientation: upright;
    text-orientation: upright;
    list-style: none;
    letter-spacing: 2px;
}

.reservation_area li a {
    display: block;
    padding: 25px 10px;
    transition: all 0.2s ease-out;
}

@media (hover: hover) {
    .reservation_area li:nth-child(1) a:hover,
    .reservation_area li:nth-child(2) a:hover,
    .reservation_area li:nth-child(3) a:hover {
        padding-right: 30px;
    }
}

.reservation_area li:nth-child(1) a,
.reservation_area li:nth-child(3) a {
    color: #000;
    background: var(--main-color01);
}

.reservation_area li:nth-child(2) a {
    color: #fff;
    background: var(--main-color02);
}

@media (max-width: 480px) {
    .reservation_area {
        bottom: 0px;
        top: auto;
        width: 100%;
    }
    .reservation_area ul {
        flex-direction: row;
    }
    .reservation_area ul li {
        width: 33.3%;
        writing-mode: horizontal-tb;
        text-align: center;
    }
    .reservation_area li a {
        padding: 10px 5px;
    }
} */

/* トグル */

.icon {
  display: block;
  position: relative;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}

.icon:before {
  left: 0;
  transform: rotate(45deg);
}

.icon:after {
  right: 0;
  transform: rotate(-45deg);
}

.icon:before,
.icon:after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: var(--main-color02);
}

details {
  border-top: 1px solid;
}
details:hover {
  background: var(--accent-color);
}
details:last-child {
  border-bottom: 1px solid;
}
summary {
  display: block;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.toggle-head.qa {
  position: relative;
}

.toggle-head.qa:before {
  position: absolute;
  content: "Q.";
  top: 13px;
  left: 20px;
  font-weight: bold;
  color: var(--main-color01);
  font-family: serif;
  font-size: 24px;
}

.toggle_inner {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px 15px 50px;
  font-weight: bold;
  color: var(--main-color01);
}

.toggle_inner-icon {
  display: block;
  position: relative;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}

.toggle_inner-icon:before {
  left: 0;
  transform: rotate(45deg);
}

.toggle_inner-icon:after {
  right: 0;
  transform: rotate(-45deg);
}

.toggle_inner-icon:before,
.toggle_inner-icon:after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: var(--main-color01);
}

.toggle-content p {
  padding: 20px 20px 20px 60px;
  background: #fff;
  margin: 0;
  position: relative;
}

.toggle-content p a {
  color: var(--main-color01);
  text-decoration: underline;
}

.answer:before {
  position: absolute;
  content: "A.";
  top: 18px;
  left: 30px;
  font-weight: bold;
  color: var(--main-color01);
  font-family: serif;
  font-size: 24px;
}

details[open] .toggle_inner-icon {
  transform: rotate(180deg);
}

/* 設備紹介 */

.facility-warap {
  max-width: 100%;
}

.facility-slider img {
  width: 80%;
  height: auto;
  margin: 0 auto;
}

.facility-slider-sub img {
  width: 100%;
  height: auto;
}
.slick-prev,
.slick-next {
  z-index: 1;
}

.facility-thumb > .slick-prev:before,
.facility-thumb > .slick-next:before,
.facility-thumb-sub > .slick-prev:before,
.facility-thumb-sub > .slick-next:before {
  color: #000 !important;
}

.facility-thumb img,
.facility-thumb-sub img {
  transition: all ease-in-out 0.3s;
  opacity: 0.2;
}
.slick-current img {
  opacity: 1;
}
.facility-thumb,
.facility-thumb-sub {
  margin: 10px 0 0;
}
.facility-thumb,
.facility-thumb-sub {
  cursor: pointer;
}
.facility-caption {
  text-align: center;
  padding: 5px 0;
  font-weight: bold;
}

@media (max-width: 767px) {
  .facility-slider img {
    width: 100%;
  }
}

/* 料金表 */

.price-wrap {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--main-color01);
  margin-bottom: 20px;
}

.price-wrap:last-of-type {
  margin-bottom: 0px;
}

.price-name {
  border-right: 1px solid var(--main-color01);
  width: 300px;
  background: var(--accent-color);
  padding: 5px;
  font-weight: bold;
}

.price-fee {
  width: calc(100% - 300px);
  padding: 5px;
  display: flex;
  justify-content: flex-end;
}

.price-disc,
.price-term,
.price-risk {
  width: 100%;
  padding: 5px;
  border-top: 1px solid var(--main-color01);
  display: flex;
  gap: 10px;
}
/* .price-head {
    width: 125px;
    border-right: 1px solid;
  } */
.price-text {
  width: calc(100% - 135px);
}

@media (max-width: 480px) {
  .price-name {
    border-right: none;
    width: 100%;
  }
  .price-fee {
    width: 100%;
  }
}

/* 汎用クラス */

.bg-red {
  background-color: #fe266d !important;
}

.bg-blue {
  background-color: #1646b1 !important;
}

.bg-green {
  background-color: #5fcf32 !important;
}

.bg-orange {
  background-color: #ffa204 !important;
}

.text-red {
  color: #db2d2d !important;
}

.text-blue {
  color: #2420db !important;
}

.text-green {
  color: #6ddb20 !important;
}

.text-orange {
  color: #e1ab3a !important;
}

.text-pink {
  color: #db20b2 !important;
}

.text-black {
  color: #000000 !important;
}

.text-brown {
  color: #937437 !important;
}

.text-gray {
  color: #555555 !important;
}

.text-white {
  color: #ffffff !important;
}

.mt0 {
  margin-top: 0px !important;
}

.mb0 {
  margin-bottom: 0px !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.mt40 {
  margin-top: 40px !important;
}

.mt50 {
  margin-top: 50px !important;
}

.mt60 {
  margin-top: 60px !important;
}

.mr10 {
  margin-right: 10px !important;
}

.mr20 {
  margin-right: 20px !important;
}

.mr30 {
  margin-right: 30px !important;
}

.mr40 {
  margin-right: 40px !important;
}

.mr50 {
  margin-right: 50px !important;
}

.mr60 {
  margin-right: 60px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.mb40 {
  margin-bottom: 40px !important;
}

.mb50 {
  margin-bottom: 50px !important;
}

.mb60 {
  margin-bottom: 60px !important;
}

.ml10 {
  margin-left: 10px !important;
}

.ml20 {
  margin-left: 20px !important;
}

.ml30 {
  margin-left: 30px !important;
}

.ml40 {
  margin-left: 40px !important;
}

.ml50 {
  margin-left: 50px !important;
}

.ml60 {
  margin-left: 60px !important;
}

.pt10 {
  padding-top: 10px !important;
}

.pt20 {
  padding-top: 20px !important;
}

.pt30 {
  padding-top: 30px !important;
}

.pt40 {
  padding-top: 40px !important;
}

.pt50 {
  padding-top: 50px !important;
}

.pt60 {
  padding-top: 60px !important;
}

.pr10 {
  padding-right: 10px !important;
}

.pr20 {
  padding-right: 20px !important;
}

.pr30 {
  padding-right: 30px !important;
}

.pr40 {
  padding-right: 40px !important;
}

.pr50 {
  padding-right: 50px !important;
}

.pr60 {
  padding-right: 60px !important;
}

.pb10 {
  padding-bottom: 10px !important;
}

.pb20 {
  padding-bottom: 20px !important;
}

.pb30 {
  padding-bottom: 30px !important;
}

.pb40 {
  padding-bottom: 40px !important;
}

.pb50 {
  padding-bottom: 50px !important;
}

.pb60 {
  padding-bottom: 60px !important;
}

.pl10 {
  padding-left: 10px !important;
}

.pl20 {
  padding-left: 20px !important;
}

.pl30 {
  padding-left: 30px !important;
}

.pl40 {
  padding-left: 40px !important;
}

.pl50 {
  padding-left: 50px !important;
}

.pl60 {
  padding-left: 60px !important;
}

.text-bold {
  font-weight: bold !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-left {
  text-align: left !important;
}

.text-xlarge {
  font-size: 1.6rem !important;
}

.text-large {
  font-size: 1.4rem !important;
}

.w100 {
  width: 100% !important;
}

@media (max-width: 1024px) {
  .pc-only {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .text-xlarge {
    font-size: 2rem;
  }
  .text-large {
    font-size: 1.6rem;
  }
  .sp-only {
    display: none !important;
  }
}

@media (min-width: 767px) and (max-width: 1023px) {
  .tablet-hide {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .tablet-only {
    display: none !important;
  }
}

.top-diagnosis {
  position: relative;
}

.top-diagnosis:before {
  content: "";
  background: url(/wp-content/uploads/medicalinfo-bg-top.png) no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-size: contain; */
  top: 0;
  left: 0;
  z-index: -1;
}

.top-diagnosis:after {
  content: "";
  background: url(/wp-content/uploads/medicalinfo-bg-bottom.png) no-repeat
    bottom;
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-size: contain; */
  top: 0;
  left: 0;
  z-index: -1;
}

@media (max-width: 1024px) {
  .top-diagnosis:before {
    content: "";
    background: url(/wp-content/uploads/medicalinfo-bg-top-sp.png) no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .top-diagnosis:after {
    content: "";
    background: url(/wp-content/uploads/medicalinfo-bg-bottom-sp.png) no-repeat
      bottom;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    top: 0;
    left: 0;
    z-index: -1;
  }
}

.medical-wrap {
  /* margin-top: 60px; */
  padding: 120px 0;
}

.medical-inner {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(var(--delay) * 0.1s);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 2%;
}

.medical-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.medical-cards-large {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  flex-wrap: wrap; /* Allow cards to wrap */
  position: relative;
  z-index: 1;
}

.medical-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 233.6px; /* Figma fixed width */
  /* height: 376px; Figma fixed height */
  height: 425px;
  background-color: #ffffff;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.medical-card a {
  color: #000000;
  position: relative;
  display: block;
}

.medical-card-bg {
  width: 100%;
  height: 213px;
  object-fit: cover;
  clip-path: circle(100% at 50% -5%);
}

.medical-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
  width: 100%;
}

.medical-card-text-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.448em;
  text-align: center;
  color: var(--main-color01);
  padding: 10px;
  border-bottom: 1px solid var(--main-color01);
}

.medical-card-text p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.448em;
  letter-spacing: 0.05em;
  /* text-align: center; */
}

.medical-card a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 213px;
  clip-path: circle(100% at 50% -5%);
  background: rgba(119, 171, 198, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.medical-card a:hover::after {
  opacity: 1;
}

.medical-card::before {
  content: "";
  background: url(/wp-content/uploads/medical-btn-arrow.png) no-repeat bottom;
  position: absolute;
  /* width: 20px;
    height: 20px; */
  width: 15px;
  height: 15px;
  background-size: contain;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  transition: opacity 0.3s;
  pointer-events: none;
  opacity: 0;
}

.medical-card:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .medical-card::before {
    display: none;
  }
}

.medical-item {
  width: 49%;
  background: linear-gradient(90deg, #797265, #9f9177);
  padding: 10px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.medical-item a {
  display: flex;
  color: #fff;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  padding: 20px;
}

.medical-content {
  width: 200px;
}

.other-medical-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.other-medical-title {
  background-color: #dbebf5;
  border-radius: 50px;
  padding: 16px 40px;
  width: 360px;
  margin: 30px auto;
}

.other-medical-title p {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.448em;
  text-align: center;
  color: #000000;
}

.medical-cards-small {
  display: flex;
  /* justify-content: center; */
  justify-content: space-between;
  gap: 24px;
  /* padding: 0 160px; */
  padding: 0 100px;
  width: 100%;
  flex-wrap: wrap;
}

.medical-card-small {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 10px;
  /* width: 233.6px; */
  width: 22%;
  height: 180px;
  background-color: #ffffff;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.medical-card-small-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.medical-card-small-text {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  padding: 10px;
  width: 100%;
  text-align: center;
  border: solid 4px transparent;
}

.medical-card-small-text1 {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  padding: 10px 24px;
  width: fit-content;
  text-align: center;
  border: solid 4px transparent;
}

.medical-card-small-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.448em;
  color: var(--main-color01);
}

.medical-card-small-bottom {
  display: flex;
  /* flex-direction: row; */
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  width: 48%;
  height: 180px;
  background-color: #ffffff;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: 30px;
}

.medical-name {
  font-weight: bold;
  font-size: 1.4rem;
}

.medical-cards-small a {
  position: relative;
}

.medical-cards-small a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(119, 171, 198, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.medical-cards-small a:hover::after {
  opacity: 1;
}

.medical-cards-small a:hover .medical-card-small-text {
  border-color: var(--main-color01);
}

.medical-cards-small a:hover .medical-card-small-text1 {
  border-color: var(--main-color01);
}

@media (max-width: 1024px) {
  .medical-card {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    width: 100%;
    /* height: 20%; */
    height: 128px;
    background-color: #ffffff;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    position: relative;
  }

  .medical-card::after {
    content: "";
    background: url(/wp-content/uploads/medical-btn-arrow.png) no-repeat bottom;
    position: absolute;
    width: 20px;
    height: 20px;
    background-size: contain;
    bottom: 10px;
    right: 10px;
    z-index: 1;
  }

  .medical-card a {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    width: 100%;
  }

  .medical-card-bg {
    /* width: 40%; */
    width: 128px;
    height: 100%;
    object-fit: cover;
    object-position: right;
    /* clip-path: ellipse(75% 80% at 10% 50%); */
    clip-path: ellipse(75% 100% at 10% 50%);
  }

  .medical-card-text {
    /* gap: 10px; */
    gap: 5px;
    padding: 20px 10px 20px 0;
  }

  .medical-card-text p {
    font-size: 16px;
  }

  .medical-card-text-title {
    font-size: 20px;
    padding: 0;
  }

  .other-medical-title p {
    font-size: 18px;
  }

  .other-medical-title {
    width: 100%;
    margin: 20px auto;
  }

  .medical-cards-small {
    padding: 0;
    margin-bottom: 20px;
    gap: 20px;
  }

  .medical-card-small {
    width: 47%;
    height: 130px;
    gap: 10px;
  }

  .medical-card-small-title {
    font-size: 18px;
  }

  .medical-card-small-bottom {
    width: 100%;
    height: 80px;
    margin-top: 0;
  }

  .medical-wrap {
    padding: 30px 0 0;
  }

  .medical-card-small-text {
    padding: 0;
  }

  .medical-card-small-text1 {
    padding: 0 24px;
  }
}

@media (max-width: 820px) {
  .medical-item {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .medical-wrap {
    padding: 150px 0 0;
  }
}

@media (max-width: 480px) {
  .medical-wrap {
    padding: 70px 0 0;
  }
  .medical-cards-small {
    gap: 18px;
  }

  /* .medical-item a {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    position: relative;
  }
  .medical-item:nth-child(1):before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 163px;
    height: 163px;
    background-image: url(/wp-content/uploads/top_diagnosis_01.png);
  }
  .medical-item:nth-child(2):before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 163px;
    height: 163px;
    background-image: url(/wp-content/uploads/top_diagnosis_02.png);
  }
  .medical-item:nth-child(3):before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 163px;
    height: 163px;
    background-image: url(/wp-content/uploads/top_diagnosis_03.png);
  }
  .medical-item:nth-child(4):before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 163px;
    height: 163px;
    background-image: url(/wp-content/uploads/top_diagnosis_04.png);
  } */
}

.top-features {
  background: url(/wp-content/uploads/features-bg.png) no-repeat center;
  background-size: cover;
}

.features-catchcopy {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.features-catchcopy img {
  width: 529px;
}

/* 
.features-catchcopy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background-color: rgba(219, 235, 245, 0.6);
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: 0 auto;
}

.features-catchcopy::before,
.features-catchcopy::after{
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-top: 4px solid #7AC5F5;
    border-left: 4px solid #7AC5F5;
}

.features-catchcopy::before{
    top: -10px;
    left: -10px;
}

.features-catchcopy::after{
    bottom: -10px;
    right: -10px;
    transform: rotate(180deg);
}

.features-catchcopy p {
    font-family: '02UtsukushiMincho', serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1em;
    letter-spacing: 0.05em;
    color: #000000;
} */

.feature-wrap {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.feature-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-grow: 1;
  position: relative;
  /* height: 300px; */
  width: 100%;
  justify-content: space-between;
}

.feature-img {
  display: none;
}

.feature-img:before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.feature-inner:nth-child(1):before {
  content: "";
  position: absolute;
  right: 0;
  width: 500px;
  height: 100%;
  background-image: url(/wp-content/uploads/top-feature01.jpg);
  background-size: cover;
  background-position: center;
  clip-path: circle(75.5% at 63% 50%);
}

.feature-inner:nth-child(2):before {
  content: "";
  position: absolute;
  right: 0;
  width: 500px;
  height: 100%;
  background-image: url(/wp-content/uploads/top-feature02.jpg);
  background-size: cover;
  background-position: center;
  clip-path: circle(75.5% at 63% 50%);
}

.feature-inner:nth-child(3):before {
  content: "";
  position: absolute;
  right: 0;
  width: 500px;
  height: 100%;
  background-image: url(/wp-content/uploads/top-feature03.jpg);
  background-size: cover;
  background-position: center;
  clip-path: circle(75.5% at 63% 50%);
}

.feature-inner:nth-child(4):before {
  content: "";
  position: absolute;
  right: 0;
  width: 500px;
  height: 100%;
  background-image: url(/wp-content/uploads/top-feature04.jpg);
  background-size: cover;
  background-position: center;
  clip-path: circle(75.5% at 63% 50%);
}

.feature-inner:nth-child(5):before {
  content: "";
  position: absolute;
  right: 0;
  width: 500px;
  height: 100%;
  background-image: url(/wp-content/uploads/top-feature05.jpg);
  background-size: cover;
  background-position: center;
  clip-path: circle(75.5% at 63% 50%);
}

.feature-content {
  padding: 15px;
  width: 20%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(var(--delay) * 0.1s);
}

.feature-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.down {
  margin-top: 60px;
}

.feature-content-inner {
  padding: 10px;
  border: 1px solid #ffdf;
}

.feature-content p:first-child {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  padding: 15px;
  width: fit-content;
}

.feature-head {
  padding: 10px 0 10px 55px;
  display: flex;
  align-items: center;
  color: var(--main-color01);
  position: relative;
  font-size: 1.5rem;
  font-family: serif;
}

.feature-head span {
  line-height: 1.2;
  display: block;
  font-weight: normal;
}

.feature-inner:nth-child(1) .feature-head:before {
  content: "01.";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Kapakana", sans-serif;
  font-size: 2.4rem;
  font-weight: normal;
}

.feature-inner:nth-child(2) .feature-head:before {
  content: "02.";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Kapakana", sans-serif;
  font-size: 2.4rem;
  font-weight: normal;
}

.feature-inner:nth-child(3) .feature-head:before {
  content: "03.";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Kapakana", sans-serif;
  font-size: 2.4rem;
  font-weight: normal;
}

.feature-inner:nth-child(4) .feature-head:before {
  content: "04.";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Kapakana", sans-serif;
  font-size: 2.4rem;
  font-weight: normal;
}

.feature-inner:nth-child(5) .feature-head:before {
  content: "05.";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Kapakana", sans-serif;
  font-size: 2.4rem;
  font-weight: normal;
}

.feature-text > div:first-child {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  padding: 15px;
  width: fit-content;
}

@media (max-width: 768px) {
  .feature-inner {
    height: auto;
    justify-content: center;
  }
  .feature-inner:before {
    display: none;
  }
  .feature-img {
    display: block;
  }
  .feature-content {
    width: 50%;
  }
  .down {
    margin-top: 0;
  }
}

/* .top-doctor {
    background-color: var(--accent-color);
} */

.greeting-text-area {
  display: flex;
  flex-direction: column;
  /* gap: 24px; */
  gap: 5px;
  flex-grow: 1;
}

.greeting-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 10px;
  width: 100%;
  position: relative;
}

.quote-text {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.448em;
  color: var(--main-color02);
  width: fit-content;
  padding: 0 15px 0 15px;
  position: relative;
}

.quote-text::before {
  content: "";
  position: absolute;
  background: url(/wp-content/uploads/double-quotes-first.png) no-repeat;
  width: 10%;
  height: 20%;
  top: 5px;
  left: 0;
  background-size: contain;
}

.quote-text::after {
  content: "";
  position: absolute;
  background: url(/wp-content/uploads/double-quotes-end.png) no-repeat;
  width: 10%;
  height: 20%;
  top: 5px;
  right: -7%;
  background-size: contain;
}

.quote-sub-text {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.448em;
  color: #000000;
  padding: 0 15px 0 15px;
}

@media (max-width: 768px) {
  .quote-text {
    font-size: 24px;
  }
  .quote-sub-text {
    font-size: 20px;
  }
  .greeting-text-area {
    gap: 0;
  }
}

@media screen and (max-width: 768px) {
  .medical-inner,
  .feature-content {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
}

.doctor-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* justify-content: flex-end; */
  position: relative;
}

.doctor-wrap:before {
  content: "";
  position: absolute;
  left: 0;
  width: 588px;
  height: 418px;
  background-image: url(/wp-content/uploads/top-doctor02.png);
  background-size: cover;
  background-position: center;
}

/* .doctor-img {
    display: none;
} */

.doctor-content-wrap {
  display: flex;
  /* flex-wrap: wrap; */
}

.doctor-content {
  position: relative;
  /* width: 65%; */
  padding: 5px;
}

.doctor-img {
  /* width: 50%; */
  /* width: 35%; */
  position: relative;
  z-index: -1;
}

.doctor-img::before {
  content: "";
  background: url(/wp-content/uploads/clinic-info-bg.png) no-repeat;
  position: absolute;
  width: 100%;
  height: 65%;
  bottom: 30px;
  left: -15px;
  /* height: 80%;
    top: 0;
    left: -65px; */
  background-size: contain;
  /* background-position: right bottom; */
  z-index: -1;
}

.doctor-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  /* right: 0;
    width: 100%; */
  right: -105%;
  width: 185%;
  height: 200px;
  background-color: #dbebf5;
  border-radius: 50px 0 0 50px;
  z-index: -2;
}

/* .doctor-content > div {
    padding: 20px;
    border: solid 2px var(--main-color02);
} */

.doctor-content p span {
  display: block;
}

.doctor-content-wide {
  /* width: 150%; */
  width: 130%;
}

.doctor-info-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: #ffffff;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  position: absolute;
  /* bottom: 110px; */
  bottom: 135px;
  right: 60px;
  z-index: 2;
}

.doctor-name {
  font-weight: 400;
  font-size: 24px;
  line-height: 1em;
}

.doctor-position {
  font-weight: 400;
  font-size: 18px;
  line-height: 1em;
}

@media (max-width: 1024px) {
  .doctor-wrap:before {
    display: none;
  }
  .doctor-content-wrap {
    flex-direction: column;
  }
  .doctor-content {
    margin-top: 0px;
  }
  .doctor-img {
    display: block;
    width: 100%;
  }
  .doctor-content {
    width: 100%;
  }
  .doctor-img::before {
    width: 100%;
    height: 80%;
    bottom: 0;
    left: 0;
    top: auto;
  }
  .doctor-img::after {
    bottom: 0;
    right: 0;
    width: 75%;
    height: 80%;
  }
  .doctor-info-box {
    padding: 10px;
    bottom: 215px;
    right: 0;
  }
  .doctor-content-wide {
    width: 100%;
  }
  .doctor-content p {
    line-height: 1.5;
  }
}

.clinic-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff;
  /* padding: 40px; */
  padding: 40px 150px 40px 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .clinic-wrap {
    padding: 0;
    /* padding: 30px 15px; */
  }
}
.home .clinic-info {
  /* width: 350px; */
  width: 47%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 24px;
  flex-grow: 1;
  font-size: 1.15rem;
}

.home .clinic-info:after {
  content: "";
  background: url(/wp-content/uploads/clinic-info-bg.png) no-repeat;
  position: absolute;
  width: 100%;
  height: 40%;
  bottom: 0;
  right: 0;
  background-size: contain;
  background-position: right bottom;
  z-index: -1;
}

@media (max-width: 1024px) {
  .home .clinic-info {
    padding: 0 15px 30px;
  }
  .home .clinic-info:after {
    height: 15%;
    bottom: 273px;
  }
}

.clinic-schedule {
  /* width: calc(100% - 370px); */
  width: 100%;
}

.schedule-title {
  background: var(--main-color02);
  text-align: center;
  font-weight: bold;
  color: #fff;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .clinic-info {
    width: 100%;
  }
  .clinic-schedule {
    width: 100%;
  }
}

.access-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.pdf-name-box {
  border: 1px solid rgb(204, 204, 204);
  display: inline-block;
  padding: 15px 55px 15px 10px;
}

.pdf-img {
  width: 30px;
  height: 30px;
}

.pdf-name {
  color: #5b5b5b;
}

.notes-area {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  margin-top: 24px;
}

.note-label {
  width: 123px;
  flex-shrink: 0;
  padding: 10px 16px;
  background-color: var(--sub-color);
  border-radius: 39px;
  font-weight: bold;
  font-size: 1.15rem;
  line-height: 1.448em;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-align: center;
}

.note-text {
  flex-grow: 1;
  color: var(--sub-color);
  line-height: 1.448em;
  letter-spacing: 0.16em;
  font-weight: bold;
  font-size: 1.15rem;
}

.note-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.note-asterisk {
  font-weight: bold;
  font-size: 24px;
  line-height: 1.448em;
  letter-spacing: 0.05em;
  color: var(--main-color01);
}

.clinic-info-btn {
  display: flex;
  margin-top: 30px;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 30px auto 0;
}

@media (max-width: 480px) {
  .clinic-info-btn {
    flex-direction: column;
    gap: 20px;
    margin: 0 auto 0;
  }
  .note-item {
    gap: 4px;
  }
  .note-label {
    width: 70px;
    line-height: 1;
    font-size: 1rem;
    letter-spacing: 0.16em;
  }
  .note-text {
    font-size: 1rem;
    letter-spacing: 0;
  }
  .note-item p {
    line-height: 1;
  }
}

.trouble-header-box {
  background-color: var(--accent-color);
  border-radius: 0 0 10px 10px;
  padding: 24px;
  width: fit-content;
  text-align: center;
}

.trouble-header-box p {
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.448em;
  color: #000000;
}

.trouble-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 40px 40px;
  width: 100%;
  border: 5px solid var(--accent-color);
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

.trouble-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 16px;
  list-style: none;
}

.trouble-list li {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.448em;
  border-bottom: 1px dashed #cccccc;
  position: relative;
  width: 48%;
  padding: 12px 0 12px 40px;
}

.trouble-list li::before {
  content: "";
  display: block;
  background-image: url(/wp-content/uploads/checkmark.png);
  width: 27px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .trouble-list li {
    width: 100%;
    font-size: 16px;
    /* padding: 10px 0 10px 25px; */
    padding: 0 0 5px 25px;
    line-height: 1.2;
  }
  .trouble-list li::before {
    width: 20px;
    height: 20px;
  }
  .trouble-content {
    /* padding: 0 20px 40px; */
    padding: 0 15px 40px;
  }
  .trouble-header-box p {
    font-size: 1.3rem;
  }
  .trouble-header-box {
    padding: 15px;
  }
  .trouble-content {
    gap: 10px;
  }
  .trouble-list {
    padding-left: 0;
  }
  .trouble-inner {
    padding-top: 20px;
  }
}

@keyframes tada {
  0% {
    transform: scale(1);
  }
  10%,
  20% {
    transform: scale(0.95) rotate(-3deg);
  }
  30%,
  50%,
  70%,
  90% {
    transform: scale(1.05) rotate(3deg);
  }
  40%,
  60%,
  80% {
    transform: scale(1.05) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

.tada-active {
  animation: tada 1.5s ease;
}

.equipment_title {
  background-color: var(--main-color01);
  border-radius: 10px;
  margin: 20px auto 0;
  padding: 10px;
  text-align: center;
  color: #ffffff;
}

.thought-bg {
  background: rgba(122, 197, 245, 0.2);
}

.internal-list {
  list-style: none;
  padding: 20px;
  border: solid 5px rgba(122, 197, 245, 0.5);
  border-radius: 10px;
  margin: 10px 0;
  column-count: 3;
}

.internal-list li {
  position: relative;
  padding-left: 1.5em;
  border-bottom: 1px dashed #d3d3d3;
}

.internal-list li::before {
  background: none repeat scroll 0 0 #7ac5f5;
  border: 0;
  border-radius: 0;
  content: "";
  height: 17px;
  left: 0;
  position: absolute;
  top: 7px;
  width: 17px;
  z-index: 0;
}

.internal-list li::after {
  position: absolute;
  top: 9px;
  left: 3px;
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-40deg);
  -webkit-transform: rotate(-40deg);
  -ms-transform: rotate(-40deg);
  z-index: 1;
}

@media (max-width: 1024px) {
  .internal-list {
    column-count: 1;
  }
}

.esophagitis-list {
  list-style: none;
  /* padding: 20px; */
  /* border: solid 5px rgba(122, 197, 245, 0.5); */
  border-radius: 10px;
  margin: 10px 0;
}

.esophagitis-list li {
  position: relative;
  padding-left: 1.5em;
  /* border-bottom: 1px dashed #d3d3d3; */
}

.esophagitis-list li::before {
  background: none repeat scroll 0 0 #7ac5f5;
  border: 0;
  border-radius: 0;
  content: "";
  height: 17px;
  left: 0;
  position: absolute;
  top: 7px;
  width: 17px;
  z-index: 0;
}

.esophagitis-list li::after {
  position: absolute;
  top: 9px;
  left: 3px;
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-40deg);
  -webkit-transform: rotate(-40deg);
  -ms-transform: rotate(-40deg);
  z-index: 1;
}

.anc_nav_list ul {
  /* margin: 0 auto 80px; */
  /* width: 1100px; */
  width: 65%;
  /* width: 623px; */
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  padding: 40px 0 39px;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0 auto;
}

.anc_nav_list ul li {
  /* width: 256px; */
  width: 197px;
  height: 65px;
}

.anc_nav_list ul li a {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  /* background: #fff url(/wp-content/uploads/anc_nav01.png)no-repeat right 5px bottom 5px; */
  border: 2px solid #2074be;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #2074be;
  /* padding-top: 11px; */
  padding: 10px;
  box-sizing: border-box;
  line-height: 1;
}

.anc_nav_list ul li a::after {
  bottom: 7px;
  content: "◢";
  position: absolute;
  width: 12px;
  height: 12px;
  right: 5px;
}

.anc_nav_list ul li a:hover {
  color: #7ac5f5;
  border-color: #7ac5f5;
}

@media (max-width: 768px) {
  .anc_nav_list ul {
    padding: 0;
    width: 100%;
  }

  .anc_nav_list ul li {
    width: 47%;
  }
  .anc_nav_list ul li a {
    padding: 5px;
    font-size: 14px;
  }
  .anc_nav_list ul li a::after {
    bottom: 2px;
    right: 1px;
  }
}
@media (max-width: 350px) {
  .anc_nav_list ul li {
    width: 100%;
  }
}

.anc_nav_list_wide ul {
  /* margin: 0 auto 80px; */
  /* width: 1100px; */
  width: 65%;
  /* width: 623px; */
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  padding: 40px 0 39px;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0 auto;
}

.anc_nav_list_wide ul li {
  width: 280px;
  height: 65px;
}

.anc_nav_list_wide ul li a {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  /* background: #fff url(/wp-content/uploads/anc_nav01.png)no-repeat right 5px bottom 5px; */
  border: 2px solid #2074be;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #2074be;
  /* padding-top: 11px; */
  padding: 10px;
  box-sizing: border-box;
  line-height: 1;
}

.anc_nav_list_wide ul li a::after {
  bottom: 7px;
  content: "◢";
  position: absolute;
  width: 12px;
  height: 12px;
  right: 5px;
}

.anc_nav_list_wide ul li a:hover {
  color: #7ac5f5;
  border-color: #7ac5f5;
}

@media (max-width: 821px) {
  .anc_nav_list_wide ul {
    width: 90%;
  }
  .anc_nav_list_wide ul li {
    width: 100%;
  }
}

#anc01,
#anc02,
#anc03,
#anc04,
#anc05,
#anc06,
#anc07,
#anc08,
#anc09,
#anc10,
#anc11,
#anc12 {
  padding-top: 66px;
  margin-top: -66px;
}

@media (max-width: 787px) {
  #anc01,
  #anc02,
  #anc03,
  #anc04,
  #anc05,
  #anc06,
  #anc07,
  #anc08,
  #anc09,
  #anc10,
  #anc11,
  #anc12 {
    padding-top: 80px;
    margin-top: -80px;
  }
}

.gastroenterology-bg {
  background: rgba(122, 197, 245, 0.5);
  padding: 20px 60px;
}

.list-style3 {
  column-count: 3;
  border-radius: 40px;
  padding: 50px 34px;
  background: #ffffff;
}

@media (max-width: 1024px) {
  .gastroenterology-bg {
    padding: 20px 20px;
  }
  .list-style3 {
    padding: 50px 30px;
    column-count: 1;
  }
}

.price-inner {
  width: 100%;
}

.price-title-wrap {
  display: flex;
  justify-content: space-between;
}

.price-title {
  color: var(--main-color01);
  font-weight: bold;
  font-size: 1.2rem;
}

.price-title span {
  color: #323232;
  font-weight: normal;
  font-size: 1rem;
}

.price-fee {
  font-weight: bold;
}

.price-text-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.price-head {
  padding: 0 8px;
  width: 168px;
}

.price-text {
  width: calc(100% - 180px);
  border-left: 1px solid #333;
  padding: 0 8px;
}

@media (max-width: 787px) {
  .price-title-wrap {
    flex-direction: column;
  }
  .price-fee {
    width: 100%;
    text-align: right;
  }
  .price-title {
    width: 100%;
  }
  .price-head {
    width: 95px;
  }
  .price-text {
    width: calc(100% - 105px);
  }
  .price-content {
    padding: 20px 0;
  }
}

.first-visit-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.first-visit-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 45%;
}

.first-visit-inner {
  width: 100%;
  border: solid #ff9999;
  border-width: 5px 5px 0px 5px;
  padding: 32px;
  border-radius: 10px 10px 0 0;
}

.first-visit-inner-title {
  background: #ff9999;
  color: #ffffff;
  padding: 32px 10px;
  text-align: center;
  /* border-radius: 0 0 10px 10px; */
  font-weight: bold;
  font-size: 20px;
}

.first-visit-wrap02 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.first-visit-content02 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 23%;
}

.first-visit-inner02 {
  width: 100%;
  border: solid #7ac5f5;
  border-width: 5px 5px 0px 5px;
  padding: 32px;
  border-radius: 10px 10px 0 0;
}

.first-visit-inner-title02 {
  background: #7ac5f5;
  color: #ffffff;
  padding: 32px 10px;
  text-align: center;
  /* border-radius: 0 0 10px 10px; */
  font-weight: bold;
  font-size: 20px;
}

.first-visit-bg {
  background: #7ac5f5;
  margin-top: 30px;
}

/* フローデザイン */
/* .flow_design05 {
  display: flex;
  justify-content: left;
  align-items: center;
}

.flow05 {
  padding-left: 0;
  margin: 20px 0;
}

.flow05-1{
  display: flex;
  justify-content: space-between;
}

.flow05-1 dl{
    width: 90%;
}

.flow05 > li {
  list-style-type: none;
  position: relative;
  padding-left: 90px;
}

.flow05 > li:not(:last-child) {
  padding-bottom: 15px;
}

.flow05 > li .icon05 {
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  display: inline-block;
  background: #7AC5F5;
  color: #ffffff;
  position: absolute;
  left: 0;
  font-family: 'Josefin Sans';
  font-size: 40px;
}

.flow05 > li:not(:last-child)::before {
  content: '';
  background: #ffffff;
  width: 4px;
  height: 100%;
  position: absolute;
  top: calc(50% - -30px);
  left: 40px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.flow05 > li dl dt {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
}

.flow05 > li dl dd {
  margin-left: 0;
  width:100%;
  color: #ffffff;
}

.flow05-img{
  width: 254px;
} */

.flow-wrap {
  padding: 40px 60px;
}

.flow-step {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.flow-left {
  position: relative;
  /* max-width: 612px; */
  width: 70%;
}

.flow-head {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}

.flow-num {
  font-size: 40px;
  font-weight: bold;
  font-family: "Josefin Sans";
  color: #ffffff;
  width: 50px;
  height: 40px;
  text-align: center;
  line-height: 1;
  /* margin-bottom: 10px; */
  position: relative;
}

/* .flow-num::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #ffffff;
    transform:  translateX(-50%);
} */

.flow-num::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  font-size: 15px;
  width: 20px;
  height: 166px;
  background: url(/wp-content/uploads/flow-num.png) no-repeat center/contain;
  /* border-left: 6px solid transparent; */
  /* border-right: 6px solid transparent; */
  /* border-top: 8px solid #ffffff; */
}

.flow-step:last-child .flow-num::before {
  display: none;
}

.flow-title {
  font-size: 28px;
  /* line-height: 40px; */
  line-height: 1;
  color: #ffffff;
  height: 40px;
  font-weight: bold;
}

.flow05-img {
  /* width: 254px; */
  width: 28%;
  height: auto;
}

.flow-text {
  padding-left: 80px;
  color: #ffffff;
}

@media (max-width: 787px) {
  .first-visit-content {
    width: 100%;
  }
  .first-visit-inner-title {
    font-size: 18px;
    padding: 10px 10px;
  }
  .first-visit-content02 {
    width: 100%;
  }
  .first-visit-inner-title02 {
    font-size: 18px;
    padding: 10px 10px;
  }
  .first-visit-bg {
    padding-top: 30px;
  }
  .flow-wrap {
    padding: 40px 0;
  }
  .flow-left {
    width: 100%;
  }
  .flow-head {
    gap: 10px;
  }
  .flow-title {
    font-size: 24px;
    height: 30px;
  }
  .flow-num::before {
    top: 60px;
  }
  .flow-text {
    padding-left: 60px;
    line-height: 1.3;
  }
  .flow05-img {
    width: 100%;
    text-align: end;
  }
  .flow05-img img {
    text-align: right;
    width: 185px;
  }
}

.flow-wrap01 {
  padding: 40px 60px;
}

.flow-step01 {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.flow-left01 {
  position: relative;
  /* max-width: 612px; */
  width: 100%;
}

.flow-head01 {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}

.flow-num01 {
  font-size: 40px;
  font-weight: bold;
  font-family: "Josefin Sans";
  color: #ffffff;
  width: 50px;
  height: 40px;
  text-align: center;
  line-height: 1;
  /* margin-bottom: 10px; */
  position: relative;
}

/* .flow-num::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #ffffff;
    transform:  translateX(-50%);
} */

/* .flow-num01::before {
  content: "↓";
  background: #ffffff;
  width: 4px;
  height: 100%;
  position: absolute;
  top: calc(50% - -30px);
  left: 40px;
  transform: translatex(-50%);
} */

.flow-title01 {
  font-size: 28px;
  /* line-height: 40px; */
  line-height: 1;
  color: #ffffff;
  height: 40px;
  font-weight: bold;
}

.flow-text01 {
  padding-left: 80px;
  color: #ffffff;
}

.flow-text01::before {
  content: "";
  background: #ffffff;
  width: 2px;
  height: 100%;
  position: absolute;
  top: calc(50% - -35px);
  left: 28px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.flow-text01::after {
  content: "↓";
  position: absolute;
  left: 14px;
  bottom: -40px;
  font-size: 30px;
}

.flow-step01:last-child .flow-text01::before {
  display: none;
}

.flow-step01:last-child .flow-text01::after {
  display: none;
}

@media (max-width: 787px) {
  .first-visit-bg {
    padding-top: 30px;
  }
  .flow-wrap01 {
    padding: 40px 0;
  }
  .flow-head01 {
    gap: 10px;
  }
  .flow-title01 {
    font-size: 24px;
    /* height: 30px; */
    height: 40px;
  }
  .flow-num01 {
    width: 55px;
    font-size: 35px;
  }
  .flow-num01::before {
    top: 60px;
  }
  .flow-text01 {
    padding-left: 60px;
    line-height: 1.3;
  }
}

.flow-step02 {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.flow-left02 {
  position: relative;
  /* max-width: 612px; */
  width: 70%;
}

.flow-head02 {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}

.flow-num02 {
  font-size: 40px;
  font-weight: bold;
  font-family: "Josefin Sans";
  color: var(--main-color01);
  width: 50px;
  height: 40px;
  text-align: center;
  line-height: 1;
  /* margin-bottom: 10px; */
  position: relative;
}

.flow-num02::before {
  content: "";
  background: #000000;
  width: 2px;
  height: 110px;
  position: absolute;
  top: calc(50% - -80px);
  left: 28px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.flow-num02::after {
  content: "↓";
  position: absolute;
  left: 15px;
  bottom: -124px;
  font-size: 28px;
  color: #000000;
  font-family: "Zen Kaku Gothic New";
}

.flow-step02:last-child .flow-num02::before {
  display: none;
}

.flow-step02:last-child .flow-num02::after {
  display: none;
}

.flow-title02 {
  font-size: 28px;
  /* line-height: 40px; */
  line-height: 1;
  color: var(--main-color01);
  height: 40px;
  font-weight: bold;
}

.flow-text02 {
  padding-left: 80px;
  color: #ffffff;
}

@media (max-width: 787px) {
  .flow-left02 {
    width: 100%;
  }
  .flow-head02 {
    gap: 10px;
  }
  .flow-title02 {
    font-size: 20px;
    height: 40px;
  }
  .flow-num02 {
    font-size: 32px;
  }
  .flow-num02::before {
    top: 100px;
  }
  .flow-text02 {
    padding-left: 60px;
    line-height: 1.3;
  }
  .flow05-img02 {
    margin: 0 auto;
  }
}

@media (max-width: 787px) {
  .esophagitis-img {
    width: 130px;
    height: 130px;
    display: block;
    margin: 0 auto;
  }
}

a.external-link[target="_blank"]::after {
  font-family: "Font Awesome 6 Free";
  content: "\f08e";
  font-weight: 900;
  margin: 0 0.25rem;
}

.relative-z {
  position: relative;
  z-index: 1;
}

.list-white li::marker {
  color: #ffffff;
}

ol.list-white {
  padding-left: 15px;
}
