@charset "UTF-8";

/* ------
  - *基本設定
  - *パンくずリスト
  - *ページ内リンク
  - *タブ
  - *アコーディオン
  - *メインビジュアル
  - *タイトル
  - *おすすめ
  - *お悩みリスト
  - *当院の特徴
  - *追加費用
  - *当院が選ばれる理由
  - *料金表
  - *注意点・副作用・リスク
  - *WEB予約ボタン
------ */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
main section:not(:last-child) {
  margin-bottom: 120px;
}

main section:nth-child(even) .inner {
  padding: 120px 0;
}

main section:nth-child(even) {
  background: url(../images/common/gray_bg.jpg) repeat top center / 100% auto;
}

main .wrapper {
  margin: 30px auto 0;
}

main .contents {
  width: 100%;
}

main .inner {
  max-width: 1200px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  main section {
    margin-bottom: 70px;
  }

  main section:not(:last-child) {
    margin-bottom: 70px;
  }

  main section:last-child {
    margin-bottom: 0!important;
  }

  main .wrapper {
    margin: 0 auto;
  }

  main .contents {
    overflow-x: clip;
  }

  main .inner {
    max-width: 1200px;
  }

  main section:nth-child(even) {
    margin-bottom: 70px;
  }

  main section:nth-child(even) .inner {
    padding: 70px 20px;
  }
}

/* ==================================================================================================================================

  *パンくずリスト

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.breadcrumb {
  margin: 0 auto 30px !important;
}

.breadcrumb_list {
  counter-reset: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
}

.breadcrumb_list li {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.breadcrumb_list li::after {
  content: "\f054";
  position: relative;
  top: -1px;
  padding: 0 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 70%;
}

/* 親ターム、子タームが複数ある場合、最後以外にカンマを表示 */
.breadcrumb_list li.parent:has(~ .parent)::after,
.breadcrumb_list li.child:has(~ .child)::after,
.breadcrumb_list li.grandchild:has(~ .grandchild)::after {
  content: ",";
  position: relative;
  top: 0;
  padding: 0 5px;
  font-family: inherit;
  font-weight: normal;
  font-size: 100%;
}

/* 最後の要素の矢印を消す */
.breadcrumb_list li:last-of-type::after {
  display: none;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .breadcrumb {
    font-size: 13px;
  }
}

/* ==================================================================================================================================

  *ページ内リンク

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.page_links {
  margin-bottom: 50px;
}

.page_links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

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

.page_links li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 12px 15px;
  background: #EFF3F7;
  border-radius: 10px;
  color: var(--text-color);
  font-family: var(--jp-font);
  font-size: 95%;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.page_links li a:hover {
  background: #CCDEEC;
}

/* 2列 */
.twoLinks li {
  width: calc(50% - 5px);
}

