/* ========================================
   お問い合わせ（ja/en の contact.html）— パステル版
   フォームの共通部品は css/p-form.css
   ======================================== */

/* 削除の案内とよくある質問は、読みやすい幅に絞る */
.contact-narrow {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

/* 外部（ストアの申請画面など）から #account-deletion で直接開かれるので、固定ヘッダーの下に見出しを出す */
#account-deletion {
  scroll-margin-top: 96px;
}

@media (min-width: 1024px) {
  .contact-top {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

.contact-guide {
  --r: 1.5deg;
}

/* ── アカウントとデータの削除 ── */
.section-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.section-icon .round-icon {
  background: var(--c-pink);
}

.deletion .page-section-lead {
  text-align: left;
}

/* 付箋の見出しが長いので、アイコンと並べたときに詰まらないよう間を空けて上にそろえる */
.deletion .sticky-head {
  gap: 12px;
  align-items: flex-start;
}

.deletion-steps {
  list-style: decimal;
  padding-left: 1.4em;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.deletion-steps li + li {
  margin-top: 6px;
}

.deletion-data {
  margin-top: 40px;
}

.deletion-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.deletion a,
.faq-a a {
  font-weight: 700;
  color: var(--c-berry-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* ── よくある質問（開閉できる付箋） ── */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  background: var(--faq-bg, var(--c-pink));
  box-shadow: var(--shadow-soft);
  --faq-deep: var(--c-pink-deep);
}

.faq-item:nth-child(5n + 2) { --faq-bg: var(--c-mint);     --faq-deep: var(--c-mint-deep); }
.faq-item:nth-child(5n + 3) { --faq-bg: var(--c-lemon);    --faq-deep: var(--c-lemon-deep); }
.faq-item:nth-child(5n + 4) { --faq-bg: var(--c-lavender); --faq-deep: var(--c-lavender-deep); }
.faq-item:nth-child(5n + 5) { --faq-bg: var(--c-sky);      --faq-deep: var(--c-sky-deep); }

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.55;
}

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

.faq-item summary:focus-visible {
  outline: 3px solid var(--c-berry);
  outline-offset: 2px;
  border-radius: 20px;
}

.faq-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--c-white);
  color: var(--faq-deep);
  flex-shrink: 0;
}

.faq-icon .icon {
  width: 20px;
  height: 20px;
}

.faq-q {
  flex: 1;
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--faq-deep);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  margin: 0 12px 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  line-height: 1.85;
}

@media (min-width: 768px) {
  .faq-item summary {
    padding: 16px 22px;
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-chevron {
    transition: none;
  }
}
