/* 会社概要ページ専用スタイル */

/* ページヘッダー */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
  background-size: cover;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb .separator {
  opacity: 0.6;
}

.breadcrumb .current {
  opacity: 1;
  font-weight: 500;
}

/* 会社概要メイン */
.company-overview {
  padding: 100px 0;
  background: white;
}

.overview-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
}

.company-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 20px;
}

.company-visual i {
  font-size: 6rem;
  color: #3498db;
  opacity: 0.7;
}

/* 会社情報 */
.company-info {
  padding: 100px 0;
  background: #f8f9fa;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.info-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f1f3f4;
}

.info-header i {
  font-size: 1.5rem;
  color: #3498db;
  width: 30px;
  text-align: center;
}

.info-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f4;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item .label {
  font-weight: 500;
  color: #666;
  min-width: 100px;
}

.info-item .value {
  color: #333;
  font-weight: 500;
  text-align: right;
}

.business-item {
  margin-bottom: 20px;
}

.business-item:last-child {
  margin-bottom: 0;
}

.business-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.business-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 沿革 */
.company-history {
  padding: 100px 0;
  background: white;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(45deg, #3498db, #2980b9);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

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

.timeline-year {
  flex: 0 0 120px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3498db;
  text-align: center;
  background: white;
  padding: 10px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  margin: 0 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #666;
  line-height: 1.6;
}

/* 品質へのこだわり */
.quality-commitment {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.quality-card {
  background: white;
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.quality-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.quality-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(45deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-icon i {
  font-size: 2rem;
  color: white;
}

.quality-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.quality-card p {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* 企業理念 */
.company-philosophy {
  padding: 100px 0;
  background: white;
}

.philosophy-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-item {
  margin-bottom: 40px;
}

.philosophy-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #3498db;
  margin-bottom: 15px;
  position: relative;
}

.philosophy-item h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, #3498db, #2980b9);
  border-radius: 2px;
}

.philosophy-item p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.value-list {
  list-style: none;
  margin-top: 15px;
}

.value-list li {
  padding: 10px 0;
  color: #555;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
}

.value-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

.value-list strong {
  color: #2c3e50;
}

.philosophy-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.philosophy-circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.circle-content {
  text-align: center;
  color: white;
}

.circle-content i {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.circle-content span {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* CTAセクション */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .overview-content,
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 60px;
  }

  .timeline-year {
    position: absolute;
    left: -45px;
    top: 0;
    flex: none;
    width: 90px;
    font-size: 1rem;
  }

  .timeline-content {
    margin: 0;
    width: 100%;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-circle {
    width: 200px;
    height: 200px;
  }

  .circle-content i {
    font-size: 2.5rem;
  }

  .circle-content span {
    font-size: 1rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 100px 0 60px;
  }

  .page-title {
    font-size: 2rem;
  }

  .info-card {
    padding: 30px 20px;
  }

  .timeline-content {
    padding: 20px;
  }

  .quality-card {
    padding: 30px 20px;
  }

  .philosophy-circle {
    width: 180px;
    height: 180px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .breadcrumb {
    flex-wrap: wrap;
  }
}

/* アニメーション */
.info-card,
.timeline-item,
.quality-card,
.philosophy-item {
  animation: fadeInUp 0.8s ease-out;
}

/* アクティブナビゲーション */
.nav-link.active {
  color: #3498db;
}

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