@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
/* 富山高山すし空港 WordPress テーマ 個人会員サイト向け CSS（自動連結: club-style）
   元ファイル: /styles/site.css, /styles/pages.css, /styles/home.css, /styles/club.css
   デザインの原本は WordPress テーマ側。ここを直接編集せず元ファイルを更新すること。 */

/* ══ /styles/site.css ══ */
@charset "utf-8";
/* ============================================================
   富山高山すし空港 リニューアル 共通レイヤー（全ページ）
   ・デザイントークン
   ・グローバルナビ（フローティングピル）／モバイルドロワー
   ・共通パーツ（ボタン・コンテナ・カード）
   ・フッター／トップに戻る
   Figma:「富山きときと空港HPリニューアル」node 630:1237 から抽出
   ============================================================ */

:root {
  --ink:            #07194d;
  --ink-soft:       #33406a;
  --muted:          #647392;
  --primary:        #0833b8;
  --primary-deep:   #0b2fa8;
  --sky:            #0b8ff0;
  --line:           #e8eef8;
  --chip:           #f1f5fb;
  --tint:           #fafcff;
  --amber:          #ff9f00;
  --gold:           #ffc200;
  --dark:           #22272b;

  --cat-important:  #e60020;
  --cat-info:       #0069af;
  --cat-event:      #35aa36;
  --cat-campaign:   #ff7d16;
  --cat-tour:       #8a35e8;

  --sd-sm: 0 8px 22px rgba(22, 81, 166, .12);
  --sd-md: 0 10px 24px rgba(22, 81, 166, .10);
  --sd-lg: 0 12px 28px rgba(22, 81, 166, .13);

  --container: 1280px;
  --gutter: 20px;

  --tk-font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
             "Yu Gothic", Meiryo, sans-serif;
}

/* 既存の .header / 固定右バナーは新ナビが置き換えるので使わない */
.header,
.rightbanner { display: none !important; }

body {
  font-family: var(--tk-font);
  color: var(--ink);
}

.tk-siteheader *,
.tk-siteheader *::before,
.tk-siteheader *::after,
.tk-drawer *,
.tk-home *,
.tk-home *::before,
.tk-home *::after,
.tk-page *,
.tk-page *::before,
.tk-page *::after { box-sizing: border-box; }

/* ブラウザ既定のリンク色を打ち消すだけの土台。:where() で詳細度 0 にして
   個々のパーツ側の color 指定が必ず勝つようにしています。 */
.tk-siteheader :where(a),
.tk-drawer :where(a),
.tk-home :where(a),
.tk-page :where(a) { text-decoration: none; color: inherit; }

/* Bootstrap3（style.css）の下記2行が hover / focus 時に効いてしまい、
   リンクに下線と黒いフォーカス枠が出るため打ち消す。
     a:focus,a:hover{color:#23527c;text-decoration:underline}
     a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}
   :where() の外に :hover / :focus を置いて詳細度を (0,2,0) にしてある。
   Bootstrap は (0,1,1) なのでこちらが勝ち、個々のパーツ側の指定
   （.tk-gnav__link:hover など＝同じ (0,2,0) で後勝ち）は従来どおり効く。 */
.tk-siteheader :where(a):hover,
.tk-siteheader :where(a):focus,
.tk-drawer :where(a):hover,
.tk-drawer :where(a):focus,
.tk-home :where(a):hover,
.tk-home :where(a):focus,
.tk-page :where(a):hover,
.tk-page :where(a):focus {
  text-decoration: none;
}

/* マウス操作ではフォーカス枠を出さず、キーボード操作のときだけ
   ブランドカラーのリングを出す（アクセシビリティは維持） */
.tk-siteheader :where(a, button, input):focus,
.tk-drawer :where(a, button, input):focus,
.tk-home :where(a, button, input):focus,
.tk-page :where(a, button, input):focus,
.footer :where(a, button):focus,
.toTop :where(a):focus { outline: 0; }

.tk-siteheader :where(a, button, input):focus-visible,
.tk-drawer :where(a, button, input):focus-visible,
.tk-home :where(a, button, input):focus-visible,
.tk-page :where(a, button, input):focus-visible,
.footer :where(a, button):focus-visible,
.toTop :where(a):focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 検索フォームは入力中に枠が消えたままにならないよう、外側で示す */
.tk-search form:focus-within { box-shadow: 0 0 0 3px rgba(11, 143, 240, .35), var(--sd-sm); }

.tk-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 読み上げ専用 */
.tk-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 共通パーツ ─────────────────────────────────────── */

.tk-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--tk-font);
  font-size: 16px; font-weight: 700; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.tk-pill--solid { background: var(--primary); color: #fff; }
.tk-pill--solid:hover { background: #0a3ed6; color: #fff; transform: translateY(-2px); }
.tk-pill--ghost { background: #fff; color: var(--ink); border: 2px solid var(--sky); }
.tk-pill--ghost:hover { background: #f2f9ff; color: var(--ink); transform: translateY(-2px); }

/* Bootstrap の a:focus,a:hover{color:#23527c} に負けないよう、
   リンクとして使うピルは要素セレクタ付きで文字色を固定する */
a.tk-pill--solid, a.tk-pill--solid:hover, a.tk-pill--solid:focus { color: #fff; }
a.tk-pill--ghost, a.tk-pill--ghost:hover, a.tk-pill--ghost:focus { color: var(--ink); }

.tk-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 55px; height: 55px; flex: none;
  border: 2px solid var(--sky); border-radius: 50%;
  background: #fff; color: var(--primary);
  font-size: 21px; font-weight: 700; line-height: 1;
  transition: background-color .2s ease, transform .2s ease;
}

.tk-section { padding-block: 34px; }

.tk-section__head {
  display: flex; align-items: baseline; justify-content: center;
  margin: 0 0 22px;
}
.tk-section__title {
  margin: 0;
  font-size: 23px; font-weight: 700; line-height: 1.2;
  color: var(--primary);
}

.tk-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sd-lg);
}

/* ══ グローバルナビ ═════════════════════════════════ */

.tk-siteheader { position: relative; z-index: 900; }

/* トップページ：ヒーローに重ねる */
body.tk-front .tk-siteheader {
  position: absolute; inset-inline: 0; top: 0;
  padding-top: 37px;
}

/* 下層ページの背景。ヘッダーと本文で二重に掛からないよう
   グラデーションは body にだけ持たせる（.tk-siteheader / .tk-page は透明） */
body:not(.tk-front) {
  background: linear-gradient(180deg, #eaf8ff 0%, #f5fbff 320px, #fff 720px) no-repeat;
}

/* 下層ページ：スクロール追従（背景は敷かず、白いピルだけが浮く） */
body:not(.tk-front) .tk-siteheader {
  position: sticky; top: 0;
  padding: 18px 0 14px;
  background: none;
}

/* Figma 1113x58 r29 */
.tk-gnav {
  display: flex; align-items: center; gap: 16px;
  min-height: 67px;
  padding: 8px 10px 8px 26px;
  background: #fff;
  border-radius: 34px;
  box-shadow: var(--sd-sm);
}

.tk-gnav__brand { display: block; margin-right: auto; }
.tk-gnav__brand-jp {
  display: block;
  font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: .05em;
  color: var(--ink);
}
.tk-gnav__brand-en {
  display: block; margin-top: 3px;
  font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: .02em;
  color: var(--primary);
}

.tk-gnav__list {
  display: flex; align-items: center; gap: 22px;
  margin: 0; padding: 0; list-style: none;
}
.tk-gnav__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s ease;
}
.tk-gnav__link:hover,
.tk-gnav__link:focus,
.tk-gnav__link[aria-current="true"] { color: var(--sky); }
.tk-gnav__link img { width: 32px; height: 30px; object-fit: contain; flex: none; }
.tk-gnav__link--lang { color: var(--primary); }

.tk-gnav__tools { display: flex; align-items: center; gap: 10px; }

.tk-gnav__login { flex: none; padding: 13px 26px; font-size: 15px; }

/* 検索 */
.tk-gnav__search {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--chip); color: var(--primary);
  cursor: pointer;
  transition: background-color .2s ease;
}
.tk-gnav__search:hover { background: #e3ebf7; }
.tk-gnav__search[aria-expanded="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.tk-gnav__search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.tk-search { margin-top: 10px; }
.tk-search[hidden] { display: none; }
.tk-search form {
  display: flex; align-items: center; gap: 8px;
  max-width: 560px; margin-left: auto;
  padding: 8px 8px 8px 20px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--sd-sm);
}
.tk-search input[type="text"] {
  flex: 1 1 auto; min-width: 0;
  height: 40px;
  padding: 0;
  border: 0; outline: none; background: transparent;
  font-family: var(--tk-font); font-size: 15px; color: var(--ink);
}
.tk-search input[type="text"]::placeholder { color: var(--muted); }
.tk-search button {
  flex: none;
  height: 40px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-family: var(--tk-font); font-size: 14px; font-weight: 700;
  cursor: pointer;
}
.tk-search button:hover { background: #0a3ed6; }
/* Google が差し込むブランド画像は隠す */
.tk-search .gsc-branding,
.tk-search img[src*="google"] { display: none; }

/* ハンバーガー（1279px 以下で表示） */
.tk-gnav__burger {
  display: none;
  width: 50px; height: 50px; flex: none;
  align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: var(--primary); color: #fff;
  cursor: pointer;
}
.tk-gnav__burger span {
  position: relative;
  display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .25s ease, background-color .25s ease;
}
.tk-gnav__burger span::before,
.tk-gnav__burger span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.tk-gnav__burger span::before { top: -7px; }
.tk-gnav__burger span::after  { top: 7px; }
.tk-gnav__burger[aria-expanded="true"] span { background: transparent; }
.tk-gnav__burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.tk-gnav__burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ══ モバイルドロワー ═══════════════════════════════ */

.tk-drawer {
  position: fixed; inset: 0; z-index: 3000;
  display: none;
  background: rgba(7, 25, 77, .55);
}
.tk-drawer[data-open="true"] { display: block; }

.tk-drawer__panel {
  position: absolute; top: 0; right: 0;
  width: min(88vw, 380px); height: 100%;
  padding: 22px 22px 60px;
  overflow-y: auto;
  background: #fff;
  box-shadow: -8px 0 30px rgba(7, 25, 77, .25);
}

.tk-drawer__close {
  display: block; margin-left: auto;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: var(--chip); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
}

.tk-drawer__group { margin-top: 22px; }
.tk-drawer__heading {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sky);
  font-size: 16px; font-weight: 700; color: var(--primary);
}
.tk-drawer__list { margin: 0; padding: 0; list-style: none; }
.tk-drawer__list li + li { border-top: 1px solid var(--line); }
.tk-drawer__list a {
  display: block; padding: 12px 4px;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.tk-drawer__list a:hover,
.tk-drawer__list a:focus { color: var(--sky); }

/* ══ フッター ═══════════════════════════════════════ */
/* Figma (630:1237) のフッターを再現。白背景の 1 段構成：
   左：ブランド名 ／ 中央：リンク 4 件＋コピーライト ／ 右：SNS アイコン。
   Figma の 1167px 幅の値を約 1.15 倍にして使用。 */

.footer {
  margin-top: 48px;
  background: #fff;
  color: var(--ink);
  font-family: var(--tk-font);
}
.tk-footer *,
.tk-footer *::before,
.tk-footer *::after { box-sizing: border-box; }
.tk-footer :where(a) { color: inherit; text-decoration: none; }

.tk-footer__inner {
  display: flex; align-items: center; gap: 24px 72px;
  padding: 44px 24px 40px;
}

/* ブランド（ヘッダーの .tk-gnav__brand と同じ書式） */
.tk-footer__brand { display: block; flex: none; }
.tk-footer__brand:hover,
.tk-footer__brand:focus { text-decoration: none; }
.tk-footer__brand-jp {
  display: block;
  font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: .05em;
  color: var(--ink);
}
.tk-footer__brand-en {
  display: block; margin-top: 3px;
  font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: .02em;
  color: var(--primary);
}

/* リンク＋コピーライト */
.tk-footer__body { flex: 1 1 auto; min-width: 0; }
.tk-footer__list {
  display: flex; flex-wrap: wrap; gap: 8px 40px;
  margin: 0; padding: 0; list-style: none;
}
.tk-footer__list a {
  font-size: 14px; font-weight: 500; line-height: 1.4;
  color: var(--ink);
}
.tk-footer__list a:hover,
.tk-footer__list a:focus { color: var(--sky); text-decoration: none; }
.tk-footer__copy {
  margin: 14px 0 0;
  font-size: 12px; line-height: 1.5; letter-spacing: .01em;
  color: var(--ink);
}
.tk-footer__copy small { font-size: inherit; }

/* SNS アイコン */
.tk-footer__sns {
  display: flex; align-items: center; gap: 26px; flex: none;
  margin: 0; padding: 0; list-style: none;
}
.tk-footer__sns-link {
  display: block; width: 28px; height: 28px;
  transition: transform .2s ease, opacity .2s ease;
}
.tk-footer__sns-link svg { display: block; width: 100%; height: 100%; }
.tk-footer__sns-link:hover,
.tk-footer__sns-link:focus { transform: translateY(-2px); opacity: .85; }

.toTop {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  width: auto; height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
}
.toTop a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: var(--tk-font); font-size: 9px; font-weight: 700; line-height: 1.3;
  text-align: center;
  padding: 0 11px; gap: 3px;  /* 文字は「トップに／戻る」の 2 行に折り返して円に収める */
  box-shadow: 0 8px 20px rgba(8, 51, 184, .32);
  transition: transform .2s ease, background-color .2s ease;
}
.toTop a:hover { background: #0a3ed6; color: #fff; transform: translateY(-3px); text-decoration: none; }
.toTop a i  { font-size: 16px; line-height: 1; }
.toTop a br { display: none; }  /* 縦並びの flex では改行が空きになるので使わない */
/* AI チャットボット（IZANAI）の吹き出し（右下、直径およそ 120px）と重ならないよう、
   チャットボットを出すページ（body.tk-has-chatbot。functions.php の tk_chatbot_tag）では左にずらす */
.tk-has-chatbot .toTop { right: 160px; }

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

@media (max-width: 1279px) {
  .tk-gnav { gap: 12px; padding-left: 20px; }
  .tk-gnav__list { gap: 16px; }
  .tk-gnav__link { font-size: 13px; }
  .tk-gnav__link img { width: 26px; height: 24px; }
  .tk-gnav__login { padding: 12px 20px; font-size: 14px; }
}

@media (max-width: 1023px) {
  :root { --gutter: 16px; }

  .tk-gnav { padding: 8px 8px 8px 18px; min-height: 62px; }
  .tk-gnav__list,
  .tk-gnav__login { display: none; }
  .tk-gnav__burger { display: inline-flex; }
  .tk-gnav__brand-jp { font-size: 19px; }

  body.tk-front .tk-siteheader { padding-top: 14px; }
  body:not(.tk-front) .tk-siteheader { padding: 12px 0 10px; }

  .tk-footer__inner { padding: 36px 16px 32px; gap: 20px 40px; }
  .toTop { right: 12px; bottom: 12px; }
  .toTop a { width: 54px; height: 54px; padding: 0 9px; font-size: 8px; }  /* 「トップに／戻る」で折り返す幅 */
}

@media (max-width: 767px) {
  .tk-search form { margin-left: 0; padding-left: 16px; }
  .tk-footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 4px 28px; }
  .tk-footer__list { gap: 10px 24px; }
  .tk-footer__list a { font-size: 13px; }
  .tk-footer__copy { margin-top: 12px; }
  .tk-footer__sns { gap: 22px; }
}


/* ══ /styles/pages.css ══ */
@charset "utf-8";
/* ============================================================
   富山高山すし空港 下層ページ（2026 リニューアル）
   トップページのデザインシステムを下層に展開したもの。
   共通トークン・ナビ・フッターは styles/site.css を参照。

   既存ページの本文は Bootstrap3 グリッド（.row / .col-*）に依存するため
   グリッドには一切手を入れず、タイポグラフィとテーマ定義の部品のみ
   新配色に置き換えています。
   ============================================================ */

/* 背景グラデーションは body 側（styles/site.css）に一本化しているため
   ここでは敷かない（ヘッダーと二段に見えるのを防ぐ） */
.tk-page {
  position: relative;
  background: none;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ══ ページヘッダー（フラットな帯） ═════════════════ */

.tk-pagehead { padding: 6px 0 26px; }

.tk-pagehead__inner {
  position: relative;
  padding: 26px 34px 28px;
  border-radius: 20px;
  overflow: hidden;
}
/* 左端のアクセントライン */
.tk-pagehead__inner::before {
  content: "";
}

.tk-pagehead__title {
  margin: 0;
  font-size: 32px; font-weight: 700; line-height: 1.35;
  color: var(--ink);
}
.tk-pagehead__title span { font-size: inherit; }

.tk-pagehead__lead {
  margin: 10px 0 0;
  font-size: 15px; line-height: 1.7; color: var(--muted);
}

/* パンくず（schema.org/BreadcrumbList） */
.tk-page .breadcrumb {
  margin: 0 0 12px; padding: 0;
  background: none; border-radius: 0;
}
.tk-page .breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center;
  margin: 0; padding: 0; list-style: none;
  font-size: 12px; line-height: 1.7; color: var(--muted);
}
.tk-page .breadcrumb li { display: inline-flex; align-items: center; margin: 0; }
.tk-page .breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  font-size: 14px; color: var(--line);
}
.tk-page .breadcrumb a { color: var(--primary); }
.tk-page .breadcrumb a:hover { text-decoration: underline; }
/* 記事タイトルが長いことがあるので現在地は省略表示 */
.tk-page .breadcrumb li:last-child span {
  display: inline-block;
  max-width: 34em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  vertical-align: bottom;
  color: var(--muted);
}

/* ══ 2カラムレイアウト ══════════════════════════════ */

.tk-page__body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 56px;
}

