/* ===== 共通色/影（サイト共通の変数があればそれに合流） ===== */
:root {
  --ink: #0b1f2a;
  --sub: #4c6d8f;
  --brand: #0b6fb4;
  --gold: #d6b574;
  --card: #fff;
  --shadow: 0 10px 28px rgba(14, 30, 37, 0.18);
}

/* ===== ヘッダー（トップ共通のHTML想定） ===== */

.overlay-nav {
  background: rgba(255, 255, 255, 0.288);
  z-index: 100;
  padding-top: 0;
  padding-bottom: 10px;
}

.logo_bar {
  margin-left: 40px;
}

@media (max-width: 768px) {
  .logo_bar {
    margin-left: 0px;
  }
  .overlay-nav {
    padding-bottom: 14px;
  }
}

.navbar-brand.brand-chip img {
  display: block;
  height: clamp(40px, 7vw, 60px);
  width: auto;
}

/* ====== 旅行会社の方へ（このページ固有） ====== */
.ta-wrap {
  width: min(1100px, 92vw);
  margin: clamp(20px, 5vw, 40px) auto;
}

/* 見出し（下線の端を丸める） */
.ta-title {
  margin: clamp(20px, 5vw, 32px) 0 clamp(16px, 3vw, 22px);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.25;
  text-align: center;
}
.ta-title > span {
  position: relative;
  display: inline-block;
  padding: 0 0.2em 0.15em;
}
/*.ta-title > span::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  width: calc(100% + 18px);
  height: 10px;
  background: var(--brand);
  opacity: 0.28;
  border-radius: 999px;
}*/

/* ========== 縦並びセクション基礎 ========== */
.osb-vertcard {
  max-width: 1100px;
  margin: 24px auto;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.osb-vertcard__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.osb-vertcard__media img {
  display: block;
  width: 100%;
  height: clamp(150px, 26vw, 260px);
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
}
.osb-vertcard__body {
  padding: 16px 6px 4px;
  color: var(--osb-ink, #083c45);
  font-family: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto,
    'Helvetica Neue', Arial, sans-serif;
}
.osb-vertcard__title {
  text-align: center;
  margin: 6px 0 10px;
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--osb-brand, #0b65a1);
}
.osb-vertcard__text {
  line-height: 1.9;
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--osb-ink, #083c45);
}
@media (max-width: 768px) {
  .osb-vertcard__text {
    line-height: 1.7;
  }
}
/* ========== 外枠カード（色切替 & 中央配置） ========== */
.osb-info-card {
  --card-bg: #f4fbff;
  --card-ink: #083c45;
  --card-border: rgba(8, 60, 69, 0.08);
  --card-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  --pill-color: #0091d9;
  --pill-bg: rgba(0, 145, 217, 0.08);
  margin-top: 50px;
  display: flex; /* 子要素をレイアウトするためにflex化 */
  flex-direction: column;
  align-items: center;
  background: var(--card-bg);
  color: var(--card-ink);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

/* 見出し（中央・左右ライン） */
.osb-info-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 44px 0 22px;
  font-size: 25px;
  letter-spacing: 0.08em;
  color: color-mix(in oklab, var(--card-ink) 75%, transparent);
  text-align: center;
}
.osb-info-card__title::before,
.osb-info-card__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--card-border);
}
.osb-info-card__title > span {
  white-space: nowrap;
}

/* プリセット（data-scheme で即切替） */
.osb-info-card[data-scheme='sky'] {
  --card-bg: #ffffff;
  --pill-color: #0b65a1;
  --pill-bg: rgba(11, 101, 161, 0.1);
}
.osb-info-card[data-scheme='sand'] {
  --card-bg: #fff7ec;
  --pill-color: #c9a063;
  --pill-bg: rgba(201, 160, 99, 0.14);
}
.osb-info-card[data-scheme='ink'] {
  --card-bg: #0b1f28;
  --card-ink: #e6f1f7;
  --card-border: rgba(230, 241, 247, 0.16);
  --pill-color: #e6f1f7;
  --pill-bg: rgba(230, 241, 247, 0.12);
}
.osb-info-card[data-scheme='neutral'] {
  --card-bg: #ffffff;
  --pill-color: #0091d9;
  --pill-bg: rgba(0, 145, 217, 0.08);
}
.osb-info-card[data-scheme='brand'] {
  --card-bg: #e9f5ff;
  --pill-color: #0091d9;
  --pill-bg: rgba(0, 145, 217, 0.1);
}

/* ========== 仕様カード（中身） ========== */
/* 仕様カード本体の横幅を制限して中央寄せ */
.osb-speccard {
  width: 100%;
  max-width: 660px; /* 好みで調整（720〜820pxあたり） */
  margin: 0 auto; /* センターに */
}

.osb-speclist {
  list-style: none;
  margin: 0;
  padding: 6px 2px;
}

.osb-speclist > li {
  display: grid;
  grid-template-columns: minmax(9em, 12em) 1fr; /* 左：項目 / 右：説明 */
  align-items: center; /* ← 各説明を縦中央へ */
  gap: 10px 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(8, 60, 69, 0.08);
}
.osb-speclist > li:last-child {
  border-bottom: none;
}

