@charset "UTF-8";
/* ---------------------
  - *共通設定
  - *メインビジュアル
  - *こんな症状ありませんか？
  - *スマホのみのエリア
  - *お知らせ
  - *医院概要
  - *ご挨拶
  - *当院の特徴
  - *診療案内
--------------------- */
/*==================================================================================================================================

  *共通設定

==================================================================================================================================*/
/*----------inner----------*/
.home_inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 640px) {
  .home_inner {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/*----------タイトル----------*/
.home_tit {
  line-height: 1.6;
  text-align: center;
  padding-top: 54px;
  background: url(../images/home/tit_dec.png) center top/134px auto no-repeat;
  margin-bottom: 30px;
}
.home_tit.home_tit-pattern2 {
  background-image: url(../images/home/tit_dec2.png);
  background-size: 140px auto;
  padding-top: 60px;
}
.home_tit_en {
  color: #8bb6d7;
  font-family: var(--font-en);
  font-weight: var(--font-en-weight);
  font-size: 24px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.home_tit h2 {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: 32px;
  letter-spacing: 0.12em;
}

@media screen and (max-width: 640px) {
  .home_tit {
    line-height: 1.6;
    text-align: center;
    padding-top: 54px;
    background: url(../images/home/tit_dec.png) center top/134px auto no-repeat;
    margin-bottom: 30px;
  }
  .home_tit_en {
    font-size: clamp(16px, 5.3vw, 24px);
  }
  .home_tit h2 {
    font-size: clamp(20px, 6.4vw, 32px);
  }
}

/*----------ボタン----------*/
main .btn01 a {
  margin: 0;
}

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

  *メインビジュアル

==================================================================================================================================*/
.home_mv {
  position: relative;
}

.home_mv_main {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: 0 auto;
  width: 1200px;
}

/*　スライダー */
.home_mv_slide,
.home_mv_slide .slick-slide img {
  height: 865px;
}

.home_mv_slide {
  overflow: hidden;
}
.home_mv_slide::after {
  display: block;
  content: "";
  width: 100%;
  height: 224px;
  background: url(../images/home/wave.png) center top/auto 100% no-repeat;
  position: absolute;
  left: 0;
  bottom: 0;
}

.home_mv_slide .slick-slide img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/*　キャッチコピー　*/
.home_mv_catch {
  position: absolute;
  left: 0;
  top: 218px;
  width: 100%;
}

.home_mv_catch_text {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: 34px;
  letter-spacing: 0.12em;
  line-height: 2.5;
  text-shadow: #fff 3px 0px, #fff -3px 0px, #fff 0px -3px, #fff 0px 3px, #fff 3px 3px, #fff -3px 3px, #fff 3px -3px, #fff -3px -3px, #fff 2px 3px, #fff -2px 3px, #fff 2px -3px, #fff -2px -3px, #fff 3px 2px, #fff -3px 2px, #fff 3px -2px, #fff -3px -2px;
}
.home_mv_catch_text_fsS {
  display: block;
  font-size: 82%;
}
.home_mv_catch_text_strong {
  color: #fff;
  text-shadow: none;
  background: url(../images/home/mv_catch_strong_bg.png) center/auto 100% no-repeat;
  padding: 13px 0;
}
.home_mv_catch_text_strong2 {
  color: #fff;
  background: #ffc852;
  text-shadow: none;
  border-radius: 30px;
  padding: 5px 20px;
  margin-inline: 4px;
}

/*　RIBONバナー　*/
.home_mv .mv_ribon {
  position: absolute;
  bottom: 150px;
  right: 0;
}

/*　バナー　*/
.home_mv .mv_banner {
  position: absolute;
  bottom: 30px;
  right: 0;
}

.home_mv .mv_banner:not(.mv_banner-btn) {
  width: 550px;
  height: 110px;
}

.home_mv .mv_banner:not(.mv_banner-btn) img {
  max-height: 100%;
  width: auto;
}

.home_mv .mv_banner:not(.mv_banner-btn) a:hover {
  opacity: 0.8;
}

.mv_banner .btn01 a {
  font-size: 120%;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 640px) {
  .home_mv {
    margin-bottom: 10px;
  }
  .home_mv_main {
    width: 100%;
  }

  /*　スライダー */
  .home_mv_slide,
.home_mv_slide .slick-slide img {
    height: 400px;
  }
  .home_mv_slide::after {
    height: auto;
    aspect-ratio: 1920/224;
  }

  /* キャッチフレーズ */
  .home_mv_catch {
    top: auto;
    bottom: 20px;
    padding-inline: 5%;
  }
  .home_mv_catch_text {
    font-size: clamp(16px, 4.5vw, 17px);
    text-shadow: #fff 2px 0px, #fff -2px 0px, #fff 0px -2px, #fff 0px 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px;
  }
  .home_mv_catch_text_strong {
    padding: 0.4em 0;
  }
  .home_mv_catch_text_strong2 {
    padding: 3px 10px;
  }
}

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

  main

==================================================================================================================================*/
main {
  position: relative;
  background: url(../images/home/main_bg_l.png) left top 14px no-repeat, url(../images/home/main_bg_r.png) right top 170px no-repeat;
  margin-top: -260px;
}

@media screen and (max-width: 640px) {
  main {
    background-size: 30% auto, 40% auto;
    background-position: left top -50px, right top 20px;
    margin-top: 0;
  }
}

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

  *こんな症状ありませんか？

==================================================================================================================================*/
.home_symptom_box {
  max-width: 675px;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  background: #fff;
  border-radius: 20px;
  padding: 1px 60px 35px;
  box-shadow: 0 0 30px 0 rgb(143 176 202 / 0.5);
}
.home_symptom_tit {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  font-size: 32px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  background: #f6a6b7;
  padding: 15px 50px;
  border-radius: 40px;
  margin: -55px auto 50px;
  position: relative;
}
.home_symptom_tit::before {
  display: block;
  content: "";
  width: 52px;
  aspect-ratio: 52/44;
  background: url(../images/home/mv_symptom_tit_dec.png) left top/100% auto no-repeat;
  position: absolute;
  right: 74px;
  bottom: -33px;
}
.home_symptom_list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  font-size: 120%;
  line-height: 1.7;
}
.home_symptom_list li {
  padding-left: 40px;
  background: url(../images/home/mv_symptom_check.png) left top/auto 30px no-repeat;
}
.home_symptom_btn {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 20px auto 0;
}
.home_symptom_btn a {
  display: block;
  color: #fff;
  font-size: 133%;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  background: url(../images/btn_arrow.png) #8acce7 left 45px center/28px auto no-repeat;
  padding: 26px 60px 26px 96px;
  border-radius: 40px;
}
@media (hover: hover) {
  .home_symptom_btn a {
    transition: background-color 0.3s ease-out;
  }
  .home_symptom_btn a:hover {
    background-color: var(--sub-color);
  }
}

@media print, screen and (min-width: 641px) {
  .home_symptom_btn {
    min-width: 360px;
  }
}

@media screen and (max-width: 640px) {
  .home_symptom {
    padding-top: 25px;
    margin-top: 30px;
  }
  .home_symptom_box {
    padding: 1px 6% 25px;
  }
  .home_symptom_tit {
    font-size: clamp(14px, 4.8vw, 18px);
    padding: 15px 20px;
    margin: -25px auto 30px;
  }
  .home_symptom_tit::before {
    width: 26px;
    right: 20px;
    bottom: -16px;
  }
  .home_symptom_list {
    gap: 15px 20px;
    font-size: 100%;
  }
  .home_symptom_list li {
    padding-left: 2em;
    background-size: auto 1.7em;
  }
  .home_symptom_btn a {
    font-size: clamp(14px, 4.8vw, 18px);
    background-position: left 20px center;
    padding: 15px 20px 15px 58px;
  }
}

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

  *スマホのみのエリア

==================================================================================================================================*/
@media screen and (max-width: 640px) {
  .top_sp_only {
    padding: 20px 5% 0;
  }
  .top_sp_only .mv_banner,
.top_sp_only .mv_ribon {
    text-align: center;
  }
}

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

  *お知らせ

==================================================================================================================================*/
.top_news {
  margin-top: 60px;
  margin-bottom: 55px;
}

.top_news .btn01 {
  text-align: center;
  margin-top: 60px;
}

.top_news .top_news_list {
  line-height: 1.4;
}

.top_news .top_news_list li {
  display: flex;
  align-items: center;
  gap: 10px 22px;
  padding-left: 25px;
  padding-right: 25px;
}

.top_news .top_news_list li:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid #d5e3ef;
  margin-bottom: 20px;
}

.top_news .top_news_list li > em {
  text-align: center;
  padding: 7px 12px;
  font-style: normal;
}

.top_news .top_news_list li a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text-color);
}

