.yc-tax-article,.yc-inheritance-service{font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#243a3e;line-height:2;font-size:16px;overflow-wrap:anywhere}
.yc-tax-article *, .yc-inheritance-service *{box-sizing:border-box}
body #fix_page .yc-tax-article h2,body #fix_page .yc-inheritance-service h2{font-size:23px;line-height:1.65;margin:44px 0 20px;padding:0 0 10px;border:0;border-bottom:2px solid #b5a07c;background:none;color:#193238}
body #fix_page .yc-tax-article h3,body #fix_page .yc-inheritance-service h3{font-size:19px;line-height:1.7;margin:28px 0 14px;padding:0;border:0;background:none;color:#193238}
.yc-tax-article p{line-height:2!important;margin:0 0 20px!important;font-size:16px!important}
.yc-tax-article .yc-lead{font-size:17px!important;line-height:2.1!important;margin-bottom:28px!important}
.yc-tax-article table,.yc-inheritance-service table{width:100%!important;max-width:100%!important;table-layout:fixed;border-collapse:collapse;margin:22px 0;font-size:14px;background:#fff}
.yc-tax-article table th,.yc-tax-article table td,.yc-inheritance-service table th,.yc-inheritance-service table td{width:auto!important;min-width:0!important;white-space:normal!important;padding:13px!important;border:1px solid #d7d8cd;vertical-align:top;line-height:1.8;overflow-wrap:anywhere;color:#193238}
.yc-tax-article table th,.yc-inheritance-service table th{background:#efece3;font-weight:600}
.yc-tax-flow{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0;padding:24px;background:#f3f1eb;border-left:4px solid #ac9469}
.yc-tax-flow>span{flex:1;min-width:120px;background:white;border:1px solid #d8cebb;padding:14px;text-align:center;animation:yc-rise .6s both}
.yc-tax-flow>span:nth-child(2){animation-delay:.2s}.yc-tax-flow>span:nth-child(3){animation-delay:.4s}.yc-tax-flow>span:nth-child(4){animation-delay:.6s}
@keyframes yc-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.yc-series-hero{position:relative;overflow:hidden;background:#193238;color:#fff;padding:32px;margin:20px 0 30px;border-bottom:4px solid #ad966d}
.yc-series-hero .yc-eyebrow{font-size:11px!important;letter-spacing:.14em;color:#e1d0ac;margin:0 0 10px!important}
.yc-series-hero strong{display:block;font-family:"Yu Mincho",serif;font-size:27px;line-height:1.6;font-weight:500;color:#fff}
.yc-series-hero small{display:block;color:#e3e9e4;margin-top:12px;font-size:13px}
.yc-series-hero:after{content:"";position:absolute;right:-40px;top:-90px;width:220px;height:220px;border:1px solid #a9916455;border-radius:50%;pointer-events:none}
.yc-tax-article .yc-sources{padding:20px;background:#f7f6f2;font-size:13px;margin-top:36px}.yc-tax-article .yc-sources li{font-size:13px;line-height:1.8;margin:8px 0;overflow-wrap:anywhere}
.yc-tax-article .yc-law-date{font-size:12px!important;color:#677270;border-top:1px solid #ddd9cf;padding-top:16px;margin-top:30px!important}
.yc-series-related{margin:30px 0;padding:24px;border:1px solid #ddd7c9}.yc-series-related a{display:block;padding:8px 0;font-size:14px}
.yc-series-consult{background:#f0eee6;border-top:3px solid #a38b63;padding:30px;margin:36px 0;text-align:center}.yc-series-consult p{font-size:15px!important}
.yc-series-consult a.yc-service-button,.yc-inheritance-service a.yc-service-button{display:inline-block;max-width:100%;padding:16px 25px;background:#193238!important;color:#fff!important;text-decoration:none!important;line-height:1.7}
[data-yc-calc]{background:#f1f3ed;padding:26px;border:1px solid #c9d2c5;margin:32px 0;clear:both}
body #fix_page [data-yc-calc] h2{margin:0 0 18px;font-size:22px}
.yc-tax-article .yc-calc-note{font-size:13px!important;line-height:1.9!important;color:#4b605f}
.yc-calc-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}
.yc-calc-fields label{display:block;line-height:1.7;font-size:14px;font-weight:600;min-width:0}
.yc-calc-fields input,.yc-calc-fields select{display:block;width:100%;max-width:100%;font-size:16px;padding:12px;margin-top:7px;border:1px solid #8c9e98;background:#fff;border-radius:0;height:auto;min-height:48px;color:#193238}
.yc-calc-fields select{white-space:normal}
.yc-calc-form button{background:#193238;color:#fff;font-size:16px;padding:13px 30px;border:0;cursor:pointer;margin:0 0 20px}
.yc-calc-output dl{margin:0 0 20px;padding:0}.yc-calc-output dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #c6cfc4;padding:12px 0}.yc-calc-output dt{font-size:14px;flex:1}.yc-calc-output dd{font-size:18px;font-weight:600;margin:0;color:#193238;min-width:90px;text-align:right}.yc-calc-output dl>div:last-child{border-bottom:2px solid #a38b63}
.yc-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}.yc-service-grid section{padding:22px;background:#f3f1eb;border-top:2px solid #a38b63}.yc-service-grid p{font-size:15px;line-height:1.9}
.yc-tax-article a:focus-visible,.yc-inheritance-service a:focus-visible,[data-yc-calc] :focus-visible{outline:3px solid #b39251;outline-offset:3px}
@media(max-width:640px){.yc-tax-article,.yc-inheritance-service{font-size:15px}.yc-tax-article p{font-size:15px!important}.yc-tax-article .yc-lead{font-size:16px!important}.yc-series-hero{padding:25px 20px}.yc-series-hero strong{font-size:22px}body #fix_page .yc-tax-article h2{font-size:21px}.yc-tax-article table th,.yc-tax-article table td{font-size:12px!important;padding:9px 6px!important}.yc-tax-flow{padding:16px;gap:8px}.yc-tax-flow>span{font-size:13px;min-width:calc(50% - 8px)}[data-yc-calc]{padding:20px 14px}.yc-calc-fields,.yc-service-grid{grid-template-columns:1fr}.yc-calc-output dl>div{display:block}.yc-calc-output dd{text-align:left;margin-top:6px}.yc-series-consult{padding:24px 16px}.yc-tax-article .yc-sources{padding:16px}}
@media(prefers-reduced-motion:reduce){.yc-tax-flow>span{animation:none}}
/* Override legacy theme text colors inside dark panels. */
html body #fix_page .yc-series-hero strong{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:27px!important;line-height:1.6!important;font-weight:500!important}
html body #fix_page .yc-series-hero .yc-eyebrow{color:#e1d0ac!important;-webkit-text-fill-color:#e1d0ac!important}
html body #fix_page .yc-series-hero small{color:#e3e9e4!important;-webkit-text-fill-color:#e3e9e4!important}
html body #fix_page .yc-inheritance-service>h2:first-child{font:700 25px/50px "Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif!important;margin:30px 0 25px!important;padding:10px 0 10px 10px!important;border:0!important;border-left:5px solid #a08860!important;background:none!important}
@media(max-width:640px){html body #fix_page .yc-series-hero strong{font-size:22px!important}}
