/* Akiba Radar theme — mobile-first, SSR-friendly, no framework */
:root {
  --ar-bg: #0f1115;
  --ar-surface: #171a21;
  --ar-surface-2: #1f232c;
  --ar-text: #eef0f4;
  --ar-muted: #9aa3b2;
  --ar-accent: #ff4d6d;
  --ar-accent-2: #ffd166;
  --ar-official: #4cc9f0;
  --ar-ok: #43d17a;
  --ar-warn: #ffb020;
  --ar-danger: #ff5a5f;
  --ar-border: #2a2f3a;
  /* 札・状態の文字の色（品質 v1 C1）。暗い表示は上の色と同じ。明るい表示だけ濃くして、白い面の上で比 4.5 以上にする */
  --ar-official-text: #4cc9f0; --ar-accent-text: #ff4d6d; --ar-accent-2-text: #ffd166; --ar-ok-text: #43d17a; --ar-warn-text: #ffb020; --ar-danger-text: #ff5a5f; --ar-focus: #4cc9f0;
  /* 白の文字を載せる主ボタンの面（品質 v1 C2）。暗い表示は --ar-accent と同じ。明るい表示だけ濃くして、白の文字との比を 4.5 以上にする */
  --ar-primary-bg: #ff4d6d;
  /* 広告の枠（2026-11-28）。広告は黄色の系統のまま（公式の水色・主ボタンの赤と分ける）。押す先の札は濃い文字で比 4.5 以上 */
  --ar-ad-tint: #211e16; --ar-ad-card: #262a33; --ar-ad-border: #ffd166; --ar-ad-cta-bg: #ffd166; --ar-ad-cta-text: #1a1d24; --ar-ad-icon-bg: #3a3322;
  --ar-radius: 12px;
  --ar-max: 1120px;
  --ar-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", "Noto Sans TC", "Noto Sans KR", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --ar-bg: #f7f7fa; --ar-surface: #ffffff; --ar-surface-2: #f0f1f5; --ar-text: #1a1d24; --ar-muted: #5c6472; --ar-border: #e1e4ea;
    --ar-official-text: #0b6a87; --ar-accent-text: #c2183f; --ar-accent-2-text: #7a5200; --ar-ok-text: #17733f; --ar-warn-text: #8f5a00; --ar-danger-text: #c62828; --ar-focus: #0b6a87; --ar-primary-bg: #c2183f;
    --ar-ad-tint: #fff8e6; --ar-ad-card: #ffffff; --ar-ad-border: #f0b429; --ar-ad-cta-bg: #ffc53d; --ar-ad-cta-text: #1a1d24; --ar-ad-icon-bg: #fff0c2;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ar-body { margin: 0; font-family: var(--ar-font); background: var(--ar-bg); color: var(--ar-text); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.ar-container { max-width: var(--ar-max); margin: 0 auto; padding: 0 16px; }
.ar-skip { position: absolute; left: -9999px; }
.ar-skip:focus { left: 8px; top: 8px; background: var(--ar-primary-bg); color: #fff; padding: 8px 12px; z-index: 100; }

/* header */
.ar-header { background: var(--ar-surface); border-bottom: 1px solid var(--ar-border); position: sticky; top: 0; z-index: 50; }
.ar-header__inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.ar-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
/* ロゴの画像（2026-11-05）。高さだけを決め、幅は画像の縦横の比。狭い画面では言語のプルダウンと 1 行に収まる高さにする（下の @media） */
.ar-brand { flex: none; }
.ar-brand__logo { display: block; height: 40px; width: auto; max-width: 100%; }
.ar-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.ar-nav a { text-decoration: none; padding: 6px 10px; border-radius: 999px; font-size: .9rem; color: var(--ar-muted); }
.ar-nav a:hover, .ar-nav a.is-active { background: var(--ar-surface-2); color: var(--ar-text); }
/* 言語の切り替えのプルダウン（2026-11-05 運営者の指示「ヘッダのあたりにプルダウン」）。details と summary で JS が無くても開閉する。
   狭い画面ではロゴと同じ行の右端に置き、ナビはその下の行（下の @media (max-width: 899px)）。開いた一覧は右端に揃えて重ねる */
.ar-langmenu { position: relative; }
.ar-langmenu__btn { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 12px; border: 1px solid var(--ar-border); border-radius: 999px; font-size: .85rem; color: var(--ar-muted); cursor: pointer; white-space: nowrap; -webkit-user-select: none; user-select: none; }
.ar-langmenu__btn::-webkit-details-marker { display: none; }
.ar-langmenu__btn::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.ar-langmenu__btn:hover, .ar-langmenu[open] > .ar-langmenu__btn { color: var(--ar-text); border-color: var(--ar-accent); }
.ar-langmenu[open] > .ar-langmenu__btn::after { transform: translateY(2px) rotate(-135deg); }
.ar-langmenu__icon { flex: none; }
.ar-lang { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; display: flex; flex-direction: column; gap: 2px; min-width: 11rem; padding: 6px; background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / .2); }
.ar-lang a { font-size: .9rem; text-decoration: none; padding: 4px 12px; border-radius: 6px; color: var(--ar-text); }
.ar-lang a:hover { background: var(--ar-surface-2); }
.ar-lang a.is-active { font-weight: 700; color: var(--ar-accent-text); background: var(--ar-surface-2); }
/* 最上位の「システムのデフォルト」（端末の言語に従う。2026-11-07）と、言語の一覧の間の区切り */
.ar-lang a.ar-lang__auto { border-bottom: 1px solid var(--ar-border); border-radius: 6px 6px 0 0; margin-bottom: 4px; }

/* layout */
.ar-main { padding-top: 20px; padding-bottom: 48px; } /* 左右は .ar-container の余白を使う（0 にすると幅 1120px 以下で本文が画面の端に付く） */
.ar-section { margin: 28px 0; }
.ar-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ar-section__title { font-size: 1.25rem; margin: 0; }
.ar-section__more { font-size: .9rem; color: var(--ar-muted); }
.ar-title { font-size: 1.6rem; line-height: 1.3; margin: 0 0 8px; }
.ar-lead { color: var(--ar-muted); margin: 0 0 16px; }
.ar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
/* 一覧の広告の枠（2026-11-24 広告の見直し・運営者の判断 5）: カードの並びの幅いっぱいに 1 枠。並びの途中の空きは後のカードで埋める（列の数は画面の幅で変わる） */
.ar-grid > .ar-grid__ad { grid-column: 1 / -1; min-width: 0; }
.ar-grid > .ar-grid__ad > .ar-affiliate-box { margin: 0; }
.ar-grid:has(> .ar-grid__ad) { grid-auto-flow: row dense; }
.ar-prose { max-width: 72ch; }
.ar-prose h2 { font-size: 1.2rem; margin: 24px 0 8px; }
.ar-prose h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.ar-prose p { margin: 0 0 12px; }

/* cards */
.ar-card { background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
/* 画像の枠は写真の有無・種別にかかわらず 4:3（店舗の画像 v1。2026-11-03）。列の幅だけで高さが決まり、画像の読み込みの前後で変わらない（CLS 0）。
   同じ行のカードは同じ列の幅なので、画像の上端と高さが揃う。2026-10-30 C8 の写真の無いカードの低い帯（.ar-card--noimg）はやめた */
/* 中央寄せ・文字の大きさは、ガイド未公開の間の季節の特集の一覧（pages/guides-classic の絵文字の枠）のために残す */
.ar-card__media { position: relative; flex: 0 0 auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ar-surface-2); display: grid; place-items: center; color: var(--ar-muted); font-size: 2rem; }
.ar-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* 写真の無いカード: 自作の分類ごとの図（線の絵。写真・建物の描写ではない）。色はテーマの変数で塗るので、明るい表示でも同じファイルを使う */
.ar-card__media--ph { background: linear-gradient(135deg, var(--ar-surface-2) 0%, var(--ar-bg) 100%); }
.ar-card__ph-note { position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center; font-size: .75rem; line-height: 1.4; color: var(--ar-muted); }
/* 狭い画面（1 列）は 4:3 の画像を左に置いた横並びにし、1 件の高さを抑える（写真のカードが 1 件で画面を占めないように）。画像の比は 4:3 のまま */
@media (max-width: 479px) {
  .ar-grid > .ar-card { flex-direction: row; align-items: flex-start; }
  .ar-grid > .ar-card > .ar-card__media { width: 40%; max-width: 160px; }
  .ar-grid > .ar-card > .ar-card__body { flex: 1 1 0; min-width: 0; padding: 10px 12px; }
  .ar-grid > .ar-card .ar-card__ph-note { bottom: 4px; }
}
.ar-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.ar-card__title { font-weight: 700; font-size: 1rem; margin: 0; overflow-wrap: anywhere; }
.ar-card__meta { font-size: .82rem; color: var(--ar-muted); }
.ar-card__summary { font-size: .88rem; color: var(--ar-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* badges */
.ar-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-badge { font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--ar-surface-2); color: var(--ar-muted); border: 1px solid var(--ar-border); white-space: nowrap; }
.ar-badge--event { color: var(--ar-accent-text); border-color: var(--ar-accent); }
.ar-badge--place { color: var(--ar-official-text); border-color: var(--ar-official); }
.ar-badge--experience { color: var(--ar-accent-2-text); border-color: var(--ar-accent-2); }
.ar-badge--collection { color: var(--ar-ok-text); border-color: var(--ar-ok); }
.ar-badge--ok { color: var(--ar-ok-text); border-color: var(--ar-ok); }
.ar-badge--warn { color: var(--ar-warn-text); border-color: var(--ar-warn); }
.ar-badge--danger { color: var(--ar-danger-text); border-color: var(--ar-danger); }
.ar-badge--grade { font-weight: 700; }

/* hero / search */
.ar-hero { background: linear-gradient(135deg, var(--ar-surface) 0%, var(--ar-surface-2) 100%); border: 1px solid var(--ar-border); border-radius: 16px; padding: 22px 18px; }
.ar-hero__title { font-size: 1.5rem; margin: 0 0 6px; }
.ar-hero__tagline { color: var(--ar-muted); margin: 0 0 14px; }
.ar-search { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ar-search__row { display: flex; gap: 8px; flex-wrap: wrap; }
.ar-search input[type=date], .ar-search select, .ar-search input[type=search] { background: var(--ar-bg); color: var(--ar-text); border: 1px solid var(--ar-border); border-radius: 8px; padding: 10px 12px; font-size: 1rem; min-width: 0; flex: 1 1 140px; }
.ar-search label { font-size: .8rem; color: var(--ar-muted); display: block; }
.ar-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: .95rem; }
.ar-btn--primary { background: var(--ar-primary-bg); color: #fff; }
.ar-btn--official { background: var(--ar-official); color: #0b1220; }
.ar-btn--ghost { background: transparent; border-color: var(--ar-border); color: var(--ar-text); }
.ar-btn--affiliate { background: var(--ar-surface-2); color: var(--ar-text); border-color: var(--ar-accent-2); }
.ar-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-chip { font-size: .82rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--ar-border); text-decoration: none; color: var(--ar-muted); background: var(--ar-surface); }
.ar-chip.is-active, .ar-chip:hover { border-color: var(--ar-accent); color: var(--ar-text); }

/* detail */
.ar-detail { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .ar-detail { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); } }
.ar-panel { background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius); padding: 16px; }
.ar-panel h2, .ar-panel h3 { margin-top: 0; font-size: 1.05rem; }
.ar-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: .92rem; }
.ar-facts dt { color: var(--ar-muted); }
.ar-facts dd { margin: 0; }
.ar-unknown { color: var(--ar-muted); font-style: italic; }
.ar-verified { font-size: .82rem; color: var(--ar-muted); border-top: 1px dashed var(--ar-border); padding-top: 8px; margin-top: 8px; }
.ar-verified strong { color: var(--ar-text); }
.ar-cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ar-official-box { border-left: 4px solid var(--ar-official); }
.ar-affiliate-box { border-color: var(--ar-ad-border); border-left: 4px solid var(--ar-ad-border); background: var(--ar-ad-tint); }
.ar-affiliate-box .ar-disclosure { font-size: .78rem; color: var(--ar-muted); margin: 0 0 8px; }
/* 記事の広告の枠（2026-11-24 広告の見直し・運営者の判断 4）: 本文の中に 1 つだけ描き、2 列の幅では main.js が右の列の最後へ移す。
   JS が動く画面（html.ar-js）だけ、移す前の本文の中の箱を隠す（2 列の画面で本文の行がずれない）。JS が無ければ本文の中に出たまま */
