:root {
  --green: #08783e;
  --green-dark: #075d33;
  --green-soft: #eaf5ef;
  --line: #d8e0dc;
  --text: #1f2924;
  --muted: #66716b;
  --bg: #f4f7f5;
  --white: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Yu Gothic UI", "Meiryo", sans-serif; background: var(--bg); color: var(--text); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); padding: 22px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h1 { margin: 2px 0 0; font-size: 26px; }
h2 { margin: 0 0 16px; font-size: 19px; }
.eyebrow { margin: 0; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.container { width: min(1500px, 92vw); margin: 26px auto 50px; }
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.summary-card, .card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 8px rgba(20, 50, 35, .04); }
.summary-card { padding: 20px; display: grid; gap: 5px; }
.summary-card span { color: var(--green); font-weight: 700; }
.summary-card strong { font-size: 25px; }
.summary-card small { color: var(--muted); }
.card { padding: 22px; margin-bottom: 16px; }
textarea { width: 100%; resize: vertical; border: 1px solid #b9c5bf; border-radius: 7px; padding: 14px; font: inherit; line-height: 1.6; }
textarea:focus { outline: 2px solid #acd7bd; border-color: var(--green); }
.question-footer, .section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.question-footer p, .section-heading span { color: var(--muted); font-size: 13px; }
.btn { border: 0; border-radius: 7px; padding: 11px 18px; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: var(--green-soft); color: var(--green-dark); border: 1px solid #b9d9c6; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.examples button { background: #f7faf8; color: #435149; border: 1px solid var(--line); border-radius: 20px; padding: 7px 12px; cursor: pointer; }
.answer-card { border-left: 5px solid var(--green); }
.answer-text { font-size: 18px; line-height: 1.8; margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { background: #eef4f0; color: #34453b; position: sticky; top: 0; }
th, td { border-bottom: 1px solid #e1e7e3; padding: 10px; text-align: left; vertical-align: top; white-space: nowrap; }
td:nth-child(5), td:nth-child(7) { white-space: normal; min-width: 220px; }
.num { text-align: right; }
.alert { padding: 13px 16px; border-radius: 7px; margin-bottom: 16px; }
.alert-success { background: #e6f5eb; border: 1px solid #acd7bd; }
.alert-danger { background: #fdeaea; border: 1px solid #efbbbb; }
.alert-warning { background: #fff6df; border: 1px solid #eed18a; }
@media (max-width: 760px) {
  .site-header, .question-footer { align-items: stretch; flex-direction: column; }
  .summary-grid { grid-template-columns: 1fr; }
}
