/* ============================================
   NK Corporation Recruit LP - style.css
   STEP③: デザイン完成版
   カラー設計:
     Primary   : #1A3A6B (ネイビー・信頼感)
     Accent    : #F5A623 (アンバー・活気)
     BG Light  : #F4F7FB
     BG Dark   : #1A3A6B
     Text Main : #1E1E1E
     Text Sub  : #555
   ============================================ */

/* ===== CSS変数 ===== */
:root {
  --color-primary:   #1A3A6B;
  --color-primary-dark: #122954;
  --color-accent:    #F5A623;
  --color-accent-dark: #e09410;
  --color-text:      #1E1E1E;
  --color-text-sub:  #555555;
  --color-bg:        #F4F7FB;
  --color-bg-dark:   #1A3A6B;
  --color-white:     #ffffff;
  --color-border:    #D9E3EF;
  --color-placeholder: #C8D3DF;

  --font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 20px rgba(26,58,107,0.10);
  --shadow-btn:  0 4px 14px rgba(26,58,107,0.25);

  --transition: 0.3s ease;
  --header-h: 68px;
}

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

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

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

ul, ol { list-style: none; }
address { font-style: normal; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Section共通 ===== */
.section-block {
  padding: 88px 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 52px;
  color: var(--color-primary);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.title-en {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  display: block;
}

/* アクセント強調テキスト */
strong.accent {
  color: var(--color-accent-dark);
  font-weight: 700;
}

/* ===== 実写真 共通スタイル ===== */

/* FV背景画像 */
.fv-bg {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* 会社について */
.about-img-wrap {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* おわりに */
.closing-img-wrap {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.closing-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* 仕事内容ジグザグ */
.works-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* カード共通（入社後の流れ・会社の魅力・メンバー紹介） */
.card-img-wrap {
  overflow: hidden;
  flex-shrink: 0;
}

.card-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.04);
}

/* スライダー内画像 */
.slide-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

/* ===== プレースホルダー（fallback用・残す） ===== */
.img-placeholder {
  background: var(--color-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: var(--radius-sm);
}

.img-placeholder span {
  color: #888;
  font-size: 0.875rem;
  font-weight: 500;
}

.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3  { aspect-ratio: 4 / 3; }

/* ===== フェードインアニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   BUTTON
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-family);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-icon {
  font-size: 1.1em;
  flex-shrink: 0;
}

/* 電話ボタン */
.btn-tel {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-btn);
}
.btn-tel:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,58,107,0.30);
}

/* お問い合わせボタン */
.btn-contact {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(245,166,35,0.35);
}
.btn-contact:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.45);
}

/* 送信ボタン */
.btn-submit {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  padding: 16px 56px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-btn);
}
.btn-submit:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,58,107,0.35);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

/* スクロールで隠す（JSで .is-hidden クラスを付与） */
.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
}

.site-logo a {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-list li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 4px 0;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-list li a:hover::after { width: 100%; }

.nav-list li a.nav-cta {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.nav-list li a.nav-cta::after { display: none; }

.nav-list li a.nav-cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

/* ===== ハンバーガーボタン ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

/* ハンバーガー開いた状態 */
.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== ドロワーメニュー ===== */
.drawer-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.drawer-nav.is-open {
  max-height: 500px;
}

.drawer-list {
  padding: 8px 0 16px;
}

.drawer-list li {
  border-bottom: 1px solid var(--color-border);
}

.drawer-list li:last-child {
  border-bottom: none;
  padding: 12px 24px;
}

.drawer-list li a {
  display: block;
  padding: 14px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition), background var(--transition);
}

.drawer-list li a:hover {
  color: var(--color-primary);
  background: var(--color-bg);
}

.drawer-list li a.drawer-cta {
  display: block;
  width: 100%;
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  border-radius: 50px;
  padding: 14px 24px;
  font-weight: 700;
}

/* ============================================
   FV（ファーストビュー）
   ============================================ */
.fv-section {
  width: 100%;
  margin-top: var(--header-h);
}

.fv-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-placeholder);
  overflow: hidden;
}

.fv-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    rgba(26,58,107,0.82) 0%,
    rgba(26,58,107,0.55) 60%,
    rgba(26,41,84,0.70) 100%);
}

.fv-content {
  text-align: center;
  color: var(--color-white);
  padding: 24px 32px;
  max-width: 760px;
}

.fv-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.fv-catch {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.fv-sub {
  font-size: clamp(0.875rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 28px;
  opacity: 0.95;
}

.fv-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   スライダー（CSS無限ループ）
   ============================================ */
.slider-section {
  overflow: hidden;
  background: var(--color-bg);
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
}

/* slide-itemの幅: 220px + gap12px = 232px × 15枚 = 3480px */
.slider-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: slideLoop 42s linear infinite;
}

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

.slide-item {
  width: 220px;
  flex-shrink: 0;
}

.slide-item .img-placeholder {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

@keyframes slideLoop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-232px * 15)); }
}

