:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic",
    "Noto Sans JP", sans-serif;
  --accent: #c88732;
  --accent-soft: #f1e3cc;
  --background: #f7f3ea;
  --border: #ddd6c9;
  --primary: #3b4e6d;
  --primary-dark: #2f405d;
  --surface: #fffdf8;
  --text: #24272d;
  --text-muted: #6f6e6a;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--text);
  margin: 0;
  min-width: 320px;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 820px;
  min-height: 72px;
  padding: 12px 24px;
}

.brand-link {
  align-items: center;
  color: var(--text);
  display: flex;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.brand-icon {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 11px;
  display: block;
  height: 40px;
  object-fit: cover;
  width: 40px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 18px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav-link[aria-current="page"],
.nav-link:hover {
  color: var(--primary);
}

main {
  margin: 0 auto;
  max-width: 820px;
  padding: 48px 24px 24px;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgb(47 64 93 / 7%);
  padding: 56px;
}

.policy-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  padding-bottom: 32px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
}

h1 {
  color: var(--primary-dark);
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0;
}

.effective-date {
  color: var(--text-muted);
  font-size: 13px;
  margin: 14px 0 0;
}

section {
  margin-top: 40px;
}

h2 {
  color: var(--primary-dark);
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 12px;
}

p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 16px;
}

section p,
.policy-card > p {
  color: var(--text-muted);
}

ul {
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0 0 16px;
  padding-left: 1.4em;
}

li + li {
  margin-top: 6px;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
  text-underline-offset: 3px;
}

.support-lead {
  color: var(--text-muted);
  margin: 18px 0 0;
}

.contact-panel {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  text-align: center;
}

.contact-label {
  font-size: 13px;
  margin-bottom: 6px;
}

.contact-email {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.mail-button {
  background: var(--primary);
  border-radius: 14px;
  color: var(--surface);
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  margin-top: 22px;
  padding: 13px 24px;
  text-decoration: none;
}

.mail-button:hover {
  opacity: 0.88;
}

.button-note {
  color: var(--text-muted);
  font-size: 12px;
  margin: 12px 0 0;
}

.support-note {
  background: var(--background);
  border-radius: 18px;
  padding: 24px;
}

.support-note h2 {
  margin-top: 0;
}

.support-note p {
  margin-bottom: 0;
}

.back-link {
  margin: 32px 0 0;
  text-align: center;
}

.site-footer {
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 820px;
  padding: 24px 24px 48px;
  text-align: center;
}

.site-footer p {
  font-size: 12px;
  margin: 0;
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 64px;
    padding-inline: 20px;
  }

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

  .site-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 12px;
  }

  main {
    padding: 24px 16px 16px;
  }

  .policy-card {
    border-radius: 18px;
    padding: 30px 22px;
  }

  .contact-panel {
    padding: 26px 18px;
  }

  .contact-email {
    font-size: 16px;
  }

  .policy-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  section {
    margin-top: 32px;
  }

  h2 {
    font-size: 17px;
  }

  p {
    font-size: 14px;
    line-height: 1.85;
  }
}
