@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Montserrat:wght@800;900&display=swap');

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
  --primary-color: #5D856B;
  --primary-color-hover: #4a6a55;
  --primary-color-rgb: 93, 133, 107;
  
  --secondary-color: #F5F5DC;
  --secondary-color-rgb: 245, 245, 220;
  
  --accent-color: #CC7E56;
  --accent-color-hover: #b86942;
  --accent-color-rgb: 204, 126, 86;
  
  /* Color extensions for extra depth */
  --sage-green: #A3B899;
  --sage-green-rgb: 163, 184, 153;
  --champagne-gold: #F0E6D2;
  --champagne-gold-rgb: 240, 230, 210;
  
  --bg-color: #FDFBF7;
  --bg-color-alt: #F4EFE6;
  --bg-color-alt-rgb: 244, 239, 230;
  
  --text-color: #333333;
  --text-color-light: #555555;
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  
  /* Modern soft shadows using gold and sage tones */
  --shadow-soft: 0 20px 50px rgba(93, 133, 107, 0.05);
  --shadow-medium: 0 30px 60px rgba(93, 133, 107, 0.08);
  --shadow-accent: 0 15px 35px rgba(204, 126, 86, 0.22);
  --shadow-gold-soft: 0 20px 45px rgba(240, 230, 210, 0.35);
  
  /* Transition durations */
  --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Typography */
  --font-heading: 'M PLUS Rounded 1c', sans-serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
  --font-watermark: 'Montserrat', sans-serif;
  
  /* Spacing */
  --space-xs: 12px;
  --space-sm: 24px;
  --space-md: 36px;
  --space-lg: 48px;
  --space-xl: 72px;
  --space-xxl: 96px;
  --space-3xl: 144px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden; /* Prevent horizontal overflow */
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: hidden; /* Extra insurance against overflow */
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

/* ==========================================================================
   Typography & Helper Classes
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.35;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
  position: relative;
  z-index: 5;
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 2;
  overflow: hidden; /* Ensure inner offsets don't leak */
}

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

.section-title-wrap {
  margin-bottom: var(--space-xxl);
  text-align: center;
  position: relative;
  z-index: 10;
}

body main section .section-title-wrap h2.section-title {
  font-size: 48px !important;
  font-weight: 800 !important;
  color: var(--primary-color);
  display: inline-block;
  position: relative;
  line-height: 1.3 !important;
  padding-bottom: 22px;
  letter-spacing: 0.02em;
}

/* Make sure titles inside parallax sections with dark overlays are white */
body main section.parallax-bg-section .section-title-wrap h2.section-title {
  color: var(--white) !important;
}

/* Elegant leaf-shaped mark under titles */
body main section .section-title-wrap h2.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 44px;
  height: 9px;
  background-color: var(--accent-color);
  border-radius: 9px 0 9px 0;
}

/* Background watermark text - Corrected Font stack & Opacity */
.section-bg-text {
  position: absolute;
  font-family: var(--font-watermark);
  font-weight: 900;
  font-size: clamp(6rem, 16vw, 15rem);
  color: var(--primary-color);
  opacity: 0.03; /* Perfect thin background transparency */
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

/* Background blob decorations (with blur) */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.16;
}

.bg-blob-primary {
  background-color: var(--primary-color);
  width: 450px;
  height: 450px;
}

.bg-blob-secondary {
  background-color: var(--accent-color);
  width: 320px;
  height: 320px;
}

.bg-blob-gold {
  background-color: var(--champagne-gold);
  width: 400px;
  height: 400px;
}

/* SVG Section Dividers */
.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.divider-top {
  top: -1px;
}

.divider-bottom {
  bottom: -1px;
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 90px;
}

.section-divider.wave-top svg {
  transform: rotate(180deg);
}

/* Organic Masks for Images */
.mask-arch {
  border-radius: 260px 260px 0 0;
  overflow: hidden;
}

.mask-blob-1, .mask-blob-2 {
  border-radius: 36px 12px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
}

.mask-leaf-asym {
  border-radius: 120px 30px 120px 30px;
  overflow: hidden;
}

.mask-circle {
  border-radius: 50%;
  overflow: hidden;
}

