@charset "UTF-8";
/* ============================================================
   オンライントラベル株式会社 コーポレートサイト 共通スタイル
   ------------------------------------------------------------
   命名規則 : BEM（block__element--modifier）
   構成     : 1. 変数・リセット
              2. 汎用（レイアウト / プレースホルダー）
              3. 共通コンポーネント
                 ヘッダー / フッター / 見出し(英日ペア) / ボタン /
                 カード / マーキー / パンくず / モーダル
              4. トップページ固有
              5. アニメーション / レスポンシブ
   ============================================================ */

/* ------------------------------------------------------------
   1. 変数・リセット
   ------------------------------------------------------------ */
:root {
  /* ブランドカラー */
  --c-navy:        #214280;  /* コーポレート（土台） */
  --c-navy-dark:   #16305e;
  --c-navy-pale:   #e9eef7;
  --c-orange:      #f97316;  /* アクセント1（CTA・強調） */
  --c-sky:         #5bb6f5;  /* アクセント2（抜け感） */
  --c-sky-pale:    #eaf5fe;

  /* ニュートラル */
  --c-bg:          #f7f9fc;  /* わずかに青みのある白 */
  --c-white:       #ffffff;
  --c-ink:         #1d2a44;  /* 本文 */
  --c-muted:       #6b7994;
  --c-line:        #dde4ee;

  /* タイポグラフィ */
  --font-en: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* レイアウト */
  --width-content: 1200px;
  --header-h: 84px;

  /* イージング */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: .04em;
}

h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }

a { color: var(--c-navy); text-decoration: none; transition: color .3s, opacity .3s; }
a:hover { color: var(--c-orange); }

/* ------------------------------------------------------------
   2. 汎用
   ------------------------------------------------------------ */
.l-inner {
  width: min(var(--width-content), 100% - 48px);
  margin-inline: auto;
}

.section { padding-block: 120px; }
.section--white { background: var(--c-white); }
.section--navy  { background: var(--c-navy); color: var(--c-white); }

/* 画像・動画プレースホルダー（差し替え前提）
   使い方: <div class="ph ph--4x3"><span class="ph__label">◯◯の写真</span></div> */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #e8edf5;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(33, 66, 128, .06) 0 14px,
    rgba(33, 66, 128, 0) 14px 28px
  );
  overflow: hidden;
}
.ph__label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: #8695b3;
  padding: 6px 12px;
  border: 1px dashed #b6c2d9;
  border-radius: 4px;
  background: rgba(255, 255, 255, .7);
  text-align: center;
  line-height: 1.6;
}
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3  { aspect-ratio: 4 / 3; }
.ph--3x2  { aspect-ratio: 3 / 2; }
.ph--square { aspect-ratio: 1 / 1; }

/* ------------------------------------------------------------
   3-1. 見出し（英字 大 ＋ 日本語 小）
   ------------------------------------------------------------ */
.heading { margin-bottom: clamp(28px, 3.5vw, 44px); }
.heading__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: .02em;
  color: var(--c-navy);
}
.heading__ja {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--c-muted);
}
.heading__ja::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-orange);
}
.heading--center { text-align: center; }
.heading--center .heading__ja::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-orange);
}
.heading--center .heading__ja::before { background: var(--c-orange); }
.heading--white .heading__en { color: var(--c-white); }
.heading--white .heading__ja { color: rgba(255, 255, 255, .75); }

/* ------------------------------------------------------------
   3-2. ボタン
   ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 280px;
  padding: 18px 28px;
  border: 1px solid var(--c-navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--c-navy);
  background: transparent;
  overflow: hidden;
  transition: color .35s var(--ease-out);
}
.btn::before { /* ホバー時に左から満ちる背景 */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: -10px;
  border-radius: 50%;
  background: var(--c-orange);
  color: var(--c-white);
  font-family: var(--font-en);
  font-size: 14px;
  transition: transform .35s var(--ease-out);
}
.btn:hover { color: var(--c-white); }
.btn:hover::before { transform: scaleX(1); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--white { border-color: var(--c-white); color: var(--c-white); }
.btn--white::before { background: var(--c-white); }
.btn--white:hover { color: var(--c-navy); }

/* ------------------------------------------------------------
   3-3. ヘッダー
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-line);
}
/* メニュー展開中は backdrop-filter を無効化（fixedドロワーが包含ブロックに閉じ込められ「上だけ表示」になるのを防ぐ） */
.site-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding-inline: clamp(16px, 2.2vw, 32px);
  gap: clamp(8px, 1.6vw, 28px);
}
.site-header__logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
}
.site-header__logo-img {
  width: clamp(170px, 17vw, 240px);
  height: auto;
  transition: filter .4s;
}

/* FV上（未スクロール時）はロゴを白抜きに */
.site-header:not(.is-scrolled):not(.is-open) .site-header__logo-img { filter: brightness(0) invert(1); }

/* ナビ全体（PC）：1行に並べて折り返さない */
.site-header__nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(4px, 0.8vw, 16px);
}

