@charset "utf-8";
/* CSS Document */
/*各種共通設定*/
body{
  min-width: 320px;
  margin: 0 auto;
  background: #f7fbfe;
  box-sizing: border-box;
  font-family: メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
}
h1{
  color: #111111;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
h2,h3,p,th,td,a{
  color: #333;
}
a{
  cursor: pointer;
  text-decoration: none;
}
section{
  margin: 30px auto 0;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.left{
  float: left;
}
h2{
  font-weight: bold;
  font-size: 16px;
  line-height: 3;
}
h3,p,th,td,a{
  font-size: 16px;
  line-height: 2;
}
td{
  padding-left: 2em;
}

/*----------header----------*/
header{
  width: 100%;
  max-width: 768px;
  margin: 30px auto 0;
}
.flex{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.ali-fs{
  align-items: flex-start;
}
.pc-head{
  height: 62px;
  margin: 20px auto;
}
.logo img{
  display: inline-block;
  height: 62px;
}
.pc-only p{
  padding-left: 38px;
  margin-right: 10px;
  position: relative;
  line-height: 62px;
}
.tel-pc::before{
  content: url("../img/tel.png");
  position: absolute;
  top: 10px;
  left: 0;
  width: 31px;
}
.train::before{
  content: url("../img/train.png");
  position: absolute;
  top: 10px;
  left: 0;
  width: 31px;
}
.gnavi__pc-style ul{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
}
.gnavi__pc-style ul li a{
  padding: 10px;
  margin: 0 10px;
  position: relative;
}
.gnavi__pc-style ul li a:before{
  background: #046CDE;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.gnavi__pc-style ul li a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
.logo-sp{
  padding-left: 20px;
  margin-top: 30px;
}
.logo-sp img{
  width: 80%;
}
.tel-btn{
  width: 60%;
  max-width: 270px;
  margin: 10px auto 0;
  border: solid 5px #046CDE;
  border-radius: 5px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow:  2px 2px 10px #dbdbdb;
  text-align: center;
}
.telNo{
  position: relative;
  padding-left: 30px;
  margin-top: 10px;
  font-size: 25px;
  line-height: 1.5;
}
.telNo::before{
  content: url("../img/calling.png");
  position: absolute;
  top: 3px;
  left: 8px;
}
.tap{
  display: inline-block;
  width: 90%;
  margin-bottom: 10px;
  border-radius: 5px;
  background: #046CDE;
  color: #fffffe;
  font-size: 10px;
}
/*footer*/
footer{
  height: 30px;
  margin-top: 60px;
  background: #046cde;
}
footer p{
  color: #f7fbfe;
  font-size: 8px;
  line-height: 30px;
  text-align: center;
}
.goTop{
  position: fixed;
  bottom: 40px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: solid 1px #aaa;
  border-radius: 5px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow:  2px 2px 10px #dbdbdb;
  text-align: center;
}
.goTop p{
  color: #333;
  line-height: 1.1;
  font-size: 5px;
}
/*firefox,safari表示崩れ対応*/
@-moz-document url-prefix(){
  .goTop p{
    color: #333;
    line-height: 1.1;
    font-size: 10px;
  }
}
::-webkit-full-page-media, :future, :root
.goTop p{
  color: #333;
  line-height: 1.1;
  font-size: 10px;
}
/*firefox,safari表示崩れ対応ここまで*/
.goTop p::before{
  content: url("../img/arrow.png");
  display: block;
  margin-top: 2px;
}

/*main*/
.home-h1{
  display: none;
}
.mainVisual-sp{
  position: relative;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  overflow: hidden;
}
.mainVisual-sp p{
  width: 100%;
  position: absolute;
  bottom: 50px;
  padding-left: 1em;
  background: rgba(4,108,222,0.3);
  font-size: 20px;
  color: #fffffe;
}
.slick-sp{
    margin: 30px auto 0;
    width: 100%;
}
.slick-sp img{
  width: 100%;
  max-width: 768px;
  height: auto;
}
.mainVisual-pc{
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.mainVisual-pc p{
  width: 100%;
  position: absolute;
  bottom: 50px;
  background: rgba(4,108,222,0.5);
  font-size: 25px;
  text-align: center;
  color: #fffffe;
}
.slick-pc{
    margin: 0 auto;
    width: 100%;
}
.slick-pc img{
  width: 98%;
  max-width: 768px;
  height: auto;
  margin: 0 auto;
}
h1{
  text-align: center;
  font-size: 1.8em;
  line-height: 290px;
  background: rgba(4,108,222,0.3);
}
#initial h1{
  background: url("../img/initial-header01.png") right top no-repeat,
     rgba(4,108,222,0.2);
}
#clinic h1{
  background: url("../img/clinic-header.png") center top no-repeat,
    linear-gradient(to right, #f2eeeb, #f2eeec);
}
#medical h1{
  background: url("../img/medical-header.png") center top no-repeat,
    linear-gradient(to right, #d8d2dd, #e9eaf6);
}
.h1-wrap{
  height: 290px;
  margin-top: 30px;
  overflow: hidden;
}
.wrapper{
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
}
/*----------発熱者対応----------*/
.alert{

  border: double 10px #de0904;
  background: #fff;
  text-align: center;
}
/*----------基本コンテンツ----------*/
.contents{
  width: 80%;
  margin: 0 auto;
}
.news h2,
.info h2{
  position: relative;
  padding-left: 3em;
  border-top: solid 1px #333;
}
.news h2::before,
.info h2::before{
  position: absolute;
  top: 16px;
  left: 16px;
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #82b6ef;
}
.info h3,
.info table{
  margin-top: 10px;
}
.news a{
  display: block;
}
/*-----アコーディオンメニュー-----*/
.s_01 .accordion_one .accordion_header {
  color: #333;
  position: relative;
  z-index: +1;
  cursor: pointer;
  transition-duration: 0.2s;
  background: #82B6EF;
  line-height: 2;
  padding: 5px;
  padding-left: 10px;
  margin-top: 10px;
}
.s_01 .accordion_one .accordion_header:hover {
  opacity: .8;
}
.s_01 .accordion_one .accordion_header .i_box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 5%;
  width: 40px;
  height: 40px;
  
  margin-top: -20px;
  box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
}
.s_01 .accordion_one .accordion_header .i_box .one_i {
  display: block;
  width: 18px;
  height: 18px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  position: relative;
}
.s_01 .accordion_one .accordion_header.open .i_box {
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
}
.s_01 .accordion_one .accordion_header .i_box .one_i:before, .s_01 .accordion_one .accordion_header .i_box .one_i:after {
  display: flex;
  content: '';
  background-color: #333;
  border-radius: 10px;
  width: 18px;
  height: 4px;
  position: absolute;
  top: 7px;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
}
.s_01 .accordion_one .accordion_header .i_box .one_i:before {
  width: 4px;
  height: 18px;
  top: 0;
  left: 7px;
}
.s_01 .accordion_one .accordion_header.open .i_box .one_i:before {
  content: none;
}
.s_01 .accordion_one .accordion_header.open .i_box .one_i:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.s_01 .accordion_one .accordion_inner {
  display: none;
  padding: 10px 20px;
  box-sizing: border-box;
  background: rgba(130, 182, 239,0.3);
}
/*-----アコーディオンメニューここまで-----*/
/*診療時間表*/
.timeTable{
  width: 100%;
  margin: 0 auto;
  border: solid 1px #333;
  border-radius: 10px;
  border-collapse: separate;
  overflow: hidden;
  background: #fff;
  font-size: 12px;
  line-height: 1.2;
}
.timeTable th,
.timeTable td{
  padding: 0.5em 1em;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
}
.timeTable th{
  border-right:  1px solid #333;
}
.timeTable td+td{
  border-left: 1px solid #333;
}
.timeTable tr+tr td{
  border-top: 1px solid #333;
}
.days{
  background: #82b6ef;
}
.days td:not(:first-child){
  width: 10%;
}
.days td:last-child{
  font-size: 13px;
}
.th{
  border-top: 1px solid #333;
}
/*診療時間表ここまで*/

.map-btn a{
  padding: 3px;
  margin-left: 10px;
  border: solid 1px #aaa;
  border-radius: 5px;
  font-size: 12px;
  background: linear-gradient(145deg,#F7C0BE, #F29E9C);
  box-shadow:  2px 2px 10px #dbdbdb;
}
.map-img{
  margin: 10px auto 0;
  text-align: center;
}
.map-img img{
  display: inline-block;
  width: 100%;
  border: solid 1px #333;
  border-radius: 10px;
}
.tel-bottom{
  margin-top: 50px;
  margin-bottom: 50px;
}


/*----------下層ページ----------*/
.c-timeTable{
  width: 400px;
  margin: 0 auto;
}
#clinic .timeTable th,
#clinic .timeTable td{
  font-size: 10px;
}
#clinic .days td:last-child{
  font-size: 7px;
}
#clinic .map-img{
  width: 400px;
}
.doctor-img{
  display: inline-block;
  width: 200px;
  height: 200px;
  margin-right: 30px;
  border-radius: 50%;
}
.medical-photo{
  width: 200px;
  margin-right: 30px;
}
.medical-img{
  display: inline-block;
  width: 200px;
  height: auto;
  border-radius: 5px;
}
.name{
  font-weight: bold;
}
.flow{
  padding-bottom: 15px;
  margin-bottom: 30px;
  border-bottom: solid 1px #aaa;
}
.flow h3{
  border-bottom: dotted 1px #aaa;
}
.icon-img{
  display: inline-block;
  width: 100px;
  height: auto;
  margin-top: 15px;
  margin-right: 30px;
}
.photo{
  display: inline-block;
  width: 140px;
  height: auto;
  margin-right: 30px;
  border-radius: 5px;
}




.sp-only,
.mainVisual-sp{
  display: none;
}
.menu-btn,
.gnavi__sp-style {
  display: none;
}
/*レスポンシブ対応*/
@media (max-width:768px){
  .sp-only,
  .mainVisual-sp
  {
    display: block;
  }
  .pc-only,
  .mainVisual-pc{
    display: none;
  }
  
  .flex{
    flex-direction: column;
  }
  .mainVisual p{
    font-size: 20px;
    line-height: 1.8;
  }
  section{
    margin-right: 10px;
    margin-left: 10px;
    padding: 0 25px;
  }
  .news a{
    font-size: 14px;
  }
  .c-timeTable{
    width: auto;
  }
  table,
  #clinic table{
    width: 100%;
    text-align: left;
  }
  table th,
  #clinic table th{
    width: 30%;
  }
  table td,
  #clinic table td{
    padding: 0;
  }
  .timeTable,
  #clinic .timeTable{
    border-radius: 5px;
  }
  .timeTable th,
  .timeTable td,
  #clinic .timeTable th,
  #clinic .timeTable td{
    padding: 0;
    font-size: 8px;
    line-height: 2;
  }
  .days td,
  #clinic .days td{
    font-size: 12px;
  }
  .days td:last-child,
  #clinic .days td:last-child{
    font-size: 8px;
  }
  #clinic .map-img{
    width: auto;
  }
  .map-img img,
  #clinic .map-img img{
    width: 100%;
    border-radius: 5px;
  }
  /*----------下層ページ----------*/
  #initial h1{
  background: url("../img/initial-header02.png") right 5px bottom no-repeat,rgba(4,108,222,0.2);
}
  .doctor-img,
  .medical-img{
    margin: 0 auto 30px;
  }
  .flow-img{
    margin: 0 auto;
  }
  .icon-img,
  .photo{
    margin-right: 0;
  }
  /*----------menu----------*/
  .gnavi__pc-style {
  display: none;    
  }
  .gnavi__sp-style {
    display: block;
  }

  /*メニューボタン　展開前*/
  .menu-btn {
    display : block;
    position: absolute;
    z-index: 3;
    right: 20px;
    top: 30px;
    width: 42px;
    height: 42px;
    border: solid 1px #aaa;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow:  2px 2px 10px #dbdbdb;
  }
  .menu-btn span {
    display : block;
    position: absolute;
    width: 30px;
    height: 3px ;
    left: 6px;
    border-radius: 3px;
    background: #ef8482;
    transition: 0.3s ease-in-out;
  }
  .menu-btn span:nth-of-type(1) {
    top: 6px;
  }
  .menu-btn span:nth-of-type(2) {
    top: 16px;
  }
  .menu-btn span:nth-of-type(3) {
    top: 26px;
  }
  .menu-btn span:nth-of-type(4) {
    top: 30px;
    height: 0;
    font-size: 11px;
  }

  /*メニューボタン　展開後*/
  .menu-btn.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    background :#fff;
    transform: rotate(-45deg);
  }
  .menu-btn.active span:nth-child(2),
  .menu-btn.active span:nth-child(3) {
    top: 16px;
    background :#fff;
    transform: rotate(45deg);
  }
    .menu-btn.active{
      border: none;
      background: none;
      box-shadow: none;
    }
    .menu-btn.active span:nth-child(4){
      display: none;
    }

  /*スマホ用のメニュー*/
  .gnavi__sp-style {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    text-align: center;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
    display: flex;
    align-items: center;
  }
  .gnavi__sp-style ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  .gnavi__sp-style ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
  }
  .gnavi__sp-style ul li:last-of-type {
    padding-bottom: 0;
  }
  .gnavi__sp-style ul li:hover{
    background :rgba(130, 182, 239,0.7);
  }
  .gnavi__sp-style ul li a {
    display: block;
    color: #fff;
    padding: 1em 0;
    text-decoration :none;
  }
  .gnavi__sp-style.active {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width:375px){
  .s_01 .accordion_one .accordion_header{
    font-size: 12px;
  }
}