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

	#mainvisual

============================================================================*/
body{
  position: relative;
}

.mainvisual_box{
  background: url(../images/mainvisual_slide1.png);
  background-size: cover;
  height: 934px;
  padding: 8px;
}
.mainvisual_boder01{
/*
  margin: 8px;
  margin-bottom: 0;
  border: 2px solid #1c4872;
*/
}

.mainvisual_border02{
  height: 910px;
/*
  margin: 10px;
  border: 1px solid #1c4872;
*/
}


@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


#mainvisual{
  height:100%;
  padding-bottom: 16px;
  box-sizing: border-box;
}
#mainvisual .inner{
  height: 100%;
  width: 100%;
  max-width: calc(1600px - 42px);
  margin: auto;
}

#mainvisual h2{
	position:relative;
  /*animation: fadein 3s 0.4s forwards;*/
  /*width: 183px;*/
  width: 633px;
  margin: auto;
}

#mainvisual h2 img{
  position: absolute;
  right: 0;
  left: 0;
  text-align: center;
  animation: show 15s infinite ease-in-out;
  opacity: 0;
}


@keyframes show {
    0% {opacity:0}
    16% {opacity:1}
    30% {opacity:1}
    33.4% {opacity:0}
 }

.mainvisual_catch h2 img:first-child {
    animation-delay: 0s!important;
}

.mainvisual_catch h2 img:nth-child(2) {
    animation-delay: 5s!important;
}

.mainvisual_catch h2 img:last-child {
    animation-delay: 10s!important;
}

h3.tit01{
  margin-bottom: 60px;
}

.news_text .text{
  display: none;
}

div#data {
  margin-top: 14px;
}





/*お知らせ*/
.news_text p strong{
	margin-left:20px;
	font-size:15px;
  color: #fff;
  font-weight: normal;
}
.date{
	margin-right:22px;
	color: #fff;
}

.news_text .line{
	margin-bottom: 30px;
  padding-bottom: 0;
  border: none;
}

.news_text p {
	line-height: 1;
  margin-bottom: 0;
}

.news_text p:hover{
  opacity: 0.6;
}

.btn01 a::after{
  top: 13px;
}

.btn02 a::after{
  top: 13px;
}



.top_doctor .top_doctor_left .text{
  width: unset!important;
  margin-top: unset!important;
  margin-bottom: unset!important;
  padding: unset!important;
  background: unset!important;
  background-color:  unset!important;
  color: unset!important;
  box-sizing:  unset!important;
  line-height: unset!important;
  letter-spacing: unset!important;
}

.top_doctor .top_doctor_left .text .btn01{
  left: 5px;
}




@media screen and (max-width:640px) {
/* スマホ */
#mainvisual{
	height:365px;
  margin-top: 0;
}
  
  .mainvisual_border02{
    height: auto;
  }
  
#mainvisual h2{
  width: 45%;
}

.mainvisual_catch h2 img{
  width: 100%;
}
  
  .mainvisual_catch h2 img:last-child{
    padding-top: 90px;
  }

  .mainvisual_catch{
    top: 60px;
  }
  
  
  .mainvisual_box{
    margin-top: 100px;
    height: 365px;
  }
  
  .box1{
    margin: auto;
    
  }
  
  .date{
    display: block;
    margin-bottom: 12px;
  }
  
  .news_text p strong{
    margin-left: 0;
  }

}