
:root {
  --bg: #fbf8f3;
  --surface: #fffdf9;
  --surface-2: #f3ece1;
  --ink: #1d1915;
  --muted: #695c51;
  --line: #e2d8cb;
  --brand: #7c4a20;
  --brand-dark: #603816;
  --accent: #0f766e;
  --accent-soft: #daf4f1;
  --warning: #fff4dd;
  --shadow: 0 10px 30px rgba(44, 29, 17, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fdfbf8 0%, #fbf8f3 100%);
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(251, 248, 243, 0.92);
  border-bottom: 1px solid rgba(226, 216, 203, 0.9);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.logo { display: flex; gap: 12px; align-items: center; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #8a5325, #c8874b); color: white; font-size: 20px;
  box-shadow: var(--shadow);
}
.main-nav, .lang-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.main-nav a, .lang-nav a { color: var(--muted); font-weight: 600; }
.main-nav a:hover, .lang-nav a:hover, .lang-nav a.active { color: var(--ink); }
.hero { padding: 54px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 34px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.02; margin: 0 0 18px; letter-spacing: -0.04em; }
.hero-copy p { font-size: 1.08rem; color: var(--muted); margin: 0 0 22px; max-width: 60ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  background: var(--warning); color: #7a4d0d; padding: 8px 14px; font-size: 0.9rem; font-weight: 700;
  margin-bottom: 18px;
}
.hero-card, .panel, .article-card, .faq-card, .cta-band, .stat-card, .category-card, .disclosure-box, .notice-box, .comparison-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card { overflow: hidden; }
.hero-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.hero-card .card-body { padding: 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 22px; font-weight: 800; letter-spacing: -0.01em;
  border: 1px solid transparent; transition: 0.2s ease; min-height: 50px;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); color: white; transform: translateY(-1px); }
.btn-secondary { background: white; border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: #ccb49b; transform: translateY(-1px); }
.btn-ghost { color: var(--brand); padding: 0; }
.inline-meta, .mini-list { display: flex; gap: 14px; flex-wrap: wrap; }
.inline-meta span {
  display: inline-flex; gap: 8px; align-items: center; color: var(--muted);
  background: rgba(255,255,255,0.7); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 0.92rem;
}
.section { padding: 28px 0 10px; }
.section-lg { padding: 52px 0; }
.section-header { margin-bottom: 22px; }
.section-header h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.03em; }
.section-header p { margin: 0; color: var(--muted); max-width: 72ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-card, .category-card, .article-card, .faq-card, .panel { padding: 22px; }
.stat-card h3, .category-card h3, .article-card h3, .faq-card h3, .panel h3 { margin-top: 0; margin-bottom: 10px; letter-spacing: -0.02em; }
.stat-card p, .category-card p, .article-card p, .faq-card p, .panel p, .panel li, .article-body li { color: var(--muted); }
.panel ul, .article-body ul { padding-left: 20px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: stretch; }
.highlight-list { display: grid; gap: 12px; margin-top: 16px; }
.highlight-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid #eadfce;
}
.highlight-item strong { display: block; margin-bottom: 4px; }
.check {
  width: 24px; height: 24px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 900; flex: 0 0 24px;
}
.notice-box, .disclosure-box, .comparison-box { padding: 18px 20px; }
.notice-box { background: #fffaf0; }
.disclosure-box { background: #fffcf5; }
.comparison-box { background: #f7fcfb; border-color: #cde8e4; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: 8px 12px; font-weight: 800; font-size: 0.86rem;
}
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card img { border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 14px; }
.article-meta { font-size: 0.92rem; color: var(--muted); margin-bottom: 6px; }
.cta-band { padding: 28px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: center; }
.cta-band p { color: var(--muted); margin-top: 0; }
.footer { padding: 36px 0 48px; border-top: 1px solid var(--line); margin-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 22px; }
.footer p, .footer li, .footer a { color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.small { font-size: 0.92rem; }
.tiny { font-size: 0.84rem; }
.muted { color: var(--muted); }
.breadcrumbs { margin: 18px 0 8px; font-size: 0.92rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.page-hero { padding: 40px 0 20px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 14px; }
.page-hero p { max-width: 72ch; color: var(--muted); margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
.article-layout .article-body { min-width: 0; }
.article-layout aside { position: sticky; top: 96px; align-self: start; }
.article-hero-image { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 24px 0; }
.article-hero-image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-body h2 { margin-top: 34px; margin-bottom: 10px; font-size: 1.75rem; letter-spacing: -0.02em; }
.article-body h3 { margin-top: 24px; margin-bottom: 8px; font-size: 1.2rem; }
.article-body p { color: #3e352e; }
.toc { padding: 20px; }
.toc h3 { margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.toc ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; }
.quote {
  border-left: 4px solid #d7bc9d; padding: 8px 0 8px 16px; margin: 22px 0; color: #3f3227; background: #fffaf4;
}
.faq-list { display: grid; gap: 14px; }
details.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow);
}
details.faq-item summary { cursor: pointer; font-weight: 800; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item p { color: var(--muted); margin-bottom: 0; }
.table-like { display: grid; gap: 12px; margin-top: 18px; }
.row-card {
  display: grid; grid-template-columns: 180px 1fr; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff;
}
.legal-list { padding-left: 18px; }
.callout { padding: 14px 16px; background: #f7fbff; border: 1px solid #cfe4ff; border-radius: 14px; color: #274c70; }
@media (max-width: 980px) {
  .hero-grid, .split, .article-layout, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .article-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .article-layout aside { position: static; }
}
@media (max-width: 760px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .main-nav, .lang-nav { gap: 12px; }
  .hero { padding-top: 34px; }
  .row-card { grid-template-columns: 1fr; }
}
