@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Zen+Old+Mincho:wght@700;900&family=Bebas+Neue&family=Montserrat:wght@300;400;500;700&family=Poppins:wght@900&display=swap');

/* ==========================================================================
   1. デザインシステム & 変数定義
   ========================================================================== */
:root {
  --color-primary: #1A365D;
  --color-secondary: #F0F4F8;
  --color-accent: #FFC107;
  --color-bg: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #D1D5DB;
  
  --font-heading: 'Zen Old Mincho', serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
  
  --radius: 8px;
  --spacing: 24px;
  
  --transition-smooth: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* メッシュグラデーション背景 (ミントグリーンと淡いシアン) ＋ 上下透過フェードアウト */
  --bg-mesh-gradient: 
    linear-gradient(180deg, var(--color-bg) 0%, transparent 15%, transparent 85%, var(--color-bg) 100%),
    radial-gradient(at 0% 0%, rgba(230, 255, 250, 0.8) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(224, 247, 250, 0.8) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(230, 255, 250, 0.8) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(224, 247, 250, 0.8) 0px, transparent 50%),
    var(--color-bg);
}

/* ==========================================================================
   2. リセット & ベーススタイル
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

body.is-opening {
  overflow: hidden;
}

/* グリッド背景の装飾（茗溪学園風のグリッド線） */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(26, 54, 93, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26, 54, 93, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 100;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
}

section {
  padding: 80px 0;
  position: relative;
}

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

/* ==========================================================================
   3. ヘッダー / ナビゲーション
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(26, 54, 93, 0.08);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* 白背景を透過 */
}

