#home .s1 {
  position: relative;
  height: 100vh;
  min-height: 625px;
}

#home .s1 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#home .s1 .container {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

#home .s1 .container .heading {
  overflow: hidden;
}

#home .s1 .container .heading .line {
  overflow: hidden;
}

#home .s1 .container .heading .line:nth-child(2) {
  padding-bottom: 1.15em;
}

#home .s1 .container .heading h1 {
  font-family: "literata-variable";
  font-style: normal;
  font-weight: 300;
  transform: translateY(110%);
  font-size: 6rem;
  line-height: 1em;
  color: #fff;
}

#home .s1 .container p {
  opacity: 0;
  transform: translateY(30px);
  color: #fff;
  font-size: 1.2rem;
  max-width: 518px;
  padding-bottom: 1rem;
}

#home .s1::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 18.85%), linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%), #B9B9B9;
  mix-blend-mode: multiply;
}

#home .s3 {
  background: #375060;
}

#home .s3 .pin {
  height: 100vh;
  overflow: hidden;
}

#home .s3 .container {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  gap: 5rem;
  height: 100%;
  position: relative;
}

#home .s3 .left {
  width: 38%;
  flex-shrink: 0;
  position: relative;
  padding-top: 7rem;
}

#home .s3 .left .ttl {
  color: #fff;
  margin-bottom: 2.5rem;
}

#home .s3 .left::after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(-2.5rem - 1px);
  transform: translateY(-50%);
  width: 1px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.3);
}

#home .s3 .nav {
  list-style: none;
  margin-bottom: 2.5rem;
}

#home .s3 .navItem {
  font-family: "literata-variable";
  font-style: normal;
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color .4s ease;
  cursor: default;
}

#home .s3 .navItem:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

#home .s3 .navItem.active {
  color: #fff;
}

#home .s3 .right {
  position: relative;
  flex: 1;
  height: 100%;
  clip-path: inset(0 -100vw 0 -100vw);
}

#home .s3 .panel {
  position: absolute;
  inset: 0;
  background: #375060;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  transform: translateY(100%);
  will-change: transform;
  padding-bottom: 3rem;
  isolation: isolate;
}

#home .s3 .panel[data-idx="0"] {
  transform: translateY(0);
}

#home .s3 .panel .topline {
  position: absolute;
  top: 0;
  left: -2.5rem;
  right: -100vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
  opacity: 1;
}

#home .s3 .panel[data-idx="0"] .topline {
  opacity: 1;
}

#home .s3 .panel .pic {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

#home .s3 .panel .txt {
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
}

#home .s3 .panel h2 {
  color: #fff;
  font-size: 2rem;
  width: 41%;
  flex-shrink: 0;
}

#home .s3 .panel .copy {
  flex: 1;
}

#home .s3 .panel .copy p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.5em;
}

#home .s3 .panel .copy p + p {
  margin-top: 1rem;
}

#home .s3-mobile {
  display: none;
  background: #375060;
  padding: 7.5rem 0;
}

#home .s3-mobile .tt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

#home .s3-mobile h2 {
  color: #fff;
}

#home .s3-mobile .fx-accordion {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

#home .s3-mobile .fx-accordion .fx-nav {
  padding: 15px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#home .s3-mobile .fx-accordion .fx-nav h2 {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  padding-right: 2rem;
}

#home .s3-mobile .fx-accordion .fx-nav::after {
  content: '';
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  background: url(/i/svg/dropdown.svg) no-repeat center/contain;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all .3s ease;
}

#home .s3-mobile .fx-accordion .fx-nav.fx-on::after {
  transform: translateY(-50%) rotate(180deg);
}

#home .s3-mobile .fx-accordion .fx-nav.fx-on h2 {
  color: #fff;
}

#home .s3-mobile .fx-accordion .fx-slide .content {
  padding: 2rem 0;
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

#home .s3-mobile .fx-accordion .fx-slide .pic {
  aspect-ratio: 16 / 9;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#home .s3-mobile .fx-accordion .fx-slide p {
  color: #fff;
}

#home .s3-mobile .fx-accordion .fx-slide p:first-of-type {
  margin-bottom: 1rem;
}

#home .s4 .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

