@charset "UTF-8";

/* ▼ 先方スタイル相殺 */
.prod-detail .mod-head01 {
  z-index: 3;
  height: initial;
  padding-block: 2rem;
}
.prod-detail .mod-head01-inner {
  position: initial;
  transform: initial;
}
/* ▲ 先方スタイル相殺 */

.fixed-bg {
  position: fixed;
  top: 90px;
  left: 0;
  z-index: -1;
  width: 100%;
  height: calc(100lvh - 90px);
  background: url(/images/product/ex/joy/mv.webp) no-repeat top left 30% / cover;
}

#mv {
  position: relative;
}
#mv .inner {
  position: relative;
  height: calc(100lvh - 90px);
}
#mv picture {
  position: absolute;
  left: 30%;
  bottom: 0;
  height: 100%;
  translate: -50% 0;
}
#mv picture img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.js-wrapper {
  margin-top: 50lvh;
}

#features {
  position: relative;
  z-index: 2;
  background: initial;
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-mplus);
}
#features::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: #fff url(/images/product/ex/joy/feature-bg.webp) no-repeat top center / cover;
}
#features section {
  display: grid;
  grid-template-rows: 6.1rem auto;
  background-color: initial;
}
#features .catch {
  display: grid;
  place-content: center;
  padding-block: 1.3rem;
  background-color: #b0bcb8;
  text-align: center;
  color: #fff;
  font-size: 3rem;
  font-size: min(2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}
#features picture {
  display: grid;
  align-items: flex-end;
  height: 100%;
  margin-top: auto;
  text-align: center;
}
#features .feature01 {
  width: 100%;
}
#features picture img {
  object-fit: contain;
  object-position: bottom center;
}
#features section:not(:first-of-type) {
  width: 50%;
}
#features .feature01 .catch {
  padding-block: 2.7rem;
  font-size: 3.2rem;
  line-height: 1.4;
}
#features .feature01 picture img {
  width: 100%;
}
#features :where(.feature02, .feature04) .catch {
  clip-path: polygon(0 0%, 96% 0%, 90% 100%, 0% 100%);
  padding-right: 3rem;
}
#features :where(.feature03, .feature05) .catch {
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 4% 100%);
  padding-left: 4rem;
}
#features .feature05 .link {
  position: absolute;
  top: 72%;
  left: 42%;
}
#features .feature05 .link a {
  display: block;
  width: 12vw;
  transition: filter 0.2s ease;
}
#features .feature05 .link a img {
  width: 100%;
}
#features .feature05 .link a:hover {
  filter: brightness(1.4);
}

#used {
  margin-top: 50lvh;
}
#used picture img {
  width: 100%;
}

#details {
  position: relative;
  z-index: 4;
}
#details .wrapper {
  padding: 1.3rem 4rem 3.6rem;
}
#details .common-icon-list {
  align-items: center;
  justify-content: center;
}
#details picture {
  width: min(108rem, 100%);
  margin: 8rem auto 10rem;
}

/* SP */
@media (max-width: 767px) {
  .fixed-bg {
    top: 60px;
    height: calc(100lvh - 60px);
    background: url(/images/product/ex/joy/mv-sp.webp) no-repeat center left / cover;
  }

  #mv .inner {
    height: calc(100lvh - 60px);
  }
  #mv picture {
    left: 0;
    width: 83vw;
    max-height: 100%;
    translate: initial;
  }

  #mv picture img {
    width: 100%;
    height: 100%;
    object-position: left bottom;
  }

  #features::before {
    display: none;
  }
  #features section:not(:first-of-type) {
    width: 100%;
  }
  #features .catch {
    clip-path: initial;
    padding-inline: initial;
    font-size: 4.688vw;
  }
  #features picture img {
    width: 100%;
    height: auto;
  }
  #features .feature01 {
    order: 1;
  }
  #features .feature02 {
    order: 3;
  }
  #features .feature03 {
    order: 2;
  }
  #features .feature04 {
    order: 4;
  }
  #features .feature05 {
    order: 5;
  }
  #features .feature01 .catch {
    font-size: 4.688vw;
  }
  #features .feature05 .catch {
    font-size: 4vw;
  }
  #features .feature05 .link {
    top: 65%;
    left: 65%;
  }
  #features .feature05 .link a {
    width: 25.8vw;
  }

  #details .wrapper {
    padding: 1.563vw 6.25vw 5.625vw;
  }
  #details .common-icon-list {
    gap: 1.563vw;
  }
  #details picture {
    width: 100vw;
    margin: 3rem calc(50% - 50vw);
  }
}