.tk-page__side { position: sticky; top: 104px; }

.tk-page__main {
  min-width: 0;
  font-size: 16px;
}

/* 本文カード */
.tk-page .contents__main {
  padding: 30px 34px 36px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--sd-md);
}

/* ══ サイドバー ═════════════════════════════════════ */

.tk-page .contents__left { position: static; }

.tk-page .ch_leftside__menu {
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--sd-md);
}

/* セクション見出し（青ブロック） */
.tk-page .ch_leftside__menu__header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--sky) 100%);
  color: #fff;
}
.tk-page .ch_leftside__menu__header i {
  font-size: 22px; line-height: 1; color: #fff;
}
.tk-page .ch_leftside__menu__header h3 {
  margin: 0;
  font-size: 17px; font-weight: 700; line-height: 1.3; color: #fff;
}

.tk-page .ch_leftside__menu ul { margin: 0; padding: 0; list-style: none; }

/* 中見出し */
.tk-page .ch_leftside__menu__subtitle {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px 10px;
  background: var(--chip);
  font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.tk-page .ch_leftside__menu__subtitle i { color: var(--sky); font-size: 14px; }

/* リンク */
.tk-page .ch_leftside__menu ul ul li { border-bottom: 1px solid var(--line); }
.tk-page .ch_leftside__menu ul ul li:last-child { border-bottom: 0; }
.tk-page .ch_leftside__menu ul ul li a {
  position: relative;
  display: block;
  padding: 11px 26px 11px 18px;
  font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.tk-page .ch_leftside__menu ul ul li a::after {
  content: "›";
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-52%);
  font-size: 16px; color: var(--sky);
}
.tk-page .ch_leftside__menu ul ul li a:hover {
  background: #f2f9ff; color: var(--primary); text-decoration: none;
}

/* ウィジェット全般（アーカイブ・カテゴリー等） */
.tk-page .contents__left .widget,
.tk-page .contents__left .widget_archive,
.tk-page .contents__left .widget_categories {
  margin-top: 18px;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--sd-md);
}
.tk-page .contents__left .widget > h3,
.tk-page .contents__left .widgettitle,
.tk-page .contents__left .widget-title {
  margin: 0;
  padding: 14px 18px;
  background: var(--chip);
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.tk-page .contents__left .widget ul { margin: 0; padding: 0; list-style: none; }
.tk-page .contents__left .widget li { border-bottom: 1px solid var(--line); }
.tk-page .contents__left .widget li:last-child { border-bottom: 0; }
.tk-page .contents__left .widget li a {
  display: block;
  padding: 11px 18px;
  font-size: 13px; color: var(--ink);
}
.tk-page .contents__left .widget li a:hover { background: #f2f9ff; color: var(--primary); text-decoration: none; }

/* ══ 本文タイポグラフィ ═════════════════════════════ */

.tk-page .contents__main { color: var(--ink); }

.tk-page .contents__main h2 {
  position: relative;
  margin: 2.2em 0 1em;
  padding: 0 0 12px 0;
  border-bottom: 2px solid var(--line);
  font-size: 1.5em; font-weight: 700; line-height: 1.45;
  color: var(--primary);
  background: none;
}
.tk-page .contents__main h2::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 76px; height: 2px;
  background: var(--sky);
}
.tk-page .contents__main > h2:first-child,
.tk-page .contents__main > *:first-child > h2:first-child { margin-top: 0; }

.tk-page .contents__main h3 {
  margin: 1.9em 0 .8em;
  padding: 0 0 0 14px;
  border-left: 5px solid var(--sky);
  font-size: 1.22em; font-weight: 700; line-height: 1.5;
  color: var(--ink);
  background: none;
}

.tk-page .contents__main h4 {
  margin: 1.5em 0 .6em;
  font-size: 1.06em; font-weight: 700; line-height: 1.5;
  color: var(--ink);
}

.tk-page .contents__main p {
  margin: 0 0 1.2em;
  font-size: 1em; line-height: 1.9; color: var(--ink-soft);
}

.tk-page .contents__main a { color: var(--primary); text-decoration: underline; }
.tk-page .contents__main a:hover { color: var(--sky); }

.tk-page .contents__main ul,
.tk-page .contents__main ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.tk-page .contents__main li { margin-bottom: .45em; line-height: 1.8; }

.tk-page .contents__main hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }

.tk-page .contents__main blockquote {
  margin: 0 0 1.4em; padding: 16px 20px;
  border: 0; border-left: 4px solid var(--sky);
  border-radius: 0 12px 12px 0;
  background: var(--tint);
  font-size: .96em; color: var(--ink-soft);
}

/* 表 */
.tk-page .contents__main table {
  width: 100%;
  margin: 0 0 1.6em;
  border-collapse: collapse;
  font-size: .95em;
  background: #fff;
}
.tk-page .contents__main table th,
.tk-page .contents__main table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: middle;
}
.tk-page .contents__main table th {
  background: var(--chip);
  font-weight: 700; color: var(--ink);
  text-align: left;
}
.tk-page .contents__main table td { color: var(--ink-soft); }

/* 項目名＋内容の 2 列の表（特定商取引法に基づく表記 /other/tokushoho など。redmine #19583）。
   本文（DB の HTML）側で <table class="tk-sct-table"> を付ける。項目名の列幅をそろえ、
   SP では項目名が 1 文字ずつ折り返さない幅にする */
