@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600;800&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
  color: #f5f0df;
  background: #081b18;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-synthesis: none;
  --gold: #dcbf76;
  --panel: rgba(6, 31, 27, .82);
  --line: rgba(220, 191, 118, .24);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
  background: radial-gradient(circle at 50% 0, #1a5046 0, #0a211d 48%, #061512 100%);
}
a { color: inherit; touch-action: manipulation; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 28, 24, .94);
  backdrop-filter: blur(12px);
}
.site-header-inner, .page-shell, .site-footer-inner { width: min(1060px, calc(100% - 32px)); margin: 0 auto; }
.site-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; color: #fff5d8; font: 800 22px/1.35 "Noto Serif JP", serif; }
.brand span { color: var(--gold); }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid #647368; border-radius: 999px; color: #e8dfc4; font-size: 13px; text-decoration: none; touch-action: manipulation; }
.site-nav a[aria-current="page"], .site-nav a:hover { border-color: var(--gold); color: #fff5d8; background: rgba(220, 191, 118, .1); }
.page-shell { padding: 54px 0 72px; }
.page-hero { margin-bottom: 28px; }
.guide-heading { margin-top: 64px; padding-top: 54px; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 13px; letter-spacing: .16em; }
h1, h2, h3 { font-family: "Noto Serif JP", serif; }
h1 { margin: 0; color: #fff7de; font-size: clamp(30px, 5vw, 48px); line-height: 1.35; }
.lead { max-width: 780px; margin: 18px 0 0; color: #dce7e3; font-size: 18px; line-height: 1.9; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.content-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 14px 30px rgba(0, 0, 0, .16); }
.content-card.wide { grid-column: 1 / -1; }
.content-card h2 { margin: 0 0 15px; color: #e7cf8a; font-size: 23px; }
.content-card h3 { margin: 22px 0 8px; color: #fff0c4; font-size: 18px; }
.content-card p, .content-card li, .policy-copy p { color: #dbe5e1; font-size: 16px; line-height: 1.9; }
.content-card p { margin: 0 0 12px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul, .content-card ol { margin: 0; padding-left: 1.4em; }
.content-card li + li { margin-top: 7px; }
.tile-groups { display: grid; gap: 11px; }
.tile-group { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: baseline; padding-bottom: 11px; border-bottom: 1px solid rgba(220, 191, 118, .13); }
.tile-group:last-child { padding-bottom: 0; border-bottom: 0; }
.tile-group strong { color: #fff0c4; }
.tile-group span { color: #dce6e2; line-height: 1.8; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
table { width: 100%; border-collapse: collapse; color: #dce6e2; font-size: 15px; }
th, td { padding: 12px 13px; border: 1px solid rgba(220, 191, 118, .2); text-align: left; line-height: 1.65; }
th { background: rgba(220, 191, 118, .12); color: #fff0c4; }
td strong { color: #ffdd83; }
.notice { padding: 15px 17px; border-left: 4px solid var(--gold); background: rgba(220, 191, 118, .08); color: #e6e0ce; font-size: 15px; line-height: 1.8; }
.policy-copy { display: grid; gap: 18px; }
.policy-copy section { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.policy-copy h2 { margin: 0 0 10px; color: #e7cf8a; font-size: 22px; }
.policy-copy p { margin: 0; }
.site-footer { border-top: 1px solid var(--line); background: rgba(4, 19, 16, .72); }
.site-footer-inner { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; color: #9fb5ad; font-size: 13px; }
.site-footer a { color: #d5dfdb; }

@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header-inner { padding: 17px 0; align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; justify-content: flex-start; }
  .site-nav a { font-size: 14px; }
  .page-shell { padding-top: 36px; }
  .guide-heading { margin-top: 46px; padding-top: 38px; scroll-margin-top: 24px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-card.wide { grid-column: auto; }
  .tile-group { grid-template-columns: 1fr; gap: 4px; }
  .site-footer-inner { flex-direction: column; }
}

@supports (-webkit-touch-callout: none) {
  body { min-height: -webkit-fill-available; -webkit-font-smoothing: antialiased; }
}
