/* =========================
   Q&A Page (よくあるご質問)
========================= */
.qa-list { max-width: 900px; margin: 0 auto; }
.qa-item {
  background: #fff;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8dcc4;
}
.qa-question {
  padding: 20px 60px 20px 30px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: #5a3e2b;
  position: relative;
  transition: background .2s;
  font-size: 15px;
}
.qa-question::before {
  content: "Q";
  display: inline-block;
  width: 28px; height: 28px;
  background: #5a7a4a;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-family: "Yu Mincho", serif;
  margin-right: 14px;
  font-size: 14px;
}
.qa-question::after {
  content: "＋";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  color: #5a7a4a;
  font-size: 20px;
  transition: transform .3s;
}
.qa-item.open .qa-question::after { content: "−"; }
.qa-question:hover { background: #f5ede0; }
.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 30px 0 30px;
  background: #faf7f2;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}
.qa-item.open .qa-answer { max-height: 2000px; padding: 20px 30px 24px; }
.qa-answer::before {
  content: "A";
  display: inline-block;
  width: 28px; height: 28px;
  background: #8b6a4f;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-family: "Yu Mincho", serif;
  margin-right: 14px;
  font-size: 14px;
  vertical-align: top;
}
.qa-answer-text {
  display: block;
  width: auto;
  color: #3d2f24;
  font-size: 14px;
  line-height: 1.8;
}
.qa-answer-text p { margin: 0 0 12px; }
.qa-answer-text p:last-child { margin-bottom: 0; }
.qa-answer-text ul,
.qa-answer-text ol {
  margin: 10px 0 14px;
  padding-left: 1.75em;
  list-style-position: outside;
}
.qa-answer-text ul { list-style-type: disc; }
.qa-answer-text ol { list-style-type: decimal; }
.qa-answer-text li { margin-bottom: 6px; }
.qa-answer-text li:last-child { margin-bottom: 0; }
.qa-answer-text li::marker {
  color: #8b6a4f;
  font-weight: 700;
}
.qa-answer-text a { text-decoration: underline; }

@media (max-width: 768px) {
  .qa-question { padding: 16px 46px 16px 20px; font-size: 14px; }
  .qa-answer { padding: 0 20px; }
  .qa-item.open .qa-answer { padding: 16px 20px 20px; max-height: 2000px; }
  .qa-answer { grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; }
  .qa-answer-text { width: auto; }
}
