/* ============================================================
   有限会社東阪アメニティ - Main Stylesheet
   Design System: ブルー・ミニマル
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/* ---------- CSS Variables ---------- */
/* ---------- CSS Variables (青・黒・白・水色のクールプロ仕様) ---------- */
:root {
  --primary:      #0284C7; /* 鮮やかで格好良いオーシャンブルー（青） */
  --primary-dark: #071933; /* ソリッドなブラックネイビー（黒） */
  --secondary:    #E0F2FE; /* 爽やかなライトスカイブルー（水色） */
  --accent:       #0284C7; /* ブルーアクセント */
  --accent-dark:  #0369A1;
  --bg:           #FFFFFF; /* ピュアホワイト（白） */
  --text:         #0F172A; /* ソリッドブラック（黒） */
  --text-light:   #334155;
  --border:       #BAE6FD;
  --radius:       0px;     /* 端正でシャープなプロデザイン */
  --spacing:      20px;
  --transition:   0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Zen Kaku Gothic New', 'BIZ UDPGothic', sans-serif;
  line-height: 1.4;
  font-weight: 700;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* AIっぽさを無くしたスマートな直線サブタイトル */
.section-en-title {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
  background: none;
  padding: 0;
}

.section-title {
  font-family: 'Zen Kaku Gothic New', 'BIZ UDPGothic', sans-serif;
  font-size: clamp(1.45rem, 4.2vw, 2.3rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* 蛍光ハイライトマーカー (オレンジ系対応) */
mark.highlight-mark {
  background: linear-gradient(180deg, transparent 65%, rgba(249, 115, 22, 0.3) 65%);
  color: inherit;
  font-weight: 700;
  padding: 0 4px;
}

mark.mark-orange,
#job_description mark.mark-orange {
  background: rgba(249, 115, 22, 0.18);
  color: #F97316;
  border-bottom: 3px solid #F97316;
  padding: 0 6px;
  font-weight: 700;
}

.section-lead {
  color: var(--text-light);
  font-size: 0.98rem;
  margin-bottom: 2rem;
  line-height: 1.85;
}

/* 端正なシャープボタン ＆ オレンジCVボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 0px;
  font-family: 'Zen Kaku Gothic New', 'BIZ UDPGothic', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 52px;
  min-width: 200px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ピンポイント指定：CV（コンバージョン）ボタンのみオレンジ */
.btn-accent,
.btn-submit,
#submit-btn,
.floating-cta a {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35) !important;
}

.btn-accent:hover,
.btn-submit:hover,
#submit-btn:hover,
.floating-cta a:hover {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.45) !important;
}

.btn-lg {
  padding: 20px 48px;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  font-weight: 800;
  min-height: 60px;
}

/* セクション間の中間CTAブリッジ */
.section-cta-bridge {
  padding: 50px 20px;
  background: #FFFFFF;
  position: relative;
  z-index: 10;
  text-align: center;
}

/* ---------- Animation Base ---------- */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.slide-up {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 超分かりやすい大迫力シネマティック浮き出しアニメーション */
.dramatic-rise {
  opacity: 0;
  transform: translateY(90px) scale(0.92);
  filter: blur(8px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger > * {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  filter: blur(0) !important;
}

/* ============================================================
   HEADER (初期：写真の上透過白文字 ➔ スクロール時：白固定ナビ)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

/* スクロール時の爽やかな水色・オーシャンブルー固定ヘッダー */
.site-header.scrolled {
  background: rgba(2, 132, 199, 0.95); /* 綺麗な水色・オーシャンブルー */
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(7, 25, 51, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--spacing);
  max-width: 1380px;
  margin: 0 auto;
  transition: padding 0.4s ease;
}

.site-header.scrolled .header-inner {
  padding: 12px var(--spacing); /* スクロール時は少しコンパクトに */
}

.site-logo {
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.site-header.scrolled .site-logo {
  color: #FFFFFF; /* スクロール後もクッキリ映えるホワイト */
  text-shadow: none;
}

/* PC Nav */
.global-nav {
  display: none;
}

@media (min-width: 992px) {
  .global-nav {
    display: block;
  }
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.global-nav a {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.95;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease, opacity 0.3s ease, text-shadow 0.3s ease;
}

.site-header.scrolled .global-nav a {
  color: #FFFFFF; /* スクロール後もホワイト */
  text-shadow: none;
}

.global-nav a:hover {
  opacity: 1;
  color: #38BDF8;
}

.site-header.scrolled .global-nav a:hover {
  color: #E0F2FE;
}

/* 応募する オレンジボタン (常に目立つスタイル) */
.global-nav .nav-apply-btn {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%) !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-shadow: none !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
  white-space: nowrap;
}

.global-nav .nav-apply-btn:hover {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.site-header.scrolled .hamburger span {
  background: #0F172A; /* スクロール後はブラック */
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--primary-dark);
  padding: 16px 0;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  display: block;
  color: #fff;
  padding: 14px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition);
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.1);
}

@media (min-width: 1024px) {
  .global-nav { display: block; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}
/* ============================================================
   HERO (ファーストビュー 100vw × 100vh 完全全画面フォトビジュアル)
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 108vh; /* 画像領域をさらに広げてダイナミックな開放感を演出！ */
  min-height: 108vh;
  min-height: 108dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #071933;
  padding: 130px 0 90px;
}

.hero-fullscreen-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 25, 51, 0.68) 0%, rgba(7, 25, 51, 0.72) 60%, rgba(7, 25, 51, 1.0) 100%);
}