/* ============================================
   こんな人歓迎
   ============================================ */
.welcome-section {
  background: var(--color-white);
}

.welcome-list {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.welcome-item {
  flex: 1 1 0;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.welcome-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-accent);
}

.welcome-icon {
  font-size: 2.75rem;
  margin-bottom: 16px;
  line-height: 1;
}

.welcome-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}

/* ============================================
   会社について
   ============================================ */
.about-section {
  background: var(--color-bg);
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 820px;
  margin: 0 auto;
}

.about-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  /* about-img-wrap に移行済み。互换性維持 */
}

.about-text p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 14px;
  line-height: 1.9;
  text-align: center;
}

.about-text p:last-child { margin-bottom: 0; }

/* ============================================
   仕事内容（ジグザグ）
   ============================================ */
.works-section {
  background: var(--color-white);
}

.works-block {
  display: flex;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.works-block:last-child { margin-bottom: 0; }

.works-block--reverse { flex-direction: row-reverse; }

.works-img {
  flex: 0 0 48%;
  max-width: 48%;
}

.works-img .img-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.works-text {
  flex: 1;
}

.works-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.35;
  font-variant-numeric: tabular-nums;
}

.works-text h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.works-text p {
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.85;
}

.works-text p:last-child { margin-bottom: 0; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: var(--color-primary);
  padding: 64px 0;
}

