/*
Theme Name: Twenty Twenty-Four Child
Template: twentytwentyfour
*/

/* ===============================
  共通レイアウト
=============================== */
.tour-main {
  max-width: 760px;
  padding-left: 24px;
}

.tour-layout {
  max-width: 1200px;   /* 2カラム全体の最大幅 */
  margin: 0 auto;     /* 中央寄せ */
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}


.tour-hero-box {
  background: rgba(0,0,0,.55);
  padding: 32px;
  border-radius: 20px;
  text-align: center; /* 中央配置にするなら */
}

.tour-single h2 {
  text-align: center;
  font-size: 22px;
  padding-left: 0;
  margin: 40px 0 20px;
  font-family: 
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-weight: 600;
  font-feature-settings: "palt";
  color: #333;
}

main.tour-single h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #c00;
  margin: 12px auto 0;
  border-radius: 2px;
}


.tour-single h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  padding: 14px 18px;
  margin: 50px 0 0px;
  background: #f5f7fa;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-family: 
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-weight: 600;
  font-feature-settings: "palt";
  color: #444;
}

@media (max-width: 768px) {
  .tour-main {
    padding-left: 0;
  }

  .tour-layout {
    grid-template-columns: 1fr;
  }
}

/* ===============================
  共通 TABLE
=============================== */
table {
  border-radius: 4px;
  overflow: hidden;
}

/* ===============================
  タイトル
=============================== */
.tour-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto 20px;
  font-family: "Noto Sans JP", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (max-width: 768px) {
  .tour-title {
    font-size: 24px;
    font-family: "Noto Sans JP", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  }
}

/* ===============================
  メタ情報
=============================== */
.tour-meta {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

.tour-meta li {
  margin-bottom: 0.5em;
  font-weight: 500;
}

/* ===============================
  ツアー検索ページ
=============================== */
.tour-search {
  background: transparent;
  padding: 0;
}

.tour-search-form {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.search-item label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #555;
}

.search-item select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.search-item.submit {
  display: flex;
  align-items: flex-end;
}

.search-item.submit button {
  width: 100%;
  height: 46px;
  background: #e60012;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}


.hero-search {
  position: relative;
  height: 420px;
  background-image: url("/tour/wp-content/themes/twentytwentyfour-child/images/hero.jpg");
  background-size: cover;
  background-position: center;
}


.hero-search::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.15);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 0;
}

/* 検索バーを下に少しずらす */
.tour-search {
  margin-top: 24px;
}


.hero-title {
  color: #fff;
  font-size: 32px;
  margin-bottom: 24px;
}

/* SP */
@media (max-width: 768px) {
  .search-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
  ツアーカード フォント調整
=============================== */
.tour-card,
.tour-card * {
  font-family: "Noto Sans JP", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===============================
  ツアーカード
=============================== */
.tour-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  margin-top: 32px;
  max-width: 960px;          /* 好みで 900〜1000px */
  margin-left: auto;
  margin-right: auto;
}

/* grid本体 */
.tour-card-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  grid-template-rows: auto auto;
  gap: 24px;
}

/* タイトル：1行目・全幅 */
.tour-card-title {
  grid-column: 1 / -1;
  font-size: 20px;
  margin: 0;
  font-weight: 600;     /* 太すぎないゴシック */
  line-height: 1.4;
}

.tour-card-title a {
  color: #333;
  text-decoration: none;
}

/* 左下 */
.tour-card-main {
  grid-column: 1 / 2;
}

/* 右下 */
.tour-card-thumb {
  grid-column: 2 / 3;
}

.tour-card-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

/* メタ */
.tour-card-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13px;
  color: #444;
}

.tour-card-meta .label {
  color: #666;
}

.tour-card-meta .price {
  color: #e60012;
  font-size: 17px;
  font-weight: 700;
}

/* ===============================
   詳細ボタン＋おすすめ（CTA横）
=============================== */

/* ボタン */
.tour-card-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: #e60012;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1;
}

/* CTAエリア（詳細を見る＋おすすめ） */
.tour-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

/* おすすめバッジ（CTA横・非absolute） */
.tour-card-actions .tour-badge--recommended {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ffd54f, #ffb703);
  color: #5a3a00; /* 黒より少し柔らかい茶系 */
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(255, 183, 3, 0.45);
}


/* =========================
   SP
   ========================= */
