.under_page h3 span {
  font-weight: 600;
}

input.show_hide_password {
  border: none;
}

.prefecture {
  width: 97%;
}

/* custom dot fullcalendar*/

.fc-bgevent {
  position: relative;
}

#calendar .fc-bgevent-skeleton .fc-bgevent::before {
  content: "";
  position: absolute;
  bottom: 0.8em;
  left: 48%;
  display: block;
  width: 10px;
  height: 10px;
  background: #eb6662;
  border-radius: 50%;
  transform: translateX(-48%);
  text-align: center;
}

@media screen and (max-width: 750px) {
  #calendar .fc-bgevent-skeleton .fc-bgevent::before {
    width: 7px;
    height: 7px;
    bottom: .4em;
  }
}

#calendar .fc-state-disabled {
  cursor: none;
  pointer-events: none;
}

#calendar .fc-state-disabled .fc-day-number {
  cursor: none;
  pointer-events: none;
}

@media screen and (min-width: 751px),
print {
  #register_confirm.under_page .box_area .btn_area .btn input[type="submit"] {
    line-height: 51px;
  }
  .reserve-btn .btn button {
    padding: 16px 0 12px;
    font-size: 16px;
    font-weight: 600;
    height: 100%;
    line-height: 1.5em;
  }
  .btn button {
    display: block;
    width: 100%;
    line-height: 44px;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-align: center;
    background: #fff;
    vertical-align: unset;
    padding-top: 4px;
  }
}

.today-click {
  font-weight: 600;
}

.none-check {
  position: relative;
  pointer-events: none;
}

/* popup confirm */

.container-confirm-popup .btn {
  max-width: 270px;
  display: inline-block;
}

/* toats css  */

#snackbar {
  visibility: hidden;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 99999;
  right: 10px;
  top: 30px;
  font-size: 14px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    top: 30px;
    opacity: 1;
  }
  to {
    top: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    top: 30px;
    opacity: 1;
  }
  to {
    top: 0;
    opacity: 0;
  }
}

/*MYPAGE*/

#mypage .mypage-cont-inner {
  transform: translateX(0%);
  position: relative;
  /*transform: unset;*/
}

#mypage .mypage-cont-inner#mypage_cancel,
#mypage .mypage-cont-inner#mypage_unsubscribe,
#mypage .mypage-cont-inner#mypage_comp {
  position: absolute;
  transform: translateX(0%);
}

#mypage_cancel.show+#mypage_detail,
#mypage_unsubscribe.show+#mypage_info,
#mypage_comp.show+#mypage_review {
  position: absolute;
  visibility: hidden;
}

.js-sticky li {
  position: relative;
}

.mark-item {
  pointer-events: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent !important;
  z-index: 10;
}

#mypage .mypage-side .js-sticky a {
  display: block;
  padding: 16px;
}

#mypage .mypage-side .js-sticky {
  top: 148px;
  z-index: 1;
  padding-bottom: 200px;
}

#mypage .mypage-side .js-sticky>div {
  position: relative;
  z-index: 1;
  border-bottom: 2px solid #e5e5e5;
  cursor: pointer;
}

.photo-btns .btn_hover:not(.btn_checked)>span:before,
.photo-btns .btn_hover:not(.btn_checked)>span:after {
  width: 0 !important;
  height: 0 !important;
}

.btn_loading {
  position: relative;
}

.btn_loading.show_loading {
  pointer-events: none;
}

.btn_loading.show_loading:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  right: 0;
  left: 0;
  bottom: 0;
  top: 0;
  background-image: url('../img/mypageAdd/loading.svg');
  background-position: 30px center;
  background-repeat: no-repeat;
  background-size: 60px;
}

#mypage .mypage-cont .page-simple .page_title {
  padding-top: 50px;
}

#login.login-form p:not(.alert) a::after {
  width: 0;
}

#login.login-form p:not(.alert) {
  margin: 6px 0 10px;
  color: #f15051;
  text-align: left;
  font-weight: 400
}

.error-login {
  height: 0;
  visibility: hidden;
}

.error-login.show {
  height: auto;
  visibility: visible;
}

/*Story page*/

.story-detail .contentsAnime.detail-txt p,
#news-detail .news-art p {
  white-space: pre-line !important;
}

#total_price {
  color: black;
}

.reserve-box [class^="name-children"],
.reserve-box [class^="count-custome"] {
  font-weight: 600;
}

*[id^="reserve"] .reserve-box .inner_block .reserve-pay_info dl #tax_price {
  color: black;
}

*[id^="reserve"] .reserve-confirm_box .red_text{
  color: red;
  /*font-weight: 600;*/
}

*[id^="reserve"] .reserve-info p span object {
  max-width: 29px;
  max-height: 29px;
}

