.hw-tool{--hw-ink:#1f2933;--hw-sub:#3f4c59;--hw-line:#d6dbe0;--hw-line2:#8a94a0;--hw-accent:#1f5d8c;--hw-accent-ink:#174a70;--hw-accent-bg:#e8f1f8;--hw-res:#eef5fb;--hw-warn:#6e3b00;--hw-warn-bg:#fff7e6;--hw-err:#a3242a;--hw-placeholder:#66717d}.hw-tool{border:1px solid var(--hw-line);border-radius:14px;background:#fff;padding:12px;margin:0 0 28px;color:var(--hw-ink)}.hw-tool *{box-sizing:border-box}.hw-tabs{display:flex;gap:4px;margin:0 0 6px}.hw-tabs button{flex:1 1 auto;min-height:44px;border:1px solid var(--hw-line2);border-radius:999px;background:#fff;color:var(--hw-ink);font:inherit;font-size:15px;font-weight:600;padding:4px 6px;white-space:nowrap;cursor:pointer}.hw-tabs button[aria-selected=true]{border-color:var(--hw-accent);background:var(--hw-accent-bg);font-weight:800}.hw-panel[hidden]{display:none}.hw-body{display:grid;gap:8px}.hw-rows,.hw-rows2{display:grid;gap:6px}.hw-row{display:grid;grid-template-columns:4.4em minmax(0,1fr);align-items:center;column-gap:6px}.hw-row>label,.hw-row>.hw-lab{font-size:14px;color:var(--hw-sub);font-weight:700;white-space:nowrap}.hw-row>[data-lab-time]{white-space:normal;line-height:1.25}.hw-f{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:wrap}.hw-f[hidden],.hw-nb[hidden],.hw-cell[hidden],.hw-copy-fallback[hidden]{display:none}.hw-f input{height:44px;width:76px;min-width:0;border:1px solid var(--hw-line2);border-radius:8px;padding:6px 8px;font:inherit;font-size:18px;text-align:right;color:var(--hw-ink);background:#fff;font-variant-numeric:tabular-nums}.hw-f input::placeholder{color:var(--hw-placeholder);opacity:1}.hw-f input.hw-w-yen{flex:1 1 0;min-width:88px;max-width:160px;width:auto}.hw-f input.hw-w-time{width:76px}.hw-f input.hw-w-min{width:58px}.hw-nb{display:inline-flex;align-items:center;gap:4px;margin-left:6px}.hw-u{font-size:14px;color:var(--hw-sub);white-space:nowrap}.hw-opt{font-size:12px;border:1px solid var(--hw-line);border-radius:4px;padding:0 4px}.hw-seg{display:flex}.hw-seg button{min-height:44px;min-width:44px;border:1px solid var(--hw-line2);background:#fff;font:inherit;font-size:15px;font-weight:700;color:var(--hw-ink);padding:0 9px;cursor:pointer}.hw-seg button+button{margin-left:-1px}.hw-seg button:first-child{border-radius:8px 0 0 8px}.hw-seg button:last-child{border-radius:0 8px 8px 0}.hw-seg button[aria-pressed=true]{border-color:var(--hw-accent);background:var(--hw-accent-bg);position:relative;z-index:1}.hw-msg{grid-column:2/-1;font-size:12.5px;line-height:1.5;color:var(--hw-sub)}.hw-msg:empty{display:none}.hw-msg.hw-err{color:var(--hw-err);font-weight:700}.hw-msg.hw-err:before{content:"";display:inline-block;width:14px;height:14px;margin:0 4px 0 0;vertical-align:-2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23a3242a'/%3E%3Crect x='6' y='3' width='2' height='5.2' rx='1' fill='%23fff'/%3E%3Ccircle cx='7' cy='10.4' r='1.1' fill='%23fff'/%3E%3C/svg%3E") no-repeat center/14px 14px}.hw-err-row input{border-color:var(--hw-err);box-shadow:inset 0 0 0 1px var(--hw-err)}.hw-msg-act{display:inline-flex;align-items:center;margin:4px 0 0;border:1px solid var(--hw-line2);border-radius:999px;background:#fff;color:var(--hw-accent-ink);font:inherit;font-weight:700;padding:0 14px;cursor:pointer;min-height:44px;min-width:44px}.hw-res{border-radius:12px;background:var(--hw-res);padding:8px 12px 10px;display:grid;gap:4px;align-content:start}.hw-res-top{display:flex;align-items:baseline;gap:4px 8px;flex-wrap:wrap;min-height:32px}.hw-res-label{font-size:13px;font-weight:700;color:var(--hw-sub);white-space:nowrap}.hw-big{font-size:28px;font-weight:900;line-height:32px;white-space:nowrap;font-variant-numeric:tabular-nums}.hw-big-sub{font-size:13px;color:var(--hw-sub);font-variant-numeric:tabular-nums}.hw-big-sub:empty{display:none}.hw-panel[data-panel=gekkyu] .hw-big-sub,.hw-panel[data-panel=gekkyu] .hw-big-sub:empty{display:block;flex-basis:100%;min-height:1.5em;line-height:1.5}.hw-res:is([data-state=empty],[data-state=invalid],[data-state=typing]) .hw-big{color:var(--hw-sub)}.hw-res-warn{display:none}@media(max-width:819px){.hw-panel[data-panel=jikoku] .hw-rows,.hw-panel[data-panel=jikoku] .hw-body{gap:4px}.hw-panel[data-panel=jikoku] .hw-res{padding-top:4px}.hw-panel[data-panel=jikoku] .hw-res-top{row-gap:0}.hw-res-warn{display:block;flex-basis:100%;min-height:14px;margin-top:-2px;font-size:11.5px;line-height:14px;font-weight:700;color:var(--hw-warn)}.hw-panel[data-panel=jikoku] .hw-hint.hw-warn{display:none}}.hw-cells{display:flex;flex-wrap:wrap;gap:5px}.hw-cell{flex:1 1 auto;min-width:max-content;min-height:52px;border:1px solid #9fb3c8;border-radius:8px;background:#fff;display:grid;align-content:center;justify-items:start;padding:4px 6px;color:var(--hw-ink)}.hw-cell b{font-size:16px;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}.hw-cell small{font-size:11px;color:var(--hw-sub);line-height:1.3;white-space:nowrap}.hw-basis{font-size:12px;line-height:1.55;color:var(--hw-sub);min-height:3.1em}.hw-carry{justify-self:start;min-height:44px;border:1px solid var(--hw-accent);border-radius:999px;background:#fff;color:var(--hw-accent-ink);font:inherit;font-size:14px;font-weight:700;padding:0 14px;cursor:pointer}.hw-recv{font-size:13px;line-height:1.6;display:grid;font-variant-numeric:tabular-nums}.hw-recv span{display:flex;justify-content:space-between;gap:8px;border-bottom:1px dotted #b8c4d0}.hw-recv em{font-style:normal;color:var(--hw-sub)}.hw-extra{grid-column:2/-1;font-size:12.5px;line-height:1.5;color:var(--hw-sub);min-height:1.5em;font-variant-numeric:tabular-nums}.hw-actions{display:flex;gap:6px;flex-wrap:wrap}.hw-actions button{min-height:44px;border:1px solid var(--hw-line2);border-radius:8px;background:#fff;padding:0 12px;font:inherit;font-size:15px;font-weight:700;color:var(--hw-ink);cursor:pointer;min-width:9.5em}.hw-actions [data-act=clear]{margin-left:12px;min-width:0}.hw-copy-fallback{width:100%;min-height:72px;margin-top:6px;font:inherit;font-size:13px}.hw-hint{font-size:12px;line-height:1.6;color:var(--hw-sub);margin:0}.hw-hint.hw-warn{color:var(--hw-warn);background:var(--hw-warn-bg);border-radius:6px;padding:2px 6px}.hw-tool .cap{font-size:14px;font-weight:700;line-height:1.5;margin:10px 0 0;color:var(--hw-ink)}.hw-cap-s{font-size:12px;line-height:1.6;color:var(--hw-sub);margin:2px 0 0}.hw-noscript{margin-top:8px;color:var(--hw-err);font-weight:700;font-size:14px}.hw-side{display:contents}.hw-rows{order:1}.hw-side>.hw-res{order:2}.hw-rows2{order:3}.hw-act{order:4}.hw-side>.hw-foot{order:5}.hw-tool .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@media(max-width:419px){.hw-cells{gap:3px}.hw-cell{padding:4px}.hw-cell b{font-size:15px}}@media(max-width:389px){.hw-tabs button{font-size:14px}.hw-row{grid-template-columns:4em minmax(0,1fr)}.hw-f input.hw-w-min{width:50px}.hw-nb{margin-left:2px}.hw-nb>.hw-u:first-child{font-size:13px}.hw-seg button{padding:0 7px;font-size:14px}.hw-basis{min-height:4.65em}}@media(max-width:359px){.hw-tool{padding:10px}.hw-tabs button{font-size:13px;padding:4px 3px}.hw-row{grid-template-columns:3.7em minmax(0,1fr)}.hw-f input{font-size:16px;padding:4px 6px}.hw-f input.hw-w-time{width:62px}.hw-f input.hw-w-min{width:46px}.hw-f input.hw-w-yen{min-width:72px}.hw-seg button{padding:0 6px;min-width:44px}.hw-recv{font-size:12px}.hw-panel[data-panel=jikoku] .hw-res-label{flex-basis:100%}}@media(min-width:820px){.hw-tool{padding:16px 16px 12px}.hw-tabs button{flex:0 0 auto;padding:4px 18px}.hw-body{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:auto auto 1fr;grid-template-areas:"rows side" "rows2 side" "act side";align-items:start;column-gap:16px}.hw-rows{grid-area:rows}.hw-rows2{grid-area:rows2}.hw-act{grid-area:act}.hw-side{grid-area:side;grid-row:1/4;display:block;position:sticky;top:12px}.hw-side>.hw-foot{margin-top:4px}.hw-hint,.hw-cap-s{line-height:1.5}.hw-tool .cap{margin-top:6px}.hw-panel[data-panel=gekkyu] .hw-res{position:relative}.hw-panel[data-panel=gekkyu] .hw-res-top{padding-right:204px}.hw-panel[data-panel=gekkyu] .hw-carry{position:absolute;top:6px;right:10px;white-space:nowrap}}.hw-page .container{max-width:860px}.hw-page h1{word-break:keep-all;overflow-wrap:anywhere}.hw-page h1{font-size:clamp(1.5rem,1rem + 2.4vw,2.2rem);line-height:1.35;margin:4px 0 6px}.hw-h1-sub{font-size:.72em}.hw-lead{margin:0 0 8px;color:#3f4c59;font-size:14px;line-height:1.7;white-space:nowrap}.hw-page .tool-page-header{margin-bottom:0}.hw-page .breadcrumbs :is(a,span){white-space:nowrap}@media(max-width:389px){.hw-lead{font-size:13px}}@media(max-width:339px){.hw-lead{white-space:normal}}.hw-sec{margin-top:28px;max-width:820px}.hw-sec h2{font-size:1.35rem;line-height:1.3;margin:0 0 10px}.hw-sec h3{font-size:1.02rem;margin:16px 0 4px}.hw-sec p{line-height:1.8}.hw-sec code{font-size:.92em;background:#f2f4f6;border-radius:4px;padding:0 4px;white-space:nowrap}.hw-hy{border-collapse:collapse;font-size:14px;width:100%;max-width:560px;margin:6px 0 10px;font-variant-numeric:tabular-nums}.hw-hy.hw-hy-2{max-width:320px}.hw-hy caption{caption-side:top;text-align:left;font-size:13px;color:#3f4c59;padding-bottom:4px}.hw-hy th,.hw-hy td{border:1px solid #d6dbe0;padding:4px 6px;text-align:right;white-space:nowrap}.hw-hy thead th{background:#f2f4f6}.hw-hy tbody th{font-weight:700;background:#fafbfc}.hw-hy tr.hw-me>th,.hw-hy tr.hw-me>td{background:#e8f1f8;font-weight:800;border-color:#9fb3c8}@media(max-width:389px){.hw-hy{font-size:13px}.hw-hy th,.hw-hy td{padding:4px 5px}}.hw-faq h3{font-size:1.02rem;line-height:1.6;margin:16px 0 4px}.hw-related{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));padding:0;list-style:none}.hw-related a{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:10px;align-items:center;border:1px solid #d6dbe0;border-radius:10px;background:#fff;padding:10px 12px;color:#1f2933;text-decoration:none;min-height:44px}.hw-related .hw-ico{grid-row:1/3;width:32px;height:32px;color:#1f5d8c}.hw-related b{display:block;color:#174a70}.hw-related .hw-why{font-size:13px;color:#3f4c59}.hw-byline,.hw-sources{max-width:820px;margin-top:24px;font-size:13px;color:#3f4c59}.hw-byline+.hw-sources{margin-top:10px}.hw-sources h2{font-size:14px;margin:0 0 4px}.hw-sources ul{margin:0;padding-left:18px;line-height:1.9}@media(max-width:600px){.hw-page .breadcrumbs{font-size:12px}.hw-sec h2{font-size:1.2rem}}