/* グローバルナビ（PC） */
.global-nav__list { display: flex; align-items: center; gap: 0; }
.global-nav__item { position: relative; }
.global-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px clamp(7px, 0.9vw, 14px);
  font-size: clamp(11.5px, 1.05vw, 14px);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-ink);
  white-space: nowrap;
}
.site-header:not(.is-scrolled):not(.is-open) .global-nav__link { color: var(--c-white); }
.global-nav__link:hover { color: var(--c-orange); }
/* 現在地表示（JSで is-current 付与） */
.global-nav__link.is-current {
  color: var(--c-navy);
}
.global-nav__item--has-child > .global-nav__link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s;
}

/* ドロップダウン */
.global-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 8px;
  min-width: 220px;
  padding: 10px;
  background: var(--c-white);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(23, 48, 94, .16);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, translate .3s, visibility .3s;
}
.global-nav__item--has-child:hover .global-nav__dropdown,
.global-nav__item--has-child:focus-within .global-nav__dropdown {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
}
.global-nav__child-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
}
.global-nav__child-link:hover { background: var(--c-sky-pale); color: var(--c-navy); }

/* 採用情報（外部）・言語 */
.site-header__recruit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px clamp(14px, 1.6vw, 22px);
  border-radius: 999px;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .3s;
}
.site-header__recruit:hover { background: #e05e05; color: var(--c-white); }

.lang-switch { position: relative; }
.lang-switch__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px clamp(2px, 0.5vw, 6px);
  font-family: var(--font-en);
  font-size: clamp(10.5px, 0.9vw, 12px);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--c-ink);
  white-space: nowrap;
}
.site-header:not(.is-scrolled):not(.is-open) .lang-switch__button { color: var(--c-white); }
.lang-switch__list {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 130px;
  padding: 8px;
  background: var(--c-white);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(23, 48, 94, .16);
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity .3s, translate .3s, visibility .3s;
}
.lang-switch:hover .lang-switch__list,
.lang-switch:focus-within .lang-switch__list { opacity: 1; visibility: visible; translate: 0 0; }
.lang-switch__link { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.lang-switch__link:hover { background: var(--c-sky-pale); }

/* ハンバーガー（SP） */
.site-header__burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  z-index: 110;
}
.site-header__burger span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: var(--c-navy);
  transition: transform .35s var(--ease-out), opacity .3s, background .3s;
}
.site-header:not(.is-scrolled):not(.is-open) .site-header__burger span { background: var(--c-white); }
.site-header__burger span:nth-child(1) { top: 17px; }
.site-header__burger span:nth-child(2) { top: 23px; }
.site-header__burger span:nth-child(3) { top: 29px; }
.site-header.is-open .site-header__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .site-header__burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .site-header__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------
   3-4. マーキー（英字横スクロール）
   ------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding-block: 28px;
  user-select: none;
}
.marquee__track {
  display: inline-flex;
  gap: 64px;
  padding-right: 64px;
  animation: marquee-scroll 30s linear infinite;
}
.marquee__text {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(33, 66, 128, .16);
}
.marquee__text em {
  font-style: normal;
  color: var(--c-sky);
}
.marquee--white .marquee__text { color: rgba(255, 255, 255, .28); }
.marquee--white .marquee__text em { color: var(--c-orange); }
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   3-5. パンくず（下層ページ共通）
   ------------------------------------------------------------ */
.breadcrumb { padding-block: 18px; }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 12px; letter-spacing: .06em; }
.breadcrumb__item { display: flex; align-items: center; color: var(--c-muted); }
.breadcrumb__item:not(:last-child)::after { content: "/"; margin-inline: 10px; color: var(--c-line); }
.breadcrumb__link { color: var(--c-navy); }

/* ------------------------------------------------------------
   3-6. モーダル（動画再生）
   ------------------------------------------------------------ */
.movie-modal {
  border: none;
  padding: 0;
  width: min(920px, calc(100% - 40px));
  background: transparent;
  overflow: visible;
}
.movie-modal::backdrop { background: rgba(15, 26, 51, .8); backdrop-filter: blur(4px); }
.movie-modal__body { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(0, 0, 0, .4); }
.movie-modal__iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.movie-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-white);
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .16em;
}
.movie-modal__close:hover { color: var(--c-sky); }

/* ------------------------------------------------------------
   3-8. 下層ページ共通：ページヘッダー
   ------------------------------------------------------------ */
.page-header {
  padding: calc(var(--header-h) + 72px) 0 64px;
  background:
    radial-gradient(110% 120% at 85% 0%, rgba(91, 182, 245, .45) 0%, rgba(33, 66, 128, 0) 55%),
    linear-gradient(150deg, #2a4f95 0%, var(--c-navy) 55%, #182f5c 100%);
  color: var(--c-white);
}
.page-header__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: .02em;
}
.page-header__ja {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .8);
}
.page-header__ja::before { content: ""; width: 28px; height: 2px; background: var(--c-orange); }

