@charset "UTF-8";

/* =========================================
   Terms / Privacy
========================================= */
.terms-page {
  background: #ffffff;
  padding: 80px 0 100px;
}

.terms-wrap {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
}

.terms-page h1 {
  margin: 0 0 24px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #222;
}

.terms-lead {
  margin: 0 0 40px;
  font-size: 1rem;
  line-height: 2;
  color: #555;
}

.terms-article {
  margin-top: 32px;
}

.terms-article h2 {
  margin: 36px 0 12px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #222;
}

.terms-article h2:first-child {
  margin-top: 0;
}

.terms-article p {
  margin: 0 0 16px;
  font-size: 0.96rem;
  line-height: 2;
  color: #555;
}

.terms-date {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid #e9e6df;
  font-size: 0.9rem;
  color: #888;
}

/* =========================================
   Law
========================================= */
.law-page {
  background: #ffffff;
  padding: 80px 0 100px;
}

.law-wrap {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
}

.law-page h1 {
  margin: 0 0 28px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #222;
}

.law-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.law-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fbfbf9;
  border: 1px solid #e9e6df;
}

.law-label {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #222;
}

.law-value {
  color: #555;
  line-height: 1.8;
}

.law-value small {
  font-size: 0.85rem;
  color: #888;
}

/* =========================================
   Footer for legal pages
========================================= */
.footer-inner--legal {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 0;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 768px) {
  .terms-page,
  .law-page {
    padding: 56px 0 72px;
  }

  .terms-wrap,
  .law-wrap {
    width: min(calc(100% - 24px), 860px);
  }

  .terms-page h1,
  .law-page h1 {
    font-size: 1.9rem;
    margin-bottom: 18px;
  }

  .terms-lead {
    margin-bottom: 28px;
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .terms-article h2 {
    margin: 28px 0 10px;
    font-size: 1.05rem;
  }

  .terms-article p {
    font-size: 0.92rem;
    line-height: 1.95;
  }

  .terms-date {
    margin-top: 32px;
    padding-top: 16px;
    font-size: 0.88rem;
  }

  .law-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  .footer-inner--legal {
    padding: 22px 0;
    gap: 14px;
  }

  .footer-copy {
    font-size: 11px;
  }
}