@charset "utf-8";

/* ==========================================================================
   共通カラー変数（テーマに合わせて変更可能）
   ========================================================================== */
:root {
  --c-theme-primary: #599125;   /* メインカラー（グリーン系） */
  --c-theme-secondary: #237d81; /* サブカラー（ブルー/ティール系） */
  --c-theme-accent: #d00000;    /* 注意・警告（レッド） */
  --c-bg-light: #f9fbf8;        /* カード等用・薄い背景色 */
  --c-bg-highlight: #eaf4e5;    /* ハイライト用背景色 */
  --c-bg-notice: #f0f7ff;       /* お知らせ・案内用背景色 */
  --c-border: #e2e8f0;          /* 汎用境界線カラー */
  --c-text-main: #333333;       /* メインテキスト */
  --c-text-sub: #666666;        /* 補足テキスト */
}

/* ==========================================================================
   コンテナ / 全体構造
   ========================================================================== */
.l-container {
  color: var(--c-text-main);
  max-width: 900px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.l-container #cts p {
  font-size: 15px;
}
/* ==========================================================================
   タイトル / 見出し (c-title)
   ========================================================================== */
/* ページメインタイトル */
.c-title-main {
  background-color: var(--c-theme-primary);
  color: #ffffff;
  padding: 16px 20px;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 24px;
}

/* セクション大見出し */
.c-title-section {
  background-color: var(--c-theme-secondary);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 16px;
  border-left: 5px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  margin-top: 36px;
  margin-bottom: 20px;
}

/* カード内サブ見出し */
.c-title-sub {
  background-color: transparent !important;
  color: var(--c-theme-secondary) !important;
  font-size: 16px !important;
  font-weight: bold !important;
  text-align: left !important;
  padding: 0 0 8px 0 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  border-bottom: 2px solid var(--c-theme-secondary);
}

/* ==========================================================================
   バッジ / ラベル (c-badge)
   ========================================================================== */
.c-badge-period {
  font-size: 14px;
  font-weight: normal;
  display: inline-block;
  margin-top: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 12px;
}