@media (max-width: 768px) {

  /* =====================
     ツアーカード（既存）
     ===================== */
  .tour-card-grid {
    grid-template-columns: 1fr;
  }

  .tour-card-title,
  .tour-card-main,
  .tour-card-thumb {
    grid-column: 1 / -1;
  }

  .tour-card-thumb img {
    height: 200px;
  }


  /* =====================
     front-page hero
     ===================== */

  body.home .hero-search {
    padding-top: 16px;        /* ヒーロー上下を最小限に */
    padding-bottom: 12px;
  }

  body.home .hero-inner {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  body.home .hero-title {
    font-size: 22px;
    line-height: 1.2;
    margin-block-start: 0;
    margin-block-end: 6px;
    margin-top: 6px;
    margin-bottom: 6px;
  }


  /* =====================
     検索カード（白枠）
     ===================== */

  body.home .tour-search {
    margin-top: 16px;
  }

  body.home .tour-search-form {
    padding: 16px;            /* ← 高さ削減の要 */
    border-radius: 12px;
  }

  body.home .search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;                 /* ← 縦gapを圧縮 */
  }

  body.home .search-item {
    margin-bottom: 0;
  }

  body.home .search-item label {
    font-size: 12px;
    margin-bottom: 2px;
  }

  body.home .search-item select {
    height: 38px;
    font-size: 14px;
  }

  body.home .search-item.submit button {
    margin-top: 6px;
    height: 44px;
    font-size: 15px;
    width: 100%;
  }

  .tour-card-title {
    font-size: 16px;
  }

}


/* ===============================
  ツアー詳細
=============================== */

.tour-side-card {
  position: sticky;
  top: 100px;
}

/* サイド専用テキスト調整 */
.tour-side {
  font-size: 14px;
  line-height: 1.6;
}

.tour-side p {
  margin: 0 0 12px;
}

.tour-side-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}


/* 改行が多いSCF用 */
.tour-side .tour-points {
  white-space: pre-line;
}

.tour-eyecatch {
  max-width: 760px;
  margin: 0 auto 32px;
  border-radius: 16px;
  overflow: hidden;
}

.tour-eyecatch img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.tour-hero-box {
  background: rgba(0,0,0,.55);
  padding: 32px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
}


.tour-hero {
  position: relative;
  width: 100%;
  height: 420px;

  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;     /* 縦中央 */
  justify-content: center; /* 横中央 */
}


.tour-hero .tour-title {
  color: #fff;
}

.tour-hero-inner {
  width: 100%;
  max-width: 760px;
  padding: 0 20px;
}

.tour-hero-sub,
.tour-hero-code {
  color: rgba(255,255,255,.9);
}


/* ===============================
  ツアー基本情報 TABLE
=============================== */
.tour-basic-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: #fff;
}

.tour-basic-table th {
  width: 30%;
  background: #f5f7fa;
  border: 1px solid #ddd;
  padding: 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.tour-basic-table td {
  border: 1px solid #ddd;
  padding: 14px;
}

/* ===============================
  日程表（リスト）
=============================== */
.tour-schedule li {
  margin-bottom: 1em;
}

/* ===============================
  日程表（TABLE）
=============================== */
.tour-schedule-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}

.tour-schedule-table th,
.tour-schedule-table td {
  border: 1px solid #ddd;
}

.tour-schedule-table th {
  background: #f5f7fa;
  padding: 10px;
  text-align: center;
}

.tour-schedule-table td {
  padding: 12px;
  vertical-align: top;
}

.tour-schedule-table td.day {
  width: 80px;
  text-align: center;
  font-weight: bold;
  background: #fafafa;
}

/* ===============================
  日程表 列幅調整
=============================== */

/* 日程 */
.tour-schedule-table th:nth-child(1),
.tour-schedule-table td:nth-child(1) {
  width: 48px;          /* 約2文字分 */
  white-space: nowrap;
}

/* 行程 */
.tour-schedule-table th:nth-child(2),
.tour-schedule-table td:nth-child(2) {
  width: auto;
}

/* 食事 */
.tour-schedule-table th:nth-child(3),
.tour-schedule-table td:nth-child(3) {
  width: 48px;          /* 約3〜4文字分 */
  text-align: center;
  white-space: nowrap;
}

/* 宿泊地 */
.tour-schedule-table th:nth-child(4),
.tour-schedule-table td:nth-child(4) {
  width: 72px;          /* 食事よりやや広め */
  text-align: center;
  white-space: nowrap;
}

/* ===============================
  料金表
=============================== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.price-table th,
.price-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.price-table th {
  background: #f5f5f5;
}

/* ===============================
  料金カレンダー
=============================== */
.price-calendar {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 12px;
}

.price-calendar th,
.price-calendar td {
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
}

.price-calendar th {
  background: #f5f5f5;
  height: 46px;
  padding: 4px 0;
  font-size: 14px;
}

.price-calendar td {
  position: relative;
  height: 52px;
  padding: 2px 1px;
}

.price-calendar td.empty {
  background: #fafafa;
}

