@charset "UTF-8";

/* ------
  - *基本設定
  - *パンくずリスト
  - *ページ内リンク
  - *ページャー
  - *書式設定
------ */

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

  *基本設定

==================================================================================================================================*/
section.bg_rich {
 background: linear-gradient(106.04deg, #eaf5f066, #a9cdbbd1 100.14%);
}
section.bg_rich #contents {
}

section.bg_rich .internalLink {
  margin-bottom: 0;
  padding: 100px 70px 20px;
  background: #fff;
}
section.bg_rich .internalLink:first-of-type {
  border-radius: 40px 40px 0 0;
}
section.bg_rich .internalLink:last-of-type {
  border-radius: 0 0 40px 40px;
  padding-bottom: 100px;
}
/* リッチ下層のコンテンツ幅 */
.mv_contents .inner,
main section .inner,
#breadcrumb.inner,
.page_links .inner {
  max-width: 1200px;
  font-size: 110%;
}

header::before {
  content: "";
}
:root {
  --main-color: #9b9873;
  --sub-color: #DAC58B;
  --line-color: #e0e0e0;
  --text-color: #444444;
  --bg-color: #f7f7f7;
  --selection-color: rgb(155, 152, 115 , 0.1);
}
/*==============================================
  *SP 基本設定
==============================================*/
@media screen and (max-width: 640px) {
  section.bg_rich .internalLink {
    padding: 45px 0 20px;
  }
  .inner {
    width: 100%;
    margin: auto;
    padding: 0 20px;
  }


  .facility_img {
    width: 60%;
    max-width: 400px;
    margin: 0 auto;
  }
}


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

  *パンくずリスト

==================================================================================================================================*/
#breadcrumb {
  margin: 30px auto!important;
}

#breadcrumb ol {
  counter-reset: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
}

#breadcrumb ol li {
  position: relative;
  margin: 0;
  line-height: 1.5;
}

#breadcrumb ol li:not(:last-child)::after {
  content: "\f054";
  position: relative;
  top: -1px;
  padding: 0 10px;
  /*font-family: "Font Awesome 5 Free";*/
  font-weight: 900;
  font-size: 70%;
}

/*==============================================
  *SP パンくずリスト
==============================================*/
@media screen and (max-width: 640px) {
  #breadcrumb {
    margin: 0 0 30px;
    font-size: 13px;
  }

  #breadcrumb ol li:not(:last-child)::after {
    padding: 0 10px;
  }
}

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

  *ページ内リンク

==================================================================================================================================*/
.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: #f7f7f7;
  color: var(--text-color);
  font-size: 95%;
  text-align: center;
  transition: color 0.2s , background 0.2s;
}

.page_links li a:hover {
  background: #edf4ff;
  color: var(--sub-color);
}

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

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

/*==============================================
  *SP ページ内リンク
==============================================*/
@media screen and (max-width: 640px) {
  .page_links li {
    width: 100%;
  }
}


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

  *ページャー

==================================================================================================================================*/
.pager {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 30px auto 0;
  font-size: 15px;
}

.pager > * {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 34px;
  border-radius: 30px;
  background: #d7d7d7;
  color: #ffffff;
  line-height: 1;
}

.pager .current {
  background: var(--main-color);
  color: #ffffff;
}

.pager a:hover {
  background: #929292;
  color: #ffffff;
}

.pager .next,
.pager .prev {
  padding: 0 0 3px 1px;
  font-size: 150%;
}


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

  *書式設定

==================================================================================================================================*/
/* ----- 下層の見出しの上に余白を付ける ----- */
main:not(.front) h3:not(:first-of-type) {
  margin-top: 50px;
}
main:not(.front) h4:not(:first-of-type),
main:not(.front) h5:not(:first-of-type),
main:not(.front) h6:not(:first-of-type) {
  margin-top: 2em;
}

/* hタグの最初の要素のmarginをつけたい場合 */
h3.mtem {
  margin-top: 60px;
}

.mtem {
  margin-top: 2.5em;
}

.mbem {
  margin-bottom: 1em;
}

/* 段落余白 */
main .inner > *:not(h1,h2,h3,h4,h5) {
  margin-bottom: 1.5em;
}

main .inner > *:not(h1,h2,h3,h4,h5):last-child {
  margin-bottom: 0;
}

/* ----- text ----- */
.text {
  position: relative;
}

.text > *:not(h1,h2,h3,h4,h5):last-child {
  margin-bottom: 1.5em;
}

.text_inner {
  position: relative;
}

.text_inner > *:not(h1,h2,h3,h4,h5,h6) {
  margin-bottom: 1.5em;
}

