/* Shared station selection for the home and search pages. */
.sr-station-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:10px 11px;border:1px solid #cad4ce;border-radius:6px;background:#fff;color:#1e3a5f;text-align:left;font:inherit;font-size:12px;cursor:pointer}
.sr-station-trigger:hover,.sr-station-trigger.has-station{background:#f3f6ef;border-color:#91a48c}
.sr-station-trigger span{min-width:0;overflow-wrap:anywhere}.sr-station-trigger svg{width:15px;height:15px}
.sr-station-clear{border:0;background:none;color:#53687b;font:inherit;font-size:10px;padding:8px 0 0;text-decoration:underline;cursor:pointer}.sr-station-clear[hidden]{display:none}
.sr-station-dialog{position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 40px));max-width:none;height:min(820px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #dce3db;border-radius:12px;background:#fff;color:#1e3a5f;box-shadow:0 24px 80px #10243840;font-family:"Noto Sans JP",sans-serif;font-size:14px;line-height:1.7;overflow:hidden}
.sr-station-dialog[open]{display:flex;flex-direction:column}.sr-station-dialog::backdrop{background:#1024388c}
.sr-station-dialog *{box-sizing:border-box}.sr-station-dialog :is(h2,h3){font-family:inherit}.sr-station-dialog [hidden]{display:none!important}
.sr-station-dialog button,.sr-station-dialog input{font:inherit}.sr-station-dialog button{cursor:pointer}
.sr-station-dialog :is(button,input):focus-visible{outline:3px solid #dda14f;outline-offset:3px}
.sr-station-dialog .sr-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;min-height:46px;padding:12px 18px;border-radius:7px;font-size:12px;font-weight:700;text-decoration:none;line-height:1.6;transition:background .15s,border-color .15s}
.sr-station-dialog .sr-button-primary{background:#b94f0c;border-color:#b94f0c;color:#fff;box-shadow:0 2px 0 #8f3b08}
.sr-station-dialog .sr-button-primary:hover{background:#9e4208;border-color:#9e4208}
.sr-station-dialog .sr-button-outline{background:#fff;color:#1e3a5f;border-color:#c5d0d2}
.sr-station-dialog .sr-button-outline:hover{background:#eef2ed}
.sr-station-heading{display:grid;grid-template-columns:100px 1fr 100px;align-items:center;gap:10px;padding:17px 22px;border-bottom:1px solid #dce3db;flex-shrink:0}
.sr-station-heading h2{grid-column:2;text-align:center;font-size:18px;font-weight:700;margin:0;outline:0}
.sr-station-back{grid-column:1;grid-row:1;display:flex;align-items:center;gap:4px;border:0;padding:7px 0;background:none;color:#53687b;font-size:12px!important}
.sr-station-back svg,.sr-station-dismiss svg{width:20px;height:20px}.sr-station-dismiss{grid-column:3;grid-row:1;justify-self:end;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:6px;background:none;color:#53687b}
.sr-station-dismiss:hover{background:#edf1e8}
.sr-station-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;list-style:none;padding:18px 34px;margin:0;border-bottom:1px solid #edf0eb;flex-shrink:0}
.sr-station-steps button{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;padding:7px 5px;background:none;border:0;border-bottom:2px solid transparent;color:#687d89;font-size:12px}.sr-station-steps span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #dce3db;border-radius:50%;font-size:12px}
.sr-station-steps button[aria-current]{color:#1e3a5f;border-bottom-color:#b94f0c;font-weight:700}.sr-station-steps button[aria-current] span{background:#1e3a5f;border-color:#1e3a5f;color:#fff}.sr-station-steps button:disabled{color:#a0acae;cursor:default}
.sr-station-body{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:24px 32px;scrollbar-width:thin}
.sr-station-body h3{font-size:15px;font-weight:700;line-height:1.7;margin:0 0 20px;outline:0}
.sr-station-prefectures{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.sr-station-prefectures button{min-height:43px;padding:8px 6px;color:#1e3a5f;border:1px solid #dce3db;border-radius:6px;background:#fff;font-size:12px}.sr-station-prefectures button:hover,.sr-station-prefectures .is-selected{border-color:#91a48c;background:#edf1e8}
.sr-station-query{display:block;margin:0 0 18px}.sr-station-query>span{display:block;font-size:11px;color:#53687b;margin-bottom:6px}.sr-station-query input{width:100%;min-height:44px;padding:9px 12px;border:1px solid #cad4ce;border-radius:6px;color:#1e3a5f;background:#fff;font-size:13px}
.sr-station-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sr-station-line{display:flex;align-items:center;gap:10px;min-height:64px;min-width:0;padding:11px 12px;border:1px solid #dce3db;border-radius:6px;color:#1e3a5f;background:#fff;text-align:left}.sr-station-line:hover{background:#f3f6ef;border-color:#91a48c}.sr-station-line>span:nth-child(2){min-width:0;flex:1}.sr-station-line strong,.sr-station-line small{display:block;overflow-wrap:anywhere}.sr-station-line strong{font-size:12px;font-weight:600}.sr-station-line small{font-size:10px;color:#687d89}.sr-station-chevron{color:#687d89;font-size:20px}
.sr-station-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:0;padding:0;border:0;margin:0;min-width:0}.sr-station-option{display:flex;align-items:center;gap:10px;min-width:0;min-height:61px;border-bottom:1px solid #edf0eb;padding:10px 8px;cursor:pointer}.sr-station-option:has(input:checked){background:#f1f5ec}.sr-station-option input{width:18px;height:18px;margin:0;accent-color:#b94f0c;flex-shrink:0}.sr-station-option span{min-width:0}.sr-station-option strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.sr-station-option small{display:block;color:#687d89;font-size:10px}
.sr-station-footer{flex-shrink:0;padding:15px 26px 20px;border-top:1px solid #dce3db;background:#fafbf8}.sr-station-footer p{font-size:10px;color:#687d89;margin:0 0 12px}.sr-station-footer .sr-station-selection{color:#1e3a5f;font-size:12px;font-weight:600;margin-bottom:5px}.sr-station-footer>div{display:flex;justify-content:flex-end;gap:12px}.sr-station-footer .sr-button{min-width:170px}.sr-station-footer .sr-button:disabled{opacity:.5;cursor:default}
.sr-station-status{padding:32px 0;text-align:center;color:#687d89;font-size:12px}.sr-station-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:639px){.sr-station-dialog{width:calc(100vw - 20px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:10px}.sr-station-heading{grid-template-columns:55px 1fr 40px;gap:5px;padding:10px 12px}.sr-station-heading h2{font-size:16px}.sr-station-steps{padding:12px 10px;gap:0}.sr-station-steps button{font-size:11px;gap:5px}.sr-station-body{padding:20px 16px}.sr-station-prefectures{grid-template-columns:repeat(3,minmax(0,1fr))}.sr-station-lines{grid-template-columns:1fr}.sr-station-options{grid-template-columns:1fr}.sr-station-footer{padding:12px 14px 16px}.sr-station-footer>div{gap:8px}.sr-station-footer .sr-button{min-width:0;flex:1;padding:10px 8px;font-size:11px}}
.sr-station-source{margin:22px 0 0;font-size:9px;line-height:1.8;color:#687d89}
