﻿/* 株式会社アイガーズ - コンポーネントスタイル (ブライト＆フレンドリー・テーマ) */

/* ==========================================================================
   ヘッダー (ナビゲーション - 白ベース・明るい文字)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding var(--transition-normal), background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-bottom var(--transition-normal);
  padding: 1.8rem 0;
  border-bottom: 1px solid transparent;
}

/* 通常時・スクロール時ともに明るい背景に映える文字色を設定 */
.header.scrolled {
  padding: 0.9rem 0;
  background-color: var(--glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px -5px rgba(var(--primary-rgb), 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-en);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--primary); /* ロゴメインはスカイブルー */
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.logo-main span {
  color: var(--accent); /* ドットはオレンジ */
}

/* ホームのヒーローセクション内のみ、スクロール前は白いロゴ・文字にするためのクラス設定 */
body.home-page .header:not(.scrolled) .logo-main {
  color: var(--text-light);
}
body.home-page .header:not(.scrolled) .logo-sub {
  color: rgba(255, 255, 255, 0.7);
}
body.home-page .header:not(.scrolled) .nav-link {
  color: var(--text-light);
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 2px;
}

/* ナビゲーションメニュー */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dark); /* 明るいテーマなのでデフォルトは濃いグレー */
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.03em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary); /* スカイブルーのアンダーライン */
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  width: 100%;
}

/* 電話・CTA ナビボタン */
.nav-cta {
  background-color: var(--accent) !important;
  color: var(--text-light) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 50px; /* より丸みを持たせて親しみやすく */
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-color: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* モバイルメニューボタン */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  position: absolute;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

body.home-page .header:not(.scrolled) .menu-toggle span {
  background-color: var(--text-light);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }

/* モバイルオープン状態 */
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  background-color: var(--text-light) !important;
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
  background-color: var(--text-light) !important;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--primary); /* モバイル内は綺麗なグリーン */
    box-shadow: -10px 0 30px rgba(var(--primary-rgb), 0.15);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right var(--transition-normal);
    z-index: 1050;
  }
  
  .nav-menu.is-open {
    right: 0;
  }
  
  .nav-menu .nav-link {
    color: var(--text-light) !important;
    font-size: 1.25rem;
  }
  .nav-menu .nav-link::after {
    background-color: var(--accent);
  }
  
  .nav-cta {
    background-color: var(--accent) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
  }
}

/* ==========================================================================
   下層ページヒーロー (サブページヘッダー - 青空グラデーション)
   ========================================================================== */
.subpage-hero {
  position: relative;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%); /* 鮮やかなグリーングラデーション */
  padding: 11rem 0 6rem 0;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  z-index: 1;
}

.subpage-hero-container {
  position: relative;
  z-index: 2;
}

.subpage-title-en {
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: var(--accent); /* 明るいオレンジ */
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 800;
}

.subpage-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.2);
}

/* パンくずリスト */
.breadcrumbs {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.breadcrumbs a {
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs li::after {
  content: '/';
  margin-left: 0.5rem;
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs li:last-child {
  color: var(--text-light);
}

/* ==========================================================================
   ボタン
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  border-radius: 50px; /* 丸みを持たせてフレンドリーに */
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.2);
}

.btn-arrow::after {
  content: '→';
  font-family: var(--font-en);
  transition: transform var(--transition-fast);
}

.btn:hover.btn-arrow::after {
  transform: translateX(4px);
}

/* ==========================================================================
   事業紹介カード (Business Section)
   ========================================================================== */
.work-card {
  background-color: var(--bg-white);
  border-radius: 12px; /* 少し大きめの角丸 */
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  opacity: 0;
  transform: translateY(30px);
}

.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.work-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.work-card:hover .work-card-img {
  transform: scale(1.08);
}

.work-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  z-index: 2;
}

.work-card-body {
  padding: 2rem;
}

.work-card-title {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-weight: 800;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.8rem;
  transition: border-color var(--transition-normal);
}

.work-card:hover .work-card-title {
  border-color: var(--primary);
}

.work-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.work-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.work-card-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.work-card:hover .work-card-link::after {
  transform: translateX(4px);
}