/* 左カラム（項目ラベル） */
.osb-speclist .term {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(12px, 1.2vw, 13px);
  line-height: 1;
  color: var(--pill-color);
  background: var(--pill-bg);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .osb-speclist {
    padding: 6px 20px;
  }
  .osb-speclist .term {
    padding: 4px 8px;
  }
}
/* 右カラム（説明） */
.osb-speclist .desc {
  color: inherit;
  font-size: clamp(12px, 1.5vw, 16px);
  line-height: 1.85;
}

/* モバイル：1カラムにスタック */
@media (max-width: 560px) {
  .osb-speclist > li {
    grid-template-columns: 1fr;
    gap: 6px 0;
    padding: 10px 0;
  }
  .osb-speclist .term {
    margin-bottom: 2px;
  }
}

/* PCだけ余白を広げる（Bootstrapのlg=992px以上） */
@media (min-width: 992px) {
  /* 写真（figure） → 見出しブロックの間 */
  .osb-vertcard__media {
    margin-bottom: clamp(64px, 5vw, 148px);
  }

  /* 段落の下～基本情報カードの間（カードの上マージンで調整） */
  .osb-info-card {
    margin-top: clamp(64px, 5vw, 148px);
  }
}

/* ===== 旧“フローティングロゴ”の名残を完全に隠す（GSAPが作っても非表示） ===== */
#osb-floating-logo {
  display: none !important;
  visibility: hidden !important;
}

/* 余白を少し詰めたい場合は下記を有効化
.osb-vertcard{ padding:14px; }
.osb-vertcard__body{ padding-top:12px; }
*/

/* 構成：リンクカードのグリッド */
.ta-sections {
  margin: clamp(18px, 4vw, 28px) 0;
}
.ta-grid {
  display: grid;
  gap: clamp(12px, 2.2vw, 16px);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .ta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .ta-grid {
    grid-template-columns: 1fr;
  }
}
.ta-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  background: #fff;
  border: 1px dashed rgba(13, 37, 48, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ta-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.ta-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #edf5ff;
  color: var(--brand);
}
.ta-ico svg {
  width: 22px;
  height: 22px;
}
.ta-tt {
  font-weight: 800;
  font-size: clamp(14px, 1.8vw, 16px);
  margin: 0.2em 0 0.1em;
}
.ta-tx {
  color: #5a6e86;
  font-size: 13px;
  line-height: 1.6;
}

/* セクション区切り余白 */
.ta-spc {
  height: clamp(18px, 4vw, 28px);
}

/* カードが1つだけのとき、グリッドを中央寄せ＆拡大 */
.ta-grid:has(> .ta-item:only-child) {
  grid-template-columns: 1fr; /* 1カラムにして */
  justify-items: center; /* 中央に配置 */
}

/* 1枚カード用のサイズアップ */
.ta-grid:has(> .ta-item:only-child) .ta-item {
  padding: 22px 30px; /* 余白アップ */
  border-radius: 16px;
}

/* アイコンも少し大きく */
.ta-grid:has(> .ta-item:only-child) .ta-ico {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}
.ta-grid:has(> .ta-item:only-child) .ta-ico svg {
  width: 28px;
  height: 28px;
}

/* タイトル／説明を少し大きく */
.ta-grid:has(> .ta-item:only-child) .ta-tt {
  font-size: clamp(16px, 2.2vw, 20px);
}
.ta-grid:has(> .ta-item:only-child) .ta-tx {
  font-size: clamp(13px, 1.8vw, 15px);
}

