/* 税務顧問 報酬シミュレーター（[fk_komon_estimator]）2026-10-11 */
.fk-komon-sim { --fk-orange:#ef8a3c; --fk-orange-d:#d9731f; --fk-green:#7cc242; --fk-cream:#fff7ee; --fk-text:#4a4239; color:var(--fk-text); line-height:1.7; }

  .fk-komon-sim { margin:0 0 2em; background:var(--fk-cream); border-radius:12px; padding:24px 20px; }
  .fk-komon-sim h2 { margin:0 0 6px; font-size:1.3rem; color:var(--fk-orange-d); border-bottom:3px solid var(--fk-green); padding-bottom:6px; }
  .fk-lead { margin:0 0 18px; font-size:.95rem; }
  .fk-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px 18px; }
  @media (max-width:560px){ .fk-grid{ grid-template-columns:1fr; } }
  .fk-field label { display:block; font-weight:600; font-size:.92rem; margin-bottom:4px; }
  .fk-field small { display:block; font-weight:400; color:#7a6e63; font-size:.8rem; line-height:1.4; }
  .fk-field input[type=number], .fk-field input[type=date] { width:100%; box-sizing:border-box; font-size:1.05rem; padding:8px 10px; border:1px solid #d9cfc3; border-radius:8px; background:#fff; }
  .fk-unit { display:flex; align-items:center; gap:6px; }
  .fk-unit input { flex:1; }
  .fk-check { display:flex; align-items:flex-start; gap:8px; margin-top:6px; }
  .fk-check input { margin-top:6px; transform:scale(1.2); }
  .fk-result { margin-top:22px; background:#fff; border:2px solid var(--fk-orange); border-radius:12px; padding:18px 18px 14px; }
  .fk-table { width:100%; border-collapse:collapse; font-size:.92rem; }
  .fk-table th { text-align:left; font-weight:500; padding:6px 4px; border-bottom:1px dashed #e4d9cc; }
  .fk-table td { text-align:right; white-space:nowrap; padding:6px 4px; border-bottom:1px dashed #e4d9cc; }
  .fk-table tr.fk-subtotal th, .fk-table tr.fk-subtotal td { font-weight:700; border-top:2px solid var(--fk-green); border-bottom:1px solid #e4d9cc; background:#fbfaf6; }
  .fk-table tr.fk-rate th { padding-left:1.2em; color:#6b5f54; }
  .fk-total-label { margin:12px 0 0; font-size:.9rem; text-align:center; }
  .fk-total { margin:0; font-size:2rem; font-weight:700; color:var(--fk-orange-d); text-align:center; }
  .fk-notes { margin:10px 0 0; padding-left:1.2em; font-size:.82rem; color:#7a6e63; }
  .fk-muted { color:#7a6e63; text-align:center; }
  .fk-sim-disclaimer { margin:16px 0 0; font-size:.8rem; color:#7a6e63; }
  .fk-cta { text-align:center; margin-top:16px; }
  .fk-cta a { display:inline-block; background:var(--fk-orange); color:#fff; text-decoration:none; font-weight:700; padding:12px 28px; border-radius:999px; }
/* ---- SWELL の .post_content 内 table/a スタイルへの上書き（2026-10-11 本番実測で崩れた3点） ---- */
.post_content .fk-komon-sim .fk-table { display:table; width:100%; table-layout:auto; border:none; margin:0; font-size:.92rem; }
.post_content .fk-komon-sim .fk-table tbody { display:table-row-group; }
.post_content .fk-komon-sim .fk-table tr { display:table-row; }
.post_content .fk-komon-sim .fk-table th,
.post_content .fk-komon-sim .fk-table td { display:table-cell; border:none !important; background:transparent; padding:6px 4px; vertical-align:middle; font-size:inherit; }
.post_content .fk-komon-sim .fk-table th { text-align:left !important; font-weight:500 !important; border-bottom:1px dashed #e4d9cc !important; }
.post_content .fk-komon-sim .fk-table td { text-align:right !important; white-space:nowrap !important; width:1%; border-bottom:1px dashed #e4d9cc !important; }
.post_content .fk-komon-sim .fk-table tr.fk-subtotal th,
.post_content .fk-komon-sim .fk-table tr.fk-subtotal td { font-weight:700 !important; border-top:2px solid var(--fk-green) !important; border-bottom:1px solid #e4d9cc !important; background:#fbfaf6; }
.post_content .fk-komon-sim .fk-table tr.fk-rate th { padding-left:1.2em; color:#6b5f54; }
.post_content .fk-komon-sim .fk-cta a,
.post_content .fk-komon-sim .fk-cta a:visited,
.post_content .fk-komon-sim .fk-cta a:hover { color:#fff !important; text-decoration:none !important; opacity:1; }
.post_content .fk-komon-sim .fk-cta a:hover { background:var(--fk-orange-d); }
.post_content .fk-komon-sim .fk-total { color:var(--fk-orange-d) !important; }
.post_content .fk-komon-sim .fk-field label { margin-bottom:4px; }
.post_content .fk-komon-sim .fk-notes, .post_content .fk-komon-sim .fk-sim-disclaimer { font-size:.8rem; }
/* ---- 顧問版の追加 ---- */
.fk-komon-sim .fk-radio { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:4px; }
.fk-komon-sim .fk-radio label { font-weight:400; display:flex; align-items:center; gap:4px; margin:0; }
.fk-komon-sim .fk-radio input { transform:scale(1.15); }
.fk-komon-sim .fk-sub { margin-top:8px; padding-left:28px; font-size:.9rem; }
.fk-komon-sim .fk-sub label { font-weight:400; margin:0; white-space:nowrap; }
.fk-komon-sim .fk-sub input { max-width:70px; }
.fk-komon-sim .fk-band { margin:0 0 8px; font-size:.95rem; }
.fk-komon-sim .fk-band small { display:block; color:#7a6e63; font-size:.8rem; }
.fk-komon-sim .fk-yearly { margin-top:14px; }
.post_content .fk-komon-sim .fk-radio label { margin:0; }
.post_content .fk-komon-sim .fk-sub input { max-width:70px; }
.fk-komon-sim .fk-table tr.fk-discount th, .fk-komon-sim .fk-table tr.fk-discount td { color:#c62828; }
.post_content .fk-komon-sim .fk-table tr.fk-discount th, .post_content .fk-komon-sim .fk-table tr.fk-discount td { color:#c62828 !important; }
/* ---- 料金表（税務顧問 3列）を3等分（2026-10-11 先生指示） ---- */
.post_content .fk-price-3col table.has-fixed-layout { table-layout:fixed !important; width:100% !important; }
.post_content .fk-price-3col th, .post_content .fk-price-3col td { width:33.333% !important; }
/* ---- 経理の方法（割引）が対象外のときのグレーアウト（2026-10-22 先生指示） ---- */
.fk-komon-sim .fk-field.fk-disabled > label, .fk-komon-sim .fk-field.fk-disabled .fk-check { opacity:.45; }
.fk-komon-sim .fk-field.fk-disabled .fk-check input, .fk-komon-sim .fk-field.fk-disabled .fk-check label { cursor:not-allowed; }
.fk-komon-sim .fk-method-note { display:block; margin-top:6px; font-size:.8rem; font-weight:600; color:#c62828; line-height:1.4; }
.post_content .fk-komon-sim .fk-method-note { color:#c62828 !important; }
