@charset "UTF-8";

/* ------
  - *基本設定
  - *パンくずリスト
  - *ページ内リンク
  - *ページャー
  - *書式設定
  - *メインビジュアル
  - *タイトル
  - *おすすめ
  - *お悩みリスト
  - *院長の想い
  - *当院の特徴
  - *追加費用
  - *当院が選ばれる理由
  - *料金表（タブ）
  - *施術の流れ
  - *注意点・副作用・リスク
  - *よくある質問
  - *WEB予約ボタン
------ */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
main section {
  margin-bottom: 120px;
}

/* リッチ下層のコンテンツ幅 */
.mv_contents .inner, main section .inner, .breadcrumb .inner, .page_links .inner {
  max-width: 1100px;
}

/* 背景あり */
main section:has(.section_bg) {
  padding: 120px 0;
  background: linear-gradient(rgb(255 255 255 / .3), rgb(255 255 255 / .3)), url(../images/under_section_bg.jpg) no-repeat center / cover;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
  main section {
    margin-bottom: 80px;
  }

  .inner {
    width: 100%;
    margin: auto;
    padding: 0 20px;
  }
}

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

  *パンくずリスト

================================================================================================================================== */
.breadcrumb {
  margin: 30px auto !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;
  }
}

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

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

  *ページ内リンク

================================================================================================================================== */
.page_links {
  margin-bottom: 80px;
}

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

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

/* 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: calc(50% - 5px);
  }

  .page_links li a {
    padding: 10px 8px;
    line-height: 1.6;
    font-size: 85%;
  }
}

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

  *ページャー

================================================================================================================================== */
.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;
  background: #d7d7d7;
  border-radius: 30px;
  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%;
}

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

  *書式設定

================================================================================================================================== */
.mtem {
  margin-top: 2em;
}

.mbem {
  margin-bottom: 1em;
}

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

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

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

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

.text>*: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-skip-ink: none;
  text-decoration-thickness: 0.6em;
  text-underline-offset: -0.2em;
}

/* ----- chart img ----- */
.chart_img img {
  width: 100%;
  max-width: 650px;
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----- #mainvisual ----- */
#mainvisual {
  position: relative;
  z-index: 1;
  height: 950px;
  margin: 0 0 0 auto;
  padding: 50px;
  overflow: hidden;
}


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

.mv_img::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(0 0 0 / .2), transparent);
  z-index: 1;
}

.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: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
}

