#datepicker * {
  font-family: 'Noto Sans JP', sans-serif;
}
a.ui-state-default {
  text-align: center !important;
  line-height: 1.2;
  background: #fff !important;
  padding: 0.8rem 1.5rem !important;
  color: #000 !important;
  border: 0 !important;
}
@media screen and (max-width: 768px) {
  a.ui-state-default {
    padding: 0.8rem 0.7rem !important;
    font-size: 13px;
  }
}
a.ui-state-default span {
  color: #ff4500 !important;
  text-align: center;
}
a.ui-state-default.ui-state-active {
  background: #ff4500 !important;
  color: #fff !important;
  border: #ff4500 solid 1px !important;
}
a.ui-state-default.ui-state-active span {
  color: #fff !important;
}
.ui-datepicker {
  width: auto !important;
  display: inline-block !important;
}
@media screen and (max-width: 768px) {
  .ui-datepicker {
    width: 100% !important;
    min-width: 360px;
  }
}
.ui-widget-content {
  background: #fff;
}
.ui-widget-header {
  border: 0px solid #fff;
  background-image: linear-gradient(135deg, #4164fd, #0ec8ff) !important;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.ui-datepicker-calendar {
  padding: 10px;
  border-collapse: separate !important;
  border-spacing: 5px;
}
@media screen and (max-width: 768px) {
  .ui-datepicker-calendar {
    border-spacing: 3px;
  }
}
.ui-datepicker td {
  background: #fff;
  -webkit-filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.1));
          filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.1));
}
.ui-widget-content {
  border: 0px solid #fff;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.modalCautionWrap {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.modalCautionWrap.closeModal {
  display: none;
}
.modalCautionWrap .modalCaution {
  background: #fff;
  width: 100%;
  max-width: 1000px;
  min-width: 600px;
  padding: 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .modalCautionWrap .modalCaution {
    width: 92%;
    max-width: 92%;
    min-width: 92%;
    padding: 20px;
  }
}
.modalCautionWrap .modalCaution p {
  line-height: 1.4;
  font-size: 16px;
  margin-bottom: 1.2em;
}
@media screen and (max-width: 768px) {
  .modalCautionWrap .modalCaution p {
    font-size: 12px;
    margin-bottom: 1.1em;
  }
}
.modalCautionWrap .modalCaution .fontCaution {
  background: #f00;
  display: inline-block;
  padding: 8px 10px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 2em;
  font-size: 20px;
}
@media screen and (max-width: 768px) {
  .modalCautionWrap .modalCaution .fontCaution {
    font-size: 15px;
    margin-bottom: 1em;
    padding: 5px 7px;
  }
}
.modalCautionWrap .modalCaution .fontRed {
  color: #f00;
}
.modalCautionWrap .modalCaution .closeWrap {
  text-align: center;
  margin-top: 2em !important;
}
@media screen and (max-width: 768px) {
  .modalCautionWrap .modalCaution .closeWrap {
    margin-top: 2em !important;
  }
}
.modalCautionWrap .modalCaution .closeBtn {
  text-align: center;
  background: #005;
  color: #fff;
  font-size: 18px;
  padding: 15px 20px 15px 55px;
  position: relative;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .modalCautionWrap .modalCaution .closeBtn {
    font-size: 13px;
  }
}
.modalCautionWrap .modalCaution .closeBtn:before {
  display: block;
  height: 2px;
  width: 25px;
  content: '';
  background: #fff;
  position: absolute;
  top: 50%;
  left: 15px;
  margin-top: -1px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.modalCautionWrap .modalCaution .closeBtn:after {
  display: block;
  height: 2px;
  width: 25px;
  content: '';
  background: #fff;
  position: absolute;
  top: 50%;
  left: 15px;
  margin-top: -1px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.PermanentWrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.PermanentWrap .modalCaution {
  background: rgba(255,255,255,0.5);
  width: 720px;
  padding: 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: left;
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .PermanentWrap .modalCaution {
    width: 92%;
    max-width: 92%;
    min-width: 92%;
    padding: 20px;
  }
}
.PermanentWrap .modalCaution p {
  line-height: 1.4;
  font-size: 15px !important;
  margin-bottom: 1.2em;
  color: #333 !important;
}
@media screen and (max-width: 768px) {
  .PermanentWrap .modalCaution p {
    font-size: 11px !important;
  }
}
.PermanentWrap .modalCaution .fontCaution {
  background: #f00;
  display: inline-block;
  padding: 8px 10px;
  color: #fff !important;
  font-weight: bold;
  margin-bottom: 2em;
  font-size: 17px !important;
}
@media screen and (max-width: 768px) {
  .PermanentWrap .modalCaution .fontCaution {
    font-size: 12px !important;
  }
}
.PermanentWrap .modalCaution .fontRed {
  color: #f00;
}
.historyBtn {
  text-align: center;
  margin-top: 2em !important;
  margin-bottom: 2em;
}
@media screen and (max-width: 768px) {
  .historyBtn {
    margin-top: 2em !important;
  }
}
.historyBtn a:link,
.historyBtn a:visited {
  text-align: center;
  background: #005;
  color: #fff !important;
  text-decoration: none;
  font-size: 18px;
  padding: 15px 20px 15px 20px;
  position: relative;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .historyBtn a:link,
  .historyBtn a:visited {
    font-size: 13px;
  }
}
header {
  padding: 0 !important;
}
header a[href="#nav"] {
  background: #005;
  padding: 0 20px;
}
header a:link,
header a:visited {
  color: #fff !important;
  text-decoration: none;
}
.instructions {
  background: #ff4500;
  width: 560px;
  margin: 15px auto 30px;
  font-size: 16px;
  font-weight: bold;
  opacity: 1;
  color: #fff;
  padding: 6px;
}
@media screen and (max-width: 768px) {
  .instructions {
    width: 90%;
  }
}
@media screen and (max-width: 768px) {
  #datepicker {
    width: 100%;
  }
  #datepicker .ui-datepicker-inline {
    width: 100%;
  }
}
