:root {
  --milk: #fffaf3;
  --cream: #f8eedf;
  --apricot: #f3c6a5;
  --coral: #dc8777;
  --coral-dark: #bc6b5e;
  --sage: #bdcbb6;
  --ink: #49413b;
  --muted: #7c7169;
  --white: #fffefa;
  --line: rgba(92, 76, 66, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--milk);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic",
    "Meiryo", sans-serif;
  line-height: 1.9;
}

a {
  color: inherit;
}

.policy-header {
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid var(--line);
}

.brand {
  width: clamp(145px, 14vw, 180px);
  display: inline-flex;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.back-link {
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

main {
  padding-bottom: clamp(80px, 10vw, 140px);
}

.policy-hero {
  padding: clamp(72px, 10vw, 125px) 24px clamp(90px, 12vw, 150px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.78), transparent 22%),
    var(--cream);
  text-align: center;
}

.policy-hero::before,
.policy-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.policy-hero::before {
  width: 180px;
  height: 180px;
  top: -65px;
  left: -45px;
  background: rgba(189, 203, 182, 0.55);
}

.policy-hero::after {
  width: 130px;
  height: 130px;
  right: -40px;
  bottom: -38px;
  background: rgba(243, 198, 165, 0.72);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.intro {
  width: min(690px, 100%);
  margin: 26px auto 0;
  color: var(--muted);
}

.effective-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.policy-card {
  width: min(920px, calc(100% - 40px));
  margin: clamp(-55px, -6vw, -72px) auto 0;
  padding: clamp(30px, 6vw, 76px);
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 46px 24px 46px 24px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(96, 72, 55, 0.09);
}

.policy-card section + section {
  margin-top: 58px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.45;
}

h2 span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--apricot);
  color: #674f41;
  font-size: 0.88rem;
}

h3 {
  margin: 30px 0 10px;
  padding-left: 14px;
  border-left: 5px solid var(--sage);
  font-size: 1.05rem;
}

p {
  margin: 14px 0 0;
}

ul {
  margin: 14px 0 0;
  padding-left: 1.5em;
}

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

.service-links {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.service-links a {
  padding: 13px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 15px;
  background: var(--cream);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.service-links a:hover,
.service-links a:focus-visible {
  background: #f2e3d0;
}

.contact-box {
  margin: 24px 0 0;
  padding: 22px 25px;
  border-radius: 20px;
  background: rgba(189, 203, 182, 0.56);
}

.contact-box div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
}

.contact-box div + div {
  margin-top: 10px;
}

.contact-box dt {
  color: #596855;
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-box dd {
  margin: 0;
  font-weight: 700;
}

footer {
  padding: 64px 24px 42px;
  position: relative;
  overflow: hidden;
  background: var(--coral);
  color: var(--white);
  text-align: center;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

footer p {
  margin: 10px 0 28px;
  opacity: 0.87;
}

footer small {
  opacity: 0.72;
}

@media (max-width: 640px) {
  .policy-header {
    padding-inline: 16px;
  }

  .brand {
    width: 140px;
  }

  .back-link {
    padding-inline: 12px;
    font-size: 0.75rem;
  }

  .policy-card {
    width: min(100% - 24px, 920px);
    border-radius: 30px 17px 30px 17px;
  }

  .policy-card section + section {
    margin-top: 44px;
    padding-top: 40px;
  }

  .contact-box div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
