@charset "UTF-8";

/* ---------------------
  - *共通設定
  - *メインビジュアル
  - *スマホのみのエリア
  - *お知らせ
  - *ご挨拶
  - *当院の特徴
  - *診療案内
  - *医療コラム
  - *ループスライダー
--------------------- */
/*==================================================================================================================================

  *共通設定

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

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

/*----------タイトル----------*/
main h2 {
  font-size: 26px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}

main h3 {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

  *メインビジュアル

==================================================================================================================================*/
.home_mv {
  position: relative;
  height: 840px;
}

.home_mv::before {
  aspect-ratio: 1024 / 36;
  top: -45px;
  left: 0;
  background: url(../images/line_wave.png) bottom repeat;
  background-size: contain;
  width: 100%;
  height: 65px;
  z-index: 1;
  content: '';
  position: absolute;
}

.home_mv::after {
  aspect-ratio: 1920 / 813;
  top: 285px;
  left: 0;
  background: url(../images/mv_under.png) bottom repeat;
  background-size: cover;
  width: 100%;
  height: 813px;
  z-index: 1;
  content: '';
  position: absolute;
}

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

.slider-fade .slick-slide img {
  width: 100%;
  height: 840px;
  -o-object-fit: cover;
  object-fit: cover;
}

.main_catch {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.main_catch img {
  width: 490px;
  height: 180px;
  object-fit: contain;
}

.catchcopy_tit {
  margin-bottom: 5px;
  display: block;
}

.catchcopy_tit span {
  display: inline-block;
  font-size: 32px;
  color: var(--text-color);
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 7px;
}

.catchcopy_text {
  margin-bottom: 5px;
  display: block;
}

.catchcopy_text span {
  display: inline-block;
  font-size: 22px;
  color: var(--text-color);
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 7px;
}

/*　キャッチコピー（スライドごと）　*/
.slide_catch {
  z-index: 1;
  position: absolute;
  left: calc((100% - 1200px) / 2);
  top: 200px;
  display: inline-block;
  font-size: 32px;
  color: var(--text-color);
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 7px;
}

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

/*　バナー　*/
.home_mv .mv_banner {
  position: absolute;
  bottom: 30px;
  left: 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 {
    height: 435px;
  }

  .home_mv_main {
    width: 100%;
  }

  /* スライダー */
  .slider-fade .slick-slide img {
    height: 435px;
  }
}

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

  *スマホのみのエリア

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

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

  *お知らせ

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

/* パターンE(pattern05) お知らせ+医院概要+アクセス */
/* お知らせ */
.top_info.pattern05 {
  position: relative;
  z-index: 2;
  margin-top: -25px;
  margin-bottom: 75px;
}

.top_news.pattern05 {
  position: relative;
  padding-bottom: 120px;
  z-index: 1;
}


.top_news.pattern05 h2 {
  margin: 0;
}

.top_news.pattern05 .top_news_list li {
  padding: 24px 27px;
}

.top_news.pattern05 .top_news_list li:nth-child(odd) {
  background: var(--bg-color);
}


.top_news.pattern05 .top_news_list li a {
  color: var(--text-color);
}

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

.top_news.pattern05 .top_news_list li span {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #676a73;
  margin-right: 20px;
}

.top_news.pattern05 .top_news_list li em {
  text-align: center;
  display: inline-block;
  padding: 3px 20px;
  font-style: normal;
  margin-right: 20px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.1em;
  min-width: 100px;
}

/* 本文を表示するお知らせ */
.top_news.pattern05 .top_news_frame {
  max-height: 200px;
  overflow-y: auto;
  padding: 20px;
}

.top_news.pattern05 .top_news_frame .news_desc {
  margin-bottom: 10px;
}

/*スクロールバーの横幅指定*/
.top_news.pattern05 .top_news_frame::-webkit-scrollbar {
  width: 5px;
}

/*スクロールバーの背景色・角丸指定*/
.top_news.pattern05 .top_news_frame::-webkit-scrollbar-track {
  border-radius: 10px;
  background: var(--bg-color);
}

/*スクロールバーの色・角丸指定*/
.top_news.pattern05 .top_news_frame::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--border-color);
}

