/*
Theme Name:  Imari Koutsu
Theme URI:   https://imari-koutsu.jp/
Description: 伊万里交通株式会社 オリジナルテーマ
Version:     1.0.0
Author:      Your Agency
Text Domain: imari-koutsu
Tags:        multilingual, business, travel
*/

/* ─────────────────────────────────────────
   デザイントークン
───────────────────────────────────────── */
:root {
  /* ブランドカラー */
  --ik-blue:         #004f9f;
  --ik-blue-dark:    #003a78;
  --ik-blue-light:   #e6f0fb;
  --ik-green:        #6bb92b;
  --ik-green-dark:   #4e8a1e;
  --ik-green-light:  #edf7df;
  --ik-indigo:       #4b4fa3; /* ページヘッダー見出し用のアクセントカラー */

  /* ニュートラル */
  --ik-white:        #ffffff;
  --ik-gray-50:      #f9f9f8;
  --ik-gray-100:     #f2f1ef;
  --ik-gray-200:     #e4e3e0;
  --ik-gray-400:     #9a9893;
  --ik-gray-600:     #5c5b58;
  --ik-gray-900:     #1a1a18;

  /* タイポグラフィ */
  --font-ja:         'Noto Sans JP', sans-serif;
  --font-en:         'Inter', 'Montserrat', sans-serif;
  --font-base:       var(--font-ja);

  /* スペーシングスケール */
  --sp-xs:   4px;
  --sp-sm:   8px;
  --sp-md:   16px;
  --sp-lg:   24px;
  --sp-xl:   40px;
  --sp-2xl:  64px;
  --sp-3xl:  96px;
  --sp-4xl:  128px;

  /* ボーダー */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  /* トランジション */
  --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:     150ms;
  --dur-base:     250ms;
  --dur-slow:     450ms;

  /* コンテナ */
  --container-sm:  640px;
  --container-md:  960px;
  --container-lg:  1200px;
  --container-xl:  1440px;
  --container-pad: clamp(16px, 5vw, 80px);

  /* セクション余白 */
  --section-py: clamp(var(--sp-2xl), 8vw, var(--sp-4xl));

  /* フォームUI */
  --input-h:       52px;
  --input-h-lg:    60px;  /* タブレット用大型入力 */
  --input-radius:  var(--radius-md);
  --input-border:  1px solid var(--ik-gray-200);
  --input-bg:      var(--ik-white);
  --input-focus:   0 0 0 3px rgba(0, 79, 159, 0.18);

  /* z-index スタック */
  --z-header:   100;
  --z-modal:    200;
  --z-toast:    300;

  /* ヘッダー高さ（本番同様の2段構成：上段=ロゴ/CTA、下段=ナビ帯） */
  --header-h-top: 88px;
  --header-h-nav: 48px;
  --header-h:     calc(var(--header-h-top) + var(--header-h-nav));
}

/* ─────────────────────────────────────────
   リセット / ベース
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--ik-gray-900);
  background: var(--ik-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────────
   コンテナ
───────────────────────────────────────── */
.ik-container {
  width: 100%;
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.ik-container--sm  { max-width: var(--container-sm); }
.ik-container--md  { max-width: var(--container-md); margin-bottom: 10px; }
.ik-container--xl  { max-width: var(--container-xl); }

/* ─────────────────────────────────────────
   本文スタイル（.ik-prose）
   （single-ik_tour.php にしか定義が無く、page.php を使う
   　プライバシーポリシー・旅行業約款等では効いていなかったため一本化）
───────────────────────────────────────── */
.ik-prose { line-height: 1.85; color: var(--ik-gray-900); }
.ik-prose h2 {
  font-size: 1.4rem; font-weight: 700;
  margin: 1.6em 0 .5em;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--ik-blue-light);
  color: var(--ik-blue);
}
.ik-prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.2em 0.1em .4em; }
.ik-prose p  { margin: 0 0 .8em; }
.ik-prose ul, .ik-prose ol { padding-left: 1.4em; margin: 0 0 .8em; }
.ik-prose li { margin-bottom: .3em; }
.ik-prose img { border-radius: var(--radius-md); margin: 1em 0; }
.ik-prose table {
  width: 100%; border-collapse: collapse;
  margin: .1em 0; font-size: 0.9375rem;
}
.ik-prose th, .ik-prose td {
  padding: 8px 12px;
  border: 1px solid var(--ik-gray-200);
  text-align: left;
}
.ik-prose th { background: var(--ik-blue-light); font-weight: 600; color: var(--ik-blue); }