.tk-page .contents__main .tk-sct-table th { width: 12em; }
@media (max-width: 767px) {
  .tk-page .contents__main .tk-sct-table th,
  .tk-page .contents__main .tk-sct-table td { padding: 10px 8px; }
  .tk-page .contents__main .tk-sct-table th { width: 6.5em; }
}

/* ══ 本文内のテーマ部品 ═════════════════════════════ */

/* 画像＋見出し＋リンクのブロック（.contents__main__card）
   本文カード（.contents__main）の中に入れ子になるため、
   ドロップシャドウ付きカードにはせず罫線ベースのフラットな見せ方にする */
.tk-page .contents__main__card {
  margin: 0 0 22px;
  padding: 0;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background-color .2s ease;
}
.tk-page .contents__main__card:hover {
  transform: none;
  box-shadow: none;
}
.tk-page .contents__main__card img { display: block; width: 100%; border-radius: 0; }

/* クリックできるカード（.linkCard）だけ、うっすら背景で反応を示す */
.tk-page .contents__main__card.linkCard:hover { background-color: #f2f9ff; }

.tk-page .contents__main__card__contents { padding: 4px 0 0; }
.tk-page .contents__main__card__contents h3 {
  margin: 14px 0 10px;
  padding: 0 0 8px;
  border-left: 0;
  border-bottom: 2px solid var(--line);
  font-size: 1.12em; text-align: center; color: var(--primary);
}
.tk-page .contents__main__card__contents h4 { margin: .4em 0; font-size: .95em; }
.tk-page .contents__main__card__contents h4 a { text-decoration: none; }
.tk-page .contents__main__card__contents h4 a:hover { text-decoration: underline; }

/* 本文内のリンクボタン群
   旧 style.css は .linkBtn / .flightLine__list__btn / .flight__bigBtn /
   .internalLinkBtn / .transitLinkBtn / .access_bigBtn の各 a に
   「display:table-cell + 固定 width + 灰色グラデ + color:#2b353d!important」
   を当てていた。color だけは !important でないと上書きできないため
   ここでも !important を使っている（他のプロパティは詳細度で勝てる）。

   影・太い左罫・ホバー移動は付けず、薄い面と細い罫線だけのシンプルな作り。 */
.tk-page .linkBtn a,
.tk-page .linkBtn2 a,
.tk-page .flightLine__list__btn a,
.tk-page .flight__bigBtn a,
.tk-page .internalLinkBtn a,
.tk-page .transitLinkBtn a,
.tk-page .access_bigBtn a {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  width: auto; height: auto; min-height: 46px;
  padding: 10px 28px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--chip);
  background-image: none;
  font-size: .95em; font-weight: 700;
  color: var(--ink) !important;
  text-align: left; text-decoration: none;
  vertical-align: middle;
  box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease;
}

.tk-page .linkBtn a::after,
.tk-page .linkBtn2 a::after,
.tk-page .flightLine__list__btn a::after,
.tk-page .flight__bigBtn a::after,
.tk-page .internalLinkBtn a::after,
.tk-page .transitLinkBtn a::after,
.tk-page .access_bigBtn a::after {
  content: "›";
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-52%);
  font-size: 15px; line-height: 1; color: var(--sky);
}

.tk-page .linkBtn a:hover,
.tk-page .linkBtn2 a:hover,
.tk-page .flightLine__list__btn a:hover,
.tk-page .flight__bigBtn a:hover,
.tk-page .internalLinkBtn a:hover,
.tk-page .transitLinkBtn a:hover,
.tk-page .access_bigBtn a:hover {
  background: #e6eefb;
  border-color: var(--sky);
  color: var(--ink) !important;
}

.tk-page .linkBtn a i,
.tk-page .flightLine__list__btn a i,
.tk-page .flight__bigBtn a i,
.tk-page .internalLinkBtn a i,
.tk-page .transitLinkBtn a i,
.tk-page .access_bigBtn a i { flex: none; font-size: 1.1em; color: var(--sky); }

.tk-page .linkBtn a span,
.tk-page .flightLine__list__btn a span { font-size: .85em; font-weight: 400; color: var(--muted); }

/* 外側のラッパー。旧 CSS は width:160px 等の固定幅＋font-size:18px＋color:#fff を
   持っているため、文字があふれないよう可変幅にする。
   中央寄せ（margin:auto）は既存ページのレイアウトを崩さないよう踏襲。 */
.tk-page .linkBtn,
.tk-page .linkBtn2,
.tk-page .flightLine__list__btn,
.tk-page .flight__bigBtn,
.tk-page .internalLinkBtn,
.tk-page .transitLinkBtn,
.tk-page .access_bigBtn {
  width: auto;
  max-width: 340px;
  margin: 8px auto;
  padding: 0;
  font-size: inherit;
  color: inherit;
  text-align: left;
}

/* 強調ボタン（.linkBtn2）は塗りつぶし */
.tk-page .linkBtn2 a {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff !important;
}
.tk-page .linkBtn2 a::after { color: #fff; }
.tk-page .linkBtn2 a:hover { background: #0a3ed6; border-color: #0a3ed6; color: #fff !important; }

/* 国際線は「›」を赤にして国内線と区別（旧デザインの色分けを踏襲） */
.tk-page .flightLine__list__btn.intFlight a::after { color: var(--cat-important); }
.tk-page .flightLine__list { margin: 0 0 1.2em; padding: 0; list-style: none; }

.tk-page .flightLine h3 {
  margin: 1.2em 0 .7em;
  padding: 0 0 0 14px;
  border-left: 5px solid var(--primary);
  font-size: 1.1em;
}

/* 汎用ボタン（.btn 系はブートストラップと衝突するので触らない） */
.tk-page .contents__main .pdf a,
.tk-page .contents__main a.pdf {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--chip); color: var(--primary);
  font-weight: 700; text-decoration: none;
}
.tk-page .contents__main .pdf a:hover,
.tk-page .contents__main a.pdf:hover { background: #e3ebf7; }

/* ══ お知らせ一覧（news / category / date） ═════════ */

.tk-page .news__contents__main { min-width: 0; }

.tk-page .news__list {
  margin-bottom: 14px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sd-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tk-page .news__list:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22, 81, 166, .16);
}

.tk-page .news__list__date {
  font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ink-soft);
  text-align: center;
}
.tk-page .news__list__date span {
  display: block; margin-top: 2px;
  font-size: 20px; font-weight: 700; color: var(--ink);
}

.tk-page .news__list h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 17px; font-weight: 700; line-height: 1.55;
}
.tk-page .news__list h2::after { display: none; }
.tk-page .news__list h2 a { color: var(--ink); text-decoration: none; }
.tk-page .news__list h2 a:hover { color: var(--primary); text-decoration: underline; }
.tk-page .news__list p {
  margin: 0;
  font-size: 14px; line-height: 1.75; color: var(--muted);
}

/* カテゴリバッジ（トップページと同じ配色） */
.tk-page .news__article__category {
  display: block;
  width: 100%;
  max-width: 108px;
  margin: 8px auto 0;
  padding: 6px 8px;
  border-radius: 18px;
  background: var(--muted); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.3;
  text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tk-page .news__article__category.cat-important { background: var(--cat-important); }
.tk-page .news__article__category.cat-news      { background: var(--cat-info); }
.tk-page .news__article__category.cat-event     { background: var(--cat-event); }
.tk-page .news__article__category.cat-campaign  { background: var(--cat-campaign); }
.tk-page .news__article__category.cat-tour      { background: var(--cat-tour); }

/* 記事詳細 */
.tk-page .single__info {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 0 0 22px; padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
.tk-page .single__date {
  font-size: 14px; font-weight: 700; color: var(--ink-soft);
}
.tk-page .single__info .news__article__category { margin: 0; max-width: none; width: auto; padding: 6px 16px; }

/* ページネーション */
.tk-page .pagination { display: block; margin: 30px 0 0; }
.tk-page .pagination ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0; padding: 0; list-style: none;
}
.tk-page .pagination li { margin: 0; }
.tk-page .pagination a,
.tk-page .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff;
  font-size: 14px; font-weight: 700; color: var(--ink);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.tk-page .pagination a:hover { background: var(--chip); color: var(--primary); }
.tk-page .pagination .current {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ══ ツアー一覧 ═════════════════════════════════════ */

.tk-page .tour__article {
  margin-bottom: 14px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sd-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tk-page .tour__article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22, 81, 166, .16);
}
.tk-page .tour__article__title {
  font-size: 16px; font-weight: 700; line-height: 1.55; color: var(--ink);
}
.tk-page .tour__article__departureDate { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ══ イベント新着（enjoy ページ） ═══════════════════ */

.tk-page .enjoy__news {
  margin-bottom: 24px;
  padding: 22px 26px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--sd-md);
}
.tk-page .enjoy__news__title {
  margin-bottom: 12px;
  font-size: 18px; font-weight: 700; color: var(--primary);
}
.tk-page .enjoy__news__article { padding: 10px 0; border-bottom: 1px solid var(--line); }
.tk-page .enjoy__news__article:last-child { border-bottom: 0; }
.tk-page .enjoy__news__article__date { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.tk-page .enjoy__news__article__title a { font-size: 15px; font-weight: 700; color: var(--ink); }
.tk-page .enjoy__news__article__title a:hover { color: var(--primary); }

/* ══ 404 ════════════════════════════════════════════ */

.tk-page .tk-404 {
  padding: 60px 30px 70px;
  text-align: center;
}
.tk-page .contents__main .tk-404__code {
  margin: 0;
  font-size: 72px; font-weight: 700; line-height: 1; color: var(--sky);
}
.tk-page .contents__main .tk-404__lead { margin: 18px 0 26px; font-size: 16px; color: var(--ink-soft); }

/* ══ ゲーム: 個人会員限定の案内（template-game.php） ════ */

.tk-page .tk-gamelock {
  padding: 50px 30px 60px;
  text-align: center;
}
.tk-page .contents__main .tk-gamelock__icon { display: block; width: 120px; height: 120px; margin: 0 auto; }
.tk-page .contents__main .tk-gamelock__title { margin: 18px 0 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.tk-page .contents__main .tk-gamelock__lead { margin: 14px 0 26px; font-size: 16px; color: var(--ink-soft); }
.tk-page .contents__main .tk-gamelock__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 22px; }
.tk-page .contents__main .tk-gamelock__back { margin: 0; font-size: 14px; }
@media (max-width: 767px) {
  /* スマホでは余白を詰め、ボタンの文言と矢印が 2 行に割れないようにする */
  .tk-page .tk-gamelock { padding: 36px 0 44px; }
  .tk-page .contents__main .tk-gamelock__actions .tk-pill { width: 100%; max-width: 320px; padding-inline: 16px; white-space: nowrap; }
}

/* ══ 本文内タブ（フロアマップ／施設・サービス） ═════ */
/* 本文（DB）には BS3 の <ul class="nav-tabs"><li class="active"><a class="btn" data-toggle="tab">
   が残っている。これを共通デザインのピル型タブに揃える。
   旧スタイルは li が float:left だったため、表示幅によってタブが 2 行に折り返すと
   2 行目のタブがコンテンツ（画像）の横に回り込んでいた。float をやめて
   flex + wrap にし、.tab-content 側でも clear して回り込みを断つ。 */
.tk-page .contents__main .nav-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 20px; padding: 0 0 16px;
  border: 0; border-bottom: 2px solid var(--line);
  list-style: none;
}
.tk-page .contents__main .nav-tabs > li {
  float: none; display: block; margin: 0; padding: 0;
}
.tk-page .contents__main .nav-tabs > li > a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; margin: 0; padding: 8px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--chip);
  font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none; box-shadow: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tk-page .contents__main .nav-tabs > li > a:hover,