.hero-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 8s ease-out;
}

.hero-slider-img-2 {
  object-position: center 75% !important;
}

.hero-slider-img.active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-fullscreen-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding: 0 0 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0;
}

/* 左側：全画面写真の上にドカンと力強く浮かび上がるキャッチコピー */
.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  padding-top: 0;
  text-align: left;
}

.hero-eyebrow-solid {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 24px;
  margin-bottom: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-eyebrow-en {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #38BDF8;
}

.hero-eyebrow-jp {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.hero-eyebrow-divider {
  color: rgba(255, 255, 255, 0.4);
}

/* PC最優先：圧倒的タイポグラフィ配置 */
.hero-pro-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  width: 100%;
}

/* ゴールド・山吹色バッジ (応募ボタンとの差別化・高価値感) */
.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badge {
  background: #F59E0B;
  color: #FFFFFF;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 22px;
  letter-spacing: 0.04em;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ヒーロー内CTAボタン */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--primary-dark);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-top: 4px;
}

.hero-cta-btn:hover {
  background: #F97316;
  color: #FFFFFF;
  transform: translateX(6px);
}

.hero-cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-cta-btn:hover .hero-cta-arrow {
  transform: translateX(6px);
}

.hero-pro-title__top {
  order: 3;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #38BDF8;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  white-space: nowrap;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  opacity: 1;
  margin-top: 10px;
  display: inline-block;
}

.hero-pro-title__sub {
  order: 1;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.92);
  background: none;
  padding: 0;
  box-shadow: none;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0,0,0,0.9);
}

.hero-pro-title__main {
  order: 2;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  background: none;
  border-left: none;
  padding: 0;
  box-shadow: none;
  white-space: nowrap;
  text-shadow: 0 4px 24px rgba(0,0,0,0.7), 0 8px 48px rgba(0,0,0,0.4);
}

/* FV②：職種の安定感・資格補足テキスト */
.hero-pro-title__desc {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(7, 25, 51, 0.55);
  border-left: 3px solid #38BDF8;
  padding: 10px 20px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  white-space: normal;
  max-width: 520px;
}

/* スマホ：左下配置・サイズ調整 */
@media (max-width: 767px) {
  .hero-fullscreen-content {
    padding: 0 0 40px 20px;
  }

  .hero-pro-title__top,
  .hero-pro-title__sub,
  .hero-pro-title__main {
    white-space: normal;
    word-break: keep-all;
  }

  .hero-pro-title__top {
    font-size: 0.8rem;
    margin-top: 8px;
  }

  .hero-pro-title__sub {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
  }

  .hero-pro-title__main {
    font-size: 2.4rem;
    line-height: 1.1;
  }
}

/* メッセージ文章エリア (FV写真から白地を一切通さずに水色#E0F2FEのVISIONへシームレス直結) */
.hero-bottom-message-section {
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg,
    #071933 0%,
    #0A2E5C 25%,
    #0284C7 55%,
    #38BDF8 80%,
    #FFFFFF 100%
  );
  padding: 80px 0 100px;
  overflow: hidden;
  margin-top: -2px;
}

.hero-message-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* 重複ルールを整理：上部（FV内）の仮テキスト装飾は非表示 */
.hero-bottom-message-section .hero-message-lead {
  /* FVセクション内の古いルール上書き。下の.hero-message-inner内ルールを優先 */
}