.header__logo-badge {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.header__link {
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
  padding: 8px 0;
  font-size: 0.9rem;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.header__link:hover::after {
  width: 100%;
}

.header__cta {
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.header__cta:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-2px);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  left: 10px;
  transition: var(--transition-fast);
}

.hamburger span:nth-child(1) { top: 18px; }
.hamburger span:nth-child(2) { top: 24px; }
.hamburger span:nth-child(3) { top: 30px; }

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

/* ==========================================================================
   4. 共通コンポーネント (セクション見出し, ボタン等)
   ========================================================================== */
.section-title {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title__jp {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.section-title__en {
  font-size: 0.9rem;
  color: var(--color-accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.section-title__en::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
  cursor: pointer;
  font-size: 1.05rem;
  border: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
}

.btn--primary:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(26, 54, 93, 0.2);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
  box-shadow: 0 5px 0 var(--color-primary);
  transform: skewX(-10deg);
}

.btn--accent span {
  transform: skewX(10deg);
  display: inline-block;
}

.btn--accent:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
  box-shadow: 0 0px 0 transparent;
  transform: skewX(-10deg) translateY(5px);
}

.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   5. アニメーションスタイル定義 (スライドショー, スライドアップ, パララックス)
   ========================================================================== */

/* 複数枚スライドショー＋Ken Burns（ズームイン）アニメーション */
@keyframes slideShow {
  0% {
    opacity: 0;
    transform: scale(1) translate(0, 0);
  }
  4% {
    opacity: 1; /* フェードイン完了 */
  }
  25% {
    opacity: 1;
  }
  29% {
    opacity: 0; /* フェードアウト完了 */
    transform: scale(1.08) translate(-1%, -0.5%);
  }
  100% {
    opacity: 0;
  }
}

/* ページロード時のスライドフェードイン */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transition: var(--transition-smooth);
}

.reveal--fade {
  transform: translateY(0);
}

.reveal--slide-up {
  transform: translateY(50px);
}

.reveal--slide-left {
  transform: translateX(50px);
}

.reveal--slide-right {
  transform: translateX(-50px);
}

.reveal--clip {
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  opacity: 1;
}

/* アニメーション発火クラス */
.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

.revealed.reveal--clip {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.stagger-1 { transition-delay: 0.15s; }
.stagger-2 { transition-delay: 0.3s; }
.stagger-3 { transition-delay: 0.45s; }
.stagger-4 { transition-delay: 0.6s; }

/* パララックス効果のためのCSS */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* タブレット・SPではパララックス固定を解除 */
@media (max-width: 1023px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* ==========================================================================
   6. セクション別詳細スタイル
   ========================================================================== */

/* --- 1. Hero (メインビジュアル - Bentoグリッド ＋ スプリットオープン) --- */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: var(--color-bg);
  background-color: #0d1e36;
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* スプリットオープン用のカーテン要素 */
.hero__curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  pointer-events: none;
}

.hero__curtain-panel {
  flex: 1;
  height: 100%;
  background-color: var(--color-primary);
  transition: transform 1.8s cubic-bezier(0.85, 0, 0.15, 1);
  will-change: transform;
}

.hero__curtain-panel--left {
  transform-origin: left;
}

.hero__curtain-panel--right {
  transform-origin: right;
}

/* ページロード完了後のオープニングアニメーション */
.hero.is-loaded .hero__curtain-panel--left {
  transform: translateX(-100%);
}

.hero.is-loaded .hero__curtain-panel--right {
  transform: translateX(100%);
}

/* コラージュ用コンテナ */
.hero__collage-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Bentoグリッドで隙間なく敷き詰める */
.hero__collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  gap: 16px;
  padding: 0;
  box-sizing: border-box;
}

.hero__collage-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero__collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bentoグリッド配置（4x3タイル） */
.hero__collage-item.item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.hero__collage-item.item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.hero__collage-item.item-3 { grid-column: 4 / 5; grid-row: 1 / 3; }
.hero__collage-item.item-4 { grid-column: 3 / 4; grid-row: 2 / 4; }
.hero__collage-item.item-5 { grid-column: 1 / 3; grid-row: 3 / 4; }
.hero__collage-item.item-6 { grid-column: 4 / 5; grid-row: 3 / 4; }

/* ケンバーンズ（Ken Burns）ズーム効果の個別割り当て */
.hero__collage-item.item-1 img { animation: kenBurns1 24s ease-in-out infinite alternate; }
.hero__collage-item.item-2 img { animation: kenBurns2 20s ease-in-out infinite alternate; }
.hero__collage-item.item-3 img { animation: kenBurns3 26s ease-in-out infinite alternate; }
.hero__collage-item.item-4 img { animation: kenBurns4 22s ease-in-out infinite alternate; }
.hero__collage-item.item-5 img { animation: kenBurns1 28s ease-in-out infinite alternate-reverse; }
.hero__collage-item.item-6 img { animation: kenBurns2 18s ease-in-out infinite alternate-reverse; }

/* ケンバーンズ効果のアニメーション定義（微妙に違うスライド・拡大） */
@keyframes kenBurns1 {
  0% { transform: scale(1.03) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1%, -1%); }
}

@keyframes kenBurns2 {
  0% { transform: scale(1.15) translate(1%, 0); }
  100% { transform: scale(1.03) translate(0, -1%); }
}

@keyframes kenBurns3 {
  0% { transform: scale(1.03) translate(0, -1%); }
  100% { transform: scale(1.15) translate(-1%, 1%); }
}

@keyframes kenBurns4 {
  0% { transform: scale(1.15) translate(-1%, 0); }
  100% { transform: scale(1.03) translate(1%, 1%); }
}

/* 暗めのオーバーレイを重ねて視認性を確保 */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 30, 54, 0.65);
  z-index: 2;
}

/* 斜めの装飾ライン */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 140px;
  background-color: var(--color-bg);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  z-index: 3;
}