.text_inner > *:not(h1,h2,h3,h4,h5,h6):last-child {
  margin-bottom: 0;
}

.yellowline {
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: rgb(255, 245, 157);

  text-decoration-thickness: 0.6em;
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
}


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

  *タイトル

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



h2.special_title {
  position: relative;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #04606f;
  letter-spacing: 0.15em;
  font-size: 165%;
  font-family: "FOT-ロダン Pro DB";
  text-align: center;
}
h2.special_title i{
 margin-bottom: 2px;
  letter-spacing: 0.12em;
  line-height: 1;
  font-size: 60px;
  font-family: "FranklinGothicLTPro-Dm";
  font-style: normal;
  color: var(--line-color);
}
/*h2.special_title::before {
  content: attr(eng);
  display: block;
  margin: 0 auto 5px;
  color: var(--line-color);
  font-size:  215%;
  font-family: "FranklinGothicLTPro-Dm" !important;
}*/

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

.special_title01 {
  /*margin-bottom: 20px;*/
  padding: 0 5px 10px;
 /* border-bottom: 1px  solid var(--line-color);*/
  /*color: var(--text-color);*/
  font-weight: 600;
  font-size: 150%;
}

.special_title02 {
  /*width: fit-content;*/
  margin-bottom: 18px;
  padding: 20px 35px 20px 45px;
  color: #3e9363;
	font-size: 130%;
  background: linear-gradient(106.04deg, #eaf5f04d, #a9cdbb4d 100.14%);
  font-weight: bold;
  text-align: left;
}

.special_title02::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 8px;
  height: 100%;
  background: #3e9363;
}
.special_title03 {
	width: fit-content;
    margin: 0 0 20px;
    padding: 5px 20px;
    background: #ffffff;
    border: 1px solid var(--line-color);
    font-size: 120%;
}
.bg01 {
	background: var(--bg-color);
	padding: 20px 30px;
}
/*==============================================
  *SP 
==============================================*/
@media screen and (max-width: 640px) {
  h2.special_title{
    font-size: 145%;
  }
  /*h2.special_title::before {
    font-size: 160%;
  line-height: 1.1;
  }*/
  h2.special_title i {
    font-size: 160%;
  line-height: 1.1;
  }
  .special_title01 {
    font-size: 120%;
  }
  .special_title02{
    padding: 7px 15px 7px 25px;
    font-size: 130%;
  }
}


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

  *メインビジュアル

==================================================================================================================================*/
/* ----- #mainvisual ----- */
#mainvisual.rich {
  position: relative;
  z-index: 1;
  height: /*950px*/ 900px;
  /*margin: 0 0 0 auto;*/
  margin: 70px 0 0 auto;
  background: var(--main-color);
  overflow: hidden;
}

/* MVの縁 */
#mainvisual.rich::before,
#mainvisual.rich::after {
  content: "";
  position: absolute;
  z-index: 2;
  display: block;
  width: 200px;
  height: 200px;
  background: url(../images/mv_frame.svg) no-repeat center / cover;
}

#mainvisual.rich::before {
  bottom: 20px;
  left: 20px;
  opacity: 0.5;
}

#mainvisual.rich::after {
  top: 20px;
  right: 20px;
  transform: rotate(180deg);
  opacity: 0.3;
}

#mainvisual.rich .mv_img::before {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 300px;
  /*background: linear-gradient(rgb(0, 0, 0, 0.5), transparent)*/;
}

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


.mv_img img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* ----- コンテンツ ----- */
.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%;
}

.mv_contents .catch {
  position: absolute;
  top: /*45%*/ 33%;
  left: 0;
  z-index: 2;
/*   display: flex;
  flex-flow: column;
  gap: 10px; */
  color: #1b889a;
  font-size: 150%;
  line-height: 2;
  letter-spacing: 0.3em;
  transform: translateY(-50%);
  font-family: "FOT-ロダン Pro DB";
}

.mv_contents .catch span {
/*   display: block; */
  font-size: 120%;
  color: #fff;
  width: fit-content;
  margin-right: 5px;
  padding: 5px 20px;
 /* background-image: linear-gradient(135deg, #04606f, #9fcdd4);*/
  background: #1b889a;
}

