@CHARSET "UTF-8";
/*
*** basic setting on css/normalize.css ***
*/

body{
  min-width: 760px;
  overflow: hidden;
  font-size: 1.2rem;
  background: #f0f8ff;
}
a:hover{
  color: #1e90ff;
}
.link{
  text-decoration: underline;
  color: #1e90ff;
}
.link:hover{
  text-decoration: none;
}
.btn_link{
  background: #1e90ff;
  border: #1e90ff solid 1px;
}
.btn_link:hover{
  background: #000080;
  border: #000080 solid 1px;
}
#page{
  padding-top: 80px;
}
#site_header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  background: #add8e6;
  z-index: 999;
  box-shadow: 0 2px 3px rgba(0,0,0,.3);
}
#header_logo{
  display: block;
  width: 60px;
  height: 60px;
  background: #fff;
  border: #1e90ff solid 1px;
  border-radius: 50%;
  text-align: center;
  margin-right: 2rem;
  padding: 1rem;
}
#header_logo img{
  max-width: 100px;
  max-height: 50px;
}
#header_nav{
  display: flex;
}
#header_nav ul{
  display: flex;
}
#header_nav ul li{
  margin-right: .5rem;
}
#header_nav a{
  display: block;
  border: #1e90ff solid 2px;
  background: #fff;
  border-radius: 5px;
  padding: 1rem;
  text-align: center;
  color: #1e90ff;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: bold;
}
#header_nav a:hover{
  background: #1e90ff;
  color: #fff;
}
#header_nav li.current a{
  background: #1e90ff;
  color: #fff;
}
#header_nav a i{
  font-size: 1.6rem;
}
#header_nav a span{
  display: none;
}
#header_nav__right{
  margin: 0 2rem 0 auto;
  display: flex;
  align-items: center;
}
#header_nav__right li{
  margin-left: 1rem;
}
#header_nav__right li i{
  color: #333;
  font-size: 2.5rem;
}
#header_nav__right li i:hover{
  opacity: .8;
}
#header_nav__logout{
  font-size: 1rem;
  padding: 5px 2rem;
  border: 0;
}
#header_nav__right li #header_nav__logout i{
  font-size: 1.8rem;
  display: block;
  color: #fff;
}
#header_nav__right li #header_nav__logout:hover{
  background: #000;
}
.section{
  background: #fff;
  border-radius: 10px;
  /*overflow: hidden;*/
  margin-bottom: 3rem;
  padding: 2rem 1rem 3rem;
  box-shadow: 5px 5px #add8e6;
  border: #add8e6 solid 2px;
}
.container_wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 3rem 3%;
}
.container{
  width: 49%;
}
.section_title{
  font-size: 1.6rem;
  border-top: #777 solid 2px;
  border-bottom: #777 solid 2px;
  color: #777;
  font-weight: bold;
  padding: .5rem 1rem;
  position: relative;
}
.section_title i{
  font-size: 120%;
  vertical-align: middle;
}
.section_title .btn_link{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding: 5px;
  font-size: 1rem;
  width: 150px;
}