.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero__text-area {
  max-width: 700px;
  animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.4s;
  opacity: 0;
  text-align: left;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: var(--color-bg);
  margin-bottom: 24px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero__title span {
  color: var(--color-accent);
}

.hero__lead {
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 45px;
  font-weight: 500;
  line-height: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- 2. Vision (会社紹介) --- */
.vision {
  background-color: var(--color-bg);
  z-index: 2;
  padding-bottom: 0;
}

.vision__content {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.vision__text {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 45px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.vision__img-wrapper {
  margin-top: 60px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(26, 54, 93, 0.1);
}

.vision__img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.8s;
  z-index: 2;
}

.vision__img-wrapper:hover::before {
  left: 100%;
}

/* --- 2.5. パララックスイメージエリア --- */
.parallax-divider {
  position: relative;
  height: 200px; /* 高さをさらに縮小して余白を詰める */
  background-image: url('../images/photo_01b.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.parallax-divider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 30, 54, 0.6);
  z-index: 1;
}

.parallax-divider__container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-bg);
}

.parallax-divider__lead {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.parallax-divider__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* --- 3. Features (特徴・強み) --- */
.features {
  background: var(--bg-mesh-gradient);
  padding-top: 40px;
  padding-bottom: 80px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background-color: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  border: 1px solid rgba(26, 54, 93, 0.04);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(26, 54, 93, 0.12);
}

.feature-card__img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.feature-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-card__img {
  transform: scale(1.08);
}

.feature-card__content {
  padding: 35px 30px;
  flex-grow: 1;
  position: relative;
}

.feature-card__num {
  position: absolute;
  top: -28px;
  left: 30px;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-accent);
  text-shadow: 2px 2px 0 var(--color-primary);
  line-height: 1;
}

.feature-card__title {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-top: 10px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 12px;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- 4. Job Description (仕事内容) --- */
.job-desc {
  background-color: var(--color-bg);
}

.job-desc__content {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
}

.job-desc__info {
  padding-right: 20px;
}

.job-desc__title {
  font-size: 2.1rem;
  color: var(--color-primary);
  margin-bottom: 28px;
}

.job-desc__text {
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.9;
}

.job-desc__cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.job-card {
  background-color: var(--color-bg);
  border-left: 6px solid var(--color-accent);
  padding: 30px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
}

.job-card:hover {
  transform: translateX(10px);
  box-shadow: 0 18px 40px rgba(26, 54, 93, 0.08);
}

.job-card__img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}

.job-card__title {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.job-card__label {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  padding: 2px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 12px;
}

.job-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- 5. Career Path (成長環境 & ロードマップ装飾) --- */
.career-path {
  background: var(--bg-mesh-gradient);
}

.roadmap-container {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  position: relative;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.roadmap-card {
  background-color: var(--color-bg);
  padding: 35px 25px;
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
  transition: var(--transition-bounce);
  position: relative;
  border: 1px solid rgba(26, 54, 93, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.roadmap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 54, 93, 0.12);
}

/* カード間の矢印（PCのみ） */
.roadmap-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border-top: 2.5px solid var(--color-accent);
  border-right: 2.5px solid var(--color-accent);
  z-index: 5;
}

.roadmap-card__illustration {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition-bounce);
}

.roadmap-card:hover .roadmap-card__illustration {
  background-color: var(--color-primary);
  color: var(--color-accent);
  transform: rotate(10deg) scale(1.05);
}

.roadmap-card__illustration svg {
  width: 36px;
  height: 36px;
  fill: none;
}

.roadmap-card__step {
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
}

.roadmap-card__title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.roadmap-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- 新設. Stats (数字で見る関西ぱど) --- */
/* --- 新設. Stats (数字で見る関西ぱど) --- */
.stats {
  background-color: var(--color-bg);
  border-top: 1px solid rgba(26, 54, 93, 0.08);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stats-card {
  background-color: var(--color-secondary);
  padding: 40px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(26, 54, 93, 0.04);
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-card:hover {
  transform: translateY(-8px);
  background-color: var(--color-bg);
  border-color: var(--color-accent);
  box-shadow: 0 15px 40px rgba(26, 54, 93, 0.08);
}

.stats-card__icon {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 54, 93, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.stats-card:hover .stats-card__icon {
  background-color: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.1);
}

.stats-card__icon svg {
  width: 28px;
  height: 28px;
}

.stats-card__num-wrapper {
  color: var(--color-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stats-card__num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.stats-card__unit {
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 4px;
  color: var(--color-accent);
}

.stats-card__title {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.stats-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-top: auto;
}

/* グラフ共通スタイル */
.stats-card__chart {
  width: 100%;
  margin-bottom: 25px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 15px;
  border: 1px solid rgba(26, 54, 93, 0.03);
  box-sizing: border-box;
}

.stats-card:hover .stats-card__chart {
  background-color: rgba(255, 255, 255, 1);
}

/* 1. 棒グラフ (設立) */
.chart--bar .bar-track {
  width: 100%;
  height: 12px;
  background-color: rgba(26, 54, 93, 0.1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.chart--bar .bar-gauge {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 6px;
  transition: width 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.stats-card.revealed .chart--bar .bar-gauge {
  width: 100%;
}

.chart--bar .bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-light);
}

/* 2. ドーナツチャート */
.chart--doughnut {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 25px auto;
  background-color: transparent !important;
  border: none !important;
  padding: 0;
}

.chart--doughnut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.chart--doughnut circle {
  fill: none;
  stroke-width: 8;
}

.chart--doughnut .circle-bg {
  stroke: rgba(26, 54, 93, 0.1);
}

.chart--doughnut .circle-gauge {
  stroke: var(--color-primary);
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  stroke-linecap: round;
  transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.chart--doughnut .circle-gauge--gender {
  stroke: var(--color-accent);
}

/* JSで revealed がついたときに offset を縮める */
.stats-card.revealed .chart--doughnut .circle-gauge {
  /* リピート率85%: 251.2 * (1 - 0.85) = 37.68 */
  stroke-dashoffset: 37.68;
}

.stats-card.revealed .chart--doughnut .circle-gauge--gender {
  /* 男女比55%: 251.2 * (1 - 0.55) = 113.04 */
  stroke-dashoffset: 113.04;
}

.chart--doughnut .chart-value {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary);
}

.chart--doughnut .chart-label {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-light);
  white-space: nowrap;
}

/* 3. マルチ棒グラフ (部数) */
.chart--multi-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.multi-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.multi-bar-item .bar-label {
  width: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
}

.multi-bar-item .bar-track {
  flex-grow: 1;
  height: 8px;
  background-color: rgba(26, 54, 93, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.multi-bar-item .bar-gauge {
  height: 100%;
  width: 0%;
  background-color: var(--color-primary);
  border-radius: 4px;
  transition: width 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.stats-card.revealed .multi-bar-item:nth-child(1) .bar-gauge { width: 95%; }
.stats-card.revealed .multi-bar-item:nth-child(2) .bar-gauge { width: 80%; }
.stats-card.revealed .multi-bar-item:nth-child(3) .bar-gauge { width: 60%; }

/* --- 6. 1 Day Schedule (先輩営業の1日) --- */
.schedule {
  background: var(--bg-mesh-gradient);
  position: relative;
  padding-top: 90px;
}

.schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg'><path d='M0,0 Q360,70 720,30 T1440,50 L1440,0 L0,0 Z' fill='%23FFFFFF'/></svg>");
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}

.schedule__intro {
  text-align: center;
  max-width: 750px;
  margin: -30px auto 60px auto;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.schedule-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.schedule-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 120px;
  width: 2px;
  background-color: rgba(26, 54, 93, 0.1);
}

.schedule-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.schedule-item:last-child {
  margin-bottom: 0;
}

.schedule-time {
  width: 120px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  padding-right: 30px;
  text-align: right;
  position: relative;
  line-height: 1.2;
}

.schedule-time::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background-color: var(--color-accent);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  z-index: 2;
}

.schedule-content {
  flex-grow: 1;
  padding-left: 40px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 30px;
  align-items: center;
}

.schedule-text {
  background-color: var(--color-bg);
  padding: 30px;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid rgba(26, 54, 93, 0.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.schedule-text::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 15px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent var(--color-bg) transparent transparent;
}

.schedule-title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 700;
}

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

.schedule-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* --- 7. Member Voice (社員の声) --- */
.member-voice {
  background-color: var(--color-bg);
}

.member-voice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.voice-card {
  background-color: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 54, 93, 0.04);
}

.voice-card__img-wrapper {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.voice-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.voice-card:hover .voice-card__img {
  transform: scale(1.08);
}

.voice-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.95), transparent);
  color: var(--color-bg);
}

.voice-card__name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.voice-card__role {
  font-size: 0.75rem;
  opacity: 0.85;
}

.voice-card__content {
  padding: 30px;
  flex-grow: 1;
  background-color: var(--color-bg);
}

/* アメコミ風吹き出しの表現 */
.voice-card__quote {
  position: relative;
  background-color: var(--color-secondary);
  border: 2px solid var(--color-primary);
  padding: 18px 20px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.voice-card__quote::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 30px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent var(--color-primary) transparent;
}

.voice-card__quote-inner::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 30px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent var(--color-secondary) transparent;
  margin-bottom: -2px;
  z-index: 2;
}

/* --- 8. Benefits (福利厚生) --- */
.benefits {
  background-color: var(--color-primary);
  background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.9)), url('../images/IMG_7544.jpeg');
  background-attachment: fixed; /* パララックス */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.benefits::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
  pointer-events: none;
  z-index: 1;
}

.benefits::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--color-bg), transparent);
  pointer-events: none;
  z-index: 1;
}

