/* solotax 共通デザイン — 方針「シンプル×洗練×見やすい」（2026-09-06決定・モック承認済み）
   トーン: 白地×モノトーン＋深緑1色。装飾最小・余白で見せる */
:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #1c1917;
  --text-2: #57534e;
  --text-3: #78716c;
  --line: #e7e5e4;
  --line-2: #d6d3d1;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --muted-bar: #a8a29e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 24px; }

header.site {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0 14px; border-bottom: 1px solid var(--line);
}
.logo { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; color: var(--text); }
.logo span { color: var(--accent); }
.tagline { font-size: 11px; color: var(--text-3); }

h1 { font-size: 25px; font-weight: 700; line-height: 1.35; margin: 0 0 6px; }
.lead { font-size: 14px; color: var(--text-2); margin: 0; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px; margin: 20px 0;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 500; color: var(--text-2); }
.input {
  display: flex; align-items: baseline; gap: 6px;
  border: 1px solid var(--line-2); border-radius: 8px;
  padding: 10px 14px; background: var(--bg);
}
.input input, .input select {
  border: none; background: transparent; outline: none;
  font: inherit; font-size: 18px; font-weight: 700; width: 100%; color: var(--text);
}
.input .unit { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 13px; font: inherit; font-size: 15px; font-weight: 700;
  letter-spacing: 0.04em; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn-outline {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent); color: var(--accent); border-radius: 8px;
  padding: 11px; font-size: 13px; font-weight: 700; background: transparent; cursor: pointer;
}

.result-num { font-size: 34px; font-weight: 700; color: var(--accent); }
.bar-track { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); transition: width 0.6s ease; }
.bar-fill.muted { background: var(--muted-bar); }
.note { font-size: 11px; color: var(--text-3); line-height: 1.5; }

footer.site {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px 28px; font-size: 11px; color: var(--text-3);
  border-top: 1px solid var(--line); margin-top: 40px;
}
footer.site a { color: var(--text-3); }
