/* Recruit Page Styles - Based on style.css */

:root {
  --bg: #0b0b0d;            /* 黒基調 */
  --bg-elev: #121216;       /* 1段明るい */
  --fg: #f2f2f2;            /* 本文 */
  --muted: #b7bcc7;         /* 補助テキスト */
  --line: #2a2a30;          /* 枠線 */
  --brand: #c6a34f;         /* ロゴに合わせた金色 */
  --brand-2: #59aabd;       /* ロゴの水色アクセント */
}

html,body { height: 100%; }
body {
  font-family: 'Zen Antique', serif;
  color: var(--fg);
  background: url('assets/background.webp') center center / cover no-repeat fixed, 
              linear-gradient(rgba(11,11,13,0.7), rgba(11,11,13,0.8));
  background-attachment: fixed;
}

/* Navbar - 統一 */
.navbar {
  backdrop-filter: blur(6px);
  background: rgb(255, 255, 255) !important;
  border-bottom: 1px solid #ddd;
  z-index: 1040;
}
.navbar-brand, .nav-link { color: #333 !important; }
.navbar-brand { font-size: 1.25rem; text-decoration: underline; }
.navbar-logo { 
  height: 32px; 
  width: auto; 
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); 
}
.nav-link:hover { text-decoration: underline; color: var(--brand) !important; }
.btn-contact { font-weight: 700; background: var(--brand); border-color: var(--brand); color: #111; }
.btn-contact:hover { opacity: .9; }

/* ハンバーガーメニューアイコンのカスタマイズ */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Drawer - 統一 */
.custom-drawer {
  position: fixed; top: 60px; right: -320px; width: 320px; height: calc(100vh - 60px);
  background: #0f1116; color: var(--fg); border-left: 1px solid var(--line);
  transition: right .28s ease; z-index: 1050; overflow-y: auto;
}
.custom-drawer.open { right: 0; }
.bordered-text { font-weight: 700; font-size: 18px; color: transparent; -webkit-text-stroke: 1px var(--fg); }
.drawer-links a { color: var(--fg); display:block; margin: 6px 0; }
.social-icons img { width: 24px; height: 24px; margin-right: 10px; }

/* Recruit Hero Section */
.recruit-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(14,14,18,0.9) 0%, rgba(14,14,18,0.7) 60%, rgba(14,14,18,0.9) 100%);
  position: relative;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 2rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--fg) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}

/* Job Details Section */
.job-details-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(18,18,22,0.5) 50%, var(--bg) 100%);
}

.job-card {
  background: linear-gradient(135deg, rgba(18,18,22,0.8) 0%, rgba(15,17,22,0.9) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.job-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.job-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.job-item-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.job-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: rgba(18,18,22,0.4);
  border: 1px solid rgba(42,42,48,0.6);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.job-item:hover {
  border-color: var(--brand);
  background: rgba(18,18,22,0.6);
  transform: translateY(-2px);
}

.job-item.full-width {
  grid-template-columns: 200px 1fr;
}

.job-label {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--brand);
  position: relative;
  padding-left: 1rem;
}

.job-label::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 0.8em;
}

.job-value {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  color: var(--fg);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.benefits-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

/* Work Environment Section */
.work-environment-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(18,18,22,0.3) 0%, rgba(15,17,22,0.5) 100%);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 3rem;
}

.environment-card {
  background: linear-gradient(135deg, rgba(18,18,22,0.6) 0%, rgba(15,17,22,0.8) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.environment-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 15px 35px rgba(198,163,79,0.2);
}

.environment-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, #d4b86a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #111;
}

.environment-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1rem;
}

.environment-text {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Application Section */
.application-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(18,18,22,0.8) 0%, rgba(15,17,22,0.9) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.application-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.application-btn {
  background: linear-gradient(135deg, var(--brand) 0%, #d4b86a 100%);
  color: #111;
  font-weight: 800;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.application-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(198,163,79,0.4);
  color: #111;
}

/* Footer - 統一 */
.footer { 
  border-top: 1px solid var(--line); 
  background: rgba(12,12,15,.6); 
}
.footer-brand { 
  color: var(--fg); 
  text-decoration: underline; 
}
.footer-link { 
  color: var(--fg); 
  text-decoration:none; 
}
.footer-link:hover { 
  color: var(--brand); 
  text-decoration: underline; 
}

/* アニメーション */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールアニメーション */
.fadeup-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeup-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ調整 */
@media (max-width: 992px) {
  .job-card {
    padding: 2rem;
  }
  
  .job-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .job-item.full-width {
    grid-template-columns: 1fr;
  }
  
  .job-label::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .recruit-hero {
    padding: 2rem 0;
  }
  
  .job-details-section,
  .work-environment-section,
  .application-section {
    padding: 4rem 0;
  }
  
  .job-card {
    padding: 1.5rem;
  }
  
  .environment-card {
    padding: 2rem 1.5rem;
  }
  
  .environment-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .job-card {
    padding: 1rem;
  }
  
  .job-item {
    padding: 1rem;
  }
  
  .environment-card {
    padding: 1.5rem 1rem;
  }
}
