@charset "utf-8";

#kv-wrap{
  position:relative;
  width:100%
  max-height:520px;
  /*overflow:hidden;*/
  background-color:#f0eeb6;
}
#box_kv{
  min-width:1000px;
  max-width:2000px;
  max-height:520px;
  margin:auto;
}
/*
#kv-wrap #kv-over{
  position:absolute;
  width:1000px;
  height:345px;
  margin:auto;
  top:0;
  left:0;
  right:0;
  z-index:101;
}
#kv-wrap #kv-over .kv-inner{
  background:url(../images/home/kv_over.png) center top no-repeat;
  width:434px;
  height:345px;
  margin-left:566px;
}*/
@media screen and (max-width:640px){
  #kv-wrap{
    min-width:640px;
    max-width:640px;
    height:158px;
    overflow:hidden;
  }
  #box_kv{
    min-width:640px;
    max-width:640px;
    height:158px;
  }
  .flexslider .slides img {width:640px;height:158px;overflow:hidden;}
  .flex-control-nav{bottom:0;top:140px;}
}

h2{width:138px;margin:auto;}

/* ドライアイ */
#header .btn_dryeye{
  width:360px;
  margin-top:25px;
}
#header .btn_dryeye img{width:100%;}
#header .time{
  width:314px;
  margin-top:12px;
  margin-left:-240px;
  line-height:1.4;
}
#header .tel{
  margin-top:58px;
  margin-bottom:0;
}
#header .notice{
  width:292px;
  /*margin-top:32px;*/
  margin-top:10px;
  /*margin-left:-25px;*/
}
#header .notice p.t1{line-height:1.4;}
#header .notice p.t2{
  margin-left:2px;
  font-size:11px;
  line-height:1.8;
  padding-left:1.0em;
  text-indent:-1.0em;
  /*white-space:nowrap;*/
}


@media screen and (max-width:640px){
  #header .info{
    margin:20px auto 0px;
  }
  #header p.tel{
    float:right;
    width:101px;
    margin-top:0px;
  }
  #header .btn_dryeye{
    float:left;
    width:360px;
    margin:2px auto 20px;
  }
  #header .notice{
    float:none;
    width:562px;
    margin:0 auto 10px;
  }
  #header .notice p.t1{
    font-size:24px;
    line-height:1.4;
  }
  #header .notice p.t2{
    margin-left:5px;
    font-size:18px;
    line-height:1.6;
  }

}

/* お知らせ */
#news{
  padding-top:40px;
  background:url(../images/home/bg1.png) center top repeat-x;
}
/*
#news .message{
  width:680px;
  margin:0 auto 60px;
}
#news .message h3{
  margin:40px auto 20px;
  font-size:24px;
  font-weight:bold;
  text-align:center;
}
#news .message p{
  line-height:1.8;
}
#news .message p.name{
  margin-top:10px;
  text-align:right;
}*/

#news .news-box{
  width:938px;
  margin:0 auto 60px;
  padding:20px 40px 20px 20px;
  border:1px solid #7fbe26;
  
  background-color:#fff;
  background-image:url(../images/home/news_bg_lb.png),url(../images/home/news_bg_rt.png);
  background-repeat:no-repeat,no-repeat;
  background-position:left bottom,right top;
}
#news .news-box h3.title{
  float:left;
  width:148px;
  margin-right:40px;
}
#news .news-box .news-detail{
  float:left;
  width:750px;
  padding:5px 0;
  max-height:700px;
  overflow-y:auto;
}
#news .news-box .news-detail ul{padding:10px 0;border-bottom:1px dotted #000;}
#news .news-box .news-detail ul:first-child{padding-top:0;}
#news .news-box .news-detail ul:last-child{border-bottom:none;padding-bottom:0;}
#news .news-box .news-detail ul li{font-size:18px;line-height:1.4;}
#news .news-box .news-detail ul li.date{float:left;width:150px;}
#news .news-box .news-detail ul li.text{float:left;width:570px;}

@media screen and (max-width:640px){
  #news{background-size:contain;}
  #news .kv-inner{width:434px;margin:0 auto 18px;}
  #news .info{
    width:600px;
    font-size:20px;
    line-height:1.4;
    margin:0 auto 60px;
  }
  #news .message{width:560px;}
  #news .message h3{font-size:28px;}
  #news .message p{font-size:22px;}
  #news .message p.name{margin-top:22px;}
  
  #news .news-box{
    width:560px;
    margin:0 auto 78px;
    padding:0 0 20px 0;
    border:1px solid #7fbe26;
    background:#fff;
  }
  #news .news-box h3.title{
    float:none;
    width:560px;
    margin-right:0;
  }
  #news .news-box .news-detail{
    float:none;
    width:514px;
    max-height:480px;
    padding:10px 18px;
  }
  #news .news-box .news-detail ul{border:none;margin-top:5px;}
  #news .news-box .news-detail ul li{font-size:22px;}
  #news .news-box .news-detail ul li.date{width:180px;}
  #news .news-box .news-detail ul li.text{width:334px;}
}

