@charset "utf-8";
/*  style　[石塚内科・胃腸内科  共通 ]
=================================================================== */
body{
  background: #f9f7f7;
}
p {
  font-size: 90%;
}
li {
  font-size: 90%;
}



.box-wrap {
  /*background: #fff;*/
  max-width: 1370px;
  margin: 0 auto;
  position: relative;
  -webkit-box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.07);
  -moz-box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.07);
}
.box-wrap:before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  -webkit-box-shadow: -7px 1px 13px 2px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: -7px 1px 13px 2px rgba(0, 0, 0, 0.08);
  box-shadow: -7px 1px 13px 2px rgba(0, 0, 0, 0.08);
}

/* ～767px(xs) ____________________________________________________ */
@media screen and (max-width: 767px) {
  .xs-block {
    display: block;
  }
  .xs-space {
    margin-left: 1em;
  }
}

/*----------------------------------------------
   header
---------------------------------------------*/

header {
   background: url(../images/01.jpg) no-repeat center center;
  background-size: cover;
  min-height: 80px;
}


#areaHeader {
  background-color: rgba(255,255,255,0.5);
  width: 100%;
  z-index: 100;
}

.flex-box{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.item {
    width: 33.3%;
  }


h1 {
  padding: 15px 0 0 8px;
}
 h1 img {
    width: 90%;
    vertical-align: middle;
  }

.schedule {
  margin: 10px auto;
  padding:  0;
  font-size: 1em;
}
.schedule td {
  vertical-align: top;
}

@media screen and (min-width:1400px) {
  h1 {
  padding: 10px 0 0 8px;
}  
}


.phone {
  font-size: 1.9em;
  font-weight: 700;
  /*padding: 15px 40px 0 0;*/
  text-align: right;
  color: #fff;
  text-shadow:2px 1px 1px #aaa;
}
.bg-gr {
  /*background-color: rgba(28,87,36,0.4);*/
  background-color: rgba(45,113,55,0.4);
  display: inline-block;
  padding: 15px 20px 10px 20px;
  border-radius: 0 0 10px 10px;
}
@media screen and (min-width:768px) and ( max-width:1112px) {
    /*　画面サイズが768pxから1112pxまではここを読み込む　*/
  .phone {
  font-size: 1.5em;
  font-weight: bold;
  /*padding: 20px 15px 0 0;*/
}
  .bg-gr {
  padding: 20px 15px 10px 15px;
}
}

@media screen and (min-width:768px) and ( max-width:991px) {
    /*　画面サイズが768pxから991pxまではここを読み込む　*/
.phone {
  font-size: 1.1em;
  font-weight: bold;
  /*padding: 25px 15px 0 0;*/
}
  .bg-gr {
  padding: 20px 15px 15px 15px;
}
  
  h1 {
  padding: 10px 0 0 8px;
}
 h1 img {
    width: 100%;
    vertical-align: middle;
  }
  
  .schedule {
      font-size: 0.7em;
      /*margin: 10px auto 0 auto;*/
      padding: 0;
}
  
}

/* 992px(md)～ ____________________________________________________ */
@media screen and (min-width: 992px) and ( max-width:1119px) {
   .schedule {
      font-size: 0.9em;
  }
}


/*----------------------------------------------
   nav
---------------------------------------------*/

nav {
  background-color: rgba(0,117,185,0.6);
 /* height: 52px;*/
  /*margin-top: -52px;*/
  z-index: 10;
}
nav ul {
  margin: 0 auto;
  list-style: none;
}
nav ul li {
  width: 25%;
  text-align: center;
}
nav ul li a {
  display: block;
  padding: 15px 0;
  color: #fff!important;
}
nav ul li a:hover {
  background-color: rgba(0,117,185,1);
}

nav ul li a.active {
   background-color: rgba(0,117,185,1);
  margin: 0;
}

/* 992px(md)～ ____________________________________________________ */
@media screen and (max-width: 991px) {
/*   nav ul li a:hover {
  padding: 14px 0;
}
  
  nav ul li a.active {
padding: 14px 0;
}*/
}


/*----------------------------------------------
   アンカーメニュー
---------------------------------------------*/

#submenu {
  background-color: /*#8dc3ff*/#b8e49d;
  padding: 5px 0;
  z-index: 20;
}
#submenu ul {
  list-style: none;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