/* 3列 */
.threeLinks li {
  width: calc(33.3333333333% - 6.6666666667px);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .page_links li {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *タブ

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 20px;
  background: #a9a9a9;
  color: #ffffff;
  font-size: 140%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
}

.tab_list li.is-active {
  background: var(--main-color);
}

.panel {
  display: none;
  margin: 0 !important;
  padding: 20px;
  background: var(--bg-color);
}

.panel > *:not(:last-child) {
  margin-bottom: 2em;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .tab_list {
    flex-flow: column;
  }

  .tab_list li {
    width: 100%;
  }

  .panel {
    margin-top: 20px;
    padding: 15px;
  }
}

/* ==================================================================================================================================

  *アコーディオン

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.accordion > dl:not(:last-child) {
  margin-bottom: 15px;
}

.accordion > dl > dt {
  position: relative;
  z-index: 1;
  background: var(--bg-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-family: var(--jp-font);
  font-weight: normal;
  transition: background 0.3s, color 0.2s;
}

.accordion > dl > dt:hover {
  background: #f4f4f4;
}

.accordion > dl > dt::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--main-color);
  transform: rotate(90deg);
  transition: transform 0.3s, opacity 0.3s;
}

.accordion > dl > dt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--main-color);
  transition: transform 0.3s, background 0.3s;
}

.accordion > dl > dt.is-active {
  background: var(--main-color);
}

.accordion > dl > dt.is-active::before {
  opacity: 0;
  transform: rotate(180deg);
}

.accordion > dl > dt.is-active::after {
  background: #ffffff;
}

.accordion > dl > dt > div {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 15px 60px 15px 25px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.accordion > dl > dd {
  display: none;
}

.accordion > dl > dd > div {
  position: relative;
  z-index: 1;
  padding: 15px 25px;
}

.accordion > dl > dd > div > *:not(h1, h2, h3, h4, h5) {
  margin-bottom: 2em;
}

.accordion > dl > dd > div > *:not(h1, h2, h3, h4, h5):last-child {
  margin-bottom: 0;
}

main section:nth-child(even) .accordion.faq > dl > dt > div {
  background: #fff;
}

/* ----- FAQアコーディオン ----- */
.accordion.faq > dl > dt > div {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 15px 50px 15px 60px;
  cursor: pointer;
  transition: background 0.2s;
}

.accordion.faq > dl > dt > div::before {
  content: "Q.";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 140%;
  font-family: var(--en-font);
  color: var(--main-color);
  line-height: 1;
}

.accordion.faq > dl > dd > div {
  position: relative;
  z-index: 1;
  padding: 15px 25px 15px 60px;
}

.accordion.faq > dl > dd > div:before {
  content: "A.";
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--en-font);
  color: var(--sub-color);
  font-size: 140%;
  line-height: 1;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .accordion > dl > dt::before {
    right: 20px;
    width: 12px;
  }

  .accordion > dl > dt::after {
    right: 20px;
    width: 12px;
  }

  .accordion > dl > dt > div {
    padding: 15px 40px 15px 15px;
  }

  .accordion > dl > dd > div {
    padding: 15px;
  }

  /* ----- FAQアコーディオン ----- */
  .accordion.faq > dl > dt > div {
    padding: 15px 40px 15px 50px;
  }

  .accordion.faq > dl > dt > div::before {
    top: 18px;
  }

  .accordion.faq > dl > dd > div {
    padding: 15px 15px 15px 50px;
  }
}

/* ==================================================================================================================================

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- #mainvisual ----- */
#mainvisual {
  position: relative;
  z-index: 1;
  height: 950px;
  margin: 0 0 0 auto;
  background: var(--main-color);
  border-radius: 0 150px 0 0;
  overflow: hidden;
}

/* ---------- MVの画像 ---------- */
.mv_img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 0 150px 0 0;
  overflow: hidden;
}

.mv_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    object-position: top right;
}

/* ----- コンテンツ ----- */
.mv_contents {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.mv_contents .inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: unset;
}

.mv_contents .catch {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  left: 0;
  z-index: 2;
  padding: 60px 100px 60px 100px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0px 0px 30px 0px rgba(51, 51, 51, .1);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: 0 15em 15em 0;
  font-family: var(--jp-font);
  font-weight: 500;
  letter-spacing: .1em;
}

.mv_contents .catch .main {
  font-size: 220%;
  line-height: 1.75;
}

.mv_contents .catch .sub {
  margin-top: 1.5em;
  padding-top: 1.7em;
  display: block;
  background: url(../images/front/line01.png) repeat-x left top / auto 4px;
  font-size: 135%;
}

/* ----- テキストバナーエリア ----- */
.mv_contents .bnr_wrap {
  position: absolute;
  left: 100px;
  bottom: 0;
}

.bnr_wrap {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.bnr_wrap .bnr {
  display: block;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  font-size: 14px;
  text-align: center;
}

.bnr_wrap .bnr > * {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: linear-gradient(135deg, rgb(68 185 171 / 80%), rgb(133 181 163 / 80%));
  color: #fff;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 115%;
  line-height: 1.75;
}

.bnr_wrap.blue .bnr > * {
  background: linear-gradient(135deg, rgb(72 180 218 / 80%), rgb(110 160 202 / 80%));
}

.bnr_wrap .bnr > * i {
  margin: 0 auto 8px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 20%);
  width: fit-content;
  font-size: 20px;
  aspect-ratio: 1;
}

