:root {
  --bg: #f7f3ea;
  --ink: #111111;
  --muted: #65615a;
  --line: #e7dfd2;
  --card: #ffffff;
  --yellow: #f7d447;
  --amber: #b46b19;
  --dark: #111111;
  --cream: #fffaf0;
  --green-bg: #dff8ea;
  --green: #166534;
  --yellow-bg: #fff1b8;
  --orange: #92400e;
  --red-bg: #ffe1e1;
  --red: #9f1239;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 234, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 223, 210, .85);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 950; letter-spacing: -0.04em; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--dark); color: var(--yellow); font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 900; color: #3c3934; }
.nav-links a { text-decoration: none; }
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 10%, rgba(247, 212, 71, .25), transparent 30%),
              radial-gradient(circle at 10% 110%, rgba(244, 127, 31, .23), transparent 35%),
              linear-gradient(135deg, #101010 0%, #1e1b16 55%, #5c3b12 100%);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; padding: 72px 0 80px; align-items: center; }
.hero-narrow { padding: 64px 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.86); font-size: 14px; font-weight: 800; backdrop-filter: blur(10px); }
h1, h2, h3 { line-height: 1.16; margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(38px, 7vw, 68px); margin-top: 24px; font-weight: 950; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 950; }
h3 { font-size: 22px; font-weight: 950; }
p { margin: 0; }
.lead { margin-top: 22px; max-width: 740px; color: rgba(255,255,255,.82); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 950; text-decoration: none; border: none; cursor: pointer; transition: transform .18s ease, opacity .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 30px rgba(247,212,71,.25); }
.btn-dark { background: var(--dark); color: white; }
.btn-ghost { border: 1px solid rgba(255,255,255,.24); color: white; background: transparent; }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: white; }
.hero-card { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.1); border-radius: 34px; padding: 20px; backdrop-filter: blur(12px); box-shadow: 0 30px 90px rgba(0,0,0,.2); }
.hero-card-inner { background: var(--bg); color: var(--ink); border-radius: 26px; padding: 22px; }
.question-list { display: grid; gap: 12px; margin-top: 16px; }
.question-item { display: flex; gap: 12px; align-items: center; background: white; border-radius: 18px; padding: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.04); font-weight: 850; }
.qmark { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 999px; background: #ffe784; font-weight: 950; }
.dark-note { margin-top: 18px; background: var(--dark); color: rgba(255,255,255,.86); border-radius: 18px; padding: 16px; font-size: 14px; }
.section { padding: 64px 0; }
.section-tight { padding: 42px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.eyebrow { color: var(--amber); font-weight: 950; margin-bottom: 8px; }
.small { color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); }
.grid-two { display: grid; grid-template-columns: .95fr 1.05fr; gap: 22px; }
.grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card-link { text-decoration: none; display: block; height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 24px 70px rgba(17,17,17,.12); }
.tag { display: inline-flex; border-radius: 999px; background: #fff1b8; color: #8a5507; padding: 5px 11px; font-weight: 950; font-size: 12px; margin-bottom: 12px; }
.form-block { display: grid; gap: 18px; }
label .label { display: block; font-size: 13px; color: var(--muted); font-weight: 950; margin-bottom: 8px; }
input[type="range"] { width: 100%; accent-color: var(--dark); }
input[type="number"], input[type="email"], textarea { width: 100%; border: 1px solid var(--line); background: white; border-radius: 14px; padding: 12px 14px; font-size: 17px; font-weight: 850; outline: none; }
textarea { min-height: 140px; font-family: inherit; font-weight: 600; }
input:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(247,212,71,.32); border-color: #e5bd22; }
.income-display { font-size: clamp(34px, 5vw, 52px); font-weight: 950; line-height: 1; margin-top: 10px; letter-spacing: -0.04em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-card { background: #faf7f0; border-radius: 18px; padding: 16px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--dark); color: white; border-radius: 18px; padding: 15px 16px; font-weight: 950; }
.switch-btn { width: 100%; background: var(--dark); color: white; border-radius: 14px; border: none; padding: 12px; font-size: 16px; font-weight: 950; cursor: pointer; }
.result-card { margin-bottom: 16px; }
.badge { display: inline-flex; border-radius: 999px; border: 1px solid transparent; padding: 5px 12px; font-size: 13px; font-weight: 950; }
.safe { background: var(--green-bg); color: var(--green); border-color: #b7e8c9; }
.warn { background: var(--yellow-bg); color: var(--orange); border-color: #f1d36e; }
.danger { background: var(--red-bg); color: var(--red); border-color: #ffb9c8; }
.result-title { margin-top: 14px; font-size: 25px; }
.result-text { margin-top: 10px; color: #4a4a4a; }
.action-card { background: #ffe97e; border: 1px solid #f1d04d; border-radius: var(--radius); padding: 24px; }
.article { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-grid { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.toc { position: sticky; top: 86px; background: #faf7f0; border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.toc a { display: block; padding: 8px 0; color: #4b4b4b; text-decoration: none; font-size: 14px; font-weight: 850; border-bottom: 1px solid rgba(0,0,0,.05); }
.toc a:last-child { border-bottom: 0; }
.article-body { display: grid; gap: 28px; }
.article-section { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.article-section:last-child { border-bottom: 0; }
.article-section p, .article-section li { color: #3f3f3f; }
.article-section p { margin-top: 12px; }
.article-section ul, .article-section ol { margin-top: 14px; padding-left: 1.4em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: white; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #faf7f0; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
.walls-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.wall-card { background: #faf7f0; border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
.wall-num { font-size: 34px; line-height: 1; font-weight: 950; letter-spacing: -0.04em; }
.message { background: var(--dark); color: white; }
.message-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.copy-box { margin-top: 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 18px; }
.faq-list { display: grid; gap: 14px; margin-top: 22px; }
details { background: #faf7f0; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
summary { cursor: pointer; font-weight: 950; }
details p { margin-top: 10px; color: #4a4a4a; }
.brand-cta { background: #111; color: white; }
.brand-box { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); border-radius: 34px; padding: 36px; }
.references { font-size: 13px; color: rgba(255,255,255,.58); margin-top: 26px; }
.references a { color: rgba(255,255,255,.86); }
.notice { border-left: 5px solid var(--yellow); background: var(--cream); padding: 16px 18px; border-radius: 16px; margin-top: 18px; color: #4a3b11; }
.footer { background: #0d0d0d; color: rgba(255,255,255,.62); padding: 30px 0; font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,.84); text-decoration: none; margin-right: 14px; }
.ad-insert-point { display: none; }
@media (max-width: 880px) {
  .hero-grid, .grid-two, .article-grid, .message-grid, .grid-three { grid-template-columns: 1fr; }
  .hero-grid { padding: 54px 0 60px; }
  .section-head { align-items: start; flex-direction: column; }
  .walls-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .nav { align-items: flex-start; padding: 14px 0; flex-direction: column; }
  .nav-links { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 560px) {
  .form-grid, .walls-grid { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .hero-card { padding: 14px; }
  .brand-box { padding: 24px; }
  h1 { font-size: 40px; }
}
