@charset "utf-8";

/* --------------------

- trailer.css

-------------------- */
.trailer-overlay {
  align-items: center;
  background: rgba(0, 0, 0, .9);
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.trailer-modal {
  background: #000;
  border: 1px solid #fff;
  box-sizing: content-box;
  opacity: 0;
  position: relative;
  transform: translateY(10px);
  transition: .4s;
}

.trailer-nav {
  background: #fff;
  display: flex;
  flex-wrap: wrap;
}

.trailer-nav li {
  color: #E84E85;
  cursor: pointer;
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 50px;
  text-align: center;
  transition: .4s;
  width: calc(100%/3);
}

.trailer-nav li:nth-child(1),
.trailer-nav li:nth-child(2),
.trailer-nav li:nth-child(3) {
  width: calc(100%/3);
}

.trailer-nav li:hover {
  background: #f276a1;
  color: #fff;
}

.trailer-nav .selected {
  background: #f276a1 !important;
  color: #fff !important;
  cursor: default !important;
}

.trailer-nav li:nth-child(7),
.trailer-nav li:nth-child(8),
.trailer-nav li:nth-child(9),
.trailer-nav li:nth-child(10) {
  color: #3463AF;
  width: calc(100%/2);
}

.trailer-nav li:nth-child(11),
.trailer-nav li:nth-child(12) {
  width: calc(100%/2);
}


.trailer-nav li:nth-child(7):hover,
.trailer-nav li:nth-child(8):hover,
.trailer-nav li:nth-child(9):hover,
.trailer-nav li:nth-child(10):hover {
  background: #3463AF;
  color: #fff;
}

.trailer-nav li:nth-child(7).selected,
.trailer-nav li:nth-child(8).selected,
.trailer-nav li:nth-child(9).selected,
.trailer-nav li:nth-child(10).selected  {
  background: #3463AF !important;
  color: #fff !important;
  cursor: default !important;
}

.trailer-modal-close {
  background: rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: rgba(0, 0, 0, .8);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 2px 3px 3px;
  position: absolute;
  right: 0;
  top: -30px;
  transform: rotate(0deg);
  transition: .3s;
}

.trailer-modal-close:hover {
  background: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 1);
  padding: 2px 2px 3px 2px;
  transform: rotate(180deg);
}

@media screen and (max-width: 480px) {

  .trailer-overlay {
    display: none !important;
  }

}
