@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Shippori+Mincho:wght@400;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

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

:root {
  /* Colors */
  --color-primary: #1A2B4D;
  --color-secondary: #F8F8F8;
  --color-accent: #C0A860;
  --color-accent-hover: #A89048;
  --color-background: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #FFFFFF;
  --color-border: #E0E0E0;

  /* Fonts */
  --font-heading: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;

  /* Layout */
  --border-radius: 4px;
  --transition-speed: 0.4s;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed), opacity var(--transition-speed);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- Accessibility & Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  padding-right: var(--space-sm);
  padding-left: var(--space-sm);
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

/* Section Common Styles */
section {
  padding: var(--space-xxl) 0;
  position: relative;
  overflow: hidden;
}

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

.section-bg-dark {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

/* Dynamic Section Title with Left Side Accent Line (No simple center) */
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
  position: relative;
  letter-spacing: 0.15em;
  padding-left: 20px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 4px;
  background-color: var(--color-accent);
}

.section-bg-dark .section-title {
  color: var(--color-text-white);
}

/* --- Common Button / CTA --- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-text-white);
  padding: 18px var(--space-xl);
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(192, 168, 96, 0.3);
  transition: transform var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), background-color var(--transition-speed), box-shadow var(--transition-speed);
  letter-spacing: 0.08em;
  text-align: center;
  width: 100%;
  max-width: 320px;
}

.btn-cta:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(192, 168, 96, 0.45);
}

.btn-cta:active {
  transform: translateY(-1px);
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.site-header.scrolled {
  background-color: rgba(26, 43, 77, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

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

.site-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text-white);
  letter-spacing: 0.15em;
}

/* Hamburger Menu Button */
.menu-trigger {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 200;
  cursor: pointer;
}

.menu-trigger span {
  display: block;
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-white);
  transition: transform var(--transition-speed), top var(--transition-speed), opacity var(--transition-speed);
}

.menu-trigger span:nth-child(1) {
  top: 15px;
}

.menu-trigger span:nth-child(2) {
  top: 22px;
}

.menu-trigger span:nth-child(3) {
  top: 29px;
}

/* Open state for Hamburger */
.menu-trigger.active span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-trigger.active span:nth-child(2) {
  opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* Drawer Navigation */
.drawer-nav {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 43, 77, 0.98);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

.drawer-nav.active {
  opacity: 1;
  visibility: visible;
}

.drawer-menu {
  list-style: none;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.drawer-item {
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.drawer-nav.active .drawer-item {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger transition delay for drawer items */
.drawer-item:nth-child(1) { transition-delay: 0.1s; }
.drawer-item:nth-child(2) { transition-delay: 0.2s; }
.drawer-item:nth-child(3) { transition-delay: 0.3s; }
.drawer-item:nth-child(4) { transition-delay: 0.4s; }
.drawer-item:nth-child(5) { transition-delay: 0.5s; }
.drawer-item:nth-child(6) { transition-delay: 0.6s; }

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.1em;
  display: inline-block;
  padding: var(--space-xs) 0;
}

.drawer-link:hover {
  color: var(--color-accent);
}

.drawer-contact {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.7s, opacity 0.5s ease 0.7s;
  color: var(--color-text-white);
}

.drawer-nav.active .drawer-contact {
  opacity: 1;
  transform: translateY(0);
}

.drawer-tel {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: var(--space-xs);
}

/* --- Hero Section with Japanese Vertical Text --- */
.hero {
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary);
}

/* Ken Burns Zoom Effect wrapper */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  background: url('../images/hero_01.jpg') no-repeat center center / cover;
  animation: kenburns 25s ease infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 43, 77, 0.85) 0%, rgba(26, 43, 77, 0.6) 100%);
  z-index: 2;
}

.hero .container {
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-text-white);
  padding-top: var(--space-xxl);
  width: 100%;
}

.hero-copy-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  max-width: 680px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.hero-cta {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--color-text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: var(--color-accent);
  animation: scrollDown 2s ease infinite;
}

/* Keyframes */
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

@keyframes scrollDown {
  0% { top: -20px; }
  100% { top: 50px; }
}

/* --- Vision Section with Visual Break & Poster Layout --- */
.vision {
  background-color: var(--color-secondary);
  position: relative;
  z-index: 10;
}

/* Diagonal Separator Lines */
.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to right bottom, var(--color-primary) 49.9%, transparent 50%);
  z-index: 1;
}

.vision-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
  text-align: center;
  position: relative;
}

/* Vision Parallax Background Quote block */
.vision-hero-quote {
  background: linear-gradient(rgba(26, 43, 77, 0.92), rgba(26, 43, 77, 0.95)), url('../images/vision_01.jpg') no-repeat center center / cover;
  color: var(--color-text-white);
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: var(--space-xl);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  position: relative;
}

.vision-hero-quote::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(192, 168, 96, 0.3);
  border-radius: var(--border-radius);
  pointer-events: none;
}

.vision-lead-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.vision-lead-sub {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
}