/* 旅行業約款など、表データを一律 <table> ではなくシンプルな枠で出す場合 */
.ik-terms-table-wrap { overflow-x: auto; margin: .2em 0 0.2em 0; }
.ik-terms-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ik-terms-table td {
  padding: 6px 12px;
  border: 1px solid var(--ik-gray-200);
  vertical-align: top;
  line-height: 1.5em;
}
.ik-terms-table tr:first-child td { background: var(--ik-blue-light); font-weight: 600; color: var(--ik-blue); }

/* 旅行業約款など、（注）の注釈部分を本文より小さく表示 */
.ik-note { font-size: 0.8125rem; color: var(--ik-gray-600); line-height: 1.75; }
.ik-note p { margin: 0 0 0.1em; }

/* ─────────────────────────────────────────
   パンくずリスト
   （各ページテンプレートに個別定義されていて基本構造(list-style/flex)が
   　抜けているものがあったため、ここに一本化）
───────────────────────────────────────── */
.ik-breadcrumb ol {
  list-style: none;
  margin: 0 0 var(--sp-lg);
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  flex-wrap: wrap;
}
.ik-breadcrumb li { font-size: 0.8125rem; }
.ik-breadcrumb a { text-decoration: none; }

/* 白背景ヒーロー用（濃色文字） */
.ik-breadcrumb--dark li { color: var(--ik-gray-400); }
.ik-breadcrumb--dark a  { color: var(--ik-gray-600); }
.ik-breadcrumb--dark a:hover { color: var(--ik-blue); }

/* 濃色ヒーロー用（白文字・半透明） */
.ik-breadcrumb--white li,
.ik-breadcrumb--white a { color: rgba(255,255,255,.55); }
.ik-breadcrumb--white a:hover { color: rgba(255,255,255,.9); }

/* 修飾クラス無し（単色濃色背景想定のデフォルト） */
.ik-breadcrumb:not(.ik-breadcrumb--dark):not(.ik-breadcrumb--white) li { color: rgba(255,255,255,.6); }
.ik-breadcrumb:not(.ik-breadcrumb--dark):not(.ik-breadcrumb--white) a  { color: rgba(255,255,255,.7); }
.ik-breadcrumb:not(.ik-breadcrumb--dark):not(.ik-breadcrumb--white) a:hover { color: #fff; }

/* ─────────────────────────────────────────
   ページヘッダー（パンくず＋見出し帯）
   （archive-ik_tour.php にしか基本スタイルが無く、about/contact/news等の
   　他ページでは padding-top が効かず固定ヘッダーの下に隠れていたため、
   　ここに一本化）
───────────────────────────────────────── */
.ik-page-header {
  padding: calc(var(--header-h) + var(--sp-lg)) 0 var(--sp-2xl);
  background: #fff;
  text-align: center;
}

.ik-page-header > .ik-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ik-page-header .ik-breadcrumb {
  order: 0;
  align-self: flex-start;
  width: 100%;
  text-align: left;
  margin-bottom: var(--sp-md);
}
.ik-page-header .ik-breadcrumb ol { justify-content: flex-start; }

.ik-page-header h1 {
  order: 1;
  color: var(--ik-indigo);
  margin-top: 0 !important;
}

.ik-page-header .ik-eyebrow {
  order: 2;
  margin-top: var(--sp-xs) !important;
  color: var(--ik-indigo);
  opacity: .65;
}

/* 見出し・サブテキスト以外の補足文（説明文パラグラフ等）は一番下に */
.ik-page-header > .ik-container > p:not(.ik-eyebrow) {
  order: 3;
  margin-top: var(--sp-md) !important;
}

/* ページヘッダーの説明文を左揃えにする場合 */
.ik-page-header > .ik-container > p.ik-page-header__lead--left {
  align-self: center;
  width: 100%;
  max-width: 38em;
  text-align: left;
}

/* ─────────────────────────────────────────
   タイポグラフィ
───────────────────────────────────────── */
.ik-eyebrow {
  font-family: var(--font-en);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ik-blue);
}

