/*
 * Tabilog — domestic resorts & islands (plan §4.4). Photo-led, sea-blue accent, wide panoramas.
 * Loaded after assets/css/core.css (core-layout.css is NOT loaded: this file styles every
 * template the brand uses). Prefix .tb-. Article components keep their class names (contract §3);
 * agent-written inline styles are overridden with !important only where needed.
 */

/* ---------- Tokens ---------- */
:root {
    --bg: #ffffff; --bg-alt: #eef5f7; --paper: #f5f9fa;
    --text: #13262e; --text-mid: #4a5f66; --text-low: #5b6e74;
    --ai: #0a6a8a; --ai-light: #3f8ea7; --line: #d6e3e7; --max: 1320px;
    --font-body: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', Meiryo, sans-serif;
    --font-display: 'Zen Kaku Gothic New', var(--font-body);
    --tb-sea: #0a6a8a; --tb-sea-deep: #075e7c; --tb-lagoon: #e9f3f5; --tb-sand: #f4f0e7;
    --tb-night: #0b2a36; --tb-sun: #f2b366; --tb-coral: #b0532b;
    --gut: clamp(16px, 4vw, 40px);
    --shade: linear-gradient(180deg, rgba(6, 28, 37, 0) 30%, rgba(6, 28, 37, .78) 100%);
}
body { background: var(--bg); color: var(--text); font-weight: 400; font-size: 15px; line-height: 1.85; }
a:hover { color: var(--tb-sea); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--tb-sea); outline-offset: 2px; }
[id] { scroll-margin-top: 120px; }
.tb-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.tb-ico { flex-shrink: 0; vertical-align: -3px; }
.tb-logo__name, .tb-nav a, .tb-head__title, .tb-hero__title, .tb-isle__name, .tb-card__title, .tb-band__title, .tb-article__title,
.tb-page__title, .tb-next__title, .tb-seasons__label, .article-body h2, .article-body h3 { font-feature-settings: 'palt' 1; }
.tb-skip { position: absolute; left: -9999px; top: 8px; }
.tb-skip:focus { left: 16px; z-index: 300; background: #fff; padding: 8px 14px; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.tb-empty { color: var(--text-mid); padding: 20px 0; }
.breadcrumb { margin: 18px 0 6px; font-size: 11.5px; }
.breadcrumb li[aria-current] { color: var(--text-mid); }

/* ---------- Header ---------- */
.tb-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tb-header__bar { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; min-height: 66px; }
.tb-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); }
.tb-logo__mark { display: block; }
.tb-logo__text { display: flex; flex-direction: column; }
.tb-logo__name { font-family: var(--font-display); font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: .01em; color: var(--tb-night); }
.tb-logo__tag { font-size: 10.5px; letter-spacing: .14em; color: var(--text-mid); margin-top: 5px; }
.tb-nav { display: flex; gap: 2px; }
.tb-nav a { font-family: var(--font-display); font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; color: var(--text); }
.tb-nav a:hover, .tb-nav a[aria-current] { background: var(--tb-lagoon); color: var(--tb-sea-deep); }
.tb-search > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text); }
.tb-search > summary::-webkit-details-marker { display: none; }
.tb-search > summary:hover, .tb-search[open] > summary { background: var(--tb-lagoon); color: var(--tb-sea-deep); }
.tb-search .tb-ico { width: 20px; height: 20px; }
.tb-search__form { position: absolute; right: var(--gut); top: calc(100% + 6px); z-index: 5; display: flex; gap: 8px; padding: 12px;
    width: min(440px, calc(100vw - 32px)); background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(11,42,54,.18); }