#home .s4 .stat {
  border-left: 1px solid rgba(55, 80, 96, 0.2);
  padding-left: 2.5rem;
}

#home .s4 .stat:first-child {
  border-left: none;
  padding-left: 0;
}

#home .s4 .num {
  font-family: "literata-variable";
  font-style: normal;
  font-weight: 300;
  font-size: 6.5rem;
  font-weight: 200;
  line-height: 1;
  font-variant-numeric: lining-nums proportional-nums;
  color: #375060;
  padding-bottom: 2rem;
  border-bottom: 5px solid #375060;
}

#home .s4 .num .plus {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  vertical-align: bottom;
  margin-left: .1rem;
  transform: translateY(-10px);
}

#home .s4 h3 {
  font-size: 1.7rem;
  color: #375060;
  margin-top: 2rem;
}

#home .s4 .list {
  list-style: none;
  margin-top: 2rem;
}

#home .s4 .list li {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-size: 0.9rem;
  color: #375060;
  padding: 10px 0;
  border-bottom: 1px solid rgba(134, 138, 141, 0.3);
}

#home .s4 .list li:first-child {
  border-top: 1px solid rgba(134, 138, 141, 0.3);
}

#home .grid-4 .head {
  gap: 2rem;
}

#home .s5 .splide__slide,
#home .s5 .splide__slide .card {
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media screen and (min-width: 981px) and (max-height: 850px) {
  #home .s1 .container .heading h1 {
    font-size: 5rem;
  }
  #home .s3 .left {
    padding-top: 3.5rem;
  }
  #home .s3 .left .ttl {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  #home .s3 .nav {
    margin-bottom: 1.5rem;
  }
  #home .s3 .navItem {
    font-size: 1rem;
    padding: 6px 0;
  }
  #home .s3 .panel {
    padding-bottom: 1.5rem;
  }
  #home .s3 .panel .pic {
    max-height: 38vh;
  }
  #home .s3 .panel .txt {
    padding-top: 1.25rem;
  }
  #home .s3 .panel h2 {
    font-size: 1.5rem;
  }
  #home .s3 .panel .copy p {
    font-size: 0.8rem;
  }
  #home .s3 .panel .pic {
    background-position: 50% 20%;
  }
}

@media screen and (min-width: 981px) and (max-height: 650px) {
  #home .s1 .container .heading h1 {
    font-size: 4rem;
  }
  #home .s1 .container p {
    font-size: 1.1rem;
  }
  #home .s3 .left .ttl {
    font-size: 2rem;
  }
  #home .s4 .num {
    font-size: 4.5rem;
  }
  #home .s4 .list li {
    padding: 8px 0;
  }
}

@media screen and (max-width: 1440px) {
  #home .s3 .panel .copy p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 1023px) {
  #home .s1 .container {
    flex-direction: column;
    align-items: flex-start;
  }
  #home .s1 .container p {
    max-width: none;
  }
  #home .s4 .grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  #home .s4 .stat {
    border-left: none;
    padding-left: 0;
    padding-top: 0;
  }
  #home .s4 .stat:first-child {
    padding-top: 0;
    border-top: none;
  }
  #home .s4 .num {
    font-size: 5rem;
  }
}

@media (max-width: 1200px) {
  #home .s3 .panel h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 1023px), (max-height: 619px) {
  #home .s3 {
    display: none;
  }
  #home .s3-mobile {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  #home .s1 {
    min-height: 400px;
  }
  #home .s1 .container {
    gap: 1rem;
  }
  #home .s1 .container .heading h1 {
    font-size: 3.5rem;
  }
  #home .s1 .container .heading .line:nth-child(2) {
    padding-bottom: 1em;
  }
  #home .s1 .container p {
    font-size: 1rem;
  }
  #home .s4 .num {
    font-size: 4.5rem;
  }
  #home .s3-mobile {
    padding: 5rem 0;
  }
  #home .s3-mobile .tt {
    flex-direction: column;
    align-items: flex-start;
  }
  #home .s3-mobile .fx-accordion .fx-nav h2 {
    font-size: 1.2rem;
  }
  #home .s3-mobile .fx-accordion .fx-nav::after {
    width: 25px;
    height: 25px;
  }
}
