/* ABOUT受領版の番号付きリンクバー（2026-10-30）。 */
@font-face {
    font-family: "PO Jump Oswald";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/oswald-regular.ttf") format("truetype");
}
body .po-renewal .po-jump {
    position: relative;
    top: auto;
    padding: 0;
    background: #eaeae3;
    color: #171717;
    border-bottom: 1px solid #d9d9d2;
    backdrop-filter: none;
}
body .po-renewal .po-jump > .po-wrap {
    display: flex;
    flex-wrap: nowrap;
    width: min(1200px, 100%);
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
}
body .po-renewal .po-jump > .po-wrap > a {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    align-self: stretch;
    justify-content: center;
    gap: 1em;
    min-height: 0;
    margin: 0;
    padding: 8px 10px 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .3s ease;
}
.po-renewal .po-jump .po-jump-label { font: inherit; color: inherit; text-align: center; }
.po-renewal .po-jump .po-jump-number {
    flex-shrink: 0;
    color: #b3312a;
    font: 400 13px/1 "PO Jump Oswald", "Arial Narrow", Arial, sans-serif;
}
body .po-renewal .po-jump a::after { display: none; content: none; }
body .po-renewal .po-jump > .po-wrap > a:hover,
body .po-renewal .po-jump > .po-wrap > a:focus-visible {
    background: #171717;
    color: #fff;
    transform: none;
    text-decoration: none;
}
body .po-renewal .po-jump a:hover span,
body .po-renewal .po-jump a:focus-visible span { color: #fff; }
body .po-renewal .po-jump.po-jump-fixed {
    position: fixed;
    top: var(--po-jump-top, 0px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 900;
    background: #eaeae3;
    box-shadow: 0 2px 5px rgba(0,0,0,.08);
}
/* 通常時と固定時でバー高を変えない。 */
body .po-renewal .po-jump .po-jump-toggle { display: none; }
@media (max-width: 760px) {
    body .po-renewal .po-jump > .po-wrap {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        scrollbar-color: #b8b8ae #eaeae3;
    }
    body .po-renewal .po-jump > .po-wrap > a,
    body .po-renewal .po-jump.po-jump-fixed > .po-wrap > a {
        flex: 0 0 auto;
        min-width: 0;
        min-height: 34px;
        box-sizing: border-box;
        padding: 8px 14px;
        gap: 1em;
        font-size: 11px;
        line-height: 1.6;
    }
    .po-renewal .po-jump .po-jump-number { font-size: 11px; }
    .po-renewal .po-jump .po-jump-label { min-width: 0; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
    body .po-renewal .po-jump > .po-wrap > a { transition: none; }
}

/* SCROLLと縦棒：初期はヒーロー下端、スクロール開始後は画面下端に固定。位置の移行はJSで制御。 */
.po-gotanda-screen-scroll {
    position: fixed;
    z-index: 99990;
    /* 横幅を固定し、矢印の出現やフォント読込で中心が動かないようにする。 */
    left: calc(50% - 22px);
    width: 44px;
    box-sizing: border-box;
    bottom: calc(max(8px, env(safe-area-inset-bottom)) + 6px);
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    mix-blend-mode: difference;
    pointer-events: none;
    user-select: none;
    font: 400 10px/1.4 "PO Jump Oswald", "Arial Narrow", Arial, sans-serif;
    letter-spacing: .12em;
}
.po-gotanda-screen-scroll i {
    display: block;
    width: 1px;
    height: 24px;
    overflow: hidden;
}
.po-gotanda-screen-scroll i::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    animation: po-gotanda-screen-scroll-line 2s ease-in-out infinite;
}
@keyframes po-gotanda-screen-scroll-line {
    0% { transform: translateY(-105%); }
    70%, 100% { transform: translateY(105%); }
}
@media (max-width: 760px) {
    .po-gotanda-screen-scroll {
        gap: 3px;
        
        /* 5拠点共通：麹町Chromeの基準32.8976px。安全余白は加算せず大きい方を採用。 */
        bottom: max(32.8976377953px, env(safe-area-inset-bottom, 0px));
    }
    .po-gotanda-screen-scroll i { height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .po-gotanda-screen-scroll i::after { animation: none; }
}

/* 本文番号：日本語の補助見出しの先頭に小さく添える。 */
.po-renewal .po-title-ja .po-section-number,
.po-renewal .po-overview-section-label .po-section-number {
    display: inline-block;
    color: #b3312a;
    font: 400 12px/1 "PO Jump Oswald", sans-serif;
    margin: 0 .6em 0 0;
    vertical-align: baseline;
}
.po-renewal .po-dark .po-section-number { color: #c18a85; }
@media (max-width: 760px) {
    .po-renewal .po-title-ja .po-section-number,
.po-renewal .po-overview-section-label .po-section-number { font-size: 11px; }
}

/* 中央の上矢印：文字・縦棒とは分け、矢印の領域だけクリック可能。 */
.po-gotanda-screen-scroll .po-screen-back-top {
    display: grid;
    place-items: center;
    width: 44px;
    height: 32px;
    margin: 0 0 -14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
}
.po-screen-back-top svg {
    display: block;
    width: 18px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}
.po-screen-back-top:hover svg { transform: translateY(-2px); }
.po-screen-back-top:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
@media (pointer: coarse) {
    .po-gotanda-screen-scroll .po-screen-back-top { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .po-screen-back-top svg { transition: none; }
}

.po-gotanda-screen-scroll .po-screen-back-top[hidden] { display: none; }

/* 拠点概要番号は、ブランド見出しの直下に配置。 */
.po-renewal .po-overview-section-label {
    display: block;
    margin: -18px 0 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* PC・スマホ共通：最下部の「先頭へ戻る」バーは表示しない。 */
#wrapper:has(.po-gotanda) > footer > .pagetop {
    display: none;
}

/* 右下に独立して表示していた先頭へ戻るボタンは非表示。 */
#po-renewal .po-back-to-top,
#po-renewal .po-back-to-top:not([hidden]),
#po-gotanda-gallery .po-back-to-top,
#po-gotanda-gallery .po-back-to-top:not([hidden]) {
    display: none;
}

/* 五反田：項目数が多いPC幅でも本文の横はみ出しを防ぐ。 */
.po-gotanda .po-jump-spacer {height:0;}
#po-renewal.po-gotanda [id] {scroll-margin-top:var(--po-jump-offset,150px);}
.po-gotanda .po-title-ja.po-design-label {display:block;margin:0 0 16px;font-size:12px;font-weight:400;}