.mv_contents .catch .main_catch {
  font-size: 220%;
  line-height: 2;
  letter-spacing: .15em;
  color: #fff;
  text-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

.mv_contents .catch .main_catch span {
  font-size: 110%;
  color: var(--sub-color);
  text-shadow: none;
  text-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 10px #fff, 0 0 3px #fff;
}

.mv_contents .catch .main_catch span.purple {
  color: var(--color-purple);
}

.mv_contents .catch .main_catch span.orange {
  color: var(--color-orange);
}

.mv_contents .catch .main_catch span.orange02 {
  color: var(--color-orange02);
}

.mv_contents .catch .main_catch span.blue02 {
  color: var(--color-blue02);
}

.sub_catch {
  margin-top: 10px;
  font-size: 140%;
  line-height: 2;
  letter-spacing: .15em;
  color: #fff;
  text-shadow: 0 0 10px rgb(0 0 0 / 80%);
}

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

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

.bnr_wrap .bnr {
  display: block;
  width: 170px;
  height: auto;
  aspect-ratio: 1;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: 50%;
  font-size: 130%;
  text-align: center;
  line-height: 1.4;
}

.bnr_wrap .bnr p {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-height: 100%;
  padding: 15px;
  background: rgb(255 255 255 / .8);
  border-radius: 50%;
}

.bnr_wrap .bnr p span {
  filter: drop-shadow(0 0 5px rgb(0 0 0 / .5));
  color: #fff;
}

.mv_contents .bnr_facility {
  position: absolute;
  bottom: 80px;
  left: 0;
}

/* square */
.bnr_wrap .bnr.square {
  width: auto;
  max-width: 350px;
  aspect-ratio: unset;
  border-radius: 0;
  font-size: 120%;
  line-height: 1.6;
}

.bnr_wrap .bnr.square p {
  padding: 30px;
  border-radius: 0;
  text-align: left;
}

/* list */
.bnr_wrap .bnr_list {
  max-width: 520px;
  padding: 30px;
  background: rgb(255 255 255 / .8);
  box-shadow: 0 0 10px rgb(0 0 0 / .05);
}

.bnr_wrap .bnr_list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.bnr_wrap .bnr_list li:not(:last-of-type) {
  margin-bottom: 10px;
}

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

/* color */
.bnr_wrap.purple .bnr p {
  background: linear-gradient(133deg, rgb(222 197 238 / .9), var(--color-purple));
}

.bnr_wrap.brown .bnr p {
  background: linear-gradient(133deg, rgb(165 158 137 / 90%), var(--color-brown));
}

.bnr_wrap.blue .bnr_list li::before {
  color: var(--color-blue);
}

.bnr_wrap.blue02 .bnr_list li::before {
  color: var(--color-blue02);
}

/* ----- 設備バナーエリア ----- */
.mv_contents .bnr_facility {
  padding: 4px;
  background: rgba(255, 255, 255, 0.3);
}

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

.facility_inner:has(.facility_img_small) {
  align-items: center;
}

.facility_inner:not(:has(.title)) {
  padding-bottom: 10px;
}

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

.bnr_facility .facility_text .title {
  margin: 0 auto 10px;
  padding: 5px 10px;
  background: rgb(245 160 160 / .9);
  color: #ffffff;
  text-align: center;
  font-size: 120%;
}

.sub_title {
  font-size: 120%;
}

.bnr_facility .facility_text .price {
  font-size: 240%;
  line-height: 1;
}

.bnr_facility .facility_text:not(:has(.sub_title)) .price {
  padding-top: 10px;
}

.facility_inner:not(:has(.title)) .price:first-of-type {
  padding-top: 0;
} 

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

.bnr_facility .facility_text .price span:not(:last-of-type) {
  margin-right: 20px;
}

.bnr_facility .facility_text .price:has(.price_only) {
  display: flex;
  align-items: flex-end;
}

.bnr_facility .facility_text .price span.price_only {
  min-width: 150px;
}

.bnr_facility .facility_img {
  max-width: 130px;
  height: auto;
  margin-top: -30px;
}

.bnr_facility .facility_img_small {
  margin-top: 0;
}

.bnr_facility .achievement_img {
  max-width: 180px;
  height: auto;
  margin-top: -20px;
}

/* color */
.bnr_facility.purple .facility_text .title {
  background: var(--color-purple);
}

.bnr_facility.brown .facility_text .title {
  background: var(--color-brown);
}

.bnr_facility.blue .facility_text .title {
  background: var(--color-blue);
}

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

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  #mainvisual {
    position: relative;
    width: 100%;
    height: 700px;
    padding: 48px 0 0;
  }

  .mv_contents {
    padding: 0 10px;
  }

  .mv_contents .catch {
    top: 40%;
    left: 10px;
    width: 100%;
  }

  .mv_contents .catch.t50 {
    top: 50%;
  }

  .mv_contents .catch.center {
    left: 0;
  }

  .mv_contents .catch .main_catch {
    font-size: min(6vw, 30px);
    line-height: 1.5;
    text-shadow: 0 0 10px rgb(0 0 0 / 70%);
  }

  .mv_contents .catch .main_catch.small {
    font-size: min(5.5vw, 28px);
  }

  .mv_contents .catch .main_catch.long_txt {
    font-size: min(5vw, 25px);
  }

  .sub_catch {
    font-size: min(4vw);
    line-height: 1.5;
  }

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

  /* テキストバナーエリア */
  .mv_content_wrap {
    position: absolute;
    bottom: 10px;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    width: 100%;
  }

  .mv_content_wrap:has(.bnr_wrap .bnr:not(.square)) {
    flex-direction: column;
  }

  .mv_contents .bnr_wrap {
    position: static;
  }

  .bnr_wrap .bnr {
    width: calc((100% / 3) - (20px / 3));
    padding: 2px;
    font-size: min(4vw, 16px);
  }

  .bnr_wrap .bnr_list {
    width: 100%;
    max-width: unset;
    padding: 10px;
    background: rgb(255 255 255 / .9);
  }

  .bnr_wrap .bnr_list li {
    padding-left: 20px;
    font-size: min(3.3vw, 20px);
    letter-spacing: .08em;
  }

  .bnr_wrap .bnr_list li:not(:last-of-type) {
    margin-bottom: 6px;
  }

  .bnr_wrap .bnr p {
    width: 100%;
    height: auto;
    max-height: unset;
    aspect-ratio: 1;
    padding: 3px;
  }

  .bnr_wrap .bnr.small {
    width: calc((100% / 3) - (10px / 3));
    font-size: min(3.5vw, 20px);
  }

  .bnr_wrap .bnr.square {
    max-width: unset;
    font-size: 110%;
  }

  .bnr_wrap .bnr.square p {
    padding: 20px;
    aspect-ratio: unset;
  }

  /* 設備紹介バナー */
  .bnr_facility {
    margin: 0 auto 24px;
  }

  .bnr_facility .facility_inner {
    justify-content: center;
    gap: 12px;
    width: 100%;
    box-shadow: 0 0 10px rgb(0 0 0 / .05);
  }

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

  .bnr_facility .facility_text {
    width: 70%;
    padding: 0;
  }
	
  .bnr_facility:not(:has(.facility_img)) .facility_text {
	width: fit-content;
  }
	
  .bnr_facility .facility_text .price_only {
	display: block;
	margin-bottom: 5px;
  }
	
  .bnr_facility .facility_text:has(.price .price_only) .price:nth-of-type(n+2) {
	padding-top: 20px;
  }

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

  .bnr_facility .achievement_img {
    width: 38%;
    margin-top: -10px;
    margin-bottom: 5px;
  }

  /* ----- MVから非表示にするコンテンツを指定 ----- */
  .mv_contents .bnr_facility {
    position: static;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.8);
  }

  .bnr_facility .facility_text .title {
    padding: 5px;
    margin-bottom: 8px;
    line-height: 1.6;
  }

  .sub_title {
    font-size: 120%;
    line-height: 1.4;
  }

  .bnr_facility .facility_text .price span:not(:last-of-type) {
    margin-right: 14px;
  }

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

  .mv_under .bnr_wrap {
    display: none;
  }

  .mv_under .bnr_facility {
    display: none;
  }

  .bnr_facility .facility_text .price:has(.price_only) {
	display: block;
  }
}

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

  *タイトル