/* ---- 404 エラーページ ---- */
.errorpage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-white);
  padding: calc(var(--header-h) + 24px) 24px 48px;
  background:
    radial-gradient(110% 120% at 85% 0%, rgba(91, 182, 245, .45) 0%, rgba(33, 66, 128, 0) 55%),
    linear-gradient(150deg, #2a4f95 0%, var(--c-navy) 55%, #182f5c 100%);
}
.errorpage > .l-inner { width: 100%; }
.errorpage__code {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(96px, 22vw, 220px);
  line-height: .9;
  letter-spacing: .02em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(145, 190, 245, .35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.errorpage__title { margin-top: 8px; }
.errorpage__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: .04em;
}
.errorpage__ja {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .82);
}
.errorpage__lead {
  margin-top: 28px;
  font-size: 14.5px;
  line-height: 2;
  color: rgba(255, 255, 255, .78);
}
.errorpage__btn { margin-top: 40px; }
.errorpage__nav {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.errorpage__nav a {
  position: relative;
  padding-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .85);
}
.errorpage__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.errorpage__nav a:hover { color: #fff; }
.errorpage__nav a:hover::after { transform: scaleX(1); }

/* 下層：本文展開前の仮コンテナ */
.page-stub { padding: 72px 0 120px; }
.page-stub__box {
  padding: 64px 32px;
  border: 1px dashed #b6c2d9;
  border-radius: 16px;
  background: var(--c-white);
  text-align: center;
  color: var(--c-muted);
  font-size: 14px;
}

/* ------------------------------------------------------------
   3-7. フッター
   ------------------------------------------------------------ */
.site-footer {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 88px 0 40px;
}
.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 96px;
  align-items: start;
}
.site-footer__grid > :first-child { flex: 1 1 auto; }
.site-footer__grid > nav { flex: 0 0 auto; }
.site-footer .site-header__logo-img { filter: brightness(0) invert(1); width: 240px; }
.site-footer__slogan {
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--c-sky);
}
.site-footer__nav-title {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 18px;
}
.site-footer__nav-list li + li { margin-top: 12px; }
.site-footer__nav-link { color: var(--c-white); font-size: 14px; }
.site-footer__nav-link:hover { color: var(--c-sky); }
.site-footer__nav-link--small { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.site-footer__copyright {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}
/* 画面右下に固定するフローティングボタン（スクロールで出現） */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  box-shadow: 0 8px 24px rgba(15, 32, 66, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top__label { display: none; }
.to-top__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}
.to-top:hover { background: var(--c-orange); color: var(--c-white); }

/* ------------------------------------------------------------
   4. トップページ
   ------------------------------------------------------------ */

/* ---- ファーストビュー（全画面動画 × 大タイポ） ---- */
.fv {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--c-white);
}
.fv__media { position: absolute; inset: 0; }
.fv__video { width: 100%; height: 100%; object-fit: cover; }
/* 動画差し替えまでの見た目（video の poster が無い間の背景） */
.fv__media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(91, 182, 245, .5) 0%, rgba(33, 66, 128, 0) 55%),
    linear-gradient(160deg, #2a4f95 0%, var(--c-navy) 45%, #142950 100%);
}
.fv__media-placeholder .ph__label { background: rgba(255,255,255,.12); color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.35); }
.fv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 29, 56, .72) 0%, rgba(16, 29, 56, .12) 45%, rgba(16, 29, 56, .25) 100%);
}
.fv__inner {
  position: relative;
  width: min(var(--width-content), 100% - 48px);
  margin-inline: auto;
  padding-bottom: 108px;
}
.fv__copy-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(52px, 9.5vw, 132px);
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.fv__copy-en em { font-style: normal; color: var(--c-sky); }
.fv__copy-ja {
  margin-top: 28px;
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: .2em;
}
.fv__mission {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .8);
}
.fv__scroll {
  position: absolute;
  right: 34px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .85);
  writing-mode: vertical-rl;
}
.fv__scroll-line {
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, .3);
  position: relative;
  overflow: hidden;
}
.fv__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-orange);
  animation: scroll-line 2.2s var(--ease-out) infinite;
}
@keyframes scroll-line {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---- 最新トピックス ---- */
.topics__layout {
  display: flex;
  flex-wrap: wrap;
  column-gap: 64px;
  row-gap: 40px;
  align-items: start;
}
.topics__layout > .heading { flex: 0 0 320px; margin-bottom: 0; }
.topics__layout > .topics-list { flex: 1 1 300px; min-width: 0; }
.topics__foot { flex: 0 0 100%; }
.topics-list { border-top: 1px solid var(--c-line); }
.topics-list__item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--c-line);
  transition: background .3s;
}
.topics-list__item:hover { background: var(--c-sky-pale); }
.topics-list__date {
  flex-shrink: 0;
  min-width: 88px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--c-navy);
  white-space: nowrap;
}
.topics-list__badge {
  flex-shrink: 0;
  align-self: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--c-orange);
  color: var(--c-white);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.topics-list__cat {
  flex-shrink: 0;
  align-self: center;
  min-width: 84px;
  box-sizing: border-box;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--c-sky-pale);
  color: var(--c-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s;
}
.topics-list__cat:hover { filter: brightness(0.95); }
.topics-list__cat--news      { background: var(--c-navy-pale); color: var(--c-navy); }
.topics-list__cat--service   { background: var(--c-sky-pale);  color: #15669f; }
.topics-list__cat--alliance  { background: #e6f4ec; color: #2c8b57; }
.topics-list__cat--sponsor   { background: #fdeada; color: #cf6a0e; }
.topics-list__cat--community { background: #fbe7ef; color: #bd3a63; }
.topics-list__title { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; color: var(--c-ink); transition: color .3s; }
.topics-list__item:hover .topics-list__title { color: var(--c-navy); }
.topics__btn { margin-top: 0; }

/* ---- 導線カード（経営理念 / 事業内容 / 会社概要） ---- */
.guide__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.guide__grid > * { flex: 0 1 calc((100% - 64px) / 3); min-width: 0; }
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(23, 48, 94, .07);
  color: var(--c-ink);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(23, 48, 94, .14);
  color: var(--c-ink);
}
.guide-card__image { overflow: hidden; }
.guide-card__image .ph { transition: transform .6s var(--ease-out); }
.guide-card__image-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease-out); }
.guide-card:hover .guide-card__image-img { transform: scale(1.05); }
.guide-card:hover .guide-card__image .ph { transform: scale(1.05); }
.guide-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 26px; }
.guide-card__en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--c-sky);
}
.guide-card__title { margin-top: 6px; font-size: 21px; font-weight: 700; color: var(--c-navy); }
.guide-card__text { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: var(--c-muted); flex: 1; }
.guide-card__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--c-navy);
}
.guide-card__more::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-navy-pale);
  color: var(--c-navy);
  transition: background .3s, color .3s, transform .3s;
}
.guide-card:hover .guide-card__more::after { background: var(--c-orange); color: var(--c-white); transform: translateX(4px); }