.benefits .container {
  position: relative;
  z-index: 2;
}

.benefits .section-title__jp {
  color: var(--color-bg);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 40px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  transition: var(--transition-smooth);
  color: var(--color-bg);
}

.benefit-card:hover {
  background-color: rgba(255, 255, 255, 1);
  color: var(--color-text);
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.benefit-card__icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.benefit-card:hover .benefit-card__icon-box {
  background-color: var(--color-primary);
  color: var(--color-accent);
}

.benefit-card__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.benefit-card__desc {
  font-size: 0.9rem;
  opacity: 0.85;
  text-align: left;
}

.benefit-card:hover .benefit-card__desc {
  color: var(--color-text-light);
}

/* --- 9. Recruitment Info (募集要項) --- */
.recruitment {
  background-color: var(--color-bg);
}

.recruitment__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 45px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.02);
  border-radius: var(--radius);
  overflow: hidden;
}

.recruitment__table tr {
  border-bottom: 1px solid rgba(26, 54, 93, 0.08);
}

.recruitment__table tr:last-child {
  border-bottom: 3px solid var(--color-primary);
}

.recruitment__table th {
  width: 25%;
  background-color: var(--color-primary);
  color: var(--color-bg);
  text-align: left;
  padding: 24px 30px;
  font-weight: 700;
  font-size: 1.05rem;
}

