@charset "UTF-8";
/* ==========================================================================
   8. FAQ（.sec-faq）
   - 質問は details / summary（押すと回答が開く。JavaScriptは使っていない）
   - 「Q.」・質問文・「＋」を横並びのグリッドにして、1行目の高さにそろえている
   - 背景は白
   ========================================================================== */

.sec-faq {
  padding-block: var(--sec-pad);
  background: var(--c-bg-white);
}

.sec-faq__head {
  text-align: center;
}

.sec-faq__lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
}

.sec-faq__list {
  max-width: 800px;
  margin: 36px auto 0;
  border-top: 1px solid var(--c-line-soft);
}

.sec-faq__item {
  border-bottom: 1px solid var(--c-line-soft);
}

/* ---------- 質問 ---------- */
.sec-faq__q {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 20px;
  align-items: start;
  gap: 10px;
  padding: 18px 4px;
  cursor: pointer;
  font-family: var(--ff-serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-heading);
  list-style: none; /* 標準の三角マークを消す */
}

.sec-faq__q::-webkit-details-marker {
  display: none; /* Safari の三角マークを消す */
}

.sec-faq__q:focus-visible {
  outline: 3px solid var(--c-heading);
  outline-offset: 2px;
}

.sec-faq__mark {
  font-family: var(--ff-en);
  font-size: 17px;
  color: var(--c-label);
}

/* 「＋」（開いているときは「−」）。1行目の文字の高さに合わせる */
.sec-faq__icon {
  position: relative;
  width: 14px;
  height: 14px;
  margin-top: 0.45em;
}

.sec-faq__icon::before,
.sec-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: var(--c-label);
  transform: translateY(-50%);
}

.sec-faq__icon::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s;
}

.sec-faq__item[open] .sec-faq__icon::after {
  transform: translateY(-50%) rotate(0deg);
}

/* ---------- 回答 ---------- */
.sec-faq__a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 0 4px 20px;
  font-size: 15px;
  line-height: 1.9;
}

.sec-faq__a .sec-faq__mark {
  line-height: 1.7;
}

.sec-faq__a-body > .c-unconfirmed {
  margin-bottom: 4px;
}

/* ---------- PC ---------- */
@media (min-width: 900px) {
  .sec-faq__lead {
    margin-top: 24px;
    font-size: var(--fs-text-pc);
  }

  .sec-faq__list {
    margin-top: 56px;
  }

  .sec-faq__q {
    gap: 14px;
    padding: 24px 8px;
    font-size: 18px;
  }

  .sec-faq__mark {
    font-size: 19px;
  }

  .sec-faq__a {
    gap: 14px;
    padding: 0 8px 28px;
    font-size: var(--fs-text-pc);
  }
}
