/* =============================================
   EVELEST Corporate Site - Main Stylesheet
   White base / Human warmth / AI era theme
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --white: #ffffff;
  --off-white: #F9F8F5;
  --warm-gray: #F2EFE9;
  --light-gray: #E8E5DF;
  --mid-gray: #9A9489;
  --dark: #1a2332;
  --dark-sub: #3a4558;
  --teal: #2B6CB0;
  --teal-light: #4A90D9;
  --coral: #E87D5A;
  --coral-light: #F0A080;
  --gold: #C8A86B;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 12px rgba(26,35,50,0.07);
  --shadow-md: 0 8px 32px rgba(26,35,50,0.10);
  --shadow-lg: 0 20px 60px rgba(26,35,50,0.14);
  --radius: 16px;
  --radius-sm: 8px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-jp);
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.8;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Containers ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ---- Sections ---- */
.section { padding: 100px 0; }
.section-warm { background: var(--warm-gray); }
.section-accent { background: var(--dark); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 4px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-accent .section-title { color: var(--white); }
.section-desc {
  font-size: 1rem;
  color: var(--dark-sub);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.9;
}
.section-accent .section-desc { color: rgba(255,255,255,0.75); }

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(249,248,245,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}
.logo { display: flex; align-items: baseline; gap: 6px; }
.logo-text {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--dark);
}
.logo-sub {
  font-size: 0.75rem;
  color: var(--mid-gray);
  letter-spacing: 0.05em;
}
.global-nav ul { display: flex; gap: 36px; }
.global-nav a {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--dark-sub);
  transition: color var(--transition);
  position: relative;
}
.global-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.global-nav a:hover::after { width: 100%; }
.global-nav a:hover { color: var(--teal); }
.nav-cta {
  background: var(--dark) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--teal) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--off-white);
  z-index: 999;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav ul { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.mobile-nav a {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--dark);
}

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  padding-top: 80px;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 40px 80px 80px;
  background: none; /* 白背景なし */
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #7ecfff; /* 暗背景で視認性の高いライトブルー */
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  /* ★ タイプライターで幅が変わっても高さを固定してレイアウトに干渉しない */
  height: 1.6em;
  overflow: hidden;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  flex-shrink: 0;          /* ★ 左のラインが縮まないよう固定 */
  width: 32px; height: 2px;
  background: #7ecfff;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-title {
  font-family: var(--font-jp);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
}
.hero-accent {
  color: #7ecfff;
  position: relative;
}
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 6px;
  background: var(--coral-light);
  opacity: 0.35;
  border-radius: 3px;
  z-index: -1;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 2;
  margin-bottom: 40px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero内ボタン（暗背景用上書き） */
.hero-btns .btn-primary {
  background: #ffffff;
  color: var(--dark);
  border-color: #ffffff;
}
.hero-btns .btn-primary:hover {
  background: #7ecfff;
  border-color: #7ecfff;
  color: var(--dark);
}
.hero-btns .btn-outline {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: rgba(255,255,255,0.65);
  backdrop-filter: blur(4px);
}
.hero-btns .btn-outline:hover {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  border-color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,108,176,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--dark);
}
.btn-white:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* Hero Visual — Slider (Desktop: fullwidth background) */
.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s ease;
}
.hero-slide.active img { transform: scale(1); }

/* Gradient オーバーレイ (Desktop: 左下を濃く締める暗色グラデーション) */
.hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,18,30,0.72) 0%, rgba(10,18,30,0.35) 48%, rgba(10,18,30,0.10) 70%, transparent 100%),
    linear-gradient(to top, rgba(10,18,30,0.55) 0%, transparent 45%);
  z-index: 2;
  pointer-events: none;
}