.ik-eyebrow--green { color: var(--ik-green-dark); }

.ik-heading-xl {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.0em;
}

.ik-heading-lg {
  font-size: clamp(1.6rem, 2.0vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ik-heading-md {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
}

.ik-body    { font-size: 1rem; line-height: 1.75; }
.ik-body-sm { font-size: 0.875rem; line-height: 1.7; color: var(--ik-gray-600); }

/* ─────────────────────────────────────────
   ボタン
───────────────────────────────────────── */
.ik-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--dur-base) var(--ease-default),
              transform var(--dur-fast) var(--ease-default),
              box-shadow var(--dur-base) var(--ease-default);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.ik-btn--primary {
  background: var(--ik-blue);
  color: var(--ik-white);
}
.ik-btn--primary:hover {
  background: var(--ik-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 79, 159, 0.28);
}

.ik-btn--secondary {
  background: transparent;
  color: var(--ik-blue);
  border: 1.5px solid var(--ik-blue);
}
.ik-btn--secondary:hover {
  background: var(--ik-blue-light);
  transform: translateY(-1px);
}

.ik-btn--green {
  background: var(--ik-green);
  color: var(--ik-white);
}
.ik-btn--green:hover {
  background: var(--ik-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(107, 185, 43, 0.3);
}

.ik-btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.ik-btn:active { transform: translateY(0) scale(0.99); }

/* ─────────────────────────────────────────
   セクション
───────────────────────────────────────── */
.ik-section {
  padding-block: 64px;
}

.ik-section--gray  { background: var(--ik-gray-50); margin-bottom: 70px; }
.ik-section--blue  { background: var(--ik-blue); color: var(--ik-white); }
.ik-section--green { background: var(--ik-green-light); }

/* ─────────────────────────────────────────
   ヘッダー
───────────────────────────────────────── */
/* .ik-header 自体は position:fixed にしない（上段・下段をそれぞれ独立して固定することで、
   気球の演出（下段の帯より手前に飛び出す）を保ったまま、上段（言語切替など操作系）は
   常に気球より手前＝最前面に表示されるようにするため。詳細は各行のコメント参照 */
.ik-header {
  transition: box-shadow var(--dur-base) var(--ease-default);
}

/* 上段：ロゴ＋言語切替＋CTA（気球より確実に手前に出るよう、下段より高いz-indexで独立固定）
   .ik-header__inner-bar が画面幅いっぱいの背景・固定位置を担当（.ik-container の
   max-width を持たせないための専用ラッパー）、.ik-header__inner はその中の
   センタリングされたコンテンツ行だけを担当する */
.ik-header__inner-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: calc(var(--z-header) + 2);
  height: var(--header-h-top);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ik-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: var(--sp-lg);
}

.ik-header.is-scrolled .ik-header__navbar {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.ik-header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ik-blue);
  flex-shrink: 0;
}

.ik-header__logo img { height: 44px; width: auto; }

/* 下段：ナビ専用の帯（本番同様、上段とは別の色帯）
   上段と同じ z-index のまま独立固定 → 気球レイヤー（--z-header + 1）がこの帯の
   手前に飛び出して見える演出はそのまま維持される */
.ik-header__navbar {
  position: fixed;
  top: var(--header-h-top); left: 0; right: 0;
  z-index: var(--z-header);
  background: var(--ik-blue);
  height: var(--header-h-nav);
  display: flex;
  align-items: center;
}

.ik-header__nav {
  display: flex;
  align-items: center;
  width: 100%;
}

