/* ==========================================================
   共通スタイル
========================================================== */

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================
   ヘッダー（PCデザイン）
========================================================== */

header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: relative;
}

.site-logo a {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* 右側グループ */
.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* メニュー (PC) */
.header-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.header-menu li a {
  font-weight: bold;
  color: #333;
}

/* SNS */
.header-sns {
  display: flex;
  gap: 15px;
  font-size: 20px;
}

/* ハンバーガー（PCでは非表示） */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}


/* ==========================================================
   フロントページ
========================================================== */

.front-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* キャッチコピー */
.catch-copy {
  text-align: center;
  margin: 40px 0 20px;
}

.catch-copy h2 {
  font-size: 28px;
}

.catch-copy p {
  color: #666;
}

/* スライドショー */
.simple-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* ← これが最強 */
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
  background: #2a2a2a;/* ← これを追加（超重要） */
}


.simple-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 768px) {
  .simple-slider {
    aspect-ratio: 4 / 3; /* ← 写真が自然に収まる */
  }
}

@media (max-width: 768px) {
  .simple-slider img {
    object-position: center 50%;
  }
}


.simple-slider img.active {
  opacity: 1;
}

/* ==========================================================
   カード一覧（NEWS / 駅 / バス）
========================================================== */

.section h2 {
  padding-left: 8px;
  border-left: 6px solid #ef5350;
  margin-bottom: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  width: calc(33.333% - 15px);
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
}

.card-title {
  padding: 12px 15px 5px;
  font-size: 18px;
  font-weight: bold;
}

.card-date {
  padding: 0 15px 15px;
  color: #666;
}

/* NEWSカラー */
.news-section h2 {
  color: #c62828;
  border-left-color: #ef5350;
}

/* 駅カラー */
.station-section h2 {
  color: #0d47a1;
  border-left-color: #1976d2;
}

/* バスカラー */
.bus-section h2 {
  color: #1b5e20;
  border-left-color: #4caf50;
}

/* ==========================================================
   自己紹介ページ
========================================================== */
.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.about-page img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.about-page p {
  font-size: 16px;
  line-height: 1.8;
}

/* ==========================================================
   お問い合わせページ
========================================================== */
.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.contact-form-wrapper {
  margin-top: 20px;
}

/* ==========================================================
   ここからレスポンシブ
========================================================== */

/* ------------------------------
   タブレット（769px〜1024px）
------------------------------ */
@media (min-width: 769px) and (max-width: 1024px) {

  header.site-header {
    padding: 15px 25px;
  }

  .header-right {
    gap: 20px;
  }

  .header-menu {
    gap: 18px;
  }

  .front-main {
    max-width: 900px;
  }

  .card {
    width: calc(50% - 15px);
  }
}

/* ------------------------------
   スマホ（〜768px）
------------------------------ */
@media (max-width: 768px) {

  header.site-header {
    padding: 10px 14px;
  }

  /* ハンバーガー表示 */
  .hamburger {
    display: block;
    z-index: 1001;
  }

  /* メニュー（スマホ用） */
.header-menu {
  display: none;
  position: absolute;
  top: 55px;
  right: 0;
  background: #faf7f0;
  flex-direction: column;
  width: 200px;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e6e2da;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 1002;
}

  .header-menu.active {
    display: flex;
  }

  /* SNS → 非表示 */
  .header-sns {
    display: none;
  }

  /* カード1列 */
  .card {
    width: 100%;
  }

  .simple-slider {
    height: 220px;
  }

  .catch-copy h2 {
    font-size: 22px;
  }
}

/* ------------------------------
   超スマホ（〜480px）
------------------------------ */
@media (max-width: 480px) {

  .simple-slider {
    height: 180px;
  }

  .catch-copy h2 {
    font-size: 20px;
  }

  .catch-copy p {
    font-size: 14px;
  }
}

/* スマホのメニュー内 SNS アイコン */
@media (max-width: 768px) {
  .mobile-sns {
    display: flex;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    gap: 15px;
    font-size: 20px;
  }

  .mobile-sns.active {
    display: flex;
  }

  /* スマホではヘッダー右上のSNSは非表示 */
  .header-sns {
    display: none;
  }
}