================================================================================================================================== */
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 32px;
  font-size: 180%;
  letter-spacing: .1em;
  text-align: center;
}

h2.special_title::before {
  content: attr(eng);
  display: block;
  margin: 0 auto 5px;
  color: var(--main-color);
  letter-spacing: .08em;
  line-height: 1;
  font-size: 110%;
  font-family: var(--font-en);
  font-weight: 400;
  font-style: normal;
  opacity: .3;
}

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

main:not(.front) h3:not(:first-of-type) {
  margin-top: 64px;
}

.tit01 {
  margin: 0 0 5px;
  color: var(--main-color);
  font-size: 130%;
}

.tit01.color_sub {
  color: var(--sub-color);
}

.tit02 {
  margin-bottom: 20px;
  padding: 10px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--line-color);
  font-size: 140%;
  line-height: 1.6;
}

.tit03 {
  position: relative;
  margin-bottom: 32px;
  padding: 12px 10px;
  background: linear-gradient(to right, rgb(148 139 109 / .9), rgba(148 139 109 / 0.6));
  font-size: 150%;
  letter-spacing: .1em;
  text-align: center;
  color: #fff;
}

.tit04 {
  margin: 10px 0;
  font-size: 110%;
  color: var(--main-color);
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
  h2.special_title {
    margin-bottom: 32px;
    font-size: 140%;
    line-height: 1.65;
    letter-spacing: .08em;
  }

  h2.special_title::before {
    font-size: 90%;
  }

  h2.special_title::after {
    margin-top: 14px;
  }

  .tit02 {
    padding: 5px;
    font-size: 120%;
    line-height: 1.65;
  }

  .tit03 {
    font-size: 120%;
  }
}

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

  *おすすめ