.mv_contents .catch span.text_120par {
  font-size: 120%;
  margin: 0;
  padding: 0;
  background: none;
  color: #1b889a;
}
/* ----- テキストバナーエリア ----- */
.mv_contents .bnr_wrap {
  position: absolute;
  right: 0;
  bottom: 50px;
}
.mv_contents .mongolian_spot .bnr_wrap {
  position: absolute;
  left: 0 !important;
  bottom: 50px;
}
.mongolian_spot .bnr_facility {
background: rgb(255, 255, 255, 0) !important;
}
.bnr_wrap {
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

.bnr_wrap .bnr {
  display: block;
  width: 175px;
  height: 175px;
  padding: 3px;
 /* border-radius: 50%;*/
  background-image: linear-gradient(25deg, rgb(63, 96, 163 , 0.2), rgb(80, 128, 164 ,0.2), rgb(91, 162, 165 ,0.2), rgb(97, 196, 164 ,0.2));
  font-size: 93%;
  text-align: center;
}

.bnr_wrap .bnr p {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  /*padding: 15px 10px;*/
 /* border-radius: 50%;*/
 /* background-image: linear-gradient(25deg, rgb(63, 96, 163 , 0.5), rgb(80, 128, 164 ,0.5), rgb(91, 162, 165 ,0.5), rgb(97, 196, 164 ,0.5));*/
  /*background: rgba(255, 255, 255, 0.5);
  border: solid 1px rgba(27, 136, 154, 0.5);*/
  background: rgba(27, 136, 154, 0.6);
  color: #fff;
  font-size: 95%;
  line-height: 1.65;
  backdrop-filter: blur(10px);
}
.bnr_wrap .bnr:first-of-type p {
  background: rgba(27, 136, 154, 0.3);
}
.bnr_wrap .bnr:last-of-type p {
  background: rgba(27, 136, 154, 0.9);
}
.bnr_wrap .bnr.maincolor {
  background-image: linear-gradient(25deg, rgb(140, 33, 60 , 0.2), rgb(180, 109, 89 ,0.2), rgb(216, 178, 120 ,0.2), rgb(249, 249, 152 ,0.2));
}

.bnr_wrap .bnr.maincolor p {
  background-image: linear-gradient(25deg, rgb(140, 33, 60 , 0.6), rgb(180, 109, 89 ,0.6), rgb(216, 178, 120 ,0.6), rgb(249, 249, 152 ,0.6));
}

/* ----- 設備バナーエリア ----- */
.mv_contents .bnr_facility {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-top: 40px;
  padding: 4px;
  background: rgb(255, 255, 255 , 0.3);
  backdrop-filter: blur(10px);
}

.facility_inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  background: rgba(74, 156, 170, 0.1);
  /* background:  linear-gradient(rgb(255, 255, 255 , 0.4),rgb(255, 255, 255 , 0.4)); */
}

.facility_inner::before{
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../images/bnr_mable_silver.jpg) no-repeat center / cover;
  opacity: 0.6;
}

.bnr_facility .facility_text {
  /*width: calc(100% - 200px);*/
  width: calc(100% - 157px);
  padding: 10px 0 10px 10px;
  text-align: center;
}

.bnr_facility .facility_text .title {
  margin: 0 auto 20px;
  padding: 5px 10px;
  background: rgb(255, 255, 255 , 0.7);
  background: rgba(27, 136, 154, 0.8);
  color: #fff;
  text-align: center;
  font-size: 140%;
}

.bnr_facility .facility_text .item,
.bnr_facility .facility_text .sub_title {
  font-size: 112%;
  line-height: 1.5;
}

.bnr_facility .facility_text .item01 {
  background: rgba(62, 147, 99, 0.8);
  padding: 9px 13px;
  border-radius: 15px;
  color: #fff;
}

.bnr_facility .facility_text .item02 {
  background: rgba(152, 195, 171, 0.8);
  padding: 9px 13px;
  border-radius: 15px;
  color: #fff;
}

.bnr_facility .facility_text .title:not(:first-child) {
  margin-top: 20px;
}

.bnr_facility .facility_text .price {
  margin-top: 10px;
  font-size: 230%;
}

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

.bnr_facility .facility_img {
  max-width: 200px;
  height: auto;
  margin-top: -174px;
}
.bnr_facility .facility_img img {
  width: 137px;
  height: auto;
}

.facility_inner:not(:has(.facility_img)) {
  padding: 0 15px;
}

.bnr_facility:not(:has(.facility_img)) .facility_text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.bnr_facility:not(:has(.facility_img)) .facility_text .title {
  width: 45%;
  margin: 0;
}

.bnr_facility:not(:has(.facility_img)) .facility_text .price {
  width: calc(55% - 20px);
  margin: 0;
  line-height: 1;
  padding: 10px 0;
}

.bnr_facility:not(:has(.facility_img)) .facility_text .price .txt14 {
  font-size: 14px;
}

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

