/*
 * Kazokustay — brand.css (loaded after core.css; core-layout.css is NOT loaded).
 * Parents travelling with small children: bright cream ground, one leaf green for links and
 * buttons, a pastel colour per facility category, rounded cards, line icons (inline SVG).
 * Font: Zen Maru Gothic 500/700 (config 'fonts', non-blocking); fallback Hiragino Maru Gothic.
 * Brand classes use the kz- prefix. Article components (hp-*, mp-*) keep their names; the
 * agents write inline styles on them, so a few rules below need !important.
 */

/* ---------- Tokens ---------- */
:root {
    --bg: #fffaf2; --bg-alt: #fff1dc; --text: #2a2723; --text-mid: #57514a; --text-low: #6b6259;
    --ai: #23633f; --ai-light: #2f8f52; --line: #efe3cf; --max: 1160px; --paper: #fffdf8;
    --font-body: 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'BIZ UDPGothic', sans-serif;
    --font-display: 'Zen Maru Gothic', var(--font-body);
    --kz-r: 22px; --kz-sun: #f5b94c; --kz-coral: #f2896a; --kz-forest: #2c4a37;
    --kz-shadow: 0 1px 0 rgba(42,39,35,.04), 0 10px 26px -14px rgba(42,39,35,.22);
    --t-bg: #f6efe4; --t-ink: #57514a; --t-deep: #cdbfa8;
}
.kz-tone--onsen      { --t-bg: #ffe8df; --t-ink: #a3402b; --t-deep: #f2896a; }
.kz-tone--rooms      { --t-bg: #e3effa; --t-ink: #21598a; --t-deep: #6ea8da; }
.kz-tone--experience { --t-bg: #fff0c4; --t-ink: #7a5000; --t-deep: #f5b94c; }
.kz-tone--cuisine    { --t-bg: #fde5ec; --t-ink: #9c2f55; --t-deep: #ec8fae; }
.kz-tone--nature     { --t-bg: #e0f3e5; --t-ink: #23633f; --t-deep: #6fbf86; }
.kz-tone--area       { --t-bg: #e3f3ef; --t-ink: #1f5f58; --t-deep: #5fb3a7; }
.kz-tone--plain      { --t-bg: #f6efe4; --t-ink: #57514a; --t-deep: #cdbfa8; }

/* ---------- Base ---------- */
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-weight: 500; font-size: 16px; line-height: 1.85; }
a:hover { color: var(--ai); }
:where(a, button, input, [tabindex]):focus-visible { outline: 3px solid var(--kz-sun); outline-offset: 2px; border-radius: 10px; }
.kz-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.kz-container .kz-container { padding: 0; }
.kz-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ai); color: #fff; padding: 8px 16px; border-radius: 999px; }
.kz-skip:focus { left: 8px; color: #fff; }
.kz-ico { flex: none; display: inline-block; vertical-align: middle; }
.kz-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ai); background: #fff; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; line-height: 1.6; }
.kz-eyebrow a { color: var(--ai); text-decoration: underline; text-underline-offset: 2px; }
.kz-center { text-align: center; margin-top: 28px; }
.kz-button { display: inline-flex; align-items: center; gap: 8px; background: var(--ai); color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 999px; }
.kz-button:hover { background: #1b4f32; color: #fff; }
.kz-empty { text-align: center; padding: 36px 16px; color: var(--text-mid); }

/* ---------- Header ---------- */
.kz-header { background: #fff; border-bottom: 1px solid var(--line); }
.kz-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.kz-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #2e5e3e; }
.kz-brand:hover { color: #2e5e3e; }
.kz-brand__mark { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px 14px 14px 4px; background: #2e5e3e; color: #fff; }
.kz-brand__words { display: flex; flex-direction: column; line-height: 1.2; }
.kz-brand__name { font-size: 25px; font-weight: 700; letter-spacing: .02em; }
.kz-brand__sub { font-size: 11px; font-weight: 700; color: var(--text-mid); letter-spacing: .08em; }
.kz-nav { display: flex; gap: 6px; }
.kz-nav__item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; transition: background .15s; }
.kz-nav__ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-alt); color: var(--ai); }
.kz-nav__item:hover, .kz-nav__item.is-current { background: #eef7f0; color: var(--ai); }
.kz-nav__item.is-current .kz-nav__ico { background: var(--ai); color: #fff; }

/* ---------- Search form ---------- */
.kz-search { display: flex; align-items: center; gap: 4px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 14px; max-width: 520px; }
.kz-search:focus-within { border-color: var(--ai-light); }
.kz-search__ico { color: var(--text-low); display: inline-flex; }
.kz-search__input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--text); padding: 8px 6px; outline: none; }
.kz-search__input::placeholder { color: #756c63; }
.kz-search__btn { flex: none; border: 0; background: var(--ai); color: #fff; font: inherit; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 9px 20px; cursor: pointer; }
.kz-search__btn:hover { background: #1b4f32; }

/* ---------- Home: hero ---------- */
.kz-hero { background: radial-gradient(circle at 88% 12%, #ffe3b5 0, transparent 34%), radial-gradient(circle at 6% 92%, #dff2e3 0, transparent 30%), var(--bg-alt); border-radius: 0 0 44px 44px; padding: 44px 0 52px; }
.kz-hero__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.kz-hero__title { font-size: clamp(27px, 4vw, 42px); line-height: 1.45; font-weight: 700; letter-spacing: .02em; }
.kz-hero__lead { color: var(--text-mid); margin: 14px 0 22px; max-width: 34em; }
.kz-hero__ages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.kz-hero__ages-label { font-size: 13px; font-weight: 700; color: var(--text-mid); }
.kz-hero__art svg { width: 100%; height: auto; max-width: 440px; display: block; margin: 0 auto; }

/* ---------- Sections ---------- */
.kz-section { margin-top: 56px; margin-bottom: 56px; }
.kz-section__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.kz-section__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 23px; font-weight: 700; line-height: 1.4; }
.kz-section__ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: var(--bg-alt); color: var(--ai); }
.kz-section__sub { font-size: 12px; font-weight: 700; color: var(--text-mid); background: #fff; border: 1px solid var(--line); padding: 1px 10px; border-radius: 999px; }
.kz-section__note { color: var(--text-mid); font-size: 14px; margin: -8px 0 16px; }
.kz-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--ai); }

/* Facility tiles */
.kz-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.kz-tile { display: flex; flex-direction: column; gap: 2px; background: var(--t-bg); color: var(--t-ink); border-radius: var(--kz-r); padding: 18px 16px 16px; min-height: 172px; transition: transform .15s, box-shadow .15s; }
.kz-tile:hover { color: var(--t-ink); transform: translateY(-3px); box-shadow: var(--kz-shadow); }
.kz-tile__ico { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; margin-bottom: 10px; }
.kz-tile__name { font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--text); word-break: keep-all; overflow-wrap: anywhere; }
.kz-tile__short { font-size: 13px; color: var(--text-mid); }
.kz-tile__count { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700; }

/* Season band + rail */
.kz-season { background: linear-gradient(180deg, #fff3df 0, var(--bg) 100%); padding: 40px 0 8px; margin: 56px 0; }
.kz-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Age tiles */
.kz-ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kz-age { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; background: var(--t-bg); border-radius: var(--kz-r); padding: 18px; color: var(--text); transition: transform .15s; }
.kz-age:hover { color: var(--text); transform: translateY(-3px); }
.kz-age__ico { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--t-ink); }
.kz-age__name { display: block; font-size: 19px; font-weight: 700; line-height: 1.4; }
.kz-age__hint { font-size: 13px; color: var(--text-mid); }
.kz-age__go { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--t-ink); }

/* Areas box */
.kz-areabox { background: #fff; border-radius: var(--kz-r); padding: 22px 24px; box-shadow: var(--kz-shadow); }
.kz-areabox__label { font-size: 13px; font-weight: 700; color: var(--text-mid); margin-bottom: 8px; }
.kz-chips + .kz-areabox__label { margin-top: 18px; }

/* ---------- Chips, words, tabs ---------- */
.kz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kz-chips--tight { gap: 6px; }
.kz-chip { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--text); transition: border-color .15s, background .15s; }
.kz-chip:hover { border-color: var(--ai-light); background: #f2faf4; color: var(--ai); }
.kz-chip--sm { padding: 3px 11px; font-size: 13px; }
.kz-chip--area .kz-ico { color: #1f5f58; }
.kz-chip__n { font-size: 11px; font-weight: 500; color: var(--text-low); }
.kz-chips__group { align-self: center; font-size: 12px; font-weight: 700; color: var(--text-mid); background: var(--bg-alt); border-radius: 999px; padding: 2px 10px; }
.kz-words { margin: 20px 0 26px; }
.kz-words__label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-mid); margin-bottom: 10px; }
.kz-words__title { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.kz-words--panel { background: #fff; border-radius: var(--kz-r); padding: 24px; box-shadow: var(--kz-shadow); margin: 32px 0; }
.kz-words--panel .kz-section__note { margin: 0 0 14px; }
.kz-words__aside { margin-top: 16px; font-size: 14px; color: var(--text-mid); }
.kz-words__aside a { color: var(--ai); text-decoration: underline; text-underline-offset: 3px; }
.kz-tabs { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 0 18px; scrollbar-width: thin; }
.kz-tabs__label { flex: none; font-size: 12px; font-weight: 700; color: var(--text-mid); }
.kz-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px 7px 11px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; }
.kz-tab .kz-ico { color: var(--t-ink); }
.kz-tab:hover { border-color: var(--t-deep); color: var(--text); }
.kz-tab.is-current { background: var(--t-bg); border-color: var(--t-deep); color: var(--t-ink); }
.kz-tab__hint { font-size: 11px; font-weight: 500; color: var(--text-mid); }
.kz-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: -10px 0 8px; }

/* ---------- Cards ---------- */
.kz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kz-card { background: #fff; border-radius: var(--kz-r); box-shadow: var(--kz-shadow); overflow: hidden; transition: transform .15s; }
.kz-card:hover { transform: translateY(-3px); }
.kz-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.kz-card__link:hover { color: inherit; }
.kz-card__media { aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.kz-card__media img { width: 100%; height: 100%; object-fit: cover; }
.kz-card__media--text { display: flex; align-items: center; justify-content: center; background: var(--t-bg); color: var(--t-ink); }
.kz-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 18px 16px; }
.kz-card__title { font-size: 16px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kz-card__title:hover { color: var(--ai); }
.kz-card--l .kz-card__title { font-size: 17px; }
.kz-card__dek { font-size: 13px; color: var(--text-mid); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kz-card--m .kz-card__dek { display: none; }
.kz-card__meta { margin-top: auto; font-size: 12px; color: var(--text-low); }
.kz-pill { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; background: var(--t-bg); color: var(--t-ink); font-size: 12px; font-weight: 700; line-height: 1.5; padding: 3px 11px 3px 8px; border-radius: 999px; }
.kz-pill--lg { font-size: 13px; padding: 5px 14px 5px 10px; margin-bottom: 14px; }
a.kz-pill:hover { color: var(--t-ink); box-shadow: inset 0 0 0 1.5px var(--t-deep); }

/* ---------- Page heads (archives, hubs, search, pages) ---------- */
.kz-pagehead { display: flex; align-items: flex-start; gap: 18px; background: var(--t-bg); border-radius: 28px; padding: 26px 28px; margin: 4px 0 22px; }
.kz-pagehead__ico { flex: none; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--t-ink); }
.kz-pagehead__title { font-size: clamp(23px, 3.2vw, 31px); font-weight: 700; line-height: 1.45; }
.kz-pagehead__desc { color: var(--text-mid); font-size: 15px; margin-top: 6px; max-width: 46em; }
.kz-pagehead__count { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--t-ink); background: #fff; border-radius: 999px; padding: 1px 12px; }
.kz-pagehead .tag-hub-intro, .tag-hub-intro { background: #fff; border-radius: var(--kz-r); padding: 18px 22px; margin: -8px 0 22px; color: var(--text-mid); font-size: 15px; box-shadow: var(--kz-shadow); }
.kz-pagehead--search { margin-top: 26px; }
.kz-searchbar { margin: 0 0 26px; }
.kz-searchbar .kz-search { max-width: 640px; }

/* Facility cards (/categories/) */
.kz-fcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.kz-fcard { display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: var(--kz-r); border-top: 6px solid var(--t-deep); padding: 22px; box-shadow: var(--kz-shadow); }
.kz-fcard__head { display: flex; align-items: center; gap: 14px; color: var(--text); }
.kz-fcard__ico { flex: none; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--t-bg); color: var(--t-ink); }
.kz-fcard__name { display: block; font-size: 20px; font-weight: 700; line-height: 1.4; }
.kz-fcard__count { font-size: 13px; font-weight: 700; color: var(--t-ink); }
.kz-fcard__desc { font-size: 14px; color: var(--text-mid); }
.kz-fcard__list { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.kz-fcard__list a { display: block; padding: 8px 12px; background: var(--bg); border-radius: 12px; line-height: 1.6; }
.kz-fcard:last-child:nth-child(odd) { grid-column: 1 / -1; }
.kz-fcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--t-ink); }

/* Areas (/areas/) */
.kz-region { margin: 36px 0; }
.kz-region__title { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.kz-region__title::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--kz-sun); box-shadow: 18px 0 0 -2px var(--kz-coral); margin-right: 16px; }
.kz-prefs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: start; gap: 14px; }
.kz-pref { background: #fff; border-radius: 18px; padding: 14px 18px 16px; box-shadow: var(--kz-shadow); }
.kz-pref__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.kz-pref__name { font-size: 17px; font-weight: 700; color: var(--text); }
a.kz-pref__name { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.kz-pref__n { font-size: 12px; color: var(--text-low); }

/* Seasons (/picks/) */
.kz-seasons { background: #fff; border-radius: var(--kz-r); padding: 22px 24px; box-shadow: var(--kz-shadow); margin-bottom: 12px; }
.kz-seasons__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kz-seasonbox { border-radius: 18px; padding: 14px 16px 16px; background: var(--bg); }
.kz-season--spring { background: #ffeef3; } .kz-season--summer { background: #e6f4fb; }
.kz-season--autumn { background: #fff1dc; } .kz-season--winter { background: #eef1f8; }
.kz-seasonbox.is-now { box-shadow: inset 0 0 0 2px var(--kz-sun); }
.kz-seasonbox__name { display: flex; align-items: baseline; gap: 8px; font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.kz-seasonbox__name span { font-size: 12px; color: var(--text-mid); }
.kz-month { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; margin: 34px 0 14px; }
.kz-month::after { content: ''; flex: 1; height: 3px; border-radius: 3px; background: var(--line); }

/* Pagination */
.kz-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 36px 0 8px; }
.kz-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; color: var(--text); }
.kz-pager a.page-numbers:hover { border-color: var(--ai-light); color: var(--ai); }
.kz-pager .page-numbers.current { background: var(--ai); border-color: var(--ai); color: #fff; }
.kz-pager .page-numbers.dots { border: 0; background: transparent; min-width: 0; padding: 0 4px; }

/* Breadcrumb (core markup) */
.breadcrumb { font-size: 12.5px; color: var(--text-low); margin: 20px 0 14px; letter-spacing: 0; }
.breadcrumb ol { flex-wrap: nowrap; }
.breadcrumb li { flex: none; white-space: nowrap; }
.breadcrumb li[aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-mid); }
.breadcrumb a { color: var(--ai); }

/* ---------- Footer ---------- */
.kz-footer { position: relative; margin-top: 80px; padding-top: 58px; background: var(--kz-forest); color: #f3efe6; }
.kz-footer::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 18px; background: radial-gradient(circle at 14px -6px, var(--bg) 15px, transparent 16px) repeat-x; background-size: 28px 18px; }
.kz-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.kz-footer__name { font-size: 23px; font-weight: 700; color: #fff; }
.kz-footer__tagline { font-size: 14px; color: #dfe8df; margin: 6px 0 18px; }
.kz-footer__h { font-size: 13px; font-weight: 700; color: #ffd36e; margin-bottom: 8px; }
.kz-footer__col a { display: block; padding: 5px 0; font-size: 14px; color: #f3efe6; }
.kz-footer__col a:hover { color: #fff; text-decoration: underline; }
.kz-footer .kz-search { border-color: transparent; }
.kz-footer__bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 16px 0 24px; font-size: 13px; color: #dfe8df; }
.kz-footer__bottom .kz-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.kz-footer__bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Article ---------- */
.kz-article__col { max-width: 808px; }
.kz-article__head { padding: 6px 0 20px; }
.kz-article__title { font-size: clamp(24px, 3.6vw, 33px); font-weight: 700; line-height: 1.5; letter-spacing: .01em; }
.kz-article__dek { margin-top: 14px; color: var(--text-mid); font-size: 15.5px; line-height: 1.9; }
.kz-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; font-size: 13px; color: var(--text-mid); }
.kz-meta { display: inline-flex; align-items: center; gap: 5px; }
.kz-article__meta .meta-editor { font-size: 13px; letter-spacing: 0; color: var(--text-mid); }
.updated-badge { margin: 0; padding: 1px 10px; font-size: 12px; border-radius: 999px; background: #fff3c9; color: #6b4a00; letter-spacing: 0; }
.kz-article__hero { max-width: 1048px; margin: 4px auto 6px; }
.kz-article__hero img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--kz-shadow); }
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--kz-sun), var(--kz-coral)); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
    .reading-progress span { animation: kz-progress linear forwards; animation-timeline: scroll(root); }
    @keyframes kz-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.kz-article__areas { margin-top: 28px; }
.kz-article__areas-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-mid); margin-bottom: 8px; }
.kz-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; padding: 16px 18px; background: #fff; border-radius: 20px; box-shadow: var(--kz-shadow); }
.kz-share__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-mid); margin-right: 6px; }
.kz-share__btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; }
.kz-share__btn:hover { border-color: var(--ai-light); color: var(--ai); }
.kz-share__btn--line { background: #e7f8ee; border-color: #06c755; color: #0a6a32; }
.kz-next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px; margin: 24px 0; padding: 18px 22px; border-radius: var(--kz-r); background: var(--ai); color: #fff; }
.kz-next:hover { background: #1b4f32; color: #fff; }
.kz-next__label { font-size: 12px; font-weight: 700; color: #ffd36e; }
.kz-next__title { grid-column: 1; font-weight: 700; line-height: 1.6; }
.kz-next__go { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); }
.kz-related { margin-top: 48px; }
.author-card { background: #fff; border-radius: var(--kz-r); border: 1px solid var(--line); }
.author-role { letter-spacing: .04em; color: var(--text-low); }
.editor-card .avatar-initial { font-family: var(--font-body); background: var(--bg-alt); }
.kz-page .article-body { padding-top: 4px; }

/* ---------- Article body (stable component classes; agents write inline styles) ---------- */
.article-body { max-width: none; padding: 18px 0 28px; font-size: 16.5px; line-height: 2; overflow-wrap: break-word; }
.article-body p { margin-bottom: 1.3em; }
.article-body a { color: var(--ai); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.3em; }
.article-body img { border-radius: 18px !important; }
.article-body p:has(> script[type="application/ld+json"]) { margin: 0; }
.article-body p:has(> script[type="application/ld+json"]) > br, .article-body figure a > br { display: none; }
.article-body figure figcaption { color: var(--text-low) !important; letter-spacing: .03em !important; font-size: 12px !important; }
.article-body h2 { font-family: inherit; font-size: 22px; font-weight: 700; line-height: 1.55; letter-spacing: .01em; margin: 2.3em 0 .9em; padding: 13px 18px 13px 22px; border: 0; background: var(--bg-alt); border-radius: 18px; box-shadow: inset 6px 0 0 var(--ai-light); }
.article-body h3 { position: relative; font-family: inherit; font-size: 18.5px; font-weight: 700; line-height: 1.6; margin: 1.9em 0 .6em; padding-left: 22px; }
.article-body h3::before { content: ''; position: absolute; left: 2px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--kz-sun); }
.article-body .hp-takeaways { background: #fff !important; border: 2px solid #ffe2a8 !important; border-radius: var(--kz-r); padding: 20px 22px !important; box-shadow: var(--kz-shadow); }
.article-body .hp-takeaways > p:first-child { color: #6b4a00 !important; font-size: 14px !important; letter-spacing: .06em !important; font-weight: 700; }
.article-body .hp-takeaways ul { list-style: none; padding-left: 0 !important; font-size: 15px !important; }
.article-body .hp-takeaways li { position: relative; padding: 4px 0 4px 30px; }
.article-body .hp-takeaways li::before, .article-body .hp-check li::before { content: ''; position: absolute; left: 0; top: .62em; width: 20px; height: 20px; border-radius: 50%; background: #e0f3e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323633f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.article-body .hp-updated, .article-body .hp-price-note { color: var(--text-low) !important; letter-spacing: .02em !important; font-size: 12.5px !important; }
.article-body .hp-price-note em { font-style: normal; }
.article-body .kz-scroll { position: relative; left: 50%; transform: translateX(-50%); width: min(calc(100vw - 48px), 1000px); overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--kz-shadow); }
.article-body .kz-scroll .hp-compare { position: static; left: auto; transform: none; width: 100% !important; margin: 0 !important; border: 0 !important; font-size: 14px !important; }
.article-body .hp-compare thead tr { background: var(--bg-alt) !important; color: var(--text) !important; }
.article-body .hp-compare th, .article-body .hp-compare td { padding: 10px 12px !important; border-bottom: 1px solid var(--line); }
.article-body .hp-compare tbody tr:last-child td { border-bottom: 0; }
.article-body .hp-compare a { font-weight: 700; }
.article-body section.hp-hotel { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 6px 26px 18px; margin: 2.2em 0; box-shadow: var(--kz-shadow); }
.article-body section.hp-hotel > h2 { background: none; box-shadow: none; padding: 16px 0 12px; margin: 0 0 .6em; border-radius: 0; border-bottom: 2px dashed var(--line); font-size: 21px; }
.article-body .hp-lead { color: var(--text) !important; font-weight: 700 !important; font-size: 16.5px !important; background: #f1f9f3; border-radius: 16px; padding: 12px 16px; }
.article-body .hp-price { display: table; color: var(--text) !important; font-size: 14px !important; background: var(--bg-alt); border-radius: 14px; padding: 6px 14px; }
.article-body .hp-price span { color: var(--text-low) !important; }
.article-body .hp-fit { list-style: none; padding: 0 !important; }
.article-body .hp-fit li { position: relative; padding: 12px 16px 12px 46px !important; border: 0 !important; border-radius: 16px; background: #f1f9f3; margin-bottom: 8px; line-height: 1.85; }
.article-body .hp-fit li:last-child:not(:first-child) { background: #fff2ec; }
.article-body .hp-fit li::before { content: ''; position: absolute; left: 14px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323633f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.article-body .hp-fit li:last-child:not(:first-child)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3402b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5h.01'/%3E%3C/svg%3E"); }
.article-body .hp-fit li:first-child strong { color: var(--ai) !important; }
.article-body .hp-fit li:last-child:not(:first-child) strong { color: #a3402b !important; }
.article-body .hp-facts { list-style: none; padding: 6px 18px !important; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; font-size: 14.5px !important; }
.article-body .hp-facts li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.article-body .hp-facts li:last-child { border-bottom: 0; }
.article-body .hp-facts strong, .article-body .hp-check strong, .article-body .hp-timeline strong { color: var(--ai); }
.article-body .hp-deep { background: #f5f1ff; border: 0 !important; border-radius: var(--kz-r); padding: 18px 22px !important; }
.article-body .hp-deep > p:first-child { color: #5b3fa0 !important; font-size: 13.5px !important; letter-spacing: .05em !important; font-weight: 700; }
.article-body .hp-timeline { list-style: none; padding: 0 0 0 4px !important; }
.article-body .hp-timeline li { position: relative; padding: 4px 0 10px 26px; border-left: 3px dotted #f6cf86; }
.article-body .hp-timeline li::before { content: ''; position: absolute; left: -8px; top: .7em; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--kz-sun); }
.article-body .hp-check { list-style: none; padding: 14px 18px !important; background: #fff; border: 2px solid #d5ecdb; border-radius: 18px; }
.article-body .hp-check li { position: relative; padding: 5px 0 5px 30px; }
.article-body .hp-sources { color: var(--text-mid); font-size: 13.5px !important; }
.article-body .hp-related { list-style: none; padding-left: 0 !important; }
.article-body .hp-related li { margin-bottom: 8px; }
.article-body .hp-related a { display: block; padding: 12px 16px; background: #fff; border-radius: 16px; box-shadow: var(--kz-shadow); color: var(--text) !important; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.7; }
.article-body .hp-related a:hover { color: var(--ai) !important; }
.article-body .mp-chart { background: #fff; border: 1px solid var(--line); border-radius: var(--kz-r); padding: 16px 16px 10px; box-shadow: var(--kz-shadow); }
.article-body .mp-method { background: var(--paper); border: 1px dashed var(--line); border-radius: 18px; padding: 14px 18px; font-size: 13.5px; color: var(--text-mid); }

/* 子連れチェック (.mp-box--kids) — checklist card, one icon per item (dt icons from lib.php) */
.article-body .mp-box { background: #fff; border: 1px solid var(--line); border-radius: var(--kz-r); padding: 18px 22px; box-shadow: var(--kz-shadow); font-size: 15px; }
.article-body .mp-box--kids { background: linear-gradient(180deg, #fff6df 0, #fff 64px); border: 2px solid #ffd98a; }
.article-body .mp-box--kids .mp-box__title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 17px; letter-spacing: .04em; color: var(--text); }
.kz-ck-title__ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #ffd98a; color: #5a3e00; }
.article-body .mp-box--kids .mp-box__list { grid-template-columns: max-content 1fr; gap: 0; }
.article-body .mp-box--kids dt, .article-body .mp-box--kids dd { padding: 10px 0; border-top: 1px dashed #f0dcb0; margin: 0; }
.article-body .mp-box--kids dt { display: flex; align-items: center; gap: 10px; padding-right: 18px; font-weight: 700; color: var(--text); }
.article-body .mp-box--kids dd { display: flex; align-items: center; }
.article-body .mp-box--kids dt:first-of-type, .article-body .mp-box--kids dt:first-of-type + dd { border-top: 0; }
.kz-ck__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e0f3e5; color: #23633f; }
.kz-ck--soine .kz-ck__ico { background: #efe9ff; color: #5b3fa0; }
.kz-ck--bottle .kz-ck__ico { background: #fde5ec; color: #9c2f55; }
.kz-ck--meal .kz-ck__ico { background: #fff0c4; color: #7a5000; }
.kz-ck--bath .kz-ck__ico { background: #e3effa; color: #21598a; }
.kz-ck--car .kz-ck__ico { background: #e3f3ef; color: #1f5f58; }

/* Grids fill their last row: one or two cards span two columns (3 columns ≥1081px, 2 below). */
@media (min-width: 1081px) {
    .kz-grid > :is(.kz-card:first-child:nth-last-child(3n+1), .kz-card:last-child:nth-child(3n+1):not(:first-child), .kz-card:first-child:nth-last-child(3n+2)) { grid-column: span 2; }
    .kz-grid > :is(.kz-card:first-child:nth-last-child(3n+1), .kz-card:last-child:nth-child(3n+1):not(:first-child), .kz-card:first-child:nth-last-child(3n+2)) .kz-card__link { display: grid; grid-template-columns: 1.2fr 1fr; }
    .kz-grid > :is(.kz-card:first-child:nth-last-child(3n+1), .kz-card:last-child:nth-child(3n+1):not(:first-child), .kz-card:first-child:nth-last-child(3n+2)) .kz-card__media { aspect-ratio: auto; height: 100%; min-height: 240px; }
    .kz-grid > :is(.kz-card:first-child:nth-last-child(3n+1), .kz-card:last-child:nth-child(3n+1):not(:first-child), .kz-card:first-child:nth-last-child(3n+2)) .kz-card__body { padding: 22px 24px; }
    .kz-grid > :is(.kz-card:first-child:nth-last-child(3n+1), .kz-card:last-child:nth-child(3n+1):not(:first-child), .kz-card:first-child:nth-last-child(3n+2)) .kz-card__title { font-size: 18px; }
    .kz-grid > :is(.kz-card:first-child:nth-last-child(3n+1), .kz-card:last-child:nth-child(3n+1):not(:first-child), .kz-card:first-child:nth-last-child(3n+2)) .kz-card__dek { display: -webkit-box; -webkit-line-clamp: 4; }
}
@media (min-width: 641px) and (max-width: 1080px) {
    .kz-grid > .kz-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .kz-grid > .kz-card:last-child:nth-child(odd) .kz-card__link { display: grid; grid-template-columns: 1.2fr 1fr; }
    .kz-grid > .kz-card:last-child:nth-child(odd) .kz-card__media { aspect-ratio: auto; height: 100%; min-height: 220px; }
    .kz-grid > .kz-card:last-child:nth-child(odd) .kz-card__dek { display: -webkit-box; -webkit-line-clamp: 3; }
    .kz-tiles { grid-template-columns: repeat(6, 1fr); }
    .kz-tile { grid-column: span 2; }
    .kz-tile:nth-child(4):nth-last-child(2), .kz-tile:nth-child(5):last-child { grid-column: span 3; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .kz-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 4px 24px 18px; scroll-padding: 0 24px; }
    .kz-rail > * { scroll-snap-align: start; }
    .kz-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .kz-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .kz-header__bar { flex-direction: column; align-items: stretch; gap: 8px; min-height: 0; padding: 12px 0 10px; }
    .kz-brand { align-self: center; }
    .kz-brand__mark { width: 36px; height: 36px; }
    .kz-brand__name { font-size: 22px; }
    .kz-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
    .kz-nav__item { flex-direction: column; gap: 3px; padding: 6px 2px; border-radius: 16px; font-size: 12px; line-height: 1.3; }
    .kz-nav__ico { width: 38px; height: 38px; }
    .kz-hero__inner { grid-template-columns: 1fr; }
    .kz-hero__art { display: none; }
    .kz-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .kz-ages { grid-template-columns: 1fr; }
    .kz-fcards { grid-template-columns: 1fr; }
    .kz-seasons__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .kz-container { padding: 0 16px; }
    .kz-hero { padding: 26px 0 30px; border-radius: 0 0 30px 30px; }
    .kz-section { margin-top: 40px; margin-bottom: 40px; }
    .kz-section__title { font-size: 20px; }
    .kz-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .kz-tile { min-height: 0; padding: 14px; }
    .kz-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .kz-tile__ico { width: 48px; height: 48px; margin-bottom: 6px; }
    .kz-rail { grid-auto-columns: 82%; margin: 0 -16px; padding: 4px 16px 16px; scroll-padding: 0 16px; }
    .kz-grid { grid-template-columns: 1fr; gap: 12px; }
    .kz-grid .kz-card--m .kz-card__link { display: grid; grid-template-columns: 116px 1fr; }
    .kz-grid .kz-card--m .kz-card__media { aspect-ratio: auto; height: 100%; min-height: 116px; }
    .kz-grid .kz-card--m .kz-card__media--text .kz-ico { width: 40px; height: 40px; }
    .kz-grid .kz-card--m .kz-card__body { padding: 12px 14px; gap: 6px; }
    .kz-grid .kz-card--m .kz-card__title { font-size: 14.5px; }
    .kz-pagehead { padding: 18px; gap: 12px; border-radius: 22px; }
    .kz-pagehead__ico { width: 52px; height: 52px; }
    .kz-pagehead__ico .kz-ico { width: 28px; height: 28px; }
    .kz-areabox, .kz-words--panel, .kz-seasons { padding: 18px 16px; }
    .kz-seasons__grid { grid-template-columns: 1fr; }
    .kz-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .kz-search__btn { padding: 9px 16px; }
    .kz-article__hero img { border-radius: 18px; }
    .article-body { font-size: 16px; line-height: 1.95; }
    .article-body h2 { font-size: 19.5px; padding: 11px 14px 11px 18px; border-radius: 14px; }
    .article-body h3 { font-size: 17px; }
    .article-body section.hp-hotel { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
    .article-body section.hp-hotel > h2 { font-size: 19px; background: #fff; border-radius: 16px; border: 2px dashed var(--line); padding: 12px 14px; }
    .article-body .hp-takeaways, .article-body .hp-deep, .article-body .mp-box { padding: 16px !important; }
    .article-body .kz-scroll { width: 100%; left: 0; transform: none; }
    .article-body > table, .article-body :not(.kz-scroll) > table.hp-compare { display: block; max-width: 100%; overflow-x: auto; }
    .article-body .kz-scroll::before { content: '← 横にスクロールできます →'; position: sticky; left: 0; display: block; padding: 8px 12px 0; font-size: 11.5px; color: var(--text-low); }
    .article-body .kz-scroll .hp-compare { font-size: 13px !important; }
    .article-body .kz-scroll .hp-compare td:last-child, .article-body .kz-scroll .hp-compare th:last-child { min-width: 300px; }
    .article-body .kz-scroll .hp-compare th:nth-child(2), .article-body .kz-scroll .hp-compare td:nth-child(2) { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 6px 0 8px -6px rgba(42,39,35,.25); }
    .article-body .kz-scroll .hp-compare th:nth-child(2) { background: var(--bg-alt); }
    .article-body .mp-box--kids .mp-box__list { grid-template-columns: 1fr; }
    .article-body .mp-box--kids dd { display: block; border-top: 0; padding: 0 0 10px 44px; }
    .kz-share__label { width: 100%; }
    .kz-tab:not(.is-current) .kz-tab__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kz-card, .kz-tile, .kz-age { transition: none; } .kz-card:hover, .kz-tile:hover, .kz-age:hover { transform: none; } }

/* Web font only where it carries the brand (page title, section headings): body copy in the system
   face keeps Japanese font downloads to a few subsets instead of 50-80 (Lighthouse 2026-10-16). */
h1, h2 { font-family: var(--font-display); }
