.hp-fv {
  aspect-ratio: 1920 / 431;
  position: relative;
}

.hp-fv-bg {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 と同義 */
  background: url("../../img/hp/faq-fv.png") center center/cover no-repeat;
  clip-path: inset(0 100% 0 0); /* 初期状態：右100%カット */
  animation: revealFromLeft 1s ease-out forwards;
}

@keyframes revealFromLeft {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

.hp-fv-title {
  position: absolute;
  top: 30%;
  left: 12%;
  color: #f27200;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hp-breadcrumb > ul {
  color: #fff;
}

.hp-faq-container {
  margin-top: -13%;
  background: url(../../img/hp/faq-bg.jpg) bottom center/cover no-repeat;
  padding-top: 13%;
  padding-bottom: 7.813%;
}

.hp-faq-inner {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
}

.hp-faq-item {
  margin-bottom: 2%;
}

.hp-faq-item:last-of-type {
  margin-bottom: 0;
}

.hp-faq-item-title {
  position: relative;
  padding: 2.728% 5.455%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  background-color: #fff1e6;
  border-radius: 5px 5px 0 0;
}

.hp-faq-item-title::before {
  content: "Q.";
  font-weight: 700;
  font-size: 18px;
  margin-left: calc(-1em - 5px);
  color: #f17300;
}

.hp-faq-item-title::after {
  content: "";
  background: url(../../img/hp/faq-plus.png) center center/cover no-repeat;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 3.637%;
  top: 50%;
  transform: translateY(-50%);
}

.hp-faq-item-title.active::after {
  background: url(../../img/hp/faq-minus.png) center center/cover no-repeat;
  height: 4px;
}

.hp-faq-item-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  letter-spacing: 0.05em;
  padding-left: 5.455%;
  position: relative;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 0 0 5px 5px;
}

.hp-faq-item-text.active {
  padding: 3.728% 5.455%;
  padding-right: 6.364%;
  transition: all 0.3s ease;
  max-height: 900px;
  position: relative;
  overflow: auto;
  background-color: #fff;
}

.hp-faq-item-text:before {
  content: "A.";
  font-weight: 700;
  font-size: 18px;
  margin-left: calc(-1em - 5px);
  color: #ff963c;
}

.hp-faq-knowhow {
  width: 100%;
  background: url(../../img/hp/about-know-how-bg.jpg) center center / cover
    no-repeat;
  position: relative;
  aspect-ratio: 1919 / 499;
  clip-path: inset(0 100% 0 0);
  z-index: 12;
}

.hp-faq-knowhow-text {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.94;
  letter-spacing: 0.1em;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

@media screen and (max-width: 1100px) {
  .hp-fv-title {
    font-size: 36px;
  }

  .hp-fv-title > span:first-of-type {
    font-size: 26px;
  }
}

@media screen and (max-width: 1104px) {
  .hp-about-price-container > h3 {
    font-size: 60px;
  }
}

@media screen and (max-width: 768px) {
  .hp-fv {
    aspect-ratio: 750 / 334;
  }

  .hp-fv-bg {
    background: url("../../img/hp/sp/faq-fv.png") center center/cover no-repeat;
  }

  .hp-fv-title {
    font-size: 26px;
    left: 9%;
  }

  .hp-faq-container {
    width: 100%;
    padding-top: 35.2%;
    max-width: initial;
    margin: -30% auto 0;
    background: url(../../img/hp/sp/faq-bg.jpg) bottom center/cover no-repeat;
  }

  .hp-faq-inner {
    width: 93.334%;
  }

  .hp-faq-item {
    margin-bottom: 4.478%;
    padding: 0;
  }

  .hp-faq-item-title {
    padding: 3.573% 0;
    font-size: 26px;
    line-height: 1.92;
    padding-left: 62px;
    padding-right: 50px;
  }

  .hp-faq-item-title::before {
    font-size: 26px;
    margin-left: calc(-1em - 5px);
  }

  .hp-faq-item-title::after {
    top: 1.3em;
    transform: initial;
    right: 2%;
  }

  .hp-faq-item-title.active::after {
    height: 2px;
    top: 1.8em;
  }

  .hp-faq-item-text {
    font-size: 26px;
    line-height: 1.85;
    padding-left: 62px;
    padding-right: 30px;
  }

  .hp-faq-item-text.active {
    padding: 5.858% 0;
    padding-left: 62px;
    padding-right: 30px;
  }

  .hp-faq-item-text:before {
    font-size: 26px;
    margin-left: calc(-1em - 5px);
  }

  .hp-faq-knowhow {
    background: url(../../img/hp/sp/about-know-how-img.jpg) center center/cover
      no-repeat;
    position: relative;
    aspect-ratio: 750 / 280;
    margin-bottom: 0;
  }

  .hp-faq-knowhow-text {
    width: 95%;
    font-size: 28px;
    line-height: 1.79;
    top: 50%;
    left: 51%;
    transform: translate(-50%, -50%);
  }
}

@media screen and (max-width: 630px) {
  .hp-faq-item-title {
    font-size: 20px;
    padding-right: 40px;
  }

  .hp-faq-item-title::before {
    font-size: 20px;
    margin-left: calc(-1em - 10px);
  }

  .hp-faq-item-text {
    font-size: 20px;
  }

  .hp-faq-item-text:before {
    font-size: 20px;
    margin-left: calc(-1em - 5px);
  }

  .hp-faq-item-title::after {
    top: 1.5em;
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 500px) {
  .hp-faq-item-title {
    font-size: 16px;
  }

  .hp-faq-item-text {
    font-size: 16px;
  }

  .hp-faq-item-title::after {
    width: 20px;
    height: 20px;
    top: 1.6em;
  }
}

@media screen and (max-width: 550px) {
  .hp-faq-knowhow-text {
    font-size: 19px;
  }
}