.top_news .top_news_list li a:hover {
  color: var(--main-color);
}

@media print, screen and (min-width: 641px) {
  .top_news .home_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .top_news .home_tit {
    margin-bottom: 0;
  }
  .top_news .top_news_list {
    width: 900px;
    font-size: 17px;
  }
  .top_news .top_news_list li > span,
.top_news .top_news_list li > em {
    flex-shrink: 0;
  }
}

@media screen and (max-width: 640px) {
  .top_news {
    margin-bottom: 20px;
  }
  .top_news .btn01 {
    margin-top: 30px;
  }
  .top_news .top_news_list li {
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
  }
}

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

  *医院概要

==================================================================================================================================*/
.top_info {
  padding-top: 115px;
  padding-bottom: 280px;
  background: url(../images/home/info_bg_t_l.png) left top no-repeat, url(../images/home/info_bg_b_r.png) right bottom no-repeat;
  position: relative;
}

.top_info .home_inner {
  display: flex;
  justify-content: space-between;
}

.top_info_left,
.top_info_right {
  width: 570px;
}

/* 左側 */
.top_info_add {
  font-size: 113%;
  line-height: 1.75;
  text-align: center;
  margin-bottom: 25px;
}

.top_info_add span {
  display: block;
}

.top_info_tel {
  line-height: 1;
  text-align: center;
}