/* ---- 動画セクション（シネマティック・モーダル起動） ---- */
.movie { position: relative; overflow: hidden; }
.movie__inner { position: relative; text-align: center; }
/* 大きなサムネ（クリックでモーダル） */
.movie__thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.movie__thumb-img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.movie__thumb::after { /* 再生ボタンを引き立てる中央の淡いハロー */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(170px at 50% 50%, rgba(15, 26, 51, .42), rgba(15, 26, 51, 0) 100%);
  pointer-events: none;
}
.movie__thumb:hover .movie__thumb-img { transform: scale(1.03); }

/* 細い白丸 ＋ パルスの再生ボタン */
.movie__play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 7vw, 92px);
  height: clamp(64px, 7vw, 92px);
  border: 1.5px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: background .35s var(--ease-out), transform .35s var(--ease-out);
}
.movie__play::before { /* 再生トライアングル */
  content: "";
  margin-left: 5px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.movie__play-ring { /* パルス */
  position: absolute;
  inset: -1.5px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  animation: movie-pulse 2.6s var(--ease-out) infinite;
}
@keyframes movie-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.movie__thumb:hover .movie__play { background: rgba(255, 255, 255, .2); transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .movie__play-ring { animation: none; }
}

/* ---- アプリ配信バナー ---- */
.apps__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.apps__grid > * { flex: 0 1 calc((100% - 72px) / 4); min-width: 0; }
.app-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  color: var(--c-ink);
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.app-banner:hover {
  border-color: var(--c-sky);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(23, 48, 94, .1);
  color: var(--c-ink);
}
.app-banner__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
}
.app-banner__icon .ph { height: 100%; }
.app-banner__icon .ph__label { font-size: 9px; padding: 2px 4px; border: none; background: none; }
.app-banner__name { font-size: 14px; font-weight: 700; color: var(--c-navy); line-height: 1.5; }
.app-banner__note {
  display: block;
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--c-orange);
}