.tk-page .contents__main .nav-tabs > li > a:focus {
  background: #e3edfb; border-color: #e3edfb;
  color: var(--primary); text-decoration: none;
}
.tk-page .contents__main .nav-tabs > li > a:focus-visible {
  outline: 2px solid var(--sky); outline-offset: 2px;
}
.tk-page .contents__main .nav-tabs > li.active > a,
.tk-page .contents__main .nav-tabs > li.active > a:hover,
.tk-page .contents__main .nav-tabs > li.active > a:focus {
  background: var(--primary); border-color: var(--primary);
  color: #fff; cursor: default;
}
.tk-page .contents__main .tab-content { clear: both; }
.tk-page .contents__main .tab-content > .tab-pane { display: none; }
.tk-page .contents__main .tab-content > .active { display: block; }

/* 施設・サービスのカード：旧 style.css の固定高さ（192px）だと
   幅が狭いときに説明文が次のカードの画像に重なるため、高さを内容に合わせる */
.tk-page .contents__main .tab-pane .contents__main__card { height: auto; }

/* ══ ゲーム一覧（固定ページ /game/ の [tk_game_list]） ═ */
.tk-page .contents__main .tk-gamelist {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  margin: 8px 0 0; padding: 0; list-style: none;
}
.tk-page .contents__main .tk-gamelist li { margin: 0; padding: 0; }
.tk-page .contents__main .tk-gamelist__item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  height: 100%; padding: 24px 16px 22px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--tint);
  color: var(--ink); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tk-page .contents__main .tk-gamelist__item:hover,
.tk-page .contents__main .tk-gamelist__item:focus {
  border-color: var(--sky); box-shadow: var(--sd-sm); transform: translateY(-3px);
  text-decoration: none;
}
.tk-page .contents__main .tk-gamelist__item img {
  display: block; width: 96px; height: 96px; max-width: none; object-fit: contain;
}
.tk-page .contents__main .tk-gamelist__name { font-size: 18px; font-weight: 700; color: var(--primary); }
.tk-page .contents__main .tk-gamelist__btn {
  display: inline-flex; align-items: center; margin-top: 4px; padding: 9px 20px;
  border-radius: 999px; background: var(--primary);
  font-size: 13px; font-weight: 700; line-height: 1.2; color: #fff;
}

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

@media (max-width: 1023px) {
  .tk-page__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 40px;
  }
  .tk-page__side { position: static; order: 2; }

  .tk-pagehead { padding: 4px 0 20px; }
  .tk-pagehead__inner { padding: 20px 22px 22px; }
  .tk-pagehead__title { font-size: 26px; }

  .tk-page .contents__main { padding: 24px 22px 28px; }
}

@media (max-width: 767px) {
  .tk-pagehead__inner { padding: 16px 18px 18px; border-radius: 16px; }
  .tk-pagehead__title { font-size: 22px; }
  .tk-page .breadcrumb ol { font-size: 11px; }
  .tk-page .breadcrumb li:last-child span { max-width: 16em; }

  .tk-page .contents__main { padding: 20px 16px 24px; border-radius: 16px; }
  .tk-page .contents__main h2 { font-size: 1.35em; }
  .tk-page .contents__main h3 { font-size: 1.15em; }

  .tk-page .contents__main .nav-tabs { gap: 6px; margin-bottom: 16px; padding-bottom: 12px; }
  .tk-page .contents__main .nav-tabs > li > a { min-height: 36px; padding: 7px 14px; font-size: 13px; }

  .tk-page .contents__main .tk-gamelist { gap: 10px; }
  .tk-page .contents__main .tk-gamelist__item { padding: 16px 10px 16px; gap: 8px; }
  .tk-page .contents__main .tk-gamelist__item img { width: 72px; height: 72px; }
  .tk-page .contents__main .tk-gamelist__name { font-size: 15px; }
  .tk-page .contents__main .tk-gamelist__btn { padding: 8px 14px; font-size: 12px; }

  .tk-page .news__list { padding: 16px 16px; }
  .tk-page .news__list h2 { font-size: 15px; }
  .tk-page .news__list__date { text-align: left; }
  .tk-page .news__list__date span { display: inline; margin-left: 4px; font-size: 15px; }
  .tk-page .news__article__category { margin-left: 0; max-width: 96px; }

  .tk-page .pagination a,
  .tk-page .pagination span { min-width: 38px; height: 38px; font-size: 13px; }
}

/* ══ 1カラム（サイドバーなし） ══════════════════════ */

.tk-page__body--single { grid-template-columns: minmax(0, 1fr); }
.tk-page__body--single .tk-page__main { max-width: 900px; margin-inline: auto; width: 100%; }

/* ══ ツアー一覧（.tour__list） ══════════════════════ */

.tk-page .tour__list {
  margin-bottom: 14px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sd-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tk-page .tour__list:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22, 81, 166, .16);
}
.tk-page .tour__list a { text-decoration: none; }
.tk-page .tour__list img { border-radius: 8px; }
.tk-page .tour__list__title {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 16px; font-weight: 700; line-height: 1.55; color: var(--ink);
}
.tk-page .tour__list__title::after { display: none; }
.tk-page .tour__list:hover .tour__list__title { color: var(--primary); }
.tk-page .tour__list__departureDate { font-size: 13px; line-height: 1.7; color: var(--muted); }
.tk-page .tour__list__price { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--cat-important); }

/* ══ 本文内に置いた共通ボタン ═══════════════════════ */
/* .tk-page .contents__main a { color: var(--primary) } より詳細度を上げて
   ピルボタンの文字色が本文リンク色に潰されないようにする */