/* PCではスマホ用SNS (.mobile-sns) を必ず非表示 */
@media (min-width: 769px) {
  .mobile-sns {
    display: none;
  }
}

/* スマホではPC用SNS (.header-sns) を非表示 */
@media (max-width: 768px) {
  .header-sns {
    display: none;
  }
}

/* ==========================================================
   404 ページ（レスポンシブ対応）
========================================================== */

.notfound {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.notfound h1 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.notfound p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.notfound-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  margin: 20px auto;
  display: block;
}

/* トップへ戻るボタン */
.back-home {
  display: inline-block;
  padding: 12px 20px;
  background: #e3f2fd;
  color: #0d47a1;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.2s;
  text-decoration: none;
}

.back-home:hover {
  background: #0d47a1;
  color: #fff;
}

/* スマホ調整（〜768px） */
@media (max-width: 768px) {
  .notfound {
    margin-top: 40px;
  }

  .notfound h1 {
    font-size: 22px;
  }

  .notfound p {
    font-size: 14px;
  }

.notfound-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }
}
/* カード用レスポンシブ */
@media (max-width: 768px) {
  .card img {
    aspect-ratio: 16 / 9;
  }
}

/* =========================
   Ticket 共通
========================= */

.single-ticket,
.archive-ticket {
  max-width: 1000px;
  margin: 0 auto;

}

.ticket-header h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #222;
}

/* 画像 */
.ticket-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* 情報ブロック */
.ticket-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.ticket-info li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 金額 */
.ticket-price {
  font-weight: bold;
  background: #fff3e0;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* 説明文 */
.ticket-description {
  margin-top: 20px;
  line-height: 1.8;
}

/* 戻るリンク */
.back-link {
  margin-top: 30px;
}

.back-link a {
  text-decoration: none;
  color: #0073aa;
}

/* =========================
   レスポンシブ
========================= */

@media (max-width: 768px) {
  .ticket-header h1 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .ticket-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  /* チケットカード共通デザイン統一 */
.ticket-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s;
}

.ticket-card:hover {
  transform: translateY(-6px);
}

}


/* ==============================
   ルート表示：PC（デフォルト）
============================== */
.route-line {
  list-style: none;
  padding-left: 20px;
  border-left: 2px solid #cfd8dc;
  margin: 60px 0;
}

.route-line li {
  position: relative;
  margin: 40px 0;
}

.route-line .dot {
  position: absolute;
  left: -11px;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background: #5f7d8c;
  border-radius: 50%;
}

.route-line .route-text a {
  font-weight: bold;
  text-decoration: none;
}