================================================================================================================================== */
.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: rgb(148 139 109/ 0.8);
  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: 20px 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 .title {
    font-size: 120%;
  }

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

  .recommend_text {
    padding: 20px;
  }
}

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

  *お悩みリスト

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

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

.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%;
}

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

  .worries_list li {
    padding: 0 0 0 24px;
    font-size: 100%;
    line-height: 1.65;
  }

  .worries_list li::before {
    top: 2px;
  }
}

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

  *院長の想い

================================================================================================================================== */
.under_message {
  display: flex;
  flex-direction: row-reverse;
}

.under_message_img {
  position: relative;
  z-index: 1;
  width: 370px;
  flex-shrink: 0;
  margin-left: -70px;
}

.under_message_content {
  position: relative;
  top: 35px;
  padding: 60px 120px 60px 50px;
  background: rgb(255 255 255 / .85);
}

.under_message_content>p:not(:last-of-type) {
  margin-bottom: 1em;
}

.under_message_profile {
  margin-top: 32px;
  text-align: right;
}

.under_message_profile .logo img {
  max-width: 300px;
}

.under_message_profile p {
  margin-top: 12px;
  font-size: 140%;
}

.under_message_profile p span {
  margin-right: 12px;
  font-size: 80%;
}

/* ==============================================
  *SP 院長の想い
============================================== */
@media screen and (max-width: 640px) {
  main section:has(.section_bg) {
    padding: 80px 0 0;
    background: linear-gradient(rgb(255 255 255 / .3), rgb(255 255 255 / .3)), url(../images/under_section_bg_sp.jpg) no-repeat center / cover;
  }

  .under_message {
    display: block;
  }

  .under_message_img {
    width: 80%;
    margin: 0 auto 32px;
  }

  .under_message_content {
    top: -100px;
    padding: 90px 20px 30px;
  }

  .under_message_profile {
    text-align: center;
  }

  .under_message_profile .logo img {
    width: 70%;
    margin: 0 auto;
  }
}

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

  *治療法リスト

================================================================================================================================== */
.treatment_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.treatment_list.two_column {
  grid-template-columns: repeat(2, 1fr);
}

.treatment_list li {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--main-color);
  text-align: center;
  color: var(--main-color);
}

.under_flex {
  display: flex;
  gap: 30px;
}

.under_flex_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 30px;
  background: var(--bg-color);
}

.content_title {
  position: relative;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-color);
  font-size: 130%;
}

.under_flex_img {
  max-width: 350px;
  flex-shrink: 0;
}

.under_flex_img.shadow img {
  box-shadow: 0 0 10px rgb(0 0 0 / .05);
}

/* ==============================================
  *SP 治療法リスト
============================================== */
@media screen and (max-width: 640px) {
  .under_flex {
    flex-flow: column-reverse;
    gap: 16px;
    margin-bottom: 16px !important;
  }
}

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

  *当院の特徴

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

.feature_item {
  flex: 1;
}

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

.feature_title {
  margin-top: 20px !important;
  padding: 7px 15px 5px;
  background: var(--sub-color);
  color: #ffffff;
  font-size: 110%;
}

.feature .feature_img {
  margin-bottom: 32px;
  text-align: center;
}

.feature .feature_img img {
  width: 100%;
  max-width: 750px;
}

.feature .feature_img.small img {
  max-width: 450px;
}

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

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

  *動画

================================================================================================================================== */
.video_vertical video {
  width: 100%;
  max-width: 100%;
  height: auto;

}

@media screen and (min-width: 641px) {
  .video_vertical video {
    max-width: 500px;
  }
}

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

  *追加費用

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

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

  *当院が選ばれる理由

================================================================================================================================== */
.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;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 10px;
  background: linear-gradient(to right, rgb(148 139 109 / .9), rgba(148 139 109 / 0.6));
  color: #ffffff;
  font-size: 120%;
  line-height: 1.6;
  text-align: center;
}