/* ---- アプリ配信バナー（高速バスドットコム単体） ---- */
.app-feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 44px 48px;
  background: linear-gradient(120deg, var(--c-navy) 0%, #2a4f95 100%);
  border-radius: 24px;
  color: var(--c-white);
  overflow: hidden;
}
.app-feature__icon {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  padding: 8px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.app-feature__icon-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.app-feature__icon .ph__label { font-size: 9px; padding: 2px 4px; border: none; background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.app-feature__note {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--c-sky);
}
.app-feature__name { margin-top: 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: .04em; }
.app-feature__desc { margin-top: 10px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.app-feature__body { flex: 1 1 0; min-width: 0; }
.app-feature__stores { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.app-store {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 190px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 12px;
  color: var(--c-white);
  transition: background .3s, border-color .3s, color .3s;
}
.app-store:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-navy); }
.app-store__label { font-family: var(--font-en); font-size: 10px; letter-spacing: .08em; opacity: .85; }
.app-store__name { font-family: var(--font-en); font-size: 19px; font-weight: 600; letter-spacing: .02em; }

/* ---- 主要運営サービス ---- */
.services__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services__grid > * { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 150px;
  padding: 28px 20px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  color: var(--c-ink);
  text-align: center;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(23, 48, 94, .1); color: var(--c-ink); }
.service-card--kosokubus  { --brand: #214280; }
.service-card--rentacar   { --brand: #5bb6f5; }
.service-card--tabione    { --brand: #f97316; }
.service-card--okinawa    { --brand: #e8557e; }
.service-card--hokkaido   { --brand: #37a86f; }
.service-card--buslabo    { --brand: #8a6fd1; }
/* サービスロゴ差し替え位置（ロゴ未配置時は onerror でテキスト表示にフォールバック） */
.service-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .04em;
}
.service-card__logo-img {
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}
/* 沖縄ラボ・北海道ラボは横長が控えめな比率なので少し大きくして他と幅を揃える */
.service-card--okinawa .service-card__logo-img,
.service-card--hokkaido .service-card__logo-img { height: 54px; }
.service-card__desc { font-size: 12px; color: var(--c-muted); letter-spacing: .08em; }
.service-card__ext {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--c-muted);
}

/* ------------------------------------------------------------
   5. アニメーション（スクロール連動）
   ------------------------------------------------------------ */
.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  :root { --header-h: 68px; }

  /* ナビはドロワーへ */
  .site-header__inner { padding-inline: 20px; gap: 12px; }
  .site-header__burger { display: block; }
  .site-header__recruit { display: none; }
  .site-header__nav {
    position: fixed;
    inset: 0;
    display: block;
    padding: calc(var(--header-h) + 24px) 28px 40px;
    background: var(--c-white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .site-header.is-open .site-header__nav { opacity: 1; visibility: visible; }
  .global-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav__item { border-bottom: 1px solid var(--c-line); }
  .global-nav__link { width: 100%; padding: 18px 4px; font-size: 16px; color: var(--c-ink) !important; justify-content: space-between; }
  .global-nav__dropdown {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 0 12px 12px;
    display: none;
  }
  .global-nav__item.is-expanded .global-nav__dropdown { display: block; }
  /* SPでは中央寄せ用の translate を打ち消す（タップ時の :focus-within で左にズレるのを防止） */
  .global-nav__item--has-child:hover .global-nav__dropdown,
  .global-nav__item--has-child:focus-within .global-nav__dropdown { translate: none; }
  .global-nav__item--has-child.is-expanded > .global-nav__link::after { transform: rotate(-135deg) translateY(-2px); }
  .lang-switch { margin-top: 20px; }
  .lang-switch__button { color: var(--c-ink) !important; }
  .lang-switch__button svg { display: none; } /* SPは常時展開なので開閉矢印を消す */
  .lang-switch__list { position: static; opacity: 1; visibility: visible; translate: none; box-shadow: none; display: flex; gap: 8px; padding: 8px 0; }
  .global-nav__recruit-sp {
    display: inline-flex;
    margin-top: 28px;
    padding: 14px 32px;
    border-radius: 999px;
    background: var(--c-orange);
    color: var(--c-white);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .1em;
  }

  .section { padding-block: 80px; }
  .topics__layout { gap: 32px; }
  .topics__layout > .heading, .topics__layout > .topics-list { flex-basis: 100%; }
  .guide__grid { gap: 24px; }
  .guide__grid > * { flex-basis: 100%; }
  .apps__grid > * { flex-basis: calc((100% - 24px) / 2); }
  .app-feature { flex-direction: column; text-align: center; gap: 24px; padding: 36px 24px; align-items: center; }
  .app-feature__body { flex: 0 1 auto; }
  .app-feature__stores { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .services__grid > * { flex-basis: calc((100% - 24px) / 2); }
  .site-footer__grid { gap: 40px; }
  .site-footer__grid > :first-child { flex-basis: 100%; }
  .site-footer__grid > nav { flex-basis: calc((100% - 40px) / 2); }
  .site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

@media (min-width: 1081px) {
  .global-nav__recruit-sp { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .fv__inner { padding-bottom: 96px; }
  .fv__scroll { right: 20px; }
  .topics-list__item { flex-wrap: wrap; gap: 8px 16px; padding-block: 18px; }
  .topics-list__title { flex-basis: 100%; }
  /* スマホではTOPの最新情報を3件に絞る（4件目以降を非表示） */
  .topics__layout .topics-list__item:nth-child(n+4) { display: none; }
  .apps__grid > * { flex-basis: 100%; }
  .services__grid > * { flex-basis: 100%; }
  .btn { min-width: 100%; }
}


/* ============================================================
   6. 下層ページ
   ------------------------------------------------------------
   6-1. 共通（リード文 / 本文 / 小見出し / チップ / 定義テーブル）
   6-2. 経営理念  6-3. 事業内容  6-4. 地方創生
   6-5. 取組事例  6-6. トピックス  6-7. アクセス
   6-8. 記事詳細  6-9. 法定文書（約款・条件書）
   ============================================================ */

/* ---- 6-1. 共通 ---- */
.heading--sm { margin-bottom: 40px; }
.heading--sm .heading__en { font-size: clamp(30px, 4.5vw, 48px); }

/* 本文ブロック（p の連続） */
.prose { max-width: none; }
.prose p + p { margin-top: 1.8em; }
.prose--center { margin-inline: auto; }

/* 言語チップなど */
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-white);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-muted);
}
.chip--label { border-color: var(--c-sky); color: var(--c-navy); background: var(--c-sky-pale); }

/* 定義テーブル（会社概要など） */
.def-table { border-top: 1px solid var(--c-line); }
.def-table__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--c-line);
  margin: 0;
}
.def-table__row > dt { flex: 0 0 150px; }
@media (min-width: 961px) { .def-table--wide .def-table__row > dt { flex-basis: 250px; } }
.def-table__row > dd { flex: 1 1 0; min-width: 0; }
.def-table__row dt {
  font-weight: 700;
  color: var(--c-navy);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.def-table__row dt::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
  translate: 0 -1px;
}
.def-table__row dd { margin: 0; }
.def-table__row dd ul li { padding-left: 1.2em; text-indent: -1.2em; }
.def-table__row dd ul li::before { content: "・"; }

/* ---- 6-2. 経営理念 ---- */
.vision-quote {
  font-size: clamp(15px, 4.6vw, 28px);
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: .03em;
  color: var(--c-navy);
}
.vision-quote em { font-style: normal; color: var(--c-orange); }
.vision-video { max-width: none; margin: 64px auto 0; border-radius: 16px; overflow: hidden; }
.vision-video__iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

.philosophy-list {
  counter-reset: philosophy;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.philosophy-list > * { flex: 0 1 calc((100% - 24px) / 2); min-width: 0; }
.philosophy-list__item {
  counter-increment: philosophy;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  font-weight: 500;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.philosophy-list__item:hover { border-color: var(--c-sky); transform: translateX(4px); }
.philosophy-list__item::before {
  content: counter(philosophy, decimal-leading-zero);
  flex-shrink: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 20px;
  color: var(--c-sky);
}
.philosophy-note { margin-bottom: 32px; font-size: 14px; letter-spacing: .12em; color: var(--c-muted); }

/* フィロソフィ：クリックで説明モーダル（--clickable のときだけ有効。EN/TW版は無傷） */
.philosophy-list__title { min-width: 0; }
.philosophy-list__desc { display: none; }
.philosophy-list__item--clickable { cursor: pointer; }
.philosophy-list__item--clickable::after {
  content: ""; /* › シェブロンは SVG で描画（グリフの中央ズレ回避） */
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14' fill='none' stroke='%236b7994' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px 12px;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease-out);
}
.philosophy-list__item--clickable:hover::after,
.philosophy-list__item--clickable:focus-visible::after {
  background-color: var(--c-sky);
  border-color: var(--c-sky);
  transform: translateX(2px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l6 6-6 6'/%3E%3C/svg%3E");
}
.philosophy-list__item--clickable:focus-visible {
  outline: 2px solid var(--c-sky);
  outline-offset: 2px;
}

/* フィロソフィ 説明モーダル（JSが body に1つ生成） */
.philo-modal {
  border: none;
  padding: 0;
  width: min(560px, calc(100% - 40px));
  background: transparent;
  overflow: visible;
}
.philo-modal::backdrop { background: rgba(15, 26, 51, .6); backdrop-filter: blur(4px); }
.philo-modal__body {
  position: relative;
  background: var(--c-white);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
  max-height: 86vh;
  overflow-y: auto;
  padding: 40px 40px 28px;
}
.philo-modal__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--c-sky);
}
.philo-modal__title {
  margin: 8px 0 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
  text-wrap: balance;
}
.philo-modal__rule { height: 1px; background: var(--c-line); margin: 20px 0; }
.philo-modal__text { color: #3a4759; font-size: 15px; line-height: 1.95; }
.philo-modal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
.philo-modal__btn {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  font-family: var(--font-ja);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-ink);
  padding: 9px 16px;
  border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.philo-modal__btn:hover { color: var(--c-sky); border-color: var(--c-sky); }
.philo-modal__btn:disabled { opacity: .35; cursor: default; }
.philo-modal__count {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-muted);
}
.philo-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--c-muted);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  transition: background-color .2s, color .2s;
}
.philo-modal__close:hover { background: #e3e9f1; color: var(--c-ink); }
@media (max-width: 640px) {
  .philo-modal__body { padding: 32px 22px 22px; }
  .philo-modal__title { font-size: 20px; }
}

/* 代表メッセージ */
.message__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: start;
}
.message__layout > :first-child { flex: 0 0 300px; }
.message__layout > :last-child { flex: 1 1 0; min-width: 0; }
.message__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.message__photo .ph { border-radius: 16px; }
.message__photo-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; display: block; }
.message__sub {
  font-size: clamp(15px, 4.4vw, 26px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--c-navy);
  margin-bottom: 40px;
}
.message__sign { margin-top: 48px; text-align: right; font-weight: 700; }
.message__sign small { display: block; font-size: 12px; font-weight: 400; color: var(--c-muted); letter-spacing: .14em; }

/* ---- 6-3. 事業内容 ---- */
.media-block {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: start;
  padding-block: 56px;
}
.media-block > :first-child { flex: 0 0 420px; }
.media-block > :last-child { flex: 1 1 0; min-width: 0; }
.media-block + .media-block { border-top: 1px solid var(--c-line); }
.media-block__image .ph { border-radius: 16px; }
.media-block__image-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.media-block__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--c-navy);
}
.media-block__title .service-card__ext { position: static; font-size: 13px; }
.media-block__title:hover { color: var(--c-orange); }
.media-block__url { display: block; margin-top: 4px; font-family: var(--font-en); font-size: 12.5px; letter-spacing: .06em; color: var(--c-muted); }
.media-block__text { margin-top: 20px; }
.media-block__langs { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.media-block__langs-label { flex-basis: 100%; font-size: 12px; font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
/* 5言語を横幅いっぱいに均等割り（flex:1で等幅・中央寄せ） */
.media-block__langs .chip { flex: 1 1 0; justify-content: center; padding: 5px 4px; font-size: 11px; letter-spacing: .02em; }

/* 事業カテゴリ帯（アンカーターゲット） */
.business-cat { padding-top: 96px; }
.business-cat__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
.business-cat__bar::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }

/* ---- 6-4. 地方創生 ---- */
.chiho-mv { margin-bottom: 72px; }
.chiho-mv .ph { border-radius: 20px; }
.chiho-mv__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
.actions__grid { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; }
.actions__grid > * { flex: 0 1 calc((100% - 64px) / 3); min-width: 0; }
.action-card {
  padding: 40px 32px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 20px;
}
.action-card__icon {
  width: 88px;
  height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-navy-pale);
  border-radius: 50%;
}
.action-card__icon-img { display: block; width: 46px; height: 46px; }
.action-card__icon .ph { border-radius: 50%; }
.action-card__title { margin-top: 24px; text-align: center; font-size: 18px; font-weight: 700; color: var(--c-navy); }
.action-card__text { margin-top: 16px; font-size: 14px; line-height: 2; color: var(--c-muted); }