.hero-slide-label {
  position: absolute;
  bottom: 80px;
  right: 48px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: rgba(26,35,50,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 3;
}

.hero-slider-dots {
  position: absolute;
  bottom: 36px;
  right: 48px;
  transform: none;
  display: flex;
  gap: 8px;
  z-index: 4;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.dot.active {
  background: rgba(255,255,255,0.95);
  width: 24px;
  border-radius: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.scroll-indicator span {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--mid-gray);
}
.scroll-line {
  width: 40px; height: 2px;
  background: linear-gradient(to right, var(--teal), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { width: 40px; opacity: 1; }
  50% { width: 60px; opacity: 0.5; }
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-wrap {
  background: var(--dark);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}
.marquee-track span:nth-child(odd)::before {
  content: '◆ ';
  color: var(--coral);
  font-size: 0.6rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-photo img { transition: transform 0.6s ease; }
.about-photo:hover img { transform: scale(1.04); }
.about-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(26,35,50,0.7), transparent);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}
.about-text h3.about-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--dark);
}
.about-text p {
  color: var(--dark-sub);
  margin-bottom: 16px;
  line-height: 1.9;
}
.about-values {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}
.value-item i { color: var(--teal); font-size: 1rem; }
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.about-card-img {
  height: 200px;
  overflow: hidden;
}
.about-card-img img { transition: transform 0.6s ease; }
.about-card:hover .about-card-img img { transform: scale(1.06); }
.about-card-body { padding: 24px; }
.about-card-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.about-card-body p { font-size: 0.88rem; color: var(--dark-sub); line-height: 1.7; }

/* =============================================
   PHOTO BAND
   ============================================= */
.photo-band { overflow: hidden; height: 240px; }
.photo-track {
  display: flex;
  gap: 16px;
  height: 100%;
  animation: photoBand 40s linear infinite;
}
.photo-item {
  flex-shrink: 0;
  width: 360px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
@keyframes photoBand { to { transform: translateX(-50%); } }

/* =============================================
   MESSAGE
   ============================================= */
.message-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}
.message-photo {
  position: relative;
}
.message-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
/* 社長写真：スクエアトリミング */
.message-photo img.ceo-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center 10%;
  filter: brightness(1.03) contrast(1.02);
  border-radius: var(--radius);
}
/* 社長写真ラッパー：余白なし・overflow隠し（imgのみに適用） */
.ceo-img-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.message-name {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.name-title { font-size: 0.78rem; color: var(--mid-gray); letter-spacing: 0.1em; }
.name-main { font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.name-roman { font-family: var(--font-en); font-size: 0.8rem; color: var(--mid-gray); letter-spacing: 0.1em; }
.message-quote {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--teal);
  line-height: 0.5;
  margin-bottom: 24px;
  opacity: 0.5;
}
.message-text h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 28px;
}
.message-text p {
  color: var(--dark-sub);
  margin-bottom: 16px;
  line-height: 2;
}
.message-sign {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.message-sign span { font-size: 0.82rem; color: var(--mid-gray); }
.message-sign strong { font-size: 1.15rem; font-weight: 700; color: var(--dark); }

/* =============================================
   BUSINESS
   ============================================= */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* 7枚：1〜6は3列×2行、7枚目だけ中央1/3幅 */
.business-grid-7 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.business-grid-7 .biz-card:nth-child(7) {
  grid-column: 2 / 3;   /* 真ん中の列のみ */
}
.biz-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.biz-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.biz-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.biz-img img { transition: transform 0.6s ease; }
.biz-card:hover .biz-img img { transform: scale(1.06); }
.biz-overlay {
  position: absolute;
  top: 20px; left: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.biz-overlay span {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
}
.biz-body { padding: 28px; }
.biz-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.biz-body p { font-size: 0.88rem; color: var(--dark-sub); line-height: 1.8; margin-bottom: 16px; }
.biz-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.biz-tags span {
  background: var(--warm-gray);
  color: var(--dark-sub);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* =============================================
   NUMBERS
   ============================================= */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.number-item { padding: 20px; }
.number-val {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 12px;
}
.number-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* =============================================
   RECRUIT
   ============================================= */
.recruit-hero-img {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
  box-shadow: var(--shadow-lg);
}
.recruit-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(1.18) contrast(1.05) saturate(1.05);
}
.recruit-hero-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px;
  background: linear-gradient(to top, rgba(26,35,50,0.85), transparent);
  color: var(--white);
}
.recruit-hero-text h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 8px; }
.recruit-hero-text p { font-size: 0.95rem; opacity: 0.85; }

.job-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.job-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 160px 1fr;
  transition: transform var(--transition), box-shadow var(--transition);
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.job-img { height: 100%; overflow: hidden; min-height: 180px; }
.job-img img { transition: transform 0.6s ease; }
.job-card:hover .job-img img { transform: scale(1.06); }
.job-body { padding: 24px; }
.job-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
  background: rgba(43,108,176,0.08);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.job-body h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.job-body p { font-size: 0.83rem; color: var(--dark-sub); line-height: 1.7; margin-bottom: 16px; }
.job-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}
.job-link:hover { color: var(--coral); }

/* Benefits */
.benefits { margin-bottom: 64px; }
.benefits-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--dark);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition);
}
.benefit-item:hover { transform: translateY(-4px); }
.benefit-item i { font-size: 2rem; color: var(--teal); margin-bottom: 12px; }
.benefit-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.benefit-item p { font-size: 0.82rem; color: var(--dark-sub); line-height: 1.7; }