.reason_title::before {
  content: "0"counter(number);
  counter-increment: number;
  position: absolute;
  bottom: 0px;
  left: 10px;
  z-index: -1;
  color: #ffffff;
  font-size: 60px;
  line-height: 1;
  opacity: 0.25;
  font-family: var(--font-en);
  font-weight: 400;
  font-style: normal;
}

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

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

  .reason_title {
    padding: 20px;
  }

  .reason_text {
    width: 100%;
  }
}

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

  *アコーディオンリスト

================================================================================================================================== */
.accordion_item {
  display: flex;
  flex-direction: column;
}

.accordion_item:not(:last-of-type) {
  margin-bottom: 16px;
}

.accordion_title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 16px 56px 16px 20px;
  background: linear-gradient(to right, rgb(148 139 109 / .9), rgba(148 139 109 / 0.6));
  color: #ffffff;
  font-size: 120%;
  line-height: 1.6;
  cursor: pointer;
}

.accordion_title::before,
.accordion_title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.accordion_title::before {
  transform: translateY(-50%) rotate(0deg);
}

.accordion_title::after {
  transform: translateY(-50%) rotate(90deg);
}

.accordion_title.active::after {
  transform: translateY(-50%) rotate(0deg);
}

.accordion_title span {
  font-size: 150%;
  line-height: 1;
}

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

/* ==============================================
  *SP *アコーディオンリスト
============================================== */
@media screen and (max-width: 640px) {

  .accordion_item {
    display: flex;
    flex-direction: column;
  }

  .accordion_item:not(:last-of-type) {
    margin-bottom: 11px;
  }

  .accordion_title {
    flex-direction: column;
    gap: 5px;
    padding: 10px 30px 10px;
    font-size: 110%;
    text-align: center;
  }

  .accordion_title::before, .accordion_title::after {
    width: 15px;
  }

  .accordion_title span {
    font-size: 120%;
  }

}

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

  *料金表（タブ）

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

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

.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%;
}

.price_table tr.title th {
  background: var(--main-color);
  color: #ffffff;
}

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

  .price_table th, .price_table td {
    padding: 5px;
    font-size: 90%;
    line-height: 1.7;
    word-break: auto-phrase;
  }
}

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

  *施術の流れ

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

  *特徴 横並び

================================================================================================================================== */
.flex_line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 30px;
}

.flex_line li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc((100%/4) - (90px / 4));
  min-height: 82px;
  padding: 10px 10px;
  box-sizing: border-box;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.556;
  text-align: center;
  color: var(--text-color);
  border: 3px solid #efefef;
  background-color: #fff;
}

.flex_line.three_column li {
  width: calc((100%/3) - (60px / 3));
}

.flex_line li::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: rgb(148 139 109/ .6);
}

@media screen and (max-width: 640px) {

  .flex_line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }

  .flex_line li {
    width: 100% !important;
    min-height: 90px;
  }
}

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

  *ギャラリー

================================================================================================================================== */
.gallery {
  margin: 0 auto;
  text-align: center;
}

.gallery_main {
  max-width: 600px;
  margin: 0 auto 16px;
}

.gallery_main img {
  width: 100%;
  height: auto;
}

.gallery_thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery_thumbs li {
  position: relative;
  max-width: 150px;
  cursor: pointer;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.gallery_thumbs li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.4);
  border-radius: 4px;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery_thumbs li.is-active::after {
  opacity: 0;
}

.gallery_thumbs li img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==============================================
  *SP ギャラリー
============================================== */
@media screen and (max-width: 640px) {
  .gallery_thumbs li {
    width: calc((100% / 3) - (20px / 3));
    max-width: unset;
  }
}

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

  *症例

================================================================================================================================== */
.case_compare {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 32px;
}

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

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

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

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

  *お支払い方法

================================================================================================================================== */
.payment_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.payment_wrap:not(:has(.payment_item:nth-of-type(3))) {
  grid-template-columns: repeat(2, calc(100% / 3 - (20px / 3)));
  justify-content: center;
}

.payment_item {
  background: #fff;
  box-shadow: 0 0 10px rgb(0 0 0 / .05);
}

.payment_assets {
  position: relative;
}

.payment_img {
  position: relative;
}

.payment_img::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgb(148 139 109 / 0.2));
  z-index: 1;
}

