@charset "UTF-8";

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

:root {
  --font-jp: "Noto Serif JP", serif;
}

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

  *基本設定

================================================================================================================================== */
main section {
    font-size: 16px;
	padding-block: 100px;
	overflow: hidden;
}

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

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
    main section {
        font-size: 14px;
        padding-block: 60px;
    }
    .inner {
        width: 100%;
        margin: auto;
        padding: 0 5%;
    }
}

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

  *パンくずリスト

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


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

  *ページ内リンク

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

/* ----- text ----- */
.text {
    position: relative;
    margin-bottom: 50px;
}
.text > p {
    margin-bottom: 1em;
}
.text > p:last-of-type {
    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;
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----- #mainvisual ----- */
#mainvisual {
    position: relative;
    z-index: 1;
    /*     height: 800px; */
/*     height: 900px; */
	height: 100vh;
    margin: 0 0 0 auto;
    overflow: hidden;
    background-color: #e2e1dd;
}

#mainvisual::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    width: 100%;
    height: 5px;
    margin: auto;
    background: url(../images/gold_line.png) repeat-x left top;
    content: "";
}

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

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

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

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

.mv_catch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% - 200px), calc(-50% + 80px));
    background: rgba(255, 255, 255, 0.6);
/*     padding: 50px 10%; */
	padding-block: 50px;
	max-width: 780px;
	width: 100%;
    font-family: var(--font-jp);
    text-align: center;
}

.mv_catch .sub_catch {
    font-size: 32px;
    line-height: 1.5;
}

.mv_catch .main_catch {
    font-size: 74px;
    letter-spacing: -0.1em;
    line-height: 1;
    color: #333;
    filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
    letter-spacing: .05em;
    white-space: nowrap;
    margin-top: 30px;
}

.mv_catch .main_catch span {
    font-family: var(--font-en);
    display: block;
    font-size: 50%;
    color: var(--main-color);
    width: 100%;
    margin-top: 30px;
}

.mv_access {
    margin-top: 40px;
}

.mv_access_main {
    font-size: 28px;
    border-bottom: 1px solid var(--sub-color);
    width: fit-content;
    margin-inline: auto;
}

.mv_access_sub {
    font-size: 20px;
    line-height: 1.5;
    margin-top: 20px;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
    #mainvisual {
        position: relative;
        width: 100%;
/*         height: 500px; */
		height: calc(100vh - 151px);
/*         margin-top: 55px; */
    }

    #mainvisual::before {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 400px;
        background-image: linear-gradient(180deg, rgb(127, 93, 40) 0%, rgb(203, 173, 120) 100%);
        clip-path: polygon(0 0, 100% 50px, 100% 100%, 0% 100%);
    }

    .mv_contents {
        padding: 0 10px;
    }

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

    .mv_contents {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 4;
        width: 100%;
        height: 100%;
    }

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

    .mv_catch {
        max-width: 100%;
        transform: translate(-50%, -50%);
		padding-block: 30px;
    }

    .mv_catch .sub_catch {
        font-size: clamp(18px, 4vw, 24px);
    }

    .mv_catch .main_catch {
        font-size: clamp(20px, 10vw, 48px);
		margin-top: 20px;

    }

    .mv_catch .main_catch span {
        font-size: clamp(20px, 5vw, 32px);
		margin-top: 20px;

    }

	.mv_access_main {
		margin-top: 30px;
	}

    .mv_access_main {
        font-size: clamp(18px, 5vw, 32px);

    }

    .mv_access_sub {
        font-size: clamp(16px, 4vw, 28px);

    }
}

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

  *タイトル