/* Botanical SVG leaf accents */
.botanical-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Animations & Transitions (Reveal & Parallax)
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: var(--transition-smooth);
}

.reveal-fade.is-visible {
  opacity: 1;
}

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

.reveal-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.reveal-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

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

.reveal-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom-in {
  transform: scale(0.9);
}

.reveal-zoom-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Robust Text Mask Reveal animation - Corrected to prevent text collapsing */
.reveal-text-wrap {
  display: block;
  overflow: hidden;
  position: relative;
  padding-bottom: 5px;
}

.reveal-text {
  display: block;
  width: 100%;
  white-space: normal;
  transform: translateY(105%);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* When reveal trigger is visible, reveal text */
.is-visible .reveal-text,
.reveal-text.is-visible {
  transform: translateY(0);
}

/* Zoom Container for Image Parallax */
.zoom-img-wrap {
  overflow: hidden;
}

.zoom-img-wrap img {
  transition: transform 0.1s ease-out; /* Syncs smoothly with scroll parallax logic */
  will-change: transform;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  background-color: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 76px;
  background-color: rgba(253, 251, 247, 0.95);
  box-shadow: 0 10px 40px rgba(93, 133, 107, 0.06);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-heading);
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-subtitle {
  font-family: var(--font-watermark); /* Montserrat */
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: 0.15em;
  margin-top: 1px;
}

.logo-symbol {
  width: 34px;
  height: 34px;
  border: 3.5px solid var(--primary-color);
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
}

.logo-symbol::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  width: 13px;
  height: 13px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-color);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.98rem;
  box-shadow: var(--shadow-accent);
}

.nav-btn:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(204, 126, 86, 0.4);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 110;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 7px 0;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section (全幅＆アメーバカード)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 96px;
  background-color: var(--bg-color);
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
              rgba(253, 251, 247, 0.45) 0%, 
              rgba(253, 251, 247, 0.1) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

/* Transparent frosted glass amoeba shape floating card */
.hero-content {
  width: 100%;
  max-width: 740px; /* Expanded from 680px to prevent text overflow */
  background: rgba(255, 255, 255, 0.7) !important; /* Semi-transparent white */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 60px 45px 70px 45px; /* Symmetric padding, offsetting done by margins inside */
  border-radius: 65% 35% 60% 40% / 40% 50% 50% 60%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-medium);
  position: relative;
  z-index: 10;
  will-change: border-radius;
  backface-visibility: hidden;
}

/* Container to shift text to the right and prevent overflow */
.hero-text-block {
  max-width: 500px;
  margin-left: 110px;
  margin-right: 40px;
  text-align: left;
}

/* Base fadeInUp Animation Setup */
.hero-title,
.hero-badge-wrap,
.hero-lead,
.hero-cta {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: 0.02em;
  animation-delay: 0.1s;
}

.hero-badge-wrap {
  margin-bottom: 15px;
  animation-delay: 0.25s;
}

/* Terracotta badge embedded in subcopy */
.hero-sub-badge-new {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1.125rem; /* Expanded from 0.95rem to 1.125rem (~18px) */
  box-shadow: var(--shadow-accent);
}

.hero-lead {
  font-size: 1.38rem; /* Fixed 22px, expanded from clamp (max 20px) */
  color: var(--text-color);
  font-weight: 700; /* Increased weight for visibility */
  line-height: 1.85;
  margin-bottom: var(--space-lg);
  animation-delay: 0.4s;
}

.hero-cta {
  animation-delay: 0.55s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
}

.hero-cta-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 18px 48px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-accent);
  transition: var(--transition-fast);
  animation: buttonPulse 2.2s infinite;
}

.hero-cta-btn:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(204, 126, 86, 0.45);
  animation-play-state: paused; /* Pause pulsing on hover */
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(204, 126, 86, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(204, 126, 86, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(204, 126, 86, 0);
  }
}

/* ==========================================================================
   Parallax Background Sections (リッチ背景写真レイアウト)
   ========================================================================== */
.parallax-bg-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}

/* Specific background images for sections */
.section-vision-parallax {
  background-image: url('../images/vision_01.jpg');
  background-position: center top !important;
}

.section-career-parallax {
  background-image: url('../images/career_path_01.jpg');
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(93, 133, 107, 0.88); /* Rich semi-transparent Primary Color */
  z-index: 2;
}