.top_info_tel a,
.top_info_tel a:hover {
  color: #7dbd70;
}

.top_info_tel a {
  font-family: var(--font-en);
  font-weight: var(--font-en-weight);
  font-size: 34px;
  letter-spacing: 0.12em;
}

.top_info_tel a::before {
  content: "Tel.";
  font-size: 65%;
}

.top_info_schedule {
  margin-top: 45px;
}

.top_info_schedule .hours:not(:last-child) {
  margin-bottom: 45px;
}

/* 右側 */
.top_access_tit {
  max-width: 164px;
  margin: 0 auto 40px;
}

.top_access_map {
  text-align: center;
  position: relative;
  border: 1px solid #d5e3ef;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.top_access_map iframe {
  width: 100%;
  height: 400px;
}

.top_access_guide {
  margin-top: 20px;
  border: 1px solid #d5e3ef;
  background: #fff;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.8;
  padding: 45px 25px;
}

.top_access_guide li {
  padding-left: 40px;
  position: relative;
}

.top_access_guide li:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 2px dashed #c7d7e3;
  margin-bottom: 16px;
}

.top_access_guide li::before {
  display: block;
  content: "";
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8fb0ca;
  position: absolute;
  left: 12px;
  top: calc((1.8em - 6px) / 2);
}

.top_access > .btn01 {
  text-align: center;
  margin-top: 30px;
}

.top_access > .btn01 a {
  margin: 0;
}