@media (min-width: 900px) { .ar-js .ar-detail > div > .ar-affiliate-box--movable { display: none; } }
.ar-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.ar-gallery figure { margin: 0; }
.ar-gallery img { display: block; border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; background: var(--ar-surface-2); }
.ar-gallery figcaption { font-size: .78rem; color: var(--ar-muted); margin-top: 4px; }
.ar-observation { background: var(--ar-surface-2); border-radius: 8px; padding: 10px 12px; font-size: .9rem; margin: 6px 0; }
.ar-observation__meta { font-size: .76rem; color: var(--ar-muted); }
.ar-status { font-weight: 700; }
.ar-status--ended, .ar-status--cancelled, .ar-status--permanently_closed { color: var(--ar-danger-text); }
.ar-status--ongoing, .ar-status--active, .ar-status--available { color: var(--ar-ok-text); }
.ar-status--temporarily_closed, .ar-status--postponed, .ar-status--sold_out, .ar-status--paused { color: var(--ar-warn-text); }
.ar-breadcrumb { font-size: .8rem; color: var(--ar-muted); margin-bottom: 10px; }
.ar-breadcrumb a { color: var(--ar-muted); }
.ar-notice { border: 1px solid var(--ar-warn); background: rgba(255,176,32,.08); border-radius: 8px; padding: 10px 12px; font-size: .9rem; }
.ar-empty { color: var(--ar-muted); padding: 24px; text-align: center; border: 1px dashed var(--ar-border); border-radius: var(--ar-radius); }
.ar-pagination { display: flex; gap: 8px; justify-content: center; margin: 20px 0; }
.ar-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ar-table th, .ar-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--ar-border); }

/* footer */
.ar-footer { border-top: 1px solid var(--ar-border); background: var(--ar-surface); margin-top: 40px; }
.ar-footer__inner { padding: 20px 16px; font-size: .82rem; color: var(--ar-muted); }
.ar-footer__links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.ar-footer__links a { color: var(--ar-muted); }
.ar-footer__note { margin: 0 0 6px; }
.ar-footer__copy { margin: 0; }

/* language banner (no forced redirect) */
.ar-langbanner { background: var(--ar-surface-2); border-bottom: 1px solid var(--ar-border); font-size: .85rem; padding: 6px 0; }
.ar-langbanner a { font-weight: 700; }

/* 店舗の詳細の「店の前の様子・公式 SNS」（2026-11-06）。押す前はボタンと説明だけ。押すと main.js が iframe か SNS の投稿に置き換える */
.ar-embed { margin: 10px 0 0; }
.ar-embed + .ar-embed { margin-top: 16px; }
.ar-embed__load { min-height: 44px; max-width: 100%; white-space: normal; text-align: left; }
.ar-embed__account { font-weight: 400; color: var(--ar-muted); }
.ar-embed__note { margin: 6px 0 0; font-size: .8rem; color: var(--ar-muted); overflow-wrap: anywhere; }
.ar-embed__frame { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; border: 0; border-radius: 10px; background: var(--ar-surface-2); }
.ar-embed .twitter-tweet, .ar-embed .instagram-media { max-width: 100% !important; min-width: 0 !important; }

/* fallback */
.ar-fallback { padding: 24px 16px; }

/* 2026-10-15 スマートフォンの操作性: タップ領域 44px、狭い画面ではヘッダーを固定せずナビを 1 行の横スクロールに、
   情報欄を 1 列に、長い URL を折り返す、入力欄は 16px（iOS の拡大を防ぐ）、公式リンクを情報欄の直後に */