.cta-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-lead {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTAセクション内のボタン調整 */
.cta-section .btn-tel {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.cta-section .btn-tel:hover {
  background: var(--color-bg);
  border-color: var(--color-bg);
  color: var(--color-primary);
}

/* ============================================
   カード共通（入社後の流れ / 会社の魅力 / メンバー紹介）
   ============================================ */
.flow-section { background: var(--color-bg); }
.appeal-section { background: var(--color-white); }
.members-section { background: var(--color-bg); }

.card-grid {
  display: flex;
  gap: 24px;
}

.card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card.fade-in:not(.is-visible) {
  overflow: visible;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(26,58,107,0.16);
}

.appeal-section .card { background: var(--color-bg); }

.card-step-bar {
  background: var(--color-primary);
  padding: 10px 16px;
  text-align: center;
}

.card-step-bar span {
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.card .img-placeholder {
  border-radius: 0;
}

.card-body {
  padding: 22px 20px 24px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.45;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  margin-bottom: 8px;
  line-height: 1.8;
}

.card-body p:last-child { margin-bottom: 0; }

/* メンバーカード名前 */
.card--member .card-body h3 {
  font-size: 1.1rem;
}

/* ============================================
   1日の流れ
   ============================================ */
.timeline-section {
  background: var(--color-primary);
}

.timeline-section .section-title {
  color: var(--color-white);
}

.timeline-section .title-en {
  color: var(--color-accent);
}

.timeline-card {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.timeline-list { padding: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 72px 20px 1fr;
  gap: 0 16px;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background var(--transition);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-item:hover {
  background: rgba(255,255,255,0.06);
}

.timeline-time {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  justify-self: center;
  flex-shrink: 0;
}

.timeline-desc {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}

/* ============================================
   おわりに
   ============================================ */
.closing-section {
  background: var(--color-bg);
}

.closing-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 820px;
  margin: 0 auto;
}

.closing-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  /* closing-img-wrap に移行済。互换性維持 */
}

.closing-text p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 14px;
  line-height: 1.9;
  text-align: center;
}

.closing-text p:last-child { margin-bottom: 0; }

/* ============================================
   応募フォーム
   ============================================ */
.contact-section {
  background: var(--color-white);
}

.contact-lead {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  margin-bottom: 40px;
  line-height: 1.8;
}

.form-error-msg {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 14px 20px;
  background: #fff0f0;
  border: 1px solid #e05555;
  border-radius: 6px;
  color: #c0392b;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg);
  padding: 40px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* honeypot：完全非表示 */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

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

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

.required {
  display: inline-block;
  font-size: 0.75rem;
  background: #d63031;
  color: var(--color-white);
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.6;
}

.optional {
  display: inline-block;
  font-size: 0.75rem;
  background: #aaa;
  color: var(--color-white);
  font-weight: 400;
  padding: 1px 7px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.6;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-family);
  font-weight: 400;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,58,107,0.12);
}

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

.form-note {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  margin-top: 5px;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

/* ============================================
   募集要項
   ============================================ */
.recruit-section {
  background: var(--color-bg);
}

.recruit-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.recruit-row {
  display: flex;
  border-bottom: 1px solid #D0DDE8;
}

.recruit-row:last-child { border-bottom: none; }

.recruit-label {
  flex: 0 0 160px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  background: var(--color-bg);
  border-right: 1px solid #D0DDE8;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.recruit-detail {
  flex: 1;
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.8;
}
.recruit-detail-inner {
  padding: 20px 24px;
}
.recruit-detail:has(.recruit-detail-inner) {
  padding: 0;
}
.recruit-detail p { margin-bottom: 5px; }
.recruit-detail p:last-child { margin-bottom: 0; }
.recruit-divider {
  display: block;
  border: none;
  border-bottom: 1px solid #D0DDE8;
  width: 100%;
  margin: 0;
  padding: 0;
  height: 0;
}

.recruit-sub {
  color: var(--color-text-sub) !important;
  font-size: 0.8375rem !important;
  margin-top: 4px !important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 32px;
  text-align: center;
}

.footer-company {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.footer-address {
  font-size: 0.875rem;
  margin-bottom: 6px;
  line-height: 1.7;
}

.footer-tel {
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.footer-tel a {
  color: var(--color-accent);
  font-weight: 700;
  transition: opacity var(--transition);
}

.footer-tel a:hover { opacity: 0.8; }

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  margin-top: 4px;
}

/* ============================================
   RESPONSIVE — タブレット（max 1024px）
   ============================================ */
@media (max-width: 1024px) {
  .nav-list { gap: 14px; }
  .nav-list li a { font-size: 0.8125rem; }

  .works-block { gap: 36px; }
  .works-img { flex: 0 0 46%; max-width: 46%; }
}

/* ============================================
   RESPONSIVE — スマホ（max 768px）
   ============================================ */
@media (max-width: 768px) {

  /* ヘッダー */
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .drawer-nav { display: block; }

  /* セクション余白 */
  .section-block { padding: 56px 0; }
  .section-title { margin-bottom: 36px; }

  /* FV */
  .fv-section { margin-top: var(--header-h); }
  .fv-bg { aspect-ratio: auto; min-height: 480px; }
  .fv-catch { font-size: 1.5rem; }
  .fv-sub { font-size: 0.9rem; }
  .fv-content { padding: 24px 20px; }
  .fv-cta { flex-direction: column; align-items: center; gap: 12px; }
  .fv-cta .btn { width: 100%; max-width: 320px; }

  /* スライダー */
  .slide-item { width: 160px; }
  @keyframes slideLoop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-172px * 15)); }
  }

  /* こんな人歓迎 */
  .welcome-list { flex-direction: column; align-items: center; }
  .welcome-item { max-width: 100%; width: 100%; }

  /* 会社について */
  .about-img { max-width: 100%; }

  /* 仕事内容：モバイルは全て縦積み（写真→文） */
  .works-block,
  .works-block--reverse {
    flex-direction: column;
    gap: 24px;
  }
  .works-img { flex: 0 0 100%; max-width: 100%; order: 1; }
  .works-text { order: 2; width: 100%; }
  .works-num { font-size: 2.5rem; }

  /* CTA */
  .cta-section { padding: 48px 0; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }

  /* カードグリッド：縦積み（flexではなくblockで確実に縦並び） */
  .card-grid {
    display: block;
    width: 100%;
  }
  .card {
    display: block;
    width: 100%;
    min-width: 0;
    margin-bottom: 24px;
  }
  .card:last-child {
    margin-bottom: 0;
  }
  .card-img-wrap {
    display: block;
    width: 100%;
    overflow: hidden;
  }
  .card-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .card-body {
    display: block;
    padding: 20px 18px 22px;
  }

  /* 1日の流れ */
  .timeline-item {
    grid-template-columns: 60px 16px 1fr;
    gap: 0 10px;
    padding: 14px 20px;
  }
  .timeline-time { font-size: 0.9rem; }
  .timeline-desc { font-size: 0.875rem; }

  /* おわりに */
  .closing-img { max-width: 100%; }

  /* フォーム */
  .contact-form { padding: 28px 20px; }

  /* 募集要項 */
  .recruit-row { flex-direction: column; }
  .recruit-label {
    flex: unset;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #D0DDE8;
    padding: 14px 20px;
  }
  .recruit-detail { padding: 14px 20px; }
  .recruit-detail:has(.recruit-detail-inner) { padding: 0; }
  .recruit-detail-inner { padding: 14px 20px; }
  .recruit-divider {
    display: block;
    border: none;
    border-bottom: 1px solid #D0DDE8;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 0;
  }

  /* フェードイン強制表示（モバイルでIntersectionObserverが未発火の場合の対策） */
  .fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* ============================================
   RESPONSIVE — 小スマホ（max 480px）
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.3rem; }
  .fv-catch { font-size: 1.25rem; }
  .btn { font-size: 0.9375rem; padding: 13px 24px; }
  .btn-submit { padding: 14px 36px; }
  .contact-form { padding: 24px 16px; }
  .timeline-item { padding: 13px 16px; }
}