.recruitment__table td {
  background-color: var(--color-bg);
  padding: 24px 30px;
  color: var(--color-text);
  line-height: 1.9;
}

/* --- 10. Selection Flow (選考フロー) --- */
.flow {
  background: var(--bg-mesh-gradient);
  padding-top: 80px;
  padding-bottom: 70px;
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}

.flow__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  position: relative;
}

.flow-step {
  background-color: var(--color-bg);
  padding: 35px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  border: 1px solid rgba(26, 54, 93, 0.04);
  transition: var(--transition-smooth);
}

.flow-step:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

/* 矢印の装飾 */
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 900;
  z-index: 10;
}

.flow-step__num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-step__title {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.flow-step__desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: left;
}

/* --- 11. FAQ (よくある質問) --- */
.faq {
  background-color: var(--color-bg);
}

.faq__accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid rgba(26, 54, 93, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item__q {
  background-color: var(--color-bg);
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
  transition: var(--transition-fast);
}

.faq-item__q:hover {
  background-color: var(--color-secondary);
}

.faq-item__q-text {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-item__q-text::before {
  content: "Q";
  color: var(--color-accent);
  font-weight: 900;
  font-size: 1.4rem;
}

.faq-item__q-icon {
  width: 16px;
  height: 16px;
  position: relative;
  transition: var(--transition-fast);
}

.faq-item__q-icon::before,
.faq-item__q-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__q-icon::before {
  width: 16px;
  height: 2px;
}

.faq-item__q-icon::after {
  width: 2px;
  height: 16px;
  transition: var(--transition-fast);
}

.faq-item.active .faq-item__q-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  background-color: var(--color-secondary);
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item__a-inner {
  padding: 24px 30px;
  color: var(--color-text);
  font-size: 0.95rem;
  border-top: 1px solid rgba(26, 54, 93, 0.04);
}

/* --- 12. Application Form (エントリーフォーム) --- */
.application {
  background: var(--bg-mesh-gradient);
}

.form-container {
  max-width: 750px;
  margin: 0 auto;
  background-color: var(--color-bg);
  padding: 55px 50px;
  border-radius: var(--radius);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(26, 54, 93, 0.04);
}

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

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.form-label span {
  background-color: #EF4444;
  color: var(--color-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 8px;
  vertical-align: middle;
}

.form-label span.optional {
  background-color: var(--color-text-light);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

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

.form-privacy {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.form-privacy label {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-privacy a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 700;
}

.form-privacy input {
  margin-right: 8px;
  transform: scale(1.1);
}

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

/* --- 13. Footer (フッター) --- */
.footer {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 60px 0 20px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer__company-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 15px;
}

.footer__info {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.8;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer__link {
  font-size: 0.9rem;
  opacity: 0.8;
  position: relative;
}

.footer__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* ==========================================================================
   7. レスポンシブ調整（メディアクエリ）
   ========================================================================== */

/* タブレットサイズ以下 (1023px以下) */
@media (max-width: 1023px) {
  section {
    padding: 60px 0;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 30px;
  }
  
  .hero__vertical-title {
    writing-mode: horizontal-tb;
    border-right: none;
    border-bottom: 4px solid var(--color-accent);
    padding-right: 0;
    padding-bottom: 15px;
    font-size: 2.5rem;
    max-height: none;
    text-align: center;
  }
  
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .roadmap-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 20px var(--spacing);
    margin-left: calc(-1 * var(--spacing));
    margin-right: calc(-1 * var(--spacing));
  }
  
  .roadmap-container::-webkit-scrollbar {
    display: none;
  }
  
  .roadmap {
    display: flex;
    grid-template-columns: none;
    gap: 20px;
    width: max-content;
  }
  
  .roadmap-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
  }
  
  .roadmap-card:not(:last-child)::after {
    display: none;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .schedule-timeline::before {
    left: 40px;
  }
  
  .schedule-item {
    flex-direction: column;
    padding-left: 70px;
  }
  
  .schedule-time {
    width: auto;
    text-align: left;
    padding-right: 0;
    margin-bottom: 15px;
  }
  
  .schedule-time::after {
    left: -36px;
    right: auto;
  }
  
  .schedule-content {
    padding-left: 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .schedule-text::before {
    left: -15px;
    right: auto;
    top: 15px;
    border-color: transparent var(--color-bg) transparent transparent;
    border-width: 8px;
    transform: rotate(90deg);
  }

  .schedule-text {
    padding: 24px;
  }

  .schedule-img {
    height: 200px;
  }
  
  .member-voice__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .flow__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .flow-step:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    bottom: -25px;
    top: auto;
    transform: translateX(-50%);
  }

  .parallax-divider {
    background-attachment: scroll;
    height: 160px;
  }
  .parallax-divider__title {
    font-size: 1.8rem;
  }
  .benefits {
    background-attachment: scroll;
  }
}

/* スマートフォンサイズ以下 (767px以下) */
@media (max-width: 767px) {
  section {
    padding: 40px 0;
  }
  
  .header__nav {
    position: fixed;
    top: 80px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-bg);
    flex-direction: column;
    padding: 40px var(--spacing);
    gap: 40px;
    transition: var(--transition-smooth);
    z-index: 1000;
  }
  
  .header__nav.active {
    left: 0;
  }
  
  .header__menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
  }
  
  .header__link {
    font-size: 1.2rem;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 100px 0 160px;
  }

  .hero::after {
    height: 80px;
  }

  .hero__collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
  }

  .hero__collage-item.item-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
  .hero__collage-item.item-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
  .hero__collage-item.item-3 { grid-column: 2 / 3; grid-row: 2 / 4; }
  .hero__collage-item.item-4 { grid-column: 1 / 2; grid-row: 3 / 5; }
  .hero__collage-item.item-5 { grid-column: 2 / 3; grid-row: 4 / 5; }
  .hero__collage-item.item-6 { display: none; }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero__text-area {
    text-align: center;
    max-width: 100%;
    width: 100%;
  }

  .hero__title {
    font-size: 2.0rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  
  .hero__lead {
    font-size: 0.95rem;
    margin-top: 20px;
    margin-bottom: 35px;
    line-height: 1.8;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .btn {
    width: 100%;
  }
  
  .features__grid {
    grid-template-columns: 1fr;
  }
  
  .job-desc__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .job-desc__info {
    padding-right: 0;
    text-align: center;
  }
  
  .job-card {
    grid-template-columns: 1fr;
    text-align: center;
    border-left: none;
    border-top: 6px solid var(--color-accent);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  
  .job-card__img {
    margin: 0 auto;
  }
  
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-card {
    padding: 30px 20px;
  }

  .stats-card__num {
    font-size: 2.75rem;
  }
  
  .schedule-timeline::before {
    left: 20px;
  }

  .schedule-item {
    padding-left: 45px;
  }

  .schedule-time::after {
    left: -30px;
  }

  .member-voice__grid {
    grid-template-columns: 1fr;
  }
  
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  
  .recruitment__table {
    display: block;
  }
  
  .recruitment__table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid rgba(26, 54, 93, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .recruitment__table tr:last-child {
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
  }
  
  .recruitment__table th,
  .recruitment__table td {
    display: block;
    width: 100%;
    padding: 15px 20px;
  }
  
  .recruitment__table th {
    background-color: var(--color-primary);
  }
  
  .form-container {
    padding: 30px var(--spacing);
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer__links {
    align-items: flex-start;
  }
}

/* ==========================================================================
   8. その他ヘルパークラス
   ========================================================================== */
.text-accent {
  color: var(--color-accent);
}

.font-heading {
  font-family: var(--font-heading);
}

/* キーボードアクセシビリティ用スタイル */
.header__link:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.faq-item__q:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   9. 新規追加スタイル (透かし背景, About, カルーセル, ホバー強化)
   ========================================================================== */

/* 各セクション背景ウォーターマーク (上品なスライドイン) */
.section-watermark {
  position: absolute;
  top: 15%;
  left: 5%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14vw;
  line-height: 1;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: translateX(-100px);
  transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.8s ease;
  white-space: nowrap;
  text-transform: uppercase;
  user-select: none;
}

.section-watermark.revealed {
  opacity: 0.03; /* 非常に薄く上品な透かし */
  transform: translateX(0);
}

/* 無限スクロールMarqueeバナー (ポップ・新トレンドアウトライン) */
.marquee-banner {
  overflow: hidden;
  background: transparent;
  padding: 24px 0;
  display: flex;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  box-shadow: none;
  z-index: 10;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-banner__inner {
  display: flex;
  animation: marquee-banner-scroll 28s linear infinite;
}

.marquee-banner__inner span {
  display: inline-block;
  padding-right: 30px;
  color: rgba(79, 209, 197, 0.45); /* 淡いミント/シアン */
}

.marquee-banner__inner span .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 158, 11, 0.45); /* 淡いイエロー/アンバーのアウトライン */
}

@keyframes marquee-banner-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ポップMarqueeレスポンシブ */
@media (max-width: 1023px) {
  .marquee-banner {
    font-size: 2.8rem;
    padding: 16px 0;
  }
}

@media (max-width: 767px) {
  .marquee-banner {
    font-size: 2.0rem;
    padding: 12px 0;
  }
}

/* 泡（あわあわ）のように動くドットパターン背景 */
.bubble-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
  background-image: 
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 15%, transparent 15%),
    radial-gradient(circle, rgba(79, 209, 197, 0.05) 12%, transparent 12%),
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 10%, transparent 10%);
  background-size: 140px 140px;
  background-position: 0 0, 45px 70px, 85px 35px;
  animation: bubbleFloat 24s linear infinite;
  will-change: transform, background-position;
}

@keyframes bubbleFloat {
  0% {
    background-position: 0 0, 45px 70px, 85px 35px;
  }
  100% {
    background-position: 0 -140px, 45px -70px, 85px -105px;
  }
}

/* --- 1.5. About (私たちがやっていること) --- */
.about {
  background-color: var(--color-bg);
}

.about__lead {
  text-align: center;
  max-width: 800px;
  margin: -30px auto 60px auto;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  z-index: 1;
  position: relative;
}

.about-card {
  background-color: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
  transition: var(--transition-bounce);
  border: 1px solid rgba(26, 54, 93, 0.04);
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(26, 54, 93, 0.12);
}

.about-card__img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.about-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bounce);
}

.about-card:hover .about-card__img {
  transform: scale(1.06);
}

.about-card__content {
  padding: 30px;
  flex-grow: 1;
}

.about-card__title {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 12px;
}

.about-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* カルーセルインタビュー & Q&A表示 */
.voice-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.voice-carousel__inner {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 20px 10px;
}

.voice-carousel__inner::-webkit-scrollbar {
  display: none;
}

.voice-carousel .voice-card {
  flex: 0 0 31%;
  scroll-snap-align: start;
  box-sizing: border-box;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
  transition: var(--transition-bounce);
}

.voice-carousel .voice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 54, 93, 0.12);
}