.hero-bottom-message-section .hero-message-body {
  /* FVセクション内の古いルール上書き。下の.hero-message-inner内ルールを優先 */
}

.hero-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* 人物の顔と作業風景が一番良く見える黄金トリミング！ */
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
}

.hero-slider-img.active {
  opacity: 1;
  transform: scale(1.04);
}

/* FV右下から連続して文章の後ろを通過する対角水色三角背景 */
.msg-sky-triangle {
  position: absolute;
  top: -80px;
  right: 0;
  width: 75%;
  height: calc(100% + 160px);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.65) 0%, rgba(186, 230, 253, 0.85) 100%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  z-index: 0;
  pointer-events: none;
}

/* 参考画像通り：FV直下にそのまま並ぶメッセージ文章エリア */
.hero-bottom-message {
  position: relative;
  z-index: 2;
  margin-top: 100px;
  padding-top: 100px;  /* 余白を大幅拡張 */
  padding-bottom: 100px; /* 余白を大幅拡張 */
  border-top: none;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-bottom-message {
    margin-top: 160px;   /* より大きな上余白でゆとり演出 */
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.hero-message-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-message-inner .section-en-title {
  margin-bottom: 12px;
}

.hero-message-lead {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  font-weight: 700;
  /* グラデーション上部（濃紺エリア）では白、下部（明るいエリア）では自動的に読みやすく */
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 20, 60, 0.4);
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.hero-message-body {
  font-size: clamp(1.0rem, 1.8vw, 1.12rem);
  color: #FFFFFF;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(0, 20, 60, 0.35);
  line-height: 2.15;
  letter-spacing: 0.04em;
  text-align: justify;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  max-width: 840px;
  margin: 0 auto;
}
/* 文章の下：大きさをぴったり合わせた人物写真2枚 */
.hero-message-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-message-photos {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.msg-photo-item {
  position: relative;
  width: 100%;
  height: 280px; /* 同一サイズに揃える */
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(7, 25, 51, 0.14);
}

@media (min-width: 768px) {
  .msg-photo-item {
    height: 360px; /* PCでの同一縦長サイズ */
  }
}

.msg-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* ユーザー様の新規トリミング範囲を完璧に反映 */
  display: block;
  transition: transform 0.5s ease;
}

.msg-photo-item:hover img {
  transform: scale(1.04);
}

/* ============================================================
   VISION (全写真が集結して横に流れる無限スライダー)
   ============================================================ */
#vision {
  position: relative;
  background: #FFFFFF;
  padding: 140px 0 35px;
  overflow: hidden;
  z-index: 1;
}

/* 透かし英字 */
#vision::before {
  content: 'ABOUT US';
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.vision-infinite-slider {
  width: 100%;
  overflow: hidden;
  margin-top: 82px; /* 文章と写真の間の余白をゆったり拡大！ */
  padding: 10px 0;
  position: relative;
}

/* 左右フェードマスク */
.vision-infinite-slider::before,
.vision-infinite-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.vision-infinite-slider::before {
  left: 0;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.vision-infinite-slider::after {
  right: 0;
  background: linear-gradient(-90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: infiniteSlideTrack 140s linear infinite; /* さらに「もっともっとゆっくり」流れる極上の超スローペース */
}

.slider-track:hover {
  animation-play-state: paused;
}

.slide-item {
  width: 280px;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(7, 25, 51, 0.12);
  background: #FFFFFF;
}

@media (min-width: 768px) {
  .slide-item {
    width: 360px;
    height: 250px;
  }
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease;
}

/* 青空写真：下部を表示 */
.slide-item--sky img {
  object-position: center bottom;
}

.slide-item:hover img {
  transform: scale(1.06);
}

@keyframes infiniteSlideTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

.vision-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  padding: 0 var(--spacing);
}

@media (max-width: 767px) {
  .vision-inner {
    text-align: center;
  }
}

.vision-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.vision-imgs img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform var(--transition);
}

.vision-imgs img:hover {
  transform: translateY(-3px);
}

.vision-imgs img:first-child {
  grid-column: 1 / -1;
  height: 240px;
}

@media (min-width: 1024px) {
  .vision-inner {
    max-width: 1200px;
  }

  .vision-imgs {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .vision-imgs img {
    height: 280px;
  }

  .vision-imgs img:first-child {
    grid-column: auto;
    height: 280px;
  }
}

/* ============================================================
   JOB DESCRIPTION (ホワイト背景 × 黒文字)
   ============================================================ */
#job_description {
  background: #F8FAFC;
  color: var(--text);
  padding: 100px 0;
}

#job_description .section-en-title {
  color: #059669;
}

