/* ALL-TERRAIN Yahoo! shop — FAQ concept A / 2026-07-27 */

.qa {
  --faq-ink: #05070a;
  --faq-panel: #09131c;
  --faq-panel-2: #0d1923;
  --faq-line: #1d3442;
  --faq-white: #f7f7f5;
  --faq-paper: #f1f1ec;
  --faq-muted: #9aa1a7;
  --faq-yellow: #ffd100;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 26px;
  margin: 0;
  padding: 78px max(24px, calc((100vw - 1180px) / 2)) 100px;
  overflow: hidden;
  border-top: 1px solid #171d22;
  background:
    linear-gradient(135deg, rgba(255, 209, 0, .035) 0 1px, transparent 1px 28px),
    var(--faq-ink);
  background-size: 28px 28px;
}

.qa > h2 {
  grid-column: 1 / -1;
  position: relative;
  margin: 0 0 8px !important;
  padding: 0 0 22px !important;
  border-bottom: 1px solid var(--faq-line);
  color: var(--faq-white);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: left;
}

.qa > h2::before {
  display: block;
  margin-bottom: 9px;
  color: var(--faq-yellow);
  content: "SUPPORT GUIDE";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .2em;
}

.qa > h2::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  max-width: 48%;
  color: var(--faq-muted);
  content: "ご購入前・ご注文後の疑問をまとめました";
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .05em;
}

.qa .qa_container {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--faq-line);
  border-radius: 3px;
  background: var(--faq-panel);
}

.qa .qa_container h3 {
  position: relative;
  margin: 0;
  padding: 23px 24px 21px 76px;
  border-bottom: 1px solid var(--faq-line);
  color: var(--faq-white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .03em;
}

.qa .qa_container h3::before {
  position: absolute;
  top: 21px;
  left: 22px;
  color: var(--faq-yellow);
  content: "01";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

.qa .qa_container:nth-of-type(2) h3::before {
  content: "02";
}

.qa .qa_container:nth-of-type(3) h3::before {
  content: "03";
}

.qa .qa_container:nth-of-type(4) h3::before {
  content: "04";
}

.qa .qa_contents {
  border-radius: 0;
  border-bottom: 1px solid var(--faq-line);
  background: var(--faq-panel);
}

.qa .qa_contents:last-child {
  border-bottom: 0;
}

.qa .accordion-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 76px;
  padding: 15px 17px;
  border: 0;
  background: var(--faq-panel);
  color: var(--faq-white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
  transition: background-color .2s ease, color .2s ease;
}

.qa .accordion-header::before {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--faq-yellow);
  border-radius: 2px;
  color: var(--faq-yellow);
  content: "Q";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.qa .accordion-header > span {
  flex: 1 1 auto;
  letter-spacing: .04em;
}

.qa .accordion-header svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--faq-yellow);
  transform: rotate(0deg);
  transition: transform .25s ease;
}

.qa .accordion-header:hover {
  background: var(--faq-panel-2);
}

.qa .accordion-header.active {
  background: var(--faq-yellow);
  color: var(--faq-ink);
}

.qa .accordion-header.active::before {
  border-color: var(--faq-ink);
  color: var(--faq-ink);
}

.qa .accordion-header.active svg {
  color: var(--faq-ink);
  transform: rotate(45deg);
}

.qa .accordion-inner-content {
  position: relative;
  padding: 21px 24px 23px 66px;
  border: 0;
  background: var(--faq-paper);
  color: #1a2024;
}

.qa .accordion-inner-content::before {
  position: absolute;
  top: 20px;
  left: 24px;
  color: #b59300;
  content: "A";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.qa .answer p {
  margin: 0;
  color: #1a2024;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: .045em;
}

.qa .answer b {
  color: #111;
  font-weight: 900;
}

.qa .answer img {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin: 18px 0 0;
  border: 1px solid #c8c8c1;
}

@media screen and (max-width: 767px) {
  .qa {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 44px 14px 56px;
    background-size: 22px 22px;
  }

  .qa > h2 {
    grid-column: 1;
    margin-bottom: 5px !important;
    padding-bottom: 17px !important;
    font-size: 28px;
  }

  .qa > h2::before {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .qa > h2::after {
    position: static;
    display: block;
    max-width: none;
    margin-top: 9px;
    font-size: 10px;
  }

  .qa .qa_container h3 {
    padding: 19px 17px 18px 63px;
    font-size: 16px;
  }

  .qa .qa_container h3::before {
    top: 18px;
    left: 17px;
    font-size: 20px;
  }

  .qa .accordion-header {
    gap: 11px;
    min-height: 70px;
    padding: 13px 13px;
    font-size: 13px;
    line-height: 1.55;
  }

  .qa .accordion-header::before {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    font-size: 11px;
  }

  .qa .accordion-header svg {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .qa .accordion-inner-content {
    padding: 18px 16px 20px 50px;
  }

  .qa .accordion-inner-content::before {
    top: 17px;
    left: 17px;
    font-size: 16px;
  }

  .qa .answer p {
    font-size: 12px;
    line-height: 1.85;
  }
}
