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

/*----------タイトル----------*/
hgroup p{
  padding-bottom: 5px;
  display: inline-block;
  font-family: var(--rob);
  font-weight: 300;
  font-size: 80px;
  letter-spacing: 0.1em;
  line-height: 1;
  background: linear-gradient(0deg, #736f6d 32%, var(--border-color) 32%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}
hgroup h2{
  font-family: var(--nom);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 640px) {
  hgroup p{
    font-size: 60px;
  }
}


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

  *メインビジュアル

==================================================================================================================================*/
.home_mv {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.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: 700px;
  -o-object-fit: cover;
     object-fit: cover;
}

/*　キャッチコピー　*/
.main_catch {
  position: absolute;
  left: 0;
  top: 195px;
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  font-weight: bold;
}

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

.catchcopy_tit span {
  display: inline-block;
  font-family: var(--nom);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: #fff;
  line-height: 1.875;
  text-shadow: 0px 0px 15px rgba(53, 53, 53, 0.8), 0px 0px 15px rgba(53, 53, 53, 0.8);
}

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

.home_mv .mv_open{
  position: absolute;
  right: 0;
  bottom: 33px;
}

.mv_point{
  position: absolute;
  left: 0;
  bottom: 33px;
  display: flex;
  gap: 0 14px;
}

@media screen and (max-width: 640px) {
  .home_mv {
    height: 330px;
  }

  .home_mv_main {
    width: 100%;
  }

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

  /* キャッチフレーズ */
  .main_catch {
    left: 0;
    top: 50px;
    right: 0;
    margin: auto;
    width: auto;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .catchcopy_tit span {
    font-size: 5vw;
  }

  .catchcopy_text span {
    font-size: 3vw;
  }

  .slide_catch {
    left: 0;
    top: 140px;
    right: 0;
    max-width: calc(100% - 20px);
    width: auto;
    margin: auto;
    padding: 10px;
    font-size: 5vw;
  }
  .mv_point {
    left: 0;
    right: 0;
    bottom: 10px;
    margin: auto;
    justify-content: center;
  }
  .mv_point li{
    width: 140px;
  }
}

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

  *スマホのみのエリア

==================================================================================================================================*/
@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_sp_only .mv_open{
    text-align: center;
  }
}

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

  *お知らせ

==================================================================================================================================*/
/* パターンE(pattern05) お知らせ+医院概要+アクセス */
/* お知らせ */
.top_news {
  position: relative;
}
.top_news .home_inner{
  position: relative;
  padding: 100px 0 150px;
}
.top_news .home_inner::before{
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -360px;
  width: 633px;
  height: 620px;
  background: var(--bg-color);
}
.top_news hgroup{
  margin-bottom: 48px;
}
.top_news .btn01 a {
  margin: 0;
}
.top_news .top_news_list li{
  border-bottom: 2px dotted #efeeed;
  padding-bottom: 23px;
}
.top_news .top_news_list li:not(:last-child) {
  margin-bottom: 30px;
}
.top_news .top_news_list li a {
  color: var(--text-color);
}
.top_news .top_news_list li a:hover {
  color: var(--main-color);
}
.top_news .top_news_list li span {
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-right: 26px;
}
.top_news .top_news_list li em {
  text-align: center;
  display: inline-block;
  padding: 2.5px 10px;
  font-style: normal;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-right: 26px;
  min-width: 105px;
}

/* 医院概要&アクセス */
.top_info {
  margin-bottom: 100px;
}
.top_info .top_info_left{
  padding: 45px 0 0 50px;
  background: #fff;
}
.top_info address {
  font-style: normal;
}
.top_info .top_info_add {
  line-height: 1.5;
  margin-bottom: 20px;
}
.top_info .top_info_add span{
  margin-right: 1em;
}

.top_info .top_info_tel {
  font-size: 30px;
  font-family: var(--rob);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 17px;
}
.top_info .top_info_tel span{
  font-size: 18px;
}
.top_info .top_info_tel a{
  color: var(--sub-color);
}
.top_info .top_info_tel a:hover{
  color: var(--sub-color);
}
.top_info .top_info_fax {
  font-size: 30px;
  font-family: var(--rob);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 34px;
  color: var(--sub-color);
}
.top_info .top_info_fax span{
  font-size: 18px;
}
.top_info .top_info_free {
  margin-bottom: 20px;
}
.top_info .sche_wrap:not(:last-child) {
  margin-bottom: 30px;
}

/* アクセス */
.top_info .top_access_map {
  text-align: center;
}
.top_info .top_access_map iframe {
  width: 100%;
  height: 400px;
}
.top_info .top_access_guide {
  margin-top: 23px;
  padding: 20px 30px;
  background: #fff;
}
.top_info .top_access_guide li {
  display: flex;
  align-items: center;
  line-height: 1.866;
  letter-spacing: 0.1em;
}
.top_info .top_access_guide li::before{
  content: "";
  min-width: 6px;
  height: 6px;
  background: var(--sub-color);
  border-radius: 3px;
  margin-right: 11px;
}
.top_info .top_access > .btn01 {
  text-align: center;
  margin-top: 20px;
}
.top_info .top_access > .btn01 a {
  margin: 0;
}

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

  /* お知らせ */
  .top_news .top_news_list,
  .top_news .top_news_frame {
    width: 866px;
  }
  .top_news .top_news_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* 医院概要&アクセス */
  .top_info .home_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 50px;
  }
  .top_info .top_info_left{
    width: 50%;
  }
  .top_info .top_info_right {
    width: 550px;
  }
}

