/* ============================================================
   新東工業 採用サイト - style.css
   Design: Industrial Prestige
   Colors: Navy #0a1628 × Orange #e60012
   Font: Noto Sans JP + Montserrat
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: #0a1628;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
a { text-decoration: none; color: inherit; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.hidden { display: none !important; }
@media (min-width: 768px)  { .md\:block { display: block !important; } .md\:hidden { display: none !important; } }
@media (min-width: 1024px) { .lg\:flex  { display: flex  !important; } .lg\:hidden { display: none !important; } }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #e60012; color: #fff; font-weight: 700;
  padding: .75rem 1.75rem; border-radius: .375rem;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-primary:hover  { background: #b8000f; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,93,4,.35); }
.btn-primary:active { transform: scale(.97); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background-color: #fff; color: #0a1628; font-weight: 700;
  padding: .75rem 1.75rem; border-radius: .375rem;
  border: 2px solid #0a1628;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-outline:hover  { background: #0a1628; color: #fff; }
.btn-outline:active { transform: scale(.97); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background-color: #0a1628; color: #fff; font-weight: 700;
  padding: .75rem 1.75rem; border-radius: .375rem;
  border: 2px solid #0a1628;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-secondary:hover  { background: #fff; color: #0a1628; }
.btn-secondary:active { transform: scale(.97); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: #fff; font-weight: 700;
  padding: .75rem 1.75rem; border-radius: .375rem;
  border: 2px solid #fff;
  transition: background 160ms ease, color 160ms ease;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-outline-white:hover { background: #fff; color: #0a1628; }

.btn-large {
  font-size: 1.25rem;
}

/* ---------- Section title ---------- */
.section-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: #e60012; margin-bottom: .5rem;
}
.section-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 900;
  color: #0a1628; display: inline-block; position: relative;
}
.section-title::after {
  content: ''; display: block; width: 3rem; height: 3px;
  background: #e60012; margin-top: .5rem;
}

/* ---------- Scroll animation ---------- */
.fade-in-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(.23,1,.32,1), transform 600ms cubic-bezier(.23,1,.32,1);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
#site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.10);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.header-logo img { height: 40px; width: auto; }

.header-nav { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .header-nav { display: flex; } }
.header-nav a {
  font-size: .875rem; font-weight: 500; color: #0a1628;
  transition: color 200ms ease;
}
.header-nav a:hover { color: #e60012; }

.header-entry { display: none; }
@media (min-width: 1024px) { .header-entry { display: inline-flex; } }

.hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: .375rem;
  color: #0a1628; transition: background 200ms;
}
.hamburger:hover { background: rgba(0,0,0,.06); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu */
#mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,22,40,.97);
  display: flex; flex-direction: column;
  padding: 80px 1.5rem 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 300ms ease;
}
#mobile-menu.open { opacity: 1; pointer-events: auto; }
#mobile-menu nav { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
#mobile-menu nav a {
  color: #fff; font-size: 1.25rem; font-weight: 700;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between;
  transition: color 200ms ease, transform 300ms ease, opacity 300ms ease;
  transform: translateX(-20px); opacity: 0;
}
#mobile-menu.open nav a { transform: translateX(0); opacity: 1; }
#mobile-menu nav a:hover { color: #e60012; }
#mobile-menu nav a .arrow { color: #e60012; font-size: 1.125rem; }
#mobile-menu .menu-entry { margin-top: 1.5rem; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative; width: 100%; overflow: hidden;
  min-height: 100svh; min-height: 100vh;
}
.hero-bg-sp, .hero-bg-pc {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg-sp {
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663256853049/L9CLw9sMYzrHrqbc2JBa2A/hero_bg-k4TQiF7MTvQqoRkXRbhbyC.webp');
}
.hero-bg-pc {
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663256853049/L9CLw9sMYzrHrqbc2JBa2A/hero_bg_pc-fvPqmVXpxQ3JFs8cJNr3CB.webp');
  display: none;
}
@media (min-width: 768px) { .hero-bg-sp { display: none; } .hero-bg-pc { display: block; } }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,.45) 0%, rgba(10,22,40,.25) 40%, rgba(10,22,40,.65) 75%, rgba(10,22,40,.85) 100%);
}
.hero-overlay-pc {
  position: absolute; inset: 0; display: none;
  background: linear-gradient(to right, rgba(10,22,40,.80) 0%, rgba(10,22,40,.55) 40%, rgba(10,22,40,.10) 70%, transparent 100%);
}
@media (min-width: 768px) { .hero-overlay-pc { display: block; } }

