@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{
  text-align: center;
}
hgroup p{
  color: var(--main-color);
  font-size: 20px;
  font-family: var(--qui);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
hgroup h2{
  font-size: 32px;
  font-family: var(--zen);
  font-weight: 500;
  letter-spacing: 0.2em;
}

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

  *メインビジュアル

==================================================================================================================================*/
.head_mv{
  background: url(../images/bg_info.jpg) no-repeat center top 174px;
}
.home_mv {
  position: relative;
  max-width: 1870px;
  width: 97.4%;
/* 	width: 50%; */
/*   height: 760px; */
	aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 20px;
  margin: auto;
}

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

    width: 100%;
    height: 100%;
}
.main_mov {
	video {
		width:100%;
	}
}

/*　スライダー */
.slider-fade .slick-slide img {
  width: 100%;
  height: 760px;
  -o-object-fit: cover;
     object-fit: cover;
}

/*　キャッチコピー　*/
.main_catch {
  position: absolute;
  left: 0;
  top: 90px;
  width: 100%;
  max-width: 550px;
  height: 350px;
  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-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;
}

.mv_point{
  position: absolute;
  left: 0;
  bottom: 47px;
  display: flex;
  align-items: flex-end;
  gap: 0 25px;
}
.mv_point a:hover{
  opacity: 0.8;
}

@media screen and (max-width: 640px) {
  .home_mv {
/*     height: 450px; */
    border-radius: 0;
  }

  .home_mv_main {
	  position: relative;
    width: 100%;
	  top:-244px;
  }

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

  /* キャッチフレーズ */
  .main_catch {
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: auto;
    height: 330px;
    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{
	  position:relative;
/*     bottom: 10px;
    left: 0;
    right: 0; */
	top:unset;
	bottom:unset;
    margin: auto;
    gap: 0 5px;
    padding: 20px 10px;
	justify-content: center;
  }
  .mv_point .item:nth-of-type(1){
    width: 170px;
  }
  .mv_point .item:nth-of-type(2){
    width: 150px;
  }
}

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

  *スマホのみのエリア

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

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

  *お知らせ

==================================================================================================================================*/
/* パターンA(pattern01) お知らせのみ */
.top_news.pattern01 {
  padding-top: 100px;
  padding-bottom: 66px;
  background: url(../images/bg_info.jpg) no-repeat center top -726px;
}
.top_news.pattern01 hgroup{
  margin-bottom: 20px;
  padding-top: 85px;
  background: url(../images/tit01.png) no-repeat center top;
}
.top_news.pattern01 .home_inner .btn01 a {
  margin: 0;
  background: #f8a065;
  min-width: 220px;
  padding: 4px 30px;
}
.top_news.pattern01 .home_inner .btn01 a i{
  margin-right: 10px;
}
.top_news.pattern01 .home_inner .btn01 a:hover{
  background: var(--main-color);
}
.top_news.pattern01 .home_inner .btn01 a::before{
  display: none;
}
.top_news.pattern01 .top_news_list li{
  transition: 0.2s;
  background: #fff url(../images/icon_arrow_gr.png) no-repeat right 30px center;
  border-bottom: 1px solid #b7e1f3;
  border-radius: 10px;
  padding: 17px 45px 17px 40px;
  pointer-events: none;
}
.top_news.pattern01 .top_news_list li:nth-of-type(even){
  background-image: url(../images/icon_arrow_or.png);
}
.top_news.pattern01 .top_news_list li:not(:last-child) {
  margin-bottom: 10px;
}
.top_news.pattern01 .top_news_list li:hover{
  background-position: right 25px center 
}
.top_news.pattern01 .top_news_list li a {
  color: var(--text-color);
  pointer-events: all;
}
.top_news.pattern01 .top_news_list li a:hover {
  color: var(--main-color);
}
.top_news.pattern01 .top_news_list li span {
  color: #a6a6a6;
  font-size: 18px;
  font-family: var(--qui);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-right: 20px;
}
.top_news.pattern01 .top_news_list li em {
  text-align: center;
  display: inline-block;
  padding: 4px 10px;
  font-style: normal;
  font-size: 100%;
  margin-right: 20px;
  border-radius: 5px;
  min-width: 160px;
}

@media print, screen and (min-width: 641px) {
  .top_news.pattern01 .home_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .top_news.pattern01 .top_news_list,
  .top_news.pattern01 .top_news_frame {
    width: 886px;
  }
  .top_news.pattern01 .top_news_list li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 640px) {
  .top_news.pattern01 {
    padding-top: 50px;
    padding-bottom: 50px;
    background-position: center top -410px;
  }

  .top_news.pattern01 .home_inner > .btn01 {
    text-align: center;
    margin-top: 25px;
  }
  .top_news.pattern01 .top_news_list li{
    pointer-events: unset;
    padding: 15px 30px 5px;
    background-position: right 15px center;
  }
  .top_news.pattern01 .top_news_list li em{
    min-width: 120px;
  }
  .top_news.pattern01 .top_news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 10px 0;
  }
}
/*==================================================================================================================================

  *診療案内

==================================================================================================================================*/
.sec_top_medical {
  position: relative;
  z-index: 1;
  /* overflow: hidden; */
  padding: 28px 0 120px;
}
.sec_top_medical::before{
  content: "";
  z-index: -2;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: calc(100% - 60px);
  height: calc(100% - 52px);
  background: url(../images/bg_med.jpg) no-repeat center / cover;
  border-radius: 20px;
}
.sec_top_medical::after{
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/acce_med_tree01.png) no-repeat right top,
  url(../images/acce_med_tree02.png) no-repeat left bottom -76px;
}
.sec_top_medical hgroup{
  padding-top: 155px;
  background: url(../images/tit02.png) no-repeat center top;
  margin-bottom: 55px;
}
.sec_top_medical .sec_top_medical_flex {
  display: flex;
  flex-wrap: wrap;
}

