/* 法務ページ共用スタイル（tokusho.html / privacy.html）
   2026-09-20: 正本を Codex版へ切替。色・書体を styles.css のトークンに合わせた。 */
:root {
  --navy: #172c45;
  --navy2: #203b59;
  --navy-dark: #102237;
  --gold: #f4c853;
  --cream: #f7f7f3;
  --ink: #172333;
  --muted: #5f6872;
  --line: #dde1df;
  --green: #087541;
  --white: #fff;
  --shadow: 0 18px 45px rgba(23, 44, 69, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--navy2);
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 8px 14px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ── ヘッダー（トップページと同じ見た目） ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid rgba(23, 44, 69, 0.08);
}

.header-inner {
  width: min(920px, calc(100% - 28px));
  min-height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  line-height: 1.05;
  text-decoration: none;
}

.brand-star {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.85rem;
}

.brand b {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand small {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.2em;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  color: var(--navy);
  background: var(--gold);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.line-mark {
  display: inline-grid;
  place-items: center;
  padding: 0.08rem 0.28rem;
  color: var(--white);
  background: var(--green);
  border-radius: 5px;
  font-size: 0.72rem;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: 0;
}

/* ── 本文 ── */
main {
  width: min(920px, calc(100% - 28px));
  margin: 38px auto 60px;
}

.page-title {
  margin-bottom: 26px;
}

h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.4;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card {
  margin-top: 22px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(23, 44, 69, 0.035);
}

h2 {
  margin: 0 0 14px;
  padding-left: 12px;
  color: var(--navy);
  border-left: 5px solid var(--gold);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.2rem;
  line-height: 1.45;
}

p,
ul {
  margin-top: 0;
}

ul {
  padding-left: 1.4em;
}

.legal-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.legal-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.legal-row dt,
.legal-row dd {
  margin: 0;
  padding: 16px;
}

.legal-row dt {
  color: var(--navy);
  background: var(--cream);
  font-weight: 700;
}

.note {
  color: var(--muted);
  font-size: 0.875rem;
}

.updated {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: right;
}

.legal-cta {
  margin-top: 30px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
}

.legal-cta p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.button-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.4rem;
  color: var(--navy);
  background: var(--gold);
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(244, 200, 83, 0.18);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
}

.legal-nav a {
  font-weight: 700;
}

/* ── フッター（トップページと同じ見た目） ── */
footer {
  padding: 45px 0;
  color: var(--white);
  background: var(--navy-dark);
}

.footer-inner {
  width: min(920px, calc(100% - 28px));
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-star {
  color: var(--navy);
}

.footer-brand small {
  color: #aebac6;
}

.footer-grid p {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: #bbc6d0;
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 24px;
  align-content: start;
  font-size: 0.8rem;
}

.footer-grid nav a {
  color: #e7edf3;
  text-decoration: none;
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #8fa0af;
}

:focus-visible {
  outline: 3px solid #6fa4df;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .brand b {
    font-size: 0.95rem;
  }

  .header-cta {
    font-size: 0.75rem;
    padding: 0.5rem 0.65rem;
  }

  main {
    margin-top: 28px;
  }

  .card {
    padding: 22px 18px;
  }

  .legal-row {
    display: block;
  }

  .legal-row dt,
  .legal-row dd {
    padding: 12px 14px;
  }

  .footer-grid nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.nobr{white-space:nowrap}
