
      :root {
        --bg: #ffffff;
        --surface: #ffffff;
        --ink: #1d232b;
        --sub: #5b6470;
        --faint: #79838e;
        --line: #e7e9eb;
        --line-strong: #d3d8dd;
        --accent: #0d7377;
        --accent-dark: #0a5a5d;
        --cta: #d80f26;
        --cta-grad: linear-gradient(180deg, #f0344a, #d80f26);
        --sel: #c8102e;
        --sel-bg: #fdf0f1;
        --accent-soft: #edf5f4;
        --blue: #54657c;
        --amber: #b96a00;
        --chip: #f1f3f4;
        --row-hover: #f7f8f8;
        --next-bg: #edf5f4;
        --panel-shadow: 0 1px 2px rgba(20, 28, 38, .05), 0 10px 28px rgba(20, 28, 38, .06);
        --shadow: none;
      }
      * { box-sizing: border-box; }
      html { -webkit-text-size-adjust: 100%; }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--ink);
        font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
        font-size: 15px;
        line-height: 1.6;
      }
      .num { font-variant-numeric: tabular-nums; }
      a { color: inherit; }
      button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]) { min-height: 2.25rem; }
      .wrap { max-width: 900px; margin: 0 auto; padding: 0 20px 64px; }
      @media (max-width: 560px) { .wrap { padding: 0 16px 56px; } }

      /* ---------- portal header ---------- */
      .portal { background: var(--surface); border-bottom: 1px solid var(--line); }
      .portal-in { max-width: 900px; margin: 0 auto; padding: 0 20px; display: flex; align-items: stretch; gap: 28px; min-height: 52px; }
      @media (max-width: 560px) { .portal-in { padding: 0 16px; } }
      .wordmark { display: inline-flex; align-items: center; font-size: 17px; font-weight: 700; text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
      .wordmark .wm-red { color: inherit; }
      .portal nav { display: flex; gap: 22px; }
      .portal nav a {
        display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 500;
        color: var(--sub); text-decoration: none; padding: 0 2px;
        border-bottom: 2px solid transparent; margin-bottom: -1px;
      }
      .portal nav a.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }
      .portal .p-right { margin-left: auto; display: inline-flex; align-items: center; font-size: 12px; color: var(--faint); white-space: nowrap; }
      @media (max-width: 560px) {
        .portal-in { gap: 18px; }
        .portal .p-right { display: none; }
        .wordmark { font-size: 16px; }
      }

      /* ---------- hero + search panel ---------- */
      .hero { margin-top: 18px; border-radius: 14px; overflow: hidden; }
      .hero img { display: block; width: 100%; height: 148px; object-fit: cover; }
      @media (max-width: 560px) { .hero img { height: 104px; } }
      .hero-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; justify-content: space-between; align-items: baseline; margin: 8px 2px 0; }
      .hero-stats { font-size: 12px; color: var(--sub); }
      .hero-credit { font-size: 11.5px; color: var(--faint); }
      .searchpanel {
        margin-top: 14px;
        background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
        box-shadow: var(--panel-shadow);
        padding: 20px;
      }
      @media (max-width: 560px) { .searchpanel { padding: 16px; } }
      .searchrow { display: flex; gap: 10px; }
      .searchfield {
        flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px;
        border: 1px solid var(--line); border-radius: 12px; padding: 0 12px;
        min-height: 50px; background: var(--surface);
      }
      .searchfield:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
      .searchfield svg { flex: 0 0 auto; }
      .searchfield input {
        flex: 1 1 auto; min-width: 0; border: 0; outline: none;
        font-size: 16px; color: var(--ink); background: none; min-height: 0;
      }
      .searchfield input::placeholder { color: var(--faint); }
      .searchbtn {
        flex: 0 0 auto; min-width: 120px; min-height: 50px; padding: 0 22px;
        border: 0; border-radius: 12px; cursor: pointer; font-family: inherit;
        background: var(--cta-grad);
        color: #fff; font-size: 15.5px; font-weight: 700;
      }
      @keyframes goPulse {
        0% { box-shadow: 0 0 0 0 rgba(216, 15, 38, .45); }
        100% { box-shadow: 0 0 0 16px rgba(216, 15, 38, 0); }
      }
      .searchbtn.pulse { animation: goPulse .6s ease-out 2; }
      @media (prefers-reduced-motion: reduce) { .searchbtn.pulse { animation: none; } }
      .searchbtn:active { filter: brightness(1.25); }
      @media (max-width: 560px) { .searchbtn { min-width: 92px; padding: 0 14px; } }
      .chip {
        display: inline-flex; align-items: center; min-height: 32px;
        padding: 4px 12px; border: 0; border-radius: 999px;
        background: var(--chip); color: var(--ink); font-size: 12.5px; font-weight: 500; text-decoration: none; cursor: pointer; font-family: inherit;
      }
      .chip:active { background: var(--accent-soft); }

      /* ---------- index (operator / route list) ---------- */
      .op-filter {
        position: sticky; top: 0; z-index: 20;
        display: flex; align-items: center; gap: 10px;
        margin: 28px 0 0; padding: 10px 12px;
        background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
      }
      .op-filter label { font-size: 12.5px; font-weight: 600; color: var(--sub); white-space: nowrap; }
      .op-filter select {
        flex: 1 1 auto; min-width: 0; min-height: 42px;
        border: 1px solid var(--line); border-radius: 10px;
        background: var(--surface); color: var(--ink);
        font: inherit; font-size: 15px; padding: 0 10px;
      }
      .op-filter select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
      .op-filter .fcount { font-size: 12px; color: var(--faint); white-space: nowrap; }
      .searchclear {
        flex: 0 0 auto; width: 32px; height: 32px; min-height: 32px;
        border: 0; border-radius: 999px; background: var(--chip);
        color: var(--sub); font-size: 16px; line-height: 1; cursor: pointer;
        display: none; align-items: center; justify-content: center; padding: 0;
      }
      .searchclear.show { display: inline-flex; }
      .to-top {
        position: fixed; right: 16px; bottom: 20px; z-index: 50;
        width: 44px; height: 44px; min-height: 44px; border-radius: 999px;
        border: 1px solid var(--line); background: var(--surface);
        box-shadow: var(--panel-shadow); color: var(--sub);
        font-size: 18px; font-weight: 700; cursor: pointer; padding: 0;
        display: none; align-items: center; justify-content: center;
      }
      .to-top.show { display: inline-flex; }
      section.op { margin-top: 32px; }
      section.op > h2 {
        font-size: 16px; font-weight: 700; margin: 0; padding: 0 2px 4px;
        display: flex; justify-content: space-between; align-items: baseline;
      }
      section.op > h2 .cnt { font-size: 12px; color: var(--faint); font-weight: 400; }
      .route-row {
        display: flex; align-items: center; gap: 12px;
        padding: 11px 2px; border-bottom: 1px solid var(--line);
        text-decoration: none; min-height: 48px;
      }
      .route-row:last-child { border-bottom: 0; }
      .route-row:hover { background: var(--row-hover); }
      .rnum {
        flex: 0 0 auto; min-width: 46px; text-align: center;
        background: var(--chip); color: #37414d; border-radius: 6px;
        font-weight: 600; font-size: 13.5px; padding: 3px 8px; line-height: 1.4;
      }
      .rnum.long { font-size: 11.5px; min-width: 56px; }
      .rname { flex: 1 1 auto; min-width: 0; }
      .rname .l { font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
      .rname .h { font-size: 12.5px; color: var(--sub); }
      .rarrow { color: var(--faint); font-weight: 400; flex: 0 0 auto; }

      /* ---------- tourist spots ---------- */
      .spots-sec { margin-top: 32px; }
      .spots-sec > h2 {
        font-size: 16px; font-weight: 700; margin: 0; padding: 0 2px 4px;
        display: flex; justify-content: space-between; align-items: baseline;
      }
      .spots-sec > h2 .cnt { font-size: 12px; color: var(--faint); font-weight: 400; }
      .spot-tabs { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 4px 0 2px; border-bottom: 1px solid var(--line); }
      .spot-tab {
        border: 0; border-bottom: 2px solid transparent; border-radius: 0;
        background: none; color: var(--sub); padding: 8px 2px;
        font-size: 13.5px; cursor: pointer; min-height: 40px; font-family: inherit; margin-bottom: -1px;
      }
      .spot-tab[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--ink); font-weight: 700; }
      .spot-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
      @media (min-width: 640px) { .spot-grid { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
      .spot-card {
        display: flex; align-items: center; gap: 10px;
        padding: 11px 2px; border-bottom: 1px solid var(--line);
        text-decoration: none; min-height: 56px;
      }
      .spot-card:hover { background: var(--row-hover); }
      .spot-card .sc-img {
        flex: 0 0 auto; width: 118px; aspect-ratio: 4 / 3; object-fit: cover;
        border-radius: 8px; display: block; background: var(--chip);
      }
      @media (max-width: 560px) { .spot-card .sc-img { width: 100px; } }
      .spot-card .sc-main { flex: 1 1 auto; min-width: 0; }
      .spot-card .sc-name { font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
      .spot-card .sc-note { font-size: 12.5px; color: var(--sub); overflow-wrap: anywhere; }
      .spot-card .sc-stop { font-size: 12px; color: var(--sub); margin-top: 2px; overflow-wrap: anywhere; }
      .spot-card .sc-stop::before { content: "最寄り："; color: var(--faint); }
      .nearby { margin-top: 24px; padding: 4px 2px 0; }
      .nearby .nb-title { font-size: 13px; font-weight: 700; margin: 0 0 4px; }
      .nearby ul { list-style: none; margin: 0; padding: 0; }
      .nearby li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
      .nearby li .nt { display: block; font-size: 12.5px; color: var(--sub); font-weight: 400; }

      footer.site {
        margin-top: 48px; border-top: 1px solid var(--line); padding: 16px 2px 0;
        font-size: 12px; color: var(--sub);
      }
      footer.site p { margin: 0; line-height: 1.75; }
      footer.site p + p { margin-top: 4px; }

      /* ---------- sub page common ---------- */
      .backlink {
        display: inline-flex; align-items: center; min-height: 40px;
        color: var(--sub); text-decoration: none; font-size: 13.5px; font-weight: 600;
        margin: 14px 0 2px;
      }
      .backlink:hover { color: var(--ink); text-decoration: underline; }
      .page-head { padding-bottom: 4px; }
      .page-head .opname { font-size: 12.5px; color: var(--accent-dark); font-weight: 600; }
      .page-head h2 { font-size: 21px; font-weight: 700; margin: 2px 0; line-height: 1.4; overflow-wrap: anywhere; }
      .page-head .dest { font-size: 13.5px; color: var(--sub); }
      .page-head .dest b { color: var(--ink); }

      .tabs { display: flex; flex-wrap: wrap; gap: 2px 22px; margin: 16px 0 4px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 10; padding-top: 6px; }
      .tabs .tcap { width: 100%; font-size: 12px; font-weight: 600; color: var(--sub); margin-bottom: 2px; }
      .tab {
        border: 0; border-bottom: 2px solid transparent; border-radius: 0;
        background: none; color: var(--sub);
        padding: 8px 2px; font-size: 14px; cursor: pointer;
        min-height: 40px; font-family: inherit; text-align: left; margin-bottom: -1px;
      }
      .tab[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--ink); font-weight: 700; }
      .tab .via { display: block; font-size: 11px; font-weight: 400; color: var(--faint); }

      /* ---------- timetable grid ---------- */
      .tt {
        width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 10px;
        background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
      }
      .tt th, .tt td { border-top: 1px solid var(--line); padding: 7px 10px; vertical-align: top; }
      .tt tr:first-child th, .tt tr:first-child td { border-top: 0; }
      .tt th.hour {
        width: 56px; text-align: right; font-size: 16px; font-weight: 700;
        white-space: nowrap; background: #fafbfb;
      }
      .tt th.hour small { font-size: 11px; font-weight: 400; color: var(--faint); margin-left: 2px; }
      .tt td.mins { font-size: 15px; line-height: 1.9; }
      .tt td.mins .m {
        display: inline-block; min-width: 2ch; text-align: center; margin-right: 12px;
      }
      .tt td.mins .m.next {
        color: var(--accent-dark); font-weight: 700;
        box-shadow: inset 0 -3px 0 var(--accent);
      }
      .tt tr.now-hour th.hour { color: var(--accent-dark); background: var(--accent-soft); }
      .tt-empty {
        padding: 14px 2px; color: var(--sub); font-size: 14px; margin-top: 8px;
      }

      /* ---------- route view layout ---------- */
      .route-grid { display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 6px; }
      @media (min-width: 720px) {
        .route-grid { grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
        .route-grid .tt-pane { order: 2; }
        .route-grid .stops-pane { order: 1; }
      }
      .pane-cap { font-size: 12.5px; color: var(--sub); margin: 14px 0 6px; }
      .stop-list {
        list-style: none; margin: 0; padding: 0;
        background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
      }
      .stop-list li { border-bottom: 1px solid var(--line); }
      .stop-list li:last-child { border-bottom: 0; }
      .stop-list button {
        width: 100%; display: flex; align-items: center; gap: 9px; text-align: left;
        background: none; border: 0; padding: 8px 12px; font: inherit; cursor: pointer; color: var(--ink);
        min-height: 42px;
      }
      .stop-list .idx { flex: 0 0 22px; text-align: right; font-size: 12px; color: var(--faint); }
      .stop-list .nm { flex: 1 1 auto; font-size: 14.5px; overflow-wrap: anywhere; }
      .stop-list .go { font-size: 11.5px; color: var(--sub); border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 8px; flex: 0 0 auto; }
      .stop-list li.sel { background: var(--accent-soft); }
      .stop-list li.sel .nm { font-weight: 700; }
      .stop-list li.nosvc .nm { color: var(--faint); }

      /* ---------- stop view ---------- */
      .next-box {
        background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
        margin-top: 16px; overflow: hidden;
      }
      .next-box .nb-head {
        display: flex; justify-content: space-between; align-items: baseline;
        padding: 14px 16px 6px;
      }
      .next-box .nb-head .t { font-weight: 700; font-size: 14.5px; }
      .next-box .nb-head .now { font-size: 12.5px; color: var(--faint); }
      .next-box ul { list-style: none; margin: 0; padding: 2px 0 6px; }
      .next-box li {
        display: flex; align-items: baseline; gap: 10px; padding: 8px 16px;
        border-top: 1px solid var(--line);
      }
      .next-box li:first-child { background: var(--next-bg); }
      .next-box .time { font-size: 20px; font-weight: 700; min-width: 56px; color: var(--ink); }
      .next-box .in {
        font-size: 12px; color: var(--accent-dark); background: var(--accent-soft); font-weight: 600;
        min-width: 64px; text-align: center; border-radius: 999px; padding: 2px 8px;
        align-self: center;
      }
      .next-box li:first-child .in { background: #ffffff; }
      .next-box .what { flex: 1 1 auto; font-size: 13.5px; min-width: 0; overflow-wrap: anywhere; }
      .next-box .what .op { color: var(--sub); font-size: 12px; }
      .next-box .none { padding: 8px 16px 14px; color: var(--sub); font-size: 14px; }
      .nb-note { font-size: 12px; color: var(--sub); padding: 0 16px 12px; margin: 0; line-height: 1.7; }
      .svc-group { margin-top: 28px; }
      .svc-group > h3 {
        font-size: 14.5px; margin: 0; padding: 0 2px 2px;
        display: flex; flex-direction: column; align-items: stretch; gap: 3px;
      }
      .svc-group > h3 .sg-main { display: flex; gap: 9px; align-items: center; min-width: 0; }
      .svc-group > h3 .sg-sub { display: flex; gap: 9px; align-items: center; }
      .svc-group > h3 .sg-sub a { margin-left: auto; }
      .svc-group > h3 .op { font-size: 12px; color: var(--sub); font-weight: 400; }
      .svc-group > h3 .daytag { font-size: 11.5px; color: var(--accent-dark); font-weight: 600; }
      .svc-group > h3 a { margin-left: auto; font-size: 12.5px; color: var(--accent-dark); text-decoration: none; font-weight: 600; white-space: nowrap; }
      .svc-group > h3 a:hover { text-decoration: underline; }

      /* ---------- search results ---------- */
      .srch-sec { margin-top: 28px; }
      .srch-sec h2 {
        font-size: 16px; font-weight: 700; margin: 0; padding: 0 2px 4px;
      }
      .srch-sec .tt-empty { margin: 0; padding: 12px 2px; }
      .stop-row {
        display: flex; align-items: center; gap: 12px; padding: 10px 2px;
        border-bottom: 1px solid var(--line); text-decoration: none; min-height: 48px;
      }
      .stop-row:last-child { border-bottom: 0; }
      .stop-row:hover { background: var(--row-hover); }
      .stop-row .nm { flex: 1 1 auto; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
      .stop-row .cnt { font-size: 12px; color: var(--faint); }
      .loading { padding: 40px 0; text-align: center; color: var(--sub); }
      .hidden { display: none !important; }

      /* ---------- suggest ---------- */
      .suggest { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
      .suggest a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; text-decoration: none; border-bottom: 1px solid var(--line); min-height: 48px; }
      .suggest a:last-child { border-bottom: 0; }
      .suggest a.sel, .suggest a:active { background: var(--accent-soft); }
      .suggest .tag { flex: 0 0 auto; font-size: 11px; font-weight: 600; color: var(--sub); background: var(--chip); border-radius: 4px; padding: 2px 7px; }
      .suggest a.sel .tag { background: #fff; }
      .suggest .tx { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
      .suggest .tx small { display: block; font-size: 12px; color: var(--sub); font-weight: 400; }

      /* ---------- favorites / recent ---------- */
      .fav-sec { margin-top: 28px; }
      .fav-sec > h2 { font-size: 16px; font-weight: 700; margin: 0; padding: 0 2px 4px; }
      .fav-row { display: flex; align-items: baseline; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 48px; }
      .fav-row:last-child { border-bottom: 0; }
      .fav-row .nm { flex: 1 1 auto; font-size: 15px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
      .fav-row .tm { font-size: 15px; font-weight: 700; color: var(--accent-dark); white-space: nowrap; }
      .fav-row .tm.end { font-size: 13px; color: var(--faint); font-weight: 400; }
      .recent { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
      .recent .cap { font-size: 12px; font-weight: 600; color: var(--sub); }
      .starbtn { border: 0; background: none; cursor: pointer; font-size: 21px; line-height: 1; color: var(--faint); padding: 4px 6px; min-height: 40px; font-family: inherit; }
      .starbtn.on { color: var(--amber); }
      .page-head .ttl { display: flex; align-items: flex-start; gap: 4px; }
      .page-head .ttl h2 { flex: 1 1 auto; }

      /* ---------- route next bar ---------- */
      .stickybar { position: sticky; top: 0; z-index: 15; background: var(--bg); padding-bottom: 4px; }
      .stickybar .tabs { position: static; margin-top: 8px; }
      .nextbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; background: var(--next-bg); border-radius: 12px; padding: 10px 14px; }
      .nextbar .lb { font-size: 12.5px; font-weight: 600; color: var(--sub); }
      .nextbar .cap2 { font-size: 13px; font-weight: 600; color: var(--accent-dark); }
      .nextbar .tm { font-size: 20px; font-weight: 700; color: var(--ink); }
      .nextbar .wt { font-size: 12px; color: var(--accent-dark); background: #ffffff; font-weight: 600; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
      .nextbar .msg { font-size: 14px; font-weight: 600; }
      .lbadge { display: inline-block; font-size: 11px; font-weight: 600; color: #fff; background: var(--ink); border-radius: 4px; padding: 0 5px; margin-left: 5px; vertical-align: 2px; letter-spacing: .03em; }
      .tt td.mins .m.lastm { font-weight: 700; }
      .stop-list .nx { flex: 0 0 auto; font-size: 12px; color: var(--accent-dark); font-weight: 600; }
      .stop-list .nx.end { color: var(--faint); font-weight: 400; }

      /* ---------- destination chips / spot next ---------- */
      .spot-card .sc-next { display: block; font-size: 12px; color: var(--accent-dark); font-weight: 600; margin-top: 2px; }
      .spot-card .sc-next.end { color: var(--faint); font-weight: 400; }

      /* ---------- origin → destination search ---------- */
      .od { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
      .od-fields { display: grid; grid-template-columns: 1fr 44px; gap: 8px; }
      .od-field {
        display: flex; align-items: center; gap: 8px;
        border: 1px solid var(--line); border-radius: 12px; padding: 0 12px;
        min-height: 52px; background: var(--surface); min-width: 0;
      }
      .od-field.from { grid-column: 1; grid-row: 1; }
      .od-field.to { grid-column: 1; grid-row: 2; }
      .od-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
      .od-field .od-cap {
        flex: 0 0 auto; font-size: 11.5px; font-weight: 700; color: var(--sub);
        letter-spacing: .08em;
      }
      .od-field input {
        flex: 1 1 auto; min-width: 0; border: 0; outline: none;
        font-size: 16px; color: var(--ink); background: none; min-height: 0; font-family: inherit;
      }
      .od-field input::placeholder { color: var(--faint); }
      .od-swap {
        grid-column: 2; grid-row: 1 / 3; align-self: center;
        width: 40px; height: 40px; min-height: 40px; border-radius: 999px;
        border: 1px solid var(--line); background: var(--surface);
        font-size: 17px; color: var(--sub); cursor: pointer; padding: 0;
      }
      .od-swap:active { background: var(--accent-soft); }
      .od-go { width: 100%; margin-top: 10px; min-height: 50px; min-width: 0; }
      .od-out-sec { margin-top: 26px; }
      .od-fast {
        display: inline-block; font-size: 11px; font-weight: 600; color: #fff;
        background: var(--accent); border-radius: 4px; padding: 0 6px; margin-right: 6px;
      }
      .od-none { padding: 12px 2px; font-size: 14px; color: var(--sub); margin: 0; }

      /* ---------- 経路検索結果（乗換案内スタイル） ---------- */
      .od-band {
        position: relative; margin: 0 -20px; padding: 15px 20px 16px;
        background: #3c474b; color: #fff;
      }
      @media (max-width: 560px) { .od-band { margin: 0 -16px; padding: 13px 16px 14px; } }
      /* 下端の細い帯は、沖縄のミンサー織りの色合わせを借りたこのサイトだけの目印 */
      .od-band::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
        background: repeating-linear-gradient(90deg, #0d7377 0 16px, #e8b13c 16px 22px, #d6455b 22px 30px, #e8b13c 30px 36px, #0d7377 36px 52px);
      }
      .od-band .ob-top { display: flex; align-items: flex-start; gap: 12px; }
      .od-band .ob-main { flex: 1 1 auto; min-width: 0; }
      .od-band .ob-route { font-size: 19px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
      .od-band .ob-date { margin-top: 2px; font-size: 13.5px; color: #dde5e8; }
      .od-research {
        flex: 0 0 auto; border: 1.5px solid #2e9e4f; background: #fff; color: #0b7a2e;
        font-family: inherit; font-weight: 700; font-size: 14px; border-radius: 8px;
        padding: 6px 14px; min-height: 38px; cursor: pointer;
      }
      .od-research:active { background: #eef7f0; }
      .od-cond { margin-top: 16px; }
      .od-cond .oc-cap { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
      .od-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
      .opill {
        border: 1.5px solid #0b7a2e; color: #0b7a2e; background: #fff; border-radius: 999px;
        font-family: inherit; font-size: 13.5px; font-weight: 600;
        padding: 5px 13px; min-height: 36px; cursor: pointer;
      }
      .opill .car { font-size: 10.5px; margin-left: 3px; }
      .opill[aria-pressed="true"] { background: #0b7a2e; color: #fff; }
      select.opill {
        appearance: none; -webkit-appearance: none; padding-right: 27px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path d="M1 1l4 4 4-4" fill="none" stroke="%230b7a2e" stroke-width="1.8" stroke-linecap="round"/></svg>');
        background-repeat: no-repeat; background-position: right 10px center;
      }
      .ycard {
        display: flex; align-items: stretch; gap: 4px;
        padding: 14px 2px 13px; border-bottom: 1px solid var(--line-strong);
        text-decoration: none; min-height: 48px;
      }
      .ycard:hover { background: var(--row-hover); }
      .ycard-main { flex: 1 1 auto; min-width: 0; display: block; }
      .ycard-top { display: flex; align-items: flex-start; gap: 8px; }
      .ycard-times { flex: 1 1 auto; min-width: 0; font-size: 29px; font-weight: 800; line-height: 1.15; letter-spacing: .01em; }
      .ycard-times .ya { font-size: 19px; font-weight: 700; color: var(--sub); margin: 0 2px; }
      .ycard-times .ydur { font-size: 14.5px; font-weight: 500; margin-left: 7px; white-space: nowrap; }
      .ycard-badges { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; padding-top: 4px; max-width: 46%; }
      .bdg {
        height: 23px; min-width: 23px; padding: 0 3px; border-radius: 5px;
        color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1;
        display: inline-flex; align-items: center; justify-content: center;
      }
      .bdg.haya { background: #4aa3df; }
      .bdg.yasu { background: #ef6461; }
      .bdg.raku { background: #34a853; }
      .bdg.last { background: var(--ink); font-size: 11.5px; padding: 0 7px; }
      .bdg.fast { background: #0b7a2e; font-size: 11.5px; padding: 0 7px; }
      .ycard-meta { display: block; margin-top: 3px; font-size: 14.5px; color: #3c454e; overflow-wrap: anywhere; }
      .ycard-meta .sep { color: #c3c9ce; margin: 0 7px; }
      .ycard-meta .ywait { white-space: nowrap; }
      .ycard-chev { flex: 0 0 auto; align-self: center; color: #b9bfc6; font-size: 24px; line-height: 1; }
      /* 経路ストリップ：区間の線は事業者ごとの色、幅は乗車時間に比例 */
      .strip { display: flex; align-items: flex-start; margin-top: 11px; }
      .strip .trk { height: 27px; display: flex; align-items: center; justify-content: center; }
      .strip .cap { display: block; font-size: 10.5px; color: var(--sub); text-align: center; margin-top: 3px; line-height: 1.3; }
      .c-veh { flex: 0 0 auto; min-width: 30px; display: flex; flex-direction: column; }
      .c-veh .cap { max-width: 72px; overflow-wrap: anywhere; }
      .c-seg { flex: 1 1 0; min-width: 20px; display: flex; flex-direction: column; }
      .c-seg .bar { display: block; width: 100%; height: 4px; border-radius: 2px; }
      .c-seg .bar.dash { background: none; border-top: 3px dashed #0b7a2e; height: 0; border-radius: 0; }
      .c-seg.mini { flex: 0 0 14px; min-width: 14px; }
      .c-name { flex: 0 0 auto; display: flex; flex-direction: column; padding: 0 2px; }
      .c-name .nm { font-size: 13.5px; font-weight: 600; white-space: nowrap; max-width: 8.5em; overflow: hidden; text-overflow: ellipsis; }
      .c-walk { flex: 0 0 34px; display: flex; flex-direction: column; }
      .c-end { flex: 0 0 auto; display: flex; flex-direction: column; }
      /* 細い画面では経路ストリップを2段に折って、画面幅からはみ出さないようにする。
         折り返し位置は区間の切れ目に寄せ、各段の中では従来どおり横に読める */
      @media (max-width: 560px) {
        .strip { flex-wrap: wrap; row-gap: 9px; max-width: 100%; }
        .strip .c-seg { flex: 1 1 40px; min-width: 28px; }
        .strip .c-seg.mini { flex: 0 0 10px; min-width: 10px; }
        .strip .c-name { min-width: 0; }
        .strip .c-name .nm { max-width: 6em; }
        .strip .c-veh { min-width: 27px; }
        .strip .c-veh .cap { max-width: 52px; }
        .strip .c-walk { flex-basis: 30px; }
      }
      .st-chaku {
        background: #8a9096; color: #fff; font-weight: 700; font-size: 13px;
        border-radius: 6px; padding: 3px 8px; line-height: 1.3;
      }
      .od-alt { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }

      /* ---------- itinerary detail ---------- */
      .itin-head {
        margin-top: 14px; background: var(--surface);
        border: 1px solid var(--line); border-radius: 14px;
        padding: 14px 16px;
      }
      .itin-head .ih-route { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
      .itin-head .ih-times { margin-top: 6px; display: flex; align-items: baseline; gap: 7px; font-size: 14px; color: var(--sub); }
      .itin-head .ih-times .big { font-size: 22px; font-weight: 700; color: var(--ink); }
      .itin-head .ih-times .big.dep-t { color: var(--accent-dark); }
      .itin-head .ih-meta {
        margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
        font-size: 13px; color: var(--sub);
      }
      .itin-head .ih-wait {
        font-size: 12px; color: var(--sub); background: var(--chip); font-weight: 600;
        border-radius: 999px; padding: 2px 9px; white-space: nowrap;
      }
      /* 行程詳細：すっきりタイムライン（デザイン案01）
         枠なしヘッダー＋アイコン区切りのメタ行、淡ティールの縦線、
         薄グレーの区間カード＋2分割ボタン、下部の濃ティール操作バー */
      .ico { display: inline-block; vertical-align: -3px; flex: 0 0 auto; }
      .itin-head.plain { background: none; border: 0; border-radius: 0; padding: 2px 2px 0; margin-top: 10px; }
      .itin-head.plain .ih-route { font-size: 21px; font-weight: 800; }
      .itin-head.plain .ih-big {
        margin-top: 8px; display: flex; align-items: center; gap: 14px;
        font-size: 33px; font-weight: 800; line-height: 1.15;
      }
      .itin-head.plain .ih-big .dep-t { color: var(--accent-dark); }
      .itin-head.plain .ih-big .arrw { color: var(--faint); font-size: 24px; font-weight: 400; }
      .itin-head.plain .ih-meta2 {
        margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
        display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px;
        font-size: 14px; color: var(--ink);
      }
      .ihm { display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; white-space: nowrap; }
      .ihm:first-child { padding-left: 0; }
      .ihm + .ihm { border-left: 1px solid var(--line-strong); }
      .ihm svg { color: var(--sub); }
      .ihm .fare-b { color: var(--accent-dark); font-weight: 700; font-size: 15.5px; }
      .ihm .fare-none { color: var(--faint); font-size: 13px; white-space: normal; }
      .itin-head.plain .ih-sub2 { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
      @media (max-width: 560px) {
        .itin-head.plain .ih-big { font-size: 29px; gap: 10px; }
        .ihm { padding: 0 9px; }
      }
      .itin { position: relative; margin: 20px 2px 0; }
      .itin::before {
        content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px;
        width: 2px; background: #bfe0de;
      }
      .it-row { position: relative; padding-left: 30px; font-size: 14px; }
      .it-dot {
        position: absolute; left: 1px; top: 4px; width: 14px; height: 14px;
        border-radius: 50%; background: var(--surface); border: 3px solid #c3cad1;
      }
      .it-dot.xfer { border-color: var(--accent); background: var(--accent); }
      .it-dot.xfer::after {
        content: ""; position: absolute; left: 50%; top: 50%;
        width: 5px; height: 5px; border-radius: 50%; background: var(--surface);
        transform: translate(-50%, -50%);
      }
      .it-time { font-size: 16.5px; font-weight: 700; }
      .it-name { font-size: 16.5px; font-weight: 700; overflow-wrap: anywhere; }
      .it-row .sfx { font-size: 14px; }
      .it-row .arrw2 { color: var(--faint); }
      .it-sub { font-size: 12.5px; color: var(--sub); margin-top: 1px; overflow-wrap: anywhere; }
      .it-wait2 {
        display: inline-flex; align-items: center; gap: 5px;
        font-size: 12.5px; color: #a35b00; background: #fdf0dc; font-weight: 700;
        border-radius: 999px; padding: 3px 10px; margin-left: 8px; white-space: nowrap; vertical-align: 2px;
      }
      .it-lastrow { margin-top: 6px; }
      .it-last {
        display: inline-flex; align-items: center; gap: 5px;
        font-size: 12.5px; color: #c22f27; background: #fdecec; font-weight: 700;
        border-radius: 8px; padding: 3px 10px; white-space: nowrap;
      }
      .it-leg { position: relative; padding: 9px 0 9px 30px; }
      .it-card {
        background: #f4f7f7; border: 1px solid #e2eaea; border-radius: 14px;
        padding: 13px 14px 12px;
      }
      .it-card .ic-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
      .it-card .ic-veh { display: inline-flex; align-items: center; }
      .it-card .ic-name { font-size: 15.5px; font-weight: 700; overflow-wrap: anywhere; }
      .it-card .ic-dest { font-size: 13.5px; color: var(--sub); margin-top: 5px; overflow-wrap: anywhere; }
      .it-card .ic-stats {
        display: flex; align-items: center; gap: 10px;
        margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
        font-size: 14px;
      }
      .it-card .ic-stats .st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
      .it-card .ic-stats .st svg { color: var(--sub); }
      .it-card .ic-stats .sep { width: 1px; height: 16px; background: var(--line-strong); flex: 0 0 auto; }
      .it-card .ic-stats b { color: var(--accent-dark); font-size: 15px; }
      .it-card .ic-stats .nofare { color: var(--faint); font-size: 13px; }
      .it-card .ic-btns { display: flex; gap: 10px; margin-top: 12px; }
      .it-card .ic-btn {
        flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        background: #e0efec; color: var(--accent-dark); font-weight: 700; font-size: 14px;
        border-radius: 10px; padding: 9px 6px; min-height: 44px; text-decoration: none; white-space: nowrap;
      }
      .it-card .ic-btn:active { background: #cfe6e1; }
      .itin-bar {
        display: flex; background: var(--accent-dark); border-radius: 14px;
        margin-top: 22px; overflow: hidden;
      }
      .itin-bar > button {
        flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
        background: none; border: 0; color: #fff; font: inherit; font-size: 14.5px; font-weight: 700;
        padding: 13px 4px; min-height: 52px; cursor: pointer; white-space: nowrap;
      }
      .itin-bar > button + button { border-left: 1px solid rgba(255, 255, 255, .28); }
      .itin-bar > button:active { background: rgba(255, 255, 255, .14); }
      .itin-bar > button[aria-pressed="true"] { background: rgba(255, 255, 255, .16); }
      .itin-bar > button[aria-pressed="true"] svg { fill: currentColor; }
      .itin-report {
        display: flex; align-items: center; gap: 6px; width: fit-content;
        margin: 10px auto 0; background: none; border: 0; color: var(--sub);
        font: inherit; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px;
        cursor: pointer; min-height: 36px; padding: 4px 10px;
      }

      /* ---------- search finishing touches ---------- */
      .od-when { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
      .od-when .wbtn {
        border: 0; background: var(--chip); border-radius: 999px;
        padding: 4px 14px; font-size: 12.5px; cursor: pointer; min-height: 32px; font-family: inherit; color: var(--ink);
      }
      .od-when .wbtn[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 700; }
      .od-when input[type="time"] {
        border: 1px solid var(--line); border-radius: 10px; padding: 4px 8px;
        font: inherit; font-size: 15px; color: var(--ink); min-height: 36px; background: var(--surface);
      }
      .od-gorow { display: flex; gap: 8px; align-items: stretch; margin-top: 12px; }
      .od-gorow .od-go { flex: 1 1 auto; margin-top: 0; width: auto; }
      .od-star {
        flex: 0 0 auto; width: 50px; min-height: 50px; border: 1px solid var(--line);
        border-radius: 12px; background: var(--surface); font-size: 20px; color: var(--faint);
        cursor: pointer; padding: 0; font-family: inherit; line-height: 1;
      }
      .od-star.on { color: var(--amber); border-color: var(--amber); }
      .od-tmr { font-size: 13px; font-weight: 700; color: var(--accent-dark); margin: 12px 0 0; }
      .spot-card { flex-wrap: wrap; }
      .spot-card .sc-link { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; text-decoration: none; min-height: 44px; }
      .itin-ret { margin-top: 20px; }

      /* ---------- Yahoo!トラベル式：タップで開く選択シート ---------- */
      .od-field { cursor: pointer; }
      .od-field .od-val {
        flex: 1 1 auto; min-width: 0; font-size: 16px; color: var(--ink);
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      }
      .od-field .od-val.ph { color: var(--faint); }
      .od-field .od-chev { flex: 0 0 auto; color: var(--faint); font-size: 13px; }
      .od-field.attn { border-color: var(--cta); box-shadow: 0 0 0 3px var(--sel-bg); }
      .qfilter-row { margin-top: 10px; }
      .qfilter {
        display: inline-flex; align-items: center; gap: 7px;
        border: 0; background: none; cursor: pointer; font-family: inherit;
        font-size: 14px; font-weight: 500; color: var(--ink);
        padding: 6px 10px 7px; min-height: 38px; border-radius: 6px;
      }
      .qfilter svg { flex: 0 0 auto; }
      .qfilter[aria-pressed="true"] {
        color: var(--sel); font-weight: 700;
        box-shadow: inset 0 -2.5px 0 var(--sel);
      }
      body.sheet-lock { overflow: hidden; }
      .sheet-wrap { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
      .sheet-wrap.show { visibility: visible; }
      .scrim {
        position: absolute; inset: 0; background: rgba(18, 24, 30, .48);
        opacity: 0; transition: opacity .32s ease;
      }
      .sheet-wrap.open .scrim { opacity: 1; }
      .sheet {
        position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto;
        width: 100%; max-width: 560px; height: 92dvh; max-height: 92dvh;
        background: var(--surface); border-radius: 18px 18px 0 0;
        display: flex; flex-direction: column;
        transform: translateY(103%);
        transition: transform .38s cubic-bezier(.32, .72, .24, 1);
        box-shadow: 0 -12px 40px rgba(10, 16, 22, .25);
      }
      .sheet-wrap.open .sheet { transform: translateY(0); }
      @media (min-width: 760px) { .sheet { height: min(92dvh, 780px); } }
      @media (prefers-reduced-motion: reduce) {
        .sheet, .scrim { transition: none; }
      }
      .sheet-handle {
        flex: 0 0 auto; width: 44px; height: 5px; border-radius: 3px;
        background: #cfd5da; margin: 10px auto 2px;
      }
      .sheet-head {
        flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
        padding: 8px 18px 4px;
      }
      .sheet-title { flex: 1 1 auto; font-size: 17px; font-weight: 700; margin: 0; }
      .sheet-x {
        flex: 0 0 auto; width: 36px; height: 36px; min-height: 36px;
        border: 0; border-radius: 999px; background: var(--chip);
        color: var(--sub); font-size: 18px; line-height: 1;
        cursor: pointer; padding: 0; font-family: inherit;
      }
      .sheet-search {
        flex: 0 0 auto; margin: 8px 18px 0;
        border: 1.5px solid var(--line-strong); border-radius: 12px;
        padding: 8px 10px;
      }
      .sheet-search:focus-within { border-color: var(--accent); }
      .sheet-search .ss-row { display: flex; align-items: center; gap: 8px; }
      .sheet-search .ss-row svg { flex: 0 0 auto; }
      .sheet-search input {
        flex: 1 1 auto; min-width: 0; border: 0; outline: none;
        font-size: 16px; min-height: 28px; background: none;
        font-family: inherit; color: var(--ink);
      }
      .sheet-search input::placeholder { color: var(--faint); }
      .sel-chip {
        display: inline-flex; align-items: center; gap: 6px;
        background: var(--sel-bg); color: var(--sel); font-weight: 600;
        font-size: 13.5px; border-radius: 999px;
        padding: 3px 5px 3px 12px; margin-top: 7px; max-width: 100%;
      }
      .sel-chip .sc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .sel-chip button {
        flex: 0 0 auto; width: 24px; height: 24px; min-height: 24px;
        border: 0; border-radius: 999px; background: #fff; color: var(--sel);
        font-size: 14px; line-height: 1; cursor: pointer; padding: 0; font-family: inherit;
      }
      .sheet-tabs {
        flex: 0 0 auto; display: flex; gap: 2px;
        padding: 10px 14px 0; border-bottom: 1px solid var(--line);
      }
      .stab {
        flex: 1 1 0; border: 0; background: none; border-radius: 0;
        border-bottom: 2.5px solid transparent; margin-bottom: -1px;
        padding: 9px 2px; font-size: 14px; color: var(--sub);
        cursor: pointer; font-family: inherit; min-height: 42px;
        display: inline-flex; align-items: center; justify-content: center; gap: 5px;
        white-space: nowrap;
      }
      .stab svg { flex: 0 0 auto; }
      .stab[aria-selected="true"] {
        color: var(--sel); font-weight: 700; border-bottom-color: var(--sel);
      }
      .sheet-body {
        flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain; padding: 4px 0 18px;
      }
      .sheet-foot {
        flex: 0 0 auto; padding: 10px 18px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line); background: var(--surface);
      }
      .sheet-ok {
        width: 100%; min-height: 52px; border: 0; border-radius: 12px;
        background: var(--cta-grad); color: #fff;
        font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer;
      }
      .sheet-ok:disabled { background: #d8dde1; color: #7c8791; cursor: default; }
      .acc-head {
        width: 100%; display: flex; align-items: center; gap: 9px;
        background: none; border: 0; border-bottom: 1px solid var(--line);
        padding: 13px 18px; font: inherit; font-size: 15.5px; font-weight: 600;
        color: var(--ink); cursor: pointer; text-align: left; min-height: 52px;
      }
      .acc-head .cnt { font-size: 12px; color: var(--faint); font-weight: 400; }
      .acc-head .chev { margin-left: auto; color: var(--faint); font-size: 14px; transition: transform .2s ease; }
      .acc-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
      .acc-body { background: #fafbfb; border-bottom: 1px solid var(--line); padding: 2px 0 6px; }
      .sheet-row {
        width: 100%; display: flex; align-items: center; gap: 10px;
        background: none; border: 0; border-bottom: 1px solid var(--line);
        padding: 10px 18px; font: inherit; text-align: left;
        cursor: pointer; color: var(--ink); min-height: 50px;
      }
      .acc-body .sheet-row { padding-left: 30px; border-bottom-color: #eceff1; }
      .acc-body .sheet-row:last-child { border-bottom: 0; }
      .sheet-row .sr-main { flex: 1 1 auto; min-width: 0; }
      .sheet-row .sr-name { display: block; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
      .sheet-row .sr-sub { display: block; font-size: 12px; color: var(--sub); }
      .sheet-row.sel { background: var(--sel-bg); }
      .sheet-row.sel .sr-name { font-weight: 700; }
      .sr-check {
        flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
        border: 2px solid #c9d1d8; color: transparent;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 12.5px; font-weight: 700; line-height: 1;
      }
      .sheet-row.sel .sr-check { background: var(--sel); border-color: var(--sel); color: #fff; }
      .sheet-sub {
        padding: 16px 18px 4px; font-size: 12.5px; font-weight: 700; color: var(--sub);
      }
      .sheet-empty { padding: 28px 20px; color: var(--sub); font-size: 14px; text-align: center; }

      /* ---------- 検索結果の固定サマリーバー ---------- */
      .od-sticky {
        position: sticky; top: 0; z-index: 30;
        display: flex; align-items: center; gap: 8px;
        margin: 0 -20px; padding: 9px 20px;
        background: rgba(255, 255, 255, .97);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 4px 14px rgba(20, 28, 38, .06);
      }
      @media (max-width: 560px) { .od-sticky { margin: 0 -16px; padding: 9px 16px; } }
      .od-sticky .os-route {
        flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 700;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      }
      .od-sticky .os-pill {
        flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--sub);
        background: var(--chip); border-radius: 999px; padding: 3px 10px; white-space: nowrap;
      }
      .os-change {
        flex: 0 0 auto; border: 1px solid var(--line-strong); background: var(--surface);
        color: var(--ink); border-radius: 999px; padding: 4px 12px;
        font-size: 12.5px; font-weight: 600; cursor: pointer;
        min-height: 32px; font-family: inherit; white-space: nowrap;
      }
      .os-change:active { background: var(--accent-soft); }


      /* ---------- 停留所ページ「次の出発」（ボードと同書式） ---------- */
      .next-box .nb-rel { font-size: 15px; font-weight: 700; color: var(--accent-dark); white-space: nowrap; min-width: 62px; }
      .next-box .nb-time { font-size: 16px; font-weight: 700; white-space: nowrap; }
      .next-box .nb-time.main { font-size: 20px; }
      .next-box .nb-sep { color: var(--line-strong); }
      .next-box .nb-what { flex: 1 1 auto; font-size: 13.5px; min-width: 0; overflow-wrap: anywhere; }
      .next-box .nb-what .op { color: var(--sub); font-size: 12px; }
      /* 次の出発：時刻指定（今から／◯時以降）と行き先フィルタ */
      .next-box .nb-head { flex-wrap: wrap; gap: 4px 10px; }
      .next-box .nb-head .now { margin-left: auto; }
      .nb-when {
        font: inherit; font-size: 13px; font-weight: 600; color: var(--accent-dark);
        border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
        min-height: 32px; padding: 2px 8px; cursor: pointer; max-width: 44vw;
      }
      .nb-timein {
        font: inherit; font-size: 13px; font-weight: 600; color: var(--accent-dark);
        border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
        min-height: 32px; padding: 2px 8px; cursor: pointer;
      }
      .nb-tcap { font-size: 11.5px; color: var(--sub); font-weight: 600; }
      .nb-dirs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 16px 2px; }
      .nb-dirs .nb-dcap { font-size: 12px; color: var(--sub); font-weight: 600; margin-right: 2px; }
      .nb-dirs .chip[aria-pressed="true"] { background: var(--accent); color: #fff; }
      /* 次の出発：「さらに表示」と「降りたい停留所で絞る」 */
      .nb-morerow { padding: 8px 16px 4px; }
      .nb-more {
        width: 100%; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 10px;
        background: var(--surface); color: var(--accent-dark);
        font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
      }
      .nb-more:active { background: var(--accent-soft); }
      .nb-alightsel { flex: 1 1 180px; min-width: 0; max-width: none; }
      .next-box .nb-arr { font-size: 12px; color: var(--accent-dark); font-weight: 600; white-space: nowrap; }
      .minimap { scroll-margin-top: 12px; }
      /* 路線ページ：経由しない停留所の注記と、全体表示の切替 */
      .stop-list .nx.skip { font-size: 11.5px; color: var(--faint); font-weight: 400; white-space: nowrap; }
      .stops-toggle { margin: 10px 0 2px; }


      /* ---------- その他（今回の追加分） ---------- */
      .itin-retprev { font-size: 13px; color: var(--sub); margin: 8px 0 0; }

      /* ---------- 色分け：事業者カラー・曜日カラー・エリアカラー・緊急度 ---------- */
      .rnum { color: #fff; font-weight: 700; }
      .next-box .rnum { font-size: 12px; padding: 1px 6px; }
      .opdot { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 3.5px; margin-right: 9px; align-self: center; }
      .opdot.sm { width: 8px; height: 8px; border-radius: 2.5px; margin-right: 5px; }
      section.op > h2 { justify-content: flex-start; }
      section.op > h2 .cnt { margin-left: auto; }
      .area-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
      .acc-head .area-dot { margin-right: 0; }
      /* 曜日カラー（土曜=青、日曜・祝日=赤） */
      .tab[data-day="sat"], .tab[data-sday="sat"] { color: #2f6db3; }
      .tab[data-day="sun"], .tab[data-sday="sun"] { color: #c23b2e; }
      .tab[data-day="sat"][aria-pressed="true"], .tab[data-sday="sat"][aria-pressed="true"] { border-bottom-color: #2f6db3; }
      .tab[data-day="sun"][aria-pressed="true"], .tab[data-sday="sun"][aria-pressed="true"] { border-bottom-color: #c23b2e; }
      .daytag[data-dk="sat"] { color: #2f6db3; }
      .daytag[data-dk="sun"] { color: #c23b2e; }
      .daytag[data-dk="hol"] { color: #c23b2e; }
      .opill[data-odday="sat"] { border-color: #2f6db3; color: #2f6db3; }
      .opill[data-odday="sat"][aria-pressed="true"] { background: #2f6db3; color: #fff; }
      .opill[data-odday="sun"] { border-color: #c23b2e; color: #c23b2e; }
      .opill[data-odday="sun"][aria-pressed="true"] { background: #c23b2e; color: #fff; }
      .opill[data-odday="hol"] { border-color: #c23b2e; color: #c23b2e; }
      .opill[data-odday="hol"][aria-pressed="true"] { background: #c23b2e; color: #fff; }
      .os-pill[data-dk="sat"] { background: #e6eef7; color: #2f6db3; }
      .os-pill[data-dk="sun"] { background: #fbeae8; color: #c23b2e; }
      .os-pill[data-dk="hol"] { background: #fbeae8; color: #c23b2e; }
      /* 日曜／祝日の内訳切替（ hol がある路線だけに出る小さなタブ） */
      .tabs.subtabs { margin-top: 2px; }
      .tabs.subtabs .tab { min-height: 34px; font-size: 13px; padding: 4px 10px; }
      .tab[data-sunhol="hol"], .tab[data-ssunhol="hol"] { color: #c23b2e; }
      .tab[data-sunhol="hol"][aria-pressed="true"], .tab[data-ssunhol="hol"][aria-pressed="true"] { border-bottom-color: #c23b2e; }
      /* 最終バッジは赤で示す */
      .lbadge { background: #b3261e; }
      /* 時刻表：過ぎた発車は薄く、次の発車は塗りで示す */
      .tt td.mins .m.past { color: #b6bec6; }
      .tt td.mins .m.next { color: #fff; background: var(--accent); border-radius: 5px; box-shadow: none; padding: 0 5px; margin-right: 7px; }
      /* あと◯分の緊急度（5分以内=赤、15分以内=橙） */
      .next-box .nb-rel.hot { color: #d80f26; }
      .next-box .nb-rel.warm { color: #b96a00; }
      .nextbar .wt.hot { background: #d80f26; color: #fff; }
      .nextbar .wt.warm { background: #f7dfae; color: #7c4d03; }
      .fav-row .tm.hot { color: #d80f26; }
      .fav-row .tm.warm { color: #b96a00; }
      .spot-card .sc-next.hot { color: #d80f26; }
      .spot-card .sc-next.warm { color: #b96a00; }
      .ycard-meta .ywait.hot { color: #d80f26; font-weight: 700; }
      .ycard-meta .ywait.warm { color: #b96a00; font-weight: 600; }
      .itin-head .ih-wait.hot { background: #d80f26; color: #fff; }
      .itin-head .ih-wait.warm { background: #f7dfae; color: #7c4d03; }
      /* 出発地=ティール／到着地=赤 */
      .od-field.from .od-cap { color: var(--accent-dark); }
      .od-field.to .od-cap { color: #c23b2e; }
      /* サジェストの種別タグ */
      .suggest .tag.tg-ferry { background: #e6eef7; color: #2f5f8f; }
      .suggest .tag.tg-stop { background: #e2efec; color: #0a5a5d; }
      .suggest .tag.tg-route { background: #e6eef7; color: #2f5f8f; }
      .suggest .tag.tg-spot { background: #fcefe0; color: #96600a; }
      /* 観光地タブはエリアカラーで選択表示 */
      .spot-tab[aria-pressed="true"] { border-bottom-color: var(--ac, var(--accent)); }
      /* 行程タイムラインの起点（ティール）・終点（赤） */
      .it-dot.start { border-color: var(--accent); }
      .it-dot.end { border-color: #c23b2e; }
      /* 本日分が終わったあとは「明日の始発」を出す（観光地カード・いつもの停留所） */
      .spot-card .sc-next.tmr { color: var(--sub); font-weight: 600; }
      .fav-row .tm.tmr { font-size: 13px; color: var(--sub); font-weight: 600; }
      /* 停留所ページで本日終了した路線の注記 */
      .svc-group > h3 .sg-done { font-size: 11.5px; color: var(--faint); font-weight: 600; }

      /* ---------- 便の停留所一覧（時刻タップで開く） ---------- */
      /* 時刻表の「分」ボタン：見た目は数字のまま、タップ領域は44px程度を確保する
         （数字の周りまで押せるようにし、行き先注記は数字の下に積む） */
      .tt td.mins button.m {
        font: inherit; background: none; border: 0; cursor: pointer;
        color: inherit; line-height: 1.3;
        display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
        min-width: 44px; min-height: 44px; padding: 3px 5px; margin-right: 6px;
        vertical-align: middle; border-radius: 8px;
      }
      .tt td.mins button.m.next { color: #fff; border-radius: 8px; padding: 3px 5px; margin-right: 6px; }
      .tt td.mins button.m:active { background: var(--accent-soft); border-radius: 5px; }
      .tt td.mins button.m.next:active { background: var(--accent); }
      /* 次の出発の行は全体がタップ可能 */
      .next-box li.tap { cursor: pointer; }
      .next-box li.tap:active { background: var(--accent-soft); }
      .next-box .nb-chev { flex: 0 0 auto; color: var(--faint); font-size: 18px; align-self: center; }
      /* 便ビュー本体：縦タイムライン */
      .trip-list { position: relative; margin: 18px 2px 0; }
      .trip-list::before {
        content: ""; position: absolute; left: 66px; top: 14px; bottom: 14px;
        width: 2px; background: var(--line);
      }
      @media (max-width: 560px) { .trip-list::before { left: 60px; } }
      .trip-row {
        position: relative; display: flex; align-items: flex-start; gap: 12px;
        padding: 7px 8px 7px 0; border-radius: 10px; text-decoration: none;
      }
      a.trip-row:active { background: var(--row-hover); }
      .trip-row .tr-time {
        flex: 0 0 48px; text-align: right; font-size: 15.5px; font-weight: 700;
        padding-top: 1px;
      }
      @media (max-width: 560px) { .trip-row .tr-time { flex-basis: 42px; font-size: 14.5px; } }
      .trip-row .tr-dot {
        flex: 0 0 auto; width: 13px; height: 13px; border-radius: 50%;
        background: var(--surface); border: 3px solid #c3cad1; margin-top: 5px;
        position: relative; z-index: 1;
      }
      .trip-row .tr-main { flex: 1 1 auto; min-width: 0; }
      .trip-row .tr-name { font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
      .trip-row .tr-note { font-size: 12.5px; color: var(--sub); margin-top: 1px; overflow-wrap: anywhere; }
      .trip-row .tr-note .tn-tag {
        display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--accent-dark);
        background: var(--accent-soft); border-radius: 4px; padding: 0 5px; margin-right: 5px; vertical-align: 1px;
      }
      .trip-row .tr-meta { font-size: 12px; color: var(--sub); margin-top: 1px; }
      .trip-row .tr-meta .num { color: var(--accent-dark); font-weight: 600; }
      .trip-row.focus { background: var(--accent-soft); }
      .trip-row.focus .tr-name { font-weight: 800; }
      .trip-row.past .tr-time, .trip-row.past .tr-name { color: var(--faint); }
      .trip-row .tr-badge {
        flex: 0 0 auto; font-size: 11px; font-weight: 700; color: #fff; background: var(--ink);
        border-radius: 4px; padding: 1px 6px; margin-top: 3px;
      }
      .trip-row .tr-badge.ride { background: var(--accent); }
      .trip-row .tr-badge.term { background: #b3261e; }

      /* ---------- 押したときの感触（全体共通のプレスアニメーション） ----------
         方針：押した瞬間は速く沈み（70〜90ms）、離すとバネのあるイージングで
         ゆっくり戻る（300ms前後）。大きい行はごく小さく、小さい部品ほど
         しっかり沈むように縮小率を変え、色の変化も同時に滑らかにつなぐ。
         JSが付ける .is-pressing と :active の両方に効かせる（iOSでも確実に反応）。 */
      :root {
        --press-spring: cubic-bezier(.34, 1.35, .44, 1);
        --press-in: cubic-bezier(.25, .7, .3, 1);
      }
      * { -webkit-tap-highlight-color: transparent; }

      /* --- 小さい部品（ボタン・チップ・ピル類）：しっかり沈む --- */
      .searchbtn, .sheet-ok, .chip, .wbtn, .opill, .os-change, .od-research,
      .qfilter, .od-swap, .od-star, .to-top, .sheet-x, .searchclear, .starbtn,
      .sel-chip button, .portal nav a, .backlink {
        transition: transform .34s var(--press-spring), background-color .22s ease,
          color .22s ease, border-color .22s ease, box-shadow .3s ease, filter .22s ease;
        transform-origin: center;
      }
      .searchbtn:active, .searchbtn.is-pressing,
      .sheet-ok:active, .sheet-ok.is-pressing {
        transform: scale(.965) translateY(1px); filter: brightness(1.08);
        transition-duration: .07s, .12s, .12s, .12s, .12s, .12s;
        transition-timing-function: var(--press-in);
      }
      .sheet-ok:disabled:active, .sheet-ok:disabled.is-pressing { transform: none; filter: none; }
      .chip:active, .chip.is-pressing, .wbtn:active, .wbtn.is-pressing,
      .opill:active, .opill.is-pressing, .os-change:active, .os-change.is-pressing,
      .od-research:active, .od-research.is-pressing, .qfilter:active, .qfilter.is-pressing {
        transform: scale(.94);
        transition-duration: .07s, .12s, .12s, .12s, .12s, .12s;
        transition-timing-function: var(--press-in);
      }
      .od-swap:active, .od-swap.is-pressing, .od-star:active, .od-star.is-pressing,
      .to-top:active, .to-top.is-pressing, .sheet-x:active, .sheet-x.is-pressing,
      .searchclear:active, .searchclear.is-pressing, .sel-chip button:active,
      .sel-chip button.is-pressing {
        transform: scale(.88);
        transition-duration: .07s, .12s, .12s, .12s, .12s, .12s;
        transition-timing-function: var(--press-in);
      }
      .starbtn:active, .starbtn.is-pressing {
        transform: scale(.78) rotate(-8deg);
        transition-duration: .07s, .12s, .12s, .12s, .12s, .12s;
        transition-timing-function: var(--press-in);
      }
      .portal nav a:active, .portal nav a.is-pressing,
      .backlink:active, .backlink.is-pressing { transform: scale(.96); }

      /* --- タブ類：下線の色変化と一緒にほんの少し沈む --- */
      .tab, .spot-tab, .stab {
        transition: transform .3s var(--press-spring), color .22s ease,
          border-color .25s ease, background-color .22s ease;
        transform-origin: center bottom;
      }
      .tab:active, .tab.is-pressing, .spot-tab:active, .spot-tab.is-pressing,
      .stab:active, .stab.is-pressing { transform: scale(.95); }

      /* --- 大きい行・カード：ごく小さく沈み、面の色がふわっと変わる --- */
      .route-row, .sc-link, .fav-row, .stop-row, .suggest a, .ycard,
      .next-box li.tap, a.trip-row, .stop-list button, .sheet-row, .acc-head,
      .svc-group > h3 a, .it-card .ic-link {
        transition: transform .36s var(--press-spring), background-color .24s ease, color .2s ease;
        transform-origin: center;
      }
      .route-row:active, .route-row.is-pressing,
      .sc-link:active, .sc-link.is-pressing,
      .fav-row:active, .fav-row.is-pressing,
      .stop-row:active, .stop-row.is-pressing,
      .suggest a:active, .suggest a.is-pressing,
      .ycard:active, .ycard.is-pressing,
      a.trip-row:active, a.trip-row.is-pressing,
      .stop-list button:active, .stop-list button.is-pressing,
      .sheet-row:active, .sheet-row.is-pressing,
      .acc-head:active, .acc-head.is-pressing {
        transform: scale(.985);
        transition-duration: .08s, .1s, .1s;
        transition-timing-function: var(--press-in);
      }
      .next-box li.tap:active, .next-box li.tap.is-pressing {
        transform: scale(.98); background: var(--accent-soft);
        transition-duration: .08s, .1s, .1s;
        transition-timing-function: var(--press-in);
      }
      .stop-list button:active, .stop-list button.is-pressing,
      .sheet-row:active, .sheet-row.is-pressing,
      .acc-head:active, .acc-head.is-pressing { background: var(--row-hover); }

      /* --- 入力フィールド（出発地・目的地）：枠ごとわずかに沈む --- */
      .od-field {
        transition: transform .34s var(--press-spring), border-color .22s ease,
          box-shadow .26s ease, background-color .22s ease;
        transform-origin: center;
      }
      .od-field:active, .od-field.is-pressing {
        transform: scale(.99); background: var(--row-hover);
        transition-duration: .08s, .1s, .1s, .1s;
        transition-timing-function: var(--press-in);
      }

      /* --- 時刻表の「分」：押した数字がぽんっと膨らむ --- */
      .tt td.mins button.m {
        transition: transform .3s var(--press-spring), background-color .2s ease, color .2s ease;
        transform-origin: center;
      }
      .tt td.mins button.m:active, .tt td.mins button.m.is-pressing {
        transform: scale(1.22);
        transition-duration: .07s, .1s, .1s;
        transition-timing-function: var(--press-in);
      }

      /* --- 選択チェック（シート内）：選ばれた瞬間に小さく弾む --- */
      .sr-check { transition: background-color .22s ease, border-color .22s ease, transform .3s var(--press-spring); }
      @keyframes checkPop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
      .sheet-row.sel .sr-check { animation: checkPop .32s var(--press-spring); }
      .od-star, .starbtn { will-change: transform; }
      @keyframes starPop { 0% { transform: scale(.8); } 55% { transform: scale(1.22) rotate(6deg); } 100% { transform: scale(1); } }
      .od-star.on, .starbtn.on { animation: starPop .38s var(--press-spring); }

      /* --- 主要ボタンへの波紋（指の下から広がる淡い円） --- */
      .has-ripple { position: relative; overflow: hidden; }
      .press-ripple {
        position: absolute; border-radius: 50%; pointer-events: none;
        background: rgba(255, 255, 255, .45);
        transform: translate(-50%, -50%) scale(0);
        animation: rippleGo .55s cubic-bezier(.22, .8, .36, 1) forwards;
      }
      .chip .press-ripple, .wbtn .press-ripple, .opill .press-ripple,
      .os-change .press-ripple, .od-star .press-ripple, .od-swap .press-ripple {
        background: rgba(13, 115, 119, .16);
      }
      @keyframes rippleGo {
        0% { transform: translate(-50%, -50%) scale(0); opacity: .9; }
        100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
      }

      /* --- 画面遷移：押したあとの画面はふわっと現れる --- */
      @keyframes viewIn { from { opacity: .3; } to { opacity: 1; } }
      #app.view-in { animation: viewIn .3s ease-out; }

      /* --- 開閉の動きも少しだけ滑らかに --- */
      .sheet { transition: transform .46s cubic-bezier(.22, 1, .36, 1); }
      .acc-head .chev { transition: transform .3s var(--press-spring); }
      .suggest a, .fav-row .tm, .spot-card .sc-next { transition: color .25s ease, background-color .25s ease; }

      @media (prefers-reduced-motion: reduce) {
        .searchbtn, .sheet-ok, .chip, .wbtn, .opill, .os-change, .od-research,
        .qfilter, .od-swap, .od-star, .to-top, .sheet-x, .searchclear, .starbtn,
        .sel-chip button, .portal nav a, .backlink, .tab, .spot-tab, .stab,
        .route-row, .sc-link, .fav-row, .stop-row, .suggest a, .ycard,
        .next-box li.tap, a.trip-row, .stop-list button, .sheet-row, .acc-head,
        .od-field, .tt td.mins button.m, .sr-check { transition: none; }
        .searchbtn:active, .searchbtn.is-pressing, .sheet-ok:active, .sheet-ok.is-pressing,
        .chip:active, .chip.is-pressing, .wbtn:active, .wbtn.is-pressing,
        .opill:active, .opill.is-pressing, .os-change:active, .os-change.is-pressing,
        .od-research:active, .od-research.is-pressing, .qfilter:active, .qfilter.is-pressing,
        .od-swap:active, .od-swap.is-pressing, .od-star:active, .od-star.is-pressing,
        .to-top:active, .to-top.is-pressing, .sheet-x:active, .sheet-x.is-pressing,
        .searchclear:active, .searchclear.is-pressing, .sel-chip button:active,
        .sel-chip button.is-pressing, .starbtn:active, .starbtn.is-pressing,
        .portal nav a:active, .portal nav a.is-pressing, .backlink:active, .backlink.is-pressing,
        .tab:active, .tab.is-pressing, .spot-tab:active, .spot-tab.is-pressing,
        .stab:active, .stab.is-pressing,
        .route-row:active, .route-row.is-pressing, .sc-link:active, .sc-link.is-pressing,
        .fav-row:active, .fav-row.is-pressing, .stop-row:active, .stop-row.is-pressing,
        .suggest a:active, .suggest a.is-pressing, .ycard:active, .ycard.is-pressing,
        a.trip-row:active, a.trip-row.is-pressing,
        .stop-list button:active, .stop-list button.is-pressing,
        .sheet-row:active, .sheet-row.is-pressing, .acc-head:active, .acc-head.is-pressing,
        .next-box li.tap:active, .next-box li.tap.is-pressing,
        .od-field:active, .od-field.is-pressing,
        .tt td.mins button.m:active, .tt td.mins button.m.is-pressing { transform: none; }
        #app.view-in, .sheet-row.sel .sr-check, .od-star.on, .starbtn.on,
        .press-ripple { animation: none; }
        .press-ripple { display: none; }
        .sheet { transition: none; }
      }
      /* --- 整合性・選びやすさ改修（2026-11-15） --- */
      .tt .mdest { display: block; font-size: 9.5px; line-height: 1.25; color: var(--accent-dark); font-weight: 700; letter-spacing: 0; }
      .tt-none { border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 10px; }
      .tt-none .tn-msg { font-size: 13.5px; color: var(--sub); margin: 0 0 8px; }
      .tt-none .tn-msg b { color: var(--ink); }
      .od-more-wrap { text-align: center; padding: 14px 0 4px; }
      .od-field.err { outline: 2px solid #c23b2e; outline-offset: 1px; }
      .od-field .od-err { display: none; }
      .od-field.err .od-err { display: block; font-size: 12px; color: #c23b2e; font-weight: 700; margin-top: 2px; }
      .od-days { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
      .od-days .dcap { font-size: 12px; color: var(--sub); font-weight: 600; }
      .ret-stay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
      .ret-stay .rs-cap { font-size: 13px; color: var(--sub); font-weight: 600; margin-right: 2px; }
      .spot-go { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent-dark); background: none; border: none; padding: 4px 0; cursor: pointer; text-align: left; }
      .spot-go:hover { text-decoration: underline; }
      .nb-basis { font-size: 11px; color: var(--faint); font-weight: 600; }
      /* --- 第2段階：選びやすさ改修（2026-11-15） --- */
      /* 時刻表「分」ボタンの当たり判定を約44pxに広げる（見た目は変えない） */
      .tt td.mins button.m { position: relative; }
      .tt td.mins button.m::after { content: ""; position: absolute; left: -7px; right: -7px; top: -10px; bottom: -10px; }
      .tt td.mins button.m.selm { background: var(--ink); color: #fff; border-radius: 5px; padding: 0 5px; margin-right: 7px; }
      /* 候補の種別ラベル */
      .kindlab { font-size: 11.5px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
      .kindlab.ferry { color: #2f5f8f; background: #e6eef7; }
      .kindlab.rail { color: #5b4a8a; background: #efeaf7; }
      .kindlab.spot { color: #96600a; background: #fcefe0; }
      /* 検索フォーム：日付と出発／到着 */
      .od-daterow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
      .od-daterow input[type="date"] { border: 1px solid var(--line); border-radius: 10px; padding: 4px 8px; font: inherit; font-size: 15px; color: var(--ink); min-height: 36px; background: var(--surface); }
      .od-daterow .dcap { font-size: 12px; color: var(--sub); font-weight: 600; }
      /* 候補同士の違い（一言） */
      .ycard-diff { display: block; margin-top: 2px; font-size: 12.5px; color: var(--accent-dark); font-weight: 600; }
      /* 次の出発：方面グループ見出し */
      .next-box li.nb-ghead { display: block; padding: 8px 16px 2px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--sub); background: none; }
      .next-box li.nb-ghead:first-child { border-top: 0; }
      /* 停留所ページ：畳んだ時刻表ブロック */
      .svc-toggle { margin: 2px 0 10px; }
      /* 観光地カードの下段（最寄りの時刻表リンク） */
      .spot-card .sc-subrow { flex: 1 1 100%; display: flex; align-items: center; gap: 14px; padding: 0 2px 2px; }
      .spot-card .sc-timetable { font-size: 12.5px; font-weight: 700; color: var(--accent-dark); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
      .spot-card button.sc-link { border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 0; }
      /* 路線ページ：選択中の便の案内バー */
      .route-tripinfo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-size: 13px; }
      .route-tripinfo .rt-dep { font-size: 16px; font-weight: 800; }
      .route-tripinfo .rt-open { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--accent-dark); background: none; border: 0; cursor: pointer; font-family: inherit; padding: 6px 0; min-height: 36px; }
      /* 絞り込みシート */
      .fsheet-wrap { position: fixed; inset: 0; z-index: 95; visibility: hidden; }
      .fsheet-wrap.show { visibility: visible; }
      .fsheet-wrap .scrim { position: absolute; inset: 0; background: rgba(18,24,30,.48); opacity: 0; transition: opacity .3s ease; }
      .fsheet-wrap.open .scrim { opacity: 1; }
      .fsheet { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 100%; max-width: 560px; background: var(--surface); border-radius: 18px 18px 0 0; padding: 10px 18px calc(14px + env(safe-area-inset-bottom)); transform: translateY(103%); transition: transform .4s cubic-bezier(.22,1,.36,1); box-shadow: 0 -12px 40px rgba(10,16,22,.25); }
      .fsheet-wrap.open .fsheet { transform: translateY(0); }
      .fsheet h3 { font-size: 16px; margin: 6px 0 4px; }
      .fsheet .fs-cap { font-size: 12.5px; font-weight: 700; color: var(--sub); margin: 14px 0 4px; }
      .fsheet .fs-row { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 11px 2px; font: inherit; font-size: 15px; text-align: left; cursor: pointer; color: var(--ink); min-height: 48px; }
      .fsheet .fs-row .sr-check { margin-left: auto; }
      .fsheet .fs-row.sel .sr-name2 { font-weight: 700; }
      .fsheet .sheet-ok { margin-top: 16px; }
      @media (prefers-reduced-motion: reduce) { .fsheet, .fsheet-wrap .scrim { transition: none; } }
      /* ピッカー：主要地点と小見出し */
      .sheet-sub2 { padding: 12px 18px 2px; font-size: 12px; font-weight: 700; color: var(--accent-dark); }
      .acc-body .sheet-sub2 { padding-left: 30px; }
      /* --- 第3・第4段階：現地で乗るための案内と継続利用（2026-11-15） --- */
      .stop-actions { display: flex; gap: 8px; margin: 12px 0 4px; }
      .stop-actions button { flex: 1 1 0; min-height: 46px; border: 1px solid var(--accent); border-radius: 10px; background: var(--surface); color: var(--accent-dark); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
      .stop-actions button.primary { background: var(--accent); color: #fff; }
      .minimap { position: relative; height: 190px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 12px 0 4px; background: #eef1ee; }
      .minimap .mm-tiles { position: absolute; left: 50%; top: 50%; width: 768px; height: 512px; margin-left: -384px; margin-top: -256px; }
      .minimap .mm-tiles img { position: absolute; width: 256px; height: 256px; border: 0; }
      .minimap .mm-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: #c8102e; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
      .minimap .mm-cap { position: absolute; left: 8px; bottom: 6px; font-size: 11px; color: var(--sub); background: rgba(255,255,255,.85); padding: 1px 6px; border-radius: 4px; }
      .minimap .mm-name { position: absolute; left: 8px; top: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.88); padding: 2px 8px; border-radius: 4px; }
      .ferry-link { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; padding: 10px 12px; border: 1px solid #bcd2e8; background: #f2f7fc; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: #2f5f8f; text-decoration: none; min-height: 44px; }
      .ferry-note { font-size: 12.5px; color: #2f5f8f; margin: 4px 2px 0; }
      .dir-note { font-size: 12.5px; color: var(--sub); margin-top: 2px; }
      .tr-wrap { display: flex; align-items: stretch; gap: 6px; }
      .tr-wrap .trip-row { flex: 1 1 auto; min-width: 0; }
      .tr-setalight { flex: 0 0 auto; align-self: center; border: 1px solid var(--accent); background: var(--surface); color: var(--accent-dark); border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 700; padding: 4px 10px; min-height: 36px; cursor: pointer; }
      .ride-panel { border: 2px solid var(--ink); border-radius: 14px; padding: 18px 16px; margin: 14px 0; }
      .ride-panel .rp-route { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; flex-wrap: wrap; }
      .ride-panel .rp-big { font-size: 34px; font-weight: 800; line-height: 1.25; margin-top: 10px; }
      .ride-panel .rp-big small { font-size: 16px; font-weight: 700; color: var(--sub); }
      .ride-panel .rp-arrow { font-size: 20px; color: var(--sub); margin: 2px 0; }
      .ride-panel .rp-live { margin-top: 12px; font-size: 19px; font-weight: 800; color: var(--accent-dark); }
      .ride-panel .rp-note { font-size: 12px; color: var(--faint); margin-top: 6px; }
      .ride-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
      .itin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
      .itin-actions .chip[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
      .copy-msg { font-size: 13px; color: var(--accent-dark); font-weight: 700; margin: 6px 2px 0; min-height: 1.4em; }
      .ret-stay input[type="time"] { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 14px; color: var(--ink); min-height: 36px; background: var(--surface); }
      .saved-sec h2 .cnt { font-size: 12px; color: var(--faint); font-weight: 600; margin-left: 6px; }

      /* ===== トップページ改修（採用デザイン・2026-11-15） =====
         見た目の変更は .hm（ホーム）配下とヘッダーに限定し、他ページへ波及させない */
      .hm {
        --hm-ink: #153D33; --hm-body: #242A27; --hm-sub: #707570;
        --hm-green: #0B806A; --hm-green-d: #0a6b58;
        --hm-mint: #F1F7F4; --hm-mint2: #F0F6F4; --hm-sand: #FBF6EE;
        --hm-line: #DADFDA; --hm-cta: linear-gradient(180deg, #27a186, #1e8c71);
        --accent: #0B806A; --accent-dark: #0a6b58; --accent-soft: #eaf4ef; --next-bg: #eef6f1;
      }
      /* ヘッダー */
      .portal.hm-head { border-bottom: 0; position: relative; z-index: 40; }
      .hm-head-in { align-items: center; min-height: 62px; }
      .hm-wordmark { color: var(--hm-ink, #153D33); font-size: 21px; font-weight: 800; gap: 8px; letter-spacing: .01em; }
      .hm-head-btns { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; }
      .hm-iconbtn {
        width: 44px; height: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
        background: none; border: 0; border-radius: 10px; cursor: pointer; color: #153D33; padding: 0;
      }
      .hm-iconbtn:active { background: #F1F7F4; }
      .hm-menu {
        position: absolute; top: calc(100% + 2px); right: 12px; width: 236px;
        background: #fff; border: 1px solid #e3e8e3; border-radius: 14px;
        box-shadow: 0 10px 30px rgba(21, 61, 51, .14); padding: 6px;
        display: flex; flex-direction: column;
      }
      .hm-menu.hidden { display: none; }
      .hm-menu-item {
        padding: 11px 12px; font-size: 14.5px; font-weight: 600; color: #242A27;
        text-decoration: none; border-radius: 9px; min-height: 44px; display: flex; align-items: center;
      }
      .hm-menu-item:active { background: #F1F7F4; }
      /* 海の背景帯 */
      .hm-band {
        margin: 0 -20px; height: 158px; position: relative;
        background-image: linear-gradient(94deg, #f9efdb 0%, rgba(249, 239, 219, .78) 30%, rgba(249, 239, 219, 0) 58%), url('/tourism/timetable/assets/spots/manzamo.jpg');
        background-size: cover; background-position: 82% 38%;
      }
      @media (max-width: 560px) { .hm-band { margin: 0 -16px; height: 142px; } }
      .hm-band-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 15px; display: block; }
      /* 経路検索カード */
      .hm .searchpanel.hm-card {
        margin-top: -104px; position: relative; z-index: 2;
        border: 0; border-radius: 22px; background: #fff;
        box-shadow: 0 1px 2px rgba(21, 61, 51, .05), 0 14px 34px rgba(21, 61, 51, .10);
        padding: 16px 18px 18px;
      }
      @media (max-width: 560px) { .hm .searchpanel.hm-card { margin-top: -96px; padding: 14px 14px 16px; } }
      .hm-card-head { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; }
      .hm-card-head .hm-route-ico { flex: 0 0 auto; margin-top: 1px; }
      .hm-card-title { font-size: 21px; font-weight: 800; color: #153D33; margin: 0; line-height: 1.3; }
      .hm-card-sub { font-size: 12.5px; color: #707570; margin: 3px 0 0; line-height: 1.55; }
      .hm .od.hm-od { padding: 0; margin: 0; border: 0; }
      .hm-fields { position: relative; display: flex; flex-direction: column; gap: 10px; }
      .hm-row {
        display: flex; align-items: stretch; width: 100%;
        border: 1px solid var(--hm-line); border-radius: 12px; background: #fff;
        min-height: 48px; overflow: hidden; text-align: left;
      }
      button.hm-row { font: inherit; color: inherit; cursor: pointer; padding: 0; }
      .hm .od-field.hm-row { padding: 0; align-items: stretch; flex-wrap: wrap; }
      .hm-lab {
        flex: 0 0 116px; width: 116px; display: flex; align-items: center; gap: 7px;
        background: var(--hm-mint); padding: 0 10px 0 13px;
        font-size: 14.5px; font-weight: 700; color: #153D33;
        border-right: 1px solid #e4ece7;
      }
      @media (max-width: 375px) { .hm-lab { flex-basis: 106px; width: 106px; font-size: 13.5px; } }
      .hm-lab svg { flex: 0 0 auto; }
      .hm .od-field .od-val { flex: 1 1 0%; padding: 11px 48px 11px 14px; }
      .hm .od-field .searchclear { margin-right: 42px; align-self: center; }
      .hm .od-field.err .od-err { flex: 1 0 100%; padding: 0 12px 7px 130px; margin: 0; }
      .hm-dots { position: absolute; left: 22px; top: 29px; height: 48px; border-left: 2px dotted #b9d6ca; z-index: 1; pointer-events: none; }
      .hm-swap.od-swap {
        position: absolute; right: 11px; top: 53px; transform: translateY(-50%); z-index: 3;
        width: 42px; height: 42px; min-height: 42px; border-radius: 999px;
        border: 1px solid #dcebe3; background: #eef6f1; color: var(--hm-green);
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 1px 3px rgba(21, 61, 51, .12); padding: 0;
      }
      .hm-swap.od-swap:active { background: #e0efe7; }
      .hm-daterow { cursor: pointer; }
      .hm-timeval {
        flex: 1 1 auto; min-width: 0; display: flex; align-items: center;
        padding: 2px 6px 2px 14px; font-size: 16px; color: #242A27;
      }
      .hm-chev { flex: 0 0 auto; display: flex; align-items: center; padding-right: 12px; }
      .hm-date-input {
        flex: 1 1 auto; min-width: 0; align-self: center; min-height: 44px;
        border: 0; background: transparent; font: inherit; font-size: 16px; color: #242A27;
        padding: 0 10px 0 14px; margin: 0; cursor: pointer;
      }
      .hm-daterow:focus-within, button.hm-row:focus-visible, .hm .od-field.hm-row:focus-within {
        border-color: var(--hm-green); box-shadow: 0 0 0 3px #eaf4ef; outline: none;
      }
      .hm-timerow[aria-expanded="true"] .hm-chev { transform: rotate(180deg); }
      .hm-whenpanel { display: none; margin-top: 10px; border: 1px dashed #cfddd4; border-radius: 12px; padding: 10px 12px 12px; background: #fcfefd; }
      .hm-whenpanel.open { display: block; }
      .hm-whenpanel .od-when { margin-top: 2px; }
      .hm-whenpanel .wbtn {
        border: 0; background: #edf1ed; border-radius: 999px; padding: 4px 14px;
        font-size: 12.5px; cursor: pointer; min-height: 32px; font-family: inherit; color: #242A27;
      }
      .hm-whenpanel .wbtn[aria-pressed="true"] { background: var(--hm-green); color: #fff; font-weight: 700; }
      .hm-modegrp, .hm-whenpanel .od-days { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
      .hm-whenpanel .dcap { font-size: 12px; color: #707570; font-weight: 600; }
      .hm .od-gorow { margin-top: 14px; }
      .hm .searchbtn { background: var(--hm-cta); }
      .hm .searchbtn.pulse { animation: none; }
      .hm-go.searchbtn {
        position: relative; overflow: hidden; border-radius: 999px; min-height: 52px;
        font-size: 16.5px; display: flex; align-items: center; justify-content: center; gap: 9px;
      }
      .hm-go .hm-go-flower { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); opacity: .35; pointer-events: none; }
      .hm .od-star { border-radius: 12px; margin-left: auto; flex: 0 0 auto; width: 46px; min-height: 46px; }
      /* 停留所・路線を探す */
      .hm-stopsearch {
        margin-top: 12px; width: 100%; display: flex; align-items: center; gap: 12px;
        background: var(--hm-mint2); border: 0; border-radius: 16px; padding: 12px 16px;
        cursor: pointer; font: inherit; text-align: left; color: #242A27; min-height: 64px;
      }
      .hm-stopsearch .hm-ss-ico { flex: 0 0 auto; display: flex; }
      .hm-ss-t { display: block; font-size: 16.5px; font-weight: 800; color: #153D33; line-height: 1.35; }
      .hm-ss-s { display: block; font-size: 12.5px; color: #707570; margin-top: 1px; }
      .hm-ss-arrow { margin-left: auto; flex: 0 0 auto; color: #153D33; display: flex; }
      .hm-searchbox { display: none; margin-top: 10px; background: #fff; border: 1px solid #e6ebe6; border-radius: 16px; padding: 14px; }
      .hm-searchbox.open { display: block; }
      /* 4つのショートカット */
      .hm-shortcuts {
        position: relative; margin-top: 12px; background: #fff;
        border: 1px solid #e8ece8; border-radius: 18px;
        display: grid; grid-template-columns: repeat(4, 1fr);
        padding: 13px 6px 17px; overflow: hidden;
      }
      .hm-sc {
        display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px;
        background: none; border: 0; cursor: pointer; font: inherit;
        font-size: 13px; font-weight: 600; color: #242A27; text-decoration: none;
        padding: 4px 2px; min-height: 76px; position: relative; z-index: 1;
      }
      .hm-sc + .hm-sc::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 14px; width: 1px; background: #e6eae6; }
      .hm-sc-ico { height: 42px; display: flex; align-items: flex-end; justify-content: center; }
      .hm-sc > span + span { white-space: nowrap; }
      @media (max-width: 400px) { .hm-sc { font-size: 12.5px; } }
      .hm-sc-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 12px; display: block; }
      .hm-sc-palm { position: absolute; right: 0; bottom: 4px; opacity: .15; pointer-events: none; }
      /* お気に入り／最近の検索タブ */
      .hm-favsec { margin-top: 12px; }
      .hm-tabs { display: flex; border-bottom: 1px solid var(--hm-line); }
      .hm-tab {
        flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 7px;
        background: none; border: 0; border-bottom: 2.5px solid transparent; margin-bottom: -1px;
        padding: 9px 4px; font: inherit; font-size: 15.5px; font-weight: 700;
        color: #707570; cursor: pointer; min-height: 46px;
      }
      .hm-tab[aria-selected="true"] { color: var(--hm-green); border-bottom-color: var(--hm-green); }
      .hm-panel { padding-top: 4px; }
      .hm-panel[hidden] { display: none; }
      .hm .fav-row {
        border: 1px solid #e8ece8; border-radius: 12px; background: #fff;
        padding: 11px 12px; margin-top: 8px; align-items: center;
      }
      .hm .fav-row:last-child { border: 1px solid #e8ece8; }
      .hm .fav-row .hm-row-ico { flex: 0 0 auto; display: flex; align-items: center; }
      .hm-empty { font-size: 13.5px; color: #707570; padding: 12px 2px 2px; margin: 0; }
      /* 観光地バナー */
      .hm-tour {
        margin-top: 16px; width: 100%; display: flex; align-items: center; gap: 14px;
        background: var(--hm-sand); border: 0; border-radius: 16px;
        padding: 10px 16px 10px 10px; cursor: pointer; font: inherit; text-align: left; min-height: 78px;
      }
      .hm-tour-img { width: 118px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; display: block; }
      @media (max-width: 560px) { .hm-tour-img { width: 104px; height: 60px; } }
      @media (max-width: 400px) { .hm-tour-img { width: 96px; height: 58px; } }
      .hm-tour > span:not(.hm-ss-arrow) { flex: 1 1 auto; min-width: 0; }
      .hm-tour-t { display: flex; align-items: center; gap: 7px; font-size: 16.5px; font-weight: 800; color: #153D33; white-space: nowrap; }
      .hm-tour-t svg { flex: 0 0 auto; }
      @media (max-width: 400px) { .hm-tour-t { font-size: 15.5px; } }
      .hm-tour-s { display: block; font-size: 12.5px; color: #707570; margin-top: 2px; text-wrap: balance; }
      @media (max-width: 560px) { .hm-tour-s { font-size: 12px; } }
      /* 交通手段の選択 */
      .hm-modes { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
      .hm-mode {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        min-height: 50px; border-radius: 999px; border: 1px solid var(--hm-line);
        background: #fff; color: #5c665f; font: inherit; font-size: 15px; font-weight: 700;
        cursor: pointer; padding: 6px 8px; white-space: nowrap;
      }
      .hm-mode > svg { flex: 0 0 auto; }
      .hm-mode.sel { background: var(--hm-green); border-color: var(--hm-green); color: #fff; }
      .hm-mode .hm-check { display: none; }
      .hm-mode.sel .hm-check { display: inline-flex; }
      /* 狭幅では「ゆいレール」が折り返さないよう詰め、選択中チェックは緑背景＋白文字で判別できるため省く */
      @media (max-width: 560px) {
        .hm-mode { font-size: 14px; gap: 6px; padding: 6px 6px; }
        .hm-mode > svg:not(.hm-check) { width: 20px; height: 20px; }
        .hm-mode .hm-check, .hm-mode.sel .hm-check { display: none; }
      }
      @media (max-width: 400px) {
        .hm-mode { font-size: 13px; gap: 5px; padding: 6px 4px; }
        .hm-mode > svg:not(.hm-check) { width: 19px; height: 19px; }
      }
      @media (max-width: 360px) {
        .hm-mode { font-size: 12px; gap: 4px; padding: 6px 2px; }
        .hm-mode > svg:not(.hm-check) { width: 17px; height: 17px; }
      }
      .op.hm-off { display: none; }
      .route-row.hm-off { display: none; }
      /* 下部ナビゲーション（スマートフォン） */
      .hm-bottomnav { display: none; }
      @media (max-width: 719px) {
        .hm-bottomnav {
          display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
          background: #fff; border-top: 1px solid #e3e7e3;
          padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
        }
        .hm { padding-bottom: 86px; }
      }
      .hm-bn {
        flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
        background: none; border: 0; font: inherit; font-size: 11px; font-weight: 600;
        color: #707570; cursor: pointer; padding: 5px 2px; border-radius: 12px; min-height: 50px;
      }
      .hm-bn.on { color: var(--hm-green); background: #eaf4ef; }
    
.tt-source-link{color:inherit;text-decoration:underline}.verified-note{font-size:12px;color:#525d54;line-height:1.65;margin:10px 0}.board-head{display:grid;gap:9px}.board-poles{display:grid;gap:8px}.board-poles section,.board-direction{padding:12px 0;border-bottom:1px solid #d9e2dc}.board-times{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 12px}.board-times span{padding:4px 8px;background:#eef4f0;border-radius:5px}.bridge-details .ic-veh{color:#0b806a}