.tb-search__form input, .tb-searchbar input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); }
.tb-search__form button, .tb-searchbar button { font: 500 14px var(--font-display); padding: 0 18px; border: 0; border-radius: 999px; background: var(--tb-sea); color: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tb-subnav { border-top: 1px solid var(--line); font-size: 12.5px; }
.tb-subnav .tb-wrap { display: flex; align-items: center; gap: 20px; height: 34px; }
.tb-subnav__label { font: 700 10.5px var(--font-display); letter-spacing: .2em; color: var(--text-low); }
.tb-subnav a { color: var(--text-mid); }
.tb-subnav a:hover { color: var(--tb-sea); }
@media (max-width: 900px) { .tb-subnav { display: none; } }
@media (max-width: 760px) {
    .tb-header { position: relative; }
    .tb-header__bar { min-height: 56px; padding-top: 8px; }
    .tb-logo__name { font-size: 22px; }
    .tb-nav { order: 3; width: 100%; justify-content: space-between; margin: 0 -10px; width: calc(100% + 20px); padding-bottom: 4px; }
    .tb-nav a { font-size: 13.5px; padding: 8px 10px; }
}

/* ---------- Home hero (panorama) ---------- */
.tb-hero__link { position: relative; display: block; color: #fff; background: var(--tb-night); }
.tb-hero__link:hover { color: #fff; }
.tb-hero img { display: block; width: 100%; height: clamp(320px, 44vw, 680px); object-fit: cover; }
.tb-hero__shade, .tb-band__shade, .tb-isle__shade { position: absolute; inset: 0; background: var(--shade); pointer-events: none; }
.tb-hero__text { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vw, 52px); display: flex; flex-direction: column; gap: 12px; }
.tb-hero__kicker { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-hero__kicker > span { font-size: 12px; letter-spacing: .08em; padding: 3px 12px; border-radius: 999px; background: rgba(6,28,37,.38); border: 1px solid rgba(255,255,255,.45); display: inline-flex; gap: 4px; align-items: center; }
.tb-hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3.1vw, 44px); line-height: 1.4; max-width: 24em;
    text-shadow: 0 2px 18px rgba(0,0,0,.35); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tb-hero__date { font-size: 13px; letter-spacing: .06em; opacity: .95; }

/* ---------- Section heads ---------- */
.tb-section { padding-top: clamp(44px, 6vw, 84px); }
.tb-section--flush { padding-top: 36px; }
.tb-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 24px; margin-bottom: 22px; }
.tb-head > * { grid-column: 1; }
.tb-head__en { font: 700 11px var(--font-display); letter-spacing: .28em; color: var(--tb-sea); }
.tb-head__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.45; letter-spacing: .02em; }
.tb-head__lead { color: var(--text-mid); font-size: 14px; margin-top: 4px; }
.tb-head .tb-head__more { grid-column: 2; grid-row: 1 / span 3; align-self: end; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    font-size: 13.5px; font-weight: 500; color: var(--tb-sea-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 760px) {
    .tb-head { grid-template-columns: 1fr; }
    .tb-head .tb-head__more { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}

/* ---------- Island / area photo cards ---------- */
.tb-isles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tb-isle { position: relative; display: block; overflow: hidden; border-radius: 8px; color: #fff; background: var(--tb-sea-deep); aspect-ratio: 4 / 3; isolation: isolate; }
.tb-isle--xl { grid-column: span 2; aspect-ratio: 16 / 9; }
.tb-isle:hover { color: #fff; }
.tb-isle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tb-isle:hover img { transform: scale(1.04); }
.tb-isle--text { background: linear-gradient(135deg, var(--tb-sea) 0%, var(--tb-night) 100%); }
.tb-isle__panel { position: absolute; right: 14px; top: 10px; opacity: .35; }
.tb-isle__panel .tb-ico { width: 72px; height: 72px; }
.tb-isle__text { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.tb-isle__kicker { font-size: 11.5px; letter-spacing: .1em; }
.tb-isle__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; }
.tb-isle--xl .tb-isle__name { font-size: clamp(22px, 2.6vw, 34px); }
.tb-isle__note { font-size: 12.5px; }
.tb-isle__count { font-size: 11.5px; letter-spacing: .06em; margin-top: 2px; }
.tb-isles__grid--themes { margin-top: 24px; }
@media (max-width: 1000px) { .tb-isles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tb-isles__grid .tb-isle--xl { aspect-ratio: 21 / 9; } }
@media (max-width: 600px) {
    .tb-isles__grid { gap: 10px; }
    .tb-isle { aspect-ratio: 1 / 1; border-radius: 6px; }
    .tb-isle--xl, .tb-isles__grid .tb-isle--xl { aspect-ratio: 3 / 2; }
    .tb-isle__text { left: 12px; right: 12px; bottom: 10px; }
    .tb-isle__note { display: none; }
    .tb-isle--md .tb-isle__kicker { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Article cards ---------- */
.tb-grid { display: grid; gap: 30px 22px; }
.tb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tb-card__link { display: flex; flex-direction: column; gap: 12px; height: 100%; color: inherit; }
.tb-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: var(--tb-lagoon); }
.tb-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tb-card__link:hover img { transform: scale(1.04); }
.tb-card__panel { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, #e9f3f5 0%, #cfe4ea 100%); color: var(--tb-sea-deep); }
.tb-card__panel .tb-ico { width: 42px; height: 42px; }
.tb-card__panel span { font: 700 10.5px var(--font-display); letter-spacing: .24em; }
.tb-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tb-card__cat { font: 700 11.5px var(--font-display); letter-spacing: .08em; color: var(--tb-sea); }
.tb-card__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.6; letter-spacing: .03em;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tb-card__link:hover .tb-card__title { color: var(--tb-sea-deep); }
.tb-card__dek { font-size: 14px; color: var(--text-mid); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tb-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; font-size: 12px; color: var(--text-low); }
.tb-card__place { display: inline-flex; align-items: center; gap: 3px; color: var(--text-mid); }
.tb-card__place .tb-ico, .tb-chip .tb-ico, .tb-article__place .tb-ico { color: var(--tb-sea); width: 14px; height: 14px; }
.tb-card--lg { grid-column: span 2; grid-row: span 2; }
.tb-card--lg .tb-card__media { aspect-ratio: 16 / 10; }
.tb-card--lg .tb-card__title { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; }
.tb-card--row { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tb-card--row .tb-card__link { flex-direction: row; align-items: flex-start; gap: 16px; }
.tb-card--row .tb-card__media { flex: 0 0 168px; aspect-ratio: 4 / 3; border-radius: 6px; }
.tb-card--row .tb-card__panel .tb-ico { width: 30px; height: 30px; }
.tb-card--row .tb-card__panel span { display: none; }
.tb-card--row .tb-card__title { font-size: 15.5px; }
.tb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 44px; }
@media (max-width: 1100px) {
    .tb-grid--4, .tb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .tb-grid--4, .tb-grid--3, .tb-list { grid-template-columns: minmax(0, 1fr); }
    .tb-card--lg { grid-column: auto; grid-row: auto; }
    .tb-card--row .tb-card__media { flex-basis: 112px; }
    .tb-card--row .tb-card__title { font-size: 14.5px; }
    .tb-grid--snap { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto;
        scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut) 10px 0; scrollbar-width: thin; }
    .tb-grid--snap > * { scroll-snap-align: start; }
}

/* ---------- Home bands ---------- */
.tb-season-band, .tb-related { background: var(--tb-sand); margin-top: clamp(44px, 6vw, 84px); padding: 48px 0 56px; }
.tb-latest .tb-list { margin-top: 4px; }

/* ---------- Archive band (theme / island hub / pages) ---------- */
.tb-band { position: relative; display: flex; align-items: flex-end; min-height: clamp(230px, 28vw, 420px); overflow: hidden; color: #fff;
    background: linear-gradient(120deg, var(--tb-night) 0%, var(--tb-sea) 72%, #3f8ea7 100%); }
.tb-band--short { min-height: clamp(180px, 17vw, 260px); }
.tb-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tb-band:not(.tb-band--photo) .tb-band__shade { background: none; }
.tb-band:not(.tb-band--photo)::after { content: ''; position: absolute; right: 8%; bottom: -46px; width: clamp(110px, 12vw, 180px); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(242,179,102,.95) 0 58%, rgba(242,179,102,0) 72%); opacity: .55; }
.tb-band:not(.tb-band--photo)::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: 1; opacity: .3;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='30'%3E%3Cpath d='M0 10c10 0 10-6 20-6s10 6 20 6 10-6 20-6 10 6 20 6M0 24c10 0 10-6 20-6s10 6 20 6 10-6 20-6 10 6 20 6' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 80px 30px; }
.tb-band--season { background: linear-gradient(120deg, #0b2a36 0%, #0a6a8a 55%, #c98a4b 130%); }
.tb-band__text { position: relative; z-index: 1; padding-top: 28px; padding-bottom: clamp(24px, 3vw, 40px); width: 100%; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.tb-band__en { font: 700 11px var(--font-display); letter-spacing: .28em; }
.tb-band__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(27px, 3.6vw, 48px); line-height: 1.3; margin-top: 6px; }
.tb-band__title span { font-size: .55em; margin-left: .3em; }
.tb-band__lead { max-width: 42em; font-size: 14.5px; margin-top: 10px; }
.tb-band__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 12.5px; }
.tb-band__meta span { padding: 2px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); background: rgba(6,28,37,.25); }
.tb-intro { max-width: 760px; margin: 18px 0 6px; font-size: 15px; line-height: 2; }
.tb-intro p + p { margin-top: 1em; }

/* ---------- Chips / tabs / hub nav ---------- */
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tb-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px 6px 10px; border: 1px solid var(--line); border-radius: 999px;
    background: #fff; font-size: 13px; line-height: 1.4; color: var(--text); }
.tb-chip:hover { border-color: var(--tb-sea); background: var(--tb-lagoon); color: var(--tb-sea-deep); }
.tb-chip__n { font-size: 11px; color: var(--text-low); }
.tb-chip--plain { color: var(--text-mid); }
.tb-mini-title { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font: 700 13px var(--font-display); letter-spacing: .06em; color: var(--text-mid); }
.tb-hubnav { margin: 22px 0 6px; }
.tb-tabs ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 6px; }
.tb-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); font: 500 14px var(--font-display); color: var(--text); }
.tb-tabs a span { font: 400 11.5px var(--font-body); color: var(--text-low); }
.tb-tabs a:hover { border-color: var(--tb-sea); color: var(--tb-sea-deep); }
.tb-tabs a[aria-current] { background: var(--tb-sea); border-color: var(--tb-sea); color: #fff; }
.tb-tabs a[aria-current] span { color: #e2f0f4; }
.tb-pricebox { margin: 22px 0 6px; padding: 18px 22px; border-radius: 10px; background: var(--tb-sand); }
.tb-pricebox .tb-ico { color: var(--tb-coral); }
.tb-pricebox ul { list-style: none; padding: 0; margin: 0; }
.tb-pricebox li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px dashed #d9cfbb; }
.tb-pricebox a { font-weight: 700; color: var(--tb-sea-deep); }
.tb-pricebox time { flex-shrink: 0; font-size: 12px; color: var(--text-low); }
.tb-jump { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 4px; font-size: 13px; }
.tb-jump a { color: var(--tb-sea-deep); border-bottom: 1px dotted currentColor; }
.tb-searchbar { display: flex; gap: 8px; max-width: 620px; margin: 24px 0 4px; }
.tb-searchbar button { padding: 0 20px; }

/* ---------- Pagination ---------- */
.tb-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 44px 0 8px; }
.tb-pager .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--text); }
.tb-pager a.page-numbers:hover { border-color: var(--tb-sea); color: var(--tb-sea-deep); }
.tb-pager .page-numbers.current { background: var(--tb-sea); border-color: var(--tb-sea); color: #fff; }
.tb-pager .page-numbers.dots { border: 0; min-width: 20px; padding: 0; }

/* ---------- /areas/ groups, prefectures ---------- */
.tb-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; margin-top: 26px; }
.tb-group { display: flex; flex-direction: column; gap: 14px; }
.tb-group .tb-isle--xl { grid-column: auto; }
.tb-group__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tb-prefs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px 32px; }
.tb-prefs__region h3 { font: 700 14px var(--font-display); color: var(--text-mid); margin-bottom: 10px; letter-spacing: .06em; }
@media (max-width: 760px) { .tb-groups { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- ベストシーズン ---------- */
.tb-seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 4px; }
.tb-seasons__item { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 10px; color: var(--tb-night); border: 1px solid transparent; }
.tb-seasons__item:hover { border-color: var(--tb-sea); color: var(--tb-night); }
.tb-seasons__item--spring { background: #fbeef0; } .tb-seasons__item--summer { background: #e3f2f6; }
.tb-seasons__item--autumn { background: #f6ecdf; } .tb-seasons__item--winter { background: #edf0f6; }
.tb-seasons__label { font: 700 clamp(22px, 2.6vw, 32px)/1.2 var(--font-display); }
.tb-seasons__range { font-size: 12.5px; color: var(--text-mid); }
.tb-seasons__now { position: absolute; top: 12px; right: 12px; padding: 1px 10px; border-radius: 999px; background: var(--tb-coral); color: #fff; font: 700 11px var(--font-display); letter-spacing: .08em; }
@media (max-width: 560px) { .tb-seasons { gap: 8px; } .tb-seasons__item { padding: 12px 10px; } .tb-seasons__now { top: 6px; right: 6px; padding: 0 7px; } }

/* ---------- Article ---------- */
.tb-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; display: none; }
@supports (animation-timeline: scroll()) {
    .tb-progress { display: block; }
    .tb-progress span { display: block; height: 100%; background: var(--tb-sea); transform-origin: 0 50%; transform: scaleX(0); animation: tb-progress linear both; animation-timeline: scroll(root); }
    @keyframes tb-progress { to { transform: scaleX(1); } }
}
.tb-article__hero { margin: 6px 0 0; }
.tb-article__hero img { display: block; width: 100%; height: clamp(240px, 44vw, 660px); object-fit: cover; }
.tb-article__head { position: relative; max-width: 880px; margin: 0 auto; padding: 26px var(--gut) 4px; background: var(--bg); }
.has-hero .tb-article__head { margin-top: clamp(-130px, -7vw, -40px); border-radius: 10px 10px 0 0; padding-top: 34px; padding-inline: clamp(16px, 4vw, 56px); }
.tb-article__kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tb-article__cat { padding: 4px 14px; border-radius: 999px; background: var(--tb-sea); color: #fff; font: 700 12px var(--font-display); letter-spacing: .06em; }
.tb-article__cat:hover { background: var(--tb-sea-deep); color: #fff; }
.tb-article__place { display: inline-flex; align-items: center; gap: 4px; padding: 3px 12px 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--text-mid); }
.tb-article__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(23px, 2.9vw, 36px); line-height: 1.5; letter-spacing: .01em; }
.tb-article__dek { margin-top: 16px; font-size: 15.5px; line-height: 1.95; color: var(--text-mid); }
.tb-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-mid); }
.tb-article__meta .updated-badge { margin: 0; background: var(--tb-lagoon); color: var(--tb-sea-deep); }
.tb-article__main, .tb-page .tb-article__main { max-width: 880px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }
.has-hero .tb-article__main { padding-inline: clamp(16px, 4vw, 56px); }
.tb-page__head { max-width: 880px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 56px) 0; }
.tb-page__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.5; }
@media (max-width: 959px) { .has-hero .tb-article__head { margin-top: 0; border-radius: 0; padding-top: 22px; } }