/* Make sure text elements are white inside dark sections */
.parallax-bg-section .section-title {
  color: var(--white);
}

.parallax-bg-section .section-title::after {
  background-color: var(--secondary-color);
}

.parallax-bg-section .section-bg-text {
  color: var(--white);
  opacity: 0.055;
}

/* Vision Specific Overlap Layout */
.vision-parallax-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.vision-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
}

.vision-parallax-content {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 50px 40px;
  border-radius: 40px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.vision-parallax-content .section-title-wrap {
  text-align: left;
  margin-bottom: var(--space-md);
}

.vision-parallax-content .section-title {
  padding-bottom: 16px;
}

.vision-parallax-content .section-title::after {
  left: 0;
  transform: none;
}

.vision-parallax-text {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.vision-images-col {
  position: relative;
  height: 500px;
  width: 100%;
}

.vision-img-card-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 320px;
  border-radius: 40px 12px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.vision-img-card-2 {
  position: absolute;
  bottom: 10px;
  right: 0;
  width: 65%;
  height: 245px;
  border-radius: 12px 40px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.vision-img-card-1 img,
.vision-img-card-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Job Description Section (ブロークングリッド・ずらしレイアウト)
   ========================================================================== */
.job-desc-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.job-card-portrait {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
  background-color: var(--white);
  border-radius: 40px 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(244, 239, 230, 0.8);
  transition: var(--transition-smooth);
}

.job-card-portrait:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.job-card-image-portrait {
  width: 100%;
  position: relative;
  z-index: 1;
}

.job-portrait-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.job-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top !important;
  transition: var(--transition-fast);
}

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

.job-card-content-portrait {
  padding: var(--space-lg) var(--space-xl) var(--space-lg) 0;
  z-index: 2;
}

/* Reverse layout for 2nd card (Right image, Left text) */
.job-card-reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.job-card-reverse .job-card-image-portrait {
  order: 2;
}

.job-card-reverse .job-card-content-portrait {
  order: 1;
  padding: var(--space-lg) 0 var(--space-lg) var(--space-xl);
}

.job-card-tag {
  display: inline-block;
  background-color: rgba(93, 133, 107, 0.08);
  color: var(--primary-color);
  font-weight: 800;
  padding: 6px 18px;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}

.job-card-title {
  font-size: 1.7rem;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.job-card-text {
  font-size: 0.98rem;
  color: var(--text-color-light);
  line-height: 1.95;
}

/* ==========================================================================
   Features Section (非対称3列アシンメトリー)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 2;
}

/* Staggered height alignment */
.feature-card {
  background-color: var(--white);
  border-radius: 60px 20px 60px 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(244, 239, 230, 0.8);
}

/* Smooth float hover transition for cards */
.feature-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 45px rgba(93, 133, 107, 0.15) !important;
  border-color: rgba(93, 133, 107, 0.3) !important;
}

.feature-img-container {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.feature-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-num {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background-color: var(--accent-color);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  z-index: 2;
}

.feature-card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-card-title {
  font-size: 1.38rem;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  position: relative;
  padding-bottom: var(--space-xs);
}

.feature-card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 2.5px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.feature-card-text {
  font-size: 0.95rem;
  color: var(--text-color-light);
  line-height: 1.85;
  margin-top: var(--space-xs);
}

.features-section-container {
  padding-bottom: 90px;
}

/* ==========================================================================
   Member Voice Section
   ========================================================================== */
.member-voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.voice-card {
  background-color: var(--white);
  border-radius: 80px 24px 80px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(244, 239, 230, 0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  transform: translateY(0);
}

.voice-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 45px rgba(93, 133, 107, 0.15) !important;
  border-color: rgba(93, 133, 107, 0.3) !important;
}

.voice-profile {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(245, 245, 220, 0.4) 0%, rgba(93, 133, 107, 0.08) 100%);
  border-bottom: 1px solid rgba(245, 245, 220, 0.6);
}

/* Face Trim fix: Correct avatar size and position */
.voice-avatar {
  width: 90px;
  height: 90px;
  border: 4px solid var(--white);
  box-shadow: 0 6px 18px rgba(93, 133, 107, 0.08);
  background-color: var(--white);
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Prioritize upper part of photo (face) */
}

.voice-info h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.voice-info span {
  font-size: 0.88rem;
  color: var(--accent-color);
  font-weight: 800;
  letter-spacing: 0.05em;
  background-color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.01);
}

.voice-content-body {
  padding: var(--space-md);
  flex-grow: 1;
}

.voice-qa {
  margin-bottom: var(--space-md);
}

.voice-qa:last-child {
  margin-bottom: 0;
}

.voice-q {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}

.voice-q::before {
  content: 'Q.';
  margin-right: 8px;
  color: var(--accent-color);
  font-weight: 800;
}

.voice-a {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-color-light);
  padding-left: 20px;
}