@media screen and (max-width: 640px) {
  .top_news {
    margin-top: 50px;
  }
  .top_news .home_inner{
    padding: 100px 5%;
  }
  .top_news .btn01 {
    text-align: center;
    margin-top: 25px;
  }
  .top_news .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .top_info {
    margin-bottom: 50px;
  }
  .top_info .top_info_left {
    margin-bottom: 50px;
    padding: 45px 20px;
  }
}

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

  *ご挨拶

==================================================================================================================================*/
.sec_top_doctor {
  position: relative;
  padding: 350px 0 223px;
  overflow: hidden;
}
.sec_top_doctor::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 91.1%;
  height: 500px;
  background: url(../images/bg_greet_top.jpg) left top / cover;
}
.sec_top_doctor::after{
  content: "";
  position: absolute;
  right: calc((100% - 1200px)/2 + 906px);
  bottom: 0;
  width: 490px;
  height: 338px;
  background: url(../images/acce_doctor01.png) no-repeat center / cover;
}
.sec_top_doctor .home_inner{
  padding: 60px 0 180px 80px;
  background: var(--bg-color);
}
.sec_top_doctor .home_inner::before{
  content: "";
  position: absolute;
  z-index: -1;
  top: 350px;
  right: -360px;
  width: 1000px;
  height: calc(100% - 573px);
  background: var(--bg-color);
}
.sec_top_doctor .home_inner::after{
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: calc((100% - 1200px)/2 + 1140px);
  width: 420px;
  height: 815px;
  background: var(--border-color);
  opacity: 0.2;
}
.sec_top_doctor hgroup{
  margin-bottom: 65px;
}
.top_greeting_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  justify-content: space-between;
}
.top_greeting_flex_img {
  width: 350px;
}
.top_greeting_flex_img img{
  outline: 4px solid rgba(255, 255, 255, 0.3);
  outline-offset: -4px;
}
.top_doctor_name {
  margin-top: 40px;
  font-size: 100%;
  font-family: var(--nog);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
}
.text .top_doctor_name p{
  margin-bottom: 0;
}
.top_doctor_name .carr{
  font-size: 100%;
}
.top_doctor_name .carr span{
  font-size: 110%;
}
.top_doctor_name .name{
  font-size: 24px;
}
.top_doctor_name .name span{
  font-size: 16px;
}
.top_greeting_flex_text {
  width: 690px;
}
.top_greeting_flex_text .text {
  margin-bottom: 50px;
  font-family: var(--nog);
  font-weight: 400;
  font-size: 100%;
  line-height: 2.25;
  letter-spacing: 0.1em;
}
.top_greeting_flex_text .text h3{
  color: var(--main-color);
  font-family: var(--nom);
  font-weight: 200;
  font-size: 20px;
  line-height: 2.2;
  letter-spacing: 0.1em;
  margin-bottom: 50px;
}
.top_greeting_flex_text .text p:not(:last-of-type){
  margin-bottom: 1.5em;
}
.top_greeting_flex_text .btn01 a{
  margin: 0;
}