/*==============================================
  *SP メインビジュアル
==============================================*/
@media screen and (max-width: 640px) {
  #mainvisual.rich {
    position: relative;
    width: 100%;
    /*height: 255px;*/
    margin-top: 114px;
    height: calc(100svh - 120px);
    min-height: 700px;
  }

  #mainvisual.rich::before,
  #mainvisual.rich::after {
    width: 100px;
    height: 100px;
    opacity: 1;
  }

  #mainvisual.rich::before {
    left: 10px;
  }

  #mainvisual.rich::after {
    top: 10px;
    right: 10px;
  }

 /* #mainvisual.rich .mv_img::before {
    height: 70px;
    background: linear-gradient(rgb(0, 0, 0, 0.2), transparent);
  }*/
  .mv_img img {
    object-position: 71% bottom;
  }
  .mv_contents {
    padding: 0 20px;
  }

  .mv_contents .catch {
    top: /*60%*/ 43%;
/*     left: -20px; */
    font-size: /*110%*/ 135%;
    line-height: 1.5;
  }

  .mv_contents .catch span {
    padding: 5px 10px 5px 15px;
  }

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

  /* テキストバナーエリア */
  .mv_contents .bnr_wrap {
    bottom: 30px;
  }
  .bnr_wrap {
    justify-content: center;
    gap: 5px;
  }
	
  .bnr_wrap_sp {
	display: flex!important;
    margin-bottom: 30px;
  }

/*   .bnr_wrap .bnr {
    width: 130px;
    height: 130px;
  } */
	
   .bnr_wrap .bnr {
     width: calc((100% / 3) - 5px);
     height: auto;
     font-size: 3.5vw;
     aspect-ratio: 1 / 1;
   }
	.bnr_wrap.wide {
		gap: 3px;
	}
	 .bnr_wrap.wide .bnr {
     width: 166px;
		 height: 166px;
   }
	.bnr_wrap.wide .bnr p {
		font-size: 16px;
	}


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

  .bnr_facility .facility_text {
    width: 75%;
    padding: 0;
  }
	
  .bnr_facility .facility_text .item {
	font-size: 88%;	
  }
  
  .bnr_facility .facility_text .title {
    font-size: 110%;
  }

  .bnr_facility .facility_text .sub_title {
	font-size: 120%;	
  }
	
  .bnr_facility:not(:has(.facility_img)) .facility_text .title {
	font-size: 100%;	
  }
	
  .bnr_facility .facility_text .price {
	font-size: 190%;	
  }

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

  /* ----- MVから非表示にするコンテンツを指定 ----- */
  .mv_contents .bnr_facility {
    /*display: none;*/
    bottom: 25px;
    margin: 0;
  }
  .bnr_facility .facility_inner {
    margin: 0 auto;
  }
  /* ----- MV内のコンテンツをMV下に表示 ----- */
  .mv_under {
    display: block;
  }

  .mv_under .bnr_wrap {
    display: none;
  }

  .mv_under .catch {
    display: none;
  }
	span.text_80par {
	font-size: 80% !important;
}
}


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

  *おすすめ

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

.recommend_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 2) - (20px / 2));
}

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

.recommend_item .title {
  padding: 15px 30px;
 /* background: linear-gradient(to right, rgb(115, 129, 155 , 0.8), rgb(97, 140, 156 , 0.8) , rgb(155, 152, 115 , 0.8));*/
 /* background: linear-gradient(106.04deg, #f7fbff33, #c4d4e733 100.14%);*/
  background: linear-gradient(106.04deg, #eaf5f04d, #a9cdbb4d 100.14%);
  /*color: #ffffff;*/
  color: var(--text-color);
  font-size: 140%;
  text-align: center;
  border: 1px solid var(--line-color);
}

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

.recommend_item .title .white {
  position: relative;
  top: -2px;
  display: inline-block;
  width: fit-content;
  margin-right: 15px;
  padding: 2px 15px;
  border-radius: 300px;
  /*background: #ffffff;*/
  background: #04606f;
  /*color: var(--text-color);*/
  color: #fff;
  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%;
	text-align: center;
  color: var(--text-color);
}

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

.recommend_text .price {
  text-align: center;
}
.recommend_text .price .small,
.recommend_text .price .tax {
  font-size: 80%;
}

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

  .recommend_item {
    width: 100%;
  }

  .recommend_item .title .white {
    top: 0;
    display: block;
    margin: 0 auto 5px;
  }

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

  .recommend_text {
    padding: 20px;
  }
}

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

  *お悩みリスト

