@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; }
}