.ik-header__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--sp-xl);
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ik-header__nav a {
  display: block;
  padding: 8px 4px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition: all var(--dur-base) var(--ease-default);
  border-bottom: 3px solid transparent;
  position: relative;
}

.ik-header__nav a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.ik-header__nav a.is-current {
  color: #fff;
  border-bottom-color: var(--ik-green);
}

.ik-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   言語切替
───────────────────────────────────────── */
.ik-lang-switcher {
  position: relative;
}

.ik-lang-switcher__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--ik-gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--ik-gray-600);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.ik-lang-switcher__trigger:hover {
  border-color: var(--ik-blue);
  color: var(--ik-blue);
  background: var(--ik-blue-light);
}

.ik-lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--ik-white);
  border: 1px solid var(--ik-gray-200);
  border-radius: var(--radius-md);
  padding: var(--sp-sm);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-base) var(--ease-out),
              visibility var(--dur-base),
              transform var(--dur-base) var(--ease-out);
  z-index: 10;
}

.ik-lang-switcher:hover .ik-lang-switcher__dropdown,
.ik-lang-switcher__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ik-lang-switcher__item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--ik-gray-600);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.ik-lang-switcher__item:hover,
.ik-lang-switcher__item.is-active {
  background: var(--ik-blue-light);
  color: var(--ik-blue);
}

/* ─────────────────────────────────────────
   フォーム共通
───────────────────────────────────────── */
.ik-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ik-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ik-gray-600);
}

.ik-form-label .required {
  color: #d93b3b;
  margin-left: 4px;
}

.ik-form-input,
.ik-form-select,
.ik-form-textarea {
  width: 100%;
  height: var(--input-h);
  padding: 0 var(--sp-md);
  border: var(--input-border);
  border-radius: var(--input-radius);
  background: var(--input-bg);
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--ik-gray-900);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}

.ik-form-input:focus,
.ik-form-select:focus,
.ik-form-textarea:focus {
  outline: none;
  border-color: var(--ik-blue);
  box-shadow: var(--input-focus);
}

.ik-form-textarea {
  height: auto;
  min-height: 120px;
  padding: var(--sp-md);
  resize: vertical;
  line-height: 1.7;
}

/* タブレット最適化 大型入力 */
.ik-form-input--lg,
.ik-form-select--lg {
  height: var(--input-h-lg);
  font-size: 1.1rem;
  padding: 0 var(--sp-lg);
  border-radius: var(--radius-lg);
}

/* ステップインジケーター */
.ik-step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--sp-2xl);
}

.ik-step-indicator__item {
  display: flex;
  align-items: center;
  flex: 1;
}

.ik-step-indicator__dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ik-gray-100);
  border: 2px solid var(--ik-gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ik-gray-400);
  flex-shrink: 0;
  transition: background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
}

.ik-step-indicator__item.is-active  .ik-step-indicator__dot {
  background: var(--ik-blue);
  border-color: var(--ik-blue);
  color: var(--ik-white);
}

.ik-step-indicator__item.is-done .ik-step-indicator__dot {
  background: var(--ik-green);
  border-color: var(--ik-green);
  color: var(--ik-white);
}

.ik-step-indicator__line {
  flex: 1;
  height: 2px;
  background: var(--ik-gray-200);
  margin-inline: 4px;
  transition: background var(--dur-slow);
}

.ik-step-indicator__item.is-done + .ik-step-indicator__item .ik-step-indicator__line,
.ik-step-indicator__item.is-done .ik-step-indicator__line {
  background: var(--ik-green);
}

/* ─────────────────────────────────────────
   カード
───────────────────────────────────────── */
.ik-card {
  background: var(--ik-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ik-gray-100);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.ik-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.ik-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.ik-card__body {
  padding: var(--sp-lg);
}

/* ─────────────────────────────────────────
   お知らせ（シンプルリスト・本番スタイル踏襲）
───────────────────────────────────────── */
.ik-news-row-simple {
  display: flex;
  align-items: baseline;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-xs);
  border-bottom: 1px solid var(--ik-gray-200);
  text-decoration: none;
  color: var(--ik-blue);
  transition: opacity var(--dur-fast, .15s);
}