.voice-card .voice-card__img {
  transition: var(--transition-bounce);
}

.voice-card:hover .voice-card__img {
  transform: scale(1.06);
}

.voice-card__interview {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interview-item {
  border-bottom: 1px dashed rgba(26, 54, 93, 0.1);
  padding-bottom: 12px;
}

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

.interview-q {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.interview-q::before {
  content: "•";
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.interview-a {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* カルーセルコントローラー */
.voice-carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.voice-carousel__arrow {
  background-color: var(--color-bg);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.08);
}

.voice-carousel__arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  transform: scale(1.1);
}

.voice-carousel__dots {
  display: flex;
  gap: 10px;
}

.voice-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(26, 54, 93, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.voice-carousel__dot.active {
  background-color: var(--color-primary);
  transform: scale(1.3);
}

/* その他のホバー・マイクロインタラクション弾むイージング化 */
.stats-card, .schedule-text, .benefit-card, .flow-step, .feature-card {
  transition: var(--transition-bounce);
}

.feature-card .feature-card__img {
  transition: var(--transition-bounce);
}

.feature-card:hover .feature-card__img {
  transform: scale(1.06);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 54, 93, 0.12);
}

.stats-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: 0 15px 40px rgba(26, 54, 93, 0.12);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(26, 54, 93, 0.2);
}

.flow-step:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 15px 30px rgba(26, 54, 93, 0.08);
}

.schedule-item:hover .schedule-text {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26, 54, 93, 0.06);
}

.schedule-item .schedule-img {
  transition: var(--transition-bounce);
}

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

/* カルーセルレスポンシブ */
@media (max-width: 1023px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .voice-carousel .voice-card {
    flex: 0 0 47%;
  }
}

@media (max-width: 767px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .voice-carousel__inner {
    gap: 20px;
    padding-left: var(--spacing);
    padding-right: var(--spacing);
  }
  .voice-carousel .voice-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

/* ==========================================================================
   10. 「トップに戻る」ボタン
   ========================================================================== */
.page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.page-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.page-top:hover svg {
  transform: translateY(-3px);
}