/* Article body (core classes, inline styles from the article agent) */
.tb-article__main .article-body { max-width: none; font-size: 16px; line-height: 2; padding: 28px 0 40px; }
.article-body a { color: var(--tb-sea-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.1vw, 24px); line-height: 1.6; letter-spacing: .02em;
    border-top: 0; padding-top: 0; margin: 2.6em 0 .9em; }
.article-body h2::before { content: ''; display: block; width: 38px; height: 3px; border-radius: 2px; background: var(--tb-sea); margin-bottom: 14px; }
.article-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; line-height: 1.6; color: var(--tb-night); margin: 1.9em 0 .6em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.article-body section.hp-hotel { margin-top: 3.4em; padding-top: 2.6em; border-top: 1px solid var(--line); }
.article-body section.hp-hotel > h2 { margin-top: 0; }
.article-body section.hp-hotel > h2 a { color: inherit; text-decoration: none; }
.article-body section.hp-hotel > h2 a:hover { color: var(--tb-sea-deep); }
.article-body .hp-lead { color: var(--tb-night) !important; font-size: 16.5px !important; }
.article-body .hp-price { display: inline-block; padding: 6px 14px !important; border-radius: 8px; background: var(--tb-lagoon); color: var(--tb-sea-deep) !important; }
.article-body .hp-price span { color: var(--text-mid) !important; }
.article-body figure.hotel-photo img, .article-body .hp-deep figure img { border-radius: 8px !important; }
.article-body figure.hotel-photo figcaption, .article-body .hp-deep figcaption, .article-body .hp-updated, .article-body .hp-map-hint { color: var(--text-low) !important; letter-spacing: .04em !important; }
.article-body figure.hotel-photo figcaption a { color: var(--tb-sea-deep) !important; }
@media (min-width: 1100px) {
    .article-body figure.hotel-photo { position: relative; left: 50%; transform: translateX(-50%); width: min(1060px, calc(100vw - 80px)); max-width: none; margin-top: 26px !important; margin-bottom: 26px !important; }
    .article-body figure.hotel-photo figcaption { max-width: 768px; margin-left: auto; margin-right: auto; }
}
.article-body .hp-takeaways { background: var(--tb-lagoon) !important; border-left: 0 !important; border-radius: 12px; padding: 22px 26px !important; }
.article-body .hp-takeaways > p:first-child { color: var(--tb-sea-deep) !important; font-weight: 700; letter-spacing: .22em !important; }
.article-body .hp-takeaways li::marker { color: var(--tb-sea); }
.article-body .hp-compare thead tr { background: var(--tb-lagoon) !important; color: var(--tb-sea-deep) !important; }
.article-body .hp-compare tbody tr + tr { border-top: 1px solid var(--line); }
.article-body .hp-compare a { text-decoration: none; font-weight: 700; }
/* Below 1100px the core breakout (100vw - 56px) is wider than this column and nowrap cells overflow
   the page: keep the table in the column and let it scroll sideways inside itself. */
