/* ========================================
   Q&A Page
======================================== */

.qa-page {
  padding-top: clamp(110px, 12vw, 160px);
  background: #f8f5ed;
  color: var(--ink);
}

.qa-page-head {
  text-align: center;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.qa-hero-visual {
  display: block;
  width: min(100%, 1120px);
  margin: clamp(28px, 4vw, 52px) auto clamp(28px, 4vw, 52px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 52px rgba(34, 48, 40, 0.10);
}

.qa-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
}

.qa-lead {
  max-width: 840px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2.1;
  text-align: center;
}

.qa-lead p {
  margin: 0;
}

/* Q&A List */
.qa-section {
  padding: 0 0 clamp(72px, 10vw, 120px);
}

.qa-list {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  max-width: 900px;
  margin: 0 auto;
}

.qa-item {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(111, 143, 114, 0.24);
  box-shadow: 0 16px 42px rgba(84, 62, 42, 0.08);
}

.qa-item h2 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(111, 143, 114, 0.18);
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #3f3328;
}

.qa-mark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6f8f72;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1;
}

.qa-mark.answer {
  background: #b48a60;
}

.qa-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
}

.qa-answer p {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 2;
  color: #5b4d40;
}

/* Q&A Action Buttons */
.qa-action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: min(560px, 100%);
  margin: clamp(34px, 5vw, 54px) auto 0;
}

.qa-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(34, 48, 40, 0.12);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.qa-action-button::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 10px;
  transition: transform 0.2s ease;
}

.qa-action-button:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.qa-action-button:hover {
  opacity: 0.86;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(34, 48, 40, 0.16);
}

.qa-action-button-line {
  background: #6f8f72;
}


@media (max-width: 900px) {
  .qa-page-head {
    text-align: center;
  }

  .qa-hero-visual {
    margin: 26px 0 30px;
    border-radius: 22px;
  }

  .qa-hero-visual img {
    aspect-ratio: 3 / 4;
    object-position: center;
  }

  .qa-lead {
    text-align: left;
    font-size: 15px;
    line-height: 1.95;
  }
}

/* SP */
@media (max-width: 767px) {
  .qa-page-head {
    margin-bottom: 34px;
  }

  .qa-lead {
    text-align: left;
    font-size: 15px;
    line-height: 1.95;
  }

  .qa-section {
    padding-top: 0;
  }

  .qa-item {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .qa-item h2,
  .qa-answer {
    gap: 10px;
  }

  .qa-mark {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .qa-item h2 {
    font-size: 1rem;
  }

  .qa-answer p {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .qa-action-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
  }

  .qa-action-button {
    width: 100%;
    min-height: 52px;
    font-size: 14px;
  }

}