@charset "utf-8";

:root {
    --guide-bg: #f5f7f7;
    --guide-bg-deep: #edf1f2;
    --guide-surface: #ffffff;
    --guide-surface-soft: #f7f9f9;
    --guide-text: #172126;
    --guide-muted: #647279;
    --guide-border: #d9e1e4;
    --guide-red: #b91518;
    --guide-red-dark: #8f1114;
    --guide-navy: #152a38;
    --guide-blue: #176c91;
    --guide-shadow: 0 18px 44px rgba(17, 31, 37, .09);
}

html { scroll-behavior: smooth; }

/* フォントはECサイト本体（base202203.css / bass-renewal-2026/style.css）と統一 */
:root { --otsuka-font: 'メイリオ', Meiryo, 'Lucida Grande', Verdana, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', sans-serif; }
body, button, input, select, textarea { font-family: var(--otsuka-font); }

body.guide-page {
    margin: 0;
    background: var(--guide-bg);
    color: var(--guide-text);
    font-family: var(--otsuka-font);
    font-size: 16px;
    line-height: 1.85;
}

.guide-page *, .guide-page *::before, .guide-page *::after { box-sizing: border-box; }
.guide-page a { color: var(--guide-blue); text-underline-offset: 3px; }
.guide-page img { max-width: 100%; height: auto; }

.guide-container {
    width: min(100% - 40px, 1120px);
    margin-inline: auto;
}

.guide-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--guide-border);
    background: color-mix(in srgb, var(--guide-bg) 92%, transparent);
    backdrop-filter: blur(14px);
}

.guide-header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.guide-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--guide-text) !important;
    text-decoration: none !important;
    letter-spacing: .03em;
}

.guide-brand-logo {
    width: 112px;
    height: 54px;
}

.guide-header-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: .9rem;
    font-weight: 800;
}

.guide-header-links a { color: var(--guide-text); text-decoration: none; }
.guide-header-links a:hover { color: var(--guide-red); }

.guide-hero {
    overflow: hidden;
    padding: 78px 0 68px;
    border-bottom: 1px solid var(--guide-border);
    background:
        radial-gradient(circle at 86% 24%, rgba(185, 21, 24, .11), transparent 30%),
        linear-gradient(135deg, color-mix(in srgb, var(--guide-bg) 94%, #d9eef4), var(--guide-bg));
}

.guide-hero-inner { position: relative; }
.guide-hero-inner::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: 2%;
    top: 50%;
    border: 1px solid color-mix(in srgb, var(--guide-red) 30%, transparent);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 44px color-mix(in srgb, var(--guide-red) 5%, transparent), 0 0 0 88px color-mix(in srgb, var(--guide-red) 3%, transparent);
    pointer-events: none;
}

.guide-eyebrow {
    margin: 0 0 12px;
    color: var(--guide-red);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.guide-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0;
    color: var(--guide-text);
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.12;
}

.guide-lead {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--guide-muted);
    font-size: 1.08rem;
}

.guide-domestic {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 24px 0 0;
    padding: 9px 14px;
    border: 1px solid var(--guide-border);
    border-radius: 10px;
    background: var(--guide-surface);
    color: var(--guide-muted);
    font-size: .82rem;
}

.guide-domestic span {
    margin-right: 7px;
    color: var(--guide-red);
    font-weight: 900;
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 56px;
    align-items: start;
    padding-top: 64px;
    padding-bottom: 88px;
}

.guide-content { min-width: 0; }

.guide-content > article,
.guide-content > section,
.guide-content > div:not(.alert) {
    max-width: 100%;
}

.guide-content article {
    margin: 0 0 28px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--guide-border) !important;
    border-radius: 18px;
    background: var(--guide-surface);
    color: var(--guide-text);
    box-shadow: var(--guide-shadow);
}

.guide-content h1,
.guide-content h2,
.guide-content h3,
.guide-content h4,
.guide-content h5 {
    color: var(--guide-text);
    font-weight: 900;
    line-height: 1.45;
}

.guide-content h2 {
    margin: 0 0 28px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--guide-border);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.guide-content h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.05em;
    margin-right: 12px;
    border-radius: 8px;
    background: var(--guide-red);
    vertical-align: -.12em;
}

