@CHARSET "UTF-8";
/*
*** basic setting on css/normalize.css ***
*/

body{
  min-width: 760px;
  overflow: hidden;
  font-size: 1.2rem;
}
.link{
  text-decoration: underline;
  color: #74a64c;
}
.link:hover{
  text-decoration: none;
}
#page{
  padding-top: 80px;
}
#site_header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  background: #fff;
  z-index: 999;
  box-shadow: 0 2px 3px rgba(0,0,0,.3);
}
#header_logo{
  display: block;
  width: 60px;
  height: 60px;
  background: #fff;
  border: #74a64c 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: #74a64c solid 2px;
  background: #fff;
  border-radius: 5px;
  padding: 1rem;
  text-align: center;
  color: #74a64c;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: bold;
}
#header_nav a:hover{
  background: #bcd537;
  border: #bcd537 solid 2px;
  color: #fff;
}
#header_nav li.current a{
  background: #74a64c;
  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;
}
.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: #74a64c solid 2px;
  border-bottom: #74a64c solid 2px;
  color: #74a64c;
  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;
}
.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: #74a64c;
  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: #74a64c solid 3px;
  background: #fff;
}
#page_home__bottom .section{
  border: #74a64c solid 2px;
}
#page_home__bottom .section_title{
  padding: .5rem 2rem;
  background: #74a64c;
  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: #74a64c;
  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: #74a64c;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: #74a64c 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: 1rem;
}
.schedule_table tr{
  border-bottom: #bcd537 solid 1px;
}
.schedule_table th{
  border: 0;
  padding: 1rem;
  width: 20%;
  vertical-align: middle;
}
.schedule_table td{
  border: 0;
  padding: 1rem
}
.schedule_table td .btn_link{
  padding: 5px 1rem;
}

#business_information{
  width: 68%;
}
#page_home__right{
  width: 30%;
}
#page_home__plan{
  width: 33%;
}
#page_home__schedule{
  width: 65%;
}
.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__point p{
  text-align: center;
  margin-bottom: 0;
}
.point_txt{
  font-size: 1.8rem;
}
.point_txt span{
  font-size: 200%;
  color: #eb6877;
}
#page_home__plan table th{
  width: 40%;
}
.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);
}

.map{
  width: 100%;
  height: 300px;
  background: #ccc;
}

.examination_time{
  font-size: 1rem;
  text-align: center;
}
.examination_time th{
  background: #efefef;
  width: 30% !important;
  color: #000;
}
.examination_time select{
  font-size: 1rem;
}




/* =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%;
  }

}




/* =ADD 2021.9.3
-------------------------------------------------------------- */

.monthly_cal td.today .cal_day{
  border: #000 solid 1px;
  border-radius: 50%;
  width: 22px;
  height: 22px;
}
.monthly_cal td.current a{
  border: #bcd537 solid 1px;
}
.closed_day a{
  background: #ccc !important;
}
.past_day a{
  background: #ccc !important;
  opacity: .3;
  pointer-events: none;/* 過去日もクリック可能にする場合はこれを削除 */
}
.monthly_cal__box{
  text-align: center;
  font-size: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin-top: 1rem;
}
.calendar_head h2{
  color: #000;
}
.calendar_head h2 .week{
  display: inline;
}
.calendar_head h2 .saturday{
  color: #0068b7;
}
.calendar_head h2 .sunday,
.calendar_head h2 .holiday{
  color: #e60012;
}
.calendar_head h2 span.holiday_name{
  font-size: 1rem;
}
#rsrv_select span{
  margin-right: .5rem;
}
#rsrv_select select{
  padding: 5px 1rem;
}
.weekly_table th{
  vertical-align: middle;
  text-align: right;
}
.weekly_table td{
  padding: 5px 1rem;
}
.weekly_table td select{
  width: 100%;
  font-size: 1.2rem;
}
.weekly_table__wrap{
  max-height: 400px;/* 縦幅の調整はコチラ */
  overflow-y: scroll;
  border: #000 solid 1px;
  margin-bottom: 2rem;
}
.weekly_table__wrap::-webkit-scrollbar{
 width: 5px;
}
.weekly_table__wrap::-webkit-scrollbar-track{
 background: #F1F1F1;
}
.weekly_table__wrap::-webkit-scrollbar-thumb {
 background: #BCBCBC;
}
#reservation_weekly{
  padding: 2rem 1rem 1rem;
}