.p-faq{
    font-family: 'Noto Sans JP';
    font-size: 20px;
    line-height: 2;
    overflow: hidden;
}

.p-faq__bg{
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 0 100px;
    background: #fff;
}

.p-faq .faq {
  border-bottom: 1px solid #ccc;
}
.p-faq .faq:nth-child(1) {
  border-top: 1px solid #ccc;
}
.p-faq .faq ::-moz-selection {
  background-color: transparent;
}
.p-faq .faq ::selection {
  background-color: transparent;
}
.p-faq .faq__head {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 40px;
  font-size: 30px;
  line-height: 1.6;
  color: var(--main);
  font-weight: 500;
  font-family: var(--gothic-normal);
  transition: background-color 0.2s;
}

.p-faq .faq__head::after {
  position: absolute;
  display: block;
  content: "";
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  width: 0;
  height: 0;
  /* border-width: 8px 5px 0 5px; */
  border-width: 14px 8px 0 8px;
  border-style: solid;
  border-color: var(--main) transparent transparent transparent;
  transition: transform 0.2s ease;
}

.p-faq summary.is-hover {
  background-color: #F8F7F1;
}
.p-faq details[open] .faq__head::after {
  -webkit-transform: rotate(-180deg);
          transform: rotate(-180deg);
}
.p-faq .faq__num {
  color: var(--main);
}
.p-faq details[open] .faq__collapse {
  max-height: var(--height);
}
.p-faq .faq__answer {
    margin: -10px 0 0;
  padding: 0 40px 40px 85px;
}