.strength__grid { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; }
.strength__grid > * { flex: 0 1 calc((100% - 40px) / 2); min-width: 0; }
.strength-card { display: flex; flex-direction: column; }
.strength-card__image .ph { border-radius: 16px; }
.strength-card__image-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.strength-card__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 28px;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-navy);
}
.strength-card__num { font-family: var(--font-en); font-weight: 600; font-size: 30px; color: var(--c-orange); }
.strength-card__text { margin-top: 14px; font-size: 14.5px; line-height: 2; color: var(--c-muted); }

/* ---- 6-5. 取組事例（一覧カード / WordPressループ想定） ---- */
.case-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.case-filter__btn {
  padding: 8px 22px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-white);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-muted);
  transition: all .3s;
}
.case-filter__btn:hover { border-color: var(--c-navy); color: var(--c-navy); }
.case-filter__btn.is-active { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }

.case-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.case-grid > * { flex: 0 1 calc((100% - 64px) / 3); min-width: 0; }
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(23, 48, 94, .07);
  color: var(--c-ink);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(23, 48, 94, .13); color: var(--c-ink); }
.case-card__image { position: relative; overflow: hidden; }
.case-card__image .ph { transition: transform .6s var(--ease-out); }
.case-card:hover .case-card__image .ph { transform: scale(1.05); }
.case-card__pref {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
}
.case-card__new {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--c-orange);
  color: var(--c-white);
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
}
.case-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.case-card__title { font-size: 16px; font-weight: 700; line-height: 1.8; color: var(--c-navy); }
.case-card__excerpt {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--c-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 6-6. トピックス一覧 ---- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-white);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-ink);
  transition: all .3s;
}
.pagination__link:hover { border-color: var(--c-navy); color: var(--c-navy); }
.pagination__link.is-current { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }

/* ---- 6-7. アクセス ---- */
.access__layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: start; }
.access__layout > :first-child { flex: 1 1 0; min-width: 0; }
.access__layout > :last-child { flex: 1.2 1 0; min-width: 0; }
.access__map .ph { border-radius: 16px; aspect-ratio: 4 / 3; }
.access__map__iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 16px; }
.access-route { margin-top: 8px; }
.access-route li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 14.5px;
}
.access-route li::before {
  content: "●";
  flex-shrink: 0;
  font-size: 9px;
  color: var(--c-sky);
}

/* ---- 6-8. 記事詳細（取組事例 / トピックス共通） ---- */
.article { max-width: none; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 20px; font-size: 13px; color: var(--c-muted); }
.article__meta b { color: var(--c-navy); font-weight: 700; margin-right: 8px; }
.article__title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .06em;
  color: var(--c-navy);
  padding-bottom: 28px;
  border-bottom: 2px solid var(--c-navy);
  margin-bottom: 48px;
}
.article__figure { margin-block: 40px; }
.article__figure .ph { border-radius: 16px; }
.article__block { margin-top: 72px; }
.article__list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-line);
}
.article__list li::before { content: "─"; color: var(--c-orange); flex-shrink: 0; }
.article__back { text-align: center; margin-top: 88px; }

/* 関連記事 */
.related { margin-top: 104px; }
.related .case-grid > * { flex: 0 1 calc((100% - 32px) / 2); }

