@charset "utf-8";

.mv-page-img {
  background: url(../faq/img/mv-faq_pc.jpg) no-repeat;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .mv-page-img {
    background: url(../faq/img/mv-faq_sp.jpg) no-repeat;
    background-size: cover;
  }
}

/* faq
----------------------------------------------------------------------------------------------------*/

#faq {
  max-width: 899px;
  width: 100%;
  margin: 92px auto 0;
}

.faq-contents {
  margin-bottom: 120px;
}

.faq-box {
  padding: 38px 26px;
  border: solid 1px #c8c8c8;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 38px;
}

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

summary {
  display: block;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  text-align: left;
  gap: 10px;
}

.faq-summary-inner {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 15px;
  line-height: 1;
}

details[open] .faq-summary {
  margin-bottom: 42px;
}

details[open] .faq-inner {
  animation: fadeIn 0.85s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

.icon-q {
  font-weight: 500;
  font-size: 3.6rem;
  color: #005fe1;
}

.faq-summary-text {
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: -1px;
}

.faq-box {
  position: relative;
}

.accordion_icon {
  width: 40px;
  height: 40px;
}

.accordion_icon span {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 4px;
  background-color: #646464;
  transition: transform 0.4s;
}

.accordion_icon span:nth-of-type(1) {
  top: 20px;
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

.accordion_icon span:nth-of-type(2) {
  top: 20px;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}


details[open] .accordion_icon span:nth-of-type(1) {
  transform: rotate(45deg) !important;
}

details[open] .accordion_icon span:nth-of-type(2) {
  transform: rotate(135deg) !important;
}

.faq-inner-flex {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  align-items: baseline;
}

.icon-a {
  font-weight: 700;
  font-size: 3.6rem;
  color: #D93832;
}

.faq-inner-text {
  color: #646464;
  font-size: 2.4rem;
  text-align: left;
  letter-spacing: -1px;
}

.faq-inner-text b.black {
  font-weight: 700;
  color: #323232;
}

.faq-inner-text b.red {
  font-weight: 700;
  color: #D93832;
}

.faq-buttun-area {
  display: flex;
  justify-content: center;
  margin: 30px 0 auto;
}

#faq .attention {
  width: 100%;
}

#faq .attention-textarea {
  font-size: 2.6rem;
  letter-spacing: -1px;
  margin-bottom: 46px;
}

#faq .attention-contact {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 0 40px 0 30px;
  align-items: center;
}

#faq .attention-contact__right {
  font-size: 2.4rem;
}

#faq .attention-contact__right b {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}

#faq .attention-contact__right span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 2.0rem;
}

@media screen and (max-width: 768px) {

  #faq {
    margin: 0 auto;
  }

  .faq-contents {
    margin-bottom: 60px;
  }

  .faq-box {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .faq-summary-inner {
    gap: 10px;
  }

  details[open] .faq-summary {
    margin-bottom: 0;
  }

  .icon-q {
    font-size: 20px;
  }

  .faq-summary-text {
    font-size: 1.8rem;
  }

  .accordion_icon {
    width: 20px;
    height: 20px;
    padding: 10px;
  }

  .accordion_icon span {
    width: 20px;
    height: 2px;
    transition: transform 0.4s;
  }

  .accordion_icon span:nth-of-type(1) {
    top: 10px;
  }

  .accordion_icon span:nth-of-type(2) {
    top: 10px;
  }

  .faq-inner-flex {
    gap: 10px;
  }

  .icon-a {
    font-size: 20px;
  }

  .faq-inner-text {
    font-size: 1.8rem;
    margin-top: 15px;
  }

  .faq-buttun-area {
    margin: 20px 0 auto;
  }

  #faq .attention-contact {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  #faq .attention-textarea {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  #faq .attention-contact__right {
    font-size: 2.0rem;
  }

  #faq .attention-contact__right span {
    font-size: 1.8rem;
  }
}


#faq {
  margin: 0 auto;
}
@media (max-width: 767px) {
  .main-contents {
    margin: 5rem auto 0;
  }
}