.payment_icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 120px;
  height: auto;
  background: rgb(148 139 109 / 0.9);
  border-radius: 50%;
  aspect-ratio: 1;
}

.payment_icon img {
  max-width: 60%;
}

.payment_content {
  padding: 20px 16px 80px;
}

.payment_item h3 {
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-color);
  font-size: 130%;
  letter-spacing: .1em;
  text-align: center;
  color: var(--main-color);
}

.payment_list li {
  position: relative;
  padding-left: 12px;
}

.payment_list li:not(:last-of-type) {
  margin-bottom: 4px;
}

.payment_list li::before {
  position: absolute;
  top: 15px;
  left: 0;
  content: "";
  width: 5px;
  height: auto;
  aspect-ratio: 1;
  background: var(--main-color);
  border-radius: 50%;
}

.payment_list_precautions {
  margin-top: 10px;
}

.payment_list_precautions li {
  position: relative;
  padding-left: 16px;
  font-size: 90%;
  line-height: 1.6;
}

.payment_list_precautions li:not(:last-of-type) {
  margin-bottom: 4px;
}

.payment_list_precautions li::before {
  position: absolute;
  top: 0px;
  left: 0;
  content: "※";
}

/* ==============================================
  *SP お支払い方法
============================================== */
@media screen and (max-width: 640px) {
  .payment_wrap {
    grid-template-columns: repeat(1, 1fr);
  }
	
  .payment_wrap:not(:has(.payment_item:nth-of-type(3))) {
    grid-template-columns: repeat(1, 1fr);
  }

}

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

  *よくある質問

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

  *WEB予約ボタン

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

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

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

.webyoyaku_btn a {
  position: relative;
  z-index: 1;
  min-width: 600px;
  font-size: 140%;
  text-align: center;
  display: inline-block;
  padding: 10px 65px 10px 35px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #fff;
  letter-spacing: 0.15em;
  vertical-align: bottom;
  transition: .2s;
}

.webyoyaku_btn a i {
  margin-right: 10px;
}

.webyoyaku_btn a:hover {
  background: #fff;
  color: var(--main-color);
}

.webyoyaku_btn a::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}

.webyoyaku_btn a:hover::before {
  background: var(--main-color);
  transform: translate(5px, -50%);
}

.webyoyaku_btn a::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 30px;
  height: 1px;
  background: #fff;
  transition: 0.2s;
}

.webyoyaku_btn a:hover::after {
  width: 35px;
  background: var(--main-color);
}

.webyoyaku_btn.youtube a {
  background: rgb(255 25 4 / .9);
  border: 1px solid rgb(255 25 4 / .9);
}

.webyoyaku_btn.youtube a:hover {
  background: #fff;
  color: rgb(255 25 4 / .9);
}

.webyoyaku_btn.youtube a:hover::before {
  background: rgb(255 25 4 / .9);
  transform: translate(5px, -50%);
}

.webyoyaku_btn.youtube a:hover::after {
  width: 35px;
  background: rgb(255 25 4 / .9);
}


.webyoyaku_btn.line a {
  background: rgb(6 199 85 / .9);
  border: 1px solid rgb(6 199 85 / .9);
}

.webyoyaku_btn.line a:hover {
  background: #fff;
  color: rgb(6 199 85 / .9);
}

.webyoyaku_btn.line a:hover::before {
  background: rgb(6 199 85 / .9);
  transform: translate(5px, -50%);
}

.webyoyaku_btn.line a:hover::after {
  width: 35px;
  background: rgb(6 199 85 / .9);
}

.webyoyaku_btn.instagram a {
  background: linear-gradient(135deg, rgb(131 58 180 / .9), rgb(253 29 29 / .9), rgb(252 176 69 / .9));
  border: 1px solid rgb(253 29 29 / .9);
}

.webyoyaku_btn.instagram a:hover {
  background: #fff;
  color: rgb(253 29 29 / .9);
}

.webyoyaku_btn.instagram a:hover::before {
  background: rgb(253 29 29 / .9);
  transform: translate(5px, -50%);
}

.webyoyaku_btn.instagram a:hover::after {
  width: 35px;
  background: rgb(253 29 29 / .9);
}


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

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

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

.color_sub {
  color: var(--sub-color);
}