:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-alt: #f3ede2;
  --ink: #2a2623;
  --muted: #6b635b;
  --shu: #b8472f;
  --kin: #b58938;
  --border: #e4ddd0;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--shu);
  text-decoration: none;
}

body.lang-en .t-ja { display: none !important; }
body.lang-ja .t-en { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.brand-badge {
  font-size: 12px;
  font-weight: 700;
  background: rgba(184, 71, 47, 0.12);
  color: var(--shu);
  padding: 3px 9px;
  border-radius: 999px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.lang-switcher {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--shu);
  color: #fff;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shu);
  color: #fff;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--border);
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.hero {
  background: linear-gradient(135deg, #fffdf9 0%, #f5ebda 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(184, 71, 47, 0.12);
  color: var(--shu);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.25;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
}

.hero p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.section {
  margin-top: 40px;
}

.section-title {
  font-size: 22px;
  margin: 0 0 16px;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

article h2 {
  margin-top: 28px;
  font-size: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

article h3 {
  margin-top: 20px;
  font-size: 17px;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

article th, article td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

article th {
  background: var(--surface-alt);
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.lead {
  font-size: 16px;
  color: var(--ink);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
  .hero h1 {
    font-size: 25px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .nav-hide-mobile {
    display: none;
  }
}
