@charset "utf-8";
main.best-price-calendar #reserveAction {
  width: 462px;
  margin: 0 auto;
}
main.best-price-calendar .modal {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
main.best-price-calendar .modalHeader,
main.best-price-calendar .modalTitle {
  all: unset;
}
main.best-price-calendar .modalTitle {
  display: inline-block;
  padding: 10px 60px;
  color: #001871;
  font-size: 16px;
}
main.best-price-calendar .modalHeader {
  display: block;
}
main.best-price-calendar .selectedDate {
  padding: 0 60px 10px;
  color: #001871;
  font-size: 14px;
  font-weight: bold;
}
main.best-price-calendar .modal .modalCalendar {
  margin: 0 auto;
  opacity: 1;
  position: relative;
  left: 0;
  top: 0;
  height: auto;
  padding-bottom: 30px;
}

main.best-price-calendar .cal-month,
main.best-price-calendar .cal-mypage {
  vertical-align: top;
}

/* 表示期間内に選択可能な日が無い場合の代替表示 */
main.best-price-calendar .calBlank {
  padding: 60px 20px;
  text-align: center;
  color: #001871;
  font-size: 1.4rem;
}

main.best-price-calendar #block-nav1 {
  position: relative;
}
main.best-price-calendar #block-nav1 .cal-nav {
  top: -190px;
}
main.best-price-calendar .cal-mypage {
  top: 75px;
}

#cal-loading {
  color: #001871;
  width: 100%;
  height: 331px;
  line-height: 331px;
  text-align: center;
  animation: blinking 1s ease-in-out infinite alternate;

}
@keyframes blinking {
  0%   { opacity: 0.3; }
  100% { opacity: 1; }
}
main.best-price-calendar .buttonArea {
  padding: 20px 0;
  text-align: center;
}
/* 検索ボタン上の「選択中の日付・路線」表示（内容は JS が書き込む） */
main.best-price-calendar .buttonArea .selectedRoute {
  margin-bottom: 8px;
  color: #001871;
  font-size: 1.5rem;
  font-weight: bold;
}

main.best-price-calendar .buttonArea .submit input {
  display: inline-block;
  width: 300px;
  height: 50px;
  line-height: 50px;
  border: none;
  border-radius: 3px;
  background: #eaaa00 url(/ja/images/ico_search.png) 1em center no-repeat;
  background-size: 13px 14px;
  font-size: 1.6rem;
  font-weight: bold;
  color: #001871;
}
main.best-price-calendar .buttonArea .selectedRoute > span {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  padding: 0 10px;
  border: 2px solid #001871;
  border-radius: 20px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #001871;
  top: 15px;
  z-index: 55;
}

main.best-price-calendar .buttonArea .selectedRoute > span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 12px 10px 0 10px;
  border-color: #001871 transparent transparent;
  translate: -50% 100%;
}

main.best-price-calendar .buttonArea .selectedRoute > span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 8.9px 7.4px 0 7.4px;
  border-color: #ffffff transparent transparent;
  translate: -50% 100%;
}

/* 日付選択（＋必要ならスクロール）の完了後に一度だけ再生する。
   クラスは JS（flashSubmit）が付け外しする。ループさせないため iteration-count は既定の 1 */
.buttonArea .submit input.flashBright {
  animation: flash-bright 0.5s ease-in-out;
  z-index: 50;
}
@keyframes flash-bright {
  0% {
    filter: brightness(100%);
  }
  50% {
    filter: brightness(120%);
  }
  100% {
    filter: brightness(100%);
  }
}