================================================================================================================================== */
.under_lp_tit {
    margin-bottom: 46px;
    padding: 30px 0 0;
    text-align: center;
    background: url("../images/under_lp/underlp_tit_lodo.png") no-repeat center top/94px auto;
}
.under_lp_tit h2 {
    font-family: var(--font-jp);
    font-weight: 500;
    font-size: 32px;
    line-height: 1.4;
    letter-spacing: 0.15em;
    color: #54391c;
	margin-top: 10px;
}
.under_lp_tit h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    margin: 15px auto 0px;
    background: var(--sub-color);
    bottom: 0;
}
.under_lp_tit .en {
    margin-top: 10px;
    font-family: var(--font-en);
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.15em;
    color: #b89668;
}
h3.under_lp_tit02 {
    position: relative;
    margin-bottom: 28px;
    padding: 9px 15px 9px 24px;
    font-family: var(--font-jp);
    font-weight: 500;
    font-size: 23px;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #54391c;
    background-color: #f5f2ef;
}
h3.under_lp_tit02::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 8px;
    background-color: #d0bb9e;
    content: "";
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
    .under_lp_tit {
        margin-bottom: 30px;
        padding: 20px 0 0;
        background-size: 60px auto;
    }
    .under_lp_tit h2 {
        font-size: 23px;
        line-height: 1.45;
        letter-spacing: 0.1em;
    }
    .under_lp_tit .en {
        margin-top: 5px;
        font-size: 14px;
    }
    h3.under_lp_tit02 {
        margin-bottom: 20px;
        padding: 10px 10px 10px 20px;
        font-size: 18px;
        line-height: 1.35;
        letter-spacing: 0.08em;
    }
}

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

  *予約ボタン

================================================================================================================================== */
.reserve_btn {
    margin-top: 50px;
    font-family: var(--font-jp);
    font-weight: 500;
    text-align: center;
}

.reserve_btn p {
    margin-bottom: 10px;
    font-size: 110%;
    color: #54391b;
}

.reserve_btn a {
    position: relative;
    display: inline-block;
    padding: 20px 130px;
    font-size: 125%;
    line-height: 1.5;
    color: #fff;
    background: linear-gradient(to right, #f2e6a7 0%, #c4b265 50%, #a88f3d 80%, #806624 100%);
    opacity: 1;
    transition: 0.2s ease-in-out;
}

.reserve_btn a::after {
    position: absolute;
    content: "";
    right: 50px;
    bottom: 28px;
    width: 55px;
    height: 8px;
    background: url(../images/special_under/arrow.png) no-repeat center / contain;
    transition: 0.2s ease-in-out;
}

.reserve_btn a:hover {
    opacity: 0.6;
}

.reserve_btn a:hover::after {
    right: 40px;
}

.reserve_btn a span {
    font-size: 120%;
}

/* ==============================================
  *SP 予約ボタン
============================================== */
@media screen and (max-width: 640px) {
    .reserve_btn {
        margin-top: 40px;
    }

    .reserve_btn p {
        margin-bottom: 6px;
        font-size: 100%;
    }

    .reserve_btn a {
        min-width: 80%;
        padding: 20px 40px 40px 40px;
        font-size: 120%;
    }
	
	.reserve_btn a::after {
		bottom: 22px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
}

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

  *おすすめ

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

.recommend_item {
    display: flex;
    flex-direction: column;
    width: calc((100% - 20px) / 2);
}

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

.recommend_text {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    background: #fff;
}

.recommend_text .price {
    margin-top: auto;
    text-align: center;
    font-size: 200%;
    font-family: var(--font-num);
    padding-top: 20px;
    position: relative;
}

.recommend_text .price::after {
    content: "";
    position: absolute;
    background: var(--line-color);
    width: 170px;
    height: 1px;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
}

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

    .recommend_item {
        width: 100%;
    }
}

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

  *お悩みリスト

================================================================================================================================== */
section#trouble{
    background: url("../images/special_under/worries_bg.jpg") no-repeat center top/cover;
	background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;
}

.worries_cont {
	background: rgba(255, 255, 255, 0.5);
	padding: 30px;
}
.worries_list {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 20px 45px;
    padding: 40px 20px;
	background: var(--bg-color);
/* 	border: 1px solid #54391c; */
}
.worries_list li {
    position: relative;
    z-index: 1;
    padding: 0 0 0 40px;
    font-size: 120%;
    line-height: 1.5;
}
.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%;
}
.worries_list + p {
    margin-top: 30px;
    font-size: 130%;
    text-align: center;
	font-family: var(--font-jp);
}

/* ==============================================
  *SP お悩みリスト
============================================== */
@media screen and (max-width: 640px) {
    section#worries {
        padding: 30px 0 60px;
    }

	.worries_cont {
		padding: 40px 20px;
	}

    .worries_list {
        justify-content: flex-start;
        gap: 12px 45px;
        padding: 20px 20px;
    }
    .worries_list li {
        font-size: 115%;
        padding: 0 0 0 25px;
    }
    .worries_list + p {
        margin-top: 20px;
        font-size: 110%;
        text-align: left;
        line-height: 1.7;
    }
}

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

  *当院の特徴（パターン02）