.ik-news-row-simple:hover {
  opacity: 0.65;
}

.ik-news-row-simple__icon {
  flex-shrink: 0;
  color: #e63946;
  font-size: 0.875rem;
}

.ik-news-row-simple__date {
  flex-shrink: 0;
  font-family: var(--font-en);
  white-space: nowrap;
}

.ik-news-row-simple__title {
  font-weight: 500;
}

/* ─────────────────────────────────────────
   採用情報（トップページ埋め込み・本番スタイル踏襲）
───────────────────────────────────────── */
.recruit-section {
  padding: var(--sp-xl);
  background: var(--ik-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--ik-blue);
}

.recruit-title {
  font-size: 1.625rem;
  margin-bottom: var(--sp-sm);
  text-align: center;
  margin-top: 0px;
}

.recruit-lead {
  text-align: center;
  margin-bottom: var(--sp-lg);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ik-gray-600);
}

.recruit-list {
  display: flex;
  gap: var(--sp-lg);
}

.recruit-box {
  flex: 1;
  background: var(--ik-gray-100);
  padding: var(--sp-md);
  border-radius: var(--radius-md);
}

.recruit-box h3 {
  font-size: 1.0625rem;
  margin: 0 0 var(--sp-sm);
  text-align: center;
}

.recruit-box p {
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: justify;
}

.recruit-contact {
  text-align: center;
  margin-top: var(--sp-xl);
}

.recruit-tel {
  font-size: 1.375rem;
  margin: 0 0 var(--sp-md);
  font-weight: 700;
  font-family: var(--font-en);
}

.recruit-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--ik-blue);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background var(--dur-base, .2s);
}

.recruit-btn:hover {
  background: var(--ik-blue-dark);
}

@media screen and (max-width: 768px) {
  .recruit-list { flex-direction: column; }
  .recruit-btn  { width: 100%; box-sizing: border-box; text-align: center; }
  .recruit-lead { text-align: justify; }
  .recruit-box h3 { font-size: 1rem; }
}

/* ─────────────────────────────────────────
   貸切バス見積り／ツアー相談フォーム 横並び表示
   （トップページ・お問い合わせページ共通。他ページの単独埋め込みには影響しない）
───────────────────────────────────────── */
.ik-quote-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: stretch;
  width: 90%;
  margin-inline: auto;
}
.ik-quote-forms > section.ik-section {
  padding-block: var(--sp-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ik-quote-forms > section.ik-section > .ik-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ik-quote-forms .ik-card {
  padding: var(--sp-lg) !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ik-quote-forms .ik-section-header,
.ik-quote-forms > section > .ik-container > div[style*="text-align:center"] {
  margin-bottom: var(--sp-lg) !important;
}
/* ツアーフォームだけ「タブレット用大型入力」だったため、貸切バスフォームと同じ標準サイズに揃える */
.ik-quote-forms .ik-form-input--lg,
.ik-quote-forms .ik-form-select--lg {
  height: var(--input-h);
  font-size: 1rem;
  padding: 0 var(--sp-md);
  border-radius: var(--input-radius);
}
/* 「次へ」ボタンもツアーフォームだけ大型(--lg)だったため、貸切バスフォームと同じ標準サイズに揃える
   （最終送信ボタンは両フォームとも--lgのままで統一済みなので対象外） */
.ik-quote-forms .ik-btn--next.ik-btn--lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}
/* 各フォームのテーマカラーに合わせて背景色を統一（貸切バス＝薄いブルー／ツアー＝薄いグリーン） */
.ik-quote-forms #bus-charter-form {
  background: var(--ik-blue-light) !important;
}
.ik-quote-forms #tour-inquiry-form {
  background: var(--ik-green-light) !important;
}

@media (max-width: 900px) {
  .ik-quote-forms { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   画像メニュー（「選ばれる理由」等のカードと統一したグリッド表示）
───────────────────────────────────────── */
.ik-menu-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-lg);
  width: 100%;
}