.c-badge-num {
  background-color: var(--c-theme-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   カード / 囲み枠 (c-card)
   ========================================================================== */
/* 標準カード */
.c-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 16px 20px;
  margin-bottom: 24px;
}

/* ハイライト枠 */
.c-card-highlight {
  background-color: var(--c-bg-highlight);
  border-left: 4px solid var(--c-theme-primary);
  padding: 12px 16px;
  margin-bottom: 24px;
  border-radius: 0 6px 6px 0;
}

/* 案内・マップ用枠 */
.c-card-notice {
  background-color: var(--c-bg-notice);
  border: 1px solid #bae0ff;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* 注意事項枠 */
.c-card-caution {
  background-color: #fff8f8;
  border: 1px solid #ffccc7;
  padding: 16px;
  border-radius: 6px;
  margin-top: 24px;
}

.c-card-caution .c-title-caution {
  color: var(--c-theme-accent);
  margin-bottom: 8px !important;
  font-size: 14px !important;
}

/* ==========================================================================
   ボタン / ナビゲーション (c-btn, c-nav)
   ========================================================================== */
.c-nav-quick {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 80px 0 80px;
}

/* 丸角アウトラインボタン（PC時） */
.c-btn-pill {
  display: flex;             /* ← 上書き */
  align-items: center;       /* ← 上書き */
  justify-content: center;   /* ← 上書き */
  text-align: center;
  line-height: 1.3;
  background-color: #ffffff;
  color: var(--c-theme-secondary) !important;
  border: 2px solid var(--c-theme-secondary);
  padding: 10px 24px;
  min-height: 52px;          /* ← 追加 */
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.c-btn-pill:hover {
  background-color: var(--c-theme-secondary);
  color: #ffffff !important;
  transform: translateY(-2px);
}


/* レスポンシブ調整（スマホ時） */
@media screen and (max-width: 640px) {
  .c-title-main,
  .c-title-section,
  .c-card-highlight {
    border-radius: 0;
  }

  .c-grid-spots {
    grid-template-columns: 1fr;
  }
  
  .c-title-main {
    font-size: 16px;
    padding: 12px;
  }
  
/* スマホ時のボタン調整 */
  .c-btn-pill {
    flex: 1;
    padding: 6px 10px;
    min-height: 50px;        /* ← 追加 */
    font-size: 13px;
    border-radius: 9999px;   /* 完全な丸型 */
  }
}

/* ==========================================================================
   グリッド・リスト（チェックイン場所など） (c-grid)
   ========================================================================== */
.c-grid-spots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.c-spot-item {
  background: var(--c-bg-light);
  border: 1px solid #d0e1c5;
  border-radius: 6px;
  padding: 12px 16px;
}

.c-spot-item__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.c-spot-item__title {
  font-weight: bold;
  font-size: 15px;
  color: var(--c-theme-secondary) !important;
}

.c-spot-item__desc {
  font-size: 13px;
  color: var(--c-text-sub);
  margin: 0;
  line-height: 1.4;
}

.c-spot-item__note {
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.4;
}

/* ==========================================================================
   テーブル (c-table)
   ========================================================================== */
.c-table-wrapper {
  overflow-x: auto;
  margin: 10px 0;
}

.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background-color: #ffffff;
}

.c-table th {
  background-color: #f1f5f9 !important;
  color: #334155;
  font-weight: bold;
  border: 1px solid var(--c-border) !important;
  padding: 8px 10px;
  text-align: left;
}

.c-table td {
  border: 1px solid var(--c-border) !important;
  padding: 10px;
  vertical-align: top;
  line-height: 1.5;
}

.c-table tr:nth-child(even) {
  background-color: #f8fafc;
}

/* ==========================================================================
   ユーティリティ（文字修飾・共通要素）
   ========================================================================== */
.u-text-accent {
  color: var(--c-theme-accent) !important;
}

.u-text-bold {
  font-weight: bold;
}

.u-footer-info {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--c-border);
}

/* レスポンシブ調整 */
@media screen and (max-width: 640px) {
  .c-grid-spots {
    grid-template-columns: 1fr;
  }
  
  .c-title-main {
    font-size: 16px;
    padding: 12px;
  }
  
  .c-btn-pill {
    flex: 1;
    text-align: center;
    padding: 6px 10px;
    font-size: 13px;
  }
}

/* ==========================================================================
   画像表示用コンポーネント (c-img)
   ========================================================================== */
/* 標準の画像コンテナ */
.c-img-box {
  margin: 12px auto;
  text-align: center;
  width: 100%;
}

.c-img-box img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 枠線付き画像（スクリーンショットや図解用） */
.c-img-box--bordered img {
  border: 1px solid var(--c-border);
}

/* メインビジュアル・マップ用（横幅いっぱいに広げる） */
.c-img-box--full img {
  width: 100%;
}

/* チェックイン場所などの小サイズ画像（中央寄せ） */
.c-img-box--thumb img {
  max-width: 320px;
  width: 80%;
}

/* キャプション（注釈・補足）テキスト */
.c-img-caption {
  font-size: 12px;
  color: var(--c-text-sub);
  margin-top: 6px;
  line-height: 1.4;
  display: block;
}

/* レスポンシブ調整（スマホ・画面幅100%時の角丸解除など） */
@media screen and (max-width: 640px) {
  .c-title-main,
  .c-title-section,
  .c-card-highlight {
    border-radius: 0; /* 画面幅いっぱいの時は周りの丸みを解除 */
  }

  .c-grid-spots {
    grid-template-columns: 1fr;
  }
  
  .c-title-main {
    font-size: 16px;
    padding: 12px;
  }
  
  .c-btn-pill {
    flex: 1;
    text-align: center;
    padding: 6px 10px;
    font-size: 13px;
  }
}