/* 静的ページ（about / privacy など）共通スタイル */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", sans-serif;
  color: #222;
  line-height: 1.8;
  background: #fafafa;
}
.page-header {
  background: #1a2b49;
  color: #fff;
  padding: 20px 16px 24px;
}
.page-header a {
  color: #bcd0f0;
  text-decoration: none;
  font-size: 13px;
}
.page-header h1 {
  margin: 8px 0 0;
  font-size: 22px;
}
/* ナビ付きヘッダー（記事・生成ページ）だけ横並びにする。
   about/privacy の「戻るリンク＋h1」ヘッダーは :has で対象外にする */
.page-header:has(.site-nav) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative; /* ハンバーガー・ドロップダウンの位置基準 */
}
.site-brand {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.page-header .site-brand { color: #fff; }
.page-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 40px;
}
.page-main h2 {
  font-size: 17px;
  border-left: 4px solid #1a2b49;
  padding-left: 10px;
  margin-top: 36px;
}
.page-main p, .page-main li { font-size: 14px; }
.page-main a { color: #0b5cad; }
.page-footer {
  border-top: 1px solid #e5e5e5;
  padding: 20px 16px 40px;
  text-align: center;
  font-size: 13px;
  background: #fff;
}
.page-footer a { color: #0b5cad; text-decoration: none; }
.page-footer .ad-disclosure { color: #888; font-size: 11px; }

/* ---- サイト共通ナビ（生成ページ用） ---- */
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a { color: #bcd0f0; text-decoration: none; font-size: 13px; }

/* ---- ハンバーガーボタン（スマホJS有効時のみ表示・CSSで3本バー描画） ---- */
.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  padding: 0;
  border: 1px solid #7f92b5;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}

/* ---- パンくず・バッジ ---- */
.breadcrumb { font-size: 12px; color: #888; margin: 14px 0 4px; }
.breadcrumb a { color: #0b5cad; text-decoration: none; }
.chain-badge {
  display: inline-block;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
}
.chain-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: baseline;
}

/* ---- ホテル個別ページ ---- */
.hotel-main h1 { font-size: 22px; margin: 6px 0 12px; }
.hotel-photo {
  width: 100%;
  max-width: 560px;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  background: #e9e9e9;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.cta-row .btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
/* .page-main a のリンク色に負けないよう2クラスで指定 */
.cta-row .btn-rakuten { background: #bf0000; color: #fff; }
.cta-row .btn-jalan { background: #fff; color: #e05a00; border: 2px solid #f08300; }
.cta-note { color: #999; font-size: 11px; }
.fact-table { border-collapse: collapse; width: 100%; max-width: 560px; font-size: 14px; }
.fact-table th, .fact-table td { border: 1px solid #e2e2e2; padding: 8px 12px; text-align: left; }
.fact-table th { background: #f4f6f9; width: 90px; white-space: nowrap; font-weight: 600; }
.chain-desc { color: #555; font-size: 13px; }
#minimap {
  width: 100%;
  max-width: 560px;
  height: 320px;
  border-radius: 10px;
  border: 1px solid #ddd;
}
.nearby-list, .hotel-list, .pref-list { padding-left: 20px; }
.nearby-list li, .hotel-list li { margin: 6px 0; font-size: 14px; }
.nb-meta { color: #888; font-size: 12px; }
.pref-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 16px;
  list-style: none;
  padding: 0;
  font-size: 14px;
}

/* ---- 記事（コラム） ---- */
.page-meta { color: #999; font-size: 12px; margin: 4px 0 20px; }
.disclaimer {
  background: #f6f7f9;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #666;
  margin: 24px 0;
}
.article-list { list-style: none; padding: 0; }
.article-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
  background: #fff;
}
.article-list a { color: #0b5cad; font-weight: 700; text-decoration: none; font-size: 15px; }
.article-list .article-desc { color: #666; font-size: 13px; margin: 6px 0 0; }
.article-list .article-date { color: #aaa; font-size: 11px; margin-bottom: 0; }
.article-card__thumb {
  width: 150px;
  height: auto; /* width/height属性をaspect-ratioで上書きするために必須 */
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border: 1px solid #eee;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fff;
}
.article-list .article-body { flex: 1; min-width: 0; }

/* 記事ヒーロー（テキストサムネ）はページ内では非表示（PC・スマホ共通）。
   役割はOGP/SNSカード（<head>の<meta>）と一覧カードに限定し、本文冒頭の
   h1との繰り返しを省いて「要点3つ」を前面に出す。<figure>とmetaは残すので
   SNS表示・一覧サムネは不変。再表示したい場合は display:block に戻すだけ。 */
.article-hero { display: none; margin: 4px 0 24px; }
.article-hero img {
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 1200 / 630;
  border: 1px solid #eee;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .article-card__thumb { width: 104px; }
}

/* ---- 記事コンポーネント（keypoints / バルーン / マップCTA） ---- */
.keypoints {
  background: #eef4fb;
  border-left: 4px solid #1a2b49;
  border-radius: 0 8px 8px 0;
  padding: 10px 16px;
  margin: 18px 0;
  font-size: 14px;
}
.keypoints ul { margin: 0; padding-left: 18px; }
.keypoints li { margin: 4px 0; }

.speech {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0;
}
.speech__avatar { font-size: 26px; line-height: 1.2; flex-shrink: 0; }
.speech__bubble {
  background: #fff7e0;
  border: 1px solid #f0dfae;
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #4a4433;
}

.map-cta {
  display: inline-block;
  background: #1a2b49;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  margin: 6px 0;
}
.article-table { border-collapse: collapse; width: 100%; font-size: 13px; margin: 12px 0; }
.article-table th, .article-table td { border: 1px solid #e2e2e2; padding: 7px 10px; text-align: left; }
.article-table th { background: #f4f6f9; font-weight: 600; }

@media (max-width: 600px) {
  .cta-row .btn { flex: 1 1 100%; }

  /* no-JSフォールバック: ナビを1行の横スクロールにして2行折返しを根絶 */
  .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .site-nav a { white-space: nowrap; flex: 0 0 auto; }

  /* JS有効時: ハンバーガー化。ブランドは常時表示、その他リンクはドロップダウンに畳む */
  html.js .nav-toggle { display: inline-flex; }
  html.js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    z-index: 1200;
    flex-direction: column;
    gap: 0;
    overflow: visible;
    min-width: 210px;
    padding: 6px 0;
    margin-top: 4px;
    background: #1a2b49;
    border: 1px solid #33456a;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }
  html.js .site-nav.open { display: flex; }
  html.js .site-nav a { padding: 11px 18px; font-size: 14px; }
}