/* ==========================================================================
   Career Path Section (Parallax Background Text style)
   ========================================================================== */
.career-parallax-container {
  position: relative;
  z-index: 5;
}

.career-point-box {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-md);
  border-radius: 60px 20px 60px 20px;
  box-shadow: var(--shadow-medium);
  border-left: 7px solid var(--accent-color);
  transition: var(--transition-fast);
  color: var(--text-color);
  margin-bottom: var(--space-md);
}

.career-point-box:last-child {
  margin-bottom: 0;
}

.career-point-box:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.career-point-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.career-point-title span {
  font-size: 0.82rem;
  color: var(--accent-color);
  font-weight: 800;
  background-color: rgba(204, 126, 86, 0.08);
  padding: 3px 12px;
  border-radius: 40px;
}

.career-point-text {
  font-size: 0.98rem;
  color: var(--text-color-light);
  line-height: 1.85;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.benefit-card {
  background-color: var(--white);
  border-radius: 60px 20px 60px 20px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--accent-color);
  transition: var(--transition-smooth);
}

.benefit-card:nth-child(even) {
  border-top-color: var(--primary-color);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.benefit-card-title {
  font-size: 1.45rem;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.benefit-card-text {
  font-size: 0.98rem;
  color: var(--text-color-light);
  line-height: 1.85;
}

/* ==========================================================================
   Recruitment Info Section (テーブルデザインのモダン化)
   ========================================================================== */
.rec-table-wrap {
  background-color: var(--white);
  border-radius: 80px 24px 80px 24px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(244, 239, 230, 0.8);
}

.rec-table {
  width: 100%;
  border-collapse: collapse;
}

.rec-table tr {
  border-bottom: 1px solid rgba(244, 239, 230, 0.8);
}

.rec-table tr:last-child {
  border-bottom: none;
}

.rec-table th, .rec-table td {
  padding: var(--space-md) var(--space-sm);
  text-align: left;
  vertical-align: top;
}

.rec-table th {
  width: 25%;
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.rec-table td {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.95;
}

.rec-table td strong {
  color: var(--primary-color);
  font-size: 1.15rem;
}

.rec-table td ul {
  list-style-position: inside;
  margin-top: 10px;
}

.rec-table-addition {
  background-color: var(--secondary-color);
  padding: var(--space-lg);
  border-radius: 80px 24px 80px 24px;
  font-size: 1rem;
  line-height: 1.95;
  box-shadow: var(--shadow-soft);
}

.rec-addition-title {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
}

.rec-addition-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 22px;
  background-color: var(--accent-color);
  margin-right: var(--space-xs);
  border-radius: 4px;
}

.rec-addition-text {
  margin-bottom: var(--space-sm);
  color: var(--text-color-light);
}

.rec-addition-text:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Flow Section
   ========================================================================== */
.flow-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

/* Decorative dotted curve line */
.flow-container::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 8%;
  right: 8%;
  height: 4px;
  border-top: 4px dotted var(--primary-color);
  opacity: 0.3;
  z-index: 1;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 var(--space-xs);
}

.flow-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  background-color: var(--primary-color);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  border: 7px solid var(--bg-color);
  box-shadow: 0 10px 25px rgba(93, 133, 107, 0.15);
  transition: var(--transition-smooth);
}

.flow-step:nth-child(even) .flow-num {
  background-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(204, 126, 86, 0.15);
}

.flow-step:hover .flow-num {
  transform: translateY(-6px) scale(1.05);
}