/* ----- 設備バナーエリア ----- */
.mv_contents .bnr_facility {
  position: absolute;
  bottom: 50px;
  left: 0;
}

.mv_contents .bnr_facility {
  margin-top: 40px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.facility_inner {
  display: flex;
  gap: 25px;
  width: fit-content;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
}

.bnr_facility .facility_text {
  padding: 10px 0 10px 10px;
}

.bnr_facility .facility_text .title {
  margin: 0 auto 15px;
  padding: 5px 10px;
  background: linear-gradient(to right, var(--main-color), var(--sub-color));
  color: #ffffff;
  text-align: center;
}

.bnr_facility .facility_text .price {
  margin-top: 10px;
}

.bnr_facility .facility_text .price span {
  font-size: 85%;
}

.bnr_facility .facility_img {
  max-width: 160px;
  height: auto;
  margin-top: -50px;
}

/* ----- MVのSP用は非表示に ----- */
.mv_under {
  display: none;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #mainvisual {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 0 50px 0 0;
  }

  .mv_img {
    border-radius: 0 50px 0 0;
  }

  .mv_contents {
    padding: 0;
  }

  .mv_contents .catch {
    top: 40%;
    padding: 15px 40px 15px 20px;
    line-height: 1.65;
    width: 95%;
  }

  .mv_contents .catch .main {
    font-size: min(4vw, 120%);
    line-height: 1.65;
  }

  .mv_contents .catch .sub {
    margin-top: 1em;
    padding-top: 1.5em;
    font-size: min(3vw, 90%);
  }

  .mv_contents .inner {
    margin: 0 auto;
    padding: 0;
  }

  /* テキストバナーエリア */
  .mv_contents .bnr_wrap {
    bottom: 30px;
    left: 0;
    padding: 0 20px;
  }

  .bnr_wrap {
    justify-content: center;
    gap: 5px;
  }

  .bnr_wrap .bnr {
    width: 42vw;
    height: 30vw;
    font-size: min(3vw, 100%);
  }  

  .bnr_wrap.blue .bnr {
    width: 28vw;
    font-size: min(2.5vw, 100%);
  }

  .bnr_wrap .bnr > * {
    padding: 10px 5px;
    border-radius: 10px;
    border: 2px solid #fff;
    line-height: 1.5;
  }

  .bnr_wrap .bnr > * i {
    margin: 0 auto 5px;
    padding: 8px;
    font-size: 12px;
  }

  /* 設備紹介バナー */
  .bnr_facility .facility_inner {
    justify-content: center;
    width: 100%;
    margin: 0 auto 30px;
  }

  .bnr_facility .facility_text {
    width: 70%;
    padding: 0;
  }

  .bnr_facility .facility_img {
    width: 30%;
    margin: 0;
  }

  /* ----- MVから非表示にするコンテンツを指定 ----- */
  .mv_contents .bnr_facility {
    display: none;
  }

  /* ----- MV内のコンテンツをMV下に表示 ----- */
  .mv_under {
    display: block;
  }

  .mv_under .bnr_wrap {
    display: none;
  }
}

