.newcomers-faq {
  padding-top: 240px;
  padding-bottom: 100px;
  background-color: #EAF4E9;

  @media screen and (max-width: 768px) {
    padding-top: 160px;
  }
}

/* detailsタグのデフォルトマーカー（▼）を消すリセットCSS */
details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;

  .faq-category-body {
    padding: 0 20px;
    background-color: rgb(var(--nicobay-green));
    border-radius: 5px;

    @media screen and (max-width: 768px) {
      padding: 0 12px;
    }

    .faq-category-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
      font-weight: bold;
      color: white;
      background-color: rgb(var(--nicobay-green));
      font-size: 16px;
    }
  }
}

/* --- 小質問（白） --- */
.faq-item-details {
  background-color: #fff;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
  padding: 0 20px;

  @media screen and (max-width: 768px) {
    padding: 0 12px;
  }

  .faq-item-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    font-weight: bold;
    font-size: 14px;
  }

  .faq-item-body {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
  }
}

/* 質問が開いている時の区切り線 */
.faq-item-details[open] .faq-item-summary {
  border-bottom: 1px dashed #ccc;
}


/* --- アイコン (+ / -) --- */
.icon-indicator::after {
  content: '+';
  font-size: 2.4rem;
  font-weight: normal;
  line-height: 1;
}

/* カテゴリが開いている時 */
.faq-category-details[open] > .faq-category-summary .icon-indicator::after {
  content: '-';
}

.icon-indicator-small::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

/* 質問が開いている時 */
.faq-item-details[open] > .faq-item-summary .icon-indicator-small::after {
  content: '-';
}