#job_description .section-title {
  color: var(--primary-dark);
}

/* オレンジをグリーンに変更 */
#job_description mark.mark-orange {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-bottom: 3px solid #10B981;
  font-size: 1.25em;
  line-height: 1.4;
}

#job_description .section-lead {
  color: var(--text);
}

.job-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.job-text {
  flex: 1;
}

.job-gallery {
  flex: 1;
  display: grid;
  /* bento-box風: 3枚を左大・右上・右下の不規則配置 */
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

/* 写真の縁（border）は完全不要 ＆ 順次浮き出しアニメーション用の初期状態 */
.job-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}

/* メイン写真: 左列全体にまたがる大きな写真 */
.job-gallery .job-img--main {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 100%;
  min-height: 300px;
}

/* 右上: コンパクト */
.job-gallery .job-img--sub {
  grid-column: 2;
  grid-row: 1;
  height: 165px;
}

/* 右下: アクセント */
.job-gallery .job-img--accent {
  grid-column: 2;
  grid-row: 2;
  height: 145px;
  object-position: center 75%;
}

.job-gallery img.img-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.job-gallery img:nth-child(1) { transition-delay: 0s; }
.job-gallery img:nth-child(2) { transition-delay: 0.15s; }
.job-gallery img:nth-child(3) { transition-delay: 0.3s; }

.job-gallery img:hover {
  box-shadow: 0 18px 42px rgba(0,0,0,0.2);
  transform: translateY(-4px) scale(1.02);
}

/* スマホ：テキスト下に3枚横並び */
@media (max-width: 767px) {
  .job-gallery {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 8px;
  }

  .job-gallery .job-img--main {
    grid-column: 1;
    grid-row: 1;
    height: 120px;
    min-height: unset;
  }

  .job-gallery .job-img--sub {
    grid-column: 2;
    grid-row: 1;
    height: 120px;
  }

  .job-gallery .job-img--accent {
    grid-column: 3;
    grid-row: 1;
    height: 120px;
  }
}

@media (min-width: 768px) {
  .job-inner {
    flex-direction: row;
    align-items: center;
    gap: 52px;
  }

  .job-gallery {
    max-width: 520px;
  }

  .job-gallery .job-img--main {
    min-height: 360px;
  }

  .job-gallery .job-img--sub {
    height: 200px;
  }

  .job-gallery .job-img--accent {
    height: 172px;
  }
}

/* ============================================================
   MEMBER VOICE (背景を薄いグレー#F8FAFCに変更し、JOBセクションの白と美しく切り返し)
   ============================================================ */
#member_voice {
  background: #FFFFFF;
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* 透かし英字：左上 */
#member_voice::before {
  content: 'VOICE';
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* 左写真・右テキストの横並び */
.voice-layout {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 56px;
}

/* PC：写真＋プロフィールのグループ */
.voice-header-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 420px;
  flex-shrink: 0;
}

/* 左：正方形写真 */
.voice-photo-col {
  width: 420px;
  height: 420px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
}

.voice-full-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.voice-profile {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 右：テキスト */
.voice-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.voice-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0.06em;
}

.voice-role {
  display: block;
  font-size: 0.83rem;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.voice-en-mobile {
  display: none;
}

/* スマホ：縦積み（写真横にプロフィール・テキスト下） */
@media (max-width: 767px) {
  /* FVのオレンジバッジをしっかり小ぶりに縮小（キャッチコピーを強調） */
  .hero-badges {
    gap: 6px;
    margin-bottom: 2px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.02em;
  }

  /* VOICEセクション：スマホ表示 */
  .voice-layout {
    flex-direction: column;
    padding: 50px 20px;
    gap: 16px;
  }

  /* 写真の上の英字タイトル */
  .voice-en-mobile {
    display: block;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
  }

  .voice-en-pc {
    display: none;
  }

  /* 写真＋プロフィールの横並び行 */
  .voice-header-row {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .voice-profile .voice-name {
    font-size: 1.15rem;
  }

  .voice-profile .voice-role {
    margin-top: 0;
  }

  /* 写真：縦長（オリジナルアスペクト比）のまま110px×145pxで顔が絶対に切れない！ */
  .voice-photo-col {
    width: 110px;
    height: 145px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }

  .voice-full-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* 顔が切れないように上寄りに配置 */
  }
}

.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 2.5rem;
}

