/* tiaraclub.jp — 2026-10 リニューアルのスタイル
   デザイン: claude.ai/artifact/JxT3NhugbmyAvmrwCo6nmV
   人が書いた本文（manual の HTML・チェーン文章・コラム）のスタイルは prose.css。
   旧 site.css（Cocoon / LiteSpeed 結合CSS）とは併用しない。 */

:root {
  --ink: #1E2329;
  --ink-2: #3A4148;
  --muted: #5B636B;
  --line: #E6E8EB;
  --line-2: #D5D9DD;
  --surface: #F6F7F8;
  --surface-2: #EEF0F2;
  --accent: #B4234F;
  --accent-ink: #8E1A3D;
  --accent-soft: #FBEFF3;
  --radius: 12px;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-mark: "Cormorant Garamond", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: #FFFFFF;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pre { white-space: pre-line; }

/* --- ヘッダー --------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__mark { font-family: var(--font-mark); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1; color: var(--accent); text-decoration: none; }
.brand__tag { font-size: 12px; color: var(--muted); }
.gnav { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 14px; font-weight: 500; order: 3; width: 100%; overflow-x: auto; white-space: nowrap; flex-wrap: nowrap; }
.gnav a { text-decoration: none; padding: 10px 0; display: inline-block; }
.search { position: relative; margin-left: auto; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 4px 0 14px; flex: 1 1 200px; max-width: 320px; }
.search input { border: 0; outline: none; font: inherit; font-size: 14px; flex: 1; min-width: 0; height: 40px; background: transparent; }
.search button { width: 34px; height: 34px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search__results { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 8px 24px rgba(30,35,41,.12); max-height: 60vh; overflow: auto; }
.search__results a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.search__results a:hover, .search__results a[aria-selected="true"] { background: var(--surface); }
.search__results small { display: block; color: var(--muted); font-size: 12px; }
@media (min-width: 900px) {
  .gnav { order: 0; width: auto; }
}

/* --- フッター --------------------------------------------------------- */
.site-footer { margin-top: 64px; background: var(--surface); border-top: 1px solid var(--line); }
.site-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--muted); }
.site-footer .brand__mark { font-size: 22px; }
.fnav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fnav a { color: var(--ink-2); padding: 6px 0; display: inline-block; }
.copy { margin: 0; }
body.page-studio .site-footer { padding-bottom: 88px; }
@media (min-width: 900px) { body.page-studio .site-footer { padding-bottom: 0; } }

/* --- 部品 ------------------------------------------------------------- */
.crumbs ol { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 12px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 1px 8px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; }
.chip svg { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; text-align: center; line-height: 1.4; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); color: #fff; }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.ad { display: inline-block; font-size: 11px; font-weight: 700; color: var(--muted); border: 1px solid var(--line-2); border-radius: 3px; padding: 0 5px; margin-right: 6px; line-height: 1.6; }

.sec { display: flex; flex-direction: column; gap: 12px; }
.sec > h2, .sec__head h2 { font-size: 19px; }
.sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.notice { background: var(--accent-soft); border-radius: var(--radius); padding: 16px 18px; }

.info { margin: 0; border-top: 1px solid var(--line); font-size: 14px; }
.info > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--muted); }
.info dd { margin: 0; }

.points { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--ink-2); }

