.taishoku-hero .sub-hero-inner::after{
  background:url('../../../assets/img/hero-ledger.svg') right center/cover no-repeat;
  opacity:.16;
}
.taishoku-page-wrap{background:#f7f9fc;padding:36px 0 54px;}
.taishoku-wide-container{width:min(calc(100% - 96px),1288px);max-width:1288px;margin:0 auto;}
.taishoku-privacy-note{border:1px solid #cdd9e8;background:#fff;padding:14px 18px;margin:0 0 24px;color:#31425f;box-shadow:0 8px 26px rgba(0,30,78,.04);}
.taishoku-privacy-note p{margin:0;font-size:13px;line-height:1.8;}
.taishoku-layout{display:grid;grid-template-columns:minmax(0,960px) 300px;grid-template-areas:"input ad" "result ad";gap:0 28px;justify-content:center;align-items:start;}
.input-panel{grid-area:input;background:#fff;border:1px solid #d7e0ec;border-bottom:0;box-shadow:0 8px 26px rgba(0,30,78,.04);padding:28px 34px 24px;min-width:0;}
.report-panel{grid-area:result;background:#fff;border:1px solid #d7e0ec;border-top:0;box-shadow:0 12px 30px rgba(0,30,78,.045);padding:10px 34px 34px;min-width:0;}
.ad-column{grid-area:ad;display:grid;gap:18px;position:sticky;top:18px;align-self:start;width:300px;}
.ad-box{border:1px solid #cfd9e7;background:#fff;box-shadow:0 6px 18px rgba(0,30,78,.04);min-height:250px;}
.ad-600{min-height:600px;background:#f7f9fc;border-style:dashed;}
.panel-title,.result-panel-title{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 18px;padding:0 0 12px;border-bottom:1px solid #e3e9f1;text-align:left;}
.result-panel-title{margin-top:18px;margin-bottom:18px;}
.panel-title-main,.result-panel-title>div{min-width:0;}
.panel-title .eyebrow,.result-panel-title .section-kicker{margin:0 0 4px;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.18em;line-height:1.4;}
.panel-title h2,.result-panel-title h2{margin:0;color:var(--navy);font-family:var(--serif);font-size:22px;font-weight:900;line-height:1.5;letter-spacing:.06em;}
.title-reset-button{flex:0 0 auto;align-self:flex-start;min-width:150px;height:38px;min-height:38px;margin-top:2px;padding:0 18px;border-radius:0;font-size:12px;line-height:1;white-space:nowrap;}
.title-reset-button::after{content:none!important;display:none!important;}
#simulatorForm{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px 16px;align-items:start;}
#simulatorForm .field{margin:0;}
#simulatorForm>.field:nth-of-type(1),#simulatorForm>.field:nth-of-type(2){grid-column:span 6;}
#simulatorForm>.two-cols{grid-column:span 6;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;}
#simulatorForm .check-row{grid-column:span 8;}
#simulatorForm .notice-box.small{grid-column:span 4;}
.field label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 7px;color:#25395d;font-weight:800;font-size:14px;line-height:1.35;}
.field label span,.field label b{font-size:11px;line-height:1.2;background:#f4f7fb;border:1px solid #d7e0ec;color:#52627a;padding:2px 7px;border-radius:999px;}
.field label b{background:#fff7e6;border-color:#e8c37e;color:#7a5200;}
.field input,.field select{width:100%;min-width:0;height:44px;border:1px solid #b8c7da;background:#fff;color:var(--text);border-radius:0;padding:9px 11px;font:700 14px/1.4 var(--sans);outline:none;}
.field input:focus,.field select:focus{outline:2px solid rgba(197,138,22,.25);border-color:var(--gold);}
.money-input{display:grid;grid-template-columns:minmax(0,1fr) 42px;border:1px solid #b8c7da;background:#fff;}
.money-input:focus-within{outline:2px solid rgba(197,138,22,.25);border-color:var(--gold);}
.money-input input{height:42px;border:0;text-align:right;box-shadow:none!important;}
.money-input span{display:grid;place-items:center;background:#f7f9fc;border-left:1px solid #d7e0ec;color:#52627a;font-size:13px;font-weight:800;}
.check-row{display:flex;align-items:center;gap:9px;border:1px solid #d7e0ec;background:#f7f9fc;padding:10px 12px;min-height:44px;color:#31425f;font-size:13px;font-weight:800;line-height:1.4;white-space:nowrap;}
.check-row input{width:17px;height:17px;margin:0;accent-color:#001e4e;flex:0 0 auto;}
.check-row.is-disabled{opacity:.45;}
.notice-box.small{border:1px solid #e4d3ad;background:#fffbf1;padding:9px 12px;min-height:44px;color:#31425f;font-size:12px;line-height:1.55;}
.notice-box.small strong{display:block;color:#795600;font-size:12px;margin-bottom:2px;}
.notice-box.small p{margin:0;font-size:12px;line-height:1.55;}
#simulatorForm .button-row{display:none!important;}
.validation-message{border:1px solid #e1a6a6;background:#fff3f3;color:#9a2222;font-weight:800;padding:12px 14px;margin:0 0 14px;font-size:13px;}
.report-area{display:block;width:100%;min-width:0;overflow:visible;background:transparent;border:0;padding:0;}
.report-sheet{box-sizing:border-box;}
.report-sheet.empty-report{width:100%;min-height:260px;background:#fff;border:1px dashed #b8c7da;padding:24px;display:grid;place-items:center;color:#52627a;}
.report-sheet.empty-report .report-title{display:none;}
.empty-state{margin:0;text-align:center;}
.empty-state strong{display:block;color:#001e4e;font-size:16px;margin-bottom:0;}
.empty-state p{display:none;}
.report-sheet.report-v2{width:100%;max-width:none;min-width:0;height:auto;min-height:0;aspect-ratio:auto;background:transparent;color:#102447;box-shadow:none;border:0;padding:0;overflow:visible;font-family:var(--sans);line-height:1.45;letter-spacing:.01em;}
.report-v2 .report-frame{width:100%;height:auto;min-height:0;border:0;background:transparent;padding:0;display:flex;flex-direction:column;gap:16px;position:relative;}
.report-v2 .report-frame::before{display:none;content:none;}
.report-v2 .report-head{display:flex;justify-content:flex-end;align-items:flex-start;padding:0 0 2px;border-bottom:0;}
.report-v2 .report-head>div:first-child{display:none;}
.report-v2 .report-date{width:210px;border:1px solid #c5b07b;background:linear-gradient(180deg,#fffaf0,#fff7e8);padding:8px 10px;text-align:left;}
.report-v2 .report-date span,.report-v2 .person-block span,.report-v2 .status-block span,.report-v2 .amount-block span,.report-v2 .report-dates span,.report-v2 .mini-card span,.report-v2 .result-band span{display:block;color:#52627a;font-size:11px;font-weight:800;letter-spacing:.08em;line-height:1.25;}
.report-v2 .report-date strong{display:block;color:#102447;font-size:13px;line-height:1.35;}
.report-v2 .report-overview{display:grid;grid-template-columns:minmax(0,1fr) 92px 92px minmax(0,1fr);gap:10px;}
.report-v2 .person-block,.report-v2 .status-block,.report-v2 .amount-block{border:1px solid #d7e0ec;background:#fff;padding:10px 12px;min-height:58px;}
.report-v2 .person-block strong,.report-v2 .status-block strong,.report-v2 .amount-block strong{display:block;margin-top:4px;color:#102447;font-size:17px;line-height:1.22;font-weight:900;}
.report-v2 .person-block small,.report-v2 .amount-block small{font-size:11px;font-weight:800;color:#52627a;}
.report-v2 .status-block{background:#f7f9fc;text-align:center;}
.report-v2 .status-block strong{color:var(--navy);}
.report-v2 .amount-block{border-color:#b7c5d8;background:linear-gradient(180deg,#ffffff,#f9fbfd);}
.report-v2 .amount-block strong{text-align:right;font-size:20px;font-variant-numeric:tabular-nums;}
.report-v2 .report-dates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 150px;gap:10px;}
.report-v2 .report-dates>div{border-left:3px solid #d7e0ec;background:#f7f9fc;padding:8px 10px;min-height:44px;}
.report-v2 .report-dates strong{display:block;color:#102447;font-size:14px;font-weight:900;line-height:1.18;margin-top:2px;}
.report-v2 .report-dates small{color:#52627a;font-size:13px;font-weight:800;line-height:1.2;}
.report-v2 .report-dates .tenure-card{border-left-color:var(--gold);background:#fff9ed;}
.report-v2 .report-dates .tenure-card strong{color:var(--navy);font-size:21px;text-align:right;}
.report-v2 .summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.report-v2 .mini-card{border:1px solid #d7e0ec;background:#fff;padding:10px 11px;min-height:56px;}
.report-v2 .mini-card:nth-child(2),.report-v2 .mini-card:nth-child(4){background:#fbfcfe;}
.report-v2 .mini-card span{font-size:13.2px;}
.report-v2 .mini-card strong{display:block;margin-top:4px;text-align:right;color:#102447;font-size:20.4px;line-height:1.2;font-weight:900;font-variant-numeric:tabular-nums;}
.report-v2 .calc-section{border:1px solid #d7e0ec;background:#fff;padding:16px 18px 14px;}
.report-v2 .calc-section h2,.report-v2 .report-notes h2{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:var(--navy);font-family:var(--serif);font-size:22px;line-height:1.5;letter-spacing:.06em;}
.report-v2 .calc-section h2 span{display:inline-grid;place-items:center;width:30px;height:30px;background:var(--navy);color:#fff;font-family:var(--sans);font-size:10px;letter-spacing:.02em;}
.report-v2 .calc-line{display:grid;grid-template-columns:minmax(120px,145px) minmax(0,1fr) 21px minmax(130px,165px);gap:10px;align-items:center;min-height:42px;border-bottom:1px solid #e7edf5;padding:7px 0;margin-left:100px;width:calc(100% - 100px);}
.report-v2 .calc-section .calc-line:last-child{border-bottom:0;}
.report-v2 .calc-label{color:#102447;font-size:14px;font-weight:900;line-height:1.25;}
.report-v2 .calc-expression{color:#102447;font-size:18px;font-weight:900;line-height:1.34;white-space:normal;overflow-wrap:anywhere;}
.report-v2 .calc-equals{color:#52627a;font-weight:900;text-align:center;font-size:17px;}
.report-v2 .calc-result{background:#f7f9fc;border:1px solid #d7e0ec;border-left:3px solid var(--gold);color:#102447;font-size:19.2px;font-weight:900;text-align:right;padding:7px 9px 6px;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.25;}
.report-v2 .calc-result.emphasis{background:#fff3e4;border-color:#ead6ad;border-left-color:var(--gold);}
.report-v2 .token{display:inline-block;vertical-align:baseline;margin:0 2px;font-variant-numeric:tabular-nums;}
.report-v2 .token.num{min-width:0;text-align:inherit;}
.report-v2 .token.rate{background:transparent;border:0;padding:0;min-width:0;text-align:inherit;}
.report-v2 .token.text{margin:0;font-size:14px;color:#31425f;font-weight:800;}
.report-v2 .operator{display:inline-block;margin:0 5px;color:#52627a;font-weight:900;}
.report-v2 .muted-formula{display:inline-block;margin-left:6px;color:#52627a;font-size:11px;font-weight:800;}
.report-v2 .calc-badge{display:inline-block;margin:0 0 4px;padding:3px 7px;color:#fff;background:var(--navy);font-size:10px;line-height:1;font-weight:900;}
.report-v2 .calc-badge.gold{background:var(--gold);}
.report-v2 .classification-line{display:flex;align-items:center;gap:9px;margin:0 0 6px 100px;width:calc(100% - 100px);padding:8px 10px;background:#f7f9fc;border-left:3px solid var(--gold);}
.report-v2 .classification-line span{color:#52627a;font-size:11px;font-weight:900;letter-spacing:.08em;}
.report-v2 .classification-line strong{color:#102447;font-size:14px;}
.report-v2 .calc-subnote{margin:7px 0 4px 100px;width:calc(100% - 100px);padding:8px 10px;background:#fff9ed;border:1px solid #ead6ad;color:#4f3a0c;font-size:12px;line-height:1.5;}
.report-v2 .result-band{display:grid;grid-template-columns:1fr 1.35fr;gap:10px;margin-top:0;}
.report-v2 .result-band>div{border:1px solid #b7c5d8;background:#fbfcfe;padding:11px 14px;min-height:56px;display:grid;grid-template-columns:1fr auto;grid-template-areas:"label amount" "note note";align-items:center;column-gap:8px;}
.report-v2 .result-band span{grid-area:label;font-size:14px;}
.report-v2 .result-band strong{grid-area:amount;display:block;text-align:right;color:#102447;font-size:20px;line-height:1.18;font-variant-numeric:tabular-nums;}
.report-v2 .result-band .net{background:#fdecef;border-color:#f4c9d1;color:#111827;}
.report-v2 .result-band .net span,.report-v2 .result-band .net strong,.report-v2 .result-band .net small,.report-v2 .result-band .net em{color:#111827;}
.report-v2 .result-band .net strong{font-size:20px;}
.report-v2 .result-band small{font-size:11px;}
.report-v2 .result-band em{grid-area:note;display:block;text-align:right;margin-top:1px;color:#52627a;font-size:10px;font-style:normal;font-weight:800;}
.report-v2 .report-notes{border:1px solid #ead6ad;background:#fffaf0;padding:12px 15px;}
.report-v2 .report-notes h2{margin:0 0 8px;font-size:16px;}
.report-v2 .report-notes h2::before{content:"";display:inline-block;width:34px;height:2px;background:var(--gold);}
.report-v2 .report-notes ul{margin:0;padding-left:1.15em;color:#31425f;font-size:11px;line-height:1.55;}
.report-v2 .report-notes li{margin:0 0 4px;}
.report-v2 .report-notes li:last-child{margin-bottom:0;}
.report-actions{display:flex;justify-content:flex-end;margin-top:18px;}
.report-actions .button{min-width:220px;justify-content:center;}
.report-actions .button:disabled{opacity:.45;cursor:not-allowed;}
@media(max-width:1180px){
  .taishoku-wide-container{width:min(calc(100% - 72px),980px);}
  .taishoku-layout{grid-template-columns:1fr;grid-template-areas:"input" "result" "ad";}
  .ad-column{width:100%;position:static;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px;}
  .ad-600{min-height:250px;}
  #simulatorForm>.field:nth-of-type(1),#simulatorForm>.field:nth-of-type(2),#simulatorForm>.two-cols{grid-column:span 6;}
  #simulatorForm .check-row,#simulatorForm .notice-box.small{grid-column:span 12;}
}
@media(max-width:760px){
  .taishoku-wide-container{width:min(calc(100% - 32px),720px);}
  .input-panel,.report-panel{padding-left:18px;padding-right:18px;}
  .panel-title{display:grid;grid-template-columns:1fr;gap:10px;}
  .title-reset-button{width:100%;max-width:none;margin:0;}
  #simulatorForm{grid-template-columns:1fr;}
  #simulatorForm>.field:nth-of-type(1),#simulatorForm>.field:nth-of-type(2),#simulatorForm>.two-cols,#simulatorForm .check-row,#simulatorForm .notice-box.small{grid-column:1;}
  #simulatorForm>.two-cols{grid-template-columns:1fr;}
  .check-row{white-space:normal;}
  .report-v2 .report-head{justify-content:stretch;}.report-v2 .report-date{width:100%;}
  .report-v2 .report-overview,.report-v2 .report-dates,.report-v2 .summary-strip,.report-v2 .result-band{grid-template-columns:1fr;}
  .report-v2 .calc-line,.report-v2 .classification-line,.report-v2 .calc-subnote{margin-left:0;width:100%;grid-template-columns:1fr;gap:5px;}
  .report-v2 .calc-equals{display:none;}
  .ad-column{grid-template-columns:1fr;}
}
@media print{.site-header,.sub-hero,.breadcrumb,.taishoku-privacy-note,.input-panel,.ad-column,.report-actions,#site-footer{display:none!important}.taishoku-page-wrap{padding:0;background:#fff}.taishoku-layout{display:block}.report-panel{border:0;box-shadow:none;padding:0}.report-area{padding:0}.report-sheet.report-v2{box-shadow:none}}

/* 2026-05 refinement: input fields are integrated into the report block. */
.taishoku-layout{
  grid-template-columns:minmax(0,960px) 300px;
  grid-template-areas:"result ad";
  gap:0 28px;
}
.report-panel{
  border:1px solid #d7e0ec;
  box-shadow:0 12px 30px rgba(0,30,78,.045);
  padding:28px 34px 34px;
}
.result-panel-title{
  margin:0 0 14px;
  align-items:flex-start;
}
.result-panel-title .title-reset-button{
  margin-left:auto;
}
.report-input-form{
  display:block!important;
  margin:0;
}
.report-check-row{
  width:fit-content;
  max-width:100%;
  margin:0 0 10px;
  padding:8px 12px;
  min-height:38px;
  background:#f7f9fc;
}
.report-overview-inputs{
  grid-template-columns:minmax(0,1fr) 110px 110px minmax(0,1fr)!important;
  align-items:stretch;
}
.report-dates-inputs{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 150px!important;
  align-items:stretch;
}
.report-v2 .report-field{
  display:block;
  min-width:0;
}
.report-v2 .report-field label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin:0 0 5px;
  color:#52627a;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  line-height:1.25;
}
.report-v2 .report-field label span,
.report-v2 .report-field label b{
  font-size:9px;
  letter-spacing:0;
  line-height:1.1;
  background:#f4f7fb;
  border:1px solid #d7e0ec;
  color:#52627a;
  padding:1px 5px;
  border-radius:999px;
}
.report-v2 .report-field label b{
  background:#fff7e6;
  border-color:#e8c37e;
  color:#7a5200;
}
.report-v2 .report-field input,
.report-v2 .report-field select{
  width:100%;
  min-width:0;
  height:28px;
  border:1px solid #b8c7da;
  background:#fff;
  color:#102447;
  border-radius:0;
  padding:4px 7px;
  font:900 14px/1.2 var(--sans);
  outline:none;
}
.report-v2 .status-block.report-field select{
  font-size:12px;
  padding-left:5px;
  padding-right:5px;
  white-space:nowrap;
}
.report-v2 .amount-block.report-field .money-input{
  grid-template-columns:minmax(0,1fr) 30px;
  border:1px solid #b8c7da;
  background:#fff;
}
.report-v2 .amount-block.report-field .money-input input{
  height:26px;
  border:0;
  text-align:right;
  font-size:14px;
}
.report-v2 .amount-block.report-field .money-input span{
  font-size:11px;
  border-left:1px solid #d7e0ec;
}
.report-v2 .report-dates-inputs>div{
  min-height:54px;
}
.report-v2 .report-dates-inputs input{
  height:28px;
}
.report-v2 .report-dates-inputs small{
  display:block;
  margin-top:2px;
}
.report-v2 .report-dates .tenure-card{
  display:grid;
  grid-template-rows:auto 1fr auto;
  align-items:center;
}
.report-v2 .report-dates .tenure-card span{
  text-align:left;
}
.report-v2 .report-dates .tenure-card strong{
  text-align:center;
  font-size:14px;
  line-height:1.1;
  margin:0;
}
.report-v2 .report-dates .tenure-card small{
  text-align:center;
}
#calculationContent{
  display:flex;
  flex-direction:column;
  gap:16px;
}
#calculationContent:empty{display:none;}
.report-v2 .classification-line strong:empty::before{
  content:"－";
  color:#9aa8ba;
  font-weight:900;
}
.report-v2 .calc-expression:empty::before{
  content:"－";
  color:#9aa8ba;
}
@media(max-width:1180px){
  .taishoku-layout{grid-template-columns:1fr;grid-template-areas:"result" "ad";}
}
@media(max-width:760px){
  .report-overview-inputs,.report-dates-inputs{grid-template-columns:1fr!important;}
  .report-check-row{width:100%;white-space:normal;}
}


/* 2026-05 refinement: final title / result line adjustments */
.result-panel-title{
  align-items:center;
}
.result-panel-title>div{
  flex:1 1 auto;
  min-width:0;
}
.result-panel-title h2{
  white-space:normal;
  word-break:keep-all;
  overflow-wrap:normal;
  line-break:strict;
}
.report-v2 .calc-result{
  border-left:1px solid #d7e0ec;
}
.report-v2 .calc-result.emphasis{
  border-left-color:#ead6ad;
}
@media(max-width:760px){
  .result-panel-title{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .result-panel-title h2{
    font-size:20px;
    line-height:1.45;
  }
  .result-panel-title .title-reset-button{
    width:100%;
    max-width:none;
    margin:0;
  }
}
@media(max-width:420px){
  .result-panel-title h2{
    font-size:18px;
    letter-spacing:.03em;
  }
}

/* SEO content section: page-specific layout */
.seo-content--taishokukin {
  box-sizing: border-box;
  width:min(calc(100% - 96px),1288px);
  margin: 28px auto 48px;
  padding: 20px 22px;
  border: 1px solid #d8dee8;
  border-radius: 14px;
  background: #fff;
  color: #243044;
  line-height: 1.75;
}
.seo-content--taishokukin h2 {
  margin: 18px 0 6px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #001e4e;
  letter-spacing: .02em;
}
.seo-content--taishokukin h2:first-child { margin-top: 0; }
.seo-content--taishokukin p,
.seo-content--taishokukin li {
  font-size: 0.9rem;
  line-height: 1.75;
}
.seo-content--taishokukin p { margin: 0 0 10px; }
.seo-content--taishokukin ul {
  margin: 0 0 10px;
  padding-left: 1.35em;
}
@media(max-width:760px) {
  .seo-content--taishokukin {
    width:min(100% - 28px,1288px);
    margin-top: 22px;
    margin-bottom: 36px;
    padding: 18px 16px;
    border-radius: 12px;
  }
  .seo-content--taishokukin h2 { font-size: 0.96rem; }
  .seo-content--taishokukin p,
  .seo-content--taishokukin li { font-size: 0.88rem; }
}
@media print {
  .seo-content--taishokukin { display:none!important; }
}