.vision-text-wrapper {
  background: var(--color-background);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--border-radius);
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.vision-text {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--color-text);
  white-space: pre-line;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.vision-highlight {
  font-weight: 700;
  color: var(--color-primary);
  background: linear-gradient(transparent 70%, rgba(192, 168, 96, 0.25) 70%);
  display: inline-block;
  padding: 0 4px;
}

/* --- Job Description Section --- */
.job-desc-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.job-desc-img-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.job-desc-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.job-desc-text-wrapper {
  background: var(--color-secondary);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--border-radius);
}

.job-desc-subtitle {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: 1.4;
  position: relative;
  padding-bottom: var(--space-xs);
}

.job-desc-subtitle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.job-desc-text {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: var(--space-lg);
  white-space: pre-line;
}

.job-desc-cta {
  text-align: center;
}

/* --- Member Voice Section with Overlapping Layout --- */
.member-voice {
  background-color: var(--color-secondary);
}

.voice-overlap-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.voice-photo-card {
  width: 100%;
  height: 280px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.voice-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,43,77,0.6) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  color: var(--color-text-white);
}

.voice-profile-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.voice-avatar-letter {
  width: 44px;
  height: 44px;
  background-color: var(--color-accent);
  color: var(--color-text-white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.voice-meta-name {
  font-weight: 700;
  font-size: 1.15rem;
}

.voice-meta-title {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Overlapping Text Card (Overlap with negative margin on mobile) */
.voice-speech-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-md);
  margin-top: -30px;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.voice-speech-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 5rem;
  font-family: var(--font-heading);
  color: rgba(192, 168, 96, 0.12);
  line-height: 1;
}

.voice-qa {
  position: relative;
  z-index: 2;
}

.voice-question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-xs);
}

.voice-answer {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text);
}

/* --- Culture Section (3 Reasons) --- */
.culture-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.culture-item {
  display: flex;
  flex-direction: column;
  background: var(--color-background);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border-top: 2px solid transparent;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}

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

.culture-img-wrapper {
  position: relative;
  height: 220px;
}

.culture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.culture-num {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.culture-text-wrapper {
  padding: var(--space-lg) var(--space-md);
}

.culture-subtitle {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-secondary);
}

.culture-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* --- Recruitment Info Section --- */
.recruitment-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-background);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.recruitment-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}

.recruitment-table th, .recruitment-table td {
  padding: var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.recruitment-table tr:last-child th, .recruitment-table tr:last-child td {
  border-bottom: none;
}

.recruitment-table th {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  width: 25%;
  vertical-align: top;
  border-right: 1px solid var(--color-border);
}

.recruitment-table td {
  font-size: 0.95rem;
  line-height: 1.8;
}

.recruitment-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-text-white);
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: var(--space-xs);
}

.recruitment-cta {
  margin-top: var(--space-xl);
  text-align: center;
}

/* --- Flow Section with Vertical Step Progression --- */
.flow-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  padding-left: 40px;
}

/* Timeline Vertical Line */
.flow-timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background-color: var(--color-accent);
}

.flow-step {
  position: relative;
  background: var(--color-secondary);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-speed);
}

.flow-step:hover {
  transform: translateX(5px);
}

.flow-step-circle {
  position: absolute;
  left: -31px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-background);
  border: 4px solid var(--color-accent);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.flow-step-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  display: block;
}

.flow-step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.flow-step-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.flow-footer-note {
  text-align: center;
  font-size: 0.95rem;
  margin-top: var(--space-lg);
  color: var(--color-text-light);
  font-weight: 500;
}

/* --- FAQ Section --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-background);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.faq-question {
  padding: var(--space-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-secondary);
  transition: background-color var(--transition-speed);
}

.faq-question:hover {
  background-color: #F0F2F5;
}

.faq-q-text {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.faq-q-badge {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.faq-toggle-icon {
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform var(--transition-speed);
}

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

/* Horizontal bar */
.faq-toggle-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

/* Vertical bar */
.faq-toggle-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(135deg);
}

.faq-item.active .faq-toggle-icon::after {
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  border-top: 1px solid var(--color-border);
}

.faq-answer-inner {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: 0.95rem;
  line-height: 1.9;
}

.faq-a-badge {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

/* --- Application Form Section --- */
.form-wrapper {
  background: var(--color-background);
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: var(--space-lg);
}

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

.form-required {
  background-color: #E05050;
  color: var(--color-text-white);
  font-size: 0.7rem;
  padding: 3px 7px;
  border-radius: 2px;
  margin-left: var(--space-xs);
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 14px var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-secondary);
  transition: border-color var(--transition-speed), background-color var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-background);
}

.form-consent {
  margin: var(--space-xl) 0;
  text-align: center;
}

.form-checkbox-label {
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}

.form-checkbox-label input {
  margin-right: var(--space-xs);
  transform: scale(1.2);
  vertical-align: middle;
}

.form-privacy-link {
  color: var(--color-accent);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 700;
}

.form-privacy-link:hover {
  color: var(--color-accent-hover);
}

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

/* Error message list placeholder */
.form-errors {
  background-color: #FFF2F2;
  border-left: 4px solid #E05050;
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  border-radius: var(--border-radius);
  display: none;
}

