:root {
  --bg: #fbfaf7;
  --text: #1f1f1d;
  --muted: #6b6a65;
  --line: #e4e1d9;
  --accent: #8a5a3c;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161614;
    --text: #ecebe6;
    --muted: #a3a19a;
    --line: #2f2e2a;
    --accent: #d39a74;
    --card: #1e1e1b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700; letter-spacing: .08em; text-decoration: none; color: var(--text);
  font-size: 18px;
}
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--text); }
.hero { padding: 88px 0 64px; }
.hero h1 {
  font-size: clamp(28px, 5vw, 40px); line-height: 1.4; margin: 0 0 20px; font-weight: 700;
  letter-spacing: .02em;
}
.hero p { color: var(--muted); margin: 0; max-width: 620px; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
h2 {
  font-size: 13px; letter-spacing: .2em; color: var(--accent); margin: 0 0 24px;
  text-transform: uppercase; font-weight: 600;
}
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 18px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
table.profile { width: 100%; border-collapse: collapse; }
table.profile th, table.profile td {
  text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
table.profile th { width: 30%; color: var(--muted); font-weight: 500; padding-right: 16px; }
.en { color: var(--muted); font-size: 14.5px; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
footer a { color: var(--muted); margin-right: 16px; }
/* policy page */
.doc { padding-top: 56px; padding-bottom: 24px; }
.doc h1 { font-size: 28px; margin: 0 0 8px; }
.doc .date { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc h3 { font-size: 17px; margin: 36px 0 8px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 40px; }
@media (max-width: 560px) {
  nav a { margin-left: 12px; font-size: 13px; }
  nav a.opt { display: none; }
  .hero { padding: 56px 0 40px; }
  table.profile th { width: 34%; }
}