.ar-nav a, .ar-lang a, .ar-chip { min-height: 44px; display: inline-flex; align-items: center; }
.ar-langbanner__close { min-width: 44px; min-height: 44px; padding: 0; }
.ar-prose, .ar-facts dd, .ar-observation { overflow-wrap: anywhere; }
.ar-more { margin-top: 4px; }
.ar-more > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--ar-muted); font-size: .9rem; }
.ar-more[open] > summary { margin-bottom: 6px; }
input[type=url], input[type=text], input[type=email], input[type=tel], textarea { font-size: 1rem; }
@media (max-width: 899px) {
  .ar-header { position: static; }
  .ar-brand__logo { height: 30px; }
  .ar-langmenu { order: 1; margin-left: auto; }
  .ar-nav { order: 2; flex-wrap: nowrap; overflow-x: auto; margin-left: 0; width: 100%; -webkit-overflow-scrolling: touch; }
  .ar-nav a { white-space: nowrap; }
}
/* 幅 360px 未満（320px など）: ロゴを 26px にし、ロゴと言語のプルダウンの間を詰めて 1 行に収める */
@media (max-width: 359px) {
  .ar-header__inner { column-gap: 8px; }
  .ar-brand__logo { height: 26px; }
}
@media (max-width: 599px) {
  .ar-facts { grid-template-columns: 1fr; gap: 2px; }
  .ar-facts dt { margin-top: 10px; font-weight: 600; }
}
.ar-subhead { font-size: .9rem; color: var(--ar-muted); margin: 6px 0; font-weight: 600; }
.ar-hours tr.is-today td { font-weight: 700; background: var(--ar-surface-2); }

/* 2026-11-03 店舗の画像 v1: 写真の無いカードの図・詳細の代表の写真・出典の表記
   図は mask で線の形だけを使い、色は --ar-muted（明るい表示・暗い表示に合わせる）。mask を使えない古いブラウザは図を出さず、文言だけ */
@supports (mask-image: none) or (-webkit-mask-image: none) {
  .ar-card__media--ph::before { content: ""; position: absolute; left: 50%; top: 44%; width: 30%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); background-color: var(--ar-muted); opacity: .6; -webkit-mask: url(../img/placeholders/default.svg) center / contain no-repeat; mask: url(../img/placeholders/default.svg) center / contain no-repeat; }
  .ar-card__media--ph[data-category="electronics"]::before { -webkit-mask-image: url(../img/placeholders/electronics.svg); mask-image: url(../img/placeholders/electronics.svg); }
  .ar-card__media--ph[data-category="anime_goods"]::before { -webkit-mask-image: url(../img/placeholders/anime_goods.svg); mask-image: url(../img/placeholders/anime_goods.svg); }
  .ar-card__media--ph[data-category="shopping"]::before { -webkit-mask-image: url(../img/placeholders/shopping.svg); mask-image: url(../img/placeholders/shopping.svg); }
  .ar-card__media--ph[data-category="gaming"]::before { -webkit-mask-image: url(../img/placeholders/gaming.svg); mask-image: url(../img/placeholders/gaming.svg); }
  .ar-card__media--ph[data-category="retro_games"]::before { -webkit-mask-image: url(../img/placeholders/retro_games.svg); mask-image: url(../img/placeholders/retro_games.svg); }
  .ar-card__media--ph[data-category="figures"]::before { -webkit-mask-image: url(../img/placeholders/figures.svg); mask-image: url(../img/placeholders/figures.svg); }
  .ar-card__media--ph[data-category="trading_cards"]::before { -webkit-mask-image: url(../img/placeholders/trading_cards.svg); mask-image: url(../img/placeholders/trading_cards.svg); }
  .ar-card__media--ph[data-category="arcade"]::before { -webkit-mask-image: url(../img/placeholders/arcade.svg); mask-image: url(../img/placeholders/arcade.svg); }
  .ar-card__media--ph[data-category="themed_cafes"]::before { -webkit-mask-image: url(../img/placeholders/themed_cafes.svg); mask-image: url(../img/placeholders/themed_cafes.svg); }
  .ar-card__media--ph[data-category="maid_cafe"]::before { -webkit-mask-image: url(../img/placeholders/maid_cafe.svg); mask-image: url(../img/placeholders/maid_cafe.svg); }
  .ar-card__media--ph[data-category="food"]::before { -webkit-mask-image: url(../img/placeholders/food.svg); mask-image: url(../img/placeholders/food.svg); }
  .ar-card__media--ph[data-category="popup_store"]::before { -webkit-mask-image: url(../img/placeholders/popup_store.svg); mask-image: url(../img/placeholders/popup_store.svg); }
  .ar-card__media--ph[data-category="collab_cafe"]::before { -webkit-mask-image: url(../img/placeholders/collab_cafe.svg); mask-image: url(../img/placeholders/collab_cafe.svg); }
  .ar-card__media--ph[data-category="tournament"]::before { -webkit-mask-image: url(../img/placeholders/tournament.svg); mask-image: url(../img/placeholders/tournament.svg); }
  .ar-card__media--ph[data-category="exhibition"]::before { -webkit-mask-image: url(../img/placeholders/exhibition.svg); mask-image: url(../img/placeholders/exhibition.svg); }
  .ar-card__media--ph[data-category="live"]::before { -webkit-mask-image: url(../img/placeholders/live.svg); mask-image: url(../img/placeholders/live.svg); }
  .ar-card__media--ph[data-category="stamp_rally"]::before { -webkit-mask-image: url(../img/placeholders/stamp_rally.svg); mask-image: url(../img/placeholders/stamp_rally.svg); }
  .ar-card__media--ph[data-category="illumination"]::before { -webkit-mask-image: url(../img/placeholders/illumination.svg); mask-image: url(../img/placeholders/illumination.svg); }
  .ar-card__media--ph[data-category="seasonal_decor"]::before { -webkit-mask-image: url(../img/placeholders/seasonal_decor.svg); mask-image: url(../img/placeholders/seasonal_decor.svg); }
  .ar-card__media--ph[data-category="gacha"]::before { -webkit-mask-image: url(../img/placeholders/gacha.svg); mask-image: url(../img/placeholders/gacha.svg); }
  .ar-card__media--ph[data-category="cosplay"]::before { -webkit-mask-image: url(../img/placeholders/cosplay.svg); mask-image: url(../img/placeholders/cosplay.svg); }
  .ar-card__media--ph[data-category="workshop"]::before { -webkit-mask-image: url(../img/placeholders/workshop.svg); mask-image: url(../img/placeholders/workshop.svg); }
  .ar-card__media--ph[data-category="tour"]::before { -webkit-mask-image: url(../img/placeholders/tour.svg); mask-image: url(../img/placeholders/tour.svg); }
  .ar-card__media--ph[data-category="shrine"]::before { -webkit-mask-image: url(../img/placeholders/shrine.svg); mask-image: url(../img/placeholders/shrine.svg); }
  .ar-card__media--ph[data-category="landmark"]::before { -webkit-mask-image: url(../img/placeholders/landmark.svg); mask-image: url(../img/placeholders/landmark.svg); }
}
/* 詳細の代表の写真（figure.ar-photo-hero。トップの .ar-hero の枠の飾りは使わない）。4:3 の枠で、幅の広い画面でも高さが画面を占めないよう最大 760px */
figure.ar-photo-hero { margin: 0 0 16px; padding: 0; max-width: 760px; background: none; border: 0; border-radius: 0; }
.ar-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%; border-radius: var(--ar-radius); background: var(--ar-surface-2); }
.ar-credit { display: block; margin-top: 4px; font-size: .75rem; line-height: 1.5; color: var(--ar-muted); overflow-wrap: anywhere; }
.ar-credit a { color: var(--ar-muted); }

/* 2026-11-04 品質 v1 C1: スマートフォンの操作性（静的な監査 tools/mobile-audit/static-audit.php の結果。docs/quality-checks.md「C. 表示と監視」）。
   色の系統・余白・文言の方針は変えない。押す対象を 44px にする（ボタンは今も余白で 44px 以上なので明示するだけ）・入力は 16px 以上
   （iOS の自動の拡大を防ぐ）・フォーカスをガイドの公開の有無に依らず見せる・動きを減らす設定を守る */
