@charset "UTF-8";

/* ===============================================
# movie
=============================================== */

.p-movie {
  position: relative;
  opacity: 0;
}

.-subLoadComplete .p-movie {
  -webkit-animation: ani-fadein 0.8s cubic-bezier(0.02, 0.88, 0.58, 1) 0s 1 normal forwards;
  animation: ani-fadein 0.8s cubic-bezier(0.02, 0.88, 0.58, 1) 0s 1 normal forwards;
  -webkit-transition: opacity 0.8s, -webkit-transform 0.85s cubic-bezier(0.18, 0.63, 0.19, 0.98);
  transition: opacity 0.8s, -webkit-transform 0.85s cubic-bezier(0.18, 0.63, 0.19, 0.98);
  transition: opacity 0.8s, transform 0.85s cubic-bezier(0.18, 0.63, 0.19, 0.98);
  transition: opacity 0.8s, transform 0.85s cubic-bezier(0.18, 0.63, 0.19, 0.98), -webkit-transform 0.85s cubic-bezier(0.18, 0.63, 0.19, 0.98);
}

@media screen and (min-width: 769px) {
  .p-movie__in {
    margin: 0 3.33333vw;
  }
}

@media screen and (max-width: 768px) {
  .p-movie__list {
    grid-auto-rows: auto;
  }
}

.p-movie__cate {
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .p-movie__cate {
    margin-bottom: 20px;
    overflow-x: auto;
    overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

.p-movie__cate--list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .p-movie__cate--list {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 0 auto;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 10px;
  }
}

.p-movie__cate--item {
  width: 170px;
  border: 1px solid #FFF;
}

@media screen and (max-width: 768px) {
  .p-movie__cate--item {
    width: auto;
    display: inline-block;
    list-style: none;
  }
}

@media screen and (max-width: 768px) {
  .p-movie__cate--item:first-child {
    margin-left: 4vw;
  }
}

@media screen and (max-width: 768px) {
  .p-movie__cate--item:last-child {
    margin-right: 4vw;
  }
}

.p-movie__cate--item a {
  display: block;
  padding: 14px 0;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
  -webkit-transition: all 0.3s cubic-bezier(0.18, 0.63, 0.19, 0.98);
  transition: all 0.3s cubic-bezier(0.18, 0.63, 0.19, 0.98);
  font-family: "Oswald", sans-serif;
}

@media screen and (max-width: 768px) {
  .p-movie__cate--item a {
    padding: 8px 16px;
  }
}

.p-movie__cate--item.-current a {
  background: #FFF;
  color: #000;
}

.p-movie__cate--item.-current a:hover {}

.p-movie__movieList {
  width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.p-movie__movieList--item {
  width: 530px;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .p-movie__movieList {
    width: 100%;
  }

  .p-movie__movieList--item {
    width: 48%;
    margin-bottom: 20px;
  }
}

.p-movie__movieList--thumb {
  padding-top: 56.25%;
  position: relative;
}

.p-movie__movieList--thumb a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: 100%;
  background-position: center center;
  transition: background-size 0.3s ease;
  overflow: hidden;
  border: 1px solid #323232;
}

.p-movie__movieList--thumb a::before,
.p-movie__movieList--thumb a::after {
  content: '';
  width: 100%;
  height: 50%;
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  -webkit-transition: -webkit-transform .3s ease;
  transition: -webkit-transform .3s ease;
  transition: transform .3s ease;
  transition: transform .3s ease, -webkit-transform .3s ease;
}

.p-movie__movieList--thumb a::before {
  top: 0;
  -webkit-transform: translateX(-120%) skewX(-45deg);
  transform: translateX(-120%) skewX(-45deg);
}

.p-movie__movieList--thumb a::after {
  bottom: 0;
  -webkit-transform: translateX(120%) skewX(-45deg);
  transform: translateX(120%) skewX(-45deg);
}

.p-movie__movieList--thumb a:hover {
  background-size: 110%;
}

.p-movie__movieList--thumb a:hover::before,
.p-movie__movieList--thumb a:hover::after {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

.p-movie__movieList--thumb a:hover .deco-modalPlay {
  -webkit-transform: translate(-50%, -50%) scale(1.25);
  transform: translate(-50%, -50%) scale(1.25);
}

.p-movie__movieList--thumb a .deco-modalPlay {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  -webkit-transition: -webkit-transform .6s ease;
  transition: -webkit-transform .6s ease;
  transition: transform .6s ease;
  transition: transform .6s ease, -webkit-transform .6s ease;
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .p-movie__movieList--thumb a .deco-modalPlay {
    width: 24px;
    height: 24px;
  }
}

.p-movie__movieList--thumb a .deco-modalPlay::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url(../../assets/img/common/deco/deco_play.png) no-repeat center center/contain;
}

.p-movie__movieList--title {
  padding-top: 10px;
}

@media screen and (max-width: 768px) {
  .p-movie__movieList--title {
    text-align: center;
  }
}