.section_inner{
  position: relative;
  padding: 0 1rem;
}
#business_information{
  width: 68%;
}
.info_box{
  display: table;
  width: 100%;
  border-bottom: #ccc dotted 1px;
  padding: 1rem 0;
}
.info_box p{
  margin: 0;
  display: table-cell;
}
.info_box p.info_date{
  width: 20%;
}
#page_home__right{
  width: 30%;
}
#page_home__contract table th{
  width: 50%;
  text-align: center;
  vertical-align: middle;
  padding: 1rem 2rem;
}
#page_home__contract table td{
  text-align: right;
  padding: 1rem 2rem;
}
#page_home__contract table td span{
  font-size: 150%;
  margin-right: 1rem;
}
#page_home__contract table tr.total{
  border-top: #777 solid 2px;
}
.admin_paging{
  font-size: 1rem;
}
.admin_paging ul{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.admin_paging ul li{
  padding: 0 2px;
}
.admin_paging ul li .pager{
  display: block;
  padding: 5px 1rem;
  border: #777 solid 1px;
  border-radius: 5px;
}
.paging_current{
  padding: 0 5px;
}
.search_clinic{
  width: 40%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 2rem auto;
}
.search_clinic .input_box{
  width: 60%;
}
.search_clinic .btn_submit{
  width: 35%;
  padding: 1rem;
}
.admin_page__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.btn__new_registration{
  width: 200px;
}
.btn__new_registration .btn_link{
  padding: 1rem;
  background: #fff;
  color: #1e90ff;
}
.btn__new_registration .btn_link:hover{
  background: #1e90ff;
  color: #fff;
  border: #1e90ff solid 1px;
}
.admin_page__footer{
  margin: 1rem 0;
}
/*
.time_schedule{
  font-size: 1rem;
  table-layout: fixed;
}
.time_schedule thead{
  border-bottom: #bcd537 solid 1px;
}
.time_schedule tr{
  border-bottom: #bcd537 solid 1px;
}
.time_schedule th{
  padding: 5px;
  width: 15%;
  border: 0;
  font-weight: bold;
}
.time_schedule td{
  padding: 5px 0;
  width: 5.6%;
  border: 0;
  position: relative;
}
.time_schedule td .reserved{
  background: #ddd;
  display: block;
  width: 100%;
  height: 2rem;
}
.time_schedule td .reserved::after{
  content: none;
}
.time_schedule td .reserved:hover{
  opacity: .8;
}
.time_schedule tbody tr:nth-child(4n+1) td .reserved{
  background: #f8b551;
}
.time_schedule tbody tr:nth-child(4n+2) td .reserved{
  background: #32b16c;
}
.time_schedule tbody tr:nth-child(4n+3) td .reserved{
  background: #448aca;
}
.time_schedule tbody tr:nth-child(4n) td .reserved{
  background: #ae5da1;
}
.time_schedule .accordion dd{
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.reserved_detail{
  border: #000 solid 2px;
  border-radius: 10px;
  padding: 1rem;
  background: #fff;
  white-space: nowrap;
}
.reserved_detail::before{
  content: '';
  border-right: 5px solid transparent;
  border-bottom: 5px solid #000;
  border-left: 5px solid transparent;
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}
.reserved_detail p{
  margin-bottom: 1rem;
}
.new_customer{
  display: inline-block;
  padding: 1px 1rem;
  background: #eb6877;
  color: #fff;
  margin-right: 5px;
  border-radius: 5px;
}
.repeater{
  display: inline-block;
  padding: 1px 1rem;
  background: #13b5b1;
  color: #fff;
  margin-right: 5px;
  border-radius: 5px;
}
.reserved_detail .btn_link{
  padding: 2px 0;
}
.patient_info .reserved_time{
  color: #1e90ff;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.patient_info p{
  font-size: 1.2rem;
  padding-left: 2rem;
}
.patient_info__notice{
  position: absolute;
  top: 0;
  right: 1rem;
  font-size: 3rem;
  color: #e5004f;
}
.patient_info__notice:hover{
  color: #a50c41;
}
.patient_info__edit{
  font-size: 1.2rem;
  margin: 0 0 0 auto;
  padding: 5px 1rem;
  width: 150px;
}

#page_home__bottom{
  border-top: #1e90ff solid 3px;
  background: #fff;
}
#page_home__bottom .section{
  border: #1e90ff solid 2px;
}
#page_home__bottom .section_title{
  padding: .5rem 2rem;
  background: #1e90ff;
  color: #fff;
  border-radius: 50px;
}

#business_checklist li{
  margin-bottom: 5px;
}

#reservation_monthly{
  width: 70%;
}
#reservation_weekly{
  width: 28%;
}
.calendar_head{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
}
.calendar_head h2{
  font-size: 2rem;
  color: #1e90ff;
  margin: 0;
  padding-left: 1rem;
  line-height: 1.4;
}
.calendar_head h2 span{
  display: block;
  font-size: 1.2rem;
}
.calendar_nav{
  display: flex;
  font-size: 1rem;
}
.calendar_nav li{
  margin-left: 5px;
}
.calendar_nav .btn_link{
  padding: 5px 2rem;
}
.monthly_cal{
  font-size: 1rem;
  table-layout: fixed;
}
.monthly_cal td{
  padding: 0;
}
.monthly_cal td a{
  display: block;
  padding: 5px;
  height: 80px;
  color: #000;
}
.monthly_cal td a:hover{
  border: #bcd537 solid 1px;
}
.monthly_cal thead{
  border-bottom: #ccc solid 2px;
}
.monthly_cal thead td{
  padding: 5px;
  text-align: center;
  background: #eee;
}
.cal_day{
  width: 20px;
  height: 20px;
  display: inline-block;
  text-align: center;
  line-height: 20px;
}
.monthly_cal td:first-child{
  color: #e60012;
}
.monthly_cal td:first-child a,
.monthly_cal td.holiday a{
  background: #f9dddf;
}
.monthly_cal td.holiday .cal_day{
  background: #e60012;
  color: #fff;
  border-radius: 50%;
}
.monthly_cal td:last-child{
  color: #0068b7;
}
.monthly_cal td:last-child a{
  background: #cde0ee;
}
.weekly_table{
  table-layout: fixed;
}
.weekly_table tr:nth-child(2n){
  background: #efefef;
}
.weekly_table th{
  width: 60px;
  font-size: 1rem;
  padding: 5px;
  vertical-align: top;
}
#reservation_edit{
  width: 100%;
}
.reservation_table{
  margin-bottom: 3rem;
  font-size: 1.2rem;
}
.reservation_table th,
.reservation_table td{
  padding: 1rem;
}
.reservation_table th{
  background: #aaa;
  color: #fff;
  width: 15%;
  text-align: center;
  vertical-align: middle;
}

.search_patient__wrap{
  margin-bottom: 3rem;
}
.search_patient{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search_patient input{
  width: 75%;
}
.search_patient button{
  width: 20%;
  padding: 1rem;
}

.select_box{
  width: auto;
}
.form_address{
  margin-bottom: 5px;
}
#page_introduction .reservation_table{
  margin-bottom: 1rem;
}
#page_introduction .reservation_table th{
  width: 20%;
}
.reservation_table td .check_list{
  display: flex;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.reservation_table td .check_list li{
  margin-right: 2rem;
  margin-bottom: 5px;
}
.page_nav{
  margin: 2rem 0;
}
.page_nav ul{
  display: flex;
}
.page_nav ul li{
  margin-right: 5px;
}
.page_nav ul li a{
  border: #bcd537 solid 2px;
  color: #bcd537;
  padding: 1rem 2rem;
  display: block;
  border-radius: 5px;
}
.page_nav ul li.current a{
  background: #bcd537;
  color: #fff;
}
.introduction_title{
  color: #1e90ff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: #1e90ff solid 5px;
}
.add_frame{
  font-size: 1rem;
  background: #666;
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 3px 2rem;
  border-radius: 50px;
  cursor: pointer;
}
h2 .add_frame{
  margin-left: 2rem;
  margin-bottom: 0;
}
.reservation_table__wrap{
  position: relative;
}
.table_delete__wrap{
  position: absolute;
  right: -20px;
  top: 50%;
  margin-top: -20px;
  z-index: 10;
}
.table_delete__wrap input{
  display: none;
}
.table_delete{
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #f9e8ea;
  border-radius: 50%;
  cursor: pointer;
  color: #eb6877;
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}
.table_delete__wrap input[type="checkbox"]:checked + label{
  background: #eb6877;
  color: #fff;
}*/
.schedule_table{
  table-layout: fixed;
  font-size: 1.2rem;
  border: #1e90ff solid 1px;
}
.schedule_table thead{
  background: #1e90ff;
  color: #fff;
}
.schedule_table tr{
  border-bottom: #1e90ff solid 1px;
}
.schedule_table tr:nth-child(2n){
  background: #f0f8ff;
}
.schedule_table th{
  border: 0;
  padding: 1rem;
  width: 20%;
  vertical-align: middle;
  word-break: break-all;
}
.schedule_table td{
  border: 0;
  padding: 1rem;
  word-break: break-all;
}
.schedule_table td .btn_link{
  padding: 5px 1rem;
}
.btn_detail__box{
  width: 15%;
}
.thumbnail_wrap{
  width: 150px;
  padding-right: 2rem;
  text-align: center;
  overflow: hidden;
}
.thumbnail_box{
  border-radius: 5px;
}
.thumbnail{
  margin: 10px;
  border: solid 1px #ccc;
  border-radius: 5px;
}
.img_upload{
  display: flex;
  align-items: center;
}
.delete_box{
  position: absolute;
  top: 0;
  right: 0;
  background: #f9e8ea;
  border-radius: 50px;
  z-index: 10;
  cursor: pointer;
  color: #eb6877;
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}





/* =RWD
-------------------------------------------------------------- */

@media screen and (min-width: 760px){
  #header_nav a{
    padding: 5px 1rem;
  }
  #header_nav a span{
    display: block;
  }
  .form_address{
    display: flex;
    align-items: center;
  }
  .form_address span{
    padding-right: 1rem;
    width: 20%;
  }
  .form_address__inner{
    width: 80%;
  }

}