.voice-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}

.voice-card:hover {
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.15);
  transform: translateY(-4px);
}

.voice-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.voice-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--accent);
}

.voice-profile {
  flex: 1;
}

.voice-profile strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
}

.voice-profile span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.voice-quote {
  font-size: 0.96rem;
  line-height: 2;
  color: var(--text);
  background: #F8FAFC;
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 18px 24px;
  margin: 0;
  text-align: left;
}

.voice-headline {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem); /* 文字サイズを大きく強調 */
  line-height: 1.65;
  letter-spacing: 0.01em;
  border-left: 6px solid var(--accent);
  padding-left: 20px;
  text-align: left;
}

/* PC: 横並び3列グリッド */
@media (min-width: 768px) {
  .voice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .voice-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* スマホ: スライド表示（横スクロール） */
@media (max-width: 767px) {
  .voice-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 16px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .voice-grid::-webkit-scrollbar {
    height: 4px;
  }

  .voice-grid::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 2px;
  }

  .voice-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
  }

  .voice-card {
    min-width: 85vw;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* 1人インタビュー：アバター左・テキスト右の横並びレイアウト */
.voice-single {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 52px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(2,132,199,0.08);
  position: relative;
}

.voice-single::before {
  display: none;
}

.voice-single-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-rows: auto auto;
  column-gap: 48px;
  row-gap: 24px;
  align-items: start;
  position: static;
}

/* アバター＋名前：左列・縦中央 */
.voice-profile {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 0;
  border-top: none;
  width: auto;
}

.voice-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 28px rgba(2,132,199,0.2);
  flex-shrink: 0;
}

.voice-profile-text strong {
  display: block;
  font-size: 1rem;
  color: var(--primary-dark);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.voice-profile-text span {
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .voice-single {
    padding: 28px 20px;
  }
  .voice-single-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .voice-profile {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    text-align: left;
  }
  .voice-avatar {
    width: 72px;
    height: 72px;
  }
}

#benefits {
  background: var(--secondary);
  padding: 50px 0;
  overflow: hidden;
}

/* ============================================================
   BENEFITS左テキスト＋右2列縦スクロール
   ============================================================ */
.benefits-split {
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 580px;
}

/* 左: テキストエリア（スクロールバー線を排除） */
.benefits-split-text {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible; /* スクールバー線を完全に消去 */
}

/* 右: 2列写真エリア（セクションの上下高さ縦幅いっぱいに拡大） */
.benefits-scroll-gallery {
  flex: 0 0 420px;
  margin-top: -50px;
  margin-bottom: -50px;
  margin-right: 0;
  height: 1000px;
  display: flex;
  gap: 12px;
  overflow: hidden;
  position: relative;
}

/* 各列共通 */
.scroll-col {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.scroll-col-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scroll-col-inner img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}

/* 左列: 下から上へ無限スクロール */
@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* 右列: 上から下へ無限スクロール */
@keyframes scrollDown {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.scroll-col--up .scroll-col-inner {
  animation: scrollUp 20s linear infinite;
}

.scroll-col--down .scroll-col-inner {
  animation: scrollDown 20s linear infinite;
}

/* ベネフィットリスト (ul/li形式) */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefits-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
}