.flow-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background-color: var(--white);
  border-radius: 60px 20px 60px 20px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.8);
  transition: var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  transition: var(--transition-fast);
  outline: none;
}

.faq-question::before {
  content: 'Q';
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(93, 133, 107, 0.05);
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.faq-toggle-icon::before, .faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

/* horizontal bar */
.faq-toggle-icon::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 2px;
}

/* vertical bar */
.faq-toggle-icon::after {
  top: 0;
  left: 11px;
  width: 2px;
  height: 24px;
}

.faq-item.active .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-color-light);
  display: flex;
  gap: var(--space-sm);
}

.faq-answer-inner::before {
  content: 'A';
  background-color: var(--accent-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}

.faq-answer-text {
  flex-grow: 1;
  padding-top: 4px;
}

/* ==========================================================================
   Application Form Section
   ========================================================================== */
.form-wrap {
  max-width: 850px;
  margin: 0 auto;
  background-color: var(--white);
  padding: var(--space-lg);
  border-radius: 80px 24px 80px 24px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(244, 239, 230, 0.8);
  position: relative;
  z-index: 10;
}

.form-error-summary {
  background-color: rgba(204, 126, 86, 0.08);
  border-left: 6px solid var(--accent-color);
  padding: var(--space-sm) var(--space-md);
  border-radius: 12px;
  margin-bottom: var(--space-md);
  font-size: 0.98rem;
  color: var(--accent-color);
}

.form-error-summary ul {
  list-style-position: inside;
  margin-top: 6px;
}

.form-group-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--secondary-color);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-label-wrap {
  width: 32%;
  padding-top: 12px;
}

.form-label {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.form-required {
  background-color: var(--accent-color);
  color: var(--white);
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.form-optional {
  background-color: var(--text-color-light);
  color: var(--white);
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
}

.form-input-wrap {
  width: 68%;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(244, 239, 230, 1);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(93, 133, 107, 0.06);
}

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

.form-radio-group, .form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: 10px;
}

.form-radio-label, .form-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
}

.form-radio-label input, .form-checkbox-label input {
  margin-right: 8px;
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
}

.form-input-note {
  font-size: 0.85rem;
  color: var(--text-color-light);
  margin-top: 6px;
}

.form-consent-wrap {
  text-align: center;
  margin-bottom: var(--space-md);
  padding: var(--space-sm);
  background-color: var(--bg-color-alt);
  border-radius: 14px;
}

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

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

.form-submit-btn {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 18px 80px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: var(--transition-fast);
}

.form-submit-btn:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 35px rgba(204, 126, 86, 0.45);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--space-xxl) 0 var(--space-md);
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 10;
}

.footer-info {
  max-width: 450px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-address {
  font-size: 0.98rem;
  line-height: 1.85;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-link {
  font-size: 0.98rem;
  opacity: 0.8;
  padding: 4px 0;
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.88rem;
  opacity: 0.7;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Privacy Policy Modal
   ========================================================================== */
.pp-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: var(--transition-fast);
}

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

.pp-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(93, 133, 107, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pp-modal-body {
  position: relative;
  width: min(92vw, 850px);
  height: min(90vh, 750px);
  background-color: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  animation: modalEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pp-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(93, 133, 107, 0.08);
  border: none;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1020;
  transition: var(--transition-fast);
}

.pp-modal-close:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotate(90deg);
}

.pp-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  padding-top: 64px; /* Leave space for close button */
}

/* ==========================================================================
   Follow-up Scroll-to-Top Button
   ========================================================================== */
.to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  outline: none;
}

.to-top-btn.active {
  opacity: 1;
  visibility: visible;
}

.to-top-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-1px);
  transition: transform 0.3s ease;
}

.to-top-btn:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(204, 126, 86, 0.45);
}

