@charset "UTF-8";

/* ------
  - *基本設定
  - *パンくずリスト
  - *ページ内リンク
  - *ページャー
  - *書式設定
  - *メインビジュアル
  - *タイトル
  - *おすすめ
  - *お悩みリスト
  - *院長の想い
  - *当院の特徴
  - *追加費用
  - *当院が選ばれる理由
  - *料金表（タブ）
  - *施術の流れ
  - *注意点・副作用・リスク
  - *よくある質問
  - *WEB予約ボタン
------ */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
header {
    position: relative;
}
main section {
    margin-bottom: 110px;
}

/* リッチ下層のコンテンツ幅 */
.mv_contents .inner, main section .inner, .breadcrumb .inner, .page_links .inner {
    max-width: 1100px;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
    .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: 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;
}

/* 段落余白 */
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;
}

/* ==================================================================================================================================

  *メインビジュアル

================================================================================================================================== */
/* ----- #mainvisual ----- */
#mainvisual {
    position: relative;
    z-index: 1;
    height: 800px;
    margin: 0 0 0 auto;
    overflow: hidden;
    background-color: #e2e1dd;
}

/* ---------- 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: 2;
    width: 100%;
    height: 100%;
}
.mv_contents .inner {
    position: relative;
    z-index: 1;
    height: 100%;
}
.mv_contents .catch {
    position: absolute;
    top: 45%;
    left: 0;
    z-index: 2;
    color: #ffffff;
    font-size: 220%;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.4));
    transform: translateY(-50%);
}

/* ----- テキストバナーエリア ----- */
.mv_contents .bnr_wrap {
    position: absolute;
    right: 0;
    bottom: 50px;
}
.bnr_wrap {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
}
.bnr_wrap .bnr {
    display: block;
    width: 170px;
    height: 170px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 14px;
    text-align: center;
}
.bnr_wrap .bnr p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}
.mv_contents .bnr_facility {
    position: absolute;
    bottom: 50px;
    left: 0;
}

/* ----- 設備バナーエリア ----- */
.mv_contents .bnr_facility {
    margin-top: 40px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.3);
}
.facility_inner {
    display: flex;
    gap: 25px;
    width: fit-content;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
}
.bnr_facility .facility_text {
    padding: 10px 0 10px 10px;
}
.bnr_facility .facility_text .title {
    margin: 0 auto 15px;
    padding: 5px 10px;
    background: linear-gradient(to right, var(--main-color), var(--sub-color));
    color: #ffffff;
    text-align: center;
}
.bnr_facility .facility_text .price {
    margin-top: 10px;
}
.bnr_facility .facility_text .price span {
    font-size: 85%;
}
.bnr_facility .facility_img {
    max-width: 160px;
    height: auto;
    margin-top: -50px;
}

/* ----- MVのSP用は非表示に ----- */
.mv_under {
    display: none;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  #mainvisual {
    position: relative;
    width: 100%;
    height: 700px;
  }

  .mv_contents {
    padding: 0 20px;
  }

  .mv_contents .catch {
    top: 40%;
    font-size: 170%;
  }

  .mv_contents .inner {
    margin: 0 auto;
    padding: 0;
  }

  /* テキストバナーエリア */
  .mv_contents .bnr_wrap {
    bottom: 30px;
  }

  .bnr_wrap {
    justify-content: center;
    gap: 5px;
  }

  .bnr_wrap .bnr {
    width: 130px;
    height: 130px;
  }

  /* 設備紹介バナー */
  .bnr_facility .facility_inner {
    justify-content: center;
    width: 100%;
    margin: 0 auto 30px;
  }

  .bnr_facility .facility_text {
    width: 70%;
    padding: 0;
  }

  .bnr_facility .facility_img {
    width: 30%;
    margin: 0;
  }

  /* ----- MVから非表示にするコンテンツを指定 ----- */
  .mv_contents .bnr_facility {
    display: none;
  }

  /* ----- MV内のコンテンツをMV下に表示 ----- */
  .mv_under {
    display: block;
  }

  .mv_under .bnr_wrap {
    display: none;
  }
}

