/* エリア別ページ（普通にスクロールする文書）用のスタイル。
   地図アプリ本体の style.css は画面固定レイアウト専用なので共用できない。
   配色は本体と合わせている。
--------------------------------------------------------------------------*/

:root {
  --bg: #f3f2ee;
  --panel: #ffffff;
  --border: #ddd9d0;
  --border-strong: #c7c2b6;
  --text: #201d18;
  --text-muted: #6f6a5f;
  --text-faint: #9a958a;
  --accent: #c1441f;
  --ink: #1c1a16;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic Medium", "Meiryo", system-ui, sans-serif;
}

* {
  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(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

/* ------------------------------------------------------------------ 見出し */

.page-top {
  background: var(--ink);
  padding: 12px 16px;
}

.page-home {
  color: #f4f1ea;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.crumbs {
  font-size: 11.5px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.crumbs a {
  color: var(--text-muted);
}

h1 {
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 12px;
}

h2 {
  font-size: 16px;
  margin: 34px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.lead {
  margin: 0 0 18px;
}

.note {
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 16px 0 0;
}

/* -------------------------------------------------------------------- 料金表 */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.price-table th,
.price-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.price-table thead th {
  background: #faf8f4;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-strong);
}

.price-table thead th:not(:first-child) {
  text-align: right;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table th[scope="row"] {
  font-weight: 600;
  min-width: 150px;
}

.price-table th[scope="row"] a {
  text-decoration: none;
}

.price-table th[scope="row"] a:hover {
  text-decoration: underline;
}

.price-table .chain {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.price-table .addr {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-faint);
  margin-top: 1px;
}

.price-table .num {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  text-align: right;
}

.price-table .num.none {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-faint);
}

/* 一般料金ではない（会員・学生などで代用した）金額。
   一般料金の列と同じ強さで出すと比較を誤らせるので落ち着いた色にする */
.price-table .num.alt {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13.5px;
}

.price-table .cat {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-faint);
}

/* ------------------------------------------------------------------ リンク */

.cta {
  margin: 22px 0 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 8px;
}

.area-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2px 14px;
}

.area-links li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.area-links a {
  text-decoration: none;
}

.area-links a:hover {
  text-decoration: underline;
}

.area-links .count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
}

/* -------------------------------------------------------------------- 広告 */

.page-ad {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 50px;
  margin: 0 0 20px;
  padding: 4px 0;
  overflow: hidden;
}

.page-ad-label {
  flex: none;
  font-size: 9px;
  color: var(--text-faint);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  padding: 1px 4px;
  line-height: 1.4;
}

/* -------------------------------------------------------------------- 脚注 */

.page-foot {
  border-top: 1px solid var(--border);
  background: var(--panel);
  padding: 18px 16px 30px;
  font-size: 12px;
  color: var(--text-muted);
}

.page-foot p {
  max-width: 760px;
  margin: 0 auto 8px;
}

.page-updated {
  color: var(--text-faint);
  font-size: 11px;
}