@media screen and (max-width: 640px) {
  .sec_top_doctor {
    padding: 150px 0 100px;
  }
  .sec_top_doctor::before{
    height: 200px;
  }
  .sec_top_doctor::after{
    right: auto;
    left: 0;
    width: 261px;
    height: 180px;
  }
  .sec_top_doctor .home_inner{
    padding: 60px 5% 100px;
  }
  .sec_top_doctor hgroup{
    text-align: center;
  }
  .top_greeting_flex {
    display: block;
  }

  .top_greeting_flex_img {
    max-width: 350px;
    width: 100%;
    margin:0 auto 20px;
  }

  .top_greeting_flex_text {
    width: 100%;
  }
  .top_greeting_flex_text .btn01 {
    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_feature {
  position: relative;
  overflow: hidden;
  padding: 185px 0 300px;
}
.sec_top_feature::before{
  content: "";
  position: absolute;
  z-index: -1;
  top: 236px;
  right: calc((100% - 1200px)/2 + 275px);
  width: 1284px;
  height: calc(100% - 236px);
  background: url(../images/bg_stone.jpg);
}
.sec_top_feature .home_inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: calc((100% - 1200px) / 2 + 1140px);
    width: 420px;
    height: 794px;
    background: var(--border-color);
    opacity: 0.2;
}
.sec_top_feature hgroup{
  text-align: center;
  margin-bottom: 90px;
}
.top_feature_item {
  position: relative;
}

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

/* 当院の特徴パターンB(写真と文章分離、1コンテンツ横幅フル) */
.sec_top_feature.pattern02 .top_feature_item {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 180px;
}
.sec_top_feature.pattern02 .top_feature_item::after{
  content: "";
  position: absolute;
  z-index: -1;
  width: 1200px;
  height: 410px;
  top: 164px;
}
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(1){
  margin-bottom: 130px;
}
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(1)::after,
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(4)::after{
  background: var(--border-color);
  opacity: 0.4;
}
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(2)::after,
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(5)::after{
  background: var(--main-color);
  opacity: 0.2;
}
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(3)::after,
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(6)::after{
  background: var(--sub-color);
  opacity: 0.2;
}
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(1)::after,
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(3)::after,
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(5)::after{
  right: 360px;
}
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(2)::after,
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(4)::after,
.sec_top_feature.pattern02 .top_feature_item:nth-of-type(6)::after{
  left: 360px;
}


.sec_top_feature.pattern02 .top_feature_item:last-child {
  margin-bottom: 0;
}
.sec_top_feature.pattern02 .top_feature_num {
  position: absolute;
  z-index: 1;
  left: auto;
  right: 10px;
  top: -44px;
}
.sec_top_feature.pattern02 .top_feature_num img{
  max-width: unset;
  width: auto;
  height: 66px;
}
.sec_top_feature.pattern02 .top_feature_img {
  position: relative;
  z-index: 1;
  width: 50%;
  margin-right: -80px;
}
.sec_top_feature.pattern02 .top_feature_box {
  margin-top: 77px;
  position: relative;
  display: flex;
  flex-flow: column wrap;
  width: 680px;
  background: #fff;
  padding: 60px 41px 50px 80px;
  min-height: 400px;
}
.sec_top_feature.pattern02 .top_feature_box h3{
  padding-left: 60px;
  padding-bottom: 25px;
  color: var(--main-color);
  font-family: var(--nom);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.905;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--sub-color);
  margin-bottom: 20px;
}
.sec_top_feature.pattern02 .top_feature_box .top_feature_text p{
  padding-left: 60px;
  font-size: 15px;
  line-height: 2.133;
  letter-spacing: 0.05em;
  margin-bottom: 60px;
}
.sec_top_feature.pattern02 .top_feature_box .btn01{
  text-align: right;
  margin: auto 0 0;
}
.sec_top_feature.pattern02 .top_feature_box .btn01 a{
  margin: 0;
}
/* 左右互い違いパターン */
.top_feature_wrap.reverse .top_feature_item:nth-child(even) {
  flex-direction: row-reverse;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_img {
  margin-right: 0;
  margin-left: -80px;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_num {
  position: absolute;
  left: 20px;
  right: auto;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_box{
  padding: 60px 80px 50px 41px;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_box h3{
  padding-left: 0;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_box p{
  padding-left: 0;
  padding-right: 65px;
}
.top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_box .btn01{
  text-align: left;
}

@media screen and (max-width: 640px) {
  .sec_top_feature::before{
    width: 60%;
    right: auto;
    left: 0;
  }
  .sec_top_feature.pattern02 .top_feature_item {
    margin-bottom: 60px;
    flex-direction: column;
  }
  .sec_top_feature.pattern02 .top_feature_item::after{
    display: none;
  }
  .sec_top_feature.pattern02 .top_feature_item:nth-of-type(1){
    margin-bottom: 60px;
  }
  .sec_top_feature.pattern02 .top_feature_img {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .sec_top_feature.pattern02 .top_feature_box {
    margin-top: 10px;
    width: 100%;
    min-height: unset;
    padding: 50px 20px;
  }
  .sec_top_feature.pattern02 .top_feature_box h3 {
    font-size: 18px;
    width: 100%;
    margin: 0 auto 20px;
    padding-left: 0;
  }
  .sec_top_feature.pattern02 .top_feature_box .top_feature_text p{
    padding-left: 0;
  }
  .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;
  }
  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_box{
    padding: 50px 20px;
  }
  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_box p{
    padding-right: 0;
  }
  .top_feature_wrap.reverse .top_feature_item:nth-child(even) .top_feature_box .btn01{
    text-align: center;
  }
}
/*==================================================================================================================================

  *診療案内

==================================================================================================================================*/
.sec_top_medical {
  padding: 105px 0 210px;
  background: var(--bg-color);
}
.sec_top_medical .sec_top_medical_flex {
  display: flex;
  flex-wrap: wrap;
}
.sec_top_medical hgroup{
  text-align: center;
  margin-bottom: 60px;
}

/* 診療案内パターンA(アイコンを目立たせるタイプ) */
.sec_top_medical.pattern01 .sec_top_medical_flex{
  justify-content: center;
  gap: 40px 26px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item {
  width: 280px;
  padding: 5px;
  background: url(../images/corner01.png) no-repeat left top,
  url(../images/corner02.png) no-repeat right top,
  url(../images/corner03.png) no-repeat right bottom,
  url(../images/corner04.png) no-repeat left bottom;
  transition: 0.2s ease-in-out;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  height: 100%;
  padding: 30px 0 25px;
  background: #fff;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .item_img{
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #c7ac59;
  margin: 0 auto 35px;
  transition: background 0.2s;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(2) a .item_img,
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(4) a .item_img,
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(5) a .item_img,
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(7) a .item_img{
  background: var(--border-color);
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .item_img::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 130px;
  height: 130px;
  background: #ffffff;
  transition: background 0.2s;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(1) a .item_img::before{
  -webkit-mask: url("../images/mask_medical01.png") no-repeat center/cover;
  mask: url("../images/mask_medical01.png") no-repeat center/cover;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(2) a .item_img::before{
  -webkit-mask-image: url("../images/mask_medical02.png");
  mask-image: url("../images/mask_medical02.png");
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(3) a .item_img::before{
  -webkit-mask-image: url("../images/mask_medical03.png");
  mask-image: url("../images/mask_medical03.png");
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(4) a .item_img::before{
  -webkit-mask-image: url("../images/mask_medical04.png");
  mask-image: url("../images/mask_medical04.png");
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(5) a .item_img::before{
  -webkit-mask-image: url("../images/mask_medical05.png");
  mask-image: url("../images/mask_medical05.png");
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(6) a .item_img::before{
  -webkit-mask-image: url("../images/mask_medical06.png");
  mask-image: url("../images/mask_medical06.png");
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(7) a .item_img::before{
  -webkit-mask-image: url("../images/mask_medical07.png");
  mask-image: url("../images/mask_medical07.png");
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(8) a .item_img::before{
  -webkit-mask-image: url("../images/mask_medical08.png");
  mask-image: url("../images/mask_medical08.png");
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 {
  color: var(--text-color);
  font-family: var(--nog);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.1em;
  margin: 0 auto 12px;
  transition: 0.2s ease;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a p {
  margin-bottom: 20px;
  transition: 0.2s ease;
}
.sec_top_medical p.top_medical_menu_en_title {
  display: block;
  font-weight: normal;
  text-align: center;
  color: var(--border-color);
  font-family: var(--rob);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 50px;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01 {
  text-align: center;
  position: relative;
  color: var(--text-color);
  padding-left: 40px;
  margin: auto auto 0;
  transition: 0.2s;
  font-family: var(--nog);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01::before,
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: 0.2s ease-in-out;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01::before{
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--border-color);
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01::after{
  left: 22px;
  width: 13px;
  height: 13px;
  background: url(../images/btn_arrow_dots.png) no-repeat center / cover;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a:hover .btn01 {
  color: #fff;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a:hover .btn01::after{
  left: -5px;
}

@media (hover: hover){
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:hover{
    padding: 1px;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:hover a{
    background: rgba(199, 172, 89, 0.5);
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:hover a h3,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:hover a p{
    color: #fff;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:hover a .item_img{
    background: #fff;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(2):hover a .item_img,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(4):hover a .item_img,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(5):hover a .item_img,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(7):hover a .item_img{
    background: #fff;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:hover a .item_img::before{
    background: #c7ac59;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(2):hover a .item_img::before,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(4):hover a .item_img::before,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(5):hover a .item_img::before,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(7):hover a .item_img::before{
    background: var(--border-color);
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(2):hover a,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(4):hover a,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(5):hover a,
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(7):hover a{
    background: rgba(167, 159, 155, 0.6);
  }
}

@media screen and (max-width: 640px) {
  .sec_top_medical{
    padding: 100px 0;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex {
    gap: 20px 2%;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item {
    width: 49%;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a h3{
    font-size: 16px;
  }
  .sec_top_medical p.top_medical_menu_en_title{
    font-size: 10px;
  }
}


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

  *症状・疾患から探す

==================================================================================================================================*/
.sec_top_search{
  position: relative;
  overflow: hidden;
  padding: 430px 0 200px;
}
.sec_top_search::before{
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -50%;
  right: -50%;
  margin: auto;
  width: 1920px;
  height: 500px;
  background: url(../images/bg_search.jpg) no-repeat center / cover;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 100%,
    calc(100% - 9.375%) 100%,
    calc(100% - 9.375%) calc(100% - 36.4%),
    9.375% calc(100% - 36.4%),
    9.375% 100%,
    0% 100%
  );
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 100%,
    calc(100% - 9.375%) 100%,
    calc(100% - 9.375%) calc(100% - 36.4%),
    9.375% calc(100% - 36.4%),
    9.375% 100%,
    0% 100%
  );
}
.sec_top_search hgroup{
  text-align: center;
  margin-bottom: 60px;
}
.tab-container {
  max-width: 1200px;
  margin: auto;
  font-family: sans-serif;
}

/* ラジオボタンを非表示 */
.tab-container input[type="radio"] {
  display: none;
}

/* タブラベル */
.tab-labels {
  display: flex;
  justify-content: space-between;
  gap: 0 20px;
  margin-bottom: 10px;
}

.tab-labels label {
  flex: 1;
  padding: 1em;
  text-align: center;
  cursor: pointer;
  color: #fff;
  font-family: var(--nog);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.1em;
  background: var(--border-color);
  border-bottom: none;
  transition: 0.2s ease-in-out;
}

.tab-labels label:hover {
  opacity: 0.8;
}

/* 選択中のタブラベル */
#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"] {
  background: #c8a063;
}

.tab-content {
  padding: 50px 40px;
  background: var(--bg-color);
}
@media print, screen and (min-width: 641px){
  .tab-content {
    min-height: 520px;
  }
}

.tabpanel {
  display: none;
}

#tab1:checked ~ .tab-content #panel1,
#tab2:checked ~ .tab-content #panel2,
#tab3:checked ~ .tab-content #panel3 {
  display: block;
}

.list_search{
  display: flex;
  flex-wrap: wrap;
  gap: 36px 26px;
}
.list_search li{
  width: 260px;
}
.list_search li a{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
  padding-left: 32px;
  height: 52px;
  margin: 0;
  color: var(--text-color);
  font-family: var(--nog);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.411;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}
.list_search li a span{
  display: inline-block;
  line-height: 1;
  font-size: 15px;
}
.list_search li a::before{
  width: 21px;
  height: 22px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  display: block;
  background: var(--sub-color) url("../images/icon_arrow_search.png") no-repeat center/cover;
  transition: background 0.2s;
  border-radius: 50%;
}
@media (hover: hover){
  .list_search li a:hover::before{
    background-color: var(--main-color);
  }
  .list_search li a:hover{
    color: var(--main-color);
  }
}

@media screen and (max-width: 640px){
  .sec_top_search{
    padding: 200px 0 100px;
  }
  .sec_top_search::before{
    width: 100%;
    height: 250px;
  }
  .tab-labels{
    gap: 0 10px;
  }
  .tab-content{
    padding: 50px 20px;
  }
  .list_search{
    gap: 20px 2%;
  }
  .list_search li{
    width: 49%;
  }
  .list_search li a{
    font-size: 14px;
    min-height: 52px;
    height: auto;
    line-height: 1.3;
    text-align: left;
    padding: 5px 0 5px 20px;
  }
  .list_search li a::before{
    width: 16px;
    height: 16px;
  }
  .list_search li a span{
    font-size: 80%;
  }
}

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

  *医療コラム

==================================================================================================================================*/
.sec_top_column {
  position: relative;
  z-index: 0;
  padding-top: 105px;
  padding-bottom: 120px;
  background: url(../images/bg_column.jpg);
}
.sec_top_column::before{
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: calc(100% - 40px);
  background: rgba(255, 255, 255, 0.6);
}
.sec_top_column hgroup{
  text-align: center;
  margin-bottom: 65px;
}
.column_list_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 32px;
}
.column_list_flex dl {
  width: 270px;
  margin-bottom: 20px;
}
.column_list_flex dt {
  background: var(--border-color);
  color: #fff;
  font-family: var(--nog);
  font-size: 100%;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 9px 0;
  margin-bottom: 11px;
}
.column_list_flex dd {
}
.column_list_flex dd ul li {
  position: relative;
  line-height: 2;
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid var(--border-color);
}
.column_list_flex dd ul li:not(:last-of-type){
  margin-bottom: 13px;
}
.column_list_flex dd ul li a {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-color);
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 6.5px 0;
}
@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 {
  overflow: hidden;
}

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