/* ==================================================================================================================================

  *タイトル

================================================================================================================================== */
h2.coming_title {
  margin-bottom: 25px;
  padding: 10px 15px 7px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 140%;
}

h2, h3, h4, h5, h6 {
  position: relative;
  z-index: 1;
  line-height: 1.75;
}

h2.special_title {
  margin: 0 0 50px;
  font-size: 190%;
  text-align: center;
}

h2.special_title::before {
  content: attr(eng);
  display: block;
  margin: 0 auto 5px;
  color: var(--main-color);
  font-size: 70%;
}

h2.special_title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 15px auto 0;
  background: var(--line-color);
}

.tit01 {
  margin: 0 0 15px;
  color: var(--sub-color);
  font-size: 150%;
}

.tit02 {
  margin: 0 0 15px;
  padding: 10px;
  background: #ffffff;
  font-size: 120%;
  text-align: center;
}

/* ==================================================================================================================================

  *おすすめ

================================================================================================================================== */
.recommend_list {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.recommend_item {
  position: relative;
  z-index: 1;
  width: calc(50% - 10px);
}

.recommend_item .popular {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: var(--sub-color);
  border: 50%;
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.recommend_item .title {
  padding: 15px 30px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 140%;
  text-align: center;
}

.recommend_item .popular_title {
  padding: 15px 60px;
}

.recommend_item .title .white {
  position: relative;
  top: -2px;
  display: inline-block;
  margin-right: 15px;
  padding: 2px 15px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color);
  font-size: 14px;
}

.recommend_item .title .small {
  font-size: 75%;
}

.recommend_text {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line-color);
  border-style: none solid solid solid;
  font-size: 150%;
}

.recommend_text .price .num {
  display: inline-block;
  margin-right: 15px;
  font-size: 80%;
}

/* ==============================================
  *SP おすすめ
============================================== */
@media screen and (max-width: 640px) {
  .recommend_list {
    flex-flow: column;
  }

  .recommend_item {
    width: 100%;
  }

  .recommend_item .popular_title {
    padding: 15px 50px;
  }

  .recommend_text {
    padding: 20px;
  }
}

/* ==================================================================================================================================

  *お悩みリスト

================================================================================================================================== */
.worries_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 20px 45px;
  padding: 40px 20px;
  background: var(--bg-color);
}

.worries_list li {
  position: relative;
  z-index: 1;
  padding: 0 0 0 40px;
  font-size: 130%;
}

.worries_list li::before {
  content: "\f14a";
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
  font-size: 100%;
}

/* ==============================================
  *SP お悩みリスト
============================================== */
@media screen and (max-width: 640px) {
  .worries_list {
    justify-content: flex-start;
    padding: 25px 30px;
  }

  .worries_list li {
    padding: 0 0 0 35px;
  }
}

/* ==================================================================================================================================

  *院長の想い

================================================================================================================================== */
/* ==================================================================================================================================

  *当院の特徴

================================================================================================================================== */
.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%;
}

/* ==============================================
  *SP 当院の特徴
============================================== */
@media screen and (max-width: 640px) {
  .feature_list {
    flex-flow: column;
    gap: 40px;
  }
}

/* ==================================================================================================================================

  *追加費用

================================================================================================================================== */
.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;
  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;
  }
}

/* ==================================================================================================================================

  *料金表（タブ）

================================================================================================================================== */
.price_table tr:first-child th {
  background: var(--main-color);
  color: #ffffff;
}

.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%;
}

/* ==============================================
  *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;
  }
}

/* ==================================================================================================================================

  *よくある質問

================================================================================================================================== */
/* ==================================================================================================================================

  *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;
  }
}