.ar-btn, .ar-brand, .ar-section__more, .ar-breadcrumb a, .ar-footer__links a, .ar-pagination a, .ar-badges > a, .ar-home-search__more a, .ar-stay-link__guide a, .ar-guide-item__title a, .ar-report-link a, .ar-fallback__home a { min-height: 44px; }
.ar-section__more, .ar-breadcrumb a, .ar-footer__links a, .ar-pagination a, .ar-badges > a, .ar-home-search__more a, .ar-stay-link__guide a, .ar-guide-item__title a, .ar-report-link a, .ar-fallback__home a { display: inline-flex; align-items: center; }
select, input[type=search], input[type=date], input[type=number] { font-size: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--ar-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 2026-11-04 品質 v1 C2: 実ブラウザの測定（tools/mobile-audit/mobile-audit.mjs。幅 390・明るい表示）で残った項目。
   絞り込みのチェックボックスは 24px（ラベル .ar-chip が包んで 44px の押す範囲）・言語の案内のリンクと免税制度の開閉を 44px・
   12px 未満の文字を無くす（札・写真準備中は上の規則で .75rem = 12px）。札は狭いカードで 1 つが幅を超えるときだけ折り返す */
.ar-search label.ar-chip { display: inline-flex; align-items: center; }
.ar-chip input[type=checkbox] { flex: 0 0 auto; width: 24px; height: 24px; margin: 0 6px 0 0; font-size: 1rem; }
.ar-langbanner a { display: inline-flex; align-items: center; min-height: 44px; }
.ar-taxfree-system__toggle { min-height: 44px; padding: 11px 0; cursor: pointer; }
.ar-taxfree-system small { font-size: .75rem; }
.ar-card .ar-badge { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

/* 2026-11-05 写真の作業 v1: 写真を主役にする（トップの写真の帯・写真のあるカードを狭い画面で全幅・分類の図の色・一覧の絞り込みの開閉・AVIF の <picture>）。
   文字は 12px 以上・押す対象は 44px 以上・文字の色は今の変数のまま（明るい表示・暗い表示とも比 4.5 以上）。この節は 2026-11-01 の節より前に置く（GuidesCssScopeTest の範囲の外） */
/* AVIF の <picture>（PhotoDisplay::picture）。枠・比・切り抜きは中の <img> の今の規則のまま */
.ar-picture { display: contents; }
/* 狭い画面: 写真のあるカードは画像を上に全幅（4:3）。写真の無いカードは今までどおり図を左に置いた横並び */
@media (max-width: 479px) {
  .ar-grid > .ar-card.ar-card--photo { flex-direction: column; align-items: stretch; }
  .ar-grid > .ar-card.ar-card--photo > .ar-card__media { width: 100%; max-width: none; }
  .ar-grid > .ar-card.ar-card--photo > .ar-card__body { padding: 12px 14px 14px; }
}
.ar-card--photo .ar-card__img, .ar-photo-card__img { transition: transform .3s ease; }
.ar-card--photo:hover .ar-card__img, .ar-photo-card:hover .ar-photo-card__img { transform: scale(1.03); }
/* 写真の無いカードの図: 分類の系統の色の面に、同じ色の線の図。「写真準備中」は面の色の上の白い札（文字の色は --ar-muted のまま） */
.ar-card__media--ph { --ar-ph: #2a9d8f; background: linear-gradient(135deg, color-mix(in srgb, var(--ar-ph) 28%, var(--ar-surface)) 0%, color-mix(in srgb, var(--ar-ph) 10%, var(--ar-surface)) 100%); }
.ar-card__media--ph::before { background-color: var(--ar-ph); opacity: .9; }
.ar-card__ph-note { left: 0; right: 0; width: fit-content; max-width: calc(100% - 12px); margin: 0 auto; padding: 0 8px; border-radius: 999px; background: var(--ar-surface); }
.ar-card__media--ph[data-category="electronics"], .ar-card__media--ph[data-category="exhibition"], .ar-card__media--ph[data-category="landmark"] { --ar-ph: #2f7bd8; }
.ar-card__media--ph[data-category="anime_goods"], .ar-card__media--ph[data-category="maid_cafe"], .ar-card__media--ph[data-category="figures"], .ar-card__media--ph[data-category="live"] { --ar-ph: #e0457b; }
.ar-card__media--ph[data-category="retro_games"], .ar-card__media--ph[data-category="cosplay"] { --ar-ph: #7b5bd6; }
.ar-card__media--ph[data-category="gaming"], .ar-card__media--ph[data-category="tournament"], .ar-card__media--ph[data-category="workshop"] { --ar-ph: #1f9d6a; }
.ar-card__media--ph[data-category="shopping"], .ar-card__media--ph[data-category="arcade"], .ar-card__media--ph[data-category="gacha"], .ar-card__media--ph[data-category="food"], .ar-card__media--ph[data-category="themed_cafes"], .ar-card__media--ph[data-category="collab_cafe"], .ar-card__media--ph[data-category="popup_store"] { --ar-ph: #e07a1f; }
.ar-card__media--ph[data-category="trading_cards"], .ar-card__media--ph[data-category="illumination"], .ar-card__media--ph[data-category="seasonal_decor"] { --ar-ph: #c9a227; }
.ar-card__media--ph[data-category="shrine"] { --ar-ph: #c0392b; }
/* 写真の無いイベントのカード（shared/card の ar-card__media--dated）: 分類の色の面の中央に、記録した開始日の暦の札（上の線は分類の色・月と日は本文の色）。
   分類の図は右下に小さく、「写真準備中」の札は出さない。文字は 12px 以上・色は今の変数のまま */
.ar-card__media--dated::before { left: auto; top: auto; right: 6%; bottom: 7%; width: 20%; transform: none; opacity: .5; }
.ar-card__ph-date { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 42%; max-width: calc(100% - 16px); padding: 4px 10px 6px; border-top: 6px solid var(--ar-ph, #2a9d8f); border-radius: 10px; background: var(--ar-surface); box-shadow: 0 2px 10px rgb(0 0 0 / .14); color: var(--ar-text); line-height: 1.15; text-align: center; }
.ar-card__ph-month { font-size: .8rem; font-weight: 700; color: var(--ar-muted); }
.ar-card__ph-day { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.ar-card__ph-until { font-size: .75rem; color: var(--ar-muted); white-space: nowrap; }
@media (max-width: 479px) {
  .ar-grid > .ar-card .ar-card__ph-date { padding: 3px 8px 4px; border-top-width: 5px; }
  .ar-grid > .ar-card .ar-card__ph-day { font-size: 1.6rem; }
}
/* 節の見出しの下の 1 行の説明（shared/cards-grid の $lead。旅行日のイベントが 0 件のときの代わりの節など） */
.ar-section__lead { color: var(--ar-muted); margin: -4px 0 12px; font-size: .9rem; }
/* トップの「写真で見る秋葉原」（shared/photo-strip）: 広い画面は 4 列・中くらいは 2 列・狭い画面は横に送る帯（ページの横のはみ出しは作らない） */
.ar-photo-strip__lead { color: var(--ar-muted); margin: -4px 0 10px; font-size: .9rem; }
.ar-photo-strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 899px) { .ar-photo-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .ar-photo-strip__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; }
  .ar-photo-strip__item { flex: 0 0 78%; min-width: 0; scroll-snap-align: start; }
}
.ar-photo-strip__item { min-width: 0; }
.ar-photo-card { display: flex; flex-direction: column; height: 100%; min-height: 44px; background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius); overflow: hidden; text-decoration: none; }
.ar-photo-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ar-surface-2); }
.ar-photo-card__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ar-photo-card__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; min-width: 0; }
.ar-photo-card__kind { font-size: .78rem; color: var(--ar-muted); }
.ar-photo-card__name { font-weight: 700; font-size: 1rem; overflow-wrap: anywhere; }
/* 一覧の絞り込みと検索（pages/list の details.ar-filter）。閉じていても 1 行で、開くと今の検索の欄 */
.ar-filter > .ar-filter__summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; list-style: none; }
.ar-filter > .ar-filter__summary::-webkit-details-marker { display: none; }
.ar-filter > .ar-filter__summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; line-height: 1; color: var(--ar-muted); }
.ar-filter[open] > .ar-filter__summary::after { content: "\2212"; }
.ar-filter[open] > .ar-filter__summary { margin-bottom: 10px; }
/* ガイドの立ち寄り先の写真: 広い画面でも 4:3 の枠で切り抜く（縦長の写真で行が高くならない。狭い画面の 16:10 は 2026-11-01 の節） */
.ar-guide-item__img { aspect-ratio: 4 / 3; height: auto; }
/* 写真の無いイベントに出す会場の店舗の写真（2026-11-05）。催しの絵と取り違えないよう、画像の左上に「会場の写真」を重ねる */
figure.ar-photo-hero--venue { position: relative; }
.ar-photo-venue-badge { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 2px 10px; border-radius: 999px; background: rgb(0 0 0 / .68); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.6; pointer-events: none; }
/* イベントの入口（時間で探す・種類で探す）と月のカレンダー（2026-11-06）。320px でも横にはみ出さない。押す対象は 44px 以上（.ar-chip の規則）。
   クラスはトップの入口（.ar-entries）と別の名前（.ar-evnav）にする（同じ名前で、トップの入口に grid の隙間が付き、こちらの下の余白が消えていた） */
.ar-evnav { display: grid; gap: 8px; margin: 0 0 14px; }
.ar-evnav__row { display: grid; gap: 4px; }
.ar-evnav__label { font-size: .78rem; color: var(--ar-muted); font-weight: 700; }
.ar-evnav__count { font-size: .75rem; color: var(--ar-muted); margin-left: 5px; }
.ar-chip.is-active .ar-evnav__count { color: var(--ar-text); }
/* トップの 2 つの入口（いま秋葉原にいる・これから秋葉原へ。2026-11-06）。狭い画面は縦に 2 つ、広い画面は横に 2 つ。リンクは 44px 以上 */
.ar-modes { display: grid; gap: 10px; margin: 14px 0 16px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); text-align: left; }
.ar-mode { border: 1px solid var(--ar-border); border-radius: var(--ar-radius); background: var(--ar-surface); padding: 12px 14px; }
.ar-mode--now { border-top: 4px solid var(--ar-accent); }
.ar-mode--plan { border-top: 4px solid var(--ar-official); }
.ar-mode__title { font-size: 1.05rem; margin: 0 0 2px; }
.ar-mode__lead { font-size: .85rem; color: var(--ar-muted); margin: 0 0 8px; }
.ar-mode__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ar-mode__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ar-border); border-radius: 10px; text-decoration: none; color: var(--ar-text); font-weight: 600; overflow-wrap: anywhere; }
.ar-mode__links a:hover, .ar-mode__links a:focus-visible { border-color: var(--ar-accent); }
.ar-mode__links a > span:first-child { flex: 1 1 auto; min-width: 0; }
.ar-mode__count { flex: 0 0 auto; font-size: .8rem; font-weight: 400; color: var(--ar-muted); white-space: nowrap; text-align: right; }
.ar-mode__count--wrap { flex: 0 1 auto; max-width: 58%; white-space: normal; }
.ar-cal__nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 10px; }
.ar-cal__nav > :last-child { justify-self: end; }
.ar-cal__month { font-size: 1.05rem; }
.ar-cal__move { min-height: 44px; display: inline-flex; align-items: center; font-size: .85rem; }
.ar-cal__caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ar-cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ar-cal__grid th { font-size: .75rem; font-weight: 700; color: var(--ar-muted); padding: 4px 0; text-align: center; }
.ar-cal__cell { border: 1px solid var(--ar-border); height: 52px; padding: 0; vertical-align: top; text-align: center; }
.ar-cal__cell.is-blank { background: transparent; border-color: transparent; }
.ar-cal__cell.is-past { color: var(--ar-muted); }
.ar-cal__cell.is-today { outline: 2px solid var(--ar-accent); outline-offset: -2px; }
.ar-cal__grid th.ar-cal__sat, .ar-cal__cell.ar-cal__sat .ar-cal__day { color: var(--ar-official-text); }
.ar-cal__grid th.ar-cal__sun, .ar-cal__cell.ar-cal__sun .ar-cal__day { color: var(--ar-danger-text); }
.ar-cal__cell.is-past .ar-cal__day { opacity: .6; }
.ar-cal__day { display: block; font-size: .8rem; padding-top: 4px; }
.ar-cal__link { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 52px; height: 100%; text-decoration: none; color: var(--ar-text); }
.ar-cal__link:hover, .ar-cal__link:focus-visible { background: var(--ar-surface-2, rgb(127 127 127 / .12)); }
.ar-cal__count { display: inline-block; margin-top: 2px; padding: 0 6px; border-radius: 999px; background: var(--ar-primary-bg); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.6; }
.ar-cal__note { margin: 8px 0 0; font-size: .8rem; color: var(--ar-muted); }
@media (min-width: 768px) { .ar-cal__cell, .ar-cal__link { height: 64px; min-height: 64px; } .ar-cal__day { font-size: .9rem; } }

/* 2026-11-23 デザイン改善（運営者「実装を進めて、こまかいところは推奨でいい」。docs/design-2026-11-23.md）:
   見出しの大きさ・トップの行動の優先順位・カードの情報の強弱・告知画像の全体表示・写真の無いカードの表紙・記事の冒頭の基本情報・未確認の情報の畳み・目次・表・狭い画面のヘッダー・広告の枠の強弱。
   色の系統（赤 --ar-accent・水色 --ar-official・白の面）は変えない。赤は主な行動、水色は公式の案内。枠は記事のカードと主な行動のまとまりに絞り、節の区切りは見出しと余白で示す。
   この節は 2026-11-01 の節より前に置く（GuidesCssScopeTest の範囲の外）。押す対象は 44px 以上・文字は 12px 以上・文字の色は今の変数のまま */

/* 見出しと本文の強弱（改善 9）: 題名 28〜32px・大きな節 22px・欄の見出し 20px・小見出し 18px・本文 16px。見出しの前後に余白 */
.ar-title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2rem); line-height: 1.3; margin: 0 0 12px; }
.ar-section { margin: 32px 0; }
.ar-section__title { font-size: 1.375rem; line-height: 1.35; }
.ar-panel > h2, .ar-panel__title { font-size: 1.25rem; line-height: 1.4; margin: 0 0 12px; }
.ar-panel > h3 { font-size: 1.1rem; }
.ar-prose { line-height: 1.8; }
.ar-prose h2 { font-size: 1.375rem; line-height: 1.4; margin: 1.8em 0 .6em; }
.ar-prose h3 { font-size: 1.125rem; line-height: 1.45; margin: 1.4em 0 .4em; }
.ar-prose > h2:first-child, .ar-prose > h3:first-child { margin-top: 0; }
.ar-prose h2[id], .ar-section[id] { scroll-margin-top: 84px; }
.ar-detail { gap: 24px; }
.ar-detail__badges { margin-bottom: 8px; }
.ar-badges { align-items: center; } /* 札の中のリンク（44px）に合わせて、ほかの札が縦に伸びない */
.ar-lead--intro { color: var(--ar-text); font-size: 1.05rem; line-height: 1.75; max-width: 72ch; margin: 0 0 8px; }