.hero-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100svh; min-height: 100vh;
  max-width: 1280px; margin: 0 auto;
  padding: 0 1.25rem 6rem;
}
@media (min-width: 768px) { .hero-content { justify-content: center; padding-bottom: 0; padding-left: 3rem; padding-right: 3rem; } }

.hero-inner {  }

.hero-tag {
  display: inline-block; margin-bottom: 1rem;
  padding: .25rem .75rem; font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; color: #fff;
  border: 1px solid #e60012; border-radius: .125rem;
  background: rgba(232,93,4,.15);
  opacity: 0; transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(.23,1,.32,1) 200ms, transform 600ms cubic-bezier(.23,1,.32,1) 200ms;
}
.hero-tag.visible { opacity: 1; transform: translateY(0); }

.hero-h1 {
  color: #fff; font-weight: 900; line-height: 1.2;
  font-size: clamp(2rem, 7vw, 4rem); margin-bottom: 1.5rem;
}
.hero-h1 span {
  display: block;
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.23,1,.32,1), transform 700ms cubic-bezier(.23,1,.32,1);
}
.hero-h1 span.visible { opacity: 1; transform: translateY(0); }

.hero-sub {
  color: rgba(255,255,255,.8); font-size: .9375rem; line-height: 1.8;
  margin-bottom: 2rem; max-width: 480px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(.23,1,.32,1) 800ms, transform 600ms cubic-bezier(.23,1,.32,1) 800ms;
}
.hero-sub.visible { opacity: 1; transform: translateY(0); }

.hero-cta {
  display: flex; flex-direction: column; gap: .75rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(.23,1,.32,1) 950ms, transform 600ms cubic-bezier(.23,1,.32,1) 950ms;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
.hero-cta.visible { opacity: 1; transform: translateY(0); }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: .25rem;
  color: rgba(255,255,255,.6); cursor: pointer;
  opacity: 0; transition: opacity 600ms ease 1200ms;
}
.scroll-indicator.visible { opacity: 1; }
.scroll-indicator:hover { color: #fff; }
.scroll-indicator span { font-size: .75rem; letter-spacing: .15em; font-weight: 500; }
.scroll-arrow { animation: bounce 1.4s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================
   JOB SLIDER
   ============================================================ */
#jobs {
  position: relative; overflow: hidden;
}
.job-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 700ms ease;
}
.job-slide.active { opacity: 1; position: relative; }
.job-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.job-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,22,40,.80) 0%, rgba(10,22,40,.75) 25%, rgba(10,22,40,.15) 100%);
}
.job-slide-content {
  position: relative; z-index: 10;
  max-width: 1280px; margin: 0 auto;
  padding: 3.5rem 1rem;
}
@media (min-width: 768px) { .job-slide-content { padding: 5rem 2rem; } }
.job-inner { max-width: 560px; }

.job-badge {
  display: inline-block; margin-bottom: 1.25rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .25em;
  text-transform: uppercase; padding: .25rem .75rem; border-radius: .125rem;
  background: #E85D04; color: #fff;
}
.job-counter { color: rgba(255,255,255,.5); font-size: .75rem; letter-spacing: .2em; margin-left: .75rem; }