.tk-page .contents__main a.tk-pill { text-decoration: none; }
.tk-page .contents__main a.tk-pill--solid { color: #fff; }
.tk-page .contents__main a.tk-pill--solid:hover { color: #fff; }
.tk-page .contents__main a.tk-pill--ghost { color: var(--ink); }
.tk-page .contents__main a.tk-pill--ghost:hover { color: var(--ink); }

/* ツアー一覧の航空会社ロゴは縦横比がまちまちなので高さを揃える */
.tk-page .tour__list img {
  width: auto; max-width: 100%; max-height: 56px;
  object-fit: contain;
}

/* 旧 style.css の色分け（!important 付き）を新配色にそろえる */
.tk-page .access .contents__main__card i { color: var(--sky) !important; }

/* 旧 style.css の .ch_leftside__menu ul li{padding:4px} を解除。
   （グレー背景 .ch_leftside__menu div>ul>li{background-color:#d9dcde} と対で
     枠線のように見えていたもの。背景は style.css / style.scss から削除済み） */
.tk-page .ch_leftside__menu ul li { padding: 0; }

/* ══ 本文内の発着時刻表（.flight__table） ═══════════ */
/* 旧 style.css は濃紺＋黒枠の配色（.flight__table table tr など）。
   トップページの「本日のフライト」と同じ明るい表に統一する。 */
.tk-page .flight__table { padding: 0; overflow-x: auto; }
.tk-page .flight__table table {
  width: 100%; margin: 0 0 1.6em;
  border-collapse: collapse;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  background: transparent;
}
.tk-page .flight__table table tr {
  border: 0;
  background: transparent;
}
.tk-page .flight__table table tr:nth-child(odd) { background: transparent; }
.tk-page .flight__table table tr:nth-child(even) { background: var(--tint); }
.tk-page .flight__table table th,
.tk-page .flight__table table td {
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: .88em;
  text-align: left;
  vertical-align: middle;
  background: transparent;
}
.tk-page .flight__table table th {
  font-weight: 700; color: var(--ink);
  background: var(--chip);
  white-space: nowrap;
}
.tk-page .flight__table table td { color: var(--ink); }
.tk-page .flight__table table tr:last-child td { border-bottom: 0; }
.tk-page .flight__table table td img {
  float: none;
  width: 46px; height: auto;
  vertical-align: middle;
}
/* 運航状況ボタン。本文リンク色（.tk-page .contents__main a）に負けて
   グレー地に青文字になってしまうため、詳細度を上げて白抜きに固定する。
   .flight__table / .timeTable など表の種類を問わず効くようにしてある。 */
.tk-page .contents__main a.statusBtn,
.tk-page .timeTable a.statusBtn,
.tk-page .flight__table table a.statusBtn {
  display: inline-block;
  padding: 5px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: #fff !important;
  font-size: .85em; font-weight: 700; line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background-color .2s ease;
}
.tk-page .contents__main a.statusBtn:hover,
.tk-page .timeTable a.statusBtn:hover,
.tk-page .flight__table table a.statusBtn:hover {
  background: var(--sky);
  color: #fff !important;
}

/* ══ Language（多言語）— template-language.php ═══════ */

.tk-lang__section + .tk-lang__section { margin-top: 36px; }
.tk-lang__heading {
  margin: 0 0 14px;
  font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--primary);
}
.tk-lang__heading span { font-size: 15px; font-weight: 700; color: var(--muted); }

/* 自動翻訳の注意書き */
.tk-lang__note {
  margin: 0 0 20px;
  padding: 16px 20px;
  background: var(--chip);
  border-radius: 12px;
  font-size: 14px; line-height: 1.7; color: var(--ink-soft);
}
.tk-lang__note p { margin: 0; }
.tk-lang__note p + p { margin-top: 8px; }

/* 言語一覧 */
.tk-lang__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 0; padding: 0; list-style: none;
}
.tk-lang__item {
  display: flex; flex-direction: column; gap: 2px;
  height: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tk-lang__item:hover,
.tk-lang__item:focus { transform: translateY(-2px); border-color: var(--sky); box-shadow: var(--sd-sm); color: var(--primary); text-decoration: none; }
.tk-lang__name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.tk-lang__ja   { font-size: 12px; color: var(--muted); }
.tk-lang__ext  { margin-top: 6px; font-size: 11px; color: var(--muted); white-space: nowrap; }

@media (max-width: 767px) {
  .tk-lang__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tk-lang__item { padding: 12px 14px; }
  .tk-lang__name { font-size: 16px; }
  .tk-lang__ext-detail { display: none; }  /* SP は「外部サイト ↗」だけにして 1 行に収める */
}


/* ══ /styles/home.css ══ */
@charset "utf-8";
/* ============================================================
   富山高山すし空港 トップページ（セクション）
   共通トークン・ナビ・ドロワーは styles/site.css を参照
   Figma: 630:1237「Editable Layout」/ 1167px 幅の値を 1.15 倍
   ============================================================ */

.tk-home {
  position: relative;
  background: linear-gradient(90deg, #eaf8ff 0%, #f7fbff 36%, #fff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.tk-home img { max-width: 100%; }

/* ══ 1. ヒーロー ══════════════════════════════════════ */

.tk-hero { position: relative; isolation: isolate; }

.tk-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tk-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
  display: block;
}

.tk-hero__inner { padding-top: 104px; padding-bottom: 50px; }

/* --- ヒーロー本体 --- */
.tk-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 564px;
  gap: 40px;
  margin-top: 36px;
}

.tk-hero__lead { position: relative; padding-left: 25px; }

/* キャッチコピー画像は白背景付きなので、余白を multiply で空に溶かす */
.tk-hero__catch {
  position: relative;
  width: 498px; max-width: 100%;
  aspect-ratio: 433 / 187;
  overflow: hidden;
}
.tk-hero__catch img {
  position: absolute;
  top: -29.9%;   /* Figma: -56 / 187 */
  left: -8.8%;   /* Figma: -38 / 433 */
  width: 114.3%; /* Figma: 495 / 433 */
  height: auto;
  mix-blend-mode: multiply;
}

.tk-hero__plane {
  position: absolute;
  top: -6px; left: 416px;
  width: 159px;
  pointer-events: none;
}
.tk-hero__trail {
  position: absolute;
  top: 46px; left: 494px;
  width: 183px; height: 297px;
  pointer-events: none;
  opacity: .85;
}

.tk-hero__title {
  margin: 10px 0 0;
  padding-left: 44px;
  font-size: 24px; font-weight: 700; line-height: 1.8;
  color: var(--ink);
  text-shadow: 0 2px 14px rgba(255, 255, 255, .8);
}

.tk-hero__side { display: flex; flex-direction: column; gap: 24px; }

/* --- 本日のフライト カード (Figma 490x326 r18) --- */
.tk-flight { padding: 20px 24px 22px; border-radius: 21px; box-shadow: 0 12px 28px rgba(22, 81, 166, .14); }

.tk-flight__title {
  margin: 0 0 18px;
  font-size: 20px; font-weight: 700; line-height: 1.2; text-align: center;
  color: var(--ink);
}

.tk-flight__tabs { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.tk-flight__tab { flex: 1 1 0; }
.tk-flight__tab button {
  width: 100%;
  padding: 14px 8px;
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--tint);
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.tk-flight__tab button[aria-selected="true"] {
  background: var(--sky); border-color: var(--sky); color: #fff;
}

.tk-flight__weather {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 8px 2px 0;
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.tk-flight__weather img { width: 26px; height: auto; }
.tk-flight__weather span { color: var(--ink); font-size: 13px; }

/* 既存 flight-table/week-*.php のマークアップを新デザインに合わせて上書き。
   旧 style.css の .eyecatch__flight__table 系（濃色テーブル）に勝つよう
   .tk-flight を重ねて詳細度を上げています。 */
.tk-flight__tables { margin-top: 4px; }
.tk-flight__tables .tab-pane { display: none; }
.tk-flight__tables .tab-pane.active { display: block; }
.tk-flight .tk-flight__tables .eyecatch__flight__table { padding: 0; overflow-x: auto; }

.tk-flight .tk-flight__tables table {
  width: 100%; margin: 0;
  border-collapse: collapse;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  background: transparent;
}
.tk-flight .tk-flight__tables table tr {
  border: 0;
  background: transparent;
}
.tk-flight .tk-flight__tables table tr:nth-child(odd) { background: transparent; }

.tk-flight .tk-flight__tables table th,
.tk-flight .tk-flight__tables table td {
  padding: 7px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  background: transparent;
}
.tk-flight .tk-flight__tables table th {
  font-size: 12px; font-weight: 400; color: var(--muted);
}
.tk-flight .tk-flight__tables table td {
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.tk-flight .tk-flight__tables table tr:last-child td { border-bottom: 0; }
.tk-flight .tk-flight__tables table td img {
  float: none;
  width: 40px; height: auto;
  vertical-align: middle;
}
.tk-flight .tk-flight__tables table a.statusBtn {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--muted); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.tk-flight .tk-flight__tables table a.statusBtn:hover { background: var(--primary); color: #fff; }
.tk-flight .tk-flight__tables .eyecatch__flight__table__airline { width: 54px; }
.tk-flight .tk-flight__tables .eyecatch__flight__table__destdep { width: auto; }
.tk-flight__note {
  margin: 8px 0 0;
  font-size: 11px; line-height: 1.5; color: var(--muted);
}

.tk-flight__more { display: flex; justify-content: center; margin-top: 14px; }
.tk-flight__more .tk-pill { border-color: var(--sky); }

/* --- 会員カード 2枚 (Figma 235x220 r16) --- */
.tk-members { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.tk-member {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 253px;
  padding: 21px 20px 22px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}
.tk-member--personal { background: linear-gradient(180deg, var(--sky) 48%, #bacbff 100%); }
.tk-member--corp     { background: linear-gradient(180deg, var(--sky) 40%, #b8f3ff 100%); }

.tk-member__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.22; }
.tk-member__lead  { margin: 8px 0 0; font-size: 13px; font-weight: 400; line-height: 1.2; }

.tk-member__art {
  position: absolute; right: -6px; bottom: 0;
  width: 122px; pointer-events: none;
}
.tk-member--personal .tk-member__art { width: 122px; right: 2px; bottom: -8px; }
.tk-member--corp .tk-member__art { width: 140px; right: -12px; bottom: -6px; }

.tk-member__actions {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 7px;
  width: 131px;
  margin-top: auto; padding-top: 16px;
}
.tk-member__btn {
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-weight: 700; line-height: 1.2;
  transition: transform .2s ease, filter .2s ease;
}
.tk-member__btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.tk-member__btn--join  { padding: 12px 6px; background: var(--gold);         color: var(--ink); font-size: 14px; }
.tk-member__btn--login { padding: 10px 6px; background: var(--primary-deep); color: #fff;       font-size: 13px; }
/* Bootstrap の a:hover/a:focus の色に負けないよう要素セレクタで固定 */
a.tk-member__btn--join,  a.tk-member__btn--join:hover,  a.tk-member__btn--join:focus  { color: var(--ink); }
a.tk-member__btn--login, a.tk-member__btn--login:hover, a.tk-member__btn--login:focus { color: #fff; }

/* ══ 2. お知らせティッカー ═══════════════════════════ */

.tk-ticker { padding-block: 6px 0; }

.tk-ticker__bar {
  display: flex; align-items: center; gap: 18px;
  min-height: 71px;
  padding: 8px 22px 8px 12px;
  background: #fff;
  border-radius: 36px;
  box-shadow: var(--sd-sm);
}

.tk-ticker__label {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 129px; padding: 13px 18px;
  border-radius: 24px;
  background: var(--primary-deep); color: #fff;
  font-size: 16px; font-weight: 700; line-height: 1.2;
}

.tk-ticker__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.tk-ticker__track {
  display: flex; align-items: center; gap: 64px;
  width: max-content;
  animation: tk-ticker-scroll 40s linear infinite;
}
.tk-ticker__bar[data-paused="true"] .tk-ticker__track { animation-play-state: paused; }
.tk-ticker__item {
  display: inline-flex; align-items: baseline; gap: 16px;
  white-space: nowrap;
}
.tk-ticker__item-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.tk-ticker__item-text  { font-size: 15px; font-weight: 350; color: var(--ink); }
.tk-ticker__item:hover .tk-ticker__item-title { text-decoration: underline; }

@keyframes tk-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tk-ticker__toggle {
  flex: none;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--primary);
  font-size: 17px; line-height: 1;
  cursor: pointer;
}
.tk-ticker__toggle:hover { background: var(--chip); }

@media (prefers-reduced-motion: reduce) {
  .tk-ticker__track { animation: none; }
}

/* ══ 3. クイックリンク ═══════════════════════════════ */

.tk-quick__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin: 0; padding: 0; list-style: none;
}

.tk-quick__card {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%; min-height: 184px;
  padding: 8px 8px 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sd-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tk-quick__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(22, 81, 166, .18);
}

.tk-quick__fig {
  flex: 1 1 auto;
  display: block;
  aspect-ratio: 143 / 118;
  overflow: hidden;
  border-radius: 12px;
}
.tk-quick__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tk-quick__body { display: block; padding: 6px 34px 0 10px; }
.tk-quick__title {
  display: block; margin: 0;
  font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.tk-quick__sub {
  display: block; margin: 5px 0 0;
  font-size: 13px; font-weight: 400; line-height: 1.3; color: var(--muted);
}
.tk-quick__arrow {
  position: absolute; right: 14px; bottom: 16px;
  font-size: 28px; line-height: 1; color: var(--sky);
}

/* ══ 4. お知らせ ＋ 国内線／国際線 ══════════════════ */

.tk-newsguides {
  display: grid;
  grid-template-columns: minmax(0, 713px) minmax(0, 546px);
  gap: 21px;
  align-items: start;
}

/* --- お知らせパネル (Figma 620x395 r18) --- */
.tk-news { padding: 25px 30px 20px; box-shadow: var(--sd-md); }

.tk-news__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.tk-news__title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--primary); }
.tk-news__more  { font-size: 15px; font-weight: 700; color: var(--primary); }
.tk-news__more:hover,
.tk-news__more:focus { text-decoration: underline; color: var(--primary); }

.tk-news__filters {
  display: flex; flex-wrap: wrap; gap: 11px;
  margin: 20px 0 0; padding: 0; list-style: none;
}
.tk-news__filter {
  padding: 10px 18px;
  border: 0; border-radius: 18px;
  background: var(--chip); color: var(--ink);
  font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.tk-news__filter:hover { background: #e3ebf7; }
.tk-news__filter[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* デザインどおり 5件表示。JS 有効時は絞り込み結果の先頭 5件を出す */
.tk-news__list { margin: 8px 0 0; padding: 0; list-style: none; }
.tk-news__item { border-bottom: 1px solid var(--line); }
.tk-news__item:nth-child(n+6) { display: none; }
.tk-news__list.is-js .tk-news__item { display: block; }
.tk-news__list.is-js .tk-news__item[hidden] { display: none; }

.tk-news__link {
  display: grid;
  grid-template-columns: 94px 72px minmax(0, 1fr) 16px;
  align-items: center; gap: 16px;
  padding: 12px 0;
  transition: background-color .2s ease;
}
.tk-news__link:hover { background: #f7faff; }

.tk-news__badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 6px;
  border-radius: 18px;
  background: var(--muted); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tk-news__badge[data-cat="important"] { background: var(--cat-important); }
.tk-news__badge[data-cat="news"]      { background: var(--cat-info); }
.tk-news__badge[data-cat="event"]     { background: var(--cat-event); }
.tk-news__badge[data-cat="campaign"]  { background: var(--cat-campaign); }
.tk-news__badge[data-cat="tour"]      { background: var(--cat-tour); }

.tk-news__date {
  font-size: 12px; font-weight: 700; color: var(--ink-soft);
  font-feature-settings: "tnum";
}
.tk-news__text {
  font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
}
.tk-news__chev { font-size: 20px; line-height: 1; color: var(--ink); text-align: right; }

.tk-news__empty { margin: 24px 0; font-size: 14px; color: var(--muted); }

/* --- 国内線／国際線カード (Figma 475x190 r18) --- */
.tk-guides { display: flex; flex-direction: column; gap: 18px; }

.tk-guide {
  display: grid;
  grid-template-columns: 253px minmax(0, 1fr);
  align-items: stretch;
  min-height: 219px;
  overflow: hidden;
  box-shadow: var(--sd-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tk-guide:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(22, 81, 166, .16); }
.tk-guide:hover .tk-circle { background: var(--sky); color: #fff; }

.tk-guide__fig { overflow: hidden; }
.tk-guide__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tk-guide__body {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 22px 22px;
}
.tk-guide__title { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.2; color: var(--primary); }
.tk-guide__sub   { margin: 12px 0 0; font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.tk-guide__go    { position: absolute; right: 22px; bottom: 20px; }

/* ══ 5. ゲーム ═══════════════════════════════════════ */

.tk-games__grid {
  display: grid;
  grid-template-columns: minmax(0, 403px) minmax(0, 841px);
  gap: 25px;
  align-items: stretch;
}
/* 個人会員トップ（Laravel）では、公開ランキングの対象キャンペーンが無い期間は左の「搭乗ランキング」の枠を出さない
   （redmine #19378）。ゲームの箱だけになったときは左の狭い列に収めず、2 列ぶんの幅に広げる（redmine #19311） */
.tk-games__grid > .tk-gamebox:only-child { grid-column: 1 / -1; }
/* 公開ランキングが開けない期間は、WordPress のトップでも js/home.js が「搭乗ランキング」の枠を hidden のままにする。
   :only-child は hidden の要素も数えるので、display:none に加えて、続くゲームの箱を 2 列ぶんに広げる */
.tk-gamebox[hidden] { display: none; }
.tk-games__grid > .tk-gamebox--single[hidden] + .tk-gamebox { grid-column: 1 / -1; }

.tk-gamebox {
  padding: 16px 20px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sd-lg);
}
.tk-gamebox__title {
  margin: 0 0 6px;
  font-size: 23px; font-weight: 700; line-height: 1.2; text-align: center;
  color: var(--primary);
}

/* --- 搭乗ランキング --- */
.tk-gamebox__items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tk-gamebox--single .tk-gamebox__items { grid-template-columns: 1fr; }

.tk-game {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center; gap: 12px;
}
.tk-game__fig { display: block; }
/* 読み込み前でも高さを確保してレイアウトのガタつきを防ぐ（素材は正方形） */
.tk-game__fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.tk-game__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--primary); }
.tk-game__sub   { margin: 8px 0 0; font-size: 15px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.tk-game__btn   { margin-top: 16px; }

/* --- ゲームでポイントをゲット！（Figma 改訂版）
   左：見出し＋アイコン 4 つ／右：斜めに切れた青い CTA パネル。
   パネルは下辺 240px・上辺 143px の台形（clip-path）で、カード右端に密着させる。 --- */
.tk-gamebox--games {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  padding: 0;
  overflow: hidden;
}
.tk-gamebox__lead { padding: 30px 16px 30px 20px; }
.tk-gamebox__title--lg { margin: 0 0 18px; }  /* 文字サイズは搭乗ランキングと同じ */

.tk-gamemenu {
  display: flex; justify-content: center; align-items: flex-start; gap: 48px;
  margin: 0; padding: 0; list-style: none;
}
.tk-gamemenu__item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--ink);
  transition: transform .2s ease;
}
.tk-gamemenu__item:hover,
.tk-gamemenu__item:focus { color: var(--primary); transform: translateY(-3px); text-decoration: none; }
.tk-gamemenu__item img { display: block; width: 90px; height: 90px; max-width: none; object-fit: contain; }  /* max-width:none — 共通の img{max-width:100%} で縮まないように */
/* スロット・おみくじは素材の余白が大きいので、行の高さを変えずに 1.3 倍で表示 */
.tk-gamemenu__item--lg img { width: 117px; height: 117px; margin: -13px -13px -14px; }
.tk-gamemenu__label { font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap; }

.tk-gamecta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 20px 10px 20px 60px;
  background: var(--primary);
  color: #fff;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  transition: background-color .2s ease;
}
.tk-gamecta:hover,
.tk-gamecta:focus { background: #0a3ed6; color: #fff; text-decoration: none; }
.tk-gamecta__text {
  font-size: 23px;  /* 見出しと同じサイズ */ font-weight: 700; line-height: 1.3; text-align: center; letter-spacing: .02em;
}
.tk-gamecta__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff; color: var(--primary);
  font-size: 28px; font-weight: 700; line-height: 1;
  transition: transform .2s ease;
}
.tk-gamecta:hover .tk-gamecta__arrow { transform: translateX(4px); }

/* ══ 6. ピックアップ ═════════════════════════════════ */

.tk-carousel { position: relative; }

.tk-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 10px;
}
.tk-carousel__viewport::-webkit-scrollbar { display: none; }

.tk-carousel__track {
  display: flex; gap: 24px;
  margin: 0; padding: 0; list-style: none;
}
/* カードは固定幅。縮むとスクロールが発生せず矢印が消えてしまうので伸縮させない */
.tk-carousel__track > li { flex: 0 0 auto; scroll-snap-align: start; }

.tk-carousel__nav {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  width: 55px; height: 55px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 21px; line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(8, 51, 184, .3);
  transition: background-color .2s ease, opacity .2s ease;
}
.tk-carousel__nav:hover { background: #0a3ed6; }
.tk-carousel__nav:disabled { opacity: .35; cursor: default; }
.tk-carousel__nav--prev { left: -18px; }
.tk-carousel__nav--next { right: -18px; }

/* 横スクロールさせるため viewport は overflow-y:hidden が避けられず、
   内側の余白が影より小さいとカードのドロップシャドウが切れてしまう。
   影が収まる余白を取り、同じ分だけ負のマージンで戻すのでレイアウトは変わらない。
   横方向に大きく取るとスクロール量を食って矢印が消えてしまうため、
   影が最も目立つ上下だけ確保している。 */
.tk-pickup .tk-carousel__viewport {
  padding: 20px 2px 52px;
  margin: -20px -2px -52px;
}

.tk-pickup__card {
  position: relative;
  display: flex; flex-direction: column;
  width: 297px; height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sd-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tk-pickup__card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(22, 81, 166, .18); }

.tk-pickup__fig { display: block; height: 129px; overflow: hidden; }
.tk-pickup__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tk-pickup__tag {
  position: absolute; top: 8px; left: 7px;
  padding: 6px 12px;
  border-radius: 14px;
  background: #ffc400; color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1.2;
}
.tk-pickup__tag[data-tag="グルメ"]   { background: var(--sky); }
.tk-pickup__tag[data-tag="NEW"]      { background: var(--cat-important); }
.tk-pickup__tag[data-tag="イベント"] { background: var(--cat-event); }
.tk-pickup__tag[data-tag="ご案内"]   { background: var(--cat-info); }
.tk-pickup__tag[data-tag="キャンペーン"] { background: var(--cat-campaign); }

.tk-pickup__body {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex: 1 1 auto;
  padding: 16px 16px 18px;
}
.tk-pickup__title {
  margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink);
  /* 投稿タイトルは長いことがあるので 3 行で省略 */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tk-pickup__chev  { flex: none; font-size: 22px; line-height: 1; color: var(--sky); }

/* ══ 7. 広告 ═════════════════════════════════════════ */

.tk-ads__panel {
  padding: 22px 26px 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sd-lg);
}
.tk-ads .tk-carousel__nav--prev { left: -26px; }
.tk-ads .tk-carousel__nav--next { right: -26px; }

.tk-ad { display: flex; flex-direction: column; width: 290px; height: 100%; }

.tk-ad__fig { position: relative; display: block; height: 129px; overflow: hidden; border-radius: 12px; }
.tk-ad__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-ad__tag {
  position: absolute; top: 7px; left: 8px;
  padding: 6px 13px;
  border-radius: 18px;
  background: #fff; color: var(--primary);
  font-size: 11px; font-weight: 700; line-height: 1.2;
}

.tk-ad__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  grid-template-rows: auto auto;
  align-items: center; gap: 6px 8px;
  padding-top: 14px;
}
.tk-ad__title {
  grid-column: 1; grid-row: 1;
  margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink);
  /* 投稿タイトルは長いことがあるので 2 行で省略 */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tk-ad__link {
  grid-column: 1; grid-row: 2;
  margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--primary);
}
.tk-ad__chev {
  grid-column: 2; grid-row: 1 / 3;
  font-size: 22px; line-height: 1; color: var(--sky);
}
.tk-ad:hover .tk-ad__title { text-decoration: underline; }

/* ══ 8. スポンサー ═══════════════════════════════════ */

.tk-sponsor__banner {
  position: relative;
  display: flex; align-items: center; gap: 24px;
  min-height: 169px;
  padding: 30px 36px;
  overflow: hidden;
  border-radius: 21px;
  background: var(--dark);
  color: #fff;
}
.tk-sponsor__bg {
  position: absolute; inset: 0; z-index: 0;
  /* Figma: バナー高さの約1.6倍で右寄りに写真、両端は本体色でぼかして溶かす */
  background-repeat: no-repeat;
  background-size: auto 164%;
  background-position: 80% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 60%, #000 84%, transparent 96%);
          mask-image: linear-gradient(90deg, transparent 45%, #000 60%, #000 84%, transparent 96%);
  opacity: .9;
}
.tk-sponsor__body { position: relative; z-index: 1; margin-right: auto; max-width: 640px; }
.tk-sponsor__title { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.2; }
.tk-sponsor__text  { margin: 10px 0 0; font-size: 16px; font-weight: 400; line-height: 1.5; }
.tk-sponsor__btn {
  position: relative; z-index: 1;
  flex: none;
  background: #fff; color: var(--ink);
}
.tk-sponsor__btn:hover { background: #f2f9ff; color: var(--ink); }
a.tk-sponsor__btn, a.tk-sponsor__btn:hover, a.tk-sponsor__btn:focus { color: var(--ink); }

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

@media (max-width: 1279px) {
  .tk-hero__body { grid-template-columns: minmax(0, 1fr) 470px; gap: 28px; }
  .tk-hero__catch { width: 100%; max-width: 460px; }
  .tk-hero__plane { left: auto; right: 8%; top: -14px; width: 132px; }
  .tk-hero__trail { display: none; }
  .tk-hero__title { padding-left: 0; font-size: 22px; }
  .tk-newsguides { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); }
  .tk-guide { grid-template-columns: 200px minmax(0, 1fr); min-height: 190px; }
  .tk-games__grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .tk-game { grid-template-columns: 110px minmax(0, 1fr); }
  .tk-gamebox--games { grid-template-columns: minmax(0, 1fr) 200px; }
  .tk-gamemenu { gap: 28px; }
  .tk-gamemenu__item img { width: 78px; height: 78px; }
  .tk-gamemenu__item--lg img { width: 100px; height: 100px; margin: -11px -11px -11px; }
  .tk-gamemenu__label { font-size: 15px; }
  .tk-gamecta { padding-left: 50px; }
  .tk-gamecta__arrow { width: 48px; height: 48px; font-size: 24px; }
}

@media (max-width: 1023px) {
  .tk-hero__inner { padding-bottom: 36px; }
  .tk-hero__body { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 26px; }
  .tk-hero__lead { padding-left: 0; }
  .tk-hero__catch { max-width: 420px; margin-inline: auto; }
  .tk-hero__plane { display: none; }
  .tk-hero__title { text-align: center; }
  .tk-hero__side { max-width: 564px; margin-inline: auto; width: 100%; }

  .tk-quick__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .tk-newsguides { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tk-guides { flex-direction: row; }
  .tk-guide { flex: 1 1 0; min-width: 0; }

  .tk-games__grid { grid-template-columns: minmax(0, 1fr); }
  .tk-gamebox--single .tk-gamebox__items { grid-template-columns: 1fr 1fr; }
  .tk-gamebox--games { grid-template-columns: minmax(0, 1fr) 220px; }
  .tk-gamemenu { gap: 44px; }

  .tk-carousel__nav--prev,
  .tk-ads .tk-carousel__nav--prev { left: 2px; }
  .tk-carousel__nav--next,
  .tk-ads .tk-carousel__nav--next { right: 2px; }

  .tk-sponsor__banner { flex-direction: column; align-items: flex-start; }
  .tk-sponsor__btn { align-self: stretch; }
}

@media (max-width: 767px) {
  .tk-section { padding-block: 26px; }
  .tk-section__title { font-size: 20px; }

  .tk-hero__inner { padding-top: 14px; }
  .tk-hero__catch { max-width: 320px; }
  .tk-hero__title { font-size: 18px; line-height: 1.7; }

  .tk-flight { padding: 16px 14px 18px; }
  .tk-flight__title { font-size: 18px; margin-bottom: 14px; }
  .tk-flight__tab button { font-size: 14px; padding: 12px 6px; }

  /* 狭い画面でも横スクロールせずに収まるよう詰める */
  .tk-flight .tk-flight__tables table th,
  .tk-flight .tk-flight__tables table td { padding: 6px 3px; }
  .tk-flight .tk-flight__tables table th { font-size: 11px; }
  .tk-flight .tk-flight__tables table td { font-size: 12px; }
  .tk-flight .tk-flight__tables table td img { width: 30px; }
  .tk-flight .tk-flight__tables table a.statusBtn { padding: 4px 6px; font-size: 10px; }
  .tk-flight .tk-flight__tables .eyecatch__flight__table__airline { width: 36px; }

  .tk-members { grid-template-columns: 1fr; }
  .tk-member { min-height: 0; }

  .tk-ticker__bar { gap: 10px; padding: 8px 12px 8px 8px; min-height: 62px; }
  .tk-ticker__label { min-width: 0; padding: 10px 14px; font-size: 14px; }
  .tk-ticker__item-title,
  .tk-ticker__item-text { font-size: 14px; }

  .tk-quick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tk-quick__card { min-height: 0; }
  .tk-quick__title { font-size: 14px; }
  .tk-quick__sub { font-size: 11px; }
  .tk-quick__arrow { right: 10px; bottom: 12px; font-size: 22px; }

  .tk-news { padding: 20px 16px 14px; }
  .tk-news__title { font-size: 22px; }
  .tk-news__filters { gap: 8px; margin-top: 16px; }
  .tk-news__filter { padding: 8px 14px; font-size: 11px; }
  .tk-news__link {
    grid-template-columns: 78px minmax(0, 1fr) 14px;
    grid-template-areas: "badge date chev" "text text text";
    gap: 6px 12px;
    padding: 12px 0;
  }
  .tk-news__badge { grid-area: badge; padding: 7px 4px; font-size: 11px; }
  .tk-news__date  { grid-area: date; }
  .tk-news__text  { grid-area: text; -webkit-line-clamp: 2; font-size: 13px; }
  .tk-news__chev  { grid-area: chev; }

  .tk-guides { flex-direction: column; }
  .tk-guide { grid-template-columns: 130px minmax(0, 1fr); min-height: 150px; }
  .tk-guide__body { padding: 16px 14px 14px; }
  .tk-guide__title { font-size: 18px; }
  .tk-guide__sub { font-size: 12px; margin-top: 6px; }
  .tk-guide__go { right: 12px; bottom: 12px; }
  .tk-circle { width: 44px; height: 44px; font-size: 17px; }

  .tk-gamebox { padding: 14px 14px 18px; }
  .tk-gamebox__title { font-size: 19px; }
  .tk-gamebox--single .tk-gamebox__items,
  .tk-gamebox__items { grid-template-columns: 1fr; gap: 14px; }
  .tk-game { grid-template-columns: 100px minmax(0, 1fr); }
  .tk-game__title { font-size: 17px; }
  .tk-game__sub { font-size: 13px; }
  .tk-game__btn { margin-top: 10px; }
  .tk-gamebox--games { grid-template-columns: minmax(0, 1fr); }
  .tk-gamebox__lead { padding: 22px 12px 20px; }
  .tk-gamebox__title--lg { margin-bottom: 14px; }
  .tk-gamemenu { gap: 6px; justify-content: space-around; }
  .tk-gamemenu__item { gap: 8px; }
  .tk-gamemenu__item img { width: 60px; height: 60px; }
  .tk-gamemenu__item--lg img { width: 76px; height: 76px; margin: -8px -8px -8px; }
  .tk-gamemenu__label { font-size: 13px; }
  .tk-gamecta { flex-direction: row; gap: 14px; padding: 14px 16px; clip-path: none; }
  .tk-gamecta__text { font-size: 19px; }
  .tk-gamecta__text br { display: none; }
  .tk-gamecta__arrow { width: 40px; height: 40px; font-size: 20px; }
  .tk-pill { padding: 11px 20px; font-size: 14px; }

  .tk-pickup__card { width: 240px; }
  .tk-pickup__fig { height: 108px; }
  .tk-ad { width: 240px; }
  .tk-ad__fig { height: 108px; }
  .tk-ads__panel { padding: 16px 14px 18px; }

  .tk-carousel__nav { width: 44px; height: 44px; font-size: 17px; }

  .tk-sponsor__banner { padding: 22px 18px; }
  .tk-sponsor__title { font-size: 22px; }
  .tk-sponsor__text { font-size: 14px; }
  .tk-sponsor__bg {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
    opacity: .35;
  }
}

/* Figma 1:2510：スマホのヒーローは画像下端にフライトを重ね、下のカードを2列で表示する。 */
@media (max-width: 767px) {
  .tk-home .tk-hero__bg { height: 356px; bottom: auto; }
  .tk-home .tk-hero__inner { padding: 90px 16px 24px; }
  .tk-home .tk-hero__body { margin-top: 0; gap: 0; }
  .tk-home .tk-hero__lead { min-height: 238px; }
  .tk-home .tk-hero__catch { width: 250px; max-width: 100%; margin: 0; }
  .tk-home .tk-hero__title { text-align: left; font-size: 14px; }
  .tk-home .tk-hero__side { gap: 16px; max-width: none; min-width: 0; }

  .tk-home .tk-flight { padding: 18px 16px 12px; border-radius: 20px; }
  .tk-home .tk-flight__title { line-height: 28px; margin: 0 0 12px; }
  .tk-home .tk-flight__tab button { height: 40px; padding: 8px 4px; border-radius: 10px 10px 0 0; }
  .tk-home .tk-flight__weather { margin: 6px 0; padding: 0; font-size: 10px; }
  .tk-home .tk-flight__weather img { width: 20px; }
  .tk-home .tk-flight__weather span { font-size: 11px; }
  .tk-home .tk-flight__tables { margin-top: 0; }
  /* 航空会社ロゴは省き、便名・行先・発着時刻・運航状況を読みやすく並べる。 */
  .tk-home .tk-flight__tables tr > :first-child { display: none; }
  .tk-home .tk-flight .tk-flight__tables table th { font-size: 10px; }
  .tk-home .tk-flight .tk-flight__tables table td { height: 38px; font-size: 11px; font-weight: 400; }
  .tk-home .tk-flight .tk-flight__tables table tr > :nth-child(2) { padding-left: 0; }
  .tk-home .tk-flight .tk-flight__tables table td:nth-child(2) { font-weight: 700; color: var(--primary); }
  .tk-home .tk-flight .tk-flight__tables table a.statusBtn { font-size: 9px; padding: 4px; border-radius: 2px; }
  .tk-home .tk-flight__note { font-size: 10px; }
  .tk-home .tk-flight__more { margin-top: 12px; }
  .tk-home .tk-flight__more .tk-pill { min-height: 44px; padding: 10px 18px; font-size: 11px; }

  .tk-home .tk-members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tk-home .tk-member { min-width: 0; min-height: 170px; padding: 13px 12px 10px; border-radius: 12px; }
  .tk-home .tk-member__title { position: relative; z-index: 1; font-size: clamp(10px, 3.1vw, 14px); line-height: 1.4; }
  .tk-home .tk-member__lead { margin: 7px 0 0; font-size: 10px; line-height: 1.4; }
  .tk-home .tk-member__actions { width: 84px; gap: 5px; padding-top: 10px; }
  .tk-home .tk-member__btn--join { padding: 8px 2px; font-size: 9px; }
  .tk-home .tk-member__btn--login { padding: 6px 2px; font-size: 9px; }
  .tk-home .tk-member--personal .tk-member__art { width: 82px; right: -3px; bottom: -5px; }
  .tk-home .tk-member--corp .tk-member__art { width: 90px; right: -8px; bottom: 0; }
}


/* ══ /styles/club.css ══ */
@charset "utf-8";
/* ============================================================
   とやま MY AIRPORT CLUB（個人会員サイト）カラーテーマ（#19069）
   Figma:「デザインスペース」node 227-65（個人）／227-790（切り替え1）
         ／227-1514（切り替え2）／227-2236（切り替え3）
   ------------------------------------------------------------
   個人会員サイトの見た目は公開サイト（styles/site.css / pages.css）と
   同じ部品で、配色だけを <html data-theme="..."> で差し替える。
   デザインの原本は WordPress テーマ側（このファイル群）。Laravel 側
   （/club/）はコピーを持たず参照する。

   構成
     1. カラーテーマ：site.css のデザイントークンをテーマごとに上書き
     2. 公開サイト側で色を直書きしている箇所の追従（hover 等）
     3. ナビの「テーマ切替」ポップオーバー／会員アイコン
     4. 記事（投稿・固定ページ）の追加部品
   ============================================================ */

/* ══ 1. カラーテーマ ═══════════════════════════════════ */

/* 既定（data-theme="standard"）は公開サイトと同じ配色（site.css の :root）。
   ここでは hover 等で site.css が直書きしていた色をトークン化するだけ。 */
:root {
  --primary-hover:  #0a3ed6;
  --primary-shadow: rgba(8, 51, 184, .32);
  --chip-hover:     #e3ebf7;
  --tint-hover:     #f2f9ff;
  --page-bg-top:    #eaf8ff;
  --page-bg-mid:    #f5fbff;
  --page-bg:        #ffffff;
}

/* 切り替え1：金×黒（くたべ） node 227-790 */
[data-theme="gold"] {
  /* 主色は暗い金（見出し・会員アイコン・「今すぐ挑戦する」）、明るい金はアクセント（タブ・矢印・お知らせピル） */
  --primary:        #837449;
  --primary-deep:   #d8b756;
  --primary-hover:  #6f6239;
  --primary-shadow: rgba(131, 116, 73, .35);
  --sky:            #d8b756;
  --ink:            #263746;
  --ink-soft:       #3f4f63;
  --muted:          #6b7889;
  --line:           #e9e3d3;
  --chip:           #f1ece0;
  --chip-hover:     #e8e1cf;
  --tint:           #f8f5ee;
  --tint-hover:     #f5f1e6;
  --page-bg-top:    #f3f0e9;
  --page-bg-mid:    #f8f6f0;
  --cat-info:       #315f88;
  --sd-sm: 0 8px 22px rgba(90, 75, 30, .12);
  --sd-md: 0 10px 24px rgba(90, 75, 30, .10);
  --sd-lg: 0 12px 28px rgba(90, 75, 30, .13);
}

/* 切り替え2：赤×金（寿司） node 227-1514 */
[data-theme="sushi"] {
  --primary:        #b10000;
  --primary-deep:   #8f0000;
  --primary-hover:  #950000;
  --primary-shadow: rgba(177, 0, 0, .32);
  --sky:            #c8262b;
  --ink:            #4a302c;
  --ink-soft:       #5e4640;
  --muted:          #8a6f68;
  --line:           #f0dfd6;
  --chip:           #fbeee6;
  --chip-hover:     #f6e2d6;
  --tint:           #fdf5f0;
  --tint-hover:     #fbeee6;
  --page-bg-top:    #fbf1eb;
  --page-bg-mid:    #fdf6f1;
  --cat-info:       #9e4637;
  --sd-sm: 0 8px 22px rgba(120, 40, 30, .12);
  --sd-md: 0 10px 24px rgba(120, 40, 30, .10);
  --sd-lg: 0 12px 28px rgba(120, 40, 30, .13);
}

/* 切り替え3：水色（きときと・マスコット） node 227-2236 */
[data-theme="sky"] {
  --primary:        #2c659b;
  --primary-deep:   #24547f;
  --primary-hover:  #245a8c;
  --primary-shadow: rgba(44, 101, 155, .32);
  --sky:            #5f9dc8;
  --ink:            #2a4056;
  --ink-soft:       #3d5670;
  --muted:          #6b8299;
  --line:           #dde7f0;
  --chip:           #edf3f9;
  --chip-hover:     #e1ebf4;
  --tint:           #f4f8fb;
  --tint-hover:     #edf3f9;
  --page-bg-top:    #edf3f9;
  --page-bg-mid:    #f3f7fb;
  --cat-info:       #356b9d;
  --sd-sm: 0 8px 22px rgba(44, 101, 155, .12);
  --sd-md: 0 10px 24px rgba(44, 101, 155, .10);
  --sd-lg: 0 12px 28px rgba(44, 101, 155, .13);
}

/* ══ 2. 直書き色の追従（.tk-club のページだけ） ════════ */

body.tk-club:not(.tk-front) {
  background: linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-mid) 320px, var(--page-bg) 720px) no-repeat;
  transition: background-color .25s ease;
}

.tk-club .tk-pill--solid:hover { background: var(--primary-hover); }
.tk-club .tk-pill--ghost:hover { background: var(--tint-hover); }
.tk-club .tk-gnav__search:hover { background: var(--chip-hover); }
.tk-club .tk-search button:hover { background: var(--primary-hover); }
.tk-club .toTop a { box-shadow: 0 8px 20px var(--primary-shadow); }
.tk-club .toTop a:hover { background: var(--primary-hover); }

.tk-club .tk-page .ch_leftside__menu ul ul li a:hover,
.tk-club .tk-page .contents__left .widget li a:hover,
.tk-club .tk-page .contents__main__card.linkCard:hover { background-color: var(--tint-hover); }
.tk-club .tk-page .linkBtn a:hover,
.tk-club .tk-page .flightLine__list__btn a:hover,
.tk-club .tk-page .flight__bigBtn a:hover,
.tk-club .tk-page .internalLinkBtn a:hover,
.tk-club .tk-page .transitLinkBtn a:hover,
.tk-club .tk-page .access_bigBtn a:hover { background: var(--chip-hover); }
.tk-club .tk-page .linkBtn2 a:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.tk-club .tk-page .contents__main .pdf a:hover,
.tk-club .tk-page .contents__main a.pdf:hover { background: var(--chip-hover); }

/* ══ 3. ナビ：テーマ切替ポップオーバー／会員アイコン ═══ */

.tk-gnav__theme { position: relative; }

/* ナビのリンクと同じ見た目のボタン（Figma: アイコン＋「テーマ切替」） */
.tk-gnav__link--theme {
  padding: 0; border: 0; background: none;
  font-family: var(--tk-font);
  cursor: pointer;
}
.tk-gnav__link--theme svg {
  width: 32px; height: 30px; flex: none;
  fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.tk-gnav__link--theme svg .tk-icon-fill { fill: var(--primary); stroke: none; }
.tk-gnav__link--theme[aria-expanded="true"] { color: var(--sky); }

.tk-theme__menu {
  position: absolute; left: 50%; top: calc(100% + 18px); z-index: 20;
  min-width: 232px;
  padding: 8px;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sd-lg);
}
.tk-theme__menu[hidden] { display: none; }
.tk-theme__title {
  margin: 0; padding: 6px 10px 8px;
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.tk-theme__option {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 10px;
  background: transparent; border: 0; border-radius: 10px;
  color: var(--ink);
  font-family: var(--tk-font); font-size: 14px; font-weight: 700; line-height: 1.3;
  text-align: left; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.tk-theme__option:hover,
.tk-theme__option:focus-visible { background: var(--chip); }
.tk-theme__option[aria-checked="true"] { color: var(--primary); }
.tk-theme__option[aria-checked="true"]::after { content: "\2713"; margin-left: auto; font-weight: 700; }
/* 色見本：各テーマの主色と背景色 */
.tk-theme__swatch {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line);
  background: linear-gradient(135deg, var(--swatch-a) 0 50%, var(--swatch-b) 50% 100%);
}

/* ドロワー内のテーマ一覧（1024px 未満はナビが隠れるためこちらで切替） */
.tk-drawer__themes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tk-drawer__themes .tk-theme__option { padding: 9px 8px; border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }

/* 会員アイコン＋ニックネーム（Figma: 青丸の頭文字＋「ニックネームさん」） */
.tk-gnav__account {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700; line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color .2s ease;
}
.tk-gnav__account:hover,
.tk-gnav__account:focus { background: var(--chip); color: var(--ink); }
.tk-gnav__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 16px; font-weight: 700;
}

/* ══ 4. 記事（投稿・固定ページ）の追加部品 ════════════ */

.tk-club-article__foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 36px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--line);
}

/* ══ 5. トップページ（会員向け表示・Figma 227-65） ═════ */

/* ヒーロー背景：スタンダードは公開サイトの写真。他テーマはテーマ専用の画像
   （images/home/club-hero-*.jpg、1610x1045、キャッチコピー込み）に差し替える。
   画像に文字が入っているので、左側のキャッチ・見出しは出さない。 */
[data-theme="gold"]  { --hero-color: #151717; --hero-image: url(https://www.toyama-airport.jp/wp-content/themes/toyama-airport/images/home/club-hero-gold.jpg); }
[data-theme="sushi"] { --hero-color: #b10000; --hero-image: url(https://www.toyama-airport.jp/wp-content/themes/toyama-airport/images/home/club-hero-sushi.jpg); }
[data-theme="sky"]   { --hero-color: #4a86c0; --hero-image: url(https://www.toyama-airport.jp/wp-content/themes/toyama-airport/images/home/club-hero-sky.jpg); }

/* 文字が左寄りの素材なので、幅が足りないときは左側を優先して残す */
html:not([data-theme="standard"]) .tk-club .tk-hero__bg {
  background: var(--hero-color) var(--hero-image) left bottom / cover no-repeat;
}
html:not([data-theme="standard"]) .tk-club .tk-hero__bg img,
html:not([data-theme="standard"]) .tk-club .tk-hero__lead > * { display: none; }

/* 会員パネル（ヒーロー右・本日のフライトの下） */
.tk-mypanel { padding: 20px 24px 22px; border-radius: 21px; box-shadow: var(--sd-lg); }
.tk-mypanel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 14px;
}
.tk-mypanel__name { flex: 1 1 auto; margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--ink); }
.tk-mypanel__refresh { flex: none; font-size: 15px; font-weight: 700; color: var(--ink); }
.tk-mypanel__refresh:hover { color: var(--primary); }
.tk-mypanel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tk-mypanel__box {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 12px 12px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--tint);
  text-align: center;
}
.tk-mypanel__label {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ink-soft);
}
.tk-mypanel__label img { width: 36px; height: 36px; }
.tk-mypanel__points { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; }
.tk-mypanel__wallet { width: 46px; height: 46px; border-radius: 8px; }
.tk-mypanel__points strong { font-size: 30px; font-weight: 700; line-height: 1; color: var(--primary); }
.tk-mypanel__points small  { margin-left: 2px; font-size: 14px; font-weight: 700; color: var(--primary); }
.tk-mypanel__stats { display: grid; gap: 6px; width: 100%; margin: 0; }
.tk-mypanel__stats div { display: flex; align-items: baseline; justify-content: space-between; padding: 0 6px; }
.tk-mypanel__stats dt { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.tk-mypanel__stats dd { margin: 0; }
.tk-mypanel__stats strong { font-size: 22px; font-weight: 700; color: var(--ink); }
.tk-mypanel__stats small  { margin-left: 2px; font-size: 12px; color: var(--ink-soft); }
.tk-mypanel__btn { width: 100%; margin-top: auto; padding: 9px 12px; font-size: 12px; }

/* 会員メニュー（会員証・搭乗券登録・搭乗履歴・キャンペーン応募） */
.tk-mquick { padding-bottom: 0; }
.tk-club .tk-quick { padding-top: 16px; }
.tk-mquick__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.tk-mquick__card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 150px;
  padding: 20px 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sd-lg);
  color: var(--primary);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tk-mquick__card:hover,
.tk-mquick__card:focus { transform: translateY(-4px); color: var(--primary); text-decoration: none; }
/* アイコン画像（素材は 130〜200px 角、余白込み）。高さを揃えて幅は比率のまま */
.tk-mquick__fig { display: flex; align-items: center; justify-content: center; height: 84px; }
.tk-mquick__fig img { display: block; max-height: 84px; width: auto; max-width: 110px; object-fit: contain; }
.tk-mquick__title { display: inline-flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 700; line-height: 1.2; }
.tk-mquick__arrow { font-size: 24px; line-height: 1; color: var(--sky); }
.tk-mquick__card--accent,
.tk-mquick__card--accent:hover,
.tk-mquick__card--accent:focus { color: #e8489a; }
.tk-mquick__card--accent .tk-mquick__arrow { color: #e8489a; }

/* home.css の直書き色の追従 */
.tk-club .tk-gamecta:hover,
.tk-club .tk-gamecta:focus { background: var(--primary-hover); }

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

@media (max-width: 1023px) {
  /* ナビ本体は隠れるので、テーマ切替はドロワー側を使う */
  .tk-gnav__account { padding: 2px; }
  .tk-gnav__nickname {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .tk-mquick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .tk-club-article__foot .tk-pill { width: 100%; }
  /* SP はカードが全面に載って画像が隠れるため、キャッチ部分をカードの上にバナーとして出す */
  html:not([data-theme="standard"]) .tk-club .tk-hero__bg { background: var(--hero-color); }
  html:not([data-theme="standard"]) .tk-club .tk-hero__lead {
    aspect-ratio: 1610 / 1045;
    margin-top: 78px;
    border-radius: 18px;
    background: var(--hero-image) center / cover no-repeat;
    box-shadow: var(--sd-lg);
  }
  .tk-mypanel { padding: 16px; }
  .tk-mypanel__grid { grid-template-columns: 1fr; }
  .tk-mquick__list { gap: 10px; }
  .tk-mquick__card { min-height: 120px; padding: 14px 8px; }
  .tk-mquick__fig svg { width: 56px; height: 56px; }
  .tk-mquick__title { font-size: 15px; }
}

@media print {
  .tk-theme__menu, .tk-drawer__group--theme, .tk-club-article__foot { display: none !important; }
}

/* スマホでもポイントとランキングを横並びにし、フライトと同じ幅に揃える。 */
@media (max-width: 767px) {
  .tk-home .tk-mypanel { padding: 16px 12px; border-radius: 20px; }
  .tk-home .tk-mypanel__head { gap: 8px; margin-bottom: 12px; }
  .tk-home .tk-mypanel__name { font-size: 16px; overflow-wrap: anywhere; }
  .tk-home .tk-mypanel__refresh { font-size: 12px; }
  .tk-home .tk-mypanel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tk-home .tk-mypanel__box { min-width: 0; gap: 8px; padding: 10px 6px; border-radius: 12px; }
  .tk-home .tk-mypanel__label { font-size: 10px; gap: 4px; }
  .tk-home .tk-mypanel__label img { width: 24px; height: 24px; }
  .tk-home .tk-mypanel__points { gap: 4px; flex-wrap: wrap; }
  .tk-home .tk-mypanel__wallet { width: 32px; height: 32px; }
  .tk-home .tk-mypanel__points strong { font-size: 22px; overflow-wrap: anywhere; }
  .tk-home .tk-mypanel__points small { font-size: 11px; }
  .tk-home .tk-mypanel__stats div { padding: 0; gap: 4px; }
  .tk-home .tk-mypanel__stats dt { font-size: 10px; }
  .tk-home .tk-mypanel__stats strong { font-size: 18px; }
  .tk-home .tk-mypanel__btn { min-height: 40px; padding: 7px 4px; font-size: 10px; white-space: normal; overflow-wrap: anywhere; }
}