/* 店舗カード（近くの店舗・関連・一覧） */
.scards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scard__link { display: flex; gap: 12px; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; }
.scard__link:hover { border-color: var(--ink); color: var(--ink); }
.scard__img { flex: 0 0 96px; width: 96px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.scard__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scard__name { font-weight: 700; font-size: 15px; }
.scard__sub { font-size: 13px; color: var(--ink-2); }
.scard__meta { font-size: 12px; color: var(--muted); }
.scard__opts { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.links a { display: inline-block; font-size: 13px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; text-decoration: none; }
.links a:hover { border-color: var(--ink); color: var(--ink); }

/* 続きを読む（JS が有効なときだけ畳む） */
.js .more__content.is-collapsed { overflow: hidden; position: relative; }
.js .more__content.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.more__btn { margin-top: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }

/* --- 施設ページ ------------------------------------------------------- */
.s-head { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.s-head__kicker { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: var(--muted); }
.s-head h1 { font-size: 24px; font-weight: 700; }
.s-head__lead { margin: 0; font-size: 14px; color: var(--ink-2); }
.s-head__facts { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 14px; color: var(--ink-2); }
.s-head__facts li { display: flex; align-items: center; gap: 6px; }
.s-head__facts svg { color: var(--muted); flex: none; }
@media (min-width: 768px) { .s-head h1 { font-size: 30px; } }

/* ギャラリー: スマホは横スクロール、PCは1大＋4小 */
.gallery { position: relative; margin-top: 16px; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
.gallery__item { flex: 0 0 78%; aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__all { position: absolute; right: 24px; bottom: 10px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(30,35,41,.86); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
@media (min-width: 768px) {
  .gallery { margin: 20px 0 0; padding: 0; overflow: hidden; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 150px 150px; border-radius: var(--radius); }
  .gallery__item { aspect-ratio: auto; border-radius: 0; }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery__item--more { display: none; }
  .gallery__all { right: 12px; bottom: 12px; }
}
.gallery--single { display: block; }
.gallery-dialog { width: min(960px, 100vw - 24px); max-height: 92vh; border: 0; border-radius: var(--radius); padding: 12px; }
.gallery-dialog::backdrop { background: rgba(30,35,41,.7); }
.gallery-dialog__grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-dialog__grid img { width: 100%; border-radius: 8px; display: block; }
.gallery-dialog__close { position: sticky; top: 0; float: right; z-index: 1; min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 13px; cursor: pointer; padding: 0 14px; }

.s-grid { margin-top: 24px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.s-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
@media (min-width: 900px) {
  .s-grid { grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "main side"; align-items: start; }
  .s-main { grid-area: main; }
  .pcard { grid-area: side; position: sticky; top: 16px; }
}

.pcard { border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.pcard__label { margin: 0; font-size: 13px; color: var(--muted); }
.pcard__price { font-size: 15px; font-weight: 700; line-height: 1.6; margin-top: -4px; }
.pcard__rows { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pcard__rows > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; }
.pcard__rows dt { color: var(--muted); }
.pcard__rows dd { margin: 0; }
.cta { display: flex; flex-direction: column; gap: 6px; }
.cta .btn { width: 100%; }
.cta__note { margin: 0; font-size: 12px; color: var(--muted); }
.cta--inline { margin-top: 8px; max-width: 420px; }

.fac { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .fac { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fac li { display: flex; align-items: center; gap: 8px; font-size: 14px; background: var(--surface); border-radius: 8px; padding: 9px 12px; }
.fac-no { font-size: 14px; color: var(--muted); }
.fac-no summary { cursor: pointer; padding: 6px 0; }
.fac-no p { margin: 4px 0 0; }

.mac { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 32px; font-size: 14px; }
@media (min-width: 640px) { .mac { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mac li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mac__n { font-weight: 700; white-space: nowrap; }

.map { display: flex; align-items: center; justify-content: center; width: 100%; height: 220px; border: 0; border-radius: var(--radius); background: var(--surface-2); font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.map:hover { background: var(--line); }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }

/* スマホの画面下に固定する公式サイトボタン */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.cta-bar .btn { flex: 1; min-height: 48px; }
.cta-bar__note .ad { margin: 0; }
@media (min-width: 900px) { .cta-bar { display: none; } }
.pcard .btn { padding: 0 12px; font-size: 14px; }
.gnav { scrollbar-width: none; }
.gnav::-webkit-scrollbar { display: none; }
@media (max-width: 479px) { .brand__tag { display: none; } .s-head h1 { font-size: 22px; } }
.about__thumb { display: block; margin: 0 auto 16px; }
/* 写真が5枚未満のときの並べ方（PC） */
@media (min-width: 768px) {
  .gallery[data-count="1"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: 320px; }
  .gallery[data-count="1"] .gallery__item:first-child { grid-column: auto; grid-row: auto; }
  .gallery[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px; }
  .gallery[data-count="2"] .gallery__item:first-child { grid-column: auto; grid-row: auto; }
  .gallery[data-count="3"] { grid-template-columns: 2fr 1fr; }
  .gallery[data-count="3"] .gallery__item:first-child { grid-column: auto; }
  .gallery[data-count="4"] { grid-template-columns: 2fr 1fr 1fr; }
  .gallery[data-count="4"] .gallery__item:first-child { grid-column: auto; }
  .gallery[data-count="4"] .gallery__item:nth-child(4) { grid-column: span 2; }
}

/* --- 一覧 ------------------------------------------------------------- */
.l-head { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.l-head h1 { font-size: 22px; white-space: pre-line; }
.l-head__meta { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (min-width: 768px) { .l-head h1 { font-size: 28px; } }
.l-intro { margin-top: 16px; }
.l-intro h2 { border-bottom: 0; padding-bottom: 0; margin: 0 0 10px; font-size: 17px; }

.toc { margin-top: 20px; padding: 14px 16px; background: var(--surface); border-radius: 14px; }
.toc__label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.toc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc__list a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; }
.toc__list a:hover { border-color: var(--ink); color: var(--ink); }
.toc__list span { color: var(--muted); font-weight: 400; }

.filters { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.fchip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.fchip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.filters__empty { width: 100%; margin: 4px 0 0; }

.cgroups { margin-top: 28px; display: flex; flex-direction: column; gap: 44px; }
.cgroup { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--ink); padding-top: 18px; scroll-margin-top: 12px; }
.cgroup__head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-start; justify-content: space-between; }
.cgroup__id { display: flex; gap: 14px; align-items: center; min-width: 0; flex: 999 1 420px; }
.cgroup__img { flex: 0 0 auto; width: 104px; height: 70px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.cgroup h2 { font-size: 20px; }
.cgroup__n { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.cgroup__price { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.cgroup__cta { flex: 1 1 260px; max-width: 340px; }
.cgroup__cta .btn { min-height: 46px; font-size: 14px; padding: 0 12px; }
.cgroup__picks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.cgroup__picks li { display: flex; align-items: center; gap: 6px; }
.cgroup__picks svg { color: var(--accent); flex: none; }
.cgroup__info { font-size: 14px; color: var(--ink-2); }
.cgroup__fold summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 500; list-style: none; }
.cgroup__fold summary::-webkit-details-marker { display: none; }
.cgroup__fold[open] summary { margin-bottom: 10px; }
.nearby__chain { font-size: 16px; margin-top: 8px; }

.scard { display: flex; flex-direction: column; gap: 6px; }
.scard[hidden] { display: none; }
.scard__aff { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--accent); padding: 2px 4px; }
.scard__aff .ad { margin: 0; }
span.scard__img { display: block; }

.l-column { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }
.l-areas .prose .tag_area01 ul { margin: 0; }
.l-areas .prose .area-title { font-weight: 700; margin: 12px 0 6px; }
.l-open { margin-top: 24px; }

/* ページ送り（build/listrender.py の pagination() の出力） */
.pager { margin-top: 32px; }
.pager .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px; text-decoration: none; font-size: 14px; }
.pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .page-numbers.dots { border: 0; }
.pager .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pager .fa-angle-left::before { content: "‹"; }
.pager .fa-angle-right::before { content: "›"; }
.pager .pagination-next { text-align: center; margin-bottom: 12px; }
.pager .pagination-next-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.l-open--none { margin-top: 40px; font-size: 14px; color: var(--ink-2); }
.l-open--none h2 { font-size: 16px; }

/* チェーンのトップ */
.ctop { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ctop__price { margin: 0; flex: 999 1 380px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ctop__price > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 10px; }
.ctop__price dt { color: var(--muted); }
.ctop__price dd { margin: 0; font-weight: 500; }
.ctop__cta { flex: 1 1 260px; max-width: 340px; }
.l-find { margin-top: 32px; }

/* 都道府県マップ（templates/partials/japan-map.html）: 地方ごとに都道府県のボタンを並べる */
.prose :is(#japan-map, .japan-map) { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.prose :is(#japan-map, .japan-map) > div { display: flex; gap: 6px 14px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prose :is(#japan-map, .japan-map) .area-title { flex: 0 0 6.5em; margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 479px) { .prose :is(#japan-map, .japan-map) > div { flex-direction: column; } .prose :is(#japan-map, .japan-map) .area-title { margin: 0; flex: none; } }
.prose :is(#japan-map, .japan-map) .area { display: flex; flex-wrap: wrap; gap: 6px; }
.prose :is(#japan-map, .japan-map) .area a { text-decoration: none; }
.prose :is(#japan-map, .japan-map) .area div { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; }
.prose :is(#japan-map, .japan-map) .area a:hover div { border-color: var(--ink); }
.prose :is(#japan-map, .japan-map) .area > div { color: var(--muted); border-style: dashed; }
.prose .open-schedule { font-size: 16px; }
.prose select.target { font: inherit; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; max-width: 100%; }
.pager__label { text-align: center; font-size: 13px; color: var(--muted); margin: 0 0 8px; }

/* --- サイトトップ ------------------------------------------------------ */
.sp-only { display: inline; }
@media (min-width: 640px) { .sp-only { display: none; } }
.hero { margin-top: 24px; padding: 28px 20px; border-radius: 18px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-size: 24px; line-height: 1.4; }
.hero__lead { margin: 0; font-size: 14px; color: var(--ink-2); }
.search--hero { margin: 0; max-width: 620px; flex: none; background: #fff; border-color: var(--line-2); padding-left: 18px; }
.search--hero input { height: 52px; font-size: 16px; }
.search--hero button { width: 42px; height: 42px; }
.genres { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .hero { padding: 40px 36px; }
  .hero h1 { font-size: 32px; }
  .genres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.genre { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.genre:hover { border-color: var(--ink); color: var(--ink); }
.genre__name { font-weight: 700; font-size: 15px; }
.genre__n { margin-left: auto; font-size: 12px; color: var(--muted); }
.genre svg { color: var(--muted); flex: none; }
.genre--sub .genre__name { font-weight: 500; }

.top-areas, .top-cols { margin-top: 44px; }
.top-h2 { font-size: 21px; }
.tabs2__list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs2__list [role="tab"] { min-height: 46px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs2__list [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs2__panel { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.tabs2__panel + .tabs2__panel { margin-top: 32px; }
.js .tabs2__panel + .tabs2__panel { margin-top: 0; }
.tabs2__panel[hidden] { display: none; }
.tabs2__h { font-size: 17px; }
.js .tabs2__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.top-sub { margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.logos a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.logos a:hover { border-color: var(--ink); }
.logos img { display: block; width: 100%; height: 72px; object-fit: contain; }

.ccards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ccard { display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; }
.ccard img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.ccard__title { font-weight: 700; font-size: 14px; line-height: 1.55; }
.ccard__date { font-size: 12px; color: var(--muted); }
.ccard:hover .ccard__title { color: var(--accent); }

/* --- コラム・固定ページ ------------------------------------------------ */
.post { max-width: 760px; margin: 18px auto 0; }
.post__head { display: flex; flex-direction: column; gap: 8px; }
.post__head h1 { font-size: 24px; line-height: 1.45; }
@media (min-width: 768px) { .post__head h1 { font-size: 30px; } }
.post__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.post__meta .badge { text-decoration: none; }
.post__eye { display: block; width: 100%; height: auto; margin-top: 18px; border-radius: 14px; }
.post__body { margin-top: 24px; font-size: 16px; }
.post__foot { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }

.pcards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pcard2 { display: flex; flex-direction: column; gap: 8px; height: 100%; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pcard2:hover { border-color: var(--ink); color: var(--ink); }
.pcard2 img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--surface-2); }
.pcard2__body { display: flex; flex-direction: column; gap: 4px; padding: 0 14px 14px; }
.pcard2__cat { font-size: 12px; font-weight: 700; color: var(--accent); }
.pcard2__title { font-weight: 700; font-size: 15px; line-height: 1.55; }
.pcard2__snip { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard2__date { font-size: 12px; color: var(--muted); }
.nf { margin-top: 40px; }

/* 広告表記はサイト上部の1か所にまとめる（各ボタンの横には出さない） */
.pr-bar { margin: 0; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); line-height: 1.5; }
.pr-bar .wrap { display: block; padding-top: 5px; padding-bottom: 5px; }

/* 見直し（2026-10-12） */
.map { height: 72px; gap: 8px; border: 1px dashed var(--line-2); background: var(--surface); }
.pcard__price--big { font-size: 28px; line-height: 1.2; margin-top: -4px; }
@media (max-width: 767px) { .gallery[data-count="1"] .gallery__item { flex-basis: 100%; } }
.info dd.muted { color: var(--muted); }
@media (max-width: 767px) {
  .site-header__in { padding-top: 8px; padding-bottom: 0; gap: 6px 12px; }
  .site-header .search { order: 2; max-width: none; flex: 1 1 100%; }
  .gnav { order: 3; }
  .site-header .search input { height: 38px; }
}
@media (max-width: 767px) {
  .toc__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .toc__list li { flex: none; }
  .cgroup h2 { font-size: 18px; }
}
.cgroup__n, .genre__n { white-space: nowrap; }
.hero h1 span { display: inline-block; }
.genre__name { flex: 1 1 auto; min-width: 0; }
@media (max-width: 479px) { .genres { grid-template-columns: minmax(0, 1fr); } .hero { padding: 22px 16px; } .hero h1 { font-size: 23px; } }
.tabs2__list { scrollbar-width: none; }
.tabs2__list::-webkit-scrollbar { display: none; }
@media (max-width: 479px) { .tabs2__list [role="tab"] { flex: 1 1 0; padding: 0 6px; font-size: 14px; } }
.scard__sub, .scard__meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 余白の見直し: 一覧系のページ末尾のセクションどうしの間隔をそろえる */
:is(.page-list, .page-chain-top) main > :is(.sec, .pager) { margin-top: 48px; }
:is(.page-list, .page-chain-top) main > .l-open:not(.l-open--none) { margin-top: 24px; }
:is(.page-list, .page-chain-top) main > .l-column { padding-top: 24px; }
.sec > h2 + .muted { margin: -4px 0 0; }

/* チェーンの画像（一覧のチェーンの帯）。小さすぎて中身が見えなかったので、比率を保って大きく出す。
   スマホは横幅いっぱい、PC は見出しの左に 240px */
.cgroup__img { width: 100%; height: auto; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 767px) {
  .cgroup__id { flex-direction: column; align-items: stretch; gap: 12px; }
}
@media (min-width: 768px) {
  .cgroup__id { align-items: flex-start; gap: 20px; }
  .cgroup__img { flex: 0 0 240px; width: 240px; }
}
@media (min-width: 768px) { .cgroup__cta { flex: 0 0 320px; max-width: 320px; } }