.to-top-btn:hover svg {
  transform: translateY(-4px);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Disable background-attachment: fixed on mobile for stability */
@media (max-width: 1023px) {
  .parallax-bg-section {
    background-attachment: scroll !important;
  }
}

/* Tablet (Under 1024px) */
@media (max-width: 1023px) {
  :root {
    --space-3xl: 90px;
    --space-xxl: 80px;
  }

  .hero {
    height: auto;
    min-height: 700px;
    padding-top: 130px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
  }
  
  .hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    border-radius: 40px;
    padding: 40px 30px;
    animation: none;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }

  .vision-content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .vision-parallax-content {
    margin-left: 0 !important;
    padding: var(--space-md);
    border-radius: 30px;
    text-align: left;
  }
  
  .vision-parallax-content .section-title-wrap {
    text-align: left;
  }

  .vision-images-col {
    height: 380px;
    max-width: 500px;
    margin: 0 auto;
  }

  .vision-img-card-1 {
    height: 260px;
  }

  .vision-img-card-2 {
    height: 195px;
    bottom: 0;
  }
  
  .job-card-portrait {
    grid-template-columns: 1fr !important;
    gap: var(--space-sm);
    border-radius: 30px;
  }
  
  .job-card-content-portrait {
    padding: var(--space-md) var(--space-sm) !important;
    order: 0 !important;
  }

  .job-card-reverse .job-card-image-portrait {
    order: 0 !important;
  }
  
  .job-card-reverse .job-card-content-portrait {
    order: 0 !important;
    padding: var(--space-md) var(--space-sm) !important;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .features-section-container {
    padding-bottom: 0;
  }
  
  .member-voice-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .voice-card {
    border-radius: 40px;
  }
  
  .career-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .career-image-side {
    grid-row: 1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (Under 768px) */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  :root {
    --space-xl: 48px;
    --space-xxl: 60px;
    --space-3xl: 80px;
  }
  
  body {
    font-size: 15px;
  }
  body main section .section-title-wrap h2.section-title {
    font-size: 32px !important;
  }

  .section-bg-text {
    display: none; /* Hide watermarks on mobile */
  }
  
  /* Header mobile */
  .nav-menu {
    position: fixed;
    top: 96px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 96px);
    background-color: var(--bg-color);
    flex-direction: column;
    padding: var(--space-lg) var(--space-sm);
    gap: var(--space-sm);
    transition: var(--transition-smooth);
    box-shadow: 0 15px 30px rgba(93, 133, 107, 0.05);
    align-items: stretch;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.05rem;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(244, 239, 230, 1);
    padding-bottom: var(--space-xs);
  }
  
  .nav-btn {
    text-align: center;
    margin-top: var(--space-xs);
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Hero */
  .hero {
    height: auto;
    min-height: 520px;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
  }

  .hero-content {
    width: 92%;
    max-width: 420px;
    margin: 0 auto;
    padding: 35px 20px; /* Reduced symmetric padding on mobile to maximize text area */
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  .hero-text-block {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.3rem !important; /* Fixed 20.8px to make it clearly stand out as main title */
  }
  
  .hero-lead {
    font-size: 1.0rem; /* Scaled down to 16px to improve visual hierarchy (jump scale) */
  }
  
  .hero-sub-badge-new {
    font-size: 0.9375rem; /* Scaled down to 15px to align with new visual scale */
    padding: 6px 12px;
  }

  .hero-cta {
    justify-content: center;
  }
  
  .hero-cta-btn {
    padding: 16px 0;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }
  
  /* Vision */
  .vision-images-col {
    height: 290px;
  }
  .vision-img-card-1 {
    height: 200px;
  }
  .vision-img-card-2 {
    height: 150px;
  }
  .vision-parallax-content {
    padding: var(--space-sm) !important;
  }
  
  /* Job Description */
  .job-card-portrait {
    border-radius: 24px;
  }
  .job-card-content-portrait {
    padding: var(--space-sm) !important;
  }
  
  .job-card-title {
    font-size: 1.4rem;
  }
  
  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-img-container {
    height: 210px;
  }
  
  .feature-card {
    border-radius: 40px 15px 40px 15px;
  }
  
  /* Member Voice */
  .voice-profile {
    flex-direction: column;
    text-align: center;
    padding: var(--space-sm);
  }
  
  .voice-avatar {
    width: 80px;
    height: 80px;
  }
  
  .voice-content-body {
    padding: var(--space-sm);
  }
  
  .voice-q {
    font-size: 1rem;
  }
  
  .voice-a {
    font-size: 0.92rem;
    padding-left: 16px;
  }
  
  /* Career Path */
  .career-point-box {
    padding: var(--space-sm);
    border-radius: 30px;
  }
  
  .career-point-title {
    font-size: 1.2rem;
  }
  
  /* Benefits */
  .benefit-card {
    padding: var(--space-sm);
    border-radius: 30px;
  }
  
  .benefit-card-title {
    font-size: 1.3rem;
  }
  
  /* Recruitment Table */
  .rec-table th, .rec-table td {
    display: block;
    width: 100% !important;
    padding: var(--space-xs) 0;
  }
  
  .rec-table th {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .rec-table tr {
    padding: var(--space-xs) 0;
    display: block;
  }
  
  .rec-table-wrap {
    padding: var(--space-sm);
    border-radius: 40px;
  }
  
  .rec-table-addition {
    padding: var(--space-sm);
    border-radius: 40px;
  }
  
  /* Flow */
  .flow-container {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .flow-container::before {
    display: none;
  }
  
  .flow-step {
    padding: var(--space-xs) 0;
  }
  
  .flow-num {
    width: 76px;
    height: 76px;
    font-size: 1.35rem;
  }
  
  .flow-arrow {
    display: block;
    width: 2px;
    height: 24px;
    background-color: var(--secondary-color);
    margin: var(--space-xs) auto 0;
  }
  
  /* FAQ */
  .faq-question {
    padding: var(--space-sm);
    font-size: 1rem;
  }
  
  .faq-question::before {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .faq-answer-inner {
    flex-direction: column;
    gap: var(--space-xs);
    padding: 0 var(--space-sm) var(--space-sm);
  }
  
  .faq-answer-inner::before {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .faq-item {
    border-radius: 30px;
  }
  
  /* Form */
  .form-wrap {
    padding: var(--space-sm) var(--space-xs);
    border-radius: 40px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 4px;
  }
  
  .form-label-wrap, .form-input-wrap {
    width: 100%;
  }
  
  .form-label-wrap {
    padding-top: 0;
    margin-bottom: 4px;
  }
  
  .form-submit-btn {
    padding: 16px 0;
    width: 100%;
  }
  
  /* Footer */
  .footer-container {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .footer-info, .footer-logo {
    text-align: center;
    width: 100%;
  }
  
  .footer-nav {
    align-items: center;
    width: 100%;
  }
  
  /* Scroll to top button small layout */
  .to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Premium Background Overlay Custom Styles
   ========================================================================== */
#job-description {
  position: relative;
}

#job-description::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_01.png');
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

#features {
  position: relative;
}

#features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/features_02.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Fit Section (「こんな方に向いています」 Glassmorphism)
   ========================================================================== */
.section-fit {
  position: relative;
  padding: var(--space-3xl) 0;
  z-index: 2;
  overflow: hidden;
}

.fit-background-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/features_02.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.fit-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(93, 133, 107, 0.82); /* Primary color blend overlay */
  z-index: 2;
}

.fit-container {
  position: relative;
  z-index: 5;
  max-width: 960px;
  margin: 0 auto;
}

.fit-card {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 80px 24px 80px 24px;
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.fit-card-section {
  padding: var(--space-sm) 0;
}

.fit-card-section:first-child {
  padding-top: 0;
}

.fit-card-section:last-child {
  padding-bottom: 0;
}

.fit-section-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  text-align: center;
  font-family: var(--font-heading);
}

.fit-age-text {
  font-size: 1.15rem;
  text-align: center;
  color: var(--text-color);
  font-weight: 700;
}

.fit-card-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(93, 133, 107, 0.2), transparent);
  margin: var(--space-sm) 0;
}

.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 600px;
  margin: 0 auto;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fit-list-icon {
  background-color: var(--accent-color);
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.fit-list-text {
  font-size: 1.05rem;
  color: var(--text-color);
  font-weight: 500;
}

.fit-message-text {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--text-color);
  text-align: justify;
}

@media (max-width: 767px) {
  .fit-card {
    padding: var(--space-md) var(--space-xs);
    border-radius: 40px 15px 40px 15px;
  }
  
  .fit-section-title {
    font-size: 1.3rem;
  }
  
  .fit-list-text {
    font-size: 0.95rem;
  }
}

/* Smooth Parallax Scroll Transitions */
.parallax-scroll-img {
  transition: transform 0.15s ease-out !important;
  will-change: transform;
}
