:root {
  --ink: #3d2b30;
  --text: #6b5058;
  --muted: #a98d96;
  --pink: #f4708c;
  --purple: #8b7ae0;
  --surface: #ffffff;
  --tint: #fdf1f3;
  --soft: #fdf3f5;
  --border: #f3dfe4;
  --heading: "Zen Maru Gothic", sans-serif;
  --body: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  padding: 40px 20px;
  background: var(--tint);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  color: #f88a9f;
}

.nav,
.policy,
.site-footer {
  width: min(1280px, 100%);
  margin-inline: auto;
  background: var(--surface);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-radius: 20px 20px 0 0;
}

.nav-inner {
  min-height: 76px;
  padding: 18px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 22%;
  background: url("../images/app-logo.png") center / contain no-repeat;
}

.brand-name {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: linear-gradient(100deg, var(--purple), var(--pink) 60%);
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-line--small {
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--purple), var(--pink) 65%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(155, 120, 220, 0.2);
}

.btn-line--small:hover {
  color: #fff;
  filter: brightness(1.04);
}

.policy {
  min-height: 70vh;
  padding: 30px 20px 88px;
}

.container {
  width: min(860px, 100%);
  margin-inline: auto;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.policy h1 {
  margin: 0 0 12px;
  font-family: var(--heading);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.35;
  font-weight: 900;
  background: linear-gradient(100deg, var(--purple), var(--pink) 45%);
  background-clip: text;
  color: transparent;
}

.policy-meta {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.policy-lead {
  margin: 0 0 32px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #faf7ff, #fff4f6);
  color: var(--text);
  font-size: 15px;
  line-height: 2;
}

.policy section {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(190, 120, 140, 0.07);
}

.policy h2 {
  margin: 0 0 14px;
  font-family: var(--heading);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 900;
  color: var(--ink);
}

.policy p,
.policy li {
  color: var(--text);
  font-size: 14px;
  line-height: 2;
}

.policy p {
  margin: 0 0 10px;
}

.policy p:last-child {
  margin-bottom: 0;
}

.policy ul,
.policy ol {
  margin: 0;
  padding-left: 1.4em;
}

.policy li {
  margin-bottom: 7px;
  padding-left: 0.2em;
}

#voice-deletion {
  scroll-margin-top: 105px;
  margin: 22px 0;
  padding: 24px 24px 24px 62px;
  border: 1px solid #e8def8;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f1ff, #fff2f5);
  position: relative;
}

#voice-deletion::before {
  content: "アカウント・データの削除申請";
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 900;
}

#voice-deletion::after {
  content: "✓";
  position: absolute;
  top: 25px;
  left: 24px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-weight: 900;
}

#voice-deletion:target {
  box-shadow: 0 0 0 4px rgba(139, 122, 224, 0.12);
}

.deletion-link {
  display: flex;
  width: fit-content;
  margin-top: 16px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
}

.deletion-link:hover {
  color: #fff;
  filter: brightness(1.04);
}

.support-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.support-index a {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(190, 120, 140, 0.05);
}

.support-index a::after {
  content: "↓";
  float: right;
  color: var(--pink);
}

.support-index a:hover {
  border-color: #eecbd4;
  color: var(--pink);
}

.support section {
  scroll-margin-top: 100px;
}

.support-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--purple), var(--pink) 65%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(155, 120, 220, 0.18);
}

.support-action:hover {
  color: #fff;
  filter: brightness(1.04);
}

.support-action--line {
  background: #06c755;
}

.support .support-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.support-details {
  margin: 0 0 14px;
}

.support-details div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.support-details dt {
  font-weight: 700;
}

.support-details dd {
  margin: 0;
}

.site-footer {
  padding: 30px 44px;
  border-radius: 0 0 20px 20px;
  background: #fdeef1;
}

.site-footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .nav,
  .site-footer {
    border-radius: 0;
  }

  .nav-inner {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-name {
    font-size: 18px;
  }

  .btn-line--small {
    padding: 10px 14px;
    font-size: 12px;
  }

  .policy {
    padding: 26px 18px 60px;
  }

  .policy-lead,
  .policy section {
    padding: 22px 20px;
    border-radius: 14px;
  }

  .support-index {
    grid-template-columns: 1fr;
  }

  .support-details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  #voice-deletion {
    padding: 58px 20px 20px;
  }

  #voice-deletion::after {
    top: 20px;
    left: 20px;
  }

  .site-footer,
  .site-footer-inner {
    padding: 26px 18px;
  }

  .site-footer-inner {
    padding: 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    gap: 12px 18px;
  }
}
