*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --orange: #F36E21; --graphite: #333333; --mist: #F8F8F8; --line: rgba(0,0,0,0.08); }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--graphite); background: #fff; }
.container { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }

header {
  background: var(--graphite);
  padding: 20px 0;
  border-bottom: 3px solid var(--orange);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  text-decoration: none;
}
.header-logo span { color: var(--orange); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--orange); }

main { padding: 64px 0 100px; }
h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--orange);
}
h2 { font-size: 20px; margin: 40px 0 14px; }
p { font-size: 15px; line-height: 1.85; margin-bottom: 14px; }
h1, h2, p, .note, .legal-list li, .legal-nav a, .header-logo, .back-link {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.lead {
  font-size: 14px;
  color: rgba(51,51,51,0.66);
  margin-top: 12px;
  margin-bottom: 40px;
}

table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 28px 0 40px; }
th, td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
}
th { width: 210px; background: var(--mist); font-weight: 700; white-space: nowrap; }
td { background: #fff; }
tr:last-child th, tr:last-child td { border-bottom: none; }

.note {
  background: #FFF8F3;
  border: 1px solid rgba(243,110,33,0.22);
  border-radius: 10px;
  padding: 18px 22px;
  width: 100%;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(51,51,51,0.78);
  margin-bottom: 24px;
}
.muted { color: rgba(51,51,51,0.58); font-size: 13px; }
.inline-link { color: var(--orange); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(243,110,33,0.28); }
.inline-link:hover { border-color: var(--orange); }
.legal-list { margin: 0 0 20px 1.2em; }
.legal-list li { font-size: 15px; line-height: 1.85; margin-bottom: 6px; }
.legal-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.legal-nav a { color: var(--graphite); font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.legal-nav a:hover { color: var(--orange); }

footer { background: var(--graphite); padding: 32px 0; text-align: center; }
footer p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  margin: 0;
}

@media(max-width:600px) {
  .container { padding: 0 18px; }
  .header-inner { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 24px; line-height: 1.35; }
  h1, h2, p, .note, th, td, .legal-list li, .legal-nav a {
    line-break: strict;
    word-break: normal;
  }
  .note { padding: 16px 18px; }
  table, tbody, tr, th, td { display: block; width: 100%; }
  table { table-layout: auto; }
  tr { border-bottom: 1px solid var(--line); }
  th {
    border-bottom: none;
    padding-bottom: 6px;
    white-space: normal;
  }
  td { padding-top: 0; border-bottom: none; }
  tr:last-child { border-bottom: none; }
  th, td { padding: 14px 12px; font-size: 14px; }
  main { padding-top: 48px; }
}