@media screen and (max-width: 640px) {
  .top_info {
    padding-top: 60px;
    padding-bottom: 100px;
    background-size: 44% auto;
  }
  .top_info .home_inner {
    display: block;
  }
  .top_info_left,
.top_info_right {
    width: 100%;
  }
  .top_info_left {
    margin-bottom: 45px;
  }
  .top_info_add {
    margin-bottom: 30px;
  }
  .top_info_tel a {
    font-size: clamp(24px, 9vw, 34px);
  }
  .top_access_tit {
    margin-bottom: 25px;
  }
  .top_access_guide {
    font-size: 100%;
    padding: 20px 6%;
  }
  .top_access_guide li {
    padding-left: 22px;
  }
  .top_access_guide li:not(:last-child) {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .top_access_guide li::before {
    left: 8px;
  }
}

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

  *ご挨拶

==================================================================================================================================*/
.top_about {
  background: url(../images/home/about_bg_t_l.png) left top 5px no-repeat, url(../images/home/about_wave.png) center top no-repeat, linear-gradient(180deg, transparent 0%, transparent 130px, #fff7e1 130px, #fff7e1 100%);
  padding-top: 145px;
  padding-bottom: 365px;
  margin-top: -165px;
}

.top_about .home_inner {
  position: relative;
  z-index: 1;
}

.top_about_img {
  max-width: 460px;
  margin-left: auto;
}

.top_about_img img {
  border-radius: 20px;
}

.top_about_imgSub {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 40px;
}
.top_about_imgSub::before, .top_about_imgSub::after {
  display: block;
  content: "";
  background-size: 100% auto;
  background-repeat: no-repeat;
  border-radius: 20px;
  aspect-ratio: 1;
}
.top_about_imgSub::before {
  width: 250px;
  background-image: url(../images/home/about_img2.jpg);
}
.top_about_imgSub::after {
  width: 220px;
  background-image: url(../images/home/about_img3.jpg);
  margin-top: 112px;
}

.top_about_flex_text h3 {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: 27px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  padding-bottom: 26px;
  background: url(../images/home/about_catch_dec.png) left bottom/auto 12px no-repeat;
  margin-bottom: 45px;
}

.top_about_flex_text p:not(:last-child) {
  margin-bottom: 2em;
}

.top_about_btn {
  margin-top: 70px;
}
.top_about_btn a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0 20px;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  background-color: #8acce7;
  border-radius: 44px;
  padding: 10px 15px;
}
.top_about_btn > *:nth-child(even) a {
  background-color: #b6d489;
}
.top_about_btn img {
  width: 70px;
  background-color: #fdc65c;
  border-radius: 50%;
}
.top_about_btn a > span {
  text-align: center;
}
.top_about_btn a > span span {
  display: block;
  color: var(--text-color);
  font-size: 80%;
  padding: 2px 10px;
  background: #fff;
  border-radius: 15px;
  text-align: center;
}
@media (hover: hover) {
  .top_about_btn a,
.top_about_btn a img {
    transition: background-color 0.3s ease-out;
  }
  .top_about_btn a:hover {
    background-color: #fdc65c !important;
  }
  .top_about_btn a:hover img {
    background-color: #8acce7;
  }
}

@media print, screen and (min-width: 641px) {
  .top_about {
    max-width: 1920px;
    margin-inline: auto;
  }
  .top_about .home_tit {
    margin-bottom: 95px;
  }
  .top_about_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 0 75px;
  }
  .top_about_flex_img {
    width: 496px;
  }
  .top_about_flex_text {
    flex: 1;
    font-size: 17px;
    line-height: 2.4;
  }
  .top_about_flex_text h3 {
    padding-left: 20px;
  }
  .top_about_btn {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }
  .top_about_btn > * {
    width: 282px;
  }
  .top_about_btn > *:nth-child(even) {
    flex: 1;
  }
}