/* ==================================================================================================================================

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
h2.coming_title {
  margin-bottom: 25px;
  padding: 10px 15px 7px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 140%;
}

h2, h3, h4, h5, h6 {
  position: relative;
  z-index: 1;
  line-height: 1.75;
}

h2.special_title {
  margin: 0 0 50px;
  font-size: 130%;
  text-align: center;
  font-weight: 500;
  letter-spacing: .1em;
}

h2.special_title::before {
  content: attr(eng);
  display: block;
  margin: 0 auto 30px;
  color: var(--main-color);
  font-size: 80px;
  font-family: var(--en-font);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
}

h2.special_title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 35px auto 0;
  background: var(--line-color);
}

.tit01 {
  margin: 0 0 15px;
  color: var(--sub-color);
  font-size: 150%;
}

.tit02 {
  margin: 0 0 15px;
  padding: 10px;
  background: #ffffff;
  font-size: 120%;
  text-align: center;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  h2.special_title::before {
    margin-bottom: 15px;
    font-size: 200%;
  }

  h2.special_title::after {
    margin: 20px auto 0;
  }
}
/* ==================================================================================================================================

  *おすすめ

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.recommend_list {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.recommend_item {
  position: relative;
  z-index: 1;
  width: calc(50% - 10px);
}

.recommend_item .popular {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: var(--sub-color);
  border: 50%;
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.recommend_item .title {
  padding: 15px 30px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 140%;
  text-align: center;
}

.recommend_item .popular_title {
  padding: 15px 60px;
}

.recommend_item .title .white {
  position: relative;
  top: -2px;
  display: inline-block;
  margin-right: 15px;
  padding: 2px 15px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color);
  font-size: 14px;
}

.recommend_item .title .small {
  font-size: 75%;
}

.recommend_text {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line-color);
  border-style: none solid solid solid;
  font-size: 150%;
}

.recommend_text .price .num {
  display: inline-block;
  margin-right: 15px;
  font-size: 80%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .recommend_list {
    flex-flow: column;
  }

  .recommend_item {
    width: 100%;
  }

  .recommend_item .popular_title {
    padding: 15px 50px;
  }

  .recommend_text {
    padding: 20px;
  }
}

/* ==================================================================================================================================

  *お悩みリスト

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.worries_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 20px 45px;
  padding: 40px 20px;
  background: var(--bg-color);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.worries_list li {
  position: relative;
  z-index: 1;
  padding: 0 0 0 40px;
  font-size: 130%;
}

.worries_list li::before {
  content: "\f14a";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
  font-size: 100%;
}

main section:nth-child(even) .worries_list {
  background: #fff;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .worries_list {
    justify-content: flex-start;
    padding: 25px 30px;
  }

  .worries_list li {
    padding: 0 0 0 25px;
    font-size: 110%;
  }
  
}

/* ==================================================================================================================================

  *当院の特徴

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#feature {
  position: relative;
  overflow-x: clip;
}

#feature::before {
  position: absolute;
  top: -120px;
  left: 0;
  content: "";
  width: 350px;
  height: 350px;
  background: url(../images/front/leave01.png) no-repeat top left / contain;
  z-index: 1;
}

#feature::after {
  position: absolute;
  bottom: 0;
  right: 0;
  content: "";
  width: 350px;
  height: 200px;
  background: url(../images/front/leave02.png) no-repeat bottom right / contain;
  z-index: 1;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
	gap: 80px 30px;
}

.feature_item {
	display: flex;
  align-items: stretch;
  position: relative;
  z-index: 0;
}

.feature_item:nth-child(1)::before,
.feature_item:nth-child(3)::before {
  position: absolute;
  top: 50%;
  width: 100vw;
  height: 100%;
  content: "";
  background: url(../images/front/wall_bg.jpg) no-repeat left / cover;
  z-index: -1;
  opacity: .5;
}

.feature_item:nth-child(1)::before {
  left: -10%;
  border-radius: 300px 0 0 300px;
}

.feature_item:nth-child(3)::before {
  left: auto;
  right: -10%;
  border-radius: 0 300px 300px 0;
}

.feature_inner > *:not(:last-child) {
  margin-bottom: 1em;
}

.feature_img {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 45%;
  height: fit-content;
}

.feature_img::before {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(225deg, rgba(255, 255, 255, 0) 55%, rgb(110 160 202 / 20%) 85%, rgb(110 160 202 / 40%) 100%);
  border-radius: 50px;
  content: "";
}

.feature_img img {
  border-radius: 50px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.feature_num {
  position: absolute;
  bottom: 25px;
  left: 20px;
  width: fit-content;
  font-family: var(--en-font);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  letter-spacing: .1em;
  line-height: 1;
  color: #fff;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.feature_num span {
  font-size: 80px;
  display: block;
  letter-spacing: 0;
  font-weight: 500;
  margin-top: -10px;
}

.feature_inner {
  position: relative;
  z-index: 2;
  padding: 50px;
  display: flex;
  flex-flow: column;
  width: calc(100% + 70px);
  border-radius: 70px 70px 50px;
  margin: 0 0 0 -70px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.feature_item:nth-child(even) {
  flex-direction: row-reverse; 
}

.feature_item:nth-child(even) .feature_inner {
  margin-left: 0;
  margin-right: -70px;
}

.feature_item:nth-child(even) .feature_img::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 55%, rgb(110 160 202 / 20%) 85%, rgb(110 160 202 / 40%) 100%);  
}

.feature_item:nth-child(even) .feature_num {
  left: auto;
  right: 20px;
}

.feature_title {
  margin-bottom: 30px;
  padding-bottom: 30px;
  background: url(../images/front/line01.png) repeat-x left bottom / auto 4px;
  font-size: 135%;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .1em;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {

  #feature::before {
    top: -70px;
    width: 150px;
    height: 130px;
  }

  #feature::after {
    bottom: -70px;
    width: 175px;
    height: 100px;
  }

  .feature_list {
    flex-flow: column;
    gap: 40px;
  }

  .feature_item {
    flex-flow: column;
    gap: 10px;
    width: 100%;
    margin: 0;
  }

  .feature_item:nth-child(1)::before, .feature_item:nth-child(3)::before {
    top: 85%;
    height: 200px;
  }

  .feature_item:nth-child(1)::before {
    left: -20px;
  }

  .feature_item:nth-child(3)::before {
    right: -20px;
  }

  .feature_img {
    width: 100%;
    margin: 0;
  }

  .feature_img img,
  .feature_img::before {
    border-radius: 25px;
  }

  .feature_num {
    bottom: 40px;
    left: 15px;
    font-size: 12px;
    gap: 2px;
  }

  .feature_num span {
    font-size: 60px;
  }

  .feature_inner {
    width: 100%;
    min-height: auto;
    margin: -40px auto 0;
    padding: 30px 20px;
    border-radius: 25px;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-size: min(5vw,135%);
  }

  /* ----- 左右 ----- */
  .feature_item:nth-child(even) {
    flex-flow: column;
  }

  .feature_item:nth-child(even) .feature_inner {
    margin: -40px auto 0;
  }
}

