/* トップ専用: 共通指定 / スマホ〜767px / タブレット768〜1023px / PC1024px〜。 */

.fw.p-home .p-faq {
  padding: 80px 0;
  background-color: #fff;
}

.fw.p-home .p-faq summary {
  display: block;
  list-style: none;
}

.fw.p-home .p-faq summary::-webkit-details-marker {
  display: none;
}

body.p-home .p-top-faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 0 10.834%;
}

body.p-home .p-top-faq__heading {
  width: 100%;
  letter-spacing: 0.04em;
}

body.p-home .p-top-faq__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

body.p-home .p-top-faq__item {
  width: 100%;
}

body.p-home .p-faq .p-top-faq__q {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background-color: #f2f2f2;
  border-radius: 4px;
  cursor: pointer;
  list-style: none;
  transition: opacity 0.3s ease;
}

body.p-home .p-top-faq__q::-webkit-details-marker {
  display: none;
}

body.p-home .p-top-faq__q::marker {
  content: "";
}

body.p-home .p-top-faq__q:hover {
  opacity: 0.8;
}

body.p-home .p-top-faq__item[open] .p-top-faq__q {
  border-radius: 4px 4px 0 0;
}

body.p-home .p-top-faq__q-mark {
  flex: 0 0 auto;
  font-family: var(--top-font-en);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--top-color-text);
}

body.p-home .p-top-faq__q-text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--top-font-ja);
  font-weight: 700;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.04em;
  color: var(--top-color-text);
}

body.p-home .p-top-faq__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.p-home .p-top-faq__icon img {
  display: block;
  width: 15px;
  height: 30px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

body.p-home .p-top-faq__item[open] .p-top-faq__icon img {
  transform: rotate(-90deg);
}

body.p-home .p-top-faq__a {
  overflow: hidden;
  border-radius: 0 0 4px 4px;
}

body.p-home .p-top-faq__a-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 24px 32px;
  background-color: #fff;
  border: 1px solid var(--top-color-line);
  border-top: 0;
  border-radius: 0 0 4px 4px;
  letter-spacing: 0.04em;
}

body.p-home .p-top-faq__a-mark {
  flex: 0 0 auto;
  font-family: var(--top-font-en);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--top-color-accent);
}

body.p-home .p-top-faq__a-body {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--top-font-ja);
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  color: var(--top-color-text);
}

body.p-home .p-top-faq__a-body ul {
  padding-left: 24px;
  list-style: disc;
}

body.p-home .p-top-faq__a-body ol {
  padding-left: 24px;
  list-style: decimal;
}

body.p-home .p-top-faq__a-body > * + * {
  margin-top: 30px;
}

body.p-home .p-top-faq__a-body > p + ul {
  margin-top: 0;
}

body.p-home .p-top-faq__a-body > p + ol {
  margin-top: 0;
}

body.p-home .p-top-faq__a-lead {
  font-weight: 700;
}

body.p-home .p-top-faq__a-more a {
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

body.p-home .p-top-faq__a-more a:hover {
  opacity: 0.8;
}

body.p-home .p-top-faq__link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  background-color: var(--top-color-text);
  border-radius: 4px;
  color: #fff;
  font-family: var(--top-font-ja);
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.04em;
  transition: opacity 0.3s ease;
}

body.p-home .p-top-faq__link a:hover {
  opacity: 0.8;
}

body.p-home .p-top-faq__link i {
  flex: 0 0 auto;
  display: block;
  width: 18px;
  height: 18px;
}

body.p-home .p-top-faq__link i svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .fw.p-home .p-faq {
    padding: 40px 0;
  }

  body.p-home .p-top-faq__inner {
    gap: 24px;
    padding: 0 20px;
    width: var(--top-sp-content);
    margin-inline: auto;
    padding-inline: 0;
  }

  body.p-home .p-top-faq__heading .c-title__main {
    font-size: 24px;
    line-height: 36px;
  }

  body.p-home .p-top-faq__list {
    gap: 20px;
  }

  body.p-home .p-faq .p-top-faq__q {
    padding: 16px 20px;
  }

  body.p-home .p-top-faq__q-mark {
    font-size: 20px;
  }

  body.p-home .p-top-faq__q-text {
    font-size: 16px;
    line-height: 22px;
  }

  body.p-home .p-top-faq__icon {
    width: 22px;
    height: 11px;
  }

  body.p-home .p-top-faq__icon img {
    width: 11px;
    height: 22px;
  }

  body.p-home .p-top-faq__a-inner {
    padding: 16px 20px 20px;
  }

  body.p-home .p-top-faq__a-mark {
    font-size: 20px;
  }

  body.p-home .p-top-faq__a-body {
    font-size: 14px;
    line-height: 24px;
  }

  body.p-home .p-top-faq__a-body ul {
    padding-left: 21px;
  }

  body.p-home .p-top-faq__a-body ol {
    padding-left: 21px;
  }

  body.p-home .p-top-faq__a-body > * + * {
    margin-top: 24px;
  }

  body.p-home .p-top-faq__a-body > p + ul {
    margin-top: 0;
  }

  body.p-home .p-top-faq__a-body > p + ol {
    margin-top: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .fw.p-home .p-faq {
    padding: 80px 0;
  }

  body.p-home .p-top-faq__inner {
    gap: 32px;
    padding: 0 32px;
  }

  body.p-home .p-top-faq__heading .c-title__main {
    font-size: 24px;
    line-height: 36px;
  }

  body.p-home .p-top-faq__list {
    gap: 24px;
  }

  body.p-home .p-faq .p-top-faq__q {
    padding: 20px 24px;
  }

  body.p-home .p-top-faq__q-mark {
    font-size: 20px;
  }

  body.p-home .p-top-faq__q-text {
    font-size: 18px;
    line-height: 30px;
  }

  body.p-home .p-top-faq__icon {
    width: 22px;
    height: 11px;
  }

  body.p-home .p-top-faq__icon img {
    width: 11px;
    height: 22px;
  }

  body.p-home .p-top-faq__a-inner {
    padding: 20px 24px 28px;
  }

  body.p-home .p-top-faq__a-mark {
    font-size: 20px;
  }

  body.p-home .p-top-faq__a-body {
    font-size: 16px;
    line-height: 30px;
  }

  body.p-home .p-top-faq__a-body ul {
    padding-left: 21px;
  }

  body.p-home .p-top-faq__a-body ol {
    padding-left: 21px;
  }

  body.p-home .p-top-faq__a-body > * + * {
    margin-top: 24px;
  }

  body.p-home .p-top-faq__a-body > p + ul {
    margin-top: 0;
  }

  body.p-home .p-top-faq__a-body > p + ol {
    margin-top: 0;
  }
}