==================================================================================================================================*/
#feature {
	background: #FCFBF8;
}

.feature_list {
    display: flex;
    flex-flow: wrap;
    gap: 100px 30px;
	margin-bottom: 100px;
}

.feature_item {
    display: flex;
    height: auto;
    width: 100%;
    margin-top: 50px;
}

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

.feature_img {
    width: 500px;
	height: fit-content;
    flex-shrink: 0;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.feature_inner {
    position: relative;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: fit-content;
    margin-left: -50px;
	margin-top: 20px;
    flex: 1;
    z-index: 2;
	background: url(../images/special_under/feature_bg.jpg) no-repeat center / cover;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 40px 46px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
/*     transform: translateY(30px); */
}

.feature_item:nth-child(odd) .feature_inner {
    margin: 0 -50px 0 0;
}

.feature_num {
    position: absolute;
    right: -40px;
    top: -60px;
    font-family: var(--font-num);
    font-weight: 400;
    font-size: 210px;
    line-height: 1;
    letter-spacing: 0;
    color: #b89668;
    opacity: 0.15;
}

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

.feature_num span {
    color: var(--main-color);
    font-size: 130%;
}


.feature_title {
    padding: 0.8rem 0;
    margin-bottom: 30px;
    background-image: linear-gradient(90deg, #D0BF77 0 50px, transparent 50px 60px, #AA9243 0 60px);
    background-repeat: no-repeat;
    background-size: 100% 1px;
    background-position: bottom;
    color: #353535;
    font-family: var(--font-jp);
    font-weight: 500;
    font-size: 24px;
}

.feature_item .btn01 {
    margin-top: auto;
    text-align: center;
}

.feature_item .btn01>* {
    padding: 10px 40px 10px 30px;
    font-size: 95%;
}

.btnflex_feature {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    gap: 5px;
    margin-top: auto;
}

/* ボタン横並び */
.btnflex_feature .btn01 {
    width: calc(50% - 2.5px);
}

.btnflex_feature .btn01>* {
    width: 100%;
}

@media screen and (max-width: 640px) {
    .feature {
        padding-bottom: 0;
    }

    .feature_list {
        gap: 30px;
		margin-bottom: 60px;
    }

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

    .feature_item:nth-child(odd) {
        flex-flow: column;
    }

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

    .feature_inner {
        width: 100%;
        min-height: auto;
        padding: 20px 5%;
        margin: 0;
    }

    .feature_title {
        margin-bottom: 14px;
/*         padding: 10px 14px; */
        font-size: 18px;
        letter-spacing: 0.08em;
    }

    .feature_item .btn01 {
        text-align: center;
    }

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

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

    .feature_item .feature_num {
        font-size: 170px;
		top: -20px;
		left: -20px;
		right: auto;
    }

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

    /* 横並び */
    .btnflex_feature .btn01 {
        width: 100%;
    }
}

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

  *院長の想い

================================================================================================================================== */
.doctor_box {
	position: relative;
}
.doctor_box::before {
    content: "";
    position: absolute;
    top: -115px;
    right: -110px;
    display: block;
    width: calc(52% - 270px);
    height: 410px;
    background: url(../images/special_under/logo_icon.svg) no-repeat top right;
    opacity: 0.15;
    z-index: -1;
}
.doctor_flex {
    display: flex;
    justify-content: center;
    gap: 60px;
}
.doctor_text {
    width: 100%;
    letter-spacing: 0.07em;
}
.doctor_name {
    margin-top: 60px;
    font-family: var(--font-jp);
    font-weight: 400;
    font-style: normal;
    text-align: right;
    line-height: 1.7;
}
.doctor_name .position img {
	max-width: 280px;
}
.doctor_name .name {
    font-size: 140%;
	margin-top: 20px;
}
.doctor_name .name span {
    font-size: 80%;
}
.doctor_img {
    flex-shrink: 0;
    width: 350px;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .doctor_box::before {
        top: -160px;
        right: -60px;
        width: 85%;
        height: 490px;
}
    .doctor_flex {
        flex-flow: column;
        gap: 30px;
    }
    .doctor_img {
        order: -1;
        width: 80%;
        margin: 0 auto;
    }
    .doctor_text .text {
        margin-bottom: 0;
    }
    .doctor_name {
        margin-top: 40px;
    }
	.doctor_name .name span {
		margin-right: 0;
	}
}

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

  *比較表

================================================================================================================================== */
.tb_comp_wrap {
    max-width: 100%;
    width: 100%;
}
table.tb_comp th, table.tb_comp td {
    padding: 0;
    border: none;
    background: transparent;
}
.tb_comp {
    width: 100%;
    border-collapse: separate;
    font-weight: 500;
}
.tb_comp th {
	font-family: var(--font-jp);
	vertical-align: middle;
}
.tb_comp td {
	vertical-align: middle;
}
.tb_comp thead th figcaption {
    padding: 20px 0;
    font-size: 22px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-align: center;
    color: #fff;
}
.tb_comp thead th figcaption span {
    font-size: 70%;
}
.tb_comp thead th {
    font-weight: 500;
    border-bottom: solid 1px #9B794A !important;
}
.tb_comp thead th:nth-of-type(2) {
    border-right: 1px solid #fff;
}
.tb_comp thead th:nth-of-type(2) figcaption {
    background: linear-gradient(120deg, rgba(34, 58, 101) 0%, rgba(85, 112, 161) 100%);
}
.tb_comp thead th:nth-of-type(3) figcaption {
    background: linear-gradient(120deg, rgba(34, 58, 101) 0%, rgba(85, 112, 161) 100%);
}
.tb_comp tbody tr td:nth-of-type(1) {
    background: rgba(238, 234, 228, 0.4);
}
.tb_comp tbody th {
    text-align: center;
    width: 27.3%;
    vertical-align: middle;
    height: 100px;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.1em;
    border-bottom: solid 1px #9B794A;
}
.tb_comp tbody td {
    border-bottom: solid 1px #9B794A;
    padding-inline: 30px;
}
.tb_comp tbody td p {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.625;
    text-align: left;
}
.tb_comp tbody td .mark {
    display: inline-block;
    font-weight: bold;
    font-size: 200%;
    margin-right: 25px;
}
.tb_comp tbody td .mark.cir {
    color: #DB6A74;
}
.tb_comp tbody td .mark.tri {
    color: #44CF85;
}

/* ==============================================
  *SP 比較表
============================================== */
@media screen and (max-width: 640px) {
    .tb_comp_wrap {
        overflow-x: scroll;
    }
    .tb_comp {
        width: 170%;
    }
    .tb_comp thead th figcaption {
        font-size: 18px;
    }
    .tb_comp tbody th {
        min-height: 100px;
        font-size: 16px;
    }
    .tb_comp tbody td {
        padding: 10px;
    }
    .tb_comp tbody td p {
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
        font-size: 14px;
    }
    .tb_comp tbody td .mark {
        display: block;
        text-align: center;
        width: 100%;
        margin-right: 0;
    }
    .tb_comp tbody td .mark img {
        width: 28px;
    }
}

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

  *治療の流れ

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

#process::before {
    background: url(https://azabu-trinity.com/wp/wp-content/themes/hero-cms/images/bg_mitsukude.png) repeat center / cover;
    opacity: 0.6;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-size: 500px 346px;
    opacity: 0.12;
}


.flow {
    position: relative;
    z-index: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
}

.flow_box {
    flex-direction: column;
    align-items: center;
}

.flow_number {
    width: 100%;
}

.flow_number::before {
    border-right: none;
    width: 100%;
    height: 1px;
    background: var(--sub-color);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

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

.flow_number * {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 180%;
    margin-inline: auto;
}

.flow_title {
    font-family: var(--font-jp);
    background: none;
    padding: 0;
    font-size: 140%;
}

/* ==============================================
  *SP 治療の流れ
============================================== */
@media screen and (max-width: 640px) {
    .flow {
        padding: 0;
    }

    .flow_inner {
        width: 100%;
    }

    .flow_number span {
        width: 60px;
        height: 60px;
    }

	.flow_title {
		margin-top: 1em;
	}
}

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

  *お支払い

================================================================================================================================== */
.payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin-inline: auto;
}

.payment li {
    box-sizing: border-box;
    width: calc(25% - 40px * 3 / 4);
    border-radius: 50%;
    aspect-ratio: 1;
    padding: 14px 20px;
    font-size: 110%;
    font-family: var(--font-jp);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url(../images/special_under/feature_bg.jpg) no-repeat center / cover;
}

.payment figure img {
    width: 100px;
    height: 100px;
}

.payment_wrap .note {
    margin-top: 30px;
    text-align: center;
    font-size: 105%;
}

/* ==============================================
  *SP お支払い
============================================== */
@media screen and (max-width: 640px) {
    .payment {
        flex-wrap: wrap;
        gap: 10px;
    }

    .payment li {
        max-width: 180px;
        width: calc(50% - 10px * 1 / 2);
        padding: 10px 15px;
    }

    .payment_wrap .note {
        margin-top: 20px;
        line-height: 1.6;
    }

    .payment figure img {
        width: 60px;
        height: 60px;
    }
}


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

  *追加費用

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

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

  *症例

================================================================================================================================== */
#case {
	background: #FCFBF8;
	display: none;
}

.case_list {
    display: flex;
    justify-content: space-between;
    gap: 60px 20px;
    flex-wrap: wrap;
}

.case_item {
    width: calc(33.3333% - 20px * 2 / 3);
}

.case_img {
    display: flex;
    gap: 10px;
    position: relative;
}

.case_img:before {
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 20px solid #555555;
    border-right: 0;
}

.case_img li {
    width: calc(50% - 10px * 1 / 2);
}

.case_img li p {
    color: #fff;
    text-align: center;
    font-family: var(--font-en);
}

.case_img li:nth-child(1) p {
    background: var(--main-color);
}

.case_img li:nth-child(2) p {
    background: var(--sub-color);
}

.case_desc {
    background-color: #fff;
    margin-top: 20px;
    padding: 20px;
    clip-path: polygon(0 0, 92% 0, 100% 10%, 100% 100%, 8% 100%, 0 90%);
    position: relative;
    background-color: var(--main-color);
}

.case_desc::after {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: calc(100% - 2px);
    width: calc(100% - 2px);
    clip-path: polygon(0 0, 92% 0, 100% 10%, 100% 100%, 8% 100%, 0 90%);
    z-index: -1;
    background: #fff;
}

.case_desc_item {
    display: flex;
    padding-block: 10px;
}

.case_desc_item:not(:last-child) {
    border-bottom: 1px dotted var(--line-color);
}

.case_desc_item dt {
    width: 30%;
    font-weight: 500;
}

.case_desc_item dd {
    width: 70%;
}

@media screen and (max-width: 640px) {
    .case_item {
        width: 100%;
    }

    .case_img {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .case_img:before {
        border-right: 30px solid transparent;
        border-left: 30px solid transparent;
        border-top: 20px solid #555555;
        border-bottom: 0;
    }

    .case_img li {
        width: 100%;
        max-width: 350px;
    }
}

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

  *当院が選ばれる理由

================================================================================================================================== */
.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: var(--main-color);
  color: #ffffff;
  font-size: 120%;
  text-align: center;
}

.reason_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.3;
}

