:root { --bg:#ffffff; --text:#111; --muted:#555; --line:#e9eef5; --max: 960px; }
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; color:var(--text); background:var(--bg); }
.wrap { max-width: var(--max); margin:0 auto; padding: 0 16px; }
.nav { display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; gap:12px; height:auto; padding:8px 0; }
.logo { font-weight:700; font-size:18px; }
.hero { padding: 48px 0 32px; background: linear-gradient(180deg, #f7faff 0%, #fff 100%); border-bottom:1px solid var(--line); }
.grid { display:grid; gap:16px; }
section { padding: 32px 0; }
h2 { font-size: 20px; margin: 0 0 12px; padding-top: 8px; }
.card { border:1px solid var(--line); border-radius: 12px; padding: 16px; background:#fff; }
.table { width:100%; border-collapse: collapse; }
.table th, .table td { border-bottom:1px solid var(--line); padding: 10px 0; text-align:left; vertical-align: top; }
footer { border-top:1px solid var(--line); padding:24px 0 48px; font-size: 14px; color: var(--muted); text-align:center; }

/* Language buttons */
nav.language { margin-left:auto; white-space:nowrap; overflow-x:auto; -webkit-overflow-scrolling: touch; }
nav.language button {
  border:none;
  background:none;
  color:#000;
  cursor:pointer;
  font-size:14px;
  margin-left:12px;
  padding:4px 0;
}

@media (max-width: 600px) {
  body { font-size:16px; }
  section { padding:20px 0; }
  h1 { font-size:20px; }
  h2 { font-size:18px; }
  nav.language button { font-size:13px; margin-left:10px; }
  .table, .table tr, .table th, .table td { display:block; width:100%; }
  .table th { font-weight:bold; margin-top:8px; }
  .table td { margin-bottom:8px; }
}