*[id^="reserve"] .reserve-slider_head p object {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 24px;
  max-height: 24px;
  transform: translate(-50%, -50%);
}

.show_costume_fail{
  text-align: center;
  font-size: 20px;
  margin-top: 20px;
}
.errors{
  color:red;
}

#toast-message {
  visibility: hidden;
  margin-left: -125px;
  background-color: #ec6662;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 99999;
  right: 10px;
  top: 30px;
  font-size: 14px;
}

#toast-message.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#reserve-payment .section-child-1 .box_first_line {
  display: none;
}

*[id^="reserve"] .reserve-step {
  margin-bottom: 0;
}

#reserve-payment .open-customes-1 .box_first_line {
  display: block;
}

.story-detail section:nth-last-of-type(1) {
  padding: 0 !important;
}
/* custom checkbox css */
.checkbox-inline {
  display: flex;
}

.checkbox-inline label {
  display: block;
  padding-left: 15px;
  text-indent: -15px;
}

.checkbox-inline input {
  width: 13px;
  height: 13px;
  padding: 0;
  margin: 0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
  *overflow: hidden;
  -webkit-appearance: checkbox;
}

/* end only demo styles */
.radio-custom {
  opacity: 0;
  position: absolute;
}

.radio-custom,
.radio-custom-label {
  display: inline-block;
  vertical-align: middle;
  margin: 5px;
  cursor: pointer;
}

.radio-custom-label {
  position: relative;
  margin-left: 25px;
  margin-right: 5px;
}

.radio-custom+.radio-custom-label:before {
  content: '';
  background: #fff;
  border: 3px solid #313131;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
  width: 36px;
  height: 36px;
  padding: 2px;
  margin-right: 10px;
  text-align: center;
  cursor: pointer;
}

.radio-custom:checked+.radio-custom-label:before {
  box-shadow: inset 0px 0px 0px 4px #fff;
  content: '';
  background: url(../img/common/checked.png) center center no-repeat;
  background-size: 22px auto;
}

.radio-custom:focus+.radio-custom-label {
  outline: 0;
  /* focus style */
}

.form_check-box {
  display: inline-flex;
}

.form_check-box .mlr-0 {
  margin-left: 0 !important;
  padding-left: 5px !important;
}

@media screen and (min-width: 751px), print {
  .btn-mypage-confirm .btn {
    display: inline-flex !important;
    margin-top: 0 !important;
    margin: 0 7px;
  }
  .btn-mypage-confirm .btn button {
    padding-top: 2px;
    width: 100%;
  }
  .btn-mypage-confirm .btn_hover:hover {
    color: #fff;
    background: transparent;
    cursor: pointer;
  }
  .btn-mypage-confirm .btn_hover:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #313131;
    transform: translateX(-101%);
    transition: 0.4s ease-in-out;
    z-index: -1;
  }
  .btn-mypage-confirm .btn_hover:hover:after {
    transform: translateX(0);
  }
}
/* custom menu mypage */
@media screen and (max-width: 992px), print {
  #mypage .mypage-side {
    min-width: 160px !important;
  }
  #mypage .mypage-side .js-sticky a {
    padding: 16px 8px;
  }
}

@media screen and (max-width: 850px), print {

  #mypage .mypage-cont-inner {
    padding: 20px;
  }
  .btn-mypage-confirm .btn {
    width: 200px !important;
    display: inline-flex !important;
    margin: 0 7px;
  }
  .btn-mypage-confirm {
    text-align: center !important;
  }
  .btn-mypage-confirm .btn button {
    width: 100%;
  }
}

/* custom menu mypage */
@media screen and (max-width: 750px), print {
  #mypage .mypage-side.show .js-sticky .name_menu_my_page {
    display: none !important;
  }
  #mypage .mypage-side {
    min-width: 60px !important;
    transition: unset !important;
  }
  #mypage .mypage-side .js-sticky {
    text-align: left;
  }
  #mypage .mypage-side.show .js-sticky>div {
    text-align: center;
  }
}

@media screen and (max-width: 600px), print {
  #mypage .mypage-cont .reserve-item {
    padding: 12px !important;
  }
}

@media screen and (max-width: 750px) {
  *[id^="reserve"] .reserve-step li+li {
    margin-left: 20px;
  }
}

/*@media screen and (max-width: 750px) {
  *[id^="reserve"] .reserve-step li:nth-of-type(n+2)::before {
    left: -18px;
    margin-top: -1px;
    width: 16px;
    height: 2px;
  }
}

@media screen and (max-width: 750px) {
  *[id^="reserve"] .reserve-step li:nth-of-type(n+2)::after {
    left: -18px;
    margin-top: -1px;
    width: 16px;
    height: 2px;
  }
}
*/