:root {
  --page-bg: #fbf3f1;
  --paper: #ffffff;
  --accent: #e68589;
  --accent-hover: #ee989b;
  --ink: #2f2b2b;
  --muted: #6d6260;
  --line: #ead7d2;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(230, 133, 137, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 18rem, rgba(191, 167, 163, 0.12), transparent 22rem),
    var(--page-bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
}

.lp {
  width: 100%;
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  overflow: hidden;
}

.section-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

.cta-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  background-color: var(--paper);
  background-image: url("images/cta-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-area-final {
  padding-top: 56px;
}

.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  min-height: 60px;
  padding: 0 24px;
  border-radius: 30px;
  background: var(--accent);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(230, 133, 137, 0.32);
  outline-offset: 3px;
}

.footer {
  padding: 32px 18px 36px;
  background: var(--paper);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin: 18px 0 0;
  color: #9a8d89;
  font-size: 11px;
}

.legal-body {
  background: #ffffff;
}

.legal-page {
  width: min(100%, 800px);
  margin: 0 auto;
  padding: 44px 20px 64px;
  background: #ffffff;
}

.legal-page h1 {
  margin: 0 0 28px;
  font-size: clamp(26px, 7vw, 36px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.legal-page h2 {
  margin: 36px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
}

.legal-page p {
  margin: 0 0 14px;
}

.legal-page ul {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

.placeholder {
  color: #8d7f7b;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 34%;
  background: #fff8f7;
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  margin-top: 36px;
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 376px) {
  .lp {
    box-shadow: 0 16px 48px rgba(95, 90, 87, 0.08);
  }
}

@media (max-width: 640px) {
  .legal-page {
    padding: 32px 18px 48px;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .legal-table td {
    padding-top: 6px;
  }
}
