@charset "utf-8";
/*  style　[ 猿渡ひふ科クリニック Smart Phone ]
=================================================================== */
/* ～767px(xs) ____________________________________________________ */
@media screen and (max-width: 767px) {
/*  #top {
  margin-top: -50px;
  padding-top: 50px;
}*/
p {
  font-size: 90%;
}
li {
  font-size: 90%;
}
  .xs-block {
    display: block;
  }
  
  /*----------------------------------------------
   header
---------------------------------------------*/
  header {
    /*min-height: 350px;*/
  }
  /*#areaHeader:after {
 display: none;
}*/
 .item01 {
    width: 50%;

  }
.item02 {
    width: 50%;
  background: none;
  }

 /* ヘッダ部分 */
  h1 {
  padding: 0 ;
  margin-top: 12px;
}
  h1 img {
    width: 100%;
    
  }
  
  /* ヘッダ内メニュー */
.h-menu {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
     -ms-flex-direction: row-reverse;
         flex-direction: row-reverse;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  list-style: none;
}
   
  
.h-menu li.phone {
  font-size: 1.3em;
  font-weight: bold;
  padding: 0;
  margin: 0;
  text-align: right;
  width: 100%;
  background-color: transparent;
}
  .xs-green {
    background-color: rgba(28,87,36,0.4);
    display: inline-block;
 padding: 15px 20px 10px 20px;
  border-radius: 10px;
  text-shadow:2px 1px 1px #aaa;
  margin: 1px 0 1px 2px;
  }
  
   header {
  min-height: 240px;
}
  /*.slider {
height: 240px;
}*/
  
  /*----------------------------------------------
   メイン画像
---------------------------------------------*/
#image-box {
    height: 240px;
  }
  
  #image-box h2 {
  position: absolute;
  right: 20px;
  bottom: 30%;
  color: #fff;
  text-shadow:1px 1px 3px #333;
    font-size: 1.2em;
}
  
  
 /*----------------------------------------------
  コンテナ
  ---------------------------------------------*/ 
  
  /*container*/
  .container {
    margin: 0 auto;
    width: 96%;
  }
  
/*----------------------------------------------
   nav
---------------------------------------------*/

  nav {
  font-size: 0.9em;
}
  nav ul li {
  width: 22.5%;
}
  nav ul li.home {
  width: 10%;
}
  nav .container {
    margin: 0 auto;
    width: 98%;
  }
  
 /*----------------------------------------------
  カレンダー、受付ボタン
  ---------------------------------------------*/
  .xs-menu {
    list-style: none;
    -ms-flex-pack: distribute;
justify-content: space-around;
    margin: 1em 0;
  }
  
   .xs-menu li {
    width: 45%;
     background-color: rgba(28,87,36,0.4);
     text-align: center;
     padding: 10px 0;
     border-radius: 10px;
  }
  
  .xs-menu li a {
  display: block;    
}
.xs-menu li a:hover {
  color: #fff;
  text-decoration: none;
}
  
  .xs-menu li:last-child a {
    padding-top: 5px;
  }
  

  /*----------------------------------------------
  見出し
  ---------------------------------------------*/
/* h2 */
h2.line_h2 {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  /*width: 40%;*/
  margin: 0 auto 20px auto;
}

h2.line_h2:before {
  content: "";
  display: inline-block;
  width: 90px;
  height: 0.9em;
  background: url(../images/bg-left.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin: 0 8px 0 0;
  background-position: right;
}

h2.line_h2:after {
  content: "";
  display: inline-block;
  width: 90px;
  height: 0.9em;
  background: url(../images/bg-right.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin: 0 0 0 8px;
}
 
/*----------------------------------------------
  footer
  ---------------------------------------------*/
  address {
    font-size: 1em;
    }
.parking {
  margin-bottom: 5px;
}
  /*  button */
.btn-stitch {
  display: table;
}
   /*フッターの診療時間*/
.tb01{
  font-size: 0.8em;
  margin-top: 1em;
}
  
  .copyright {
  font-size: 0.7em;
  text-align: center;
  padding-top: 30px;
  color: #ccc;
}

}




/*----------------------------------------------
   480px以下
  ---------------------------------------------*/
@media screen and (max-width: 480px) {
   header {
  min-height: 200px;
}
  /*.slider {
height: 200px;
}*/
  #image-box {
    height: 200px;
  }
  
  #areaHeader {
  height: 50px;
}
    h1 img {
    width: 100%;
    
  }
.phone {
  font-size: 0.9em!important;
  font-weight: bold;
  color: #fff;
  display: block;
  padding:  0;
}
  
  /* ナビの位置 */
  .inner {
 margin-bottom: 7px;
}
  
  /*フッターの診療時間*/
.tb01{
  font-size: 0.8em;
}
   /*フッターの診療時間注意書き*/
  .xs-notice {
    display: block;
    padding-left: 5em;
  }


}