/* ==============================
   タブレット・スマホ
============================== */
@media (max-width: 768px) {
  .route-line {
    padding-left: 14px;
    margin: 40px 0;
    border-left-width: 1.5px;
  }

  .route-line li {
    margin: 28px 0;
  }

  .route-line .dot {
    left: -9px;
    width: 8px;
    height: 8px;
  }

  .route-line .route-text a {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* ==============================
   スマホ小
============================== */
@media (max-width: 480px) {
  .route-line {
    padding-left: 12px;
  }

  .route-line .dot {
    left: -8px;
  }

  .route-line .route-text a {
    font-size: 0.95rem;
  }
}

/* ==============================
   ルート表示：PC（デフォルト）
============================== */
.route-single .route-line {
  list-style: none;
  padding-left: 20px;
  border-left: 2px solid #cfd8dc;
  margin: 60px 0;
}

.route-single .route-line li {
  position: relative;
  margin: 40px 0;
}

.route-single .route-line .dot {
  position: absolute;
  left: -11px;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background: #5f7d8c;
  border-radius: 50%;
}

.route-single .route-line .route-text a {
  font-weight: bold;
  text-decoration: none;
}

/* ==============================
   タブレット・スマホ
============================== */
@media (max-width: 768px) {
  .route-single .route-line {
    padding-left: 14px;
    margin: 40px 0;
    border-left-width: 1.5px;
  }

  .route-single .route-line li {
    margin: 28px 0;
  }

  .route-single .route-line .dot {
    left: -9px;
    width: 8px;
    height: 8px;
  }

  .route-single .route-line .route-text a {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* ==============================
   スマホ小
============================== */
@media (max-width: 480px) {
  .route-single .route-line {
    padding-left: 12px;
  }

  .route-single .route-line .dot {
    left: -8px;
  }

  .route-single .route-line .route-text a {
    font-size: 0.95rem;
  }
}

.route-single ul.route-line > li .dot {
  position: absolute;
  left: -7px;                 /* 線の中心に乗せる */
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: #5f7d8c;
  border-radius: 50%;
}

.route-single .route-text {
  margin-left: 8px;           /* 線からテキストを離す */
}

@media (max-width: 768px) {
  .route-single ul.route-line {
    padding-left: 20px;
  }
  .route-single ul.route-line > li .dot {
    left: -6px;
    width: 8px;
    height: 8px;
  }
  .route-single .route-text {
    margin-left: 6px;
  }
}

@media (max-width: 768px) {

  .route-item a {
    padding: 16px 16px;
    font-size: 16px;   /* ← 指で読みやすい */
  }

}

@media (min-width: 769px) {

  .route-list-items {
    max-width: 720px;
    margin: 0 auto;   /* 中央寄せ */
  }

}

.route-single .breadcrumb {
  font-size: 14px;
  margin-bottom: 18px;
  color: #666;
}

.route-single .breadcrumb a {
  color: #3a6ea5;
  text-decoration: none;
}

.route-single .breadcrumb a:hover {
  text-decoration: underline;
}

.route-single .breadcrumb .sep {
  margin: 0 6px;
  color: #aaa;
}

.route-single .breadcrumb .current {
  font-weight: 600;
  color: #333;
}

/* スマホ */
@media (max-width: 768px) {
  .route-single .breadcrumb {
    font-size: 13px;
  }
}

.route-list {
  list-style: none;
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid #cfd8dc;
}

.route-item {
  position: relative;
  margin: 20px 0;
}

/* 路線の点 */
.route-item::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: #5f7d8c;
  border-radius: 50%;
}

/* ルートリンク（カード） */
.route-item a {
  display: block;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.route-item a:hover {
  background: #f2f6f8;
  transform: translateY(-2px);
}

/* スマホ最適化 */
@media (max-width: 768px) {

  .route-list {
    padding-left: 16px;
  }

  .route-item::before {
    top: 18px;
  }

  .route-item a {
    font-size: 16px;
    padding: 16px;
  }
}

/* 参照カード（アイキャッチ版） */
.ref-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.ref-card{
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6e2da;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.ref-thumb{
  width: 96px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f0ea;
  flex-shrink: 0;
}

.ref-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ref-placeholder{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #777;
}

.ref-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.ref-title{
  font-size: 16px;
  font-weight: 700;
}

.ref-sub{
  font-size: 12px;
  color: #666;
}

@media (min-width: 768px){
  .ref-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-thumb{
    width: 120px;
    height: 90px;
  }
}

/* リストの「・」削除 */
.route-list-items,
.route-line{
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

@media (max-width: 768px) {

  /* アイコンを少し小さく */
  .logo-icon {
    width: 22px;
  }

  /* ロゴ文字を非表示（←超重要） */
  .logo-text {
    display: none;
  }

}

/* ==========================
   旅ルートの縦線・点を完全に無効化
========================== */

.route-line,
.route-single .route-line,
.route-list {
  border-left: none;
}

.route-line .dot,
.route-item::before {
  display: none;
}

/* ==========================
   パンくず：HOME含め完全統一（強制上書き）
========================== */

.post-type-archive-route .breadcrumb a,
.post-type-archive-route .breadcrumb span,
.single-route .breadcrumb a,
.single-route .breadcrumb span {
  color: #333;
  text-decoration: none;
}

/* ==========================
   旅ルート：パンくずとタイトルを左揃え
========================== */

/* パンくずの下余白を最小限に */
.post-type-archive-route .breadcrumb {
  margin-bottom: 6px;
}

/* タイトル上の余白を消す */
.post-type-archive-route .route-title {
  margin-top: 0;
}

.single-route .breadcrumb {
  margin-bottom: 6px;
}

.single-route .route-title {
  margin-top: 0;
}



/* ==========================
   アーカイブ共通レイアウト統一
========================== */

/* 基準箱（全アーカイブ共通） */
.page-main {
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* パンくず */
.page-main .breadcrumb {
  margin: 0 0 8px;
  padding: 0;
}

/* タイトル */
.page-main .page-title {
  margin: 0 0 30px;
  padding: 0;
}

/* ==========================
   シングル旅ルート：基準レイアウト
========================== */

.route-single {
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ==========================================================
   シングル旅ルート（route-single）整理版
========================================================== */

.route-single {
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* パンくず */
.route-single .breadcrumb {
  font-size: 14px;
  margin-bottom: 6px; /* 下余白を最小化 */
  color: #333;         /* 完全統一 */
}

.route-single .breadcrumb a {
  color: #333;
  text-decoration: none;
}

.route-single .breadcrumb a:hover {
  text-decoration: underline;
}

/* パンくず区切り */
.route-single .breadcrumb .sep {
  margin: 0 6px;
  color: #aaa;
}

.route-single .breadcrumb .current {
  font-weight: 600;
  color: #333;
}

/* タイトル */
.route-single .route-title {
  margin-top: 0;  /* 上余白を消す */
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  text-align: left;
}

/* ルート表示（縦線・点を完全に消す） */
.route-single .route-line,
.route-single .route-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
  border-left: none; /* 縦線削除 */
}

.route-single .route-line li,
.route-single .route-item {
  position: relative;
  margin: 12px 0; /* 上下間隔調整 */
}

.route-single .route-line .dot,
.route-single .route-item::before {
  display: none; /* 点も非表示 */
}

/* ルートリンク（カード） */
.route-single .route-item a {
  display: block;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.route-single .route-item a:hover {
  background: #f2f6f8;
  transform: translateY(-2px);
}

/* レスポンシブ：スマホ（〜768px） */
@media (max-width: 768px) {

  .route-single {
    padding: 20px 14px;
  }

  .route-single .breadcrumb {
    font-size: 13px;
  }

  .route-single .route-title {
    font-size: 1.4rem;
  }

  .route-single .route-item a {
    font-size: 16px;
    padding: 16px;
  }
}

/* 超スマホ（〜480px） */
@media (max-width: 480px) {
  .route-single .route-title {
    font-size: 1.2rem;
  }
}

/* 旅ルートページのヘッダー広く */
.route-single header.site-header {
  padding: 30px 40px;  /* 上下の余白を広く */
}

/* タブレット用 */
@media (max-width: 1024px) and (min-width: 769px) {
  .route-single header.site-header {
    padding: 25px 25px;
  }
}

/* スマホ用 */
@media (max-width: 768px) {
  .route-single header.site-header {
    padding: 20px 14px;
  }
}

/* 旅ルートページ：パンくず最終項目を調整 */
.route-single .breadcrumb {
  display: flex;
  flex-wrap: wrap;      /* 長い場合は折り返し対応 */
  align-items: center;  /* 全アイテムを縦方向中央揃え */
  gap: 4px;             /* アイテム間のスペース */
  font-size: 14px;
  margin-bottom: 6px;
}

.route-single .breadcrumb .sep {
  margin: 0 4px;        /* 区切りの左右スペース */
  color: #aaa;
}

.route-single .breadcrumb .current {
  font-weight: 600;
  color: #333;
  margin-left: 0;       /* 前後余白をリセット */
}

/* 旅ルートページ：パンくずとタイトルをHOMEと揃える */
.route-single .breadcrumb {
  margin: 0;             /* 上下余白リセット */
  padding: 0;            /* 左右余白リセット */
  display: flex;         /* 横並び */
  flex-wrap: wrap;       /* 長い場合は折り返し */
  align-items: center;   /* 縦中央揃え */
  gap: 4px;              /* アイテム間のスペース */
  font-size: 14px;
}

.route-single .breadcrumb a,
.route-single .breadcrumb span {
  color: #333;
  text-decoration: none;
  margin: 0;             /* 不要な余白リセット */
}

.route-single .breadcrumb .sep {
  margin: 0 4px;         /* 区切りマージン */
  color: #aaa;
}

.route-single .breadcrumb .current {
  font-weight: 600;
  color: #333;
  margin: 0;             /* 前後余白をなくす */
}

/* パンくずとタイトルを完全左揃えに */
.route-single .route-title {
  margin-top: 0;
  margin-left: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  text-align: left;
}

.route-single .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px; /* > の間隔 */
  margin: 0 0 12px 0;
  padding: 0;
}

.route-single .breadcrumb a,
.route-single .breadcrumb span {
  display: inline;
  margin: 0;
  padding: 0;
}

/* ==========================
   パンくず
========================== */
.route-single .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;         /* > の間隔 */
  margin: 0 0 12px 0;
  padding: 0;
  font-size: 14px;
  color: #555;
}

.route-single .breadcrumb a {
  color: #007acc;
  text-decoration: none;
}

.route-single .breadcrumb a:hover {
  text-decoration: underline;
}

.route-single .breadcrumb .separator {
  color: #999;
}

.route-single .breadcrumb .current {
  font-weight: bold;
  color: #222;
}

/* ==========================
   ルートタイトル
========================== */
.route-single .route-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #222;
}

.header-sns {
  display: flex;
  gap: 12px;       /* アイコン間の隙間 */
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px; /* ← ここを小さくする */
}

.header-sns li a {
  color: #333;
  transition: color 0.3s;
}

.header-sns li a:hover {
  color: #1877f2; /* Facebookブルーなど任意 */
}
/* header-right 内でメニューとSNSアイコンを横並びに揃える */
.header-right {
  display: flex;
  align-items: center; /* 高さを揃える */
  gap: 25px;
}

/* メニュー */
.header-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 10;
  align-items: left; /* 高さ揃え */
}

.header-menu li a {
  font-weight: bold;
  color: #333;
  line-height: 1; /* 高さを揃えやすくする */
  display: flex;  /* アイコンと同じ基準に */
  align-items: center;
}

/* SNSアイコン */
.header-sns {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;          /* 適切な大きさに */
  line-height: 1;           /* 高さを揃える */
  align-items: center;      /* 高さ揃え */
}

.header-sns li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #333;
  transition: color 0.3s;
}

.header-sns li a:hover {
  color: #1877f2;
}

/* スマホ用ナビ */
@media (max-width: 768px) {
  .header-nav {
    display: none;            /* 初期は非表示 */
    position: absolute;       /* ← ここを追加 */
    top: 0px;  /* ヘッダー下に配置（ヘッダー高さに合わせる） */
    right: 14px;
    flex-direction: column;   /* 縦並び */
    border-radius: 10px;
    border: 1px solid #e6e2da;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    z-index: 1003;
  }


  .header-nav.active {
    display: flex;    /* 縦並びでOK */
    position: fixed; 
  }


  .header-menu {
    flex-direction: column; /* 縦並び */
  }

  /* SNS（スマホ専用） */
  .mobile-sns {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    justify-content: flex-start;
    font-size: 18px;
  }
}

/* =================================
   PC表示のみ：カードを3つ並べる
   カードサイズは変更しない
================================= */
@media (min-width: 1025px) {
  .front-main .card-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .front-main .card-container .card {
    flex: 1 1 0;
  }
}

/* ===============================
   アーカイブ共通カード
   （駅・バス・きっぷ）
================================= */
.archive-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s;
}

.archive-card:hover {
  transform: translateY(-6px);
}

@media (min-width: 1025px) {
  .archive-station .card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* 全シングルページ・ticket も route も対象 */
body.single-ticket header.site-header,
body.single-route header.site-header {
  position: relative;
  left: 0;
  width: 100%;
  max-width: none;
}

/* ────────────────
   シングルページ：ヘッダーロゴ左寄せ
──────────────── */
@media (min-width: 1025px) {

  /* ヘッダー内の左スペース調整 */
  body.single-ticket header.site-header .site-logo {
    margin-right: 20px; /* タイトルとの余白 */
    order: -1;          /* 左側に寄せる */
  }

  /* タイトル周りの配置 */
  body.single-ticket .page-main h1,
  body.single-ticket .ticket-header h1 {
    margin-left: 0;    /* 余白リセット */
    padding-left: 0;
  }

  /* パンくずとタイトルの整列 */
  body.single-ticket .breadcrumb {
    margin-left: 0;
    padding-left: 0;
  }

  /* タイトルの左寄せスタイル */
  body.single-ticket header.site-header,
  body.single-ticket .ticket-header {
    display: flex;
    align-items: center;
    gap: 20px;         /* ロゴと文字の間隔 */
  }
}
