@charset "utf-8";

.plan-tit{
  max-width: 690px;
  width: 94%;
  margin: 70px auto -70px;
  padding: 60px 70px 0;
  background-color: #fff;
}
.plan-tit p{
  color: #5db98b;
  font-size: 4.5rem;
  line-height: 1.4;
  border-bottom: solid 4px #5db98b;
  background: url(../img/plan/midashi-bg.png) no-repeat bottom -4px right / 192px 50px;
}
.plan-tit p span{
  font-size: 1.7rem;
  display: block;
}
@media only screen and (max-width: 768px) {
  .plan-tit{
    width: 94%;
    margin: 5% auto 0;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
    background-color: inherit;
  }
  .plan-tit p{
    color: #5db98b;
    font-size: 3rem;
    line-height: 1.4;
    border-bottom: solid 4px #5db98b;
    padding-bottom: 5%;
    background: url(../img/plan/midashi-bg.png) no-repeat bottom -4px right / 91px 25px;
  }
  .plan-tit p span{
    font-size: 1.2rem;
    display: block;
  }
}

.plan .tab_item{
  border: solid 4px #5db98b;
  border-bottom: none;
  margin:0 7px -4px 0;
  display: inline-flex;
  padding: 20px 0;
  width: 55px;
  height: 58px;
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
  background: url(../img/plan/tab-off.png) no-repeat center top 67px / 20px 20px  #5db98b;
  cursor: pointer;
}
.plan input:checked + .tab_item {
  color: #5db98b;
  background: url(../img/plan/tab-on.png) no-repeat center top 67px / 20px 20px #fff;
}
.tab_item:hover {
  opacity: 1;
}
/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}
/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  border: solid 4px #5db98b;
  padding: 30px;
  box-sizing: border-box;
  clear: both;
  overflow: hidden;
}
/*選択されているタブのコンテンツのみを表示*/
#tab01:checked ~ #conts01,
#tab02:checked ~ #conts02,
#tab03:checked ~ #conts03,
#tab04:checked ~ #conts04,
#tab05:checked ~ #conts05,
#tab06:checked ~ #conts06,
#tab07:checked ~ #conts07,
#tab08:checked ~ #conts08,
#tab09:checked ~ #conts09,
#tab10:checked ~ #conts10 {
  display: block;
}


@media only screen and (max-width: 768px) {
  .plan .tab_item{
    border: solid 2px #5db98b;
    border-bottom: none;
    margin:0 7px -2px 0;
    display: block;
    padding: 10px 0;
    width: 99.1%;
    height: 22px;
    text-align: center;
    font-size: 1.3rem;
    text-indent: 0;
    color: #fff;
    font-weight: bold;
    background: none;
    background-color: #5db98b;
    cursor: pointer;
  }
  .plan .tab_item:last-of-type{
    margin-right: 0;
  }
  .plan input:checked + .tab_item {
    color: #5db98b;
    background: none;
    background-color: #fff;
  }
  .tab_item:hover {
    opacity: 1;
  }
  .tab_content {
    display: none;
    border: solid 2px #5db98b;
    padding: 5%;
    box-sizing: border-box;
    clear: both;
    overflow: hidden;
  }
}

h4{
  color: #5db98b;
  font-size: 2.4rem;
  line-height: 1.8;
  letter-spacing: .1em;
  font-weight: bold;
  margin-bottom: 15px;
  background: url(../img/plan/line-dot.png) repeat-x bottom left / 10px 2px;
}
.tit{
  position: relative;
}

.tit .select strong{
  font-size: 1.2rem;
  margin: 0 5px 0 10px;
}
.txt01{
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
}
@media only screen and (max-width: 768px) {
  h4{
    font-size: 1.6rem;
    margin-bottom: 5%;
    background: url(../img/plan/line-dot.png) repeat-x bottom left / 5px 1px;
  }
  .plan .tit:first-child{
    margin-bottom: 20%;
  }
  .tit{
    position: relative;
  }
  .tit .select{
    position: relative;
    top: 150%;
    right: 0;
    left: 0;
  }
  .tit .select strong{
    font-size: 1.2rem;
    margin: 0 5px 0 0;
  }
  .txt01{
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 0 5%;
  }
}
@media only screen and (max-width: 468px) {
  .plan .tit:first-child{
    margin-bottom: 30%;
  }
}

