:root {
  --pink-bg: #fdecef;
  --pink-accent: #f3a9b8;
  --red: #e85465;
  --red-dark: #d63c4e;
  --footer-red: #e85465;
  --footer-red-dark: #c9394a;
  --text-dark: #333333;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-dark);
  background: #ffffff;
}

/* ---------- Header ---------- */
.faq-header {
  background: var(--pink-bg);
  padding: 32px 20px 40px;
  text-align: center;
}

.faq-header .back-link-top {
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  line-height: 2em;
  padding: 3px 5px;
  text-decoration: none;
}

.faq-header h1 {
  margin: 0;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--footer-red);
}

.faq-header .heart-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: -8px;
}

/* ---------- Main / Accordion ---------- */
.faq-main {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.faq-item {
  margin-bottom: 14px;
  border-radius: 6px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  padding: 14px 48px 14px 20px;
  position: relative;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::after {
  content: "▼";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--red);
}

.faq-item[open] summary::after {
  content: "▲";
  color: var(--red);
}

.faq-item summary:hover {
  background: var(--red-dark);
}

.faq-item[open] summary:hover {
  background: #ffffff;
}

.faq-answer {
  background: #ffffff;
  border: 1px solid #f0d3d8;
  border-top: none;
  padding: 18px 20px 22px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-dark);
}

.faq-back {
  display: block;
  text-align: center;
  font-size: 14px;
  margin-bottom: 2em;
}

.faq-back a {
  color: var(--red);
  text-decoration: none;
}

.faq-back a:hover {
  text-decoration: underline;
}

/* ---------- Footer (from existing DOM) ---------- */
.site-footer {
  padding-top: clamp(62px, 6vw, 82px);
  background: #ffffff;
}

.footer-logos {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.footer-logos img {
  max-width: 220px;
  height: auto;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px;
  background: var(--footer-red);
  color: #ffffff;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.footer-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  padding: 20px;
  color: #ffffff;
  background-color: var(--footer-red-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-align: center;
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 40px;
  }
  .footer-wave {
    min-height: 72px;
    padding: 16px 10px;
    font-size: 9px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  .faq-item summary {
    font-size: 13px;
    padding: 12px 40px 12px 16px;
  }
}