/* ==========================================================================
   お知らせ・新着情報リスト (News List)
   ========================================================================== */
.news-container {
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 2rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--bg-light);
  gap: 1.5rem;
  align-items: flex-start;
  transition: background-color var(--transition-fast);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background-color: rgba(var(--primary-rgb), 0.03);
}

.news-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.news-date {
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.news-label {
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
}

.news-label.important {
  background-color: var(--accent);
  color: var(--text-light);
}

.news-title {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
}

.news-title a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.2rem 0;
  }
}

/* ==========================================================================
   アイガーズの強み (Strengths Components)
   ========================================================================== */
.strength-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
  border-top: 5px solid var(--primary-light);
}

.strength-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-top-color: var(--accent);
}

.strength-icon {
  width: 75px;
  height: 75px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 900;
  transition: all var(--transition-normal);
}

.strength-card:hover .strength-icon {
  background-color: var(--accent);
  color: var(--text-light);
  transform: rotate(360deg);
}

.strength-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 800;
}

.strength-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: justify;
  line-height: 1.7;
}

/* ==========================================================================
   求人バナー (Recruitment Banner - 爽やかグラデーション)
   ========================================================================== */
.recruit-banner {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  color: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.recruit-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  z-index: 1;
}

.recruit-banner-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  z-index: 2;
  position: relative;
}

.recruit-banner-content {
  padding: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.recruit-banner-badge {
  background-color: var(--accent);
  color: var(--text-light);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 1.2rem;
  border-radius: 30px;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.recruit-banner-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.1);
}

.recruit-banner-title span {
  color: #fff;
  background: linear-gradient(transparent 60%, var(--accent) 60%);
  padding: 0 2px;
}

.recruit-banner-desc {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.2rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.recruit-banner-img-wrap {
  height: 100%;
  min-height: 380px;
  position: relative;
}

.recruit-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .recruit-banner-grid {
    grid-template-columns: 1fr;
  }
  .recruit-banner-content {
    padding: 3rem;
  }
  .recruit-banner-img-wrap {
    height: 280px;
    min-height: auto;
  }
}

/* ==========================================================================
   会社概要テーブル & 地図
   ========================================================================== */
.company-table-wrap {
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  margin-bottom: 3rem;
  border: 1px solid var(--border-color);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th, .company-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--bg-light);
  text-align: left;
}

.company-table th {
  font-weight: 700;
  color: var(--primary);
  width: 25%;
  font-size: 0.95rem;
  background-color: var(--bg-light);
}

.company-table td {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.8;
}

.company-table tr:last-child th, .company-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .company-table th, .company-table td {
    display: block;
    width: 100% !important;
    padding: 0.8rem 1rem;
  }
  .company-table th {
    background-color: var(--bg-light);
    border-bottom: none;
  }
}

/* ==========================================================================
   お問い合わせ / 応募フォーム (入力フォーム)
   ========================================================================== */
.form-container {
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 3.5rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.form-label span {
  background-color: #ef4444;
  color: var(--text-light);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 30px;
  margin-left: 0.6rem;
  font-weight: 800;
}

.form-label span.optional {
  background-color: #94a3b8;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border-color); /* 緑色ボーダー */
  border-radius: 6px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #fcfdfe;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.form-submit-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.validation-error {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.35rem;
  display: none;
}

/* 成功メッセージ */
.form-success-message {
  display: none;
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
  box-shadow: var(--shadow-md);
}

.form-success-icon {
  font-size: 3.5rem;
  color: #22c55e;
  margin-bottom: 1rem;
}

/* ==========================================================================
   フッター (爽やかなディープグリーン)
   ========================================================================== */
.footer {
  background-color: #064e3b; /* 爽やかな深いグリーン */
  color: var(--text-light);
  padding: 4.5rem 0 2rem 0;
  border-top: 5px solid var(--accent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-info {
  font-size: 0.9rem;
  color: #a7f3d0;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: var(--text-light);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #ecfdf5;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-phone-box {
  background-color: rgba(var(--primary-rgb), 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
  border-radius: 6px;
}

.footer-phone-label {
  font-size: 0.75rem;
  color: #f97316; /* オレンジ */
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.footer-phone-number {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #6ee7b7;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