.job-title {
  font-size: clamp(2rem, 8vw, 3rem); font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: .75rem;
}
.job-catchphrase {
  font-size: clamp(1.1rem, 4vw, 1.4rem); font-weight: 700;
  color: #E85D04; margin-bottom: 1.25rem; line-height: 1.4;
}
.job-desc {
  color: rgba(255,255,255,.8); font-size: .9375rem; line-height: 1.8;
  margin-bottom: 1.5rem; white-space: pre-line;
}
.job-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.job-tag {
  font-size: .75rem; font-weight: 500; padding: .25rem .75rem;
  border-radius: 9999px; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.8);
}

/* Slider nav arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease;
}
.slider-arrow:hover { background: rgba(255,255,255,.25); }
.slider-arrow.prev { left: .75rem; }
.slider-arrow.next { right: .75rem; }

/* Dot indicators */
.slider-dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; gap: .5rem;
}
.slider-dot {
  height: 8px; border-radius: 9999px;
  background: rgba(255,255,255,.4); transition: all 300ms ease;
  cursor: pointer;
}
.slider-dot.active { width: 24px; background: #e60012; }
.slider-dot:not(.active) { width: 8px; }

/* Progress bar */
.slider-progress {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 20;
  height: 2px; background: rgba(255,255,255,.1);
}
.slider-progress-bar {
  height: 100%; background: #e60012; width: 0;
  animation: slideProgress 6000ms linear forwards;
}
@keyframes slideProgress { from { width: 0; } to { width: 100%; } }

/* ============================================================
   INTERVIEW
   ============================================================ */
#interview { padding: 5rem 0; background: #F5F5F5; }
@media (min-width: 768px) { #interview { padding: 7rem 0; } }

#interview .c-tagList li {
  font-size: .75rem;
}

.tab-group { display: flex; justify-content: center; gap: .75rem; margin-bottom: 2.5rem; }
.tab-btn {
  padding: .625rem 1.5rem; border-radius: .375rem;
  font-size: .875rem; font-weight: 700;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  border: 2px solid #0a1628; color: #0a1628; background: #fff;
}
.tab-btn.active { background: #e60012; color: #fff; border-color: #e60012; }

.interview-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .interview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .interview-grid { grid-template-columns: repeat(3, 1fr); } }

.interview-card {
  background: #fff; border-radius: .75rem; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: box-shadow 200ms ease, transform 200ms ease;
  display: flex; flex-direction: column;
}
.interview-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-4px); }

.card-photo { position: relative; padding-bottom: 66%; overflow: hidden; }
.card-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 500ms ease;
}
.interview-card:hover .card-photo img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: .75rem; left: .75rem;
  padding: .125rem .5rem; font-size: .75rem; font-weight: 700;
  color: #fff; border-radius: .125rem; background: #e60012;
}