/* ==================================================================================================================================

  *流れ

================================================================================================================================== */

.flow {
  position: relative;
  z-index: 1;
  padding: 40px;
  background: var(--bg-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

main section:nth-child(even) .flow {
  background: #fff;
}

.flow_box {
	display: flex;
	gap: 30px;
	position: relative;
	margin-bottom: 50px;
}

.flow_box:first-of-type {
  padding-top: 0;
}

.flow_box:last-child {
  padding-bottom: 0;
}

.flow_number {
  position: relative;
}

.flow_number::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 50%;
  z-index: -1;
  width: auto;
  height: 100%;
  border-right: var(--line-color) dotted 4px;
  transform: translateX(-50%);
}

#flow .flow_number * {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  padding: 0 0 3px 2px;
  border-radius: 50%;
  background: var(--main-color);
  color: #ffffff;
  font-family: var(--en-font);
  font-weight: 500;
  font-size: 140%;
}

.flow_box:last-of-type .flow_number::before {
  display: none;
}

.flow_inner {
  width: calc(100% - 80px);
}

.flow_inner>*:not(:last-child) {
  margin-bottom: 1em;
}

#flow .flow_title {
	display: block;
	margin-bottom: 15px;
	padding: 10px 4px 20px;
	background: unset;
	border: none;
	border-radius: 0;
	background: url(../images/front/line01.png) repeat-x left bottom / auto 4px;
	font-family: var(--jp-font);
	font-weight: 500;
	font-size: 140%;
	line-height: 1.5;
	position: relative;
}

.flow_sub_title {
  width: fit-content;
  margin-bottom: 15px;
  border: none;
  border-radius: 0;
  color: var(--main-color);
  font-family: var(--jp-font);
  font-weight: 500;
  font-size: 100%;
}