/* トップ（改善 1・2・12）: 見出しの中の 2 つの入口は枠を重ねない白い面。最も目立たせる行動は赤の塗り、次は枠線、ほかは小さなリンク */
.ar-home .ar-hero { border: 0; padding: 20px 18px 18px; }
.ar-modes { gap: 12px; margin: 14px 0 0; }
.ar-mode, .ar-mode--now, .ar-mode--plan { border: 0; border-radius: var(--ar-radius); background: var(--ar-surface); padding: 14px 16px 10px; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.ar-mode__lead { margin: 0 0 10px; }
.ar-mode__cta { width: 100%; min-height: 48px; justify-content: space-between; gap: 10px; font-size: 1rem; text-align: left; }
.ar-btn--outline { background: transparent; color: var(--ar-accent-text); border: 2px solid var(--ar-accent); }
.ar-btn--outline:hover { background: var(--ar-surface-2); }
.ar-mode__cta .ar-mode__count { flex: 0 0 auto; color: inherit; opacity: .9; font-size: .85rem; font-weight: 600; }
.ar-mode__links { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 4px 0 0; }
.ar-mode__links a { display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; min-height: 44px; padding: 0; border: 0; border-radius: 0; font-size: .9rem; font-weight: 600; color: var(--ar-text); text-decoration: underline; text-decoration-color: var(--ar-border); text-underline-offset: 4px; }
.ar-mode__links a:hover, .ar-mode__links a:focus-visible { text-decoration-color: var(--ar-accent); }
.ar-mode__links .ar-mode__count { font-weight: 400; }
.ar-home-events__when { margin-bottom: 12px; }
.ar-home-interest__group + .ar-home-interest__group { margin-top: 6px; }
.ar-home-interest .ar-subhead { margin: 0 0 4px; }
.ar-home-guides .ar-home-search { margin: 16px 0 0; }
.ar-home-search .ar-section__title { font-size: 1.1rem; }
/* 半日・1 日・宿泊のガイドの入口: 左に種類の図（写真ではない） */
.ar-entry[data-cover] { position: relative; padding-left: 58px; background: var(--ar-surface); }
@supports (mask-image: none) or (-webkit-mask-image: none) {
  .ar-entry[data-cover]::before { content: ""; position: absolute; left: 12px; top: 50%; width: 34px; height: 34px; transform: translateY(-50%); background-color: var(--ar-accent); -webkit-mask: url(../img/placeholders/guide.svg) center / contain no-repeat; mask: url(../img/placeholders/guide.svg) center / contain no-repeat; }
  .ar-entry[data-cover="guide_day"]::before { -webkit-mask-image: url(../img/placeholders/guide_day.svg); mask-image: url(../img/placeholders/guide_day.svg); }
  .ar-entry[data-cover="guide_stay"]::before { background-color: var(--ar-official); -webkit-mask-image: url(../img/placeholders/guide_stay.svg); mask-image: url(../img/placeholders/guide_stay.svg); }
}
/* 狭い画面のトップ: 見出しの中の入口を詰めて、最初の画面の近くにイベントのカードを入れる（今いる人の日付の説明は残し、補助のリンクは 1 行に） */
@media (max-width: 599px) {
  .ar-home .ar-hero { padding: 16px 14px 14px; }
  .ar-home .ar-hero__tagline { font-size: .9rem; margin-bottom: 10px; }
  .ar-modes { gap: 10px; margin-top: 10px; }
  .ar-mode, .ar-mode--now, .ar-mode--plan { padding: 12px 14px 4px; }
  .ar-mode__title { font-size: 1rem; }
  .ar-mode__lead { font-size: .8rem; margin-bottom: 8px; }
  .ar-mode--plan .ar-mode__lead { display: none; }
  .ar-mode__links { gap: 0 14px; }
  .ar-mode__links a { font-size: .85rem; }
  .ar-mode__links .ar-mode__count { display: none; }
  .ar-section__head, .ar-guides-live .ar-section > .ar-section__head { flex-wrap: nowrap; }
  .ar-section__title { font-size: 1.2rem; min-width: 0; }
  .ar-section__more { flex: none; white-space: nowrap; font-size: .85rem; }
  .ar-home-events__brand { display: none; }
  .ar-home-events__when { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ar-home-events__when .ar-chip { flex: none; white-space: nowrap; }
}
/* 狭い画面: トップのカードの並びは横に送る帯（縦の長さを抑える。次のカードの端を見せて続きがあると分かるように） */
@media (max-width: 599px) {
  .ar-grid--rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 2px 16px 10px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; }
  .ar-grid--rail > .ar-card { flex: 0 0 78%; min-width: 0; scroll-snap-align: start; flex-direction: column; align-items: stretch; }
  .ar-grid--rail > .ar-card > .ar-card__media { width: 100%; max-width: none; }
  .ar-grid--rail > .ar-card > .ar-card__body { padding: 12px 14px 14px; }
}

/* カード（改善 3）: 種類と分類は小さな 1 行、状態の札は行動に影響するものだけ、題名は 3 行まで、日付・場所は要約より目立たせる */
.ar-card__body { gap: 6px; }
.ar-card__kind { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--ar-muted); overflow-wrap: anywhere; }
.ar-card__kind--event { color: var(--ar-accent-text); }
.ar-card__kind--place { color: var(--ar-official-text); }
.ar-card__kind--experience { color: var(--ar-accent-2-text); }
.ar-card__kind--collection { color: var(--ar-ok-text); }
.ar-card__cat { font-weight: 400; color: var(--ar-muted); }
.ar-card__flags { gap: 4px; }
.ar-badge--strong { font-weight: 700; }
.ar-card__title { font-size: 1.02rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ar-card__facts { margin: 0; display: flex; flex-direction: column; gap: 1px; font-size: .9rem; line-height: 1.45; color: var(--ar-text); overflow-wrap: anywhere; }
.ar-card__when { font-weight: 700; }
.ar-card__summary { font-size: .85rem; line-height: 1.55; }
/* 告知画像（公式サイト・プレスリリース。改善 5）: 枠の比が違っても切り抜かず全体を出し、余白は背景色。店舗の外観・街の写真は今までどおり枠いっぱい */
.ar-card__media[data-fit="contain"], .ar-photo-card__media[data-fit="contain"] { background: var(--ar-surface-2); }
.ar-card__media[data-fit="contain"] img, .ar-photo-card__media[data-fit="contain"] img { object-fit: contain; object-position: 50% 50% !important; }
figure.ar-photo-hero[data-fit="contain"] .ar-hero__img { aspect-ratio: auto; height: auto; max-height: min(72vh, 560px); object-fit: contain; object-position: 50% 50% !important; background: var(--ar-surface-2); }
/* 写真の無いカードの表紙（改善 13）: 「写真準備中」の札をやめ、分類・ガイドの種類の図を面の中央に。写真と取り違えない線の図 */
.ar-card__media--ph:not(.ar-card__media--dated)::before { top: 50%; width: 32%; }
@supports (mask-image: none) or (-webkit-mask-image: none) {
  .ar-card__media--ph[data-category="guide"]::before { -webkit-mask-image: url(../img/placeholders/guide.svg); mask-image: url(../img/placeholders/guide.svg); }
  .ar-card__media--ph[data-category="guide_day"]::before { -webkit-mask-image: url(../img/placeholders/guide_day.svg); mask-image: url(../img/placeholders/guide_day.svg); }
  .ar-card__media--ph[data-category="guide_stay"]::before { -webkit-mask-image: url(../img/placeholders/guide_stay.svg); mask-image: url(../img/placeholders/guide_stay.svg); }
}
.ar-card__media--ph[data-category="guide"] { --ar-ph: #1f9d6a; }
.ar-card__media--ph[data-category="guide_day"] { --ar-ph: #e07a1f; }
.ar-card__media--ph[data-category="guide_stay"] { --ar-ph: #2f7bd8; }

/* 記事の冒頭の行くための情報（改善 4・6）: 広い画面は写真（左）と基本情報（右）、狭い画面はイベントが基本情報 → 写真、体験・店舗が写真 → 基本情報 */
.ar-intro { display: grid; gap: 16px; margin: 4px 0 16px; }
.ar-intro__media figure.ar-photo-hero { margin: 0; max-width: none; }
.ar-intro__media figure.ar-photo-hero--small { max-width: 100%; }
.ar-keyfacts { background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius); padding: 14px 16px 16px; min-width: 0; }
.ar-intro__lead { margin: 0 0 12px; font-size: 1rem; line-height: 1.7; color: var(--ar-text); }
.ar-keyfacts__list { margin: 0; display: grid; grid-template-columns: minmax(5.5em, max-content) minmax(0, 1fr); gap: 10px 14px; align-items: baseline; }
.ar-keyfacts__row { display: contents; } /* 行の枠は意味のまとまりだけ。ラベルの列を全部の行でそろえる */
.ar-keyfacts__row dt { font-size: .85rem; font-weight: 700; color: var(--ar-muted); }
.ar-keyfacts__row dd { margin: 0; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.ar-keyfacts__row dd small { font-weight: 400; color: var(--ar-muted); }
.ar-keyfacts__row dd a { color: var(--ar-text); }
.ar-check, .ar-keyfacts__row.is-check dd { color: var(--ar-warn-text); }
.ar-keyfacts__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ar-keyfacts__cta .ar-btn { flex: 1 1 auto; min-height: 44px; white-space: nowrap; }
@media (max-width: 379px) {
  .ar-keyfacts__list { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .ar-keyfacts__row dd { margin-bottom: 8px; }
}
@media (min-width: 900px) {
  .ar-intro { grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); align-items: start; }
  .ar-intro__media { grid-column: 1; grid-row: 1; }
  .ar-intro > .ar-keyfacts { grid-column: 2; grid-row: 1; }
  .ar-intro--nomedia { grid-template-columns: minmax(0, 760px); }
  .ar-intro--nomedia > .ar-keyfacts { grid-column: 1; }
}
/* 公式情報に記載が無い項目（改善 8）: 名前だけを畳んで示す。開けば見える（隠さない） */
.ar-unconfirmed { margin: 10px 0 0; border-top: 1px dashed var(--ar-border); }
.ar-unconfirmed:first-child { margin-top: -8px; border-top: 0; }
.ar-unconfirmed__summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--ar-muted); font-size: .9rem; font-weight: 700; }
.ar-unconfirmed p { margin: 2px 0 8px; font-size: .88rem; }
.ar-unconfirmed__label { font-weight: 700; color: var(--ar-muted); }
.ar-unconfirmed__note { color: var(--ar-muted); font-size: .82rem; }

/* 長い記事の目次（改善 10）: 本文の h2 から自動で作る。狭い画面は畳み、広い画面は開いて 2 列 */
.ar-toc { max-width: 72ch; background: var(--ar-surface); border: 1px solid var(--ar-border); border-radius: var(--ar-radius); padding: 0 16px; margin: 0 0 16px; }
.ar-toc__summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; list-style: none; }
.ar-toc__summary::-webkit-details-marker { display: none; }
.ar-toc__summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; line-height: 1; color: var(--ar-muted); }
.ar-toc[open] > .ar-toc__summary::after { content: "\2212"; }
.ar-toc__list { margin: 0 0 12px; padding-left: 1.6em; columns: 2 220px; column-gap: 28px; }
.ar-toc__list li { break-inside: avoid; }
.ar-toc__list a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ar-text); text-underline-offset: 3px; }