/* 診療時間 */
#news .hours-box{}
#news .hours-box .section{
  padding-top:20px;
  padding-bottom:58px;
}
#news .hours-box table{
  width:998px;
  margin-bottom:12px;
  border-collapse:collapse;
  border-top:solid 1px #7fbe26;
  border-right:solid 1px #7fbe26;
  border-bottom:solid 1px #7fbe26;
}
#news .hours-box table th,
#news .hours-box table td{
  padding:16px 20px;
  text-align:center;
  font-size:18px;
  color:#008e43;
  border-bottom:solid 1px #7fbe26;
  border-left:solid 1px #7fbe26;
}
#news .hours-box table th.narrow,
#news .hours-box table td.narrow{
  padding-right:4px;
  padding-left:4px;
}
#news .hours-box table th{
  color:#008e43;/*#251e1c;*/
  background-color:#ecf4d9;
}
#news .hours-box table th p img{margin-right:5px;vertical-align:middle;}
#news .hours-box .attent p{
  font-size:18px;
  line-height:1.6;
}
#news .hours-box .attent p img{margin-right:5px;vertical-align:middle;}
/* 担当医 */
#calendar img:hover{opacity:0.6;}
#calendar img{cursor:pointer;transition:opacity 0.3s ease-out;}

@media screen and (max-width:640px){
  #news .hours-box{
    width:562px;
    margin:auto;
  }
  #news .hours-box .section{padding-bottom:40px;}
  #news .hours-box table{
    width:560px;
    margin-bottom:38px;
  }
  #news .hours-box table th,
  #news .hours-box table td{
    padding:16px 10px;
    font-size:16px;
  }
  #news .hours-box table th.narrow,
  #news .hours-box table td.narrow{
    padding-right:2px;
    padding-left:2px;
  }
  #news .hours-box .attent p{font-size:20px;}
  #news .hours-box .attent .l{float:none;margin-bottom:36px;}
  #news .hours-box .attent .r{float:none;}
}

/* 診療内容 */
#examine{
  padding-top:58px;
  padding-bottom:50px;
  background:url(../images/home/bg2.png) center top repeat-x;
}
#examine .section{margin-top:72px;}
#examine .section .midashi h3{width:417px;margin-bottom:28px;}
#examine .section .midashi p{
  font-size:24px;
  font-weight:bold;
  line-height:1.6;
  color:#008e43;
}
#examine .section .naiyo{
  width:546px;
  height:385px;
  background:url(../images/home/examine_bg.png) center top no-repeat;
}
#examine .section .naiyo p{
  padding-left:1em;
  font-size:18px;
  line-height:1.8;
  background:url(../images/common/icon/icon_fsquare.png) left 8px no-repeat;
}
#examine .section .naiyo p.center{
  width:220px;
  margin:128px auto 20px;
  padding-left:0em;
  font-size:22px;
  line-height:1.5;
  text-align:center;
}
#examine .section .naiyo p a{color:#595858;}
#examine .section .naiyo p a:hover{text-decoration:underline;}
#examine .section .naiyo p img{margin-right:5px;vertical-align:middle;}
#examine .section .naiyo .l1{
  float:left;
  margin-top:0px;
  margin-left:66px;
  width:204px;
}
#examine .section .naiyo .l2{
  float:left;
  margin-top:0px;
  margin-left:8px;
}
#examine .btn_dryeye{
  width:439px;
  margin:20px auto 0;
}

@media screen and (max-width:640px){
  #examine{
    padding-top:42px;
    padding-bottom:46px;
    background-size:contain;
  }
  #examine .section{margin-top:46px;}
  #examine .section .midashi.l,
  #examine .section .naiyo.r{float:none;}
  
  #examine .section .midashi h3{margin:0 auto 42px;}
  #examine .section .midashi p{text-align:center;}
  #examine .section .naiyo{margin:50px auto 0;}
}

/* アクセス */
#access{
  padding-top:46px;
  padding-bottom:36px;
  background:url(../images/home/bg3.png) center top repeat-x;
}
#access .map-box{
  margin-top:28px;
  margin-bottom:60px;
}
#access .map-box .map{width:1000px;margin:0 auto;}

#access .map-box .info{
  margin-top:16px;
}
#access .map-box .info .fl{
  float:left;
  width:700px;
}
#access .map-box .info .fr{
  float:right;
  width:262px;
  padding-right:13px;
}

#access .map-box .info p{
  line-height:1.4;
  margin-bottom:0em;
  word-wrap:break-word;
  white-space:normal;
}
#access .map-box .info p.bb{
  margin-bottom:20px;
  font-size:18px;
}
#access .map-box .info p span.nw{white-space:nowrap;}
#access .map-box .info p.pull{margin-left:-0.5em;margin-bottom:4px;}