==================================================================================================================================*/
.worries_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 30px 60px;
  padding: 60px 20px;
  background: var(--bg-color);
}

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

.worries_list li::before {
  display: block;
  position: absolute;
  top: 3px;
  left: -2px;
  width: 27px;
  height: 27px;
  background-image: url(../images/check.svg);
  background-repeat: no-repeat;
  background-position: left center;
  content: '';
}

/*.worries_list02*/
.worries_list02 {
  display: grid;
  flex-flow: wrap;
  justify-content: center;
  gap: 10px 60px;
  padding: 35px 20px;
  background: var(--bg-color);
}

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

.worries_list02 li::before {
  display: block;
  position: absolute;
  top: 3px;
  left: -2px;
  width: 27px;
  height: 27px;
  background-image: url(../images/check.svg);
  background-repeat: no-repeat;
  background-position: left center;
  content: '';
}

/*==============================================
  *SP お悩みリスト
==============================================*/
@media screen and (max-width: 640px) {
  .worries_list {
    justify-content: flex-start;
    padding: 25px 30px;
  }

  .worries_list li {
    padding: 0 0 0 40px;
    font-size: 115%;
  }

  .worries_list li::before{
    top: 45%;
    width: 30px;
    height: 28px;
    transform: translateY(-50%);
  }
  .worries_list02 li {
    padding: 0 0 0 40px;
    font-size: 115%;
  }

  .worries_list02 li::before{
    top: 45%;
    width: 30px;
    height: 28px;
    transform: translateY(-50%);
  }
}


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

  *院長の想い

==================================================================================================================================*/
.img_fr.special_message {
  margin-left: 30px;
}
.img_fr.special_message img {
  box-shadow: 7px 7px 0 #a9cdbbad;
}
@media screen and (max-width: 640px) {
  .img_fr.special_message {
    margin-bottom: 30px !important;
  }
}
/*==================================================================================================================================

  *当院の特徴

==================================================================================================================================*/
.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 30px;
}

.feature_item {
  width: calc(50% - 20px);
}

.feature_list.three .feature_item {
  width: calc((100% / 3) - (60px / 3));
}

.feature_inner > *:not(h1,h2,h3,h4,h5):last-child {
  margin-bottom: 1em;
  margin: 0 15px auto;
}

