.cta .container {
  position: relative;
}

.cta .container form {
  position: absolute;
  container-type: inlien-size;
}

.cta--1 .container form {
  inset: 0;
}

.cta--2 .container form {
  /* inset: 0; */
  bottom: 32.1cqw;
  width: 100%;
  height: 21.05cqw;
}

.cta .container form input {
  position: absolute;
  left: 50%;
  bottom: 11.6cqw;
  transform: translateX(-50%);
  display: block;
  padding: 1em;
  margin: 0;
  width: 45.15%;
  height: 5.05cqw;
  font-size: 1.4cqw;
  text-align: center;
  border: 0.15cqw solid #acacac;
  border-radius: 0px;
}

.cta .container form input::placeholder {
  color: #acacac;
  /* font-weight: 00; */
}

.cta .container form button {
  position: absolute;
  left: 50%;

  transform: translateX(-50%);
  display: block;
  width: 46.6%;
  cursor: pointer;
  animation: pulse2 2s infinite;
}

.cta--1 .container form button {
  bottom: 8.1%;
}

.cta--2 .container form button {
  bottom: 2.8cqw;
}

.message .container {
  position: relative;
}

.message .container .youtube {
  position: absolute;
  top: 8.15%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 600 / 371;
}

.message .container .youtube iframe {
  width: 100%;
  height: 100%;
}

.faq {
  container-type: inline-size;
  background-image: url(../img_pc/faq_bg_001.webp);
  background-size: cover;
  background-position: top center;
}

.faq__head {
  position: relative;
  z-index: 5;
  display: block;
  width: 100%;
  box-shadow: 0px 0.35cqw 1.6275cqw 0.1225cqw rgba(73, 51, 53, 0.32);
}

.faq__head img {
  width: 100%;
}

.faq__container {
  padding: 4cqw 4.95cqw;
  margin: 0 auto;
  width: 60cqw;
  background-color: #fff;
  box-shadow: 0px 0.35cqw 1.6275cqw 0.1225cqw rgba(73, 51, 53, 0.32);
}

.faq__list {
  display: grid;
  row-gap: 1.2cqw;
}

.faq__item {
}

.faq__item-question {
  display: grid;
  grid-template-columns: auto 1.1cqw;
  align-items: center;
  padding: 1.4cqw 1.7cqw;
  background-color: #fff;
  border-color: #493335;
  border-style: solid;
  border-width: 0.05cqw;
  cursor: pointer;
}

.faq__item-question div {
  display: grid;
  grid-template-columns: 1.65cqw 1fr;
  align-items: center;
  column-gap: 1.45cqw;
}

.faq__item-question p,
.faq__item-answer p {
  margin-block: calc((1em - 1lh) / 2);
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho",
    "YuMincho", "MS PMincho", "Noto Serif CJK JP", "Noto Serif JP",
    "Source Han Serif JP", serif;
  color: #493335;
  font-weight: bold;
  font-size: 1.5cqw;
  line-height: 1.4;
}

/* .faq__item-question p {
  margin-block: calc((1em - 1lh) / 2);
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho",
    "YuMincho", "MS PMincho", "Noto Serif CJK JP", "Noto Serif JP",
    "Source Han Serif JP", serif;
  color: #493335;
  font-weight: bold;
  font-size: 1.5cqw;
  line-height: 1.3;
} */

.faq__item-question p br.sp-visible,
.faq__item-answer p br.sp-visible {
  display: none;
}

.faq__item-question span {
  position: relative;
  height: 1.1cqw;
}

.faq__item-question span::after,
.faq__item-question span::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: "";
  display: block;
  width: 1.1cqw;
  height: 0.1cqw;
  background-color: #493335;
}

.faq__item-question span::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.4s ease;
}

.faq__item-question.active span::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq__item-answer {
  display: none;
}

.faq__item-answer > div {
  display: grid;
  grid-template-columns: 1.7cqw 1fr;
  column-gap: 1.65cqw;
  padding: 1.45cqw 0.95cqw 0.9cqw 1.6cqw;
}

@media screen and (max-width: 600px) {
  .cta .container form input {
    width: 89.73cqw;
    height: 15.46cqw;
    font-size: 4.53cqw;
    border-width: 0.4cqw;
  }
  .cta .container form button {
    width: 98%;
  }

  .cta--1 .container form input {
    bottom: 32.2%;
  }

  .cta--1 .container form button {
    bottom: 6%;
  }

  .cta--2 .container form {
    bottom: 126.66cqw;
    height: 64.4cqw;
  }

  .cta--2 .container form input {
    bottom: 33.2cqw;
  }

  .cta--2 .container form button {
    bottom: 6.26cqw;
  }

  .message .container .youtube {
    top: 8.65%;
    width: 90.66%;
  }

  .faq {
    background-image: url(../img_sp/faq_bg_001.webp);
  }

  .faq__head {
    box-shadow: 0px 0.93cqw 4.34cqw 0.33cqw rgba(73, 51, 53, 0.32);
  }

  .faq__container {
    padding: 8.8cqw 5.2cqw;
    width: 90.66cqw;
    box-shadow: 0px 0.93cqw 4.34cqw 0.33cqw rgba(73, 51, 53, 0.32);
  }

  .faq__list {
    row-gap: 3.86cqw;
  }

  .faq__item-question {
    grid-template-columns: auto 2.93cqw;
    padding: 4.4cqw 3.86cqw 4.4cqw 2.66cqw;
    border-width: 0.26cqw;
  }

  .faq__item-question div {
    grid-template-columns: 5.2cqw 1fr;
    column-gap: 2.4cqw;
  }

  .faq__item-question span {
    height: 2.93cqw;
  }

  .faq__item-question span::after,
  .faq__item-question span::before {
    width: 2.93cqw;
    height: 0.26cqw;
  }

  .faq__item-question p,
  .faq__item-answer p {
    margin-block: calc((1em - 1lh) / 2);
    font-size: 4cqw;
  }

  .faq__item-question p br.sp-visible,
  .faq__item-answer p br.sp-visible {
    display: inline-block;
  }

  .faq__item-question p br.sp-hidden,
  .faq__item-answer p br.sp-hidden {
    display: none;
  }

  .faq__item-answer > div {
    grid-template-columns: 5.33cqw 1fr;
    column-gap: 2.4cqw;
    padding: 4.8cqw 1.73cqw 3.2cqw 2.8cqw;
  }
}

@keyframes pulse2 {
  0% {
    transform: translateX(-50%) scale(0.9);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
  100% {
    transform: translateX(-50%) scale(0.9);
  }
}
