/* ========================================
   会社概要ページ専用CSS
======================================== */

/* ========================================
   Page Hero
======================================== */
.about-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #2a4d7a 0%, #3a6ea5 100%);
  text-align: center;
  margin-top: 80px;
}

.about-hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.about-hero p {
  font-size: 1.125rem;
  color: #dfeefd;
}

/* フェードインアニメーション */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* テーブルのホバーエフェクト */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid #e6e6e6;
  transition: background 0.3s ease;
}

.company-table tr:hover {
  background: rgba(223, 238, 253, 0.3);
}

.company-table th {
  padding: 20px;
  text-align: left;
  width: 200px;
  background: #dfeefd;
  color: #182a88;
  font-weight: 600;
  position: relative;
}

.company-table th::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: #182a88;
  border-radius: 2px;
}

.company-table th {
  padding-left: 30px;
}

.company-table td {
  padding: 20px;
}

.company-table td a {
  color: #182a88;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.company-table td a:hover {
  color: #f5cd35;
}

/* サービスポリシーカード */
.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.policy-card {
  background: white;
  padding: 30px;
  border: 2px solid #e6e6e6;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.policy-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.policy-card:hover {
  border-color: #182a88;
  box-shadow: 0 4px 16px rgba(24, 42, 136, 0.12);
  transform: translateY(-4px);
}

.policy-card h3 {
  font-size: 1.25rem;
  color: #182a88;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-card h3::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f5cd35;
  color: #182a88;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1rem;
}

.policy-card p {
  line-height: 1.8;
  color: #595959;
}

/* 強みセクションの背景 */
.strength-box {
  background: #dfeefd;
  padding: 40px;
  border-radius: 4px;
  line-height: 2;
  border-left: 4px solid #182a88;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.strength-box.animated {
  opacity: 1;
  transform: translateX(0);
}

.strength-box p {
  margin-bottom: 25px;
}

.strength-box p:last-child {
  margin-bottom: 0;
}

/* セクションタイトル */
.section-title-line {
  font-size: 2rem;
  color: #3f3d56;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #182a88;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title-line.animated {
  opacity: 1;
  transform: translateY(0);
}

.section-title-line::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: #f5cd35;
}

/* CTAセクション */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .about-hero {
  padding: 120px 0 80px;
  margin-top: 60px;
}
  .company-table th {
    width: 120px;
    font-size: 0.875rem;
    padding: 15px;
    padding-left: 25px;
  }

  .company-table td {
    padding: 15px;
    font-size: 0.9rem;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-box {
    padding: 30px 20px;
  }

  .section-title-line {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}