.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_text {
    width: 100%;
    padding: 20px;
  }
}

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

  *料金表（タブ）

================================================================================================================================== */
section#price{
    background: url("../images/special_under/price_bg.jpg") no-repeat center top/cover;
	background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;
}

.price_table tr:first-child th {
  background: var(--main-color);
  color: #ffffff;
  font-family: var(--font-jp);
  font-weight: 500;
}

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

.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_text {
  margin-top: 20px;
}

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

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

  *施術の流れ

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

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

================================================================================================================================== */
.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 {
    background: url("../images/special_under/faq_bg.jpg") no-repeat center top/cover;
}

.accordion.faq dl dt>div {
    font-family: var(--font-jp);
	border: 1px solid var(--main-color);
}

.accordion.faq dl dd>div {
    background: #fff;
}

.accordion.faq dl dt>div::before,
.accordion.faq dl dd>div:before {
    font-family: var(--font-en);
}
/* ==================================================================================================================================

  *WEB予約ボタン

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

.webyoyaku p {
  margin-bottom: 10px;
  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-size: 120%;
  text-align: center;
  transition: filter 0.2s, opacity 0.2s;
}

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

.webyoyaku_btn a::after {
  content: "";
  position: absolute;
  top: 48%;
  right: 35px;
  z-index: 2;
  display: block;
  width: 32px;
  height: 7px;
  background: #ffffff;
  -webkit-mask: url(../images/btn_arrow.svg) no-repeat center/cover;
  mask: url(../images/btn_arrow.svg) no-repeat center/cover;
  transform: translateY(-50%);
  transition: right 0.2s;
}

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

@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 50px;
    font-size: 110%;
  }

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

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