/* 本文の表（改善 11）: 横に送れるときだけ案内の文と右端のぼかし、最初の列は固定。見出しの行がある 4 列以上の表は、狭い画面で行ごとのカード */
.ar-table-wrap { position: relative; margin: 0 0 16px; }
.ar-table-hint { display: none; margin: 0 0 6px; font-size: .8rem; color: var(--ar-muted); }
.ar-table-wrap.is-scrollable > .ar-table-hint { display: block; }
.ar-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ar-prose .ar-table-scroll > table, .ar-guides-live .ar-prose .ar-table-scroll > table { display: table; width: 100%; max-width: none; overflow: visible; margin: 0; font-size: .9rem; }
.ar-table-scroll th:first-child, .ar-table-scroll td:first-child { position: sticky; left: 0; z-index: 1; background: var(--ar-surface); box-shadow: 1px 0 0 var(--ar-border); }
.ar-table-wrap.is-scrollable:not(.is-end)::after { content: ""; position: absolute; top: 26px; right: 0; bottom: 0; width: 28px; pointer-events: none; background: linear-gradient(to left, var(--ar-surface), transparent); }
@media (max-width: 599px) {
  .ar-prose .ar-table-wrap--stack .ar-table-scroll { overflow: visible; }
  .ar-prose .ar-table-wrap--stack .ar-table--stack, .ar-prose .ar-table-wrap--stack .ar-table--stack tbody, .ar-prose .ar-table-wrap--stack .ar-table--stack tr, .ar-prose .ar-table-wrap--stack .ar-table--stack td, .ar-guides-live .ar-prose .ar-table-wrap--stack .ar-table--stack td { display: block; width: auto; min-width: 0; }
  .ar-prose .ar-table-wrap--stack .ar-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ar-prose .ar-table-wrap--stack .ar-table--stack tr { margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--ar-border); border-radius: 10px; background: var(--ar-surface); }
  .ar-guides-live .ar-prose .ar-table-wrap--stack .ar-table--stack td, .ar-prose .ar-table-wrap--stack .ar-table--stack td { position: static; padding: 4px 0; border: 0; box-shadow: none; background: none; font-size: .95rem; }
  .ar-prose .ar-table-wrap--stack .ar-table--stack td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; color: var(--ar-muted); }
  .ar-guides-live .ar-prose .ar-table-wrap--stack .ar-table--stack td:first-child, .ar-prose .ar-table-wrap--stack .ar-table--stack td:first-child { padding-top: 0; font-size: 1.05rem; font-weight: 700; }
  .ar-prose .ar-table-wrap--stack .ar-table--stack td:first-child::before { display: none; }
}