@media screen and (max-width: 640px) {
  .top_about {
    background: url(../images/home/about_bg_t_l.png) left top 5px/42% auto no-repeat, url(../images/home/about_wave.png) left top/auto 66px no-repeat, linear-gradient(180deg, transparent 0%, transparent 64px, #fff7e1 64px, #fff7e1 100%);
    padding-top: 100px;
    padding-bottom: 120px;
    margin-top: -40px;
  }
  .top_about_flex_img {
    margin-bottom: 25px;
  }
  .top_about_img {
    padding-left: 20px;
  }
  .top_about_imgSub {
    margin-top: 20px;
  }
  .top_about_imgSub::before {
    width: 50%;
  }
  .top_about_imgSub::after {
    width: 44%;
    margin-top: 15%;
  }
  .top_about_flex_text h3 {
    font-size: clamp(16px, 5.3vw, 20px);
    margin-bottom: 30px;
  }
  .top_about_btn {
    max-width: 400px;
    margin: 40px auto 0;
  }
  .top_about_btn > *:not(:last-child) {
    margin-bottom: 10px;
  }
  .top_about_btn a {
    font-size: clamp(16px, 5.3vw, 20px);
  }
}

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

  *当院の特徴

==================================================================================================================================*/
.top_feature {
  background: url(../images/home/feature_bg_c_r.png) right bottom 1006px no-repeat, url(../images/home/feature_bg_c_l.png) left top 1860px no-repeat, url(../images/home/feature_bg_t_r.png) right top 854px no-repeat, url(../images/home/feature_bg_t_l.png) left top 272px no-repeat, url(../images/home/feature_wave.png) center top no-repeat, linear-gradient(180deg, transparent 0%, transparent 174px, #fff 174px, #fff 100%);
  padding-top: 180px;
  padding-bottom: 200px;
  margin-top: -248px;
  position: relative;
}
.top_feature::before {
  display: block;
  content: "";
  width: 626px;
  aspect-ratio: 626/668;
  background: url(../images/home/about_bg_b_r.png) left top/100% auto no-repeat;
  pointer-events: none;
  position: absolute;
  top: -420px;
  right: 0;
}
.top_feature .home_inner {
  position: relative;
  z-index: 1;
}

.top_feature .home_tit {
  margin-bottom: 110px;
}

.top_feature_item:not(:last-child) {
  margin-bottom: 100px;
}

.top_feature_img {
  position: relative;
}
.top_feature_img img, .top_feature_img::after {
  border-radius: 20px 20px 0 20px;
}
.top_feature_img::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  border: 1px solid #c6d9ea;
  pointer-events: none;
  position: absolute;
  left: 20px;
  top: -20px;
}

.top_feature_box {
  background: #ecf5fb;
}

.top_feature_num {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 110px;
  color: #a3a3a3;
  font-size: 20px;
  font-family: var(--font-en);
  font-weight: var(--font-en-weight);
  letter-spacing: 0.12em;
  line-height: 1;
  padding-left: 65px;
  padding-top: 36px;
  background: url(../images/home/feature_num_dec.png) left top/auto 100% no-repeat;
  margin: -54px -73px 18px auto;
}
.top_feature_num em {
  color: #9bcce0;
  font-size: 255%;
  letter-spacing: 0.12em;
  padding-left: 10px;
}

.top_feature_box h3 {
  font-size: 26px;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  letter-spacing: 0.12em;
  line-height: 1.4;
  padding-bottom: 26px;
  background: url(../images/home/feature_tit.png) left bottom/auto 10px no-repeat;
  margin-bottom: 40px;
}

.top_feature_box .btn01 {
  margin-top: 45px;
  margin-bottom: -55px;
}

.top_feature_item:nth-child(even) .top_feature_img::after {
  border-color: #bbe2df;
}
.top_feature_item:nth-child(even) .top_feature_box {
  background: #edf2e5;
}
.top_feature_item:nth-child(even) .top_feature_num {
  background-image: url(../images/home/feature_num_dec_green.png);
}
.top_feature_item:nth-child(even) .top_feature_num em {
  color: #b6d489;
}
.top_feature_item:nth-child(even) .top_feature_box h3 {
  background-image: url(../images/home/feature_tit_green.png);
}
.top_feature_item:nth-child(even) .top_feature_box .btn01 a {
  background-color: #b6d489;
}

@media print, screen and (min-width: 641px) {
  .top_feature {
    max-width: 1920px;
    margin-inline: auto;
  }
  .top_feature_item {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .top_feature_img {
    width: 490px;
  }
  .top_feature_box {
    width: 988px;
    padding: 0 73px 40px 355px;
    margin-top: 40px;
    margin-left: -278px;
  }
  .top_feature_text {
    font-size: 17px;
    line-height: 2.4;
  }
  .top_feature_list.reverse .top_feature_item:nth-child(even) {
    flex-direction: row-reverse;
  }
  .top_feature_list.reverse .top_feature_item:nth-child(even) .top_feature_img img, .top_feature_list.reverse .top_feature_item:nth-child(even) .top_feature_img::after {
    border-radius: 20px 20px 20px 0;
  }
  .top_feature_list.reverse .top_feature_item:nth-child(even) .top_feature_img::after {
    left: auto;
    right: 20px;
  }
  .top_feature_list.reverse .top_feature_item:nth-child(even) .top_feature_box {
    padding-right: 355px;
    padding-left: 73px;
    margin-top: 40px;
    margin-left: 0;
    margin-right: -278px;
  }
  .top_feature_list.reverse .top_feature_item:nth-child(even) .top_feature_num {
    margin-right: 0;
    margin-left: -50px;
  }
}

@media screen and (max-width: 640px) {
  .top_feature {
    background: url(../images/home/feature_bg_c_r.png) right center/40% auto no-repeat, url(../images/home/feature_bg_c_l.png) left center/40% auto no-repeat, url(../images/home/feature_bg_t_r.png) right top 200px/40% auto no-repeat, url(../images/home/feature_bg_t_l.png) left top 16%/60% auto no-repeat, url(../images/home/feature_wave.png) left top/auto 88px no-repeat, linear-gradient(180deg, transparent 0%, transparent 86px, #fff 86px, #fff 100%);
    padding-top: 100px;
    padding-bottom: 60px;
    margin-top: -88px;
    position: relative;
  }
  .top_feature::before {
    width: 54%;
    top: 0;
    transform: translateY(-54%);
  }
  .top_feature .home_tit {
    margin-bottom: 50px;
  }
  .top_feature_item:not(:last-child) {
    margin-bottom: 50px;
  }
  .top_feature_img {
    width: calc(100% - 20px);
  }
  .top_feature_img::after {
    left: 14px;
    top: -14px;
    z-index: 2;
  }
  .top_feature_box {
    width: calc(100% - 20px);
    padding: 6px 6% 30px;
    margin-left: auto;
    margin-top: -40px;
  }
  .top_feature_num {
    min-height: 80px;
    font-size: 16px;
    padding-left: 44px;
    padding-top: 20px;
    margin: 0 0 18px auto;
    position: relative;
    z-index: 1;
  }
  .top_feature_box h3 {
    font-size: 20px;
    letter-spacing: 0.05em;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .top_feature_box .btn01 {
    margin-top: 25px;
    margin-bottom: -45px;
  }
}

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

  *診療案内

==================================================================================================================================*/
.top_medical {
  padding-top: 125px;
  padding-bottom: 205px;
  background: linear-gradient(90deg, #ecf5fb 0%, #ecf5fb calc(100% - 132px), transparent calc(100% - 132px), transparent 100%);
  position: relative;
}
.top_medical::before {
  display: block;
  content: "";
  width: 596px;
  aspect-ratio: 596/620;
  background: url(../images/home/medical_bg_t_l.png) left top/100% auto no-repeat;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-63%);
}
.top_medical .home_inner {
  position: relative;
}
.top_medical .home_tit {
  margin-bottom: 80px;
}
.top_medical_item {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  text-align: center;
}
.top_medical_item a {
  display: block;
  height: 100%;
  color: var(--text-color);
  border: 2px solid #b6cdde;
  padding: 30px 10px;
  background: url(../images/home/medical_bg.png) #fff right 35px top 52px/268px auto no-repeat;
  position: relative;
}
.top_medical_item a::before {
  display: block;
  content: "";
  width: 102px;
  aspect-ratio: 204/160;
  background: url(../images/btn_arrow.png) right 26px bottom 20px/28px auto no-repeat, url(../images/home/medical_arrow_bg.png) right bottom/100% auto no-repeat;
  position: absolute;
  right: 0;
  bottom: 0;
}
.top_medical_item h3 {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  background: #96c1e1;
  border-radius: 30px;
  padding: 12px 25px;
  margin-top: -60px;
}
.top_medical_img {
  max-width: 172px;
  background: url(../images/home/medical_icon_bg.png) center/100% auto no-repeat;
  margin: 0 auto 15px;
}
.top_medical_text {
  font-size: 24px;
  letter-spacing: 0.12em;
  line-height: 1.3;
  position: relative;
}
.top_medical_item:nth-child(4) a, .top_medical_item:nth-child(5) a, .top_medical_item:nth-child(6) a {
  background-image: url(../images/home/medical_bg_pink.png);
  border-color: #e8cdd3;
}
.top_medical_item:nth-child(4) a::before, .top_medical_item:nth-child(5) a::before, .top_medical_item:nth-child(6) a::before {
  background-image: url(../images/btn_arrow.png), url(../images/home/medical_arrow_bg_pink.png);
}
.top_medical_item:nth-child(4) h3, .top_medical_item:nth-child(5) h3, .top_medical_item:nth-child(6) h3 {
  background: #f4b3c1;
}
.top_medical_item:nth-child(4) .top_medical_img, .top_medical_item:nth-child(5) .top_medical_img, .top_medical_item:nth-child(6) .top_medical_img {
  background-image: url(../images/home/medical_icon_bg_pink.png);
}
.top_medical_item:nth-child(7) a, .top_medical_item:nth-child(8) a, .top_medical_item:nth-child(9) a {
  background-image: url(../images/home/medical_bg_yellow.png);
  border-color: #e9ddb9;
}
.top_medical_item:nth-child(7) a::before, .top_medical_item:nth-child(8) a::before, .top_medical_item:nth-child(9) a::before {
  background-image: url(../images/btn_arrow.png), url(../images/home/medical_arrow_bg_yellow.png);
}
.top_medical_item:nth-child(7) h3, .top_medical_item:nth-child(8) h3, .top_medical_item:nth-child(9) h3 {
  background: #f4d270;
}
.top_medical_item:nth-child(7) .top_medical_img, .top_medical_item:nth-child(8) .top_medical_img, .top_medical_item:nth-child(9) .top_medical_img {
  background-image: url(../images/home/medical_icon_bg_yellow.png);
}

@media (hover: hover) {
  .top_medical_img {
    transition: transform 0.3s;
  }
  .top_medical_item a::before {
    transition: background-position 0.3s;
  }
  .top_medical_item a:hover::before {
    background-position: right 16px bottom 20px, right bottom;
  }
  .top_medical_item a:hover .top_medical_img {
    transform: translateY(-10px);
  }
}

@media print, screen and (min-width: 641px) {
  .top_medical_list {
    display: flex;
    flex-wrap: wrap;
    gap: 62px 45px;
  }
  .top_medical_item {
    width: 370px;
  }
  .top_medical_item a {
    min-height: 312px;
  }
  .top_medical_text {
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 2.6em;
  }
}

@media screen and (max-width: 640px) {
  .top_medical {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #ecf5fb;
  }
  .top_medical::before {
    width: 50%;
  }
  .top_medical .home_tit {
    margin-bottom: 60px;
  }
  .top_medical_item {
    max-width: 370px;
    margin-inline: auto;
  }
  .top_medical_item:not(:last-child) {
    margin-bottom: 20px;
  }
  .top_medical_item:nth-child(3n+1) {
    margin-top: 50px;
  }
  .top_medical_item a {
    background-position: right 34% top 52px;
    background-size: 72% auto;
  }
  .top_medical_item h3 {
    font-size: clamp(18px, 5.3vw, 20px);
    padding: 12px 20px;
  }
  .top_medical_img {
    width: 50%;
  }
  .top_medical_text {
    font-size: clamp(20px, 5.8vw, 22px);
  }
}