/* Scss Document */
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
/* Since positioning the image, we need to help out the caption */
.carousel-content {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 400px;
  color: #FFF;
}

.carousel-item > .container {
  height: 100%;
}

@media (max-width: 1359px) {
  .carousel-control-prev, .carousel-control-next {
    width: 5%;
  }
}
@media (max-width: 1010px) {
  .carousel-item > .container {
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media (max-width: 991.98px) {
  .carousel-item > .container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 767.98px) {
  .carousel-control-prev, .carousel-control-next {
    width: 10%;
  }

  .carousel-item > .container {
    padding-right: 2%;/*10%;*/
    padding-left: 2%;/*10%;*/
  }
}
#carousel-monthly .monthly-panel {
  background-color: #EAEAEA;
  border-radius: 20px;
  position: relative;
}
#carousel-monthly .monthly-panel h2 {
  margin-top: 40px;
  background-color: #CCCCCC;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  height: 50px;
}
@media (max-width: 767.98px) {
  #carousel-monthly .monthly-panel h2 {
    height: auto;
    margin-top: 20px;
  }
}
#carousel-monthly .monthly-panel h2 > .row {
  margin-top: -20px;
  margin-bottom: -20px;
  height: auto;
}
@media (max-width: 575.98px) {
  #carousel-monthly .monthly-panel h2 > .row {
    margin-top: -10px;
  }
}
@media (max-width: 767.98px) {
  #carousel-monthly .monthly-panel h2 .message > img {
    width: 60%;
    margin-top: -50px;
  }
}
#carousel-monthly .monthly-panel .catch-banner {
  padding: 0 30px;
  margin-top: -50px;
}
#carousel-monthly .monthly-panel .catch-banner p {
  text-align: center;
  font-weight: 900;
  font-size: 22px;
  padding: 6px;
}
#carousel-monthly .monthly-panel .catch-banner p:nth-child(1) {
  color: #AC0002;
  border: 1px solid #666;
  background-color: #FFF;
}
#carousel-monthly .monthly-panel .catch-banner p:nth-child(2) {
  background-color: #00957D;
  color: #FFF;
}

#carousel_commute ul.catch {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
#carousel_commute ul.catch li {
  list-style: none;
  font-weight: 600;
  margin-right: 0.6rem;
}
#carousel_commute h2 {
  font-size: 2.2rem;
  color: #FFF;
  font-weight: 800;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  margin-bottom: 0px;
  line-height: 1;
}
@media (max-width: 991.98px) {
  #carousel_commute ul.catch {
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  #carousel_commute ul.catch {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  #carousel_commute h2 {
    font-size: 2rem;
  }
}
@media (max-width: 575.98px) {
  #carousel_commute h2 {
    font-size: 1.5rem;
    margin-top: 1rem;
  }
}

#carousel-webreserve h2 {
  margin-top: 22px;
  margin-bottom: 10px;
  text-align: center;
}
#carousel-webreserve p {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  text-shadow: 1px 1px 1px #000;
  line-height: 1.6;
  margin-bottom: 0px;
}
#carousel-webreserve p > strong {
  color: #CC0000;
  background-color: #FFF;
  text-shadow: none;
  display: inline-block;
  padding: 0 8px;
  margin: 0 5px;
}

#carousel-msg h2 {
  background-color: #FFF;
  font-size: 30px;
  font-weight: 700;
  margin-top: 30px;
  text-align: center;
  padding: 10px;
  color: #026456;
  border: 1px solid #FFF;
}
@media (max-width: 767.98px) {
  #carousel-msg h2 {
    font-size: 1.2rem;
  }
}
#carousel-msg pre {
  font-size: 40px;
  color: #FFF;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  #carousel-msg pre {
    font-size: 36px;
    margin-left: 30px;
  }
}
@media (max-width: 767.98px) {
  #carousel-msg pre {
    font-size: 1.6rem;
    text-align: center;
    margin-left: 0px;
  }
}

#carousel-1.carousel-item h2 {
  animation: c1-header ease-in 1s;
}

