@charset "utf-8";
/*==================================================================

  メインビジュアル

==================================================================*/
.top_mainvisual{
  height: 600px;
}
.mainvisual_wrap{
  height: 600px;
}
.top_mainvisual .inner{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}

/* キャッチフレーズ */
.mainvisual_catch{
  position:absolute;
  top:120px;
}
.mainvisual_catch p{
  display:block;
  letter-spacing: 0.08em;
  font-size: 18.2px;
}
.mainvisual_catch span{
  display:block;
  letter-spacing: 0.08em;
  font-size: 15px;
}
.mainvisual_open{
  position:absolute;
  bottom: 30px;
  right: 0;
  width:250px;
}
.mainvisual_open img{
  width:100%;
}

/* メインスライド */
#slick_fade{
  width: 100%;
  height: 600px;
}
#slick_fade .slide_item img{
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
}

/*==================================================================

  .top_info

==================================================================*/
/* ↓↓↓見た目確認用↓↓↓ */
.top_info:not(.top_info2){
  background: #f3f3f3;
}
.top_info:not(.top_info2) .top_info_flex{
  padding: 64px 0;
}
/* ↑↑↑見た目確認用↑↑↑ */

.top_info_flex{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.top_info_item{
  width: 49%;
}

/********************************
  .top_news お知らせ
*********************************/
/* 旧仕様 */
.top_news_frame{
  padding:35px 33px;
  border:15px solid #F0F0F0;
}
.top_news_headline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.top_info .top_news .top_news_frame{
  border: none;
  padding: 0;
  background: #fff;
  padding: 20px 12px;
}

/* お知らせの高さ */
.top_info .top_news .scroll_area{
  height: 285px;
  overflow-y: scroll;
}
.top_info .top_news ul{
  padding-right: 24px;
}

.news_list li{
  margin-bottom: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.news_list li span{
  margin-right: 5px;
}
.news_list li em{
  margin-right: 5px;
  display:inline-block;
  min-width:75px;
  padding:1px 6px;
  font-style: normal;
  text-align:center;
}

/*スクロールバーの横幅指定*/
.scroll_area::-webkit-scrollbar {
  width: 5px;
}
/*スクロールバーの背景色・角丸指定*/
.scroll_area::-webkit-scrollbar-track {
  border-radius: 10px;
  background: #fff;
}
/*スクロールバーの色・角丸指定*/
.scroll_area::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #ccc;
}

/********************************
  .top_sche 診療時間
*********************************/
.top_sche .sub_info_note li{
  color: var(--main-color);
  text-align: center;
  padding: 10px 5px;
  border: 1px solid var(--main-color);
  margin-bottom: 12px;
}
/* 補足リスト */
.top_sche .sub_info_note li:last-child{
  margin-bottom: 0;
}
.top_info2 .top_sche{
  border-radius: 10px;
  padding: 12px;
  background-color: rgba(192,171,154,0.3);
}
/* 診療科目、お問い合わせリスト */
.top_sche_note {
  margin-top: 10px;
}
.top_sche_note dl{
  display: flex;
  margin-bottom: 12px;
}
.top_sche_note dl:last-child{
  margin-bottom: 0;
}
.top_sche_note dl dt{
  width: 25%;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-weight: bold;
  padding: 16px 5px;
  background: #C0AB9A;
  border-radius: 10px;
  margin-right: 2%;
}
.top_sche_note dl dd{
  width: 73%;
  display: flex;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}
.top_sche_note dl dd a{
  color: inherit;
}
.top_sche_note dl dd a:hover{
  color: inherit;
}

/********************************
  .top_access アクセス
*********************************/
.top_info2 .top_access{
  border-radius: 10px;
  background-color: rgba(192,171,154,0.3);
}
.top_access{
  padding: 12px;
}
.top_access .map{
  position: relative;
}
.top_access .map .btn01{
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  margin-bottom: 0;
}
.top_access .map img{
  width: 100%;
  /* 下記はサンプル画像が正方形のため調整用に記載しています */
  height: 320px;
  object-fit: cover;
  object-position: center;
}
.top_access p{
  margin-top: 10px;
}

/*==================================================================

  .top_doctor

==================================================================*/
.top_doctor_flex{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.top_doctor_flex .text{
  position:relative;
  width:70%;
}
.top_doctor_name{
  color:var(--main-color);
  line-height: 1.4;
  font-weight:bold;
}
.top_doctor_name span{
  font-size: 30px;
}
.top_doctor_img{
  width: 28%;
}
.top_doctor_img img{
  width: 100%;
}
.top_doctor .btn01{
  float:right;
  width:240px;
}
.top_doctor .btn01 a{
  display:block;
}

/*==================================================================

  .top_medical

==================================================================*/
.top_medical .text p{
  text-align:center;
}
.top_medical_list{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.top_medical_list a{
  display:block;
  width:22%;
  margin-bottom:20px;
  text-align:center;
}
.top_medical_list a img{
  width: 100%;
}
.top_medical_list dl{
  width:100%;
}
.top_medical_list dl dt{
  margin-bottom:7px;
}
.top_medical_list dl dd{
  font-weight:bold;
}
/*==================================================================

  .top_medical2

==================================================================*/
.top_medical2 .text p{
  text-align:center;
}
.top_medical2_list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.top_medical2_list a{
  display:block;
  width: 120px;
  margin-right: 17.14px;
  margin-bottom:20px;
  text-align:center;
}
.top_medical2_list a:last-child{
  margin-right:0;
}
.top_medical2_list dl{
  width:100%;
}
.top_medical2_list dl dt{
  margin-bottom:7px;
}
.top_medical2_list img{
  width:100%;
}
.top_medical2_list dl dd{
  font-weight:bold;
}
/*==================================================================

  .top_medical3

==================================================================*/
.top_medical3 .text p{
  text-align:center;
}
.top_medical3_list ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.top_medical3_list li{
  width: 120px;
  margin-right: 17.14px;
  margin-bottom:20px;
  text-align:center;
}
.top_medical3_list li:last-child{
  margin-right:0;
}
.top_medical3_list img{
  width:100%;
}
/*==================================================================

  .top_medical4

==================================================================*/
.top_medical4{
  padding-top:80px;
}
.top_medical4_list{
  width:980px;
  margin:0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.top_medical4_list dl{
  position:relative;
  width: 270px;
  text-align:center;
  margin-bottom: 30px;
}
.top_medical4_list a{
  position:absolute;
  height:100%;
  width:100%;
  top:0;
  left:0;
}
.top_medical4_list dt img{
  width:100%;
  border-radius:100%;
}


/*==================================================================================================================

  スマホ

==================================================================================================================*/
@media screen and (max-width:640px) {
  #wrapper, html, body{
    min-height:500px;
  }

  /*==================================================================

    メインビジュアル（スマホ）

  ==================================================================*/
  .top_mainvisual{
    height:450px;
  }

  .mainvisual_wrap{
    height: 450px;
  }

  /* トップページキャッチフレーズ */
  .mainvisual_catch {
    position: absolute;
    left: 10px;
  }
  .mainvisual_catch h2 {
    margin-bottom: 10px;
    font-size: 22px;
  }
  .mainvisual_catch p {
    font-size: 15px;
  }
  .mainvisual_open{
    right: 10px;
    bottom: 10px;
    width: 150px;
  }

  /* メインスライド */
  #slick_fade{
    height: 450px;
  }
  #slick_fade .slide_item img{
    height: 450px;
  }

  /*==================================================================

    .top_info（スマホ）

  ==================================================================*/
  .news_list li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .top_info_item {
    width: 100%;
    margin-top: 40px;
  }
  
  .top_info_item:first-child {
    margin-top: 0;
  }
  
  .top_info .top_news .scroll_area {
    height: 200px;
  }

  /*==================================================================

    .top_doctor（スマホ）

  ==================================================================*/
  .top_doctor_flex {
    flex-direction: column-reverse;
  }

  .top_doctor .text {
    width: auto;
  }

  .top_doctor_img {
    width: auto;
    margin-bottom: 15px;
  }

  .top_doctor_img p {
    text-align: center;
  }

  .top_doctor_img p img {
    width: 60%;
    margin: 0 auto 15px;
    display: block;
  }

  /*==================================================================

    .top_medical2（スマホ）

  ==================================================================*/
  .top_medical2_list a {
    width: 46%;
    margin-right: 8%;
  }

  .top_medical2_list a:nth-child(even) {
    margin-right: 0;
  }
  /*==================================================================

    .top_medical3（スマホ）

  ==================================================================*/
  .top_medical3_list li {
    width: 46%;
    margin-right: 8%;
  }

  .top_medical3_list li:nth-child(even) {
    margin-right: 0;
  }
  /*==================================================================

    .top_medical4（スマホ）

  ==================================================================*/
  .top_medical4_list {
    width: auto;
    margin: 0 8%;
  }

  .top_medical4_list dl {
    width: 45%;
    margin-right: 0;
  }
}