.feature_title {
  margin: 0 auto 15px;
  padding: 10px 20px 8px;
  /*background: linear-gradient(to right, rgb(115, 129, 155 , 0.8), rgb(97, 140, 156 , 0.8) , rgb(155, 152, 115 , 0.8));*/
  background: linear-gradient(106.04deg, #eaf5f04d, #a9cdbb4d 100.14%);
  /*color: #ffffff;*/
  color: var(--text-color);
  font-size: 110%;
  /*border: 1px solid #828282;*/
  border: 1px solid var(--line-color);
  text-align: center;
}

/*==============================================
  *SP 当院の特徴
==============================================*/
@media screen and (max-width: 640px) {
  .feature_list {
    flex-flow: column;
    gap: 20px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_list.three .feature_item {
    width: 100%;
  }
}


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

  *追加費用

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

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

/* 3列 */
.cost.three {
  justify-content: center;
}
.cost.three li {
  width: calc((100% / 5) - (80px / 5));
}

.cost li .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
 /* background: linear-gradient(135deg, rgb(115, 129, 155 , 0.8), rgb(97, 140, 156 , 0.8) , rgb(155, 152, 115 , 0.8));*/
  /*background-image: linear-gradient(135deg, #04606f, #9fcdd4);*/
  color: #fff;
  font-size: 32px;
  background: linear-gradient(106.04deg, #eaf5f04d, #a9cdbb4d 100.14%);
  border: 1px solid var(--line-color);
}
.cost li .icon img {
  width: 50px;
}

.cost li .title {
  /*min-height: 64px;*/
  margin: 15px 0 0;
  font-size: 120%;
  text-align: center;
  color: var(--text-color);
}

.cost li .price {
  font-size: 300%;
}

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

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

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

/*==============================================
  *SP 追加費用
==============================================*/
@media screen and (max-width: 640px) {
  .cost {
    justify-content: flex-start;
    gap: 10px;
  }

  .cost li {
    justify-content: flex-start;
    width: calc(50% - 5px);
    padding: 18px 10px;
  }
  .cost li .title {
    font-size: 90%;
  }
  .cost li .icon {
    width: 80px;
    height: 80px;
  }
  /*.cost.three {
    justify-content: flex-start;
  }*/

  .cost.three li {
    width: calc(50% - 5px);
  }
}

@media screen and (max-width: 350px) {
  .cost {
    gap: 15px;
  }

  .cost li {
    width: 100%;
  }

  .cost.three li {
    width: 100%;
  }
}


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

  *当院が選ばれる理由

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

.reason_item {
  display: flex;
}

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

.reason_title {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 10px;
    /*background: linear-gradient(to right, rgb(115, 129, 155 , 0.8), rgb(97, 140, 156 , 0.8) , rgb(155, 152, 115 , 0.8));*/
      background: linear-gradient(106.04deg, #eaf5f04d, #a9cdbb4d 100.14%);
  /*color: #ffffff;*/
  color: #3e9363;
  font-size: 120%;
  text-align: center;
  font-weight: bold;
}

.reason_title::before {
  /* content: "Reason" counter(number); */
  content: "0" counter(number);
  counter-increment: number;
  position: absolute;
  bottom: 7px;
  left: 15px;
  z-index: -1;
  /*color: #ffffff;*/
  color: #3e9363;
  font-size: 60px;
  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);
}

/*==============================================
  *SP 当院が選ばれる理由
==============================================*/
@media screen and (max-width: 640px) {
  .reason_item {
    flex-flow: wrap;
  }

/*   .reason_title {
    padding: 20px;
  } */
  .reason_title::before {
   font-size: 40px; 
  }

  .reason_text {
    width: 100%;
    padding: 20px;
  }
}

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

  *タブ

==================================================================================================================================*/
.tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  margin: 0 auto 10px;
}

.tab_list li {
  flex: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid #d7d7d7;
  font-size: 140%;
  cursor: pointer;
  transition: background 0.2s , color 0.2s , border 0.2s;
}

.tab_list li:hover{
  color: #fff;
  /*background: #04606f;*/
  background: #d7d7d7 !important;
}

.tab_list li.active{
  color: #fff;
  /*background: var(--main-color);*/
  /*background: #04606f;*/
  background: rgba(150,187,193,0.8) !important;
  border: none;
 /* border: 1px solid var(--main-color);*/
}

.panel_wrap{
  padding: 20px;
  background: var(--bg-color);
}
.panel_wrap .img_center{
  background: #fff;
}

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

.panel.active {
  display: block;
}


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

  *料金表（タブ）

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

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

.price_table tr:first-child th {
  background: #747474;
}

.price_table td {
  background: #ffffff;
}

.price_table th .small,
.price_table td .small {
  display: block;
  font-size: 85%;
  line-height: 1.75;
}

.price_tab .tab_list li {
  min-height: auto;
  padding: 20px 10px;
  font-size: 97%;
  text-align: center;
}
.price_tab .tab_list li span.woman {
  font-size: 80%;
  padding: 2px 12px;
  margin-bottom: 5px;
  background: #FF8169;
  border-radius: 16px;
  color: #fff;
}
.price_tab .tab_list li span.men {
  font-size: 80%;
  padding: 2px 12px;
  margin-bottom: 5px;
  background: #00BFD3;
  border-radius: 16px;
  color: #fff;
}
.price_tab .price_img {
  margin: 0 auto 15px;
}

.price_tab .panel {
  padding: 0 0 15px;
}

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

.price_tab table th,
.price_tab table td {
  background: #ffffff;
}

.price_tab table tr:not(:first-child) th {
  background: #f1f1f1;
  /* color: #ffffff; */
}

/* .price_tab table tr.select th {
  background: var(--main-color);
  color: #ffffff;
}

.price_tab table tr.select td {
  background: #f9f9ef;
} */

/*.price_tab table tr th.select.active {
  background: rgba(150,187,193,0.6) !important;
}*/
.price_tab table tr th:first-of-type {
  width: 25% !important;
}
.price_tab table tr:has(th.select) td, 
.price_tab table tr:has(th.select) th {
  background: rgba(150,187,193,0.2) !important;
}

.price_tab table th span {
  display: block;
  font-size: 80%;
}

/*==============================================
  *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: 10px 10px;
    font-size: 90%;
    line-height: 1.7;
    display: block;
  }
  .price_tab .tab_list li span.woman, 
  .price_tab .tab_list li span.men {
    margin-bottom: 0;
    margin-right: 7px;
  }
 }


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

  *リッチ下層テーブル

==================================================================================================================================*/
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;

  table-layout: fixed;
}

table th,
table td,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th, 
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
  width: auto;
  padding: 10px;
  border: 1px solid var(--line-color)!important;
  text-align: center;
  vertical-align: middle;
}