.top_news_left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top_news_left .btn01 {
  margin-top: 125px;
  text-align: center;
}

.top_news_left .btn01 a {
  background: none;
  color: var(--text-color);
  border: none;
}


.top_news.pattern05::before {
  content: '';
  position: absolute;
  bottom: -350px;
  left: 0;
  background: url(../images/feature_deco_left_01.png) top / contain no-repeat;
  width: 457px;
  height: auto;
  aspect-ratio: 457 / 433;
}

.top_news.pattern05::after {
  content: '';
  position: absolute;
  bottom: -230px;
  right: 0;
  background: url(../images/feature_deco_right_02.png) top / contain no-repeat;
  width: auto;
  height: 335px;
  aspect-ratio: 327 / 335;
}


@media print,
screen and (min-width: 641px) {
  .top_news.pattern05 .home_inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }

  /* お知らせ */
  .top_news.pattern05 .top_news_list {
    width: 990px;
  }

  .top_news.pattern05 .top_news_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 640px) {
  .top_news.pattern05 {
    margin-top: 50px;
  }

  .top_news.pattern05 h2 {
    margin-bottom: 30px;
  }

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

  .top_news.pattern05 .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .top_info.pattern05 {
    margin-bottom: 50px;
  }

  .top_info.pattern05 .top_info_left {
    margin-bottom: 50px;
  }
}


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

  *当院の特徴

==================================================================================================================================*/
.sec_top_feature {
  margin-top: 198px;
  padding-bottom: 185px;
  background: url(../images/feature_bg_blue.jpg) top / cover no-repeat;
  position: relative;
}

.sec_top_feature::before {
  content: '';
  position: absolute;
  top: -195px;
  background: url(../images/faeture_wave.png) top / cover no-repeat;
  width: 100%;
  height: 197px;
}