.form-errors ul {
  padding-left: var(--space-md);
  color: #E05050;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* --- Footer with Parallax and Decent Backdrop --- */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  padding: var(--space-xxl) 0 var(--space-md);
}

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

.footer-info {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.footer-address {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact {
  margin-top: var(--space-md);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--color-text-white);
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition-speed);
}

.footer-link-btn:hover {
  color: var(--color-accent);
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
}

/* --- Privacy Policy Modal --- */
.pp-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.pp-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.pp-modal-backdrop {
  position: absolute;
  inset: 0;
}

.pp-modal-body {
  width: min(95vw, 800px);
  height: min(90vh, 700px);
  background: var(--color-background);
  border-radius: var(--border-radius);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transform: translateY(30px);
  transition: transform var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pp-modal:not([hidden]) .pp-modal-body {
  transform: translateY(0);
}

.pp-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  color: var(--color-text);
  z-index: 20;
  transition: background-color var(--transition-speed);
}

.pp-modal-close:hover {
  background-color: var(--color-border);
}

.pp-modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--border-radius);
  padding-top: var(--space-xl);
}

/* --- Scroll Animation Classes (Enhanced) --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-up {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1.2s cubic-bezier(0.075, 0.82, 0.165, 1), transform 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.slide-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Accent Line drawing animation class */
.draw-line-container {
  position: relative;
}

.draw-line-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s;
}

.draw-line-container.animated::after {
  width: 100%;
}

/* --- Media Queries (Tablet / PC) --- */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  .vision-hero-quote {
    padding: var(--space-xl) var(--space-lg);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  /* Typography */
  .section-title {
    font-size: 2.4rem;
    padding-left: 28px;
  }
  
  .section-title::before {
    width: 6px;
  }

  /* Header (Normal Nav instead of simple hamburger on PC) */
  .menu-trigger {
    display: none; /* Hide hamburger menu trigger on desktop */
  }

  .drawer-nav {
    /* Reposition drawer to serve as fixed top desktop header */
    position: static;
    background: none;
    padding: 0;
    width: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .drawer-menu {
    display: flex;
    gap: var(--space-md);
    margin-bottom: 0;
  }

  .drawer-item {
    margin-bottom: 0;
    opacity: 1;
    transform: none;
  }

  .drawer-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-white);
    padding: var(--space-xs) 0;
    position: relative;
  }

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

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

  .drawer-contact {
    display: none; /* Hide in header, footer handles it */
  }

  /* Hero Section (PC) */
  .hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: var(--space-md);
  }

  .hero-copy-wrapper {
    max-width: 800px;
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .hero-title {
    font-size: 3.8rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 1.35rem;
    line-height: 2;
    margin-bottom: 0;
  }

  .hero-cta {
    justify-content: center;
    width: 100%;
  }

  /* Vision Section (PC) */
  .vision-hero-quote {
    padding: var(--space-xxl) var(--space-xl);
  }
  
  .vision-lead-text {
    font-size: 1.8rem;
  }

  .vision-text-wrapper {
    padding: var(--space-xl);
  }

  .vision-text {
    font-size: 1.05rem;
  }

  /* Job Description */
  .job-desc-content {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-xl);
  }

  .job-desc-img-wrapper {
    flex: 1;
    min-height: 400px;
  }

  .job-desc-img {
    height: 100%;
  }

  .job-desc-text-wrapper {
    flex: 1.2;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .job-desc-subtitle {
    font-size: 1.8rem;
  }

  .job-desc-text {
    font-size: 1rem;
  }

  /* Member Voice Overlapping Layout (PC) */
  .voice-overlap-container {
    flex-direction: row;
    align-items: center;
    min-height: 450px;
  }

  .voice-photo-card {
    width: 50%;
    height: 450px;
    position: absolute;
    left: 0;
    top: 0;
  }

  .voice-speech-card {
    width: 60%;
    margin-top: 0;
    margin-left: auto; /* Push it to the right */
    padding: var(--space-xl);
  }

  .voice-question {
    font-size: 1.25rem;
  }

  .voice-answer {
    font-size: 1.05rem;
  }

  /* Culture Section */
  .culture-item {
    flex-direction: row;
    align-items: stretch;
  }

  .culture-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .culture-img-wrapper, .culture-text-wrapper {
    flex: 1;
    height: auto;
    min-height: 320px;
  }

  .culture-text-wrapper {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .culture-subtitle {
    font-size: 1.5rem;
  }

  /* Flow Section */
  .flow-timeline {
    flex-direction: row;
    justify-content: space-between;
    padding-left: 0;
    gap: var(--space-md);
  }

  .flow-timeline::before {
    left: 15px;
    right: 15px;
    top: 30px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .flow-step {
    flex: 1;
    border-left: none;
    border-top: 5px solid var(--color-primary);
    padding: var(--space-xl) var(--space-sm) var(--space-md);
  }

  .flow-step-circle {
    left: 15px;
    top: -33px;
  }

  /* Footer */
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-info {
    text-align: left;
  }

  .footer-nav {
    align-items: flex-end;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  /* Section Padding */
  section {
    padding: 100px 0;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