#submenu ul li {
  /*display: inline-block;
  margin: 0 15px;*/
  width: 25%;
}

#submenu ul li a {
  display: block;
  padding: 5px 0;
}
#submenu ul li .fa-sort-down {
  vertical-align: top;
}



/*----------------------------------------------
   section
---------------------------------------------*/
section {
  margin: 2em auto;
}

/*----------------------------------------------
   見出し
---------------------------------------------*/
/* h2 */
h2 {
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 20px auto;
}

h3 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color: #494949;/*文字色*/
  background: transparent;/*背景透明に*/
  border-left: solid 5px #7db4e6;/*左線*/
  font-size: 1.2em;
  margin: 1em 0;
  font-weight: 600;
}

h4 {
  margin: 1em 0;
  font-weight: 600;
}
h4:before {
  content: "●";
  padding: 0 5px 0 0;
  font-size: 0.7em;
  color: #ff6a6a;
}


/*----------------------------------------------
   区切り線
---------------------------------------------*/
.separate01 {
  background: url(../images/separator1.png) repeat-x center center;
  background-size: contain;
 /* padding-top:15px;*/
  margin: 35px 0;
  display: block;
  border: none;
  height: 15px;
}


/*----------------------------------------------
   リンク下線
---------------------------------------------*/
a.line-dot {
  border-bottom: #333 1px dashed;
}
a.line-dot:hover {
  border-bottom: #c30 1px dashed;
  text-decoration: none;
}

/*----------------------------------------------
   map
---------------------------------------------*/
#access iframe {
  margin: 0;
  padding: 0;
}


/*----------------------------------------------
   footer
---------------------------------------------*/
footer {
  background-color: #2D7137;
  padding: 30px 0 15px 0;
  color: #fff;
  margin: -7px 0 0;
}

/*---- footer 左カラム-------------*/
/*  */
div.add-box {
  margin: 0 auto;
  width: 80%;
}
address {
  font-size: 1.2em;
  margin-top: 5px;
}
span.kamoku {
  display: inline-block;
  text-align: center;
  font-weight: normal;
  font-size: 0.8em;
  padding-left: 4em;
}
@media screen and (min-width:994px) and ( max-width:1199px) {
    /*　画面サイズが994pxから1199pxまではここを読み込む　*/
address {
  /*font-size: 0.8em;*/
}
   div.add-box {
 width: 90%;
}
}
@media screen and (min-width:768px) and ( max-width:993px) {
    /*　画面サイズが768pxから993pxまではここを読み込む　*/
address {
  font-size: 0.9em;
  }
  div.add-box {
 width: 100%;
}
}


/*---- footer 右カラム-------------*/

/*フッターの診療時間*/
.tb01{
	width: 90%;
	margin: 0 auto 15px ;
	border-spacing: 0;
	border-collapse: collapse;
	white-space:nowrap;
  font-size: 0.9em;
}
.tb01 tr:last-child td,.tb01 tr:last-child th{
	border:none;
}
.tb01 th{
	padding:10px 8px 8px 8px;
	line-height:1;
	white-space:nowrap;
	text-align: center;
	border-bottom:1px solid #fff;
  font-weight: normal;
}
.tb01 td{
	padding:5px 10px 0 10px;
	line-height: 1;
	text-align:center;
	border-bottom: none;
}
.tb01 tr th:first-child{
	text-align: center;
  padding:0 ;
}
.tb01 tr td:first-child{
	text-align: right;
  padding:5px 0 0 0;
}
p.notice {
  font-size: 0.9em;
  width: 90%;
  margin: 5px auto;
}
span.notice02 {
  display: inline;
  background-color: #fff;
  padding: 5px 8px;
  color: #2D7137;
}
span.notice03 {
  display: inline;
  padding: 5px 8px;
}

.copyright {
  font-size: 0.8em;
  text-align: center;
  padding-top: 30px;
  color: #ccc;
}


/* 768px(sm)～ ____________________________________________________ */
@media print,screen and (min-width: 768px) {
}
/* 992px(md)～ ____________________________________________________ */
@media screen and (min-width: 992px) {
}
/* 1200px(lg)～ ___________________________________________________ */
@media screen and (min-width: 1200px) {
}