/* Recruit CTA */
.recruit-cta { }
.recruit-cta-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
}
.recruit-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recruit-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,35,50,0.85), rgba(43,108,176,0.6));
}
.recruit-cta-content {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--white);
  padding: 32px;
}
.recruit-cta-content h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.recruit-cta-content p { margin-bottom: 28px; opacity: 0.85; }

/* =============================================
   COMPANY
   ============================================= */
.company-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.company-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.company-table table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  vertical-align: top;
  line-height: 1.7;
}
.company-table th {
  width: 120px;
  font-weight: 700;
  color: var(--mid-gray);
  white-space: nowrap;
}
.company-table td { color: var(--dark-sub); }
.privacy-note {
  margin-top: 32px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.privacy-note h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy-note h4 i { color: var(--teal); }
.privacy-note p { font-size: 0.82rem; color: var(--dark-sub); line-height: 1.7; }

/* =============================================
   CONTACT
   ============================================= */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}
.required { color: var(--coral); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-jp);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--off-white);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); background: var(--white); }
.form-group textarea { resize: vertical; }
.form-msg {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: var(--radius-sm);
}
.form-msg.success { background: rgba(43,108,176,0.1); color: var(--teal); }
.form-msg.error { background: rgba(232,125,90,0.1); color: var(--coral); }

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand p { margin-top: 12px; font-size: 0.85rem; opacity: 0.6; }
.footer-nav ul { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; opacity: 0.4; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.revealed {
  opacity: 1;
  transform: translate(0, 0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   BUSINESS CAROUSEL (mobile)
   ============================================= */
.biz-carousel-wrap {
  display: none; /* PC では非表示 */
}
.biz-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.biz-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.biz-carousel-track .biz-card {
  flex: 0 0 82vw;
  max-width: 340px;
  margin-right: 16px;
  /* タイルTiltエフェクトをモバイルでは無効化 */
  transform: none !important;
}
.biz-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.biz-carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--dark);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.biz-carousel-btn:hover {
  background: var(--dark);
  color: var(--white);
}
.biz-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.biz-carousel-dots {
  display: flex;
  gap: 6px;
}
.biz-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  border: none;
  padding: 0;
}
.biz-dot.active {
  background: var(--teal);
  width: 20px;
  border-radius: 4px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-content { padding: 60px 40px 80px 60px; max-width: 640px; }
  /* 1024px以下でもhero-visualはfull-width背景のまま維持 */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .business-grid-7 { grid-template-columns: repeat(2, 1fr); }
  .business-grid-7 .biz-card:nth-child(7) { grid-column: 1 / span 2; max-width: 360px; margin: 0 auto; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .message-wrap { grid-template-columns: 280px 1fr; gap: 40px; }
  .company-wrap { grid-template-columns: 1fr; gap: 40px; }
  .company-img { max-width: 480px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .global-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .header-inner { padding: 16px 24px; }
  #hero {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px;
    min-height: 100svh;
    background: var(--off-white);
  }
  .hero-content {
    padding: 40px 24px 32px;
    position: relative;
    z-index: 2;
    max-width: 100%;
    order: 1;
    background: none;
  }
  /* スマホ：白背景上なのでテキストをダーク色に戻す */
  .hero-eyebrow { color: var(--teal); text-shadow: none; }
  .hero-eyebrow::before { background: var(--teal); }
  .hero-title { color: var(--dark); text-shadow: none; }
  .hero-accent { color: var(--teal); }
  .hero-desc { color: var(--dark-sub); text-shadow: none; }
  .hero-btns .btn-primary {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
  }
  .hero-btns .btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
    backdrop-filter: none;
  }
  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 280px;
    flex-shrink: 0;
    order: 2;
  }
  .hero-slider::before {
    background: linear-gradient(to bottom, var(--off-white) 0%, transparent 20%);
  }
  .scroll-indicator { left: 24px; bottom: 16px; }
  .hero-slider-dots {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
  }
  .hero-slide-label { bottom: 40px; right: 16px; }
  .about-cards { grid-template-columns: 1fr; }

  /* BUSINESS: PC グリッド非表示 → カルーセル表示 */
  .business-grid-7 { display: none; }
  .biz-carousel-wrap { display: block; }

  .job-cards { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .job-img { height: 200px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .message-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { height: 220px; }
  .biz-carousel-track .biz-card { flex: 0 0 88vw; }
}