/* ===== セクション余白（スマホもPCも上下にスペース） ===== */
.osb-pamphlet {
  padding: clamp(16px, 5vw, 28px) 0 clamp(28px, 6vw, 48px);
}
@media (min-width: 769px) {
  .osb-pamphlet {
    padding: clamp(16px, 5vw, 88px) 0 clamp(28px, 6vw, 78px);
  }
}
.osb-pamphlet__inner {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.osb-pamphlet__note {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: color-mix(in oklab, var(--osb-ink, #083c45) 70%, transparent);
}

/* ===== ボタン（ブランド色に追従） ===== */
.osb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.2em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.osb-btn--pdf {
  background: var(--osb-brand, #0091d9);
  color: #fff;
  border-color: color-mix(in oklab, var(--osb-brand, #0091d9) 85%, #000);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}
.osb-btn--pdf:hover {
  filter: brightness(0.96);
}
.osb-btn--download {
  background: #fff;
  color: var(--osb-ink, #083c45);
  border-color: rgba(8, 60, 69, 0.18);
}
.osb-btn--download:hover {
  background: #f6fafe;
}

/* ===== Modal base ===== */
.osb-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  pointer-events: none; /* 閉じている間はクリック不可 */
}
.osb-modal.is-open {
  pointer-events: auto;
}
.osb-modal[aria-hidden='true'] {
  opacity: 0;
}

/* 背景 */
.osb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.osb-modal.is-open .osb-modal__backdrop {
  opacity: 1;
}

/* 全体の受け皿（クリック検知用） */
.osb-modal__panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

/* ダイアログ */
.osb-modal__dialog {
  position: relative;
  width: min(96vw, 980px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #0b1f28;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  overflow: hidden;
  overscroll-behavior: contain;
}
.osb-modal.is-open .osb-modal__dialog {
  transform: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .osb-modal__dialog,
  .osb-modal__backdrop {
    transition: none;
  }
}

/* タイトルバー */
.osb-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(11, 31, 40, 0.08);
  background: linear-gradient(180deg, #fbfeff, #f6fbff);
}
.osb-modal__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(15px, 2.4vw, 18px);
}

/* Close ボタン（右上） */
.osb-modal__close {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  color: #0b1f28;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.osb-modal__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 145, 217, 0.25), 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 本文（iframe枠） */
.osb-modal__body {
  flex: 1 1 auto;
  padding: 0;
  background: #f5f7fa;
}
.osb-modal__holder {
  min-height: min(78vh, 860px);
  display: grid;
  place-items: center;
  background: #f5f7fa;
}
.osb-modal__fallback {
  margin: 0;
  text-align: center;
  color: #536b79;
}

/* PDF iframe */
.osb-modal__frame {
  display: block;
  width: 100%;
  height: min(78vh, 860px);
  border: 0;
  background: #f5f7fa;
}
@media (max-width: 768px) {
  .osb-modal__holder {
    min-height: min(78vh, 460px);
    display: grid;
    place-items: center;
    background: #f5f7fa;
  }
  .osb-modal__frame {
    display: block;
    width: 100%;
    height: min(78vh, 460px);
    border: 0;
    background: #f5f7fa;
  }
}
/* アクション行 */
.osb-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 12px clamp(12px, 3vw, 20px) 16px;
  border-top: 1px solid rgba(11, 31, 40, 0.08);
}
.osb-btn.osb-btn--download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em 1.1em;
  border-radius: 999px;
  background: #0091d9;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid color-mix(in oklab, #0091d9 80%, #000);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.osb-btn.osb-btn--download:hover {
  filter: brightness(1.05);
}
.osb-acrobat {
  font-size: 0.92rem;
  color: #0b65a1;
  text-decoration: underline;
}

/* とじている間の安全対策 */
.osb-modal[aria-hidden='true'] .osb-modal__dialog {
  pointer-events: none;
}

/* 背景スクロール固定（JSが付与） */
body.is-locked {
  position: fixed;
  overflow: hidden;
  width: 100%;
}

/* === Assets section === */
.assets-sec {
  margin: 48px auto 32px;
}
.assets-tt {
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.06em;
  color: #1e3a8a; /* OSB系の落ち着いた青 */
  margin: 0 0 0.4em;
  position: relative;
}
.assets-sub {
  color: #445;
  line-height: 1.8;
  margin: 0 0 16px;
}
.assets-sub a {
  color: #0ea5e9;
  text-decoration: underline;
}

/* Grid */
.assets-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .assets-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.asset a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.asset a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.asset img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 右下の “Download” バッジ（ホバーで少し強調）*/
.asset-dl {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0b1220;
  background: #a7f3d0; /* ミント系で視認性UP */
  border: 1px solid #34d399;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none; /* クリックは a 全体に通す */
}
.asset a:hover .asset-dl {
  opacity: 1;
  transform: translateY(-1px);
}
/* === Lightbox / Image Modal === */
.imgm[hidden] {
  display: none;
}
.imgm {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
}
.imgm__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.imgm__panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1100px);
  background: #fff;
  color: #0b1220;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  padding: 12px 12px 16px;
}
.imgm__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 4px 8px;
}
.imgm__title {
  margin: 0;
  font-weight: 800;
  font-size: 16px;
}
.imgm__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  color: #667;
}
.imgm__close:hover {
  color: #000;
}
.imgm__figure {
  margin: 0;
  display: grid;
  place-items: center;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
}
.imgm__figure img {
  max-width: 100%;
  max-height: 78dvh;
  display: block;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.imgm__cap {
  margin: 0.4em 0 0;
  font-size: 12px;
  color: #475569;
  text-align: center;
}
.imgm__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0 0;
}
.imgm__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ffffffd9;
  color: #111;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.imgm__prev {
  left: 8px;
}
.imgm__next {
  right: 8px;
}
.imgm__nav:hover {
  filter: brightness(1.05);
}
@media (max-width: 640px) {
  .imgm__panel {
    width: 96vw;
    padding: 10px;
  }
  .imgm__nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}
/* 見出し・説明を中央寄せ */
.assets-head {
  text-align: center;
  margin: 0 0 14px;
}
.assets-head .assets-tt {
  margin: 0 0 16px;
}
.assets-head .assets-sub {
  margin: 0;
  color: #475569;
  font-size: 13px;
}

/* まとめてDLボタンを中央に */
.assets-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

/* コンテナ幅より“横いっぱい”のヘアライン */
#assets-photos {
  margin-top: 128px;
  padding-top: 56px;
  position: relative;
}
#assets-photos::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: #d7eef6; /* 薄い水色の1px線 */
}
