/* @section: design-system */
:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --surface: #ffffff;
  --text: #182428;
  --muted: #58686f;
  --border: #d7e0e3;
  --primary: #0b5c6b;
  --primary-strong: #084550;
  --accent: #d9eef1;
  --notice: #edf7f8;
  --shadow: 0 16px 45px rgba(20, 48, 55, 0.08);
  --radius: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.72;
}

a {
  color: var(--primary);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--primary-strong);
}

h1,
h2,
p,
ul,
ol {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 0.85rem;
  color: var(--primary-strong);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.3;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.4rem;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(900px, calc(100% - 2rem));
}

/* @section: header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.product-label,
.header-subtitle,
.site-footer p {
  margin-bottom: 0;
}

.product-label {
  color: var(--primary-strong);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.header-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* @section: hero */
.hero-section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 3rem;
  background: linear-gradient(180deg, #e9f4f5 0%, var(--bg) 100%);
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 800px;
  color: #34494f;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.summary-box {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #b9dce1;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  background: var(--notice);
}

.summary-box p {
  margin-bottom: 0;
}

/* @section: policy-layout */
.content-section {
  padding: 2rem 0 5rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contents {
  position: sticky;
  top: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contents-title {
  margin-bottom: 0.7rem;
  color: var(--primary-strong);
  font-weight: 800;
}

.contents ol {
  margin-bottom: 0;
  padding-left: 1.15rem;
  font-size: 0.92rem;
}

.contents a {
  text-decoration: none;
}

.policy-content {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-content section {
  scroll-margin-top: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.policy-content section + section {
  border-top: 1px solid var(--border);
}

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

/* @section: footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #e7eef0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .contents {
    position: static;
  }
}

@media (max-width: 600px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-link {
    width: 100%;
  }

  .hero-section {
    padding-top: 2.5rem;
  }

  .policy-content {
    box-shadow: none;
  }
}