.card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { margin-bottom: .75rem; }
.card-dept { font-size: .75rem; color: #6b7280; margin-bottom: .125rem; }
.card-name { font-size: 1.125rem; font-weight: 900; color: #0a1628; }
.card-job  { font-size: .875rem; color: #4b5563; }
.card-quote { font-size: .875rem; color: #374151; line-height: 1.75; flex: 1; }
.card-more {
  margin-top: 1rem; align-self: flex-end;
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 700; color: #e60012;
  transition: gap 200ms ease;
}
.card-more:hover { gap: .5rem; }

/* --- SP: 2枚目以降のカードを折りたたむ --- */
@media (max-width: 767px) {
  .interview-card--sp-hidden {
    display: none;
  }
  .interview-panel.sp-expanded .interview-card--sp-hidden {
    display: flex;
    animation: spCardFadeIn 400ms ease forwards;
  }
  @keyframes spCardFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* モバイル用ボタン：buttonタグのデフォルトスタイルをリセット */
  .btn-sp-more {
    cursor: pointer;
    background: none;
    font-family: inherit;
  }
  /* 展開後はボタンを非表示 */
  .interview-panel.sp-expanded .btn-sp-more {
    display: none;
  }
}

/* ============================================================
   BUSINESS
   ============================================================ */
#business { padding: 5rem 0; background: #0a1628; overflow: hidden; }
@media (min-width: 768px) { #business { padding: 7rem 0; } }

/* Radial infographic (desktop) */
.radial-wrap {
  display: none; justify-content: center; margin-bottom: 4rem;
}
@media (min-width: 1024px) { .radial-wrap { display: flex; } }
.radial-inner { position: relative; width: 700px; height: 700px; }
.radial-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 160px; height: 160px; border-radius: 50%;
  background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
.radial-center img { width: 112px; height: auto; }
.radial-item {
  position: absolute; display: flex; flex-direction: column;
  align-items: center; text-align: center; width: 80px;
  transform: translate(-50%,-50%);
}
.radial-item .icon { font-size: 1.5rem; margin-bottom: .25rem; }
.radial-item .en   { color: #fff; font-size: .625rem; font-weight: 700; line-height: 1.3; }
.radial-item .ja   { color: #e60012; font-size: .5625rem; margin-top: .125rem; }
.radial-dots {
  position: absolute; inset: 0; border-radius: 50%; opacity: .1;
  background-image: radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Business cards grid */
.business-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .business-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .business-grid { grid-template-columns: repeat(5, 1fr); } }

.business-card {
  display: block; text-decoration: none;
  background: #fff; border-radius: .75rem;
  padding: 1rem; text-align: center;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.business-card .icon { font-size: 1.875rem; margin-bottom: .5rem; }
.business-card h3 { color: #0a1628; font-weight: 700; font-size: .875rem; margin-bottom: .25rem; }
.business-card p  { color: #0a1628; font-size: .75rem; line-height: 1.5; }

/* ============================================================
   ENVIRONMENT
   ============================================================ */
#environment { padding: 5rem 0; background: #fff; }
@media (min-width: 768px) { #environment { padding: 7rem 0; } }

.stats-box {
  background: #0a1628; border-radius: 1rem;
  padding: 2rem; margin-bottom: 3rem;
}
@media (min-width: 768px) { .stats-box { padding: 3rem; } }
.stats-box h3 { text-align: center; color: #fff; font-weight: 700; font-size: 1.125rem; margin-bottom: 2rem; }
.stats-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-value {
  display: flex; align-items: flex-end; justify-content: center; gap: .25rem;
  margin-bottom: .25rem;
}
.stat-num {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  color: #E85D04; font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1;
}
.stat-unit { color: #E85D04; font-weight: 700; font-size: 1.25rem; margin-bottom: .25rem; }
.stat-label { color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500; }

.benefits-title {
  text-align: center; font-weight: 900; font-size: 1.25rem;
  color: #0a1628; margin-bottom: 2rem;
}
@media (min-width: 768px) { .benefits-title { font-size: 1.5rem; } }
.benefits-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; border-radius: .75rem;
  border: 2px solid #e5e7eb;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.benefit-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.benefit-icon svg { width: 100%; height: 100%; display: block; }
.benefit-card h4 { font-weight: 700; color: #0a1628; font-size: 1.2rem; margin-bottom: .125rem; }
.benefit-card p  { color: #6b7280; font-size: .85rem; line-height: 1.5; }

/* ============================================================
   REQUIREMENTS
   ============================================================ */
#requirements { padding: 5rem 0; background: #F5F5F5; }
@media (min-width: 768px) { #requirements { padding: 7rem 0; } }

.req-table { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 4rem; }
.req-row { display: flex; flex-direction: column; border-bottom: 1px solid #f3f4f6; }
.req-row:last-child { border-bottom: none; }
@media (min-width: 640px) { .req-row { flex-direction: row; } }
.req-label {
  padding: 1rem 1.25rem; font-size: .875rem; font-weight: 700;
  color: #fff; background: #0a1628; flex-shrink: 0;
  display: flex; align-items: center;
}
@media (min-width: 640px) { .req-label { width: 11rem; } }
.req-value {
  padding: 1rem 1.25rem; font-size: .875rem; color: #374151;
  display: flex; align-items: center; flex: 1;
}

/* Process */
#process { margin-top: 0; }
.process-title {
  text-align: center; font-weight: 900; font-size: 1.5rem;
  color: #0a1628; margin-bottom: 2.5rem;
}
/* Mobile vertical */
.process-list { display: flex; flex-direction: column; gap: 0; }
@media (min-width: 768px) { .process-list { display: none; } }
.process-item { display: flex; gap: 1rem; }
.process-line { display: flex; flex-direction: column; align-items: center; }
.process-circle {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: #e60012; color: #fff; font-weight: 900; font-size: .875rem;
  display: flex; align-items: center; justify-content: center;
}
.process-connector { width: 2px; flex: 1; background: #e60012; min-height: 32px; margin: 4px 0; }
.process-text { padding-bottom: 1.5rem; }
.process-text h4 { font-weight: 700; color: #0a1628; margin-bottom: .125rem; }
.process-text p  { color: #6b7280; font-size: .875rem; }
/* Desktop horizontal */
.process-row { display: none; align-items: flex-start; }
@media (min-width: 768px) { .process-row { display: flex; } }
.process-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.process-step-line { display: flex; align-items: center; width: 100%; margin-bottom: 1rem; }
.process-step-line .line { flex: 1; height: 2px; background: #e60012; }
.process-step-line .line.invisible { background: transparent; }
.process-step-circle {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; z-index: 1;
  background: #e60012; color: #fff; font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-weight: 700; color: #0a1628; font-size: .875rem; margin-bottom: .25rem; }
.process-step p  { color: #6b7280; font-size: .75rem; }

/* Entry CTA box */
.entry-cta {
  background: #0a1628; border-radius: 1rem;
  padding: 6.2vw; text-align: center; margin-top: 4rem;
}
@media (min-width: 768px) { .entry-cta { padding: 3rem; } }
.entry-cta-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.entry-cta h3 {
  color: #fff; font-weight: 900; font-size: 1.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .entry-cta h3 { font-size: 1.875rem; } }
.entry-cta p {
  color: rgba(255,255,255,.7); font-size: .9375rem;
  line-height: 1.8; margin-bottom: 2rem; margin-left: auto; margin-right: auto;
  font-size: 3.6vw;
}
@media (min-width: 768px) { .entry-cta p { font-size: 1.25rem; } }
.entry-cta-btns { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .entry-cta-btns { flex-direction: row; } }

/* ============================================================
   FLOATING ENTRY BUTTON
   ============================================================ */
#floating-entry {
  position: fixed; bottom: 1.5rem; right: 1rem; z-index: 50;
  opacity: 0; transform: translateY(16px) scale(.95);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
  box-shadow: 0 8px 24px rgba(232,93,4,.4);
  border-radius: .375rem;
}
#floating-entry.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
#toast {
  position: fixed; bottom: 5rem; left: 50%; transform: translateX(-50%) translateY(16px);
  z-index: 200; background: #0a1628; color: #fff;
  padding: .875rem 1.5rem; border-radius: .5rem;
  font-size: .875rem; font-weight: 500; max-width: 90vw;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0; transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: none;
  width: 90%;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   SECTION COMMON HEADER
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-title::after { margin: .5rem auto 0; }
.section-header .sub { color: #6b7280; margin-top: 1rem; font-size: .9375rem; }
.section-header-white .section-eyebrow { color: #e60012; }
.section-header-white .section-title { color: #fff; }
.section-header-white .section-title::after { background: #e60012; }
.section-header-white .sub { color: rgba(255,255,255,.6); }

:root {
            --main-color: #e60012;
        }

        /* カードエリア全体 */
        .card-container {
            display: flex;
            overflow-x: auto; /* 横スクロールを可能に */
            scroll-behavior: smooth; /* スムーズなスクロール */
            -webkit-overflow-scrolling: touch; /* iOSでのスムーズなスクロール */
            position: relative; /* 矢印の配置用 */
            padding: 20px;
        }

        /* 矢印の装飾 */
        .arrow-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: #fff;
            padding: 10px;
            border: none;
            cursor: pointer;
            z-index: 10;
        }

        .arrow-prev {
            left: 0;
        }

        .arrow-next {
            right: 0;
        }

        /* カード単体 */
        .card {
            border: 2px solid #fff; /* 白枠 */
            border-radius: 5px;
            margin-right: 20px; /* カード間の余白 */
            width: 300px; /* カードの幅 */
            padding: 20px;
        }

        .card img {
            width: 100%;
            height: auto;
        }

        .card h2 {
            font-size: 24px;
            color: var(--main-color);
        }

        .card h3 {
            font-size: 18px;
            color: #333;
        }

        .card .tags {
            margin-top: 10px;
        }

        .card .tag {
            display: inline-block;
            background-color: var(--main-color);
            color: #fff;
            padding: 5px 10px;
            border-radius: 5px;
            margin-right: 5px;
        }

        .card .buttons {
            margin-top: 15px;
            display: flex;
        }

        .card button {
            background-color: #333;
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            margin-right: 10px;
        }

        .card button.primary {
            background-color: var(--main-color);
        }


        /* ==========================================
   モバイル用の横スクロールスタイル
   ========================================== */
@media screen and (max-width: 767px) {
  .p-slider-container {
    display: flex !important;
    flex-wrap: nowrap !important; /* 折り返さない */
    overflow-x: auto !important;  /* 横スクロールを許可 */
    -webkit-overflow-scrolling: touch; /* iOSの慣性スクロール */
    scroll-snap-type: x mandatory;     /* スナップさせる */
    padding-left: 20px;          /* 左側の余白調整（デザインに合わせて） */
    padding-right: 20px;         /* 右端の余白調整 */
    gap: 16px;                   /* アイテム間の隙間 */
  }

  /* スクロールバーを非表示にする場合（お好みで） */
  .p-slider-container::-webkit-scrollbar {
    display: none;
  }

  .p-slider-container .p-contIntlist__item {
    flex: 0 0 80%;               /* 1つのスライド幅を80%にして、2つ目を20%見せる */
    max-width: 80% !important;
    scroll-snap-align: start;    /* スナップの基準位置 */
    margin: 0 !important;        /* 既存のmarginをリセット */
  }
}

/* ==========================================
   PC用の横並びスタイル（必要に応じて調整）
   ========================================== */
@media screen and (min-width: 768px) {
  .p-slider-container {
    display: flex;
    flex-wrap: wrap; /* 必要に応じて既存の並び（4カラム等）に従う */
  }
}

.lead-bg {
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, .8) 30%, rgba(255, 255, 255, .8) 100%),
    url('../images/toppage/bg-business.jpg');

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #ffffff;
  padding: 50px 0;
  margin-bottom: 0;
}

@media screen and (max-width:768px) {
  /* --- 既存のスタイル群（省略） --- */

  /* ▼▼▼ ここから追加 ▼▼▼ */
  #interview.p-contIntlist__item,
  #interview .p-contIntlist__item {
    grid-template-columns: 1fr; /* 1列に変更 */
    grid-template-rows: auto;    /* 高さを自動調整 */
  }

  #interview.p-contIntlist__item .c-img,
  #interview .p-contIntlist__item .c-img {
    grid-area: auto; /* 横並び用のエリア指定を解除 */
    width: 100%;     /* カード幅いっぱいに広げる */
  }

  #interview.p-contIntlist__item .c-textarea,
  #interview .p-contIntlist__item .c-textarea {
    grid-area: auto; /* 横並び用のエリア指定を解除 */
    justify-content: flex-start; /* 必要に応じて位置調整 */
  }

  #interview.p-contIntlist__item .c-tagList,
  #interview .p-contIntlist__item .c-tagList {
    grid-area: auto; /* 横並び用のエリア指定を解除 */
  }
  /* ▲▲▲ ここまで追加 ▲▲▲ */
}