.price{
  border: solid 4px #5db98b;
  box-sizing: border-box;
  line-height: 1.2;
  width: 100%;
  margin-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price table,
.price tbody{
  width: 100%;
  table-layout:fixed;
}
.price table tr td.date:hover,
.price table tr td.date.selected {
  background-color: #5db98b;
  cursor: pointer;
}
.price table tr:first-child {
  background-color: #ceeadc;
}

.price th{
  font-size: 1.4rem;
  background-color: #ceeadc;
  vertical-align: middle;
  text-align: center;
  border-bottom: solid 1px #bbb;
  border-right: solid 1.2px #bbb;
  padding: 10px 0;
  width: 96px;
  table-layout:fixed
}
.price th:nth-child(1),
.price th:nth-child(3){
  width: 100px;
}
.price th:nth-child(2){
  width: 115px;
}
/* IE11対応 */
@supports (-ms-ime-align: auto) {
  .price .sticky1,
  .price .sticky2,
  .price .sticky3 {
    border-right: none;
    border-bottom: none;
  }
  .price .sticky1::before,
  .price .sticky2::before,
  .price .sticky3::before {
    content : "" ;
    position : absolute ;
    top : 0 ;
    left : 0 ;
    width : calc(100% - 1px);
    height : calc(100% - 1px);
    border-right: solid 1px #bbb;
    border-bottom: solid 1px #bbb;
  }
}
.price .tb2 tr:first-child th{
  width: 50%;
}
.price td{
  font-size: 1.2rem;
  text-align: center;
  padding: 10px 0;
  vertical-align: middle;
  border-bottom: solid 1px #bbb;
  border-right: solid 1px #bbb;
}
.price th:last-child,.price td:last-child{
  border-right: none;
}
.price td span{
  font-size: 1rem;
  /* color: #f00; */
  display: block;
}
.price .icon{
  display: block;
  width: 30px;
  margin: 0 auto 5px;
}
.bath-attention {
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 1.4rem;
}
.price .non-pln {
  padding: 10px;
  font-size: 2.3em;
  color: #ff2222;
}
@media only screen and (max-width: 768px) {
  .price{
    border: solid 2px #5db98b;
    line-height: 1.2;
    width: 100%;
  }
  .price th{
    font-size: 1.2rem;
    padding: 3% 0;
  }
}

.point{
  background-color: #ceeadc;
  border-radius: 10px;
  padding: 15px 25px;
  color: #444;
  margin-bottom: 30px;
}
.point .midashi {
  font-size: 1.5rem;
  font-weight: bold;
  background: url(../img/plan/icon-check.png) no-repeat center left / 21px 17px;
  margin-bottom: 10px;
  padding-left: 30px;
}
.point .txt01{
  margin-bottom: 0;
}
@media only screen and (max-width: 768px) {
  .point{
    padding: 5%;
    margin-bottom: 8%;
  }
  .point .midashi {
    font-size: 1.4rem;
    font-weight: bold;
    background: url(../img/plan/icon-check.png) no-repeat center left / 21px 17px;
    margin-bottom: 5%;
    padding-left: 26px;
  }
}

.calendar .month{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 84%;
  margin: 0 auto 10px;
  color: #5db98b;
}
.calendar .month li{
  font-size: 2.8rem;
}
.calendar .month li span{
  font-size: 1.2rem;
  display: inline-block;
  margin: 0 10px 0 -40px;
}
.calendar .month li a{
  color: #5db98b;
  font-size: 1.2rem;
  position: relative;
}
.calendar .month li:first-child a:before{
  content: '\025c0';
  position: absolute;
  top: -3px;
  left: -15px;
}
.calendar .month li:last-child a:after{
  content: '\025b6';
  position: absolute;
  top: -3px;
  right: -15px;
}
.calendar table{
  border: none;
  line-height: 1.2;
  width: 100%;
  margin: 0 auto 30px;
}
.calendar table th{
  background-color: #ceeadc;
  border: solid 1px #bbb;
}
.calendar table th:first-child{
  color: #f00;
}
.calendar table th:last-child{
  color: #0071bc;
}
.calendar table td{
  border: solid 1px #5db98b;
  font-size: 1.6rem;
  padding: 5px;
  text-align: center;
  width: 90px;
}
.calendar table td.selected {
  background-color: #5db98b;
  cursor: pointer;
}
.calendar table td a{
  color: #5db98b;
}
.calendar table td.selected a {
  color: #fff;
}
.calendar table td a span{
  color: #000;
  font-size: 1.2rem;
}
.calendar .non-calendar {
  font-size: 2.5em;
  margin-bottom: 2em;
  color: #ff2222;
}

@media only screen and (max-width: 768px) {
  .calendar .month{
    width: 94%;
    margin: 0 auto 5%;
  }
  .calendar table{
    border: none;
    line-height: 1.2;
    width: 100%;
    margin: 0 auto 5%;
  }
  .calendar table td{
    font-size: 1.4rem;
    min-width: 73px;
  }
}

.plan a.btn {
  border: 2px solid #5db98b;
  border-radius: 5px;
  background-color: #fff;
  color: #5db98b;;
  font-size: 2rem;
  font-weight: bold;
  display: block;
  max-width: 340px;
  width: 96%;
  margin: 10px auto 0;
  padding: 20px 0;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
  box-shadow:2px 2px 2px 0px #999;
}
.plan a.btn:hover {
  background-color: #5db98b;
  border: 2px solid #5db98b;
  color: #fff;
}
@media only screen and (max-width: 768px) {
  .table-wrap {
      overflow: auto;
  }
  .plan a.btn {
    border: 2px solid #5db98b;
    border-radius: 5px;
    background-color: #fff;
    color: #5db98b;
    font-size: 1.6rem;
    width: 96%;
    margin: 5% auto 0;
    padding: 3% 0;
    text-align: center;
  }
}
