/* ============================================================
   SUPPORT / FAQ — support.css
   ============================================================ */

/* ------------------------------------------------------------
   Page Hero
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 20px 26px;
  text-align: center;
  background-image: url('../img/bg_sp.webp');
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
}


.page-hero-title {
  position: relative;
  z-index: 1;
  font-family: 'minion-variable-concept', 'Minion Variable Concept', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #8E7173;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 156px 0 48px;
    overflow: visible;
    background: none;
  }

  .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    background-image: url('../img/bg_pc.webp');
    background-size: 1400px 500px;
    background-repeat: repeat-x;
    background-position: top center;
    z-index: 0;
  }
  .page-hero-title {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 1.8rem;
    text-align: left;
  }
}

.faq-section {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------
   Notice block
   ------------------------------------------------------------ */
.faq-notice {
  margin-bottom: 40px;
}

.faq-notice-heading {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.faq-notice-text {
  font-size: 0.88rem;
  line-height: 1.9;
  color: #666;
  margin-bottom: 10px;
}

.faq-notice-text:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .faq-notice {
    margin-bottom: 52px;
  }
  .faq-notice-heading {
    font-size: 1.0rem;
  }
  .faq-notice-text {
    font-size: 0.93rem;
  }
}

/* ------------------------------------------------------------
   FAQ accordion list
   ------------------------------------------------------------ */
.faq-list {
  border-top: 1px solid #f0dcea;
}

.faq-item {
  border-bottom: 1px solid #f0dcea;
}

/* Q row --------------------------------------------------- */
.faq-q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
  outline: none;
  list-style: none;
  transition: opacity 0.2s;
}

.faq-q:hover {
  opacity: 0.72;
}

.faq-q:focus-visible {
  outline: 2px solid var(--pink-primary);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Q. / A. label */
.faq-label {
  flex: 0 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1;
  min-width: 28px;
}

/* Question text */
.faq-question {
  flex: 1;
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-dark);
}

/* Toggle icon (+/-) */
.faq-toggle {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  position: relative;
  margin-left: 4px;
}

/* Horizontal bar — always visible */
.faq-toggle::before {
  content: '';
  position: absolute;
  width: 13px;
  height: 1.5px;
  background: #aaa;
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

/* Vertical bar — visible only when closed (+) */
.faq-toggle::after {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 13px;
  background: #aaa;
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
}

.faq-item.is-open .faq-toggle::before,
.faq-item.is-open .faq-toggle::after {
  background: var(--pink-primary);
}

.faq-item.is-open .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

/* A row --------------------------------------------------- */
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  padding: 0;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 600px;
  padding-bottom: 28px;
}

.faq-label--a {
  color: var(--text-dark);
  margin-top: 1px;
}

/* Answer body */
.faq-answer-body {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.9;
  color: #666;
}

.faq-answer-body > p {
  margin-bottom: 14px;
}

.faq-answer-body > p:last-child {
  margin-bottom: 0;
}

/* Sub-sections inside answer */
.faq-answer-block {
  margin-top: 18px;
}

.faq-answer-block-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.faq-answer-list {
  padding: 0;
  margin: 0;
}

.faq-answer-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 6px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #666;
}

.faq-answer-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #aaa;
}

.faq-answer-list li:last-child {
  margin-bottom: 0;
}

/* Address block */
.faq-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #555;
}

.faq-address-note {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #999;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .faq-q {
    padding: 22px 0;
    gap: 14px;
  }

  .faq-label {
    font-size: 1.2rem;
    min-width: 32px;
  }

  .faq-question {
    font-size: 1.0rem;
  }

  .faq-answer {
    gap: 14px;
  }
  .faq-item.is-open .faq-answer {
    padding-bottom: 36px;
  }

  .faq-answer-body {
    font-size: 0.93rem;
  }

  .faq-answer-block-title {
    font-size: 0.93rem;
  }

  .faq-answer-list li {
    font-size: 0.93rem;
  }

  .faq-address {
    font-size: 0.93rem;
  }

  .faq-address-note {
    font-size: 0.85rem;
  }
}

/* ------------------------------------------------------------
   SP adjustments
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .faq-section.content-section {
    padding: 36px 0;
  }

  .faq-q {
    padding: 18px 0;
  }

  .faq-item.is-open .faq-answer {
    max-height: 1500px;
    padding-bottom: 22px;
  }

  .faq-toggle {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }
}