.flow_inner img {
  border-radius: 10px;
}

@media screen and (max-width: 640px) {
	#flow {
    position: relative;
	}

	#flow .flow {
		padding: 20px 10px;
	}

  .flow_box {
    gap: 20px;
    padding: 20px 0;
    margin: 0;
  }

	.flow_number {
		width: 50px;
	}

  .flow_number::before{
    top: 50px;
    height: calc(100%);
  }

	#flow .flow_title {
		padding: 10px 4px 18px;
		font-size: 135%;
	}

  .flow_inner {
    width: calc(100% - 60px);
  }

  .flow_title {
    padding: 4px 15px;
  }
}

/* ==================================================================================================================================

  *追加費用

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.cost {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.cost li {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: calc(25% - 15px);
  height: auto;
  padding: 30px 20px;
  border: 1px solid var(--line-color);
  text-align: center;
}

.cost li i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background: linear-gradient(to bottom right, var(--main-color) 0, var(--main-color) 65%, #cfcfcf 65%, #cfcfcf 100%);
  border-radius: 50%;
  color: #ffffff;
  font-size: 40px;
}

.cost li .title {
  margin: 15px 0 0;
  font-size: 130%;
  text-align: center;
}

.cost li .price {
  margin-top: 5px;
  font-size: 220%;
  line-height: 1.85;
}

.cost li .price span {
  display: inline-block;
  margin-right: 10px;
  color: var(--main-color);
  font-size: 70%;
}

.cost li .cautionary {
  color: #5b5b5b;
  font-size: 90%;
}

table.comparison tr:first-of-type > * {
  background: var(--main-color);
  color: #ffffff;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .cost {
    gap: 10px;
  }

  .cost li {
    justify-content: flex-start;
    width: calc(50% - 5px);
  }
}
@media screen and (max-width: 400px) {
  .cost {
    gap: 15px;
  }

  .cost li {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *当院が選ばれる理由

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.reason_list {
  counter-reset: number 0;
}

.reason_item {
  display: flex;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.reason_item:not(:last-child) {
  margin: 0 0 20px;
}

.reason_title {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 35px 10px;
  background: var(--main-color);
  border-radius: 10px 0 0 10px;
  color: #ffffff;
  font-weight: 500;
  font-size: 120%;
  font-family: var(--jp-font);
  text-align: center;
}

.reason_title::before {
  /* content: "Reason" counter(number); */
  content: "0" counter(number);
  counter-increment: number;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  left: 20px;
  z-index: -1;
  width: max-content;
  color: #ffffff;
  font-size: 70px;
  font-weight: 500;
  font-family: var(--jp-font);
  line-height: 1;
  opacity: 0.2;
}

.reason_text {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  width: 65%;
  padding: 10px 15px;
  background: var(--bg-color);
  border-radius: 0 10px 10px 0;
}

main section:nth-child(even) .reason_text {
  background: #ffffff;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .reason_item {
    flex-flow: wrap;
  }

  .reason_title {
    padding: 20px;
    border-radius: 10px 10px 0 0;
  }

  .reason_text {
    width: 100%;
    padding: 20px;
    border-radius: 0 0 10px 10px;
  }
}

/* ==================================================================================================================================

  *料金表

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.price_table tr:first-child th {
  background: var(--main-color);
  color: #ffffff;
}

.price_table tr:not(:first-child) th {
  background: #f1f1f1;
}

.price_table th,
.price_table td {
  padding: 20px 10px;
}

.price_table td {
  background: #ffffff;
}

.price_tab .tab_list li {
  min-height: auto;
  padding: 10px 20px;
}

.price_tab .price_img {
  margin: 0 auto 15px;
  text-align: center;
}

.price_tab .panel .cautionary {
  margin-top: 15px;
  font-size: 90%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .price_tab .tab_list {
    flex-flow: column;
    margin: 0 auto 10px;
  }

  .price_tab .tab_list li {
    width: 100%;
    padding: 5px 15px;
  }
}


/* ==================================================================================================================================

  *メッセージ

================================================================================================================================== */
#message {
  position: relative;
}

