@charset "UTF-8";

/* ==========  FAQ（こんな不安にも）  ========== */

.p-faq {
  padding: 24px 0 56px;
  background-color: var(--color-bg);
}

.p-faq__inner {
  width: 100%;
  max-width: calc(var(--inner-width) + 16px * 2);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ----------  見出し  ---------- */

.p-faq__heading {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
}

.p-faq__illust {
  flex-shrink: 0;
  width: 88px;
  height: auto;
  position: absolute;
  bottom: -3px;
  left: -20px;
}

.p-faq__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-fv);
  font-weight: 400;
  line-height: 1.35;
}

.p-faq__title-line {
  display: inline-block;
  padding: 4px 0 4px 56px;
  border-radius: 12px;
  background-color: var(--color-white);
  box-shadow: 0 2px 6px rgba(46, 51, 72, 0.06);
  color: var(--color-primary-deep);
  font-size: calc(23px + var(--sp-fs-adjust));
  letter-spacing: 0.02em;
}

.p-faq__title-line--strong {
  font-size: calc(23px + var(--sp-fs-adjust));
}

/* ----------  Q&A  ---------- */

.p-faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 4px;
  border-radius: 20px;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(46, 51, 72, 0.05);
  list-style: none;
}

.p-faq__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-faq__q,
.p-faq__a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.p-faq__badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: calc(14px + var(--sp-fs-adjust));
  font-weight: 700;
  line-height: 1;
}

.p-faq__badge--q {
  background-color: var(--color-primary-deep);
}

.p-faq__badge--a {
  background-color: var(--color-accent);
}

.p-faq__q-text {
  color: var(--color-primary-deep);
  font-family: var(--font-maru-asr);
  font-size: calc(15px + var(--sp-fs-adjust));
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.p-faq__a {
  gap: 4px;
}

.p-faq__a-text {
  flex: 1;
  min-width: 0;
  padding: 4px;
  border-radius: 8px;
  background-color: #ffe8e4;
  color: var(--color-text);
  font-family: var(--font-maru-asr);
  font-size: calc(16px + var(--sp-fs-adjust));
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ----------  CTA  ---------- */

.p-faq__cta {
  position: relative;
  max-width: 560px;
  margin: 28px auto 0;
  padding-top: 12px;
}

.p-faq__cta-badge {
  position: absolute;
  top: 0;
  left: -4px;
  z-index: 2;
  width: 68px;
  height: auto;
  pointer-events: none;
}

.p-faq__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  padding: 14px 16px 14px 64px;
  border-radius: 12px;
  background-color: var(--color-primary);
  box-shadow: 0 6px 14px rgba(255, 106, 84, 0.28);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: calc(16px + var(--sp-fs-adjust));
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  transition:
    background-color 0.2s ease,
    translate 0.2s ease;
}

.p-faq__cta-btn:hover {
  background-color: var(--color-primary-dark);
}

.p-faq__cta-btn:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

.p-faq__cta-btn:active {
  translate: 0 1px;
  box-shadow: 0 3px 8px rgba(255, 106, 84, 0.25);
}
