* {
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h1 span,
h2 span,
h3 span,
h4 span {
  font-family: "Marcellus", "Maru Buri", "SUIT", sans-serif;
  font-weight: 500;
  transform: rotate(0.04deg);
  line-height: 1.45;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span {
  color: var(--color-primary);
}

p {
  color: var(--color-mute);
}

.btn {
  font-size: var(--font-size-18);
  font-weight: 700;
}

button.btn.btn-text.arrow img {
  width: 22px;
  margin-left: 5px;
}

.content-title {
  margin-bottom: 60px;
}

.content-title.center * {
  text-align: center;
}

.content-title.white * {
  color: #fff;
}

.content-title h2 ~ p {
  margin-top: 20px;
}

.title-banner {
  width: 100%;
  height: 70vh;
  position: relative;
}

.title-banner .bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.title-banner .bg {
  background-attachment: fixed;
  height: inherit;
}

.title-banner.full {
  height: 100vh;
}

.title-banner .container {
  position: relative;
  width: 100%;
  height: 100%;
}

.title-banner .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.title-label {
  position: relative;
}

.title-label::before {
  content: "";
  position: absolute;
  top: -100px;
  right: 7vw;
  width: 1px;
  height: 200px;
  background-color: var(--color-primary);
  animation: title-label 2s ease-in-out forwards;
}

.title-label::after {
  content: attr(title-label);
  position: absolute;
  top: 115px;
  right: 6.5vw;
  color: var(--color-primary);
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-align: center;
  font-size: var(--font-size-13);
  letter-spacing: 8px;
}

@keyframes title-label {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }

  30% {
    opacity: 1;
    transform: translateY(0);
  }

  60% {
    opacity: 1;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.sub-p {
  letter-spacing: 5px;
  font-size: var(--font-size-13);
  margin-bottom: 10px;
  color: var(--color-text);
}

.rounded-text-area {
  position: absolute;
  top: -30px;
  left: -30px;
  z-index: 5;
}

.rounded-text-area .container {
  width: 100%;
}

.rounded-text {
  width: 100px;
  height: 100px;
  text-transform: uppercase;
  transform: rotate(-103deg);
  z-index: 1;
}

.rounded-text .coloring {
  fill: var(--color-primary);
  font-size: 19px;
  letter-spacing: 12px;
}

@keyframes rotating {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.rotating {
  animation: rotating 18s linear infinite;
}

.intro-slider.slider .slider-contents {
  height: 760px;
}

.intro-slider.slider .slide-item {
  width: 1440px;
  margin: 0 40px;
}

/* staynt-pes custom */
#fullSlider.slider .slider-contents {
  height: 100vh;
}

.slider .slick-prev:before {
  background: url("/sites/2023/11/pes_wapension/assets/images/arrow_prev.svg")
    center center no-repeat;
  left: 5vw;
  opacity: 1;
}

.slider .slick-next:before {
  background: url("/sites/2023/11/pes_wapension/assets/images/arrow_next.svg")
    center center no-repeat;
  right: 5vw;
  transform: rotate(0deg);
  opacity: 1;
}

.slider .slick-prev:before,
.slider .slick-next:before {
  width: 95px;
  height: 95px;
}

.slider .slick-dots {
  bottom: 5vh;
}

.slider .slick-dots li button:before {
  font-family: unset;
  font-size: 30px;
  opacity: 0.85;
  color: var(--color-mute);
}

.slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--color-primary);
}

.mouse-scroll::before {
  background: url("/sites/2023/11/pes_wapension/assets/images/icon_scroll.png")
    no-repeat center center / contain;
  width: 60px;
  height: 50px;
}

/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {
}

/* Laptop ( 1024px ~ 1440px)*/
@media all and (min-width: 1024px) and (max-width: 1440px) {
  .title-label::before {
    right: 2vw;
  }

  .title-label::after {
    right: 1.5vw;
  }

  .intro-slider.slider {
    width: 90%;
    margin: 0 auto;
  }

  .intro-slider.slider .slider-contents {
    height: 600px;
  }
}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {
  .title-label::before,
  .title-label::after {
    display: none;
  }

  .title-banner {
    height: 50vh;
  }

  .preview-special .card {
    height: 600px;
  }

  .rounded-text-area {
    right: 60px;
  }

  .intro-slider.slider {
    width: 90%;
    margin: 0 auto;
  }

  .intro-slider.slider .slider-contents {
    height: 400px;
  }

  .intro-slider.slider .slide-item {
    width: 100%;
    margin: 0;
  }
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
  .content-title {
    margin-bottom: 40px;
  }

  .content-title h2 ~ p {
    margin-top: 12px;
  }

  .title-banner {
    height: 35vh;
  }

  .title-banner .bg {
    background-attachment: scroll;
  }

  .title-label::before,
  .title-label::after {
    display: none;
  }

  #fullSlider.slider .slider-contents {
    height: 45vh;
  }

  .slider .slick-dots li button:before {
    font-size: 20px;
  }

  .preview-special .card {
    height: 400px;
  }

  .rounded-text-area {
    transform: scale(0.5);
    left: -30vw;
    top: -90px;
  }

  .intro-slider.slider {
    width: 90%;
    margin: 0 auto;
  }

  .intro-slider.slider .slider-contents {
    height: 300px;
  }

  .intro-slider.slider .slide-item {
    width: 100%;
    margin: 0;
  }

  .mouse-scroll::before {
    width: 40px;
  }
}

.scroll-event[data-scroll="fade-in-left"] {
  animation: fade-in-left 1s ease-in;
}

@keyframes fade-in-left {
  0% {
    opacity: 0;
    transform: translate3d(-50px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translateZ(0);
  }
}

.scroll-event[data-scroll="fade-in-right"] {
  animation: fade-in-right 1s ease-in;
}

@keyframes fade-in-right {
  0% {
    opacity: 0;
    transform: translate3d(50px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translateZ(0);
  }
}

.draw-line {
  height: 1px;
  background-color: #fff;
  opacity: 0.4;
  position: absolute;
  top: 50%;
  left: 0;
}

.scroll-event[data-scroll="draw-line"] {
  animation: draw-line 1s ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes draw-line {
  0% {
    width: 0px;
  }

  to {
    width: 8%;
  }
}

.pattern-grid {
  background-image: linear-gradient(#eee 1px, transparent 1px),
    linear-gradient(to right, #eee 1px, #fff 1px);
  background-size: 40px 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

.bg-noise {
  background-image: url("/sites/2023/11/pes_wapension/assets/images/noise.png");
}