table th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th {
  background: var(--bg-color)!important;
  /*font-family: "shippori-mincho", sans-serif;*/
  font-weight: bold;
  font-style: normal;
}


table th p,
table td p {
  margin: 0 !important;
}
table.table01 th, 
table.table01 td {
	font-size: 90%;
	padding: 20px 5px;
} 

/* ------ ScrollHint ------ */
  .scrolltable {
    overflow: auto!important;
  }

  .scrolltable > table {
    min-width: 800px;
    min-height: 170px;
    background: none!important;
  }

  .scroll-hint-icon {
    top: 50%!important;
    left: 50%!important;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 135px!important;
    height: 100px!important;
    transform: translate(-50%,-50%)!important;;;
  }

/* ------ 診療時間 ------ */
.office_hour:not(:first-of-type) {
  margin-top: 20px;
}



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

  *こんな方におススメ

==================================================================================================================================*/
.suggest_list {
  counter-reset: number 0;
}

.suggest_item {
  display: flex;
}

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

.suggest_title {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 10px;
  background: linear-gradient(to right, rgb(115, 129, 155 , 0.8), rgb(97, 140, 156 , 0.8) , rgb(155, 152, 115 , 0.8));
  color: #ffffff;
  font-size: 120%;
  text-align: center;
}

.suggest_title::before {
  /* content: "Reason" counter(number); */
  content: "0" counter(number);
  counter-increment: number;
  position: absolute;
  bottom: 10px;
  left: 15px;
  z-index: -1;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  opacity: 0.15;
}

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

/*==============================================
  *SP 当院が選ばれる理由
==============================================*/
@media screen and (max-width: 640px) {
  .suggest_item {
    flex-flow: wrap;
  }

  .suggest_title {
    padding: 20px;
  }

  .suggest_text {
    width: 100%;
    padding: 20px;
  }
}



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

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

==================================================================================================================================*/
.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;
  }
}


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

  *よくある質問

==================================================================================================================================*/
/* アコーディオン表示 */

.faq_wrap dl {
  margin-bottom: 10px;
}

.faq_wrap dl dt {
  position: relative;
  margin: 0;
  padding: 15px;
  background-color: var(--bg-color);
  font-weight: bold;
  cursor: pointer;
  transition: background-color .3s;
}

.faq_wrap dl dt:hover,
.faq_wrap dl dt:active,
.faq_wrap dl dt.open {
  background: rgba(150,187,193,0.8) ;
}

.faq_wrap dl dt::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  /*縦線に*/
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  background: rgba(150,187,193,0.8) ;
  transition: all 0.3s ease-in-out;
}

.faq_wrap dl dt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  /*横線*/
  width: 15px;
  height: 2px;
  background: rgba(150,187,193,0.8) ;
  transition: all 0.2s ease-in-out;
}