.sec_top_feature::after {
  content: '';
  position: absolute;
  top: 85px;
  background: url(../images/feature_bg_circle.png) top / contain repeat;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.sec_top_feature .top_title {
  position: relative;
}

.sec_top_feature .top_title::before {
  content: '';
  position: absolute;
  background: url(../images/feature_title_bg.png) top / contain no-repeat;
  width: auto;
  height: 186px;
  aspect-ratio: 557 / 186;
  top: -67px;
}

.sec_top_feature .top_title::after {
  content: '';
  position: absolute;
  background: url(../images/feature_title_deco.png) top / contain no-repeat;
  width: auto;
  height: 23px;
  aspect-ratio: 55 / 23;
  top: -40px;
}

.sec_top_feature .top_title p span {
  color: #8cc66d;
}

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

/* 当院の特徴パターンB(写真と文章分離、1コンテンツ横幅フル) */
.sec_top_feature.pattern02 h2 {
  margin-bottom: 85px;
}

.sec_top_feature.pattern02 .top_feature_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.sec_top_feature.pattern02 .top_feature_item:last-child {
  margin-bottom: 0;
}

.top_feature_img_wrap {
  position: relative;
  margin-left: 24px;

}

.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img_wrap {
  margin-right: 24px;
  margin-left: 0;
}

.top_feature_img_wrap::before {
  content: '';
  position: absolute;
  width: 577px;
  height: 439px;
  aspect-ratio: 577 / 439;
  background: url(../images/cloud.png) center top no-repeat;
  background-size: contain;
  z-index: -1;
}

.top_feature_img_wrap::after {
  content: '';
  position: absolute;
  width: 598px;
  height: auto;
  left: -24px;
  top: 0;
  aspect-ratio: 598 / 388;
  background: url(../images/feature_item_img_bg.png) center top no-repeat;
  background-size: contain;
  z-index: -2;
}

.top_feature_wrap.reverse .top_feature_item:nth-child(4),
.top_feature_wrap.reverse .top_feature_item:nth-child(5) {
  position: relative;
}

.top_feature_wrap.reverse .top_feature_item:nth-child(4)::before {
  content: '';
  position: absolute;
  width: 158px;
  height: auto;
  right: -25px;
  bottom: 0;
  aspect-ratio: 158 / 212;
  background: url(../images/feature_child.png) center top no-repeat;
  background-size: contain;
  z-index: 1;
}

.top_feature_wrap.reverse .top_feature_item:nth-child(5)::before {
  content: '';
  position: absolute;
  width: 257px;
  height: auto;
  left: -25px;
  bottom: 0;
  aspect-ratio: 257 / 198;
  background: url(../images/feature_child_02.png) center top no-repeat;
  background-size: contain;
  z-index: 1;
}

.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img_wrap::after {
  transform: scale(-1, 1);
  left: inherit;
  right: -24px;
}

.sec_top_feature.pattern02 .top_feature_img {
  position: relative;
  width: 546px;
  height: auto;
  aspect-ratio: 546 / 392;
  left: 15px;
  top: 10px;
  mask-image: url(../images/mask.png);
  -webkit-mask-image: url(../images/mask.png);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
  mask-size: contain;
  -webkit-mask-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img {
  right: -15px;
  left: inherit;
}

.sec_top_feature.pattern02 .top_feature_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec_top_feature.pattern02 .top_feature_box {
  width: 564px;
}

.sec_top_feature.pattern02 .top_feature_box .flex {
  display: flex;
}

.sec_top_feature.pattern02 .top_feature_box h3 {
  font-family: var(--font-jp);
  font-size: 26px;
  letter-spacing: 0.05em;
  color: #5f6a8b;
  line-height: 1.5;
  padding-bottom: 30px;
  position: relative;
  display: flex;
  align-content: center;
  align-items: center;
  gap: 25px;
  padding-left: 34px;
}

.sec_top_feature.pattern02 .top_feature_box h3::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0px;
  bottom: 0px;
  background: url(../images/feature_line.png) center repeat;
  background-size: contain;
}

.top_feature_text {
  margin-top: 34px;
  padding: 0 34px;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.sec_top_feature.pattern02 .top_feature_box .btn01 {
  margin-top: 34px;
  margin-right: 34px;
  text-align: right;
  width: 180px;
  height: 45px;
  margin-left: auto;
  background: url(../images/btn_rounded.png) center no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.sec_top_feature.pattern02 .top_feature_box .btn01:before {
  content: '';
  width: 16px;
  height: 16px;
  object-fit: contain;
  position: absolute;
  background: url(../images/arrow_yellow.png) center repeat;
  background-size: contain;
  display: block;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.sec_top_feature.pattern02 .top_feature_box .btn01 a {
  width: 100%;
  text-align: center;
  background-position: center;
  padding-right: 10px;
}

.sec_top_feature.pattern02 .top_feature_box .btn01 a:before {
  display: none;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .top_feature_box .btn01:before {
  background: url(../images/arrow_pink.png) center repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .top_feature_box .btn01:before {
  background: url(../images/arrow.png) center repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_box .btn01:before {
  background: url(../images/arrow_skyblue.png) center repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_box .btn01:before {
  background: url(../images/arrow_green.png) center repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(6) .top_feature_box .btn01:before {
  background: url(../images/arrow_orange.png) center repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_box h3::before {
  content: '';
  position: relative;
  width: 119px;
  min-width: 120px;
  height: auto;
  left: 0px;
  top: 10px;
  display: block;
  aspect-ratio: 119 / 101;
  background: url(../images/num_01.png) center top no-repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(2) .top_feature_box h3::before {
  width: 129px;
  height: auto;
  aspect-ratio: 129 / 91;
  background: url(../images/num_02.png) center top no-repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(3) .top_feature_box h3::before {
  width: 127px;
  height: auto;
  aspect-ratio: 127 / 92;
  background: url(../images/num_03.png) center top no-repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_box h3::before {
  width: 134px;
  height: auto;
  aspect-ratio: 134 / 92;
  background: url(../images/num_04.png) center top no-repeat;
  background-size: contain;
}

.sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_box h3::before {
  width: 126px;
  height: auto;
  aspect-ratio: 126 / 87;
  background: url(../images/num_05.png) center top no-repeat;
  background-size: contain;
}


.sec_top_feature.pattern02 .top_feature_item:nth-child(6) .top_feature_box h3::before {
  width: 135px;
  height: auto;

  aspect-ratio: 135 / 90;
  background: url(../images/num_06.png) center top no-repeat;
  background-size: contain;
}

/* 左右互い違いパターン */
.top_feature_wrap.reverse .top_feature_item:nth-child(even) {
  flex-direction: row-reverse;
}

@media screen and (max-width: 640px) {
  .sec_top_feature {
    padding: 48px 0 32px;
  }

  .sec_top_feature.pattern02 .top_feature_item {
    flex-direction: column;
  }

  .sec_top_feature.pattern02 .top_feature_img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .sec_top_feature.pattern02 .top_feature_box {
    width: 100%;
  }

  .sec_top_feature.pattern02 .top_feature_box h3 {
    margin: 0 auto 20px;
  }

  .sec_top_feature.pattern02 .top_feature_box .btn01 {
    text-align: center;
  }

  /* 左右互い違いパターン */
  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img {
    margin-left: 0;
  }

  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_num {
    position: absolute;
    left: 10px;
    right: 0;
  }
}


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

  *ご挨拶

==================================================================================================================================*/
.sec_top_doctor {
  background: url(../images/greeting_bg.png) center top no-repeat;
  background-size: cover;
  position: relative;
  z-index: 2;
  margin-top: -30px;
  padding-bottom: 100px;
}

.sec_top_doctor::after {
  content: '';
  position: absolute;
  width: 273px;
  height: auto;
  aspect-ratio: 273 / 168;
  background: url(../images/medical_kids.png) center top no-repeat;
  background-size: contain;
  bottom: -70px;
  right: 63px;
}

.sec_top_doctor .top_title {
  padding-top: 175px;
}

.sec_top_doctor .top_title {
  position: relative;
}

.sec_top_doctor .top_title::before {
  content: '';
  position: relative;
  width: 45px;
  height: auto;
  aspect-ratio: 45 / 61;
  background: url(../images/greeting_title_deco.png) center top no-repeat;
  background-size: contain;
  top: -24px;
}

.sec_top_doctor .top_title h2 {
  margin-bottom: 34px;
}

.sec_top_doctor .top_title p span {
  color: #79c1ed;
}

.top_greeting_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: center;
  align-items: center;
}

.top_greeting_flex_img {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 525px;
}

.top_greeting_flex_img::before {
  content: '';
  position: absolute;
  width: 525px;
  height: 536px;
  aspect-ratio: 525 / 536;
  background: url(../images/greeting_mask_bg.png) center top no-repeat;
  background-size: contain;
  left: 1px;
  top: 11px;
}

.top_doctor_img {
  position: relative;
  width: 494px;
  height: auto;
  aspect-ratio: 494 / 490;
  mask-image: url(../images/greeting_mask.png);
  -webkit-mask-image: url(../images/greeting_mask.png);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
  mask-size: contain;
  -webkit-mask-size: contain;
  overflow: visible;
}

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

.top_doctor_name {
  text-align: center;
  margin-top: 15px;
}

.top_doctor_name .carr img {
  width: 277px;
  height: 68px;
  object-fit: contain;
  text-align: center;
}

.top_doctor_name .name span {
  font-size: 24px;
}

.top_doctor_name .name {
  font-family: var(--font-jp);
  letter-spacing: 0.1em;
  font-size: 16px;
  margin-top: 20px;
}

.top_greeting_flex h3 {
  font-size: 26px;
  letter-spacing: 0.05em;
  font-family: var(--font-jp);
  color: #6a7493;
}

.top_greeting_flex h3 span {
  color: #79c1ed;
}

.top_greeting_flex_text {
  width: 608px;
}

.top_greeting_flex_text .text {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.top_greeting_flex_text .text p {
  margin-bottom: 20px !important;
}

.top_greeting_flex_img .btn01 {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  width: 310px;
  height: 45px;
  margin-left: auto;
  background: url(../images/btn_rounded_02.png) center no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.top_greeting_flex_img .btn01 a {
  width: 100%;
  text-align: center;
  background-position: center;
  padding-right: 10px;
}

.top_greeting_flex_img .btn01 a::before {
  display: none;
}

.top_greeting_flex_img .btn01:before {
  content: '';
  width: 16px;
  height: 16px;
  object-fit: contain;
  position: absolute;
  /* top: 3px; */
  background: url(../images/arrow.png) center repeat;
  background-size: contain;
  display: block;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}



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

  .top_greeting_flex {
    display: block;
  }

  .top_greeting_flex_img {
    width: 100%;
  }

  .top_greeting_flex_text {
    width: 100%;
  }

  .top_greeting_flex_text .btn01 {
	max-width: 310px;
    width: 100%;
    text-align: center;
  }

  .top_doctor_img {
    text-align: center;
  }

  .top_doctor_name {
    text-align: center;
  }
}

/* ご挨拶パターンA(写真右) */
.sec_top_doctor.pattern01 .top_greeting_flex {
  flex-direction: row-reverse;
}



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

  *診療案内

==================================================================================================================================*/
.sec_top_medical {
  padding-top: 150px;
  padding-bottom: 118px;
  background: url(../images/medical_bg.png) center top no-repeat;
  background-size: cover;
  position: relative;
}

.sec_top_medical:before {
  content: '';
  width: 511px;
  height: 1109px;
  aspect-ratio: 511 / 1109;
  object-fit: contain;
  position: absolute;
  background: url(../images/medical_deco_left.png) center repeat;
  background-size: contain;
  left: 0px;
  bottom: -36px;
}

.sec_top_medical:after {
  content: '';
  width: 437px;
  height: 763px;
  aspect-ratio: 437 / 763;
  object-fit: contain;
  position: absolute;
  background: url(../images/medical_deco_right.png) center repeat;
  background-size: contain;
  right: 0px;
  bottom: 248px;
}

.medical_title_img {
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.medical_title_img img {
  width: 867px;
  max-width: 90%;
  height: auto;
  aspect-ratio: 867 / 183;
  object-fit: contain;
}

.sec_top_medical .top_title p {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.sec_top_medical .top_title p span {
  color: #f2c26a;
}

.sec_top_medical .sec_top_medical_flex {
  display: flex;
  flex-wrap: wrap;
}

/* 診療案内パターンA(アイコンを目立たせるタイプ) */
.sec_top_medical.pattern01 .sec_top_medical_flex {
  justify-content: center;
  justify-content: space-between;
  background: white;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.1));
  width: 1000px;
  max-width: 95%;
  margin: 0 auto;
  border-radius: 80px;
  padding: 150px 120px 85px 120px;
  margin-top: -123px;
  z-index: 1;
  position: relative;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item {
  width: 216px;
  margin-bottom: 35px;
}

.item_img {
  position: relative;
}

.item_img::before {
  content: '';
  width: 36px;
  height: 34px;
  object-fit: contain;
  position: absolute;
  background: url(../images/medical_item_arrow.png) center repeat;
  background-size: contain;
  display: block;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  height: 100%;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a .item_img {
  margin-bottom: 23px;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 {
  margin: 0 auto;
  font-family: var(--font-jp);
  color: #5f6a8b;
  text-align: center;
  font-size: 23px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 span {
  font-size: 14px;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a p {
  margin-bottom: 20px;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01 {
  text-align: center;
  color: #fff;
  background: var(--main-color);
  padding: 5px 15px;
  margin: auto auto 0;
  transition: 0.2s;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a:hover .btn01 {
  background: var(--sub-color);
}

@media screen and (max-width: 640px) {
  .sec_top_medical.pattern01 .sec_top_medical_flex .item {
    width: 100%;
  }
}



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

  *医療コラム

==================================================================================================================================*/
.sec_top_column {
  padding-top: 80px;
  padding-bottom: 80px;
}

.column_list_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 32px;
}

.column_list_flex dl {
  width: 276px;
  margin-bottom: 20px;
}

.column_list_flex dt {
  background: var(--main-color);
  color: #fff;
  font-size: 130%;
  font-weight: bold;
  text-align: center;
}

.column_list_flex dd {
  padding: 10px;
}

.column_list_flex dd ul li {
  position: relative;
  line-height: 2;
  display: flex;
  align-items: baseline;
}

.column_list_flex dd ul li::before {
  content: "\f054";
  color: var(--main-color);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 90%;
  margin-right: 5px;
}

.column_list_flex dd ul li a {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-color);
}

@media (hover: hover) {
  .column_list_flex dd ul li a:hover {
    color: var(--sub-color);
  }
}

@media screen and (max-width: 640px) {
  .column_list_flex {
    /* gap: 20px 2%; */
    /* 一列にする場合はこちら */
    gap: 0;
  }

  .column_list_flex dl {
    /* width: 48%; */
    /* 一列にする場合はこちら */
    width: 100%;
  }
}

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

  *ループスライダー

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

.home_loopSlider::before {
  content: '';
  position: absolute;
  width: 522px;
  height: auto;
  aspect-ratio: 1 / 1;
  right: 390px;
  top: -186px;
  background: url(../images/slider_circle.png) center no-repeat;
  background-size: contain;
  z-index: 0;
}

.home_loopSlider img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 30px;
  margin-right: 54px;
}

@media screen and (max-width: 640px) {
  .home_loopSlider img {
    width: 200px;
  }
}

/* bnr */
.bnr_open,
.bnr_yoyaku,
.bnr_wrap {
  position: absolute;
  z-index: 1;
}

.bnr_open {
  width: 310px;
  height: 310px;
  bottom: 100px;
  left: 685px;
  background: url(../images/mv_bnr_open_v2.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bnr_open p {
  font-family: var(--font-jp);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
  display: block;
  width: 100%;
  line-height: 1;
}

.bnr_open p:nth-child(1) {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 8px;
  margin-top: -20px;
  font-family: var(--font-jp-02);
}

.bnr_open p:nth-child(1) span:nth-child(1) {
  font-size: 18px;
  font-family: var(--font-en);
  font-weight: 500;
}

.bnr_open p:nth-child(1) span:last-child {
  font-size: 12px;
  font-family: var(--font-en);
  font-weight: 500;
}

.bnr_open p:nth-child(1) span {
  font-size: 37px;
  font-family: var(--font-en);
  line-height: 1;
  font-weight: 500;
}

.bnr_open p:nth-child(2) {
  line-height: 1;
  font-size: 37px;
  margin-bottom: 28px;
}

.bnr_open p:nth-child(3) {
  margin-bottom: 10px;
  font-size: 22px;
  font-family: var(--font-jp-02);
  vertical-align: middle;
}

.bnr_open p:nth-child(3) span:nth-child(1) {
  font-size: 13px;
  margin-right: 6px;
}

.bnr_open p:nth-child(3) span:not(:nth-child(1)) {
  font-size: 20px;
  font-family: var(--font-en);
  font-weight: 500;
}

.bnr_open p:nth-child(3) span:last-child {
  font-size: 12px;
}

.bnr_open p:nth-child(4),.bnr_open p:nth-child(5) {
  padding-bottom: 6px;
}

.bnr_open p:nth-child(6) {
  padding-bottom: 50px;
}

/*.bnr_open p:nth-child(4) {
  font-size: 14px;
  font-family: var(--font-en);
  font-weight: 500;
}*/


div.bnr_open div.button-wrapper {
  text-align: center;
}

div.bnr_open div.button-wrapper a.detail-link {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--text-color);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-jp);
  font-weight: 700;
  border-radius: 50px;
}

div.bnr_open div.button-wrapper a.detail-link:hover {
  background-color: #7a7da9;
}


/* .bnr_yoyaku */
.bnr_yoyaku {
  bottom: 380px;
  left: 380px;
  z-index: 1;
}

.bnr_yoyaku img {
  width: 230px;
  height: 248px;
  object-fit: contain;
}

/* bnr_wrap */
.bnr_wrap {
  display: flex;
  top: 258px;
  right: 330px;
}


.bnr_wrap img:first-child {
  width: 191px;
  height: 183px;
  object-fit: contain;
}

.bnr_wrap img:last-child {
  width: 196px;
  height: 184px;
  object-fit: contain;
}

/* 1700 */
@media screen and (max-width: 1700px) {
  .bnr_yoyaku {
    left: 15%;
  }

  .bnr_open {
    left: 30%;
  }

  .bnr_wrap {
    right: 10%;
  }
}

/* 1350 */
@media screen and (max-width: 1350px) {
  .bnr_yoyaku {
    left: 5%;
  }

  .bnr_open {
    left: 25%;
  }

  .bnr_wrap {
    right: 5%;
  }
}

/* 640 */
@media screen and (max-width: 640px) {
  .main_catch {
    width: 80%;
    top: 42%;
  }


  .main_catch img {
    width: 100%;
    height: auto;
    aspect-ratio: 490 / 180;
  }

  .home_mv::after {
    width: 100%;
    height: auto;
    bottom: 0;
    background: url(../images/sp_mv_under.png) top repeat;
    background-size: cover;
  }


  .bnr_wrap {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
	
  .bnr_flex_sp {
	width: 90%;
    margin: 0 auto;
    display: flex;
	flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .bnr_open,
  .bnr_yoyaku,
  .bnr_wrap {
    position: relative;
    left: 0;
    top: inherit;
    right: inherit;
    bottom: 0;
  }

  .bnr_yoyaku,
  .bnr_open,
  .bnr_wrap img:first-child,
  .bnr_wrap img:last-child {
    width: 49%;
    height: auto;
  }

  .bnr_yoyaku img {
    aspect-ratio: 230 / 248;
    height: auto;
  }

  .bnr_open {
    aspect-ratio: 236 / 238;
    height: auto;
	width: 95%;
	margin-bottom: 20px;
  }

  .bnr_open p:nth-child(1) {
    font-size: 20px;
    margin-top: -5px;
  }

  .bnr_open p:nth-child(1) span:nth-child(1) {
    font-size: min(7.5vw, 20px);
  }

  .bnr_open p:nth-child(1) span {
	font-size: min(7.5vw, 30px);
  }
	
  .bnr_open p:nth-child(2) {
    font-size: 35px;
  }

  .bnr_open p:nth-child(2) {
    margin-bottom: 40px;
  }
	
  .bnr_open p:nth-child(3){
    font-size: 25px;
	margin-bottom: 10px;
  }

  .bnr_open p:nth-child(4),
  .bnr_open p:nth-child(5),
  .bnr_open p:nth-child(6){
    font-size: 18px;
  }
	
	div.bnr_open div.button-wrapper a.detail-link{
	 font-size: 15px;
	}

  .home_mv::before {
    display: none;
  }

  .top_news.pattern05 {
    padding-bottom: 50px;
  }

  .sec_top_feature {
    background: url(../images/sp_feature_bg_blue.png) top / contain repeat;
  }

  .sec_top_feature::before {
    aspect-ratio: 1920 / 197;
    width: 100%;
    height: 42px;
    background: url(../images/sp_faeture_wave.png) top / cover repeat;
    top: -42px;
  }

  .sec_top_feature::after {
    background: url(../images/sp_feature_bg_circle.png) top / contain repeat;
  }

  .sec_top_feature {
    margin-top: 42px;
/*     padding-top: 62px; */
	padding-top: 0;
  }
	
  .sec_top_feature .home_inner {
	padding-top: 62px;
  }

  .sec_top_feature .top_title::before {
    top: -46px;
    width: 100%;
    height: auto;
  }

  .top_info.pattern05 {
    margin-top: 10px;
  }

  .top_news.pattern05::after {
    width: 30%;
    height: auto;
    top: 0;
  }

  .top_news.pattern05::before {
    width: 30%;
    height: auto;
    top: 0;
  }

  .top_news.pattern05::before,
  .top_news.pattern05::after {
    display: none;
  }


  .sec_top_feature {
    padding-bottom: 80px;
  }

  .sec_top_feature.pattern02 .top_feature_box h3 {
    font-size: 17px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    gap: 15px;
  }

  .sec_top_feature.pattern02 .top_feature_box h3::before,
  .sec_top_feature.pattern02 .top_feature_item:nth-child(2) .top_feature_box h3::before,
  .sec_top_feature.pattern02 .top_feature_item:nth-child(3) .top_feature_box h3::before,
  .sec_top_feature.pattern02 .top_feature_item:nth-child(4) .top_feature_box h3::before,
  .sec_top_feature.pattern02 .top_feature_item:nth-child(5) .top_feature_box h3::before,
  .sec_top_feature.pattern02 .top_feature_item:nth-child(6) .top_feature_box h3::before {
    min-width: 70px;
    width: 70px;
    height: auto;
    left: 0px;
    top: 0;
  }

  .top_feature_text {
    margin-top: 20px;
    padding: 0 20px;
  }

  .top_feature_img_wrap {
    margin-left: 0;
  }

  .sec_top_feature.pattern02 h2 {
    margin-bottom: 40px;
  }

  .top_feature_img_wrap::before {
    width: 100%;
    height: auto;
  }

  .sec_top_feature.pattern02 .top_feature_img {
    width: 95%;
    height: auto;
    left: 9px;
    top: 6px;
  }

  .top_feature_img_wrap::after {
    left: 0;
    width: 100%;
    height: auto;
  }

  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img_wrap {
    margin-right: 0;
  }

  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img {
    right: -9px;
  }

  .sec_top_feature.pattern02 .top_feature_item {
    margin-bottom: 50px;
  }

  .top_feature_text {
    font-size: 14px;
  }

  .sec_top_doctor {
    background: url(../images/sp_greeting_bg.png) center top no-repeat;
    background-size: contain;
  }

  .sec_top_doctor .top_title {
    padding-top: 50px;
  }

  .sec_top_doctor .top_title::before {
    width: 35px;
    top: -12px;
  }

  .top_greeting_flex h3 {
    font-size: 22px;
    margin-top: 30px;
  }

  .top_greeting_flex_text .text {
    font-size: 14px;
  }

  .top_greeting_flex_img::before {
    width: 100%;
    height: auto;
  }

  .top_doctor_img {
    width: 95%;
    height: auto;
  }

  .sec_top_medical {
    background: url(../images/sp_medical_bg.png) center top no-repeat;
    background-size: contain;
  }

  .sec_top_doctor::after {
    width: 28%;
    height: auto;
    right: 10px;
    bottom: -40px;
  }

  .sec_top_medical {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .sec_top_medical:before {
    width: 50%;
    height: auto;
    bottom: -150px;
  }

  .sec_top_medical:after {
    width: 50%;
    height: auto;
    top: 330px;
    bottom: inherit;
  }

  .sec_top_medical.pattern01 .sec_top_medical_flex {
    margin-top: -80px;
    border-radius: 40px;
    padding: 50px 20px 0px 20px;
    align-items: flex-start;
  }

  .sec_top_medical.pattern01 .sec_top_medical_flex .item {
    width: 48%;
  }

  .sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 {
    font-size: 18px;
  }

  .sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 span {
    font-size: 12px;
  }

  .item_img::before {
    width: 26px;
    height: 24px;
    object-fit: contain;
  }

  .item_img::before {
    bottom: -6px;
  }

  .home_loopSlider img {
    height: auto;
    margin-right: 15px;
    border-radius: 15px;
  }

  .home_loopSlider::before {
    display: none;
  }

  .top_feature_wrap.reverse .top_feature_item:nth-child(4)::before {
    width: 20%;
    height: auto;
    top: 145px;
    bottom: inherit;
    right: 10px;
  }

  .top_feature_wrap.reverse .top_feature_item:nth-child(5)::before {
    width: 35%;
    height: auto;
    top: 145px;
    bottom: inherit;
    right: 10px;
    left: inherit;
  }
}

/* 320 */
@media screen and (max-width: 320px) {
  .sec_top_feature.pattern02 .top_feature_box h3 {
    font-size: 15px;
  }
}

/* hover */
@media (hover: hover) {
  .bnr_yoyaku:hover,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a:hover {
    transform: translateY(-10px);
  }

  .top_news_left .btn01 a:hover {
    color: var(--main-color);
  }
}