/* 曜日色 */
.price-calendar th:nth-child(1),
.price-calendar td.sun {
  color: #c00;
  background: #fff0f0;
}

.price-calendar th:nth-child(7),
.price-calendar td.sat {
  color: #0044cc;
  background: #f0f6ff;
}

/* 祝日（最優先） */
.price-calendar td.holiday {
  background: #ffeaea;
  color: #c00;
  font-weight: bold;
}

/* 日付・価格 */ 
.cal-day {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  margin-bottom: 2px;

  display: flex;
  align-items: center;
  gap: 4px;
}


.cal-price {
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  margin: 0;
}

.badge-cheapest {
  display: inline-block;
  background: #ffcc00;
  color: #333;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

/* 祝日ラベル */
.price-calendar td.holiday::after {
  content: "祝";
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  background: #c00;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
}

/* 月全体スケール */
.price-calendar-month {
  transform: scale(0.95);
  transform-origin: top center;
}

.btn-reserve {
  display: block;
  width: 100%;
  padding: 16px;
  background: #e60012;
  color: #fff;
  font-weight: bold;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-reserve:hover {
  background: #c80010;
}

/* 最安値マーク：!（文字ベース・最終安定版） */
body.single-list .min-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  background: #87CEEB;
  border-radius: 50%;

  margin-left: 4px;

  /* 中身は疑似要素で描く */
  color: transparent;
  font-size: 0;

body.single-list .min-badge {
  flex-shrink: 0;     /* ← これが効きます */
  width: 20px;
  height: 20px;
}

}

/* ！マーク */
body.single-list .min-badge::before {
  content: "!";
  color: #fff;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  /* 文字化け防止 */
  font-family:
    "Noto Sans JP",
    "Noto Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

/* SP調整 */
@media (max-width: 768px) {
  body.single-list .min-badge {
    width: 18px;
    height: 18px;
  }

  body.single-list .min-badge::before {
    font-size: 11px;
  }
}


/* ===============================
  料金カレンダー 桁増え対策（PC）
=============================== */

/* テーブル幅固定（セルが押し広げられない） */
body.single-list .price-calendar {
  table-layout: fixed;
  width: 100%;
}

/* td 内で完結させる */
body.single-list .price-calendar td {
  overflow: hidden;
}

/* 価格は絶対に折り返させない */
body.single-list .price-calendar .cal-price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 画面幅が狭くなったPCだけ文字を縮める */
@media (max-width: 1024px) {
  body.single-list .price-calendar .cal-price {
    font-size: 13px;
  }
}


/* ===============================
  価格リンク
=============================== */
.price-link {
  display: inline-block;
  padding: 6px 10px;
  background: #f60;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.price-link:hover {
  background: #ee5500
}


/* ===============================
  モーダル
=============================== */
.reserve-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
}

.reserve-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reserve-modal-inner {
  background: #fff;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  border-radius: 12px;
  position: relative;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===============================
  Twenty Twenty-Four 自動出力非表示
=============================== */
.wp-block-post-title,
.wp-block-query-title,
.wp-block-post-author,
.wp-block-post-date {
  display: none !important;
}


.tour-code {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

.company-info {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  border-top: 1px solid #ddd;
  text-align: center;
}

/* =====================================================
   SP 最終完成版：ツアー詳細（single-list）
   対象：iPhone / Android
   前提：viewport 有効
===================================================== */
@media (max-width: 768px) {


  /* ---------------------------------
     2. レイアウト完全1カラム化
  --------------------------------- */

  body.single-list .tour-layout {
    display: block !important;
  }

  body.single-list .tour-main,
  body.single-list .tour-side {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }

  body.single-list {
    font-size: 12px;
    line-height: 1.6;
  }

  /* ---------------------------------
     3. ヒーロー（本文と同幅）
  --------------------------------- */

  body.single-list .tour-hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  body.single-list .tour-hero-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
  }

  body.single-list .tour-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  body.single-list .tour-hero-sub,
  body.single-list .tour-hero-code {
    font-size: 12px;
  }

  /* ---------------------------------
     4. 本文
  --------------------------------- */

  body.single-list .tour-main {
    padding: 0 16px 120px; /* CTA下余白 */
  }

  body.single-list .tour-card {
    margin-top: 24px;
    padding: 20px;
  }

  body.single-list h2 {
    font-size: 17px;
    margin: 32px 0 16px;
  }

  body.single-list h3 {
    font-size: 15px;
    margin-top: 32px;
  }

  /* ---------------------------------
     5. 基本情報テーブル（SP最適）
  --------------------------------- */

  body.single-list .tour-basic-table {
    font-size: 12px;
  }

  /* 行全体 */
  body.single-list .tour-basic-table tr {
    display: grid;
    grid-template-columns: 9em 1fr;
    background: #eef1f5;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
  }

  /* th / td のデフォルト装飾を完全に殺す */
  body.single-list .tour-basic-table th,
  body.single-list .tour-basic-table td {
    border: none !important;          /* ← これが重要 */
    background: transparent !important;
    padding: 10px 12px;
    box-sizing: border-box;
  }

  /* td だけ白背景 */
  body.single-list .tour-basic-table td {
    background: #fff !important;
  }

  body.single-list .tour-basic-table th {
    font-weight: 600;
    text-align: left;
  }


/* ---------------------------------
   6. 日程（SP：横幅ギリギリ）
--------------------------------- */

/* 日程セクション自体 */
body.single-list .schedule-sp {
  margin-top: 16px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;;
}

/* 日程カード：画面端まで広げる */
body.single-list .schedule-day-card {
  margin-left: 8px;   /* ← 最小限のタップ余白 */
  margin-right: 8px;
  margin-bottom: 20px;

  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

/* 日付タイトル */
body.single-list .schedule-day-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

/* 内容行 */
body.single-list .schedule-dl div {
  display: grid;
  grid-template-columns: 5ch 1fr;
  gap: 8px;
  font-size: 13px;

  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

/* 最後の行だけ線を消す */
body.single-list .schedule-dl div:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* 見出し（左） */
body.single-list .schedule-dl dt {
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

/* 本文（右） */
body.single-list .schedule-dl dd {
  margin: 0;
  line-height: 1.6;
}


  /* ---------------------------------
     7. 出発日・料金（CSVカレンダー）
  --------------------------------- */

  /* カレンダー全体ラッパー */
  body.single-list .price-calendar-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
  }

  /* 月ごとのラッパー（※基本は触らない） */
  body.single-list .price-calendar-month {
    width: 100%;
    /* margin-bottom は既存値を使用 */
  }

  /* カレンダー table 本体 */
  body.single-list .price-calendar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 10px;
  }

  /* セル */
  body.single-list .price-calendar th,
  body.single-list .price-calendar td {
    padding: 2px;
    vertical-align: top;
    word-break: break-word;
  }

  /* 料金表示（オレンジ部分） */
  body.single-list .price-calendar .price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
  }

  body.single-list .price-calendar .price .amount {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }

  body.single-list .price-calendar .price .yen {
    font-size: 9px;
    opacity: 0.8;
  }

  body.single-list .price-calendar .cal-price {
    font-size: 12px;
  }

/* SP：日付＋マークの高さを固定して価格位置を揃える */
  body.single-list .price-calendar .cal-day {
    min-height: 22px;   /* マークありでも収まる高さ */
  }


  /* ---------------------------------
     8. サイド → 本文下に配置（固定しない）
  --------------------------------- */

  body.single-list .tour-side {
    padding: 0 16px;
  }

  body.single-list .tour-side-card {
    position: static !important;
    width: 100%;
    margin: 32px 0 0;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    border-radius: 12px;
  }

  body.single-list .tour-side-card img,
  body.single-list .side-price {
    display: none;
  }

  body.single-list .btn-reserve {
    width: 100%;
    font-size: 16px;
    padding: 14px;
    border-radius: 12px;
  }

  /* ---------------------------------
     9. モーダル
  --------------------------------- */

  body.single-list .reserve-modal-inner {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    padding: 20px;
  }

  body.single-list .modal-close {
    font-size: 28px;
  }

}

/* =====================================================
   日程表：PC / SP 表示切り替え
===================================================== */

/* PC：テーブルのみ */
body.single-list .schedule-pc {
  display: block;
}

body.single-list .schedule-sp {
  display: none;
}

/* SP：カードのみ */
@media (max-width: 768px) {
  body.single-list .schedule-pc {
    display: none;
  }
  body.single-list .schedule-sp {
    display: block;
  }
}


/* ---------------------------------
   company-info 共通設定
--------------------------------- */
body.home .company-info,
body.single-list .company-info {
  max-width: 960px;
  margin: 64px auto 48px;
  padding: 0 24px;
  text-align: center;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  box-sizing: border-box;
}

body.home .company-info p,
body.single-list .company-info p {
  margin: 0 0 8px;
}

/* =========================
   SP
   ========================= */
@media (max-width: 768px) {

  /* ---------------------------------
     company-info 中央揃え（SP）
  --------------------------------- */
  body.home .company-info,
  body.single-list .company-info {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 16px;
    text-align: center;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.6;
  }

  /* 横はみ出し完全防止（最終保険） */
  html, body {
    overflow-x: hidden;
  }

  /* box-sizing 統一（single-list限定のままでOK） */
  body.single-list *,
  body.single-list *::before,
  body.single-list *::after {
    box-sizing: border-box;
  }

}