/* 狭い画面のヘッダー（改善 14）: ロゴ・言語・メニューを 1 段に。ナビはメニューのボタンで開く（JS があるときだけ畳む。無ければ今までどおり横に送る 1 行） */
.ar-menu-toggle { display: none; }
@media (max-width: 899px) {
  .ar-js .ar-header__inner { padding-top: 6px; padding-bottom: 6px; row-gap: 0; }
  .ar-js .ar-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; order: 2; min-height: 44px; min-width: 44px; padding: 4px 14px; border: 1px solid var(--ar-border); border-radius: 999px; background: transparent; color: var(--ar-text); font: inherit; font-size: .85rem; cursor: pointer; }
  .ar-js .ar-menu-toggle:hover, .ar-js .ar-header.is-menu-open .ar-menu-toggle { border-color: var(--ar-accent); }
  .ar-menu-toggle__icon { position: relative; flex: none; width: 16px; height: 2px; border-radius: 1px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .ar-header.is-menu-open .ar-menu-toggle__icon { box-shadow: none; transform: rotate(45deg); }
  .ar-header.is-menu-open .ar-menu-toggle__icon::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: rotate(90deg); }
  .ar-js .ar-nav { display: none; order: 3; }
  .ar-js .ar-header.is-menu-open .ar-nav { display: flex; flex-direction: column; overflow: visible; width: 100%; margin: 6px 0 4px; padding: 6px 0 0; border-top: 1px solid var(--ar-border); }
  .ar-js .ar-header.is-menu-open .ar-nav a { border-radius: 8px; padding: 6px 10px; font-size: 1rem; color: var(--ar-text); }
  .ar-langbanner { padding: 0; font-size: .8rem; }
}
@media (max-width: 479px) {
  .ar-js .ar-menu-toggle { padding: 4px 12px; }
  .ar-js .ar-menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 399px) {
  .ar-langmenu__btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ar-langmenu__btn { padding: 4px 10px; min-width: 44px; justify-content: center; }
  .ar-langmenu__btn::after { display: none; }
}

/* 広告の枠（改善 15）: 宿の広告を先に大きく、交通・通信などは小さな見出しの下にまとめる。広告であることの表示（広告の札・[PR]・開示の文）は今までどおり */
.ar-offer-group + .ar-offer-group { margin-top: 12px; }
.ar-offer-group__title { margin: 0 0 6px; font-size: .82rem; font-weight: 700; color: var(--ar-muted); }
.ar-affiliate-box .ar-offer-group .ar-cta { margin: 0; }
.ar-btn--affiliate.ar-btn--affiliate-main { min-height: 48px; border-width: 2px; font-size: 1rem; }
/* 押しやすい広告の行（2026-11-28 運営者「広告がまったく目立たない」）: 種類の絵・題と [PR]・押す先の札（料金を見る・詳しく見る）を 1 枚のカードにする。
   広い枠（トップ・一覧）は 2 列以上、右の欄と狭い画面は 1 列。札が入りきらなければ次の行の右へ。広告であることの表示（札・[PR]・開示の文）と、出す広告・リンク・計測の属性は変えない */
.ar-affiliate-box .ar-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 10px; }
.ar-affiliate-box .ar-btn--affiliate { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 12px; width: 100%; padding: 10px 12px; border: 2px solid var(--ar-ad-border); border-radius: 12px; background: var(--ar-ad-card); color: var(--ar-text); font-weight: 700; line-height: 1.4; box-shadow: 0 2px 6px rgb(0 0 0 / .12); }
.ar-affiliate-box .ar-btn--affiliate:hover { box-shadow: 0 4px 14px rgb(0 0 0 / .22); }
.ar-affiliate-box .ar-btn--affiliate:hover .ar-offer__go { filter: brightness(1.06); }
.ar-affiliate-box .ar-offer__icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--ar-ad-icon-bg); font-size: 1.5rem; line-height: 1; }
.ar-affiliate-box .ar-offer__text { flex: 1 1 10em; min-width: 0; overflow-wrap: anywhere; }
.ar-affiliate-box .ar-offer__text small { margin-left: 2px; color: var(--ar-muted); font-weight: 400; font-size: .75rem; white-space: nowrap; }
.ar-affiliate-box .ar-offer__go { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--ar-ad-cta-bg); color: var(--ar-ad-cta-text); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.ar-affiliate-box .ar-offer__arrow { font-size: 1.25em; line-height: 1; }

/* 2026-11-01 ガイド・回遊・本文の中の広告の枠。320px〜広い幅で横にはみ出さない。キーボードのフォーカスを見えるようにする
   既存の要素に当たる規則は .ar-guides-live（公開中の旅行ガイドがあるときの body の class。Frontend\TemplateLoader）の下に置き、
   ガイドが未公開の間は画素を変えない。新しい要素だけの規則はそのまま（GuidesCssScopeTest が確かめる。第 2 段階の後に外す） */