.benefits-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@keyframes scrollHorizontalMobile {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* スマホ表示: 縦長写真のまま少し小さく、左右横スライドに切替 */
@media (max-width: 900px) {
  .benefits-split {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    min-height: auto;
  }

  .benefits-split-text {
    padding: 0;
  }

  .benefits-scroll-gallery {
    flex: none;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 0;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .benefits-scroll-gallery::-webkit-scrollbar {
    display: none;
  }

  /* 2列を横スライド用に並べる */
  .scroll-col {
    flex: none;
    overflow: visible;
  }

  .scroll-col-inner {
    flex-direction: row;
    animation: scrollHorizontalMobile 16s linear infinite !important; /* 横自動無限スクロールアニメーション */
    gap: 12px;
    width: max-content;
  }

  /* 縦写真を少し小ぶりに保ちつつ横スライド可能にする */
  .scroll-col-inner img {
    width: 130px;
    height: 180px;
    border-radius: 10px;
  }
}


/* 1カラム固定 (PC/モバイル共通) */
.benefits-simple-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin: 3.5rem auto 4.5rem;
  max-width: 700px;
  padding: 0 var(--spacing);
}

.benefit-item {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.benefit-header {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #10B981;
  padding-bottom: 8px;
}

.benefit-num {
  font-size: 2rem;
  font-weight: 800;
  color: #059669;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 0.9;
}

.benefit-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* 3枚横並びサムネイル（大きすぎない・控えめな表示） */
.benefits-photo-row {
  display: flex;
  gap: 16px;
  margin: 0 auto 3rem;
  max-width: 900px;
  padding: 0 var(--spacing);
}

.benefits-photo-item {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.benefits-photo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.benefits-photo-item img:hover {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .benefits-photo-row {
    flex-direction: column;
    gap: 12px;
  }

  .benefits-photo-item img {
    height: 160px;
  }
}

.benefits-license-announce {
  text-align: center;
  margin: 4.5rem auto 3rem;
  max-width: 850px;
  padding: 0 var(--spacing);
}

.benefits-license-announce .license-title {
  font-family: 'Zen Kaku Gothic New', 'BIZ UDPGothic', sans-serif;
  font-size: clamp(1.45rem, 4.2vw, 2.3rem); /* BENEFITSのタイトル(section-title)と全く同じ大きさ */
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* 緑色の蛍光ハイライトマーカー */
mark.mark-green {
  background: linear-gradient(180deg, transparent 65%, rgba(16, 185, 129, 0.3) 65%);
  color: inherit;
  font-weight: 700;
  padding: 0 4px;
}

.benefits-license-announce .license-lead-text {
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.85;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   RECRUITMENT INFO
   ============================================================ */
#recruitment_info {
  background: var(--bg);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* 透かし英字：右上 */
#recruitment_info::before {
  content: 'RECRUIT';
  position: absolute;
  top: -10px;
  right: -10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.recruit-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  transition: max-width var(--transition);
}

.recruit-imgs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 2rem 0;
}

.recruit-imgs img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 600px) {
  .recruit-imgs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .recruit-inner {
    max-width: 1140px;
  }

  .recruit-imgs img {
    height: 270px;
  }
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 2.5rem;
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.recruit-table th,
.recruit-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: top;
}

.recruit-table th {
  background: var(--secondary);
  color: var(--primary-dark);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  width: 28%;
  white-space: nowrap;
}

/* ブルー帯見出し */
.recruit-table-heading {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  padding: 18px 24px !important;
  width: auto !important;
  white-space: normal !important;
}

.recruit-table td {
  color: var(--text);
  line-height: 1.8;
}

/* ============================================================
   FLOW (縦タイムラインデザイン)
   ============================================================ */
#flow {
  background: #F1F5F9;
  padding: 90px 0;
}

.flow-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  text-align: center;
}

@media (min-width: 1024px) {
  .flow-inner {
    max-width: 900px;
  }
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2.5rem 0;
  text-align: left;
}

/* タイムラインの各ステップ */
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  padding-bottom: 36px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

/* 縦の接続ライン */
.flow-step::before {
  content: '';
  position: absolute;
  left: 27px;       /* バッジ中心(56px/2 - 1px) */
  top: 56px;        /* バッジの高さ */
  width: 2px;
  height: calc(100% - 56px);
  background: linear-gradient(to bottom, var(--accent), rgba(2, 132, 199, 0.15));
}

.flow-step:last-child::before {
  display: none;
}

/* 番号バッジ */
.flow-num {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
  position: relative;
  z-index: 1;
}


/* テキストエリア */
.flow-body {
  flex: 1;
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.07);
  border-left: 4px solid var(--accent);
  margin-top: 4px;
}