.faq_wrap dl dt.open::before {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.faq_wrap dl dt.open::after {
  opacity: 0;
}

.faq_wrap dl dd {
  padding: 15px;
}

.faq_wrap dl dt .faq_q {
  position: relative;
  padding: 0 35px 0 35px;
}

.faq_wrap dl dt .faq_q:before {
      position: absolute;
    top: -5px;
    left: 0;
    margin-right: 7px;
    line-height: 1;
    font-family: "Times New Roman", Times, serif;
    font-weight: normal;
    font-size: 28px;
    color: #04606f;
    content: "Q.";
}

.open .faq_wrap dl dt .faq_q:before {
  color: #fff;
}

.faq_wrap dl dd .faq_a {
  position: relative;
  padding: 0 0 0 35px;
}

.faq_wrap dl dd .faq_a:before {
  position: absolute;
  top: 0;
  left: 0;
  margin-right: 7px;
  line-height: 1;
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 28px;
  color: var(--sub-color);
  content: "A.";
}


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

  *WEB予約ボタン

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

.webyoyaku p {
  margin-bottom: 20px;
  font-size: 110%;
}

.webyoyaku_btn {
  text-align: center;
}

.webyoyaku_btn a {
  position: relative;
  display: inline-block;
  min-width: 500px;
  padding: 15px 40px;
  /*border: 1px solid #828282;*/
 /* background-image: linear-gradient(to right, var(--sub-color) 0%, var(--sub-color) 50%, transparent 50%, transparent 100%);*/
  /*background: linear-gradient(106.04deg, #eaf5f04d, #a9cdbb4d 100.14%);*/
  /*background-image: linear-gradient(135deg, #04606f, #9fcdd4);*/
  background: #04606f;
  background-position: 100% 0;
  background-size: 200% auto;
  color: #fff;
  font-weight: bold;
  font-size: 120%;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.5s, color 0.5s, padding 0.5s, border 0.5s;
  animation: btnSize 0.5s ease-in-out infinite alternate;
  transition: ease-in-out 0.2s;
  border-radius: 300px;
}

.webyoyaku_btn a:hover {
 /* padding: 15px 50px 15px 40px;
  border: 1px solid var(--sub-color);
  background-position: 0 0;
  color: #ffffff;
  animation-play-state: paused;*/
      filter: brightness(1.2);
}

.webyoyaku_btn a:hover::after {
  background: #ffffff;
  animation: showArrow 0.3s 0.5s ease-out forwards;
}

@keyframes showArrow {
  0% {
    right: 35px;
    opacity: 0;
  }
  100% {
    right: 20px;
    opacity: 1;
  }
}

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

/*==============================================
  *SP WEB予約ボタン
==============================================*/
@media screen and (max-width: 640px) {
  .webyoyaku_btn a {
    min-width: auto;
    padding: 15px 20px;
    font-size: 110%;
  }

  .webyoyaku_btn a:hover {
    padding: 15px 50px 15px 20px;
    animation-play-state: paused;
  }

  .webyoyaku_btn a::after {
    right: 20px;
    width: 23px;
    height: 5px;
  }

  .webyoyaku_btn a:hover:after {
    right: 15px;
  }
}

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

  *治療の流れ

==================================================================================================================================*/
.flow_number span{
  background: linear-gradient(135deg, rgb(115, 129, 155 , 0.8), rgb(97, 140, 156 , 0.8) , rgb(155, 152, 115 , 0.8));
}
/* ------  flow ------  */
.flow_rich {
  position: relative;
  z-index: 1;
  padding: 30px;
  background: var(--bg-color);
}

.flow_box {
  display: flex;
  gap: 30px;
  padding: 30px 0;
}

.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;
  z-index: -1;
  top: 55px;
  left: calc(50%);
  width: auto;
  height: 100%;
  border-right: var(--line-color) dashed 3px;
  transform: translateX(-50%);
}

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

.flow_number span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  padding: 0 0 3px 2px;
  background: linear-gradient(106.04deg, #eaf5f04d, #a9cdbb4d 100.14%);
  border: 1px solid var(--line-color);
  /*color: #ffffff;*/
  font-size: 120%;
}

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

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

.flow_inner .flow_title {
  margin-bottom: 15px;
  padding: 5px 20px;
  background: #ffffff;
  font-size: 120%;
  font-weight: bold;
}

.flow_inner .flow_sub_title {
  width: fit-content;
  margin-bottom: 15px;
  padding: 5px 20px;
  background: var(--main-color);
  color: #ffffff;
}

.imgtxt {
  margin-top: 5px;
  font-weight: bold;
  text-align: center;
}



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

  *経歴

==================================================================================================================================*/
.name {
  font-size: 150%;
}

.doctor_career {
  margin-top: 30px;
}

.career_box {
  padding: 30px;
  background: var(--bg-color);
}

.career_box:not(:last-of-type) {
  margin-bottom: 20px;
}

.career_box h3 {
  margin: 0 0 5px;
  padding: 0;
  background: none;
  border: none;
  font-size: 140%;
}

/* 日付あり */
.career_box dl {
  display: flex;
  gap: 10px;
  border-bottom: 1px dashed var(--line-color);
}

.career_box dl > * {
  padding: 10px 20px;
}

.career_box dt {
  width: 15%;
  font-weight: 500;
}

/* 日付なし */
.career_box li {
  padding: 10px 20px;
  border-bottom: 1px dashed var(--line-color);
}

.doctor_freearea {
  margin-top: 30px;
}


@media screen and (max-width: 640px) {  
.doctor_name .position{
    margin: 10px 0 20px;
  }

  .career_box {
    padding: 20px 25px;
  }

  .career_box h3 {
    margin: 0;
  }

  /* 日付あり */
  .career_box dl {
    flex-flow: column;
    gap: 0;
  }

  .career_box dl > * {
    padding: 10px;
  }

  .career_box dt {
    width: 100%;
    padding: 10px 10px 5px;
  }

  .career_box dd {
    width: 100%;
    padding: 5px 10px 10px;
  }

  /* 日付なし */
  .career_box li {
    padding: 10px;
  }
}
/*==================================================================================================================================

  *box

==================================================================================================================================*/
.frame01 {
  position: relative;
  z-index: 1;
  padding: 40px 30px;
  background: var(--bg-color);
}

.frame01::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid #ffffff;
  transform: translate(-50%,-50%);
}