.sec_top_medical .home_inner{
  position: relative;
}
.sec_top_medical .home_inner::after{
  content: "";
  position: absolute;
  bottom: -140px;
  right: -126px;
  width: 188px;
  height: 212px;
  background: url(../images/acce_bear.png) no-repeat center / cover;
}
/* 診療案内パターンA(アイコンを目立たせるタイプ) */
.sec_top_medical.pattern01 .sec_top_medical_flex{
  justify-content: center;
  gap: 30px 45px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item {
  position: relative;
  width: 370px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(3)::before{
  content: "";
  position: absolute;
  top: -86px;
  right: 22px;
  width: 86px;
  height: 94px;
  background: url(../images/acce_rabit.png) no-repeat center / cover;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(7)::before{
  content: "";
  position: absolute;
  top: -49px;
  left: 0;
  width: 92px;
  height: 58px;
  background: url(../images/acce_hog.png) no-repeat center / cover;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  border: 2px solid #c4e9c5;
  padding: 30px 0 35px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .item_img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  max-width: 128px;
  height: auto;
  aspect-ratio: 1 / 1;
  margin:0 auto 20px;
  background: url(../images/icon_med_bg01.png) no-repeat center / cover;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(even) a .item_img{
  background-image: url(../images/icon_med_bg02.png);
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a h3 {
  color: #795c45;
  font-size: 24px;
  font-family: var(--zen);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: 0 auto;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .top_medical_menu_en_title {
  text-align: center;
  color: #f28b89;
  font-size: 13px;
  font-family: var(--qui);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  margin-bottom: 25px;
}

.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01 {
  display: inline-block;
  padding: 8px 45px 8px 30px;
  margin: auto auto 0;
  background-color: var(--main-color);
  color: #fff;
  position: relative;
  border-radius: 100px;
  font-family: var(--zen);
  font-weight: 500;
  letter-spacing: 0.05em;
  max-width: 220px;
  text-align: center;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(even) a .btn01{
  background-color: #70be95;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01:before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
  background: url(../images/icon_arrow_wh.svg) no-repeat center / cover;
  transition: 0.2s ease-in-out;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a ul{
  column-count: 2;
  margin:0 auto 25px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a ul li{
  display: flex;
  align-items: baseline;
  gap: 0 9px;
  color: var(--text-color);
  break-inside: avoid;
  letter-spacing: 0.025em;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item a ul li::before{
  position: relative;
  top: 3px;
  content: "";
  min-width: 18px;
  height: 18px;
  background: url(../images/icon_check01.png) no-repeat center / cover;
}

/* リストの幅調整 */
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(4) a ul{
  max-width: 295px;
  white-space: nowrap;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(5) a ul{
  max-width: 310px;
  white-space: nowrap;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(9) a ul{
  max-width: 320px;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(9) a ul li:nth-of-type(3){
  white-space: nowrap;
}
.sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(even) a ul li::before{
  background-image: url(../images/icon_check02.png);
}
@media (hover: hover) {
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01 {
    transition: 0.2s ease-in-out;
  }

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

@media screen and (max-width: 1457px) {
	.sec_top_medical .home_inner::after {
    right: 0;
    width: 142px;
    height: 202px;
    background: url(../images/acce_bear.png) no-repeat center / contain;
}
}

@media (min-width: 641px) and (max-width: 1024px) {
  .sec_top_medical .home_inner::after{
    bottom: -180px;
    right: 0px;
  }
}

@media screen and (max-width: 640px) {
  .sec_top_medical::before{
    width: 95%;
    height: calc(100% - 85px);
    top: 0;
    bottom: 0;
    margin: auto;
  }
  .sec_top_medical::after{
    background-size: 200px auto,200px auto;
    background-position: right top,left bottom;
  }
  .sec_top_medical .home_inner::after{
    right: 10px;
    bottom: -110px;
    width: 90px;
    height: 101px;
  }
  .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 {
    padding: 30px 5px 35px;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(3)::before{
    top: -45px;
    width: 60px;
    height: 66px;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(7)::before{
    top: -30px;
    width: 70px;
    height: 44px;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a h3{
    font-size: min(4.5vw, 18px);
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a .top_medical_menu_en_title {
	font-size: 11px;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a ul{
    column-count: 1;
    white-space: wrap!important;
	text-align: left!important;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item:nth-of-type(9) a ul li:nth-of-type(3){
    white-space: wrap;
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01 {
    padding: 8px 35px 8px 20px;
	font-size: min(3.5vw, 14px);
  }
  .sec_top_medical.pattern01 .sec_top_medical_flex .item a .btn01:before {
	width: 20px;
	height: 20px;
  }
}

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

  *当院の特徴

==================================================================================================================================*/
.sec_top_feature {
  position: relative;
  overflow: hidden;
  padding: 50px 0 135px;
  background: url(../images/acce_med_tree02.png) no-repeat left top -403px,
  url(../images/bg_feature01.jpg) no-repeat right top,
  url(../images/bg_feature02.png) no-repeat left 78px top 657px,
  url(../images/bg_feature03.png) no-repeat right 108px bottom 506px,
  url(../images/bg_feature04.jpg) no-repeat left bottom;
}

.sec_top_feature hgroup{
  margin-bottom: 65px;
  padding-top: 143px;
  background: url(../images/tit03.png) no-repeat center top;
}

.top_feature_item {
  position: relative;
  z-index: 0;
}
.top_feature_item::after{
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 110px);
  border-radius: 20px;
}

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

.top_feature_item:nth-of-type(1)::after{
  background: url(../images/bg_item_feature01.jpg) no-repeat center / cover;
}
.top_feature_item:nth-of-type(1)::before{
  content: "";
  position: absolute;
  z-index: -2;
  left: -41px;
  bottom: 19px;
  width: 186px;
  height: 122px;
  background: url(../images/acce_risu.png) no-repeat center / cover;
}
.top_feature_item:nth-of-type(2)::after{
  background: url(../images/bg_item_feature02.jpg) no-repeat center / cover;
}
.top_feature_item:nth-of-type(3)::after{
  background: url(../images/bg_item_feature03.jpg) no-repeat center / cover;
}
.top_feature_item:nth-of-type(4)::after{
  background: url(../images/bg_item_feature04.jpg) no-repeat center / cover;
}
.top_feature_item:nth-of-type(5)::after{
  background: url(../images/bg_item_feature01.jpg) no-repeat center / cover;
}
.top_feature_item:nth-of-type(6)::after{
  background: url(../images/bg_item_feature02.jpg) no-repeat center / cover;
}
.top_feature_item:nth-of-type(6)::before{
  content: "";
  position: absolute;
  z-index: -2;
  right: -117px;
  bottom: 0;
  width: 256px;
  height: 241px;
  background: url(../images/acce_fox.png) no-repeat center / cover;
}


/* 当院の特徴パターンA(写真と文章分離、並列並び) */
.sec_top_feature.pattern01 .top_feature_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 45px;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item {
  display: flex;
  flex-flow: column wrap;
  width: 370px;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_num {
  /* 枠上のナンバリング */
  position: absolute;
  left: 0;
  top: -35px;
  text-align: center;
}

.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_img {
  max-width: 320px;
  height: 220px;
  margin:0 auto 20px;
  overflow: hidden;
  border-radius: 20px;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item h3 {
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-family: var(--zen);
  font-weight: 500;
  line-height: 1.818;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box {
  position: relative;
  padding: 0 25px 35px;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box p{
  color: #fff;
  line-height: 1.875;
  letter-spacing: 0.05em;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .top_feature_text{
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-start;
  align-items: center;
  min-height: 280px;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list{
  display: flex;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 20px;
  width: 100%;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list li{
  width: 100%;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list.col2 li{
  width: calc((100% - 10px)/2);
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list.col3{
  flex-wrap: wrap;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list.col3 li{
  width: calc((100% - 10px)/2);
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list.col3 li:first-of-type{
  width: 100%;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list .btn01 a{
  display: block;
  width: 100%;
  margin: 0;
  color: #fff;
  padding: 8px 10px;
  border: 2px solid #fff;
  border-radius: 50px;
  background: none;
  min-width: unset;
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list .btn01 a:hover{
  background: rgba(255, 255, 255, 0.3);
}
.sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list .btn01 a::before{
  display: none;
}

@media screen and (max-width: 640px) {
  .sec_top_feature{
    background: url(../images/bg_feature01.jpg) no-repeat right top / 100% auto,
  url(../images/bg_feature02.png) no-repeat left 10px top 657px,
  url(../images/bg_feature03.png) no-repeat right 10px bottom 506px,
  url(../images/bg_feature04.jpg) no-repeat left bottom / 100% auto;
  }
  .sec_top_feature.pattern01 .top_feature_wrap .top_feature_item {
    width: 100%;
  }
  .sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .top_feature_text{
    min-height: unset;
  }
  .sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box p{
    margin-bottom: 20px;
  }
  .sec_top_feature.pattern01 .top_feature_wrap .top_feature_item h3{
    font-size: 20px;
  }
  .top_feature_item:nth-of-type(1)::before{
    display: none;
  }
  .top_feature_item:nth-of-type(6)::before{
    display: none;
  }
  .sec_top_feature.pattern01 .top_feature_wrap .top_feature_item .top_feature_box .btn_list {
	padding-top: 0;
  }
}

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

  *病名・症状から探す

==================================================================================================================================*/
.sec_top_search{
  padding: 80px 0 120px;
  background: url(../images/bg_search.jpg) no-repeat center / cover;
}

.sec_top_search hgroup{
  padding-top: 107px;
  background: url(../images/tit04.png) no-repeat center top;
  margin-bottom: 45px;
}

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

/* タブラベル */
.tab-labels {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 30px;
}

.tab-labels label {
  text-align: center;
  cursor: pointer;
  border-bottom: none;
  transition: background 0.3s;
  color: #fff;
  font-family: var(--zen);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.2em;
  text-align: center;
  max-width: 280px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  padding: 16px 0;
  transition: 0.2s ease;
}
.tab-labels label::after{
  display: none;
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  width: 15px;
  height: 12px;
  margin: auto;
  clip-path: polygon(0% 0%,100% 0%,50% 100%,0% 0%);
}

label[for="tab01"]{
  background: rgba(134, 202, 213, 0.7);
}
label[for="tab01"]::after{
  background: rgba(134, 202, 213, 1);
}
label[for="tab02"]{
  background: rgba(235, 142, 142, 0.7);
}
label[for="tab02"]::after{
  background: #f1a5ac;
}
label[for="tab03"]{
  background: rgba(241, 191, 118, 0.7);
}
label[for="tab03"]::after{
  background: rgba(241, 191, 118, 1);
}
label[for="tab04"]{
  background: rgba(168, 210, 140, 0.7);
}
label[for="tab04"]::after{
  background: rgba(168, 210, 140, 1);
}

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

/* 選択中のタブラベル */
#tab01:checked ~ .tab-labels label[for="tab01"]{
  background: rgba(134, 202, 213, 1);
}
#tab01:checked ~ .tab-labels label[for="tab01"]::after{
  display: block;
}
#tab02:checked ~ .tab-labels label[for="tab02"]{
  background: #f1a5ac;
}
#tab02:checked ~ .tab-labels label[for="tab02"]::after{
  display: block;
}
#tab03:checked ~ .tab-labels label[for="tab03"]{
  background: rgba(241, 191, 118, 1);
}
#tab03:checked ~ .tab-labels label[for="tab03"]::after{
  display: block;
}
#tab04:checked ~ .tab-labels label[for="tab04"]{
  background: rgba(168, 210, 140, 1);
}
#tab04:checked ~ .tab-labels label[for="tab04"]::after{
  display: block;
}

.tab-content {
  max-width: 1870px;
  width: 97.4%;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  margin: auto;
  padding: 70px 0;
}

.tab-content .home_inner{
  display: flex;
  flex-wrap: wrap;
  gap: 40px 70px;
}

.tab-content img{
  border-radius: 10px;
}

.tab-content .btn_list{
  max-width: 670px;
  width: 100%;
}
.tab-content .btn_list ul{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tab-content .btn_list a{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.075em;
  text-align: center;
  width: 160px;
  height: 60px;
  border-radius: 10px;
}
.tab-content .btn_list a:hover{
  opacity: 0.8;
}
#panel01 .btn_list a{
  background: rgba(134, 202, 213, 1);
}
#panel02 .btn_list a{
  background: #f1a5ac;
}
#panel03 .btn_list a{
  background: rgba(241, 191, 118, 1);
}
#panel04 .btn_list a{
  background: rgba(168, 210, 140, 1);
}

.tabpanel {
  display: none;
}

#tab01:checked ~ .tab-content #panel01,
#tab02:checked ~ .tab-content #panel02,
#tab03:checked ~ .tab-content #panel03,
#tab04:checked ~ .tab-content #panel04 {
  display: block;
}

@media screen and (max-width: 640px) {
  .tab-labels{
    flex-wrap: wrap;
    padding: 0 10px;
    gap: 20px 10px;
    justify-content: center;
  }
  .tab-labels label{
    font-size: 18px;
    width: calc(50% - 5px);
    max-width: 200px;
  }
  .tabpanel .img{
    width: 100%;
    height: 300px;
  }
  .tabpanel .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .tab-content{
    padding: 50px 0;
  }
	.tab-content .btn_list ul {
    justify-content: center;
}
  .tab-content .btn_list li{
    max-width: 180px;
    width: calc(50% - 5px);
  }
  .tab-content .btn_list a{
    width: 100%;
  }
}
/*==================================================================================================================================

  *ご挨拶

==================================================================================================================================*/
.bg_wrap{
  position: relative;
  background: url(../images/acce_greet_tree02.png) no-repeat left top 922px,
  url(../images/bg_greet.jpg) no-repeat center top / cover;
}
.bg_wrap::before{
  content: "";
  position: absolute;
  z-index: 1;
  top: 254px;
  right: 0;
  width: 557px;
  height: 438px;
  background: url(../images/acce_greet_tree01.png) no-repeat center / cover;
}
.sec_top_doctor {
  padding: 90px 0 60px;
}
.sec_top_doctor hgroup{
  padding-top: 95px;
  background: url(../images/tit05.png) no-repeat center top;
  margin-bottom: 32px;
}
.top_greeting_flex {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
.top_greeting_flex_img {
  position: relative;
  width: 442px;
  margin-bottom: 20px;
}
.top_greeting_flex_img::after{
  content: "";
  position: absolute;
  bottom: -27px;
  right: -105px;
  width: 188px;
  height: 212px;
  background: url(../images/acce_bear.png) no-repeat center / cover;
}
.top_greeting_flex_img .top_doctor_img img{
  border-radius: 20px;
}
.top_doctor_name {
  position: relative;
  color: #07913a;
  font-family: var(--zen);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.842;
  text-align: left;
  font-size: 19px;
  padding-left: 170px;
  margin-top: 40px;
}
.top_doctor_name::before{
  content: "";
  position: absolute;
  top: -77px;
  left: 18px;
  width: 101px;
  height: 171px;
  background: url(../images/name_logo.png) no-repeat center / cover;
}
.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: 100%;
}
.top_doctor_name .name span{
  font-size: 80%;
}
.top_greeting_flex_text {
  margin-top: 25px;
  width: 715px;
}
.top_greeting_flex_text h3{
  color: #07913a;
  font-family: var(--zen);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}
.top_greeting_flex_text .text {
  margin-bottom: 30px;
  line-height: 2.3125;
  letter-spacing: 0.025em;
}

.top_greeting_flex_text .btn01 a{
  margin: 0;
}

@media screen and (max-width: 1457px) {
	.top_greeting_flex_img::after {
    right: -32px;
    width: 124px;
    background: url(../images/acce_bear.png) no-repeat center / contain;
}
}
@media (min-width: 641px) and (max-width: 1024px) {
  .top_greeting_flex_img::after{
    width: 90px;
    height: 101px;
    bottom: 73px;
    right: 0px;
  }
}
@media screen and (max-width: 640px) {
  .bg_wrap{
    background-position: left top 55%,center top;
    background-size: 250px auto,auto;
  }
  .bg_wrap::before{
    top: 100px;
    width: 250px;
    height: 197px;
  }
  .sec_top_doctor {
    padding: 80px 0 50px;
  }

  .top_greeting_flex {
    display: block;
  }

  .top_greeting_flex_img {
    width: 100%;
  }

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

  .top_doctor_img {
    text-align: center;
  }
  .top_greeting_flex_img::after{
    bottom: 80px;
    right: -5px;
    width: 90px;
    height: 101px;
  }
  .top_doctor_name {
    margin-top: 30px;
    padding-left: 120px;
  }
  .top_doctor_name::before{
    top: -60px;
    width: 80px;
    height: 135px;
  }
  .top_greeting_flex_text h3{
    font-size: 20px;
  }
}


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

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

  *医療コラム

==================================================================================================================================*/
.sec_top_column {
  padding-top: 60px;
  padding-bottom: 110px;
}
.sec_top_column hgroup{
  padding-top: 105px;
  background: url(../images/tit06.png) no-repeat center top;
  margin-bottom: 50px;
}

.column_list_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 26px;
}
.column_list_flex dl {
  width: 280px;
  border-radius: 10px;
  overflow: hidden;
}
.column_list_flex dt {
  background: #a8de99;
  color: #fff;
  font-family: var(--zen);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-align: center;
  padding: 15px 0;
}
.column_list_flex dl:nth-of-type(even) dt{
  background: #59bd7c;
}
.column_list_flex dd {
  /* padding: 10px; */
}
.column_list_flex dd ul li {
  position: relative;
  line-height: 2;
  display: flex;
  align-items: baseline;
  background: #fff;
  border-bottom: 1px solid #e5ecf0;
  padding: 13px 30px;
}
.column_list_flex dd ul li::before {
  content: "";
  min-width: 10px;
  height: 10px;
  background: #8ed07d;
  clip-path: polygon(0% 0%,100% 50%,0% 100%,0% 0%);
  margin-right: 10px;
}
.column_list_flex dl:nth-of-type(even) dd ul li::before{
  background: #56bd7b;
}
.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: 40px 0;
  }
  .column_list_flex dl {
    /* width: 48%; */
    /* 一列にする場合はこちら */
    width: 100%;
  }
}

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

  *ループスライダー

==================================================================================================================================*/
.home_loopSlider {
  padding-top: 50px;
  overflow: hidden;
}
.home_loopSlider div {
  vertical-align: top;
}
.home_loopSlider .slick-slide{
  margin: 0 10px;
}
.home_loopSlider img {
  width: 460px;
  border-radius: 20px;
}
@media screen and (max-width: 640px) {
  .home_loopSlider{
    padding-top: 25px;
  }
  .home_loopSlider img{
    width: 230px;
    border-radius: 10px;
  }
}