.top-carousel-1 {
  text-align: right;
}
.top-carousel-2 {
  text-align: center;
}
.top-carousel-3 {
  text-align: left;
}
@media (max-width: 767.98px) {
  .top-carousel-1,
  .top-carousel-2,
  .top-carousel-3 {
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .carousel-content .main-photo {
    margin-top: 60px;
  }
}

@keyframes c1-header {
  0% {
    background-color: rgba(255, 255, 255, 0);
  }
  70% {
    background-color: white;
  }
  100% {
    background-color: white;
    color: #026456;
  }
}
.mast__text {
  font-size: 1em;
  margin: 0 0 0.5em;
  line-height: 1.5;
  white-space: pre;
}
@media (max-width: 767.98px) {
  .mast__text {
    white-space: pre-wrap;
  }
}
.mast__text span {
  animation: letter-glow 0.7s 0s ease both;
}
.mast__text span:nth-child(1) {
  animation-delay: 1.05s;
}
.mast__text span:nth-child(2) {
  animation-delay: 1.1s;
}
.mast__text span:nth-child(3) {
  animation-delay: 1.15s;
}
.mast__text span:nth-child(4) {
  animation-delay: 1.2s;
}
.mast__text span:nth-child(5) {
  animation-delay: 1.25s;
}
.mast__text span:nth-child(6) {
  animation-delay: 1.3s;
}
.mast__text span:nth-child(7) {
  animation-delay: 1.35s;
}
.mast__text span:nth-child(8) {
  animation-delay: 1.4s;
}
.mast__text span:nth-child(9) {
  animation-delay: 1.45s;
}
.mast__text span:nth-child(10) {
  animation-delay: 1.5s;
}
.mast__text span:nth-child(11) {
  animation-delay: 1.55s;
}
.mast__text span:nth-child(12) {
  animation-delay: 1.6s;
}
.mast__text span:nth-child(13) {
  animation-delay: 1.65s;
}
.mast__text span:nth-child(14) {
  animation-delay: 1.7s;
}
.mast__text span:nth-child(15) {
  animation-delay: 1.75s;
}
.mast__text span:nth-child(16) {
  animation-delay: 1.8s;
}
.mast__text span:nth-child(17) {
  animation-delay: 1.85s;
}
.mast__text span:nth-child(18) {
  animation-delay: 1.9s;
}
.mast__text span:nth-child(19) {
  animation-delay: 1.95s;
}
.mast__text span:nth-child(20) {
  animation-delay: 2s;
}
.mast__text span:nth-child(21) {
  animation-delay: 2.05s;
}
.mast__text span:nth-child(22) {
  animation-delay: 2.1s;
}
.mast__text span:nth-child(23) {
  animation-delay: 2.15s;
}
.mast__text span:nth-child(24) {
  animation-delay: 2.2s;
}
.mast__text span:nth-child(25) {
  animation-delay: 2.25s;
}
.mast__text span:nth-child(26) {
  animation-delay: 2.3s;
}
.mast__text span:nth-child(27) {
  animation-delay: 2.35s;
}
.mast__text span:nth-child(28) {
  animation-delay: 2.4s;
}
.mast__text span:nth-child(29) {
  animation-delay: 2.45s;
}
.mast__text span:nth-child(30) {
  animation-delay: 2.5s;
}
.mast__text span:nth-child(31) {
  animation-delay: 2.55s;
}
.mast__text span:nth-child(32) {
  animation-delay: 2.6s;
}
.mast__text span:nth-child(33) {
  animation-delay: 2.65s;
}
.mast__text span:nth-child(34) {
  animation-delay: 2.7s;
}
.mast__text span:nth-child(35) {
  animation-delay: 2.75s;
}
.mast__text span:nth-child(36) {
  animation-delay: 2.8s;
}
.mast__text span:nth-child(37) {
  animation-delay: 2.85s;
}
.mast__text span:nth-child(38) {
  animation-delay: 2.9s;
}
.mast__text span:nth-child(39) {
  animation-delay: 2.95s;
}
.mast__text span:nth-child(40) {
  animation-delay: 3s;
}
.mast__text span:nth-child(41) {
  animation-delay: 3.05s;
}
.mast__text span:nth-child(42) {
  animation-delay: 3.1s;
}
.mast__text span:nth-child(43) {
  animation-delay: 3.15s;
}
.mast__text span:nth-child(44) {
  animation-delay: 3.2s;
}
.mast__text span:nth-child(45) {
  animation-delay: 3.25s;
}
.mast__text span:nth-child(46) {
  animation-delay: 3.3s;
}
.mast__text span:nth-child(47) {
  animation-delay: 3.35s;
}
.mast__text span:nth-child(48) {
  animation-delay: 3.4s;
}
.mast__text span:nth-child(49) {
  animation-delay: 3.45s;
}
.mast__text span:nth-child(50) {
  animation-delay: 3.5s;
}

@keyframes letter-glow {
  0% {
    opacity: 0;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.1);
  }
  66% {
    opacity: 1;
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.9);
  }
  77% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
}

.toggle_pc { display: block; }
.toggle_sp { display: none; }
@media only screen and (max-width: 640px) {
  .toggle_pc { display: none; }
  .toggle_sp { display: block; }
}