.ar-guides-live a:focus-visible, .ar-guides-live button:focus-visible, .ar-guides-live input:focus-visible, .ar-guides-live select:focus-visible, .ar-guides-live summary:focus-visible, .ar-guides-live .ar-chip:focus-within { outline: 2px solid var(--ar-focus); outline-offset: 2px; }
.ar-guides-live .ar-detail > * { min-width: 0; }
.ar-detail--single { grid-template-columns: minmax(0, 1fr); }
.ar-guides-live .ar-grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.ar-guides-live .ar-lang { flex-wrap: wrap; }
.ar-guides-live .ar-section__head { flex-wrap: wrap; }
.ar-guides-live .ar-section__title, .ar-guides-live .ar-title, .ar-guides-live .ar-card__title, .ar-guides-live .ar-breadcrumb { overflow-wrap: anywhere; }
.ar-guides-live .ar-badge { max-width: 100%; white-space: normal; }
.ar-guides-live .ar-btn { max-width: 100%; }
.ar-guides-live .ar-search input[type=date], .ar-guides-live .ar-search select, .ar-guides-live .ar-search input[type=search] { width: 100%; }
.ar-guides-live .ar-chips select { max-width: 100%; }
.ar-guides-live .ar-prose ul, .ar-guides-live .ar-prose ol { margin: 0 0 12px; padding-left: 1.4em; }
.ar-guides-live .ar-prose li { margin-bottom: 4px; }
.ar-guides-live .ar-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 12px; font-size: .9rem; }
.ar-guides-live .ar-prose th, .ar-guides-live .ar-prose td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--ar-border); }
.ar-guides-live .ar-prose a { text-decoration: underline; }
.ar-guides-live .ar-prose .ar-badge { vertical-align: middle; }
.ar-guide-body h2:first-child, .ar-guide-body h3:first-child { margin-top: 0; }
.ar-guides-live .ar-guide-body > :last-child { margin-bottom: 0; }
.ar-guide-items { list-style: none; margin: 0; padding: 0; }
.ar-guide-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ar-guide-item__no { flex: 0 0 auto; min-width: 28px; font-weight: 800; font-size: 1.3rem; color: var(--ar-accent-text); }
.ar-guide-item__body { flex: 1 1 auto; min-width: 0; }
.ar-guide-item__title { margin: 4px 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.ar-guide-item__summary { margin: 0 0 6px; color: var(--ar-muted); font-size: .9rem; }
.ar-guide-item__comment { margin: 0; font-size: .9rem; }
.ar-guide-item__img { flex: 0 0 120px; width: 120px; border-radius: 8px; object-fit: cover; }
@media (max-width: 479px) {
  .ar-guide-item { flex-wrap: wrap; }
  .ar-guide-item__body { flex-basis: calc(100% - 40px); }
  .ar-guide-item__img { flex: 1 1 100%; width: 100%; aspect-ratio: 16/10; }
}
.ar-oneline { color: var(--ar-muted); margin: 0 0 12px; }
.ar-oneline a { color: var(--ar-text); }
.ar-date-context { font-weight: 700; margin: 0 0 12px; }
.ar-stay-link { border-top: 1px solid var(--ar-border); padding-top: 16px; }
.ar-stay-link__guide { margin: 6px 0 0; }
.ar-stay-link__guide a { color: var(--ar-accent-2); font-weight: 700; }
@media (prefers-color-scheme: light) { .ar-stay-link__guide a { color: var(--ar-text); } }
.ar-stay-link__note { margin: 6px 0 0; font-size: .85rem; color: var(--ar-muted); }
/* 本文の中の広告の枠: 公式のリンクの色（--ar-official）と分け、本文と区別できるよう面の色を変える */
.ar-affiliate-box--inline { background: var(--ar-ad-tint); margin: 20px 0; max-width: 100%; }
.ar-affiliate-box--inline h3 { margin-top: 0; }
/* 広告の枠の部品。.ar-prose の中でも同じ見た目にするため、.ar-affiliate-box から指定する */
.ar-affiliate-box .ar-ad-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.ar-affiliate-box .ar-ad-head h3 { margin: 0; min-width: 0; }
/* 広告を描くページの上部の 1 行。広告が無いページには要素が無い */
.ar-ad-notice { font-size: .85rem; color: var(--ar-muted); margin: 0 0 12px; padding: 4px 8px; border-left: 3px solid var(--ar-accent-2); background: var(--ar-surface-2); overflow-wrap: anywhere; }
.ar-ad-notice--outer { margin: 12px 0 0; }
.ar-ad-label { flex: 0 0 auto; font-size: .75rem; font-weight: 700; line-height: 1.4; padding: 1px 8px; border: 1px solid var(--ar-ad-border); border-radius: 4px; background: var(--ar-ad-cta-bg); color: var(--ar-ad-cta-text); }
.ar-affiliate-box .ar-offer-notice { font-size: .78rem; margin: 0 0 8px; padding: 4px 8px; border-left: 3px solid var(--ar-warn); background: rgba(255,176,32,.12); }
.ar-affiliate-box .ar-offer-note { font-size: .78rem; color: var(--ar-muted); margin: 8px 0 0; }
.ar-affiliate-box .ar-cta { margin: 8px 0 0; }
/* 広告コードの箱。コードの属性は変えない。計測の 1×1 の画像は箱の流れから外し、余白を増やさない（display:none は読み込まれなくなるので使わない） */
.ar-affiliate-box .ar-offer-creative { position: relative; max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.ar-affiliate-box .ar-offer-creative img { max-width: 100%; height: auto; }
.ar-affiliate-box .ar-offer-creative img[width="1"][height="1"] { position: absolute; }
.ar-affiliate-box .ar-offer-creative small { display: block; margin-top: 2px; color: var(--ar-muted); }
.ar-affiliate-box .ar-offer-creative__frame { display: flex; align-items: center; justify-content: center; max-width: 100%; border: 1px dashed var(--ar-accent-2); color: var(--ar-muted); }
/* 商品カードの広告（2026-11-29。WidgetCode）。ASP の枠は行の幅いっぱい。高さは main.js が合わせる（読み込む前の値は KKday の 3 枚の横並び） */
.ar-affiliate-box .ar-offer-widget { grid-column: 1 / -1; min-width: 0; }
/* 枠の中（KKday）は背景が透明で、カードの下の注記が灰色の文字。暗い表示でも読めるように、枠の背景は明るい色に固定する */
.ar-affiliate-box .ar-offer-widget__frame { display: block; width: 100%; height: 489px; border: 0; border-radius: 8px; background: #f4f5f7; }
.ar-affiliate-box .ar-offer-widget small { display: block; margin-top: 2px; padding-inline: 16px; color: var(--ar-muted); }
.ar-affiliate-box .ar-offer-widget--preview { padding: 12px; border: 1px dashed var(--ar-accent-2); color: var(--ar-muted); }
/* KKday のカードは枠の幅が 320px より狭いと左の端が切れる（2026-11-29 の見本で確かめた。スマホと右の列で 306〜318px になる）。
   箱の内側の余白（.ar-panel の 16px）を使って枠を広げる（375px のスマホで 338px・右の列で 350px） */
.ar-affiliate-box .ar-offer-widget { margin-inline: -16px; }
.ar-btn--affiliate { min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.ar-guides-live .ar-prose a.ar-btn { text-decoration: none; }
.ar-btn--affiliate small { flex: 0 0 auto; white-space: nowrap; }
/* トップの入口（公開中のガイドがあるとき。スマートフォンの最初の画面に入れる） */
.ar-entries { margin: 0; }
.ar-entries__title { font-weight: 700; font-size: .9rem; margin: 0 0 6px; }
.ar-entries__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 8px; }
.ar-entry { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ar-border); border-radius: 10px; background: var(--ar-bg); text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.ar-entry:hover { border-color: var(--ar-accent); }
.ar-entry__kicker { font-size: .76rem; color: var(--ar-muted); }
.ar-entry__name { font-weight: 700; font-size: .95rem; }
.ar-entry .ar-badge { align-self: flex-start; }
.ar-home-search .ar-section__title { margin-bottom: 8px; }
.ar-home-search__more { margin: 8px 0 0; font-size: .85rem; }
.ar-home-search__more a { color: var(--ar-muted); }
/* 本文の表: 文字単位で折り返すと 1 文字ずつの列になるので、列に最低の幅を持たせ、入らない分は表の中だけ横にスクロールする */
.ar-guides-live .ar-prose table { -webkit-overflow-scrolling: touch; }
.ar-guides-live .ar-prose th, .ar-guides-live .ar-prose td { overflow-wrap: normal; vertical-align: top; }
@media (max-width: 599px) {
  .ar-guides-live .ar-prose table { font-size: .8rem; }
  .ar-guides-live .ar-prose th, .ar-guides-live .ar-prose td { min-width: 6.5em; padding: 5px 6px; }
}