@media (max-width: 1100px) { .article-body .hp-compare { position: static; left: auto; transform: none; width: 100%; display: block; max-width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.article-body .hp-facts { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 20px !important; }
.article-body .hp-facts strong, .article-body .hp-fit strong:first-child { color: var(--tb-sea-deep) !important; }
.article-body .hp-deep { border-left-color: var(--tb-sea) !important; }
.article-body .hp-deep > p:first-child { color: var(--tb-sea-deep) !important; letter-spacing: .22em !important; }
.article-body ul.mp-method { background: var(--paper); border-radius: 10px; padding: 16px 20px 16px 38px !important; color: var(--text-mid); }
.article-body .hp-map { border-color: var(--line) !important; border-radius: 10px !important; }

/* 滞在のめやす — .mp-box--stay (brand-prompts/tabilog.md): a boarding-pass card */
.article-body .mp-box--stay { display: grid; grid-template-columns: 150px minmax(0, 1fr); padding: 0; margin: 22px 0 26px; overflow: hidden;
    border: 1px solid #c7dde3; border-radius: 12px; background: #f4f9fa; font-size: 14.5px; line-height: 1.75; }
.article-body .mp-box--stay .mp-box__title { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; margin: 0; padding: 18px 18px 18px 20px;
    background: var(--tb-sea); color: #fff; font: 700 15px/1.4 var(--font-display); letter-spacing: .08em; }
.article-body .mp-box--stay .mp-box__title::before { content: 'STAY GUIDE'; font-size: 10px; letter-spacing: .26em; color: #cfe7ee; }
.article-body .mp-box--stay .mp-box__title::after { content: ''; position: absolute; top: 0; bottom: 0; right: -7px; width: 14px;
    background: radial-gradient(circle at 7px 7px, #f4f9fa 4.5px, transparent 5px) 0 0 / 14px 16px repeat-y; }
.article-body .mp-box--stay .mp-box__list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; padding: 8px 22px 8px 26px; margin: 0; }
.article-body .mp-box--stay dt, .article-body .mp-box--stay dd { padding: 9px 0; border-bottom: 1px dashed #c7dde3; margin: 0; }
.article-body .mp-box--stay dt { padding-right: 18px; color: var(--tb-sea-deep); font: 700 12.5px/1.75 var(--font-display); letter-spacing: .06em; white-space: nowrap; }
.article-body .mp-box--stay dt::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--tb-sun); vertical-align: 2px; }
.article-body .mp-box--stay dd { color: var(--text); }
.article-body .mp-box--stay dt:last-of-type, .article-body .mp-box--stay dd:last-of-type { border-bottom: 0; }
@media (max-width: 640px) {
    .article-body .mp-box--stay { grid-template-columns: minmax(0, 1fr); }
    .article-body .mp-box--stay .mp-box__title { flex-direction: row; align-items: baseline; padding: 12px 18px; }
    .article-body .mp-box--stay .mp-box__title::after { display: none; }
    .article-body .mp-box--stay .mp-box__list { grid-template-columns: minmax(0, 1fr); padding: 6px 18px 10px; }
    .article-body .mp-box--stay dt { border-bottom: 0; padding: 10px 0 0; }
    .article-body .mp-box--stay dd { padding: 0 0 10px 13px; }
}

/* After the body */
.tb-article__tags { margin: 8px 0 0; }
.tb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tb-share__label { margin-right: 6px; font-size: 12px; color: var(--text-mid); }
.tb-share a, .tb-share button { padding: 6px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 12.5px var(--font-body); color: var(--text); cursor: pointer; }
.tb-share a:hover, .tb-share button:hover { border-color: var(--tb-sea); color: var(--tb-sea-deep); }
.author-card { background: var(--paper); border-color: var(--line); border-radius: 12px; }
.editor-card .avatar-initial { background: var(--tb-lagoon); color: var(--tb-sea-deep); font-family: var(--font-display); }
.author-name { font-family: var(--font-display); font-weight: 700; }
.author-role, .author-bio { color: var(--text-mid); }
.tb-hubcard { margin: 30px 0; }
.tb-hubcard .tb-isle--xl { aspect-ratio: 21 / 9; }
.tb-next { display: block; margin: 24px 0 8px; padding: 20px 24px; border-radius: 12px; background: var(--tb-night); color: #fff; }
.tb-next:hover { color: #fff; background: #0e3747; }
.tb-next__label { display: block; font-size: 11.5px; letter-spacing: .14em; color: #a9cdd8; }
.tb-next__title { display: block; margin-top: 4px; font: 700 16.5px/1.6 var(--font-display); }
@media (max-width: 600px) { .tb-hubcard .tb-isle--xl { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.tb-footer { margin-top: clamp(56px, 7vw, 96px); color: #dbe9ed; }
.tb-footer__wave { display: block; width: 100%; height: 40px; }
.tb-footer__body { background: var(--tb-night); padding: 26px 0 24px; }
.tb-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.tb-footer__name { font: 700 26px var(--font-display); color: #fff; }
.tb-footer__brand p { margin-top: 10px; font-size: 13px; line-height: 1.95; color: #c5d9de; }
.tb-footer__brand .tb-footer__note { font-size: 12px; color: #a9c7cf; }
.tb-footer__col h2 { margin-bottom: 10px; font: 700 11.5px var(--font-display); letter-spacing: .22em; color: #8fc3d1; }
.tb-footer__col a { display: block; padding: 3px 0; font-size: 13.5px; color: #e6f0f2; }
.tb-footer__col--isles { columns: 2; column-gap: 16px; }
.tb-footer__col--isles h2, .tb-footer__col--isles a:last-child { column-span: all; }
.tb-footer a:hover { color: #fff; text-decoration: underline; }
.tb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 30px; padding-top: 18px; font-size: 12px; color: #a9c7cf;
    background: linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)) var(--gut) 0 / calc(100% - 2 * var(--gut)) 1px no-repeat; }
.tb-footer .footer-operator a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .tb-footer__grid { grid-template-columns: 1fr 1fr; } .tb-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .tb-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }
