:root {
    --navy: #18324a;
    --navy-2: #10283d;
    --blue: #2589c7;
    --blue-light: #eaf6fb;
    --text: #25313a;
    --muted: #71818b;
    --line: #dfe8ed;
    --bg: #f5f8fa;
    --white: #ffffff;
    --shadow: 0 14px 38px rgba(24, 50, 74, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { max-width: 100%; }
ul { list-style: none; padding-left: 0; margin: 0; }
p {  }
.site-bg { min-height: 100vh; }

/* Header */
.site-header {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #e7eef2;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px rgba(20, 50, 70, .05);
}
.header-inner { min-height: 84px; position: relative; }
.site-logo {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 0 !important;
    flex-shrink: 0;
}
.logo-mark {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    
    font-weight: 900;
}
.logo-copy { display: block; }
.logo-copy strong {
    display: block;
    color: var(--navy);
    
    line-height: 1.05;
    letter-spacing: .08em;
    font-weight: 900;
}
.logo-copy small {
    display: block;
    margin-top: 4px;
    color: #7b8991;
    
    letter-spacing: .08em;
    line-height: 1.2;
}
.navbar-nav { gap: 2px; }
.navbar-nav .nav-link {
    color: var(--navy) !important;
    
    font-weight: 800;
    padding: 9px 10px !important;
    border-radius: 9px;
    white-space: nowrap;
    transition: .2s;
}
.navbar-nav .nav-link:hover { background: var(--blue-light); color: var(--blue) !important; }
.navbar-nav .nav-contact { background: var(--navy); color: #fff !important; padding-inline: 15px !important; }
.navbar-nav .nav-contact:hover { background: var(--blue); color: #fff !important; }
.affiliate-note {
    color: #81909a;
    
    letter-spacing: .03em;
    text-align: right;
}
.navbar-toggler { border: 1px solid var(--line) !important; border-radius: 10px !important; }
.top-ad {
    width: min(1160px, calc(100% - 40px));
    margin: 28px auto 4px;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.top-ad img { width: 468px; max-width: 100%; height: 60px; object-fit: cover; border-radius: 7px; }

/* Top hero */
.tabi-hero {
    width: min(1160px, calc(100% - 40px));
    min-height: 450px;
    margin: 28px auto 0;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16, 40, 61, .95) 0%, rgba(16, 40, 61, .72) 47%, rgba(16, 40, 61, .16) 100%),
        url("https://images.unsplash.com/photo-1490806843957-31f4c9a91c65?auto=format&fit=crop&w=1800&q=85") center/cover;
}
.tabi-hero:after {
    content: "JAPAN / TRAVEL / DISCOVER";
    position: absolute;
    right: 26px;
    bottom: 23px;
    font-size: 9px;
    letter-spacing: .2em;
    opacity: .55;
    writing-mode: vertical-rl;
}
.tabi-hero-inner { padding: 72px 60px; position: relative; z-index: 1; }
.tabi-kicker { margin: 0 0 9px;  font-weight: 900; letter-spacing: .2em; }
.tabi-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    
    line-height: 1.25;
    letter-spacing: -.06em;
}
.tabi-hero h1 em { color: #bfe8fa; font-style: normal; }
.tabi-hero p { margin: 0 0 28px; color: #e8f1f5;  line-height: 2; }
.tabi-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 13px 20px 13px 23px;
    background: #fff;
    color: var(--navy);
    border-radius: 50px;
    
    font-weight: 900;
}
.tabi-hero-button span { font-size: 17px; }

/* Main */
main { padding-bottom: 10px; }
main > .row {
    width: min(1160px, calc(100% - 40px));
    margin-left: auto !important;
    margin-right: auto !important;
}
main > .row > .col-md-8,
main > .row > .col-md-4 { padding-left: 8px !important; padding-right: 8px !important; }
section {
    position: relative;
    background: #fff;
    border: 1px solid #e4ecef;
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
section.mt-4 { margin-top: 24px !important; }
.h1-wrapper { margin: 0 0 28px; }
h1 {
    position: relative;
    margin: 0;
    padding: 0 0 13px;
    color: var(--navy);
    
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.04em;
}
h1:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 4px;
    border-radius: 10px;
    background: var(--blue);
}
h1 i { margin-right: 8px; color: var(--blue); }
.h1-subtitle { display: block; margin-top: 11px; color: var(--muted);  line-height: 1.8; }
h2 {
    position: relative;
    margin: 34px 0 20px;
    padding: 12px 16px;
    color: var(--navy);
    background: linear-gradient(90deg, var(--blue-light), rgba(234, 246, 251, 0));
    border-left: 4px solid var(--blue);
    border-radius: 0 10px 10px 0;
    
    font-weight: 900;
    line-height: 1.5;
}
h3 {
    position: relative;
    display: block;
    width: auto;
    margin: 25px 0 6px;
    padding: 9px 12px 9px 17px;
    color: var(--navy);
    background: #f7fafb;
    border-radius: 9px;
    
    font-weight: 900;
}
h3:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 18px;
    transform: translateY(-50%);
    border-radius: 4px;
    background: var(--blue);
}
section p { color: #52636d; line-height: 2; margin-bottom: 12px; }

/* 47 prefecture search */
.gym-search-wrapper {
    min-height: 310px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.gym-search-inner {
    min-height: 310px;
    padding: 25px;
    background: linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.84));
    display: flex;
    align-items: center;
}
.gym-search { width: 100%; }
.gym-search .area { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.gym-search .area .header {
    flex: 0 0 105px;
    width: 105px;
    min-height: 31px;
    padding: 5px 7px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    text-align: center;
    
    font-weight: 800;
    line-height: 1.8;
}
.gym-search .area i { color: #9eabb2; font-size: 11px; line-height: 31px; }
.gym-search ul { flex: 1; display: flex; flex-wrap: wrap; gap: 5px 6px; }
.gym-search li a {
    display: inline-block;
    min-width: 47px;
    padding: 4px 8px;
    border: 1px solid #e1e9ed;
    border-radius: 50px;
    background: rgba(255,255,255,.9);
    color: var(--navy);
    text-align: center;
    
    font-weight: 800;
    transition: .2s;
}
.gym-search li a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Regional photo strip - images from the original TABI NOTE concept */
.tabi-region-picks { margin: 24px auto 0; width: min(1160px, calc(100% - 40px)); }
.tabi-region-picks .pick-title { margin: 0 0 15px; color: var(--navy);  font-weight: 900; }
.tabi-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tabi-region-card {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 8px 24px rgba(24,50,74,.08);
}
.tabi-region-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tabi-region-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,26,40,.85), rgba(8,26,40,.03) 70%); }
.tabi-region-card:hover img { transform: scale(1.05); }
.tabi-region-card .region-copy { position: absolute; z-index: 2; left: 16px; right: 12px; bottom: 14px; }
.tabi-region-card .region-copy small { display: block;  letter-spacing: .12em; opacity: .8; }
.tabi-region-card .region-copy strong { display: block; margin-top: 2px;  }

/* Images and content */
.coordinate-img { max-height: 330px; width: 100%; object-fit: cover; border-radius: 14px; }
.banners { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; padding: 22px 0; }
.banners img { border-radius: 7px; max-width: 100%; }
.banner-468 { width: 468px; height: 60px; object-fit: cover; }
.banner-300 { width: 300px; height: 60px; object-fit: cover; }

/* List pages */
.gym-list { display: grid; gap: 18px; }
.gym-item { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.gym-name { margin: 0 0 15px; padding: 0; background: none; font-size: 19px; }
.gym-name:before { display: none; }
.gym-item .img-fluid { width: 100%; max-height: 330px; object-fit: cover; border-radius: 12px; }
.gym-item table { width: 100%; margin-top: 15px; border-collapse: collapse;  }
.gym-item th, .gym-item td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gym-item th { width: 105px; background: #f7fafb; color: var(--navy); font-weight: 800; }
.pagination { gap: 5px; margin-top: 28px; }
.pagination .page-link { border: 1px solid var(--line); border-radius: 8px !important; color: var(--navy);  min-width: 38px; text-align: center; }
.pagination .current .page-link, .pagination .page-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav { margin-top: 22px; text-align: center;}
.nav button { border: 0; border-radius: 50px; padding: 9px 18px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; }
.nav button a { color: #fff; }

/* Goods */
.wear-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wear-item { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: .2s; }
.wear-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.wear-img { height: 210px; background: #f3f6f7; }
.wear-img img { width: 100%; height: 100%; object-fit: contain; }
.wear-name { padding: 14px 14px 4px; color: var(--navy);  font-weight: 700; line-height: 1.7; }
.wear-price { padding: 0 14px 15px; color: var(--blue);  font-weight: 900; }

/* Sidebar */
.side-wrap { padding-left: 8px; }
.side-box { position: sticky; top: 105px; margin-top: 24px; }
.side-box > ul > li { margin-bottom: 12px; }
.side-box .side-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(24,50,74,.05);
}
.side-card img { width: 100%; max-height: 190px; object-fit: cover; }
.side-card .side-card-body { padding: 14px; }
.side-card strong { display: block; color: var(--navy); font-size: 14px; }
.side-card span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }

/* Footer */
.site-footer { margin-top: 30px; background: var(--navy); color: #d9e4ea; }
.footer-inner { padding: 52px 0; display: flex; justify-content: space-between; gap: 50px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo .logo-mark { background: #fff; color: var(--navy); }
.footer-logo .logo-copy strong { color: #fff; }
.footer-logo .logo-copy small { color: #9fb2be; }
.footer-brand p { margin: 18px 0 0; color: #9fb2be;  line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 45px; align-content: center;  }
.footer-links a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding: 17px; text-align: center; color: #839aa8;  letter-spacing: .1em; }

@media (max-width: 991px) {
    .navbar-nav { padding: 12px 0; }
    .navbar-nav .nav-link { padding: 9px 12px !important; }
    .affiliate-note { right: 65px; bottom: -22px; }
    .tabi-region-grid { grid-template-columns: repeat(2, 1fr); }
    .wear-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .container-lg, main > .row { width: calc(100% - 28px); }
    .top-ad, .tabi-region-picks { width: calc(100% - 28px); }
    .top-ad a:first-child { display: none; }
    .top-ad img { height: 50px; }
    .affiliate-note { position: static; text-align: right; padding: 0 14px 5px;  }
    .header-inner { min-height: 70px; }
    .logo-mark { width: 38px; height: 38px;  }
    .logo-copy strong {  }
    .logo-copy small {  }
    .tabi-hero { width: calc(100% - 28px); min-height: 500px; margin-top: 20px; border-radius: 18px; background-position: 62% center; }
    .tabi-hero-inner { padding: 55px 25px; }
    .tabi-hero h1 {  }
    .tabi-hero p {  }
    .tabi-hero:after { display: none; }
    .tabi-region-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .tabi-region-card { height: 145px; }
    .tabi-region-card .region-copy { left: 12px; bottom: 10px; }
    .tabi-region-card .region-copy strong {  }
    section { padding: 22px 17px; border-radius: 15px; }
    h1 {  }
    h2 {  }
    .gym-search-inner { padding: 17px 13px; }
    .gym-search .area { display: block; margin-bottom: 14px; }
    .gym-search .area .header { display: inline-block; width: auto; min-width: 100px; }
    .gym-search .area i { margin-left: 5px; }
    .gym-search ul { margin-top: 7px; }
    .gym-search li a { min-width: 43px; padding: 3px 7px;  }
    .wear-list { grid-template-columns: 1fr 1fr; gap: 9px; }
    .wear-img { height: 150px; }
    .wear-name { padding: 11px 10px 4px;  }
    .wear-price { padding: 0 10px 11px;  }
    .gym-item { padding: 15px; }
    .gym-item table {  }
    .gym-item th, .gym-item td { padding: 9px 8px; }
    .gym-item th { width: 82px; }
    .footer-inner { display: block; padding: 42px 0; }
    .footer-links { margin-top: 25px; gap: 8px 25px; }
    .side-wrap { padding-left: 8px; padding-right: 8px; }
    .side-box { position: static; }
}

@media (max-width: 390px) {
    .tabi-region-grid { grid-template-columns: 1fr; }
    .tabi-region-card { height: 170px; }
    .wear-list { grid-template-columns: 1fr; }
}

/* =========================================================
   TABI NOTE independent layout fallback
   Bootstrapに依存せず、ヘッダー・グリッド・ページネーションを安定表示
   ========================================================= */

.container-lg {
    width: min(1160px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.header-inner {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
}

.site-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 11px;
    padding: 0 !important;
    flex: 0 0 auto;
    min-width: 185px;
}

.logo-mark {
    flex: 0 0 43px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    margin-left: auto;
    min-width: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--navy);
    
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
    transition: background .2s, color .2s, transform .2s;
}

.site-nav a:hover {
    background: var(--blue-light);
    color: var(--blue);
    transform: translateY(-1px);
}

.site-nav .nav-contact {
    margin-left: 4px;
    padding: 9px 15px;
    background: var(--navy);
    color: #fff;
}

.site-nav .nav-contact:hover {
    background: var(--blue);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}


.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.affiliate-note {
    right: 0;
    bottom: -21px;
    z-index: 3;
}

.top-ad {
    min-height: 60px;
}

main {
    display: block;
}

main > .row {
    width: min(1160px, calc(100% - 40px));
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    margin-left: auto !important;
    margin-right: auto !important;
}

.row > .col-md-8 {
    width: 66.666667%;
    flex: 0 0 66.666667%;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.row > .col-md-4 {
    width: 33.333333%;
    flex: 0 0 33.333333%;
}

.p-0 { padding: 0 !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mt-4 { margin-top: 24px !important; }
.pt-4 { padding-top: 24px !important; }
.mb-2 { margin-bottom: 8px !important; }
.text-center { text-align: center !important; }

/* Pagination: Bootstrap未読込でも崩れない */
nav[aria-label="Page navigation"] {
    width: 100%;
    margin-top: 28px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    display: block;
    margin: 0;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px !important;
    background: #fff;
    color: var(--navy);
    
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.pagination .page-link:hover,
.pagination .current .page-link {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.pagination .disabled .page-link {
    color: #aeb9bf;
    background: #f5f7f8;
    cursor: default;
}

/* Sidebar */
.side-wrap {
    width: 33.333333%;
    flex: 0 0 33.333333%;
    padding: 8px 8px 0 !important;
}

.side-box {
    margin-top: 24px;
    position: sticky;
    top: 105px;
}

.side-heading {
    padding: 2px 2px 16px;
}

.side-heading span {
    display: block;
    color: var(--blue);
    
    font-weight: 900;
    letter-spacing: .18em;
}

.side-heading strong {
    display: block;
    margin-top: 3px;
    color: var(--navy);
    
    font-weight: 900;
}

.side-card-list {
    display: grid;
    gap: 10px;
}

.side-card {
    display: flex;
    min-height: 90px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(24,50,74,.05);
    transition: transform .2s, box-shadow .2s;
}

.side-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(24,50,74,.10);
}

.side-card img {
    width: 108px;
    height: 90px;
    flex: 0 0 108px;
    object-fit: cover;
}

.side-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 12px;
}

.side-card-body strong {
    display: block;
    color: var(--navy);
    
    line-height: 1.5;
}

.side-card-body small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    
    line-height: 1.6;
}

.side-mini-box {
    margin-top: 14px;
    padding: 17px;
    border-radius: 14px;
    background: var(--navy);
    color: #fff;
}

.side-mini-box small {
    display: block;
    color: #8fd4f3;
    
    font-weight: 900;
    letter-spacing: .16em;
}

.side-mini-box strong {
    display: block;
    margin-top: 5px;
    
}

.side-mini-box p {
    margin: 7px 0 0;
    color: #5b93ad;
    
    line-height: 1.8;
}

.side-banners {
    padding: 16px 0 0;
}

/* New top content */
.tabi-themes {
    width: min(1160px, calc(100% - 40px));
    margin: 38px auto 0;
}

.tabi-section-heading {
    margin-bottom: 16px;
}

.tabi-section-heading small {
    display: block;
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.tabi-section-heading strong {
    display: block;
    margin-top: 2px;
    color: var(--navy);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.tabi-theme-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.tabi-theme-card {
    min-height: 142px;
    overflow: hidden;
    position: relative;
    border-radius: 14px;
    background: var(--navy);
    color: #fff;
}

.tabi-theme-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: .86;
    transition: transform .3s;
}

.tabi-theme-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8,26,40,.9), rgba(8,26,40,.05) 75%);
}

.tabi-theme-card:hover img { transform: scale(1.06); }

.tabi-theme-copy {
    position: absolute;
    z-index: 2;
    left: 12px;
    right: 10px;
    bottom: 11px;
}

.tabi-theme-copy small {
    display: block;
    
    letter-spacing: .12em;
    opacity: .75;
}

.tabi-theme-copy strong {
    display: block;
    margin-top: 2px;
    
    line-height: 1.5;
}

.tabi-checklist {
    width: min(1160px, calc(100% - 40px));
    margin: 24px auto 0;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 1.15fr 2fr;
    align-items: center;
    gap: 25px;
    border: 1px solid #d8e8ef;
    border-radius: 18px;
    background: linear-gradient(105deg, #eaf6fb, #fff 70%);
}

.tabi-checklist-copy small {
    color: var(--blue);
    
    font-weight: 900;
    letter-spacing: .16em;
}

.tabi-checklist-copy strong {
    display: block;
    margin-top: 4px;
    color: var(--navy);
    
    line-height: 1.5;
}

.tabi-checklist-copy p {
    margin: 6px 0 0;
    color: var(--muted);
    
    line-height: 1.8;
}

.tabi-checklist-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.tabi-check-item {
    padding: 13px 8px;
    text-align: center;
    border: 1px solid #dce9ee;
    border-radius: 11px;
    background: rgba(255,255,255,.9);
}

.tabi-check-item b {
    display: block;
    color: var(--blue);
    
    line-height: 1;
}

.tabi-check-item span {
    display: block;
    margin-top: 6px;
    color: var(--navy);
    
    font-weight: 800;
}

/* Mobile */
@media (max-width: 1100px) {
    .site-logo { min-width: 175px; }
    .site-nav a { padding-inline: 7px; font-size: 10px; }
    .site-nav .nav-contact { padding-inline: 10px; }
    .tabi-theme-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .header-inner {
        min-height: 72px;
        width: calc(100% - 28px);
        flex-wrap: wrap;
        gap: 0;
    }

    .menu-toggle { display: block; }

    .site-nav {
        display: none;
        order: 5;
        width: 100%;
        margin: 0;
        padding: 10px 0 13px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        border-top: 1px solid var(--line);
    }

    .site-nav.is-open { display: flex; }

    .site-nav a {
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        
    }

    .site-nav .nav-contact { margin-left: 0; text-align: center; justify-content: center; }
    .affiliate-note { right: 0; bottom: -19px; }

    main > .row { width: calc(100% - 28px); }
    .row > .col-md-8,
    .row > .col-md-4,
    .side-wrap {
        width: 100%;
        flex: 0 0 100%;
    }

    .side-wrap { padding: 0 8px !important; }
    .side-box { position: static; margin-top: 24px; }
    .tabi-checklist { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .container-lg,
    main > .row,
    .top-ad,
    .tabi-region-picks,
    .tabi-themes,
    .tabi-checklist { width: calc(100% - 28px); }

    .top-ad { margin-top: 22px; }
    .top-ad a:first-child { display: none; }
    .top-ad img { height: 50px; }

    .affiliate-note {
        position: static;
        width: 100%;
        padding: 0 0 5px;
        text-align: right;
        
    }

    .header-inner { min-height: 68px; }
    .site-logo { min-width: 0; }
    .logo-mark { width: 38px; height: 38px; font-size: 17px; }
    .logo-copy strong {  }
    .logo-copy small {  }

    .tabi-hero {
        width: calc(100% - 28px);
        min-height: 500px;
        margin-top: 20px;
        border-radius: 18px;
        background-position: 62% center;
    }

    .tabi-hero-inner { padding: 55px 25px; }
    .tabi-hero h1 {  }
    .tabi-hero p {  }
    .tabi-hero:after { display: none; }

    .tabi-region-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .tabi-region-card { height: 145px; }
    .tabi-region-card .region-copy { left: 12px; bottom: 10px; }
    .tabi-region-card .region-copy strong {  }

    .tabi-theme-grid { grid-template-columns: repeat(2, 1fr); }
    .tabi-theme-card { min-height: 135px; }
    .tabi-section-heading strong { font-size: 21px; }

    .tabi-checklist { padding: 19px; }
    .tabi-checklist-items { grid-template-columns: repeat(5, 1fr); }
    .tabi-check-item { padding: 11px 4px; }
    .tabi-check-item span {  }

    section { padding: 22px 17px; border-radius: 15px; }
    h1 {  }
    h2 {  }
    .gym-search-inner { padding: 17px 13px; }
    .gym-search .area { display: block; margin-bottom: 14px; }
    .gym-search .area .header { display: inline-block; width: auto; min-width: 100px; }
    .gym-search .area i { margin-left: 5px; }
    .gym-search ul { margin-top: 7px; }
    .gym-search li a { min-width: 43px; padding: 3px 7px; font-size: 9px; }

    .wear-list { grid-template-columns: 1fr 1fr; gap: 9px; }
    .wear-img { height: 150px; }
    .wear-name { padding: 11px 10px 4px;  }
    .wear-price { padding: 0 10px 11px;  }

    .gym-item { padding: 15px; }
    .gym-item table {  }
    .gym-item th, .gym-item td { padding: 9px 8px; }
    .gym-item th { width: 82px; }

    .pagination { gap: 5px; }
    .pagination .page-link { min-width: 35px; height: 36px; padding: 0 9px; }

    .side-card img { width: 95px; flex-basis: 95px; height: 80px; }
    .side-card { min-height: 80px; }
    .side-card-body strong { font-size: 11px; }

    .footer-inner { display: block; padding: 42px 0; }
    .footer-links { margin-top: 25px; gap: 8px 25px; }
}

@media (max-width: 390px) {
    .tabi-region-grid { grid-template-columns: 1fr; }
    .tabi-region-card { height: 170px; }
    .wear-list { grid-template-columns: 1fr; }
    .tabi-checklist-items { grid-template-columns: repeat(3, 1fr); }
}

/* footer is included from inside the main row on the existing pages */
main > .row > .site-footer,
.site-footer {
    flex: 0 0 100%;
    width: 100%;
}

/* =========================================================
   New TABI NOTE content library
   ========================================================= */
.tabi-new-content {
    width: min(1160px, calc(100% - 40px));
    margin: 34px auto 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.tabi-new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.tabi-new-card { display: flex; min-height: 185px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .2s, box-shadow .2s; }
.tabi-new-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(24,50,74,.10); }
.tabi-new-card-image { width: 40%; flex: 0 0 40%; background: #edf3f5; }
.tabi-new-card-image img { width: 100%; height: 100%; object-fit: cover; }
.tabi-new-card-body { padding: 18px 16px; }
.tabi-new-card-body > span { color: var(--blue);  font-weight: 900; letter-spacing: .14em; }
.tabi-new-card-body h2 { margin: 5px 0 8px; padding: 0; background: none; border: 0; color: var(--navy);  line-height: 1.35; }
.tabi-new-card-body h2:before, .tabi-new-card-body h2:after { display: none; }
.tabi-new-card-body p { margin: 0 0 10px;  line-height: 1.8; }
.tabi-new-card-body b { color: var(--navy);  }

.content-page { padding: 34px 0 50px; }
.content-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; display: flex; gap: 16px; align-items: flex-start; }
.content-main { width: calc(66.666667% - 8px); min-width: 0; }
.content-shell > .side-wrap { width: calc(33.333333% - 8px); flex: 0 0 calc(33.333333% - 8px); padding: 0 !important; }
.content-main > section { margin-bottom: 18px; }
.feature-intro { min-height: 290px; padding: 46px 48px; background: linear-gradient(135deg, #f0f8fc, #fff 65%); }
.feature-intro h1 { margin-top: 8px; font-size: clamp(32px, 5vw, 48px); border: 0; padding: 0; }
.feature-intro h1:after { display: none; }
.feature-intro .lead { max-width: 700px; margin-top: 18px; font-size: 14px; line-height: 2.1; }
.feature-intro-dark { color: #fff; background: linear-gradient(135deg, #10283d, #2589c7); border-color: transparent; }
.feature-intro-dark h1, .feature-intro-dark .lead { color: #fff; }
.feature-intro-photo { color: #fff; background: linear-gradient(90deg, rgba(16,40,61,.92), rgba(16,40,61,.35)), url('img/top_mainvisual.webp') center/cover; border-color: transparent; }
.feature-intro-photo h1, .feature-intro-photo .lead { color: #fff; }
.eyebrow { display: block; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.feature-intro-dark .eyebrow, .feature-intro-photo .eyebrow { color: #bfe8fa; }
.guide-meta { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.guide-meta span { padding: 5px 10px; border-radius: 50px; background: rgba(255,255,255,.14); color: inherit; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.article-grid-section, .prefecture-section, .knowledge-section, .local-reading { padding: 28px; }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.section-title-row h2 { margin: 3px 0 0; padding: 0; background: none; border: 0;  }
.section-title-row h2:after { display: none; }
.section-title-row > p { margin: 0; color: var(--muted);  }
.article-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.article-card { position: relative; padding: 22px 20px 18px 48px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfd; }
.article-card h3 { margin: 0 0 7px; padding: 0; background: none;  }
.article-card h3:before { display: none; }
.article-card p { margin: 0;  line-height: 1.9; }
.article-number { position: absolute; top: 20px; left: 17px; color: var(--blue); font-size: 10px; font-weight: 900; }
.article-feature-list { display: grid; gap: 10px; }
.article-feature-list article { display: flex; gap: 15px; padding: 18px; border-radius: 13px; background: #f7fafb; }
.article-feature-list h3 { margin: 0 0 4px; padding: 0; background: none;  }
.article-feature-list h3:before { display: none; }
.article-feature-list p { margin: 0;  }
.feature-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 9px; font-weight: 900; }
.guide-tip-grid, .manners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.guide-tip-grid > div, .manners-grid > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.guide-tip-grid strong, .manners-grid strong { display: block; color: var(--navy);  }
.guide-tip-grid p, .manners-grid p { margin: 7px 0 0;  line-height: 1.9; }
.guide-cta { text-align: center; padding: 34px 28px; background: var(--navy); border-color: var(--navy); color: #fff; }
.guide-cta h2 { margin: 5px 0 8px; padding: 0; background: none; border: 0; color: #fff;  }
.guide-cta h2:after { display: none; }
.guide-cta p { color: #d9e7ee; max-width: 650px; margin: 0 auto 20px;  }
.cta-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.cta-links a { display: inline-flex; padding: 10px 17px; border-radius: 50px; background: #fff; color: var(--navy);  font-weight: 900; }
.prefecture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prefecture-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.prefecture-photo { height: 145px; overflow: hidden; background: #edf3f5; }
.prefecture-photo img { width: 100%; height: 100%; object-fit: cover; }
.prefecture-body { padding: 15px; }
.prefecture-body > span { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.prefecture-body h3 { margin: 4px 0 4px; padding: 0; background: none; font-size: 17px; }
.prefecture-body h3:before { display: none; }
.prefecture-body p { margin: 0 0 10px; font-size: 10px; line-height: 1.7; }
.prefecture-body dl { display: grid; grid-template-columns: 76px 1fr; margin: 0; font-size: 9px; }
.prefecture-body dt { padding: 5px 7px; background: #f2f7f9; color: var(--navy); font-weight: 800; }
.prefecture-body dd { margin: 0; padding: 5px 7px; border-bottom: 1px solid #edf1f3; }
.faq-list { display: grid; gap: 9px; }
.faq-item { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; }
.faq-q { display: flex; gap: 10px; align-items: center; }
.faq-q > span { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 8px; font-weight: 900; }
.faq-q h3 { margin: 0; padding: 0; background: none; font-size: 14px; }
.faq-q h3:before { display: none; }
.faq-item > p { margin: 10px 0 0 40px; font-size: 10px; line-height: 1.9; }

@media (max-width: 1100px) {
    .site-nav a { padding-inline: 7px; font-size: 10px; }
    .site-nav .nav-contact { padding-inline: 10px; }
}
@media (max-width: 991px) {
    .tabi-new-grid { grid-template-columns: 1fr; }
    .content-shell { display: block; }
    .content-main, .content-shell > .side-wrap { width: 100%; }
    .content-shell > .side-wrap { margin-top: 0; }
}
@media (max-width: 767px) {
    .tabi-new-content { width: calc(100% - 28px); padding: 20px 16px; }
    .tabi-new-card { min-height: 160px; }
    .content-page { padding-top: 20px; }
    .content-shell { width: calc(100% - 28px); }
    .feature-intro { padding: 30px 22px; min-height: 250px; }
    .feature-intro h1 { font-size: 32px; }
    .feature-intro .lead { font-size: 12px; }
    .article-grid-section, .prefecture-section, .knowledge-section, .local-reading { padding: 20px 16px; }
    .section-title-row { display: block; }
    .section-title-row > p { margin-top: 8px; }
    .article-card-grid, .guide-tip-grid, .manners-grid, .prefecture-grid { grid-template-columns: 1fr; }
    .prefecture-photo { height: 170px; }
    .faq-item > p { margin-left: 0; }
    .faq-q { align-items: flex-start; }
}

/* Integrated TABI NOTE library sections on the top page */
.tabi-library-section { width: min(100% - 28px, 1000px); margin: 28px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(24,50,74,.06); }
.tabi-library-section + .tabi-library-section { margin-top: 20px; }
.tabi-library-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 34px 36px; color: var(--navy); background: linear-gradient(135deg, #eef8fc 0%, #fff 70%); }
.tabi-library-hero small, .library-heading small { display: block; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.tabi-library-hero h2 { margin: 5px 0 8px; padding: 0; border: 0; background: none;  }
.tabi-library-hero h2:after { display: none; }
.tabi-library-hero p { max-width: 650px; margin: 0;  line-height: 1.95; color: #52616d; }
.knowledge-hero { color: #fff; background: linear-gradient(135deg, #10283d, #2589c7); }
.knowledge-hero small { color: #bfe8fa; }
.knowledge-hero h2, .knowledge-hero p { color: #fff; }
.library-tags { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.library-tags span { padding: 5px 10px; border-radius: 50px; background: #fff; color: var(--navy); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.library-block { padding: 26px 28px; border-top: 1px solid var(--line); }
.library-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.library-heading strong { display: block; margin-top: 4px; color: var(--navy);  }
.library-heading p { margin: 0; color: #74828d;  }
@media (max-width: 767px) {
    .tabi-library-section { width: calc(100% - 20px); border-radius: 14px; }
    .tabi-library-hero { display: block; padding: 26px 20px; }
    .tabi-library-hero h2 { font-size: 24px; }
    .library-tags { justify-content: flex-start; margin-top: 15px; }
    .library-block { padding: 22px 16px; }
    .library-heading { display: block; }
    .library-heading p { margin-top: 5px; }
}

/* =========================================================
   TABI NOTE reference design refresh
   ========================================================= */
:root {
    --navy: #163b57;
    --navy-2: #0d2d45;
    --blue: #2495d0;
    --blue-2: #0e7fc0;
    --blue-light: #edf8fd;
    --bg: #f4f9fc;
    --line: #dceaf2;
    --text: #284250;
    --muted: #748995;
    --shadow: 0 8px 25px rgba(20,67,94,.08);
}
body { background: #f4f9fc; }
.site-header { position: relative; background: #fff; border-bottom: 1px solid #e2edf3; box-shadow: 0 2px 12px rgba(16,55,78,.04); }
.header-inner { width: min(1500px, calc(100% - 48px)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.site-logo { width: 255px; }
.logo-mark { width: 43px; height: 43px; background: var(--navy); font-size: 20px; }
.logo-copy strong {  letter-spacing: .1em; }
.logo-copy small {  }
.site-nav { display: flex; align-items: stretch; justify-content: center; gap: 2px; flex: 1; min-width: 0; }
.site-nav a { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 72px; padding: 0 8px; color: var(--navy);  font-weight: 900; white-space: nowrap; }
.site-nav a i { font-size: 13px; color: var(--navy); }
.site-nav a:hover, .site-nav a:hover i { color: var(--blue); }
.site-nav .nav-home:after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue); }
.header-search { width: 215px; height: 38px; display: flex; align-items: center; gap: 7px; border: 1px solid #d9e7ee; border-radius: 22px; padding-left: 12px; background: #fff; flex: 0 0 auto; }
.header-search i { color: #5d8298; font-size: 14px; }
.header-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--navy); font-size: 10px; background: transparent; }
.header-search button { width: 30px; height: 30px; margin-right: 3px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; }
.affiliate-note { bottom: -22px; right: 0;  }
.menu-toggle { display: none; }
.top-ad { display: none; }

.tabi-hero { width: 100%; min-height: 245px; margin: 0; border-radius: 0; background: linear-gradient(90deg, rgba(12,78,119,.92), rgba(17,125,184,.5) 58%, rgba(12,95,145,.08)), url("img/header.webp") center 55%/cover; }
.tabi-hero-inner { width: min(1500px, calc(100% - 48px)); margin: 0 auto; padding: 35px 0 38px; }
.tabi-kicker {  letter-spacing: .24em; margin-bottom: 4px; }
.tabi-hero h1 { font-family: "Playfair Display", "Noto Sans JP", serif;  line-height: 1.05; letter-spacing: .02em; margin-bottom: 9px; }
.tabi-hero h1 em { color: #d8f1ff; }
.tabi-hero p {  line-height: 1.8; margin-bottom: 13px; }
.tabi-hero-button { padding: 10px 17px 10px 19px; gap: 18px;  }
.tabi-hero:after { right: 30px; bottom: 15px; }

.tabi-region-picks, .tabi-themes, .quick-links, .tabi-checklist, .tabi-library-section { width: min(1500px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.tabi-region-picks { margin-top: 18px; }
.section-topline { display:flex; justify-content:space-between; align-items:center; margin-bottom: 2px; }
.section-topline > div { display:flex; align-items:center; gap:10px; }
.section-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--blue); }
.section-topline small, .tabi-theme-head small { display:block; color:#6c91a5; font-size:8px; letter-spacing:.16em; font-weight:900; }
.section-topline strong, .tabi-theme-head strong { display:block; color:var(--navy); font-size:18px; line-height:1.3; }
.section-topline > a { color:var(--blue-2); font-size:9px; font-weight:800; }
.section-lead { margin:0 0 10px 42px; color:var(--muted); font-size:10px; }
.tabi-region-grid { grid-template-columns: repeat(7, minmax(0,1fr)); gap: 10px; }
.tabi-region-card { height: 148px; border-radius: 8px; box-shadow: 0 5px 15px rgba(21,70,95,.09); }
.tabi-region-card .region-copy { left: 10px; bottom: 10px; }
.tabi-region-card .region-copy small {  letter-spacing:.13em; }
.tabi-region-card .region-copy strong {  }

.tabi-themes { margin-top: 18px; padding: 14px 18px; border:1px solid var(--line); border-radius: 10px; background:#fff; box-shadow:var(--shadow); }
.tabi-theme-head { display:flex; align-items:end; justify-content:space-between; margin-bottom:10px; }
.tabi-theme-head p { margin:0; color:var(--muted); font-size:9px; }
.tabi-theme-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; }
.tabi-theme-card { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:82px; border-radius:10px; background:#f8fbfd; border:1px solid #e7f0f4; text-align:center; transition:.2s; }
.tabi-theme-card:hover { transform:translateY(-2px); border-color:#b9dff1; background:#f0f9fd; }
.theme-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#e7f6fc; color:var(--blue); font-size:17px; }
.tabi-theme-card strong { margin-top:4px; color:var(--navy); font-size:10px; }
.tabi-theme-card small { color:#86a0ae; font-size:7px; letter-spacing:.12em; }

.quick-links { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-top:16px; }
.quick-card { display:flex; flex-direction:column; overflow:hidden; min-width:0; border:1px solid var(--line); border-radius:9px; background:#fff; box-shadow:var(--shadow); }
.quick-card img { width:100%; height:110px; object-fit:cover; }
.quick-card > span { padding:9px 11px 11px; }
.quick-card small { display:block; color:#5d90ab;  letter-spacing:.08em; font-weight:900; }
.quick-card strong { display:block; margin-top:3px; color:var(--navy);  }
.quick-card em { display:block; margin-top:4px; color:var(--muted);  line-height:1.65; font-style:normal; }

main { padding-top: 4px; }
main > .row { width:min(1500px,calc(100% - 48px)); }
main > .row > .col-md-8 { flex:0 0 74%; max-width:74%; }
main > .row > .col-md-4 { flex:0 0 26%; max-width:26%; }
section { border-radius:10px; padding:22px; box-shadow:0 7px 22px rgba(20,67,94,.06); }
section.mt-4 { margin-top:14px !important; }
.h1-wrapper { margin-bottom:20px; }
h1 {  padding-bottom:9px; }
h1:after { width:42px; height:3px; }
.h1-subtitle {  margin-top:7px; }
h2 {  margin:24px 0 14px; padding:9px 12px; }
h3 {  margin:18px 0 5px; padding:7px 10px 7px 14px; }
section p {  line-height:1.9; }
.gym-search-wrapper, .gym-search-inner { min-height:245px; }
.gym-search-inner { padding:20px; }
.gym-search .area .header { flex-basis:94px; width:94px;  }
.gym-search li a {  min-width:42px; padding:3px 7px; }
.coordinate-img { max-height:280px; }
.wear-list { gap:10px; }
.wear-item { border-radius:9px; }
.wear-img { height:155px; }
.wear-name {  padding:11px 11px 3px; }
.wear-price {  padding:0 11px 12px; }

.side-wrap { padding-left:10px !important; }
.side-box { top:90px; margin-top:14px; }
.side-heading { margin-bottom:8px; }
.side-heading span { display:block; color:#6d91a5;  letter-spacing:.14em; font-weight:900; }
.side-heading strong { display:block; color:var(--navy);  }
.side-card-list { display:grid; gap:8px; }
.side-card { display:grid !important; grid-template-columns:72px 1fr; border:1px solid var(--line) !important; border-radius:8px !important; box-shadow:none !important; }
.side-card img { width:72px; height:62px; max-height:none; }
.side-card .side-card-body { padding:8px 9px !important; }
.side-card strong {  }
.side-card span, .side-card small { font-size:8px; line-height:1.5; }
.side-mini-box { margin-top:10px; padding:12px; border-radius:9px; background:#eef8fd; border:1px solid #d7edf7; }
.side-mini-box small { color:#5b93ad;  letter-spacing:.1em; }
.side-mini-box strong { display:block; margin-top:3px; color:var(--navy);  }
.side-mini-box p { margin:4px 0 0;  line-height:1.7; }

.tabi-checklist { margin-top:18px; display:grid; grid-template-columns:1.2fr 2fr; align-items:center; gap:20px; padding:18px 24px; border-radius:10px; background:linear-gradient(90deg,#e9f8ff,#cfeefb); border:1px solid #c7e8f5; }
.tabi-checklist-copy small { color:#4b8dab;  letter-spacing:.16em; font-weight:900; }
.tabi-checklist-copy strong { display:block; color:var(--navy);  }
.tabi-checklist-copy p { margin:3px 0 0; color:#62808e;  line-height:1.7; }
.tabi-checklist-items { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; }
.tabi-check-item { padding:9px 4px; text-align:center; border-radius:9px; background:rgba(255,255,255,.8); }
.tabi-check-item b { display:block; color:var(--blue);  }
.tabi-check-item span { color:var(--navy);  font-weight:900; }

.tabi-library-section { margin-top:18px; padding:0; background:#fff; border:1px solid var(--line); overflow:hidden; }
.tabi-library-hero { padding:22px 25px; display:flex; justify-content:space-between; gap:20px; background:linear-gradient(100deg,#123e5b,#1c91ca); color:#fff; }
.tabi-library-hero small { font-size:8px; letter-spacing:.16em; opacity:.8; }
.tabi-library-hero h2 { margin:4px 0 5px; padding:0; background:none; border:0; color:#fff;  }
.tabi-library-hero h2:before { display:none; }
.tabi-library-hero p { margin:0; max-width:850px; color:#e6f5fc;  line-height:1.8; }
.library-tags { display:flex; gap:5px; align-items:center; }
.library-tags span { padding:5px 7px; border:1px solid rgba(255,255,255,.3); border-radius:20px;  }
.library-block { padding:18px 22px; }
.library-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:12px; }
.library-heading small { display:block; color:#6793aa; font-size:7px; letter-spacing:.14em; font-weight:900; }
.library-heading strong { color:var(--navy);  }
.library-heading p { margin:0; color:var(--muted);  }
.article-card-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.article-card { padding:12px; border:1px solid var(--line); border-radius:8px; background:#fbfdfe; }
.article-number { color:var(--blue);  font-weight:900; }
.article-card h3 { background:none; padding:0; margin:3px 0 5px;  }
.article-card h3:before { display:none; }
.article-card p, .article-feature-list p, .guide-tip-grid p, .faq-item p, .manners-grid p { font-size:12px; line-height:1.8; }
.article-feature-list { display:grid; gap:8px; }
.article-feature-list article { display:grid; grid-template-columns:38px 1fr; gap:9px; padding:11px; border:1px solid var(--line); border-radius:8px; }
.feature-icon { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#e8f6fc; color:var(--blue);  font-weight:900; }
.article-feature-list h3 { background:none; padding:0; margin:0 0 3px;  }
.article-feature-list h3:before { display:none; }
.guide-tip-grid, .manners-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
.guide-tip-grid > div, .manners-grid > div { padding:11px; border-radius:8px; background:#f5fafc; border:1px solid #e3eef3; }
.guide-tip-grid strong, .manners-grid strong { color:var(--navy);  }
.faq-list { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.faq-item { padding:10px 11px; border:1px solid var(--line); border-radius:8px; }
.faq-q { display:flex; align-items:center; gap:7px; }
.faq-q span { color:var(--blue); font-size:8px; font-weight:900; }
.faq-q h3 { margin:0; padding:0; background:none;  }
.faq-q h3:before { display:none; }
.knowledge-hero { background:linear-gradient(100deg,#163b57,#208fc7); }

@media (max-width: 1200px) {
    .header-inner { width:calc(100% - 28px); gap:10px; }
    .site-logo { width:185px; }
    .site-nav a { padding:0 5px; font-size:8px; }
    .header-search { width:165px; }
    .tabi-region-grid { grid-template-columns:repeat(4,1fr); }
}
@media (max-width: 991px) {
    .header-inner { min-height:68px; }
    .site-logo { width:auto; margin-right:auto; }
    .site-nav { display:none; position:absolute; left:0; right:0; top:68px; padding:8px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); flex-direction:column; }
    .site-nav.is-open { display:flex; }
    .site-nav a { min-height:40px; justify-content:flex-start; padding:0 12px; }
    .site-nav .nav-home:after { display:none; }
    .header-search { width:190px; }
    .menu-toggle { display:flex; width:40px; height:40px; flex-direction:column; justify-content:center; align-items:center; gap:4px; border:0; border-radius:8px; background:var(--navy); }
    .menu-toggle span { display:block; width:18px; height:2px; border-radius:2px; background:#fff; }
    .quick-links { grid-template-columns:repeat(3,1fr); }
    main > .row > .col-md-8, main > .row > .col-md-4 { flex:0 0 100%; max-width:100%; }
    .side-wrap { padding-left:8px !important; }
    .side-card-list { grid-template-columns:repeat(2,1fr); }
    .article-card-grid { grid-template-columns:repeat(2,1fr); }
    .guide-tip-grid, .manners-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 767px) {
    .header-search { display:none; }
    .tabi-hero-inner { width:calc(100% - 28px); padding:30px 0 34px; }
    .tabi-hero { min-height:255px; }
    .tabi-hero h1 {  }
    .tabi-region-picks, .tabi-themes, .quick-links, .tabi-checklist, .tabi-library-section { width:calc(100% - 28px); }
    .tabi-region-grid { grid-template-columns:repeat(2,1fr); }
    .tabi-region-card { height:135px; }
    .tabi-theme-head { display:block; }
    .tabi-theme-head p { margin-top:3px; }
    .tabi-theme-grid { grid-template-columns:repeat(3,1fr); }
    .quick-links { grid-template-columns:repeat(2,1fr); }
    .quick-card img { height:90px; }
    .quick-card strong {  }
    .quick-card em {  }
    main > .row { width:calc(100% - 28px); }
    .tabi-checklist { grid-template-columns:1fr; padding:15px; }
    .tabi-checklist-items { grid-template-columns:repeat(5,1fr); }
    .tabi-library-hero { display:block; padding:18px; }
    .library-tags { margin-top:10px; }
    .library-block { padding:15px; }
    .article-card-grid, .faq-list { grid-template-columns:1fr; }
    .guide-tip-grid, .manners-grid { grid-template-columns:1fr; }
    .side-card-list { grid-template-columns:1fr; }
}
.site-footer { margin-top:28px; background:linear-gradient(90deg,#0e6fa5,#39a9dc); color:#fff; }
.footer-inner { width:min(1500px,calc(100% - 48px)); padding:24px 0; }
.footer-logo .logo-mark { background:#fff; color:var(--navy); }
.footer-logo .logo-copy strong { color:#fff; }
.footer-logo .logo-copy small { color:#d8f1fb; }
.footer-brand p { color:#d8edf6;  }
.footer-links a { color:#eaf8ff; font-size:9px; }
.copyright { color:#d2ebf5; border-color:rgba(255,255,255,.18);  }

/* =========================================================
   TABI NOTE - typography
   文字サイズはこのブロックで一元管理
   ========================================================= */

body {
    font-size: 16px;
}

p,
section p {
    font-size: 13px;
    line-height: 1.9;
}

.logo-copy strong {
    font-size: 22px;
}

.logo-copy small {
    font-size: 10px;
}

.site-nav a,
.navbar-nav .nav-link {
    font-size: 12px;
}

.affiliate-note {
    font-size: 10px;
}

.tabi-kicker {
    font-size: 12px;
}

.tabi-hero h1 {
    
}

.tabi-hero p {
    font-size: 16px;
}

.tabi-hero-button {
    font-size: 13px;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 15px;
}

.h1-subtitle {
    font-size: 13px;
}

.gym-search .area .header {
    font-size: 12px;
}

.gym-search li a {
    font-size: 12px;
}

.tabi-region-picks .pick-title {
    font-size: 22px;
}

.tabi-region-card .region-copy small {
    font-size: 10px;
}

.tabi-region-card .region-copy strong {
    font-size: 15px;
}

.tabi-theme-copy small {
    font-size: 10px;
}

.tabi-theme-copy strong {
    font-size: 14px;
}

.quick-card small {
    font-size: 9px;
}

.quick-card strong {
    font-size: 14px;
}

.quick-card em {
    font-size: 11px;
}

.tabi-checklist-copy small {
    font-size: 10px;
}

.tabi-checklist-copy strong {
    font-size: 22px;
}

.tabi-checklist-copy p {
    font-size: 12px;
    line-height: 1.9;
}

.tabi-check-item b {
    font-size: 18px;
}

.tabi-check-item span {
    font-size: 10px;
}

/* 旅行ガイド */
.tabi-new-card-body > span {
    font-size: 10px;
}

.tabi-new-card-body h2 {
    font-size: 21px;
}

.tabi-new-card-body p,
.tabi-new-card-body b {
    font-size: 12px;
}

/* 旅行ガイド / 読み物 */
.section-title-row h2 {
    font-size: 26px;
}

.section-title-row > p {
    font-size: 12px;
}

.article-card h3 {
    font-size: 16px;
}

.article-card p,
.article-feature-list p {
    font-size: 12px;
    line-height: 1.9;
}

.article-feature-list h3 {
    font-size: 15px;
}

.guide-tip-grid strong,
.manners-grid strong {
    font-size: 16px;
}

.guide-tip-grid p,
.manners-grid p {
    font-size: 12px;
    line-height: 1.9;
}

.guide-cta h2 {
    font-size: 26px;
}

.guide-cta p {
    font-size: 12px;
}

.cta-links a {
    font-size: 12px;
}

/* 旅の知識・Q&A */
.knowledge-section .faq-item {
    padding: 20px;
}

.knowledge-section .faq-q {
    gap: 12px;
}

.knowledge-section .faq-q > span {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 10px;
}

.knowledge-section .faq-q h3 {
    font-size: 16px;
    line-height: 1.6;
}

.knowledge-section .faq-item > p {
    margin-top: 12px;
    margin-left: 46px;
    font-size: 13px;
    line-height: 1.9;
}

.knowledge-section .manners-grid strong {
    font-size: 16px;
}

.knowledge-section .manners-grid p {
    font-size: 12px;
    line-height: 1.9;
}

/* 検索・一覧 */
.gym-item table {
    font-size: 13px;
}

.pagination .page-link {
    font-size: 12px;
}

.wear-name {
    font-size: 13px;
}

.wear-price {
    font-size: 14px;
}

/* サイドバー */
.side-heading span {
    font-size: 10px;
}

.side-heading strong {
    font-size: 19px;
}

.side-card-body strong {
    font-size: 13px;
}

.side-card-body small {
    font-size: 11px;
}

.side-mini-box small {
    font-size: 9px;
}

.side-mini-box strong {
    font-size: 14px;
}

.side-mini-box p {
    font-size: 10px;
}

/* ライブラリ見出し */
.tabi-library-hero h2 {
    font-size: 28px;
}

.tabi-library-hero p {
    font-size: 12px;
}

.library-heading strong {
    font-size: 20px;
}

.library-heading p {
    font-size: 11px;
}

/* Footer */
.footer-brand p,
.footer-links {
    font-size: 12px;
}

.copyright {
    font-size: 10px;
}

@media (max-width: 991px) {
    .site-nav a,
    .navbar-nav .nav-link {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .logo-copy strong {
        font-size: 19px;
    }

    .logo-copy small {
        font-size: 9px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .affiliate-note {
        font-size: 9px;
    }

    .tabi-hero h1 {
        font-size: 44px;
    }

    .tabi-hero p {
        font-size: 14px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 19px;
    }

    h3 {
        font-size: 16px;
    }

    section p,
    p {
        font-size: 13px;
    }

    .tabi-region-card .region-copy strong {
        font-size: 13px;
    }

    .tabi-theme-copy strong {
        font-size: 14px;
    }

    .quick-card strong {
        font-size: 12px;
    }

    .quick-card em {
        font-size: 9px;
    }

    .tabi-checklist-copy strong {
        font-size: 21px;
    }

    .tabi-checklist-copy p {
        font-size: 12px;
    }

    .tabi-check-item span {
        font-size: 10px;
    }

    .tabi-new-card-body h2 {
        font-size: 19px;
    }

    .tabi-new-card-body p,
    .tabi-new-card-body b {
        font-size: 12px;
    }

    .section-title-row h2 {
        font-size: 23px;
    }

    .article-card h3 {
        font-size: 16px;
    }

    .article-card p,
    .article-feature-list p {
        font-size: 12px;
    }

    .guide-tip-grid strong,
    .manners-grid strong {
        font-size: 15px;
    }

    .guide-tip-grid p,
    .manners-grid p {
        font-size: 12px;
    }

    .knowledge-section .faq-q h3 {
        font-size: 15px;
    }

    .knowledge-section .faq-item > p {
        margin-left: 0;
        font-size: 13px;
    }

    .knowledge-section .manners-grid strong {
        font-size: 15px;
    }

    .knowledge-section .manners-grid p {
        font-size: 12px;
    }

    .gym-item table {
        font-size: 12px;
    }

    .wear-name {
        font-size: 12px;
    }

    .wear-price {
        font-size: 13px;
    }
}