/* ---- 6-9. 法定文書（約款・旅行条件書） ---- */
.doc-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: start;
}
.doc-layout > :first-child { flex: 0 0 260px; }
.doc-layout > :last-child { flex: 1 1 0; min-width: 0; }
.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
}
.doc-toc__title {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.doc-toc__list li + li { margin-top: 2px; }
.doc-toc__link { display: block; padding: 7px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--c-navy); }
.doc-toc__link:hover { background: var(--c-sky-pale); }
.doc-toc__list ul { padding: 2px 0 6px 14px; }
.doc-toc__list ul .doc-toc__link { font-weight: 400; font-size: 12.5px; color: var(--c-muted); }

.doc { min-width: 0; }
/* 部（大見出し） */
.doc__part {
  margin: 88px 0 40px;
  padding: 20px 28px;
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 12px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: .1em;
}
.doc__part:first-child { margin-top: 0; }
/* 章（中見出し） */
.doc__chapter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 64px 0 28px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy);
}
.doc__chapter::after { content: ""; flex: 1; height: 2px; background: linear-gradient(to right, var(--c-sky), transparent); }
/* 条文 */
.doc__article { margin-top: 32px; }
.doc__article-title { font-size: 15.5px; font-weight: 700; color: var(--c-ink); }
.doc__article-title em { font-style: normal; color: var(--c-orange); margin-right: 10px; }
.doc__article p { margin-top: 8px; font-size: 14.5px; color: #3c4a66; }
/* 別表テーブル */
.doc-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 13.5px; }
.doc-table caption { text-align: left; font-weight: 700; color: var(--c-navy); padding-bottom: 12px; }
.doc-table th, .doc-table td { border: 1px solid var(--c-line); padding: 12px 16px; text-align: left; vertical-align: top; }
.doc-table thead th { background: var(--c-navy-pale); color: var(--c-navy); font-weight: 700; }
.doc-table tbody th { background: #f2f6fc; font-weight: 500; }
.doc-table--scroll { overflow-x: auto; }

/* 規約系の流し込みコンテナ（DBから流し込み） */
.legal-body {
  max-width: none;
  padding: 48px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 20px;
}
.legal-body__note {
  padding: 40px 24px;
  border: 1px dashed #b6c2d9;
  border-radius: 12px;
  text-align: center;
  color: var(--c-muted);
  font-size: 13.5px;
}
/* 法務ページ本文（約款・旅行条件書・プライバシー）: 本文HTMLをそのまま流し込んでも読みやすく整えるタイポグラフィ */
.legal-body > *:first-child { margin-top: 0; }
.legal-body h2 { font-size: clamp(19px, 2.3vw, 24px); font-weight: 700; color: var(--c-navy); margin-top: 40px; line-height: 1.6; }
.legal-body h3 { font-size: 16.5px; font-weight: 700; color: var(--c-navy); margin-top: 34px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.legal-body h4 { font-size: 15px; font-weight: 700; color: var(--c-ink); margin-top: 24px; }
.legal-body p { margin-top: 12px; font-size: 14.5px; line-height: 1.95; color: #3c4a66; }
.legal-body ul, .legal-body ol { margin-top: 12px; padding-left: 1.5em; }
.legal-body li { margin-top: 6px; font-size: 14.5px; line-height: 1.9; color: #3c4a66; }
.legal-body a { color: var(--c-navy); text-decoration: underline; }
.legal-body .btn { text-decoration: none; color: var(--c-navy); }
.legal-body strong { font-weight: 700; color: var(--c-ink); }
.legal-body table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 13.5px; }
.legal-body table th, .legal-body table td { border: 1px solid var(--c-line); padding: 10px 14px; text-align: left; vertical-align: top; line-height: 1.7; }
.legal-body caption { text-align: left; font-weight: 700; color: var(--c-navy); padding-bottom: 10px; }
.legal-body .text-center { text-align: center; }
.legal-body .text-right { text-align: right; }
.legal-body .pl-3em { padding-left: 3em; }

/* ---- 下層レスポンシブ ---- */
@media (max-width: 960px) {
  .philosophy-list > * { flex-basis: 100%; }
  .message__layout { gap: 40px; }
  .message__layout > :first-child, .message__layout > :last-child { flex-basis: 100%; }
  .message__photo { position: static; max-width: none; }
  .media-block { gap: 28px; padding-block: 44px; }
  .media-block > :first-child, .media-block > :last-child { flex-basis: 100%; }
  .actions__grid { gap: 20px; }
  .actions__grid > * { flex-basis: 100%; }
  .strength__grid { gap: 40px; }
  .strength__grid > * { flex-basis: 100%; }
  .case-grid { gap: 24px; }
  .case-grid > * { flex-basis: 100%; }
  .related .case-grid > * { flex-basis: 100%; }
  .access__layout { gap: 36px; }
  .access__layout > :first-child, .access__layout > :last-child { flex-basis: 100%; }
  .def-table__row { gap: 6px; padding: 20px 4px; }
  .def-table__row > dt, .def-table__row > dd { flex-basis: 100%; }
  .doc-layout { gap: 36px; }
  .doc-layout > :first-child, .doc-layout > :last-child { flex-basis: 100%; }
  .doc-toc { position: static; max-height: none; }
  .legal-body { padding: 28px 20px; }
}