@media screen and (max-width:640px){
  #access{
    padding-bottom:0px;
    background-size:contain;
  }
  #access .map-box .map{width:558px;margin:auto;}
  #access .map-box .info{width:560px;margin:auto;}
  #access .map-box .info .fl{float:none;width:560px;}
  #access .map-box .info .fr{float:none;}
  
  #access .map-box .entr{width:364px;margin:26px auto 50px;}
  #access .map-box .info p{line-height:1.6;}
  #access .map-box .info p.bb{
    margin-bottom:40px;
    font-size:24px;
    font-weight:normal;
    color:#595858;
  }
  #access .map-box .info p a{color:#595858;}
}
/* 当院への順路 */
#route{margin-top:40px;}
#route h3{
  float:left;
  width:159px;
  margin-top:14px;
  margin-right:29px;
}
#route .link-btn{
  float:right;
  width:804px;
}
#route .link-btn ul li{
  float:left;
  width:252px;
  height:59px;
  margin-right:24px;
  background-position:0 0;
  background-repeat:no-repeat;
  background-size:100%;
  transition:opacity 0.3s ease-out;
}
#route .link-btn ul li:hover{opacity:0.6;}
#route .link-btn ul li.rt1{background-image:url(../images/home/route_btn1.png);}
#route .link-btn ul li.rt2{background-image:url(../images/home/route_btn2.png);}
#route .link-btn ul li.rt3{background-image:url(../images/home/route_btn3.png);margin-right:0;}
#route .link-btn ul li a{
  display:block;
  width:187px;
  padding:18px 0 0 65px;
  font-size:18px;
  color:#595959;
  line-height:1.2;
  text-decoration:underline;
}
#route .link-btn ul li.rt2 a{padding-top:8px;}
#route .link-btn p{margin-top:20px;}

@media screen and (max-width:640px){
  #route{margin-bottom:80px;}
  #route h3{
    float:none;
    margin:0 auto 20px;
  }
  #route .link-btn{
    float:none;
    width:560px;
    margin:auto;
  }
  #route .link-btn ul li{
    float:none;
    width:378px;
    height:89px;;
    margin:0 auto 20px;
  }
  #route .link-btn ul li:hover{opacity:1.0;}
  #route .link-btn ul li.rt3{margin-right:auto;}
  #route .link-btn ul li a{
    width:280px;
    padding:30px 0 0 98px;
    font-size:24px;
  }
  #route .link-btn ul li.rt2 a{padding-top:16px;}
  #route .link-btn p{
    margin-top:0;
    line-height:1.2;
    padding-left:1.5em;
    text-indent:-1.5em;
  }
}

/* 院長略歴 */
/*
#access .profile{
  width:680px;
  margin:0 auto 60px;
}
#access .profile h3{
  margin:0 auto 20px;
  font-size:24px;
  font-weight:bold;
  text-align:center;
}
#access .profile p.name{font-size:20px;margin-bottom:10px;}
#access .profile ul{font-size:18px;line-height:1.8;}
#access .profile ul li{margin-bottom:0px;}

@media screen and (max-width:640px){
  #access .profile{
    width:560px;
    margin-bottom:80px;
  }
  #access .profile h3{font-size:28px;}
  #access .profile p.name{font-size:24px;}
  #access .profile ul{font-size:20px;}
}
*/

/* お役立ちリンク */
#access .link-box{
  padding:30px 40px;
  border:1px dotted #7fbe26;
  background:url(../images/home/link_bg_lb.png) left bottom no-repeat;
}
#access .link-box h3{
  float:left;
  width:338px;
}
#access .link-box .links{
  float:right;
  width:560px;
}
#access .link-box .links .link{
  margin-bottom:24px;
}
#access .link-box .links .link p{
  padding-left:1em;
  line-height:1.8;
  background:url(../images/common/icon/icon_dot.png) left 10px no-repeat;
}
#access .link-box .links .link p:after{
  content: url(../images/common/icon/icon_link.png);
  margin-left:5px;
  position:relative;
  top:2px;
}
#access .link-box .links .link p a{color:#595858;}
#access .link-box .links .link p a:hover{text-decoration:underline;}

@media screen and (max-width:640px){
  #access .link-box{
    width:560px;
    margin:auto;
    padding:20px 0 128px;
  }
  #access .link-box h3{
    float:none;
    width:338px;
    margin:auto;
  }
  #access .link-box .links{
    float:none;
    width:496px;
    margin:38px auto 0;
  }
  #access .link-box .links .link{
    margin-bottom:28px;
  }
  #access .link-box .links .link p{
    padding-left:1em;
    line-height:1.8;
    background:url(../images/common/icon/sp-icon_dot.png) left 9px no-repeat;
  }
  #access .link-box .links .link p:after{
    content: url(../images/common/icon/sp-icon_link.png);
    margin-left:5px;
    position:relative;
    top:2px;
  }
  #access .link-box .links .link .banner{width:496px;margin:auto;}
}
