.hp-fv {
  aspect-ratio: 1920 / 628;
  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;
  bottom: 26%;
  left: 12%;
  color: #0eaed0;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.7;
  white-space: nowrap;
}

.hp-faq-container {
  width: 95%;
  max-width: 1100px;
  margin: 5.775% auto 7.717%;
}

.hp-faq-item {
  box-shadow: 0 0 24px #6dcde332;
  margin-bottom: 2.728%;
  padding: 0 3.637%;
}

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

.hp-faq-item-title {
  position: relative;
  padding: 3.923% 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-left: 23px;
}

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

.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: -1%;
  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;
  position: relative;
  max-height: 0;
  overflow: hidden;
  padding-left: 23px;
  transition: all 0.3s ease;
}

.hp-faq-item-text.active {
  padding: 3.923% 0;
  padding-left: 23px;
  border-top: 1px solid #0eaed0;
  transition: all 0.3s ease;
  max-height: 900px;
  position: relative;
  overflow: auto;
}

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

.hp-faq-support {
  width: 100%;
  background: url(../../img/hp/faq-know-how-img.png) center center/cover no-repeat;
  position: relative;
  aspect-ratio: 1919 / 499;
  margin-bottom: 6.09%;
  clip-path: inset(0 100% 0 0); /* ← 初期状態：右側100%隠す */
}

.hp-faq-support-text {
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  text-align: left;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
}

@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 {
    /* background: url("../img/sp/faq-fv.png") center center/cover no-repeat; */
    aspect-ratio: 750 / 389;
  }

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

  .hp-fv-title {
    font-size: 30px;
  }

  .hp-faq-container {
    width: 95%;
    max-width: 670px;
    margin: 5.443% auto 13.607%;
  }

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

  .hp-faq-item-title {
    padding: 3.558% 0;
    font-size: 26px;
    line-height: 1.92;
    padding-left: 24px;
  }

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

  .hp-faq-item-title::after {
    width: 30px;
    height: 30px;
    top: 1.8em;
    transform: initial;
    right: -3%;
  }

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

  .hp-faq-item-text {
    font-size: 26px;
    line-height: 1.92;
    padding-left: 24px;
  }

  .hp-faq-item-text.active {
    padding: 6.558% 0;
    padding-left: 24px;
  }

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

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

  .hp-faq-support-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;
  }

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

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

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

  .hp-faq-item-title::after {
    top: 1.7em;
  }
}

@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.3em;
  }
}

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

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

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