/* Rwing（rwing-sports.com）— アスファルトとセンターラインの黄色をテーマにした配色 */
:root {
  --ink: #1f2328;
  --sub: #5b636e;
  --line: #e3e6ea;
  --bg: #f4f5f7;
  --card: #fff;
  --asphalt: #23262b;
  --asphalt2: #2f333a;
  --yellow: #f5b800;
  --yellow-d: #c99500;
  --blue: #1565c0;
  --green: #1e8e3e;
  --red: #d32f2f;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16px; line-height: 1.85; -webkit-text-size-adjust: 100%;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: #0d47a1; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 10; }

/* ヘッダー */
.site-header { background: var(--asphalt); border-bottom: 4px solid var(--yellow); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 8px 0; }
.logo:hover { color: #fff; }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, var(--yellow) 0 22%, #d9dde3 23% 52%, #111 53% 100%); box-shadow: 0 0 0 2px #444 inset; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 22px; letter-spacing: .04em; font-style: italic; }
.logo-text small { font-size: 11px; color: #c9ced6; }
.gnav { display: flex; gap: 4px; flex-wrap: wrap; }
.gnav a { color: #e9ecf0; text-decoration: none; font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.gnav a:hover { background: var(--asphalt2); color: var(--yellow); }

/* トップのヒーロー */
.hero { background: linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt2) 100%); color: #fff; padding: 28px 0 32px; position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 40px, transparent 40px 70px); opacity: .9; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.hero-kicker { display: inline-block; margin: 0 0 6px; background: var(--yellow); color: #111; font-weight: 700; font-size: 14px; padding: 2px 10px; border-radius: 4px; }
.hero h1 { font-size: 28px; line-height: 1.45; margin: 4px 0 12px; }
.hero-lead { color: #d8dce2; margin: 0 0 18px; font-size: 15px; }
.hero-img img { border-radius: var(--radius); display: block; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* レイアウト */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; padding-top: 20px; padding-bottom: 40px; }
.main { min-width: 0; }
.crumbs { font-size: 13px; color: var(--sub); margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--sub); }
.pr { font-size: 12px; color: var(--sub); margin: 0 0 8px; }
.article { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px 28px; }
.article h1 { font-size: 26px; line-height: 1.45; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 3px solid var(--yellow); }

/* 本文 */
.body h2 { font-size: 21px; line-height: 1.45; margin: 40px 0 16px; padding: 10px 14px; background: var(--asphalt); color: #fff; border-radius: 8px; border-left: 6px solid var(--yellow); }
.body h2:first-child { margin-top: 8px; }
.body h3 { font-size: 19px; margin: 32px 0 12px; padding: 4px 0 6px 12px; border-left: 5px solid var(--yellow); border-bottom: 1px solid var(--line); }
.body h4 { font-size: 18px; margin: 30px 0 12px; padding: 6px 12px; background: #fff7d6; border-radius: 6px; }
.body h5 { font-size: 16px; margin: 24px 0 10px; padding-left: 10px; border-left: 4px solid #9aa3ad; }
.body p { margin: 0 0 1em; }
.body .red, .red { color: var(--red); }
.txt-img { margin: 0 0 .5em; }
.txt-img img.fl, .body img.fl { float: left; margin: 4px 16px 10px 0; max-width: 40%; }
.txt-img img.fr, .body img.fr { float: right; margin: 4px 0 10px 16px; max-width: 40%; }
.body h2, .body h3, .body h4 { clear: both; }
.center { text-align: center; }
.lead-box, .nmlbox.graybg { background: #f6f7f9; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.scroll-box { max-height: 220px; overflow: auto; font-size: 13px; line-height: 1.7; background: #f6f7f9; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0 0 1em; }
.video { margin: 0 0 1em; }
.video video { width: 100%; border-radius: 10px; background: #000; display: block; }
img.px, .px { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
a.banner { display: block; margin: 8px 0 4px; }
a.banner img { display: block; border: 1px solid var(--line); border-radius: 6px; }

/* ボタン */
.btn { display: inline-block; background: var(--yellow); color: #111 !important; font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 999px; line-height: 1.4; box-shadow: 0 2px 0 var(--yellow-d); transition: transform .1s, box-shadow .1s; }
.btn:hover { transform: translateY(1px); box-shadow: 0 1px 0 var(--yellow-d); }
.btn::after { content: " ›"; }
.btn-ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px #fff; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--yellow); color: var(--yellow) !important; }
.btn-block { display: block; text-align: center; }
.body p > .btn, .body .btn { margin: 4px 0; }

/* トップ：ランキング */
.rank-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 16px; background: #fff; }
.rank-card:first-of-type { border: 2px solid var(--yellow); }
.rank-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rank-head h3 { margin: 0; padding: 0; border: 0; font-size: 20px; }
.rank-no { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: #8a939e; line-height: 1; }
.rank-no small { font-size: 10px; display: block; margin-top: -10px; }
.rank-1 { background: linear-gradient(135deg, #f7c948, #c99500); }
.rank-2 { background: linear-gradient(135deg, #c4cad1, #8a939e); }
.rank-3 { background: linear-gradient(135deg, #d9a273, #a86a3b); }
.rank-body { display: flex; gap: 16px; align-items: flex-start; }
.rank-body p { margin: 0; font-size: 15px; }
.rank-img { flex: none; width: 234px; }
.rank-img img { display: block; border-radius: 6px; border: 1px solid var(--line); }
.rank-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; position: relative; }

/* トップ：都道府県 */
.pref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0 0 1em; }
.pref-region { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pref-region h3 { margin: 0 0 6px; padding: 0; border: 0; font-size: 15px; color: var(--sub); }
.pref-region ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pref-region a { display: inline-flex; align-items: baseline; gap: 4px; text-decoration: none; background: #f2f4f7; color: var(--ink); padding: 4px 10px; border-radius: 6px; font-size: 15px; }
.pref-region a small { font-size: 11px; color: var(--sub); }
.pref-region a:hover { background: #fff2bf; }

/* チップ */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { display: inline-block; text-decoration: none; color: var(--ink); background: #f2f4f7; border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; font-size: 14px; line-height: 1.6; }
.chips a:hover { background: #fff2bf; border-color: var(--yellow); }
.chips a[aria-current] { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
.city-chips a small { margin-left: 4px; color: var(--sub); font-size: 11px; }

/* 都道府県ページ：店舗カード */
.pref-summary { background: #fffaf0; border: 1px solid #f3e1a6; border-radius: 10px; padding: 12px 14px; margin: 0 0 20px; }
.pref-summary p { margin: 0 0 8px; }
.pref-summary b { font-size: 20px; color: var(--yellow-d); }
.body h4.city, .body h5.city { scroll-margin-top: 10px; }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 0 0 1em; }
.shop { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; display: flex; flex-direction: column; }
.shop p { margin: 0; }
.shop-name { font-weight: 700; line-height: 1.5; }
.shop-addr { font-size: 14px; color: var(--sub); line-height: 1.6; margin: 4px 0 8px !important; flex: 1; }
.shop-addr .zip { font-size: 12px; }
.shop-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.sbtn { font-size: 13px; text-decoration: none; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink) !important; background: #f6f7f9; white-space: nowrap; }
.sbtn-map::before { content: "📍"; margin-right: 3px; }
.sbtn-tel { background: #e8f5e9; border-color: #c8e6c9; }
a.sbtn:hover { background: #fff2bf; }
.caution { font-size: 13px; color: var(--sub); background: #f6f7f9; border-radius: 8px; padding: 10px 12px; margin: 20px 0 0; }

/* 関連 */
.more { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; margin-top: 16px; }
.more h2 { font-size: 17px; margin: 0 0 10px; }

/* サイドバー */
.side { min-width: 0; }
.side-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 16px; }
.side-box h2 { font-size: 16px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--yellow); }
.side-region { margin-bottom: 8px; }
.side-region h3 { font-size: 13px; color: var(--sub); margin: 0 0 4px; }
.side-region .chips a, .side .chips a { font-size: 13px; padding: 2px 9px; }
.side-cta img { display: block; border-radius: 8px; margin-bottom: 10px; }

/* フッター */
.site-footer { background: var(--asphalt); color: #c9ced6; padding: 24px 0 30px; font-size: 13px; border-top: 4px solid var(--yellow); }
.fnav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.fnav a { color: #fff; text-decoration: none; }
.fnav a:hover { color: var(--yellow); }
.site-footer .note { color: #9aa3ad; margin: 0 0 6px; }
.site-footer .copy { margin: 0; }
.totop { opacity: .85; position: fixed; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--asphalt); color: var(--yellow); display: grid; place-items: center; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.25); font-size: 15px; }

/* スマホ */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .hero-in { grid-template-columns: 1fr; }
  .hero h1 { font-size: 22px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .gnav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .gnav a { white-space: nowrap; background: var(--asphalt2); font-size: 13px; }
  .article { padding: 16px 14px 20px; border-radius: 10px; }
  .article h1 { font-size: 21px; }
  .body h2 { font-size: 18px; margin-top: 32px; }
  .body h3 { font-size: 17px; }
  .body h4 { font-size: 16px; }
  .rank-body { flex-direction: column; }
  .rank-img { width: auto; }
  .rank-btns .btn { flex: 1 1 140px; text-align: center; font-size: 15px; padding: 10px 12px; }
  .shops { grid-template-columns: 1fr; }
  .layout { padding-left: 10px; padding-right: 10px; }
}