.flow-body strong {
  display: block;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.flow-body span {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
#faq {
  background: var(--bg);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* 透かし英字：左上 */
#faq::before {
  content: 'FAQ';
  position: absolute;
  top: -10px;
  left: -10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(6rem, 20vw, 16rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.faq-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  transition: max-width var(--transition);
}

@media (min-width: 1024px) {
  .faq-inner {
    max-width: 1100px;
  }
}

.faq-list {
  margin: 2.5rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-q-label {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.faq-indicator {
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-indicator {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 8px 24px 54px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.85;
}

.faq-answer.is-open {
  display: block;
}

.faq-a-label {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  color: var(--accent);
  margin-right: 8px;
}

.faq-closing-note {
  margin-top: 40px;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============================================================
   APPLICATION FORM
   ============================================================ */
#application_form {
  background: var(--secondary);
  padding: 90px 0;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

/* 透かし英字：右上 */
#application_form::before {
  content: 'ENTRY';
  position: absolute;
  top: -10px;
  right: -10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

#application_form .section-en-title {
  color: var(--accent-dark);
}

#application_form .section-title {
  color: var(--primary-dark);
}

#application_form .section-lead {
  color: var(--text-light);
}

.form-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

@media (min-width: 1024px) {
  .form-wrap {
    max-width: 960px;
  }
}

/* フォーム本体：白カード */
#application-form {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 48px 52px;
  margin-top: 40px;
  box-shadow: 0 4px 24px rgba(2,132,199,0.10);
  border: 1px solid #E2E8F0;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  #application-form {
    padding: 32px 20px;
  }
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: var(--text);
}

.form-required {
  display: inline-block;
  background: #DC2626;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-optional {
  display: inline-block;
  background: #E2E8F0;
  color: var(--text-light);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  background: #F8FAFC;
  color: var(--text);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94A3B8;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #FFFFFF;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-consent label {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.form-consent .pp-link {
  background: none;
  border: none;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
}

.form-consent .pp-link:hover {
  color: var(--primary-dark);
}

.form-submit {
  text-align: center;
}

.btn-submit {
  width: 100%;
  max-width: 380px;
  padding: 18px 40px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0F172A;
  color: rgba(255,255,255,0.8);
  padding: 56px 0 28px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  text-align: center;
}

.footer-logo {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-address {
  font-size: 0.9rem;
  margin-bottom: 6px;
  opacity: 0.85;
}

.footer-tel {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}

.footer-links {
  margin-bottom: 24px;
}

.footer-links button,
.footer-links a {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  padding: 4px 8px;
}

.footer-links button:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.78rem;
  opacity: 0.6;
}

/* ============================================================
   PRIVACY POLICY MODAL
   ============================================================ */
.pp-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background-color: rgba(0,0,0,0.6);
}

.pp-modal[hidden] {
  display: none;
}

.pp-modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.pp-modal-body {
  position: relative;
  width: min(90vw, 800px);
  height: min(90vh, 700px);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pp-modal:not([hidden]) .pp-modal-body {
  transform: translateY(0);
  opacity: 1;
}

.pp-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 1001;
  padding: 5px 10px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-modal-close:hover {
  color: var(--accent);
}

.pp-modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   FLOATING CTA
   ============================================================ */

/* hidden属性のときは非表示 */
.floating-cta[hidden] {
  display: none;
}

/* 共通: 右下固定の丸ボタン */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 800;
  animation: floatUp 0.35s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes floatUp {
  from { transform: scale(0.6) translateY(20px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

.floating-cta .btn {
  width: 80px;
  height: 80px;
  min-width: unset;
  min-height: unset;
  padding: 0;
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1.3;
  text-align: center;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre-line;
}

@media (min-width: 1024px) {
  .floating-cta {
    right: 32px;
    bottom: 32px;
  }

  .floating-cta .btn {
    width: 88px;
    height: 88px;
    font-size: 0.75rem;
  }
}

/* ============================================================
   MISC
   ============================================================ */
section {
  scroll-margin-top: 60px;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.highlight-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.highlight-text strong {
  font-family: var(--font-heading, 'BIZ UDPGothic', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.highlight-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* PC: 4列横並び */
@media (min-width: 768px) {
  .highlights-inner {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .highlight-item {
    padding: 28px 24px;
    border-bottom: none;
    border-right: 1px solid #E3F2FD;
    gap: 18px;
  }

  /* PC時の右端border管理 */
  .highlight-item:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
  }
  .highlight-item:nth-child(4) {
    border-right: none;
  }

  .highlight-num {
    font-size: 2rem;
  }

  .highlight-text strong {
    font-size: 1rem;
  }

  .highlight-text span {
    font-size: 0.8rem;
  }
}

/* 「今すぐ、挑戦の扉を開く」エリアの上下余白をゆったりプラス */
.section-cta-bridge {
  padding: 35px 0 55px !important;
  margin-top: 15px !important;
}
