/* =========================================================
   Project : はじめのいちだま
   File    : 08-faq.css
   Version : 5.1.0
   Updated : 2026-07-29
========================================================= */

.hitotama-faq {
  padding: var(--ht-section-space) 0;
  background: var(--ht-color-surface);
}

.hitotama-faq__list {
  display: grid;
  max-width: var(--ht-content-faq);
  margin: 40px auto 0;
  border-top: 1px solid var(--ht-color-border);
  gap: 0;
}

.hitotama-faq details,
.hitotama-faq__item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--ht-color-border);
  border-radius: 0;
  background: var(--ht-color-surface);
  box-shadow: none;
}

.hitotama-faq summary {
  position: relative;
  display: block;
  padding: 24px 52px 24px 24px;
  font-size: clamp(1.0625rem, 1rem + 0.16vw, 1.1875rem);
  font-weight: var(--ht-font-weight-extra-bold);
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

.hitotama-faq summary::-webkit-details-marker {
  display: none;
}

.hitotama-faq summary::before,
.hitotama-faq summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 2px;
  background: var(--ht-color-primary);
  content: "";
  transform: translateY(-50%);
}

.hitotama-faq summary::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform var(--ht-transition);
}

.hitotama-faq details[open] summary::after {
  transform: translateY(-50%) rotate(0);
}

.hitotama-faq details > div {
  padding: 0 24px 24px;
  color: var(--ht-color-text-sub);
  font-size: var(--ht-font-size-body);
  line-height: 1.85;
}

.hitotama-faq details > div p {
  margin: 0;
}

@media (max-width: 767px) {
  .hitotama-faq {
    padding: var(--ht-section-space-sp) 0;
  }

  .hitotama-faq__list {
    margin-top: 30px;
  }

  .hitotama-faq summary {
    padding: 20px 44px 20px 16px;
  }

  .hitotama-faq summary::before,
  .hitotama-faq summary::after {
    right: 16px;
  }

  .hitotama-faq details > div {
    padding: 0 16px 20px;
  }
}

/* =========================================================
   File Information
   Updated : 2026-07-29 JST
   Status  : Latest
========================================================= */