.ik-menu-banner__item {
  display: block;
  line-height: 0;
}

.ik-menu-banner__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform var(--dur-base, .3s) var(--ease-out, ease);
}

.ik-menu-banner__item:hover img {
  transform: scale(1.05);
}

.ik-menu-banner__caption {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  line-height: 1.4;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ik-blue);
  background: #fff;
}

@media (max-width: 768px) {
  .ik-menu-banner { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   ヒーローセクション
───────────────────────────────────────── */
.ik-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h); /* ヘッダー高さ分 */
  overflow: hidden;
}

.ik-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ik-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.ik-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 31, 79, 0.72) 0%,
    rgba(0, 31, 79, 0.3) 60%,
    transparent 100%
  );
}

.ik-hero__content {
  position: relative;
  z-index: 1;
  color: var(--ik-white);
  max-width: 600px;
}

.ik-hero__content .ik-eyebrow { color: rgba(255,255,255,0.75); }

/* ─────────────────────────────────────────
   モバイル対応
───────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --header-h-top: 114px;
    --header-h-nav: 0px; /* ナビ帯はモバイルでは非表示（ハンバーガーに集約） */
  }
  .ik-header__navbar { display: none; }

  /* ロゴが横長で幅を取るため、本番同様アクション行とロゴ行を2段に分ける
     （2段になった分、外側の .ik-header__inner-bar も高さを固定値でなく内容に合わせる） */
  .ik-header__inner-bar { height: auto; }
  .ik-header__inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 10px;
  }
  .ik-header__actions {
    order: -1;
    width: 100%;
    justify-content: flex-end;
  }
  .ik-header__logo { width: 100%; }
  .ik-header__logo img { height: 34px; }
  .ik-header__cta { display: none; } /* モバイルはドロワー内のCTAボタンに集約 */

  .ik-header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
  }

  .ik-header__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ik-gray-900);
    border-radius: 2px;
    transition: transform var(--dur-base), opacity var(--dur-fast);
  }

  /* タブレット用フォーム */
  .ik-form-input,
  .ik-form-select,
  .ik-form-textarea {
    height: var(--input-h-lg);
    font-size: 1rem;
  }

  .ik-btn--lg { width: 100%; justify-content: center; }
}

/* iPhone 16 Pro (430px) 最適化 */
@media (max-width: 430px) {
  :root { --container-pad: 20px; }

  .ik-btn {
    padding: 16px 24px;
    font-size: 1rem;
  }
}

/* ─────────────────────────────────────────
   共通コンポーネント（バッジ・ページネーション・
   カテゴリタブ・0件表示）
   （archive-ik_tour.php / single-ik_tour.php にしか定義が無く、
   　archive-ik_news.php / single-ik_news.php では効いていなかった
   　ため一本化。全ページ監査で発見）
───────────────────────────────────────── */
.ik-badge {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.ik-badge--green { background: var(--ik-green); color: #fff; }
.ik-badge--blue  { background: var(--ik-blue-light); color: var(--ik-blue); }

.ik-empty-state {
  text-align: center;
  padding: var(--sp-4xl) var(--sp-xl);
}

.ik-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-xs);
  list-style: none;
  margin: 0; padding: 0;
}
.ik-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ik-gray-600);
  border: 1px solid var(--ik-gray-200);
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.ik-pagination .page-numbers:hover { background: var(--ik-blue-light); color: var(--ik-blue); border-color: var(--ik-blue); }
.ik-pagination .page-numbers.current { background: var(--ik-blue); color: #fff; border-color: var(--ik-blue); }
.ik-pagination .page-numbers.dots { border: none; color: var(--ik-gray-400); min-width: auto; }

.ik-cat-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--ik-gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ik-gray-600);
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.ik-cat-tab:hover { background: var(--ik-blue-light); color: var(--ik-blue); border-color: var(--ik-blue); }
.ik-cat-tab.is-active { border-color: var(--ik-blue); }