.guide-content h3 { margin: 34px 0 15px; font-size: 1.2rem; }
.guide-content article > h3:first-child { margin-top: 0; font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.guide-content h4 { margin: 28px 0 12px; font-size: 1.05rem; }
.guide-content p { margin-bottom: 1.15rem; }
.guide-content ul, .guide-content ol { padding-left: 1.4rem; }
.guide-content li { margin-bottom: .75rem; }
.guide-content strong { font-weight: 900; }

.guide-content .table,
.guide-content table {
    width: 100%;
    margin: 22px 0;
    color: var(--guide-text);
    background: var(--guide-surface);
}

.guide-content .table td,
.guide-content .table th,
.guide-content table td,
.guide-content table th {
    border-color: var(--guide-border);
    vertical-align: middle;
}

.guide-content .table-striped tbody tr:nth-of-type(odd) { background: var(--guide-surface-soft); }
.guide-content .table-success, .guide-content .table-success > td { background: color-mix(in srgb, #45a66a 17%, var(--guide-surface)); }
.guide-content [style*="background-color:#E8E8E8"],
.guide-content [style*="background-color: #E8E8E8"] { background-color: var(--guide-surface-soft) !important; }
.guide-content [style*="background-color:#CCCCFF"],
.guide-content [style*="background-color: #CCCCFF"] { background-color: color-mix(in srgb, var(--guide-blue) 16%, var(--guide-surface)) !important; }

.guide-content .alert {
    border: 1px solid var(--guide-border);
    border-radius: 12px;
    color: var(--guide-text);
}

.guide-content .alert-danger { border-left: 5px solid var(--guide-red); background: color-mix(in srgb, var(--guide-red) 10%, var(--guide-surface)); }
.guide-content .alert-info { background: color-mix(in srgb, var(--guide-blue) 10%, var(--guide-surface)); }
.guide-content .card { border-color: var(--guide-border); background: var(--guide-surface); color: var(--guide-text); }
.guide-content .card-header { border-color: var(--guide-border); background: var(--guide-surface-soft); }
.guide-content .list-group-item { border-color: var(--guide-border); background: var(--guide-surface); color: var(--guide-text); }
.guide-content .payment-logo { width: auto; max-width: 120px; max-height: 42px; margin-right: 8px; vertical-align: middle; }
.guide-content .payment-logo-wide { max-width: 180px; }

.yellow_line { background: linear-gradient(transparent 80%, rgba(238, 204, 45, .38) 0); }
.pink_line { background: linear-gradient(transparent 80%, rgba(224, 8, 116, .28) 0); }
.style1 { color: var(--guide-text); }

.guide-sidebar-inner { position: sticky; top: 104px; }
.guide-nav-label {
    margin: 0 0 10px;
    color: var(--guide-muted);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.guide-nav-label-stores { margin-top: 32px; scroll-margin-top: 110px; }
.guide-nav {
    overflow: hidden;
    border: 1px solid var(--guide-border);
    border-radius: 15px;
    background: var(--guide-surface);
    box-shadow: var(--guide-shadow);
}

.guide-nav a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid var(--guide-border);
    color: var(--guide-text);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

.guide-nav a:last-child { border-bottom: 0; }
.guide-nav a:hover { background: var(--guide-surface-soft); color: var(--guide-red); }
.guide-nav a.is-current { background: var(--guide-navy); color: #fff; }
.guide-nav b { color: var(--guide-red); }
.guide-nav a.is-current b { color: #fff; }
.guide-store-nav small { display: block; color: var(--guide-red); font-size: .62rem; letter-spacing: .08em; }

.guide-closing {
    padding: 78px 0;
    background: linear-gradient(135deg, var(--guide-navy), #1e455a);
    color: #fff;
    text-align: center;
}

.guide-closing .guide-eyebrow { color: #f08f91; }
.guide-closing h2 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; line-height: 1.35; }
.guide-closing p:not(.guide-eyebrow) { margin: 18px 0 28px; color: #d9e6eb; }

.guide-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border: 1px solid #fff;
    border-radius: 999px;
    color: #fff !important;
    font-weight: 900;
    text-decoration: none !important;
}

.guide-button:hover { background: #fff; color: var(--guide-navy) !important; }

.guide-footer { padding: 28px 0; background: #0b1114; color: #aebbc0; font-size: .8rem; }
.guide-footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.guide-footer a { color: #fff; }

@media (prefers-color-scheme: dark) {
    :root {
        --guide-bg: #111719;
        --guide-bg-deep: #0e1416;
        --guide-surface: #182124;
        --guide-surface-soft: #141d20;
        --guide-text: #edf3f4;
        --guide-muted: #b5c1c5;
        --guide-border: #334044;
        --guide-blue: #77c5e7;
        --guide-shadow: 0 18px 44px rgba(0, 0, 0, .24);
    }

    .guide-header { background: rgba(17, 23, 25, .9); }
    .guide-content .text-dark { color: var(--guide-text) !important; }
    .guide-content .bg-white { background-color: var(--guide-surface) !important; }
}

@media (max-width: 900px) {
    .guide-layout { grid-template-columns: 1fr; gap: 48px; }
    .guide-sidebar-inner { position: static; }
    .guide-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
    .guide-nav a:nth-child(odd) { border-right: 1px solid var(--guide-border); }
    .guide-store-nav { grid-template-columns: repeat(3, 1fr); }
    .guide-store-nav a:nth-child(odd) { border-right: 0; }
    .guide-store-nav a:not(:nth-child(3n)) { border-right: 1px solid var(--guide-border); }
}

@media (max-width: 640px) {
    .guide-container { width: min(100% - 28px, 1120px); }
    .guide-header { position: static; }
    .guide-header-inner { min-height: 66px; }
    .guide-brand-logo { width: 96px; height: auto; }
    .guide-header-links a:not(:last-child) { display: none; }
    .guide-hero { padding: 50px 0 42px; }
    .guide-hero-inner::after { width: 150px; height: 150px; right: -70px; }
    .guide-hero h1 { font-size: 2.65rem; }
    .guide-lead { font-size: 1rem; }
    .guide-domestic { display: block; }
    .guide-layout { padding-top: 38px; padding-bottom: 62px; }
    .guide-content article { border-radius: 14px; }
    .guide-content h2 { font-size: 1.4rem; }
    .guide-content .table-responsive, .guide-content table { font-size: .8rem; }
    .guide-nav, .guide-store-nav { grid-template-columns: 1fr; }
    .guide-nav a, .guide-nav a:nth-child(odd), .guide-store-nav a:not(:nth-child(3n)) { border-right: 0; }
    .guide-closing { padding: 58px 0; }
    .guide-footer-inner { flex-direction: column; gap: 8px; }
}

/* お買い物方法：スクリーンショット図版（2026-09） */
.guide-content .guide-shot {
    max-width: 380px;
    margin: 8px auto 22px;
    text-align: center;
}
.guide-content .guide-shot img {
    display: block;
    width: 100%;
    border: 1px solid var(--guide-border);
    border-radius: 12px;
    box-shadow: var(--guide-shadow);
}
.guide-content .guide-shot figcaption {
    margin-top: 8px;
    color: var(--guide-muted);
    font-size: .82rem;
    line-height: 1.6;
}
.guide-content ol { padding-left: 1.4em; }