#message::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 370px;
  height: 240px;
  background: url(../images/front/leave02.png) no-repeat center left/ contain;
  transform: scale(-1,1);
}

#message::after {
  position: absolute;
  bottom: 30px;
  right: 0;
  content: "";
  width: 30%;
  height: 300px;
  border-radius: 300px 0 0 300px;
  background: url(../images/front/wall_bg.jpg) no-repeat left / auto;
  opacity: .5;
  z-index: -1;
}

.message_flex {
  display: flex;
  gap: 50px;
  flex-direction: row-reverse;
}

.message_flex > .message_text {
  flex-shrink: 0;
  width: 60%;
}

.message_flex > .message_text h3 {
  margin-bottom: 1.5em;
  padding: 10px 10px 1.5em;
  background: url(../images/front/line01.png) repeat-x left bottom / auto 4px;
  font-size: 150%;
  font-weight: 500;
  letter-spacing: .1em;
}

.message_img img {
  border-radius: 50px;
}

.message_profile {
  margin: 30px auto 0;
  font-family: var(--jp-font);
  font-weight: 500;
  text-align: center;
  line-height: 1.75;
}

.message_profile .position {
  font-size: 130%;
}

.message_profile .position img {
  margin: 0 auto 15px;
}

.message_profile .name {
  font-size: 150%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {

  #message::before {
    top: 55px;
    width: 150px;
    height: 100px;
  }

  #message::after {
    bottom: 0;
    width: 60%;
    height: 200px;
  }

  .message_flex {
    flex-flow: column;
    gap: 25px;
  }

  .message_flex > .message_text {
    width: 100%;
  }

  .message_img {
    margin: 0 auto;
    width: 80%;
  }

  .message_flex > .message_text h3 {
    font-size: 135%;
  }

  .message_btn {
    margin-top: 40px;
    text-align: center;
  }
}
/* ==================================================================================================================================

  *注意点・副作用・リスク

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.risk_list {
  display: flex;
  flex-flow: column;
  gap: 30px;
  padding: 30px 40px;
  background: var(--bg-color);
}

.risk_list li {
  position: relative;
  z-index: 1;
  padding: 0 0 0 35px;
  font-size: 115%;
}

.risk_list li::before {
  content: "\f071";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  letter-spacing: 0.1em;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .risk_list {
    padding: 30px 25px;
  }
}

/* ==================================================================================================================================

  *WEB予約ボタン

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.webyoyaku {
  text-align: center;
}

.webyoyaku p {
  margin-bottom: 10px;
  font-family: var(--jp-font);
  font-size: 110%;
}

.webyoyaku_btn {
  animation: btnSize 0.5s ease-in-out infinite alternate;
}

.webyoyaku_btn a {
  position: relative;
  z-index: 1;
  display: inline-block;
  min-width: 500px;
  padding: 15px 20px;
  background: linear-gradient(to right, var(--main-color), var(--sub-color));
  border-radius: 300px;
  color: #ffffff;
  font-family: var(--jp-font);
  font-size: 120%;
  text-align: center;
  transition: filter 0.2s, opacity 0.2s;
}

.webyoyaku_btn a:hover {
  filter: brightness(1.2);
}

@keyframes btnSize {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.025);
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .webyoyaku {
    text-align: left;
  }

  .webyoyaku_btn {
    text-align: center;
  }

  .webyoyaku_btn a {
    min-width: auto;
    padding: 15px 20px;
    font-size: 110%;
    text-align: center;
  }
}

/* ==================================================================================================================================

  *追加設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.img_fl, .img_fr {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 20px;
}
.img_fr {
    float: right;
    margin-left: 30px;
    text-align: center;
}
.img_fl img, .img_fr img {
    width: auto;
    max-width: 400px;
    height: auto;
    max-height: 400px;
}
/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
    .img_fl, .img_fr {
      float: none;
      margin: 0 auto 2.25em;
      text-align: center;
  }
.img_fl img, .img_fr img {
      width: auto;
      max-width: 100%;
      height: auto;
      max-height: none;
  }
}