/* 企業詳細ページ専用スタイル */
/* 更新日: 2025-04-17-18-40 */

/* パンくずリスト */
.breadcrumb-wrapper {
  background-color: #f9fafb;
  padding: 15px 0;
}

.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: #3D3D3D;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #AC0700;
}

/* 企業ヘッダーセクション */
.company-header-section {
  padding: 50px 0;
  background-color: #FFFFFF;
}

.company-header {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  background-color: #FFFFFF;
}

.company-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-logo {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #eee;
}

.company-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #3D3D3D;
}

.company-tagline {
  font-size: 18px;
  color: #AC0700;
  margin-bottom: 20px;
  font-style: italic;
}

/* 企業メタ情報 */
.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.company-meta .meta-item {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 0.9rem;
}

.company-meta .meta-item i {
  margin-right: 0.5rem;
  color: #AC0700;
}

.company-actions {
  display: flex;
  flex-direction: column;
}

/* 企業コンテンツセクション */
.company-content-section {
  padding: 50px 0;
  background-color: #f9fafb;
}

.company-tabs {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.nav-tabs {
  border-bottom: 1px solid #eee;
  padding: 0 20px;
}

.nav-tabs .nav-link {
  border: none;
  color: #3D3D3D;
  font-weight: 500;
  padding: 15px 20px;
  margin-right: 10px;
  border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: #AC0700;
  border-bottom: 3px solid #AC0700;
  background-color: transparent;
}

.tab-content {
  padding: 30px;
}

.tab-section {
  color: #3D3D3D;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #3D3D3D;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.subsection-title {
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: #3D3D3D;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.feature-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.feature-list li i {
  color: #AC0700;
  margin-right: 10px;
  margin-top: 4px;
}

/* タイムライン */
.timeline {
  position: relative;
  padding-left: 60px;
  margin-top: 30px;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #eee;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

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

.timeline-date {
  position: absolute;
  left: -30px;
  background-color: #AC0700;
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transform: translateX(-50%);
}

.timeline-content {
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #3D3D3D;
}

.timeline-content p {
  margin-bottom: 0;
}

/* CEO メッセージ */
.ceo-message {
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.ceo-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.ceo-message h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #3D3D3D;
}

.ceo-message blockquote {
  font-style: italic;
  border-left: 3px solid #AC0700;
  padding-left: 15px;
  margin-bottom: 0;
}

/* 求人リスト */
.job-list {
  margin-top: 30px;
}

.job-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 企業文化 */
.culture-gallery {
  margin: 30px 0;
}

.culture-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  padding: 10px;
  font-size: 14px;
  text-align: center;
}

.philosophy-cards {
  margin: 30px 0;
}

.philosophy-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.philosophy-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(172, 7, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.philosophy-icon i {
  font-size: 30px;
  color: #AC0700;
}

.philosophy-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #3D3D3D;
}

.benefit-section {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  margin-bottom: 20px;
}

.benefit-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #3D3D3D;
  display: flex;
  align-items: center;
}

.benefit-section h4 i {
  margin-right: 10px;
  color: #AC0700;
}

.work-style-features {
  margin-top: 30px;
}

.feature-card {
  display: flex;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(172, 7, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 24px;
  color: #AC0700;
}

.feature-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #3D3D3D;
}

.feature-content p {
  margin-bottom: 0;
  font-size: 14px;
}

/* 社員インタビュー */
.employee-interview {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.interview-header {
  margin-bottom: 25px;
}

.employee-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.employee-name {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.employee-position {
  font-size: 16px;
  color: #666;
  margin-bottom: 0;
}

.interview-content {
  background-color: #f9fafb;
  padding: 25px;
  border-radius: 8px;
}

.interview-question {
  font-size: 17px;
  font-weight: 600;
  color: #AC0700;
  margin-top: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.interview-question:first-child {
  margin-top: 0;
}

.interview-question i {
  margin-right: 10px;
  font-size: 18px;
}

.interview-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #3D3D3D;
}

.interview-content p:last-child {
  margin-bottom: 0;
}

.interview-divider {
  margin: 40px 0;
  border-top: 1px dashed #ddd;
}

/* サイドバー */
.company-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #3D3D3D;
}

.company-info-list .info-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.company-info-list .info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  font-weight: 500;
  margin-bottom: 5px;
  color: #3D3D3D;
}

.info-label i {
  color: #AC0700;
  margin-right: 8px;
}

.company-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.access-info p {
  margin-bottom: 5px;
  font-size: 14px;
}

.access-info i {
  color: #AC0700;
  margin-right: 8px;
}

.job-category-list {
  list-style: none;
  padding-left: 0;
}

.job-category-list li {
  margin-bottom: 10px;
}

.job-category-list li a {
  display: flex;
  align-items: center;
  color: #3D3D3D;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.job-category-list li a:hover {
  background-color: rgba(172, 7, 0, 0.1);
  color: #AC0700;
}

.job-category-list li a i {
  margin-right: 8px;
  color: #AC0700;
}

.company-stats {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.company-stats .stat-item {
  flex: 1;
  padding: 15px 10px;
  border-radius: 8px;
  background-color: #f9fafb;
}

.company-stats .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #AC0700;
  margin-bottom: 5px;
}

.company-stats .stat-unit {
  font-size: 14px;
  font-weight: 400;
}

.company-stats .stat-label {
  font-size: 12px;
  color: #3D3D3D;
}

/* お問い合わせセクション */
.contact-section {
  padding: 50px 0;
  background-color: #FFFFFF;
}

.contact-card {
  background-color: #f9fafb;
  border-radius: 10px;
  padding: 40px;
  border-left: 5px solid #AC0700;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-card h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #3D3D3D;
}

.contact-card p {
  font-size: 16px;
  color: #3D3D3D;
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {
  .company-sidebar {
    position: static;
    margin-top: 40px;
  }

  .company-stats {
    flex-wrap: wrap;
  }

  .company-stats .stat-item {
    flex: 0 0 calc(33.333% - 10px);
    margin-bottom: 10px;
  }
}

@media (max-width: 767.98px) {
  .company-header {
    padding: 20px;
  }

  .company-name {
    font-size: 24px;
  }

  .company-tagline {
    font-size: 16px;
  }

  .nav-tabs {
    padding: 0 10px;
  }

  .nav-tabs .nav-link {
    padding: 10px;
    margin-right: 5px;
    font-size: 14px;
  }

  .tab-content {
    padding: 20px;
  }

  .section-title {
    font-size: 20px;
  }

  .subsection-title {
    font-size: 18px;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-date {
    left: -20px;
    font-size: 12px;
    padding: 3px 8px;
  }

  .employee-interview {
    padding: 20px;
  }

  .interview-content {
    padding: 20px;
  }

  .employee-name {
    font-size: 20px;
  }

  .interview-question {
    font-size: 16px;
  }

  .contact-card {
    padding: 20px;
  }
}

@media (max-width: 575.98px) {
  .company-stats .stat-item {
    flex: 0 0 100%;
    margin-bottom: 10px;
  }

  .philosophy-card,
  .benefit-section,
  .feature-card {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .company-meta {
    gap: 0.75rem;
  }
  
  .company-meta .meta-item {
    width: calc(50% - 0.75rem);
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .company-meta .meta-item {
    width: 100%;
  }
}

/* スタッフ情報セクション */
.staff-info-section {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.staff-info-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #3D3D3D;
  display: flex;
  align-items: center;
}

.staff-info-section h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: #AC0700;
  margin-right: 10px;
  border-radius: 2px;
}

.staff-count,
.staff-avg-age {
  font-size: 28px;
  font-weight: 700;
  color: #AC0700;
  margin-bottom: 0;
  text-align: center;
  padding: 15px 0;
  background-color: #f9fafb;
  border-radius: 8px;
}

/* プログレスバー関連 */
.progress-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

/* 凡例アイテム */
.legend-item {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #f9fafb;
  border: 1px solid transparent;
}

.legend-item:hover {
  background-color: #f0f0f0;
  border-color: #ddd;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.legend-item.active, 
.legend-item.active-click {
  border-color: #AC0700 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  background-color: rgba(172, 7, 0, 0.05) !important;
  font-weight: bold !important;
}

.color-badge {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legend-text {
  font-size: 13px;
  color: #3D3D3D;
  vertical-align: middle;
  font-weight: 500;
  white-space: nowrap;
}

.progress {
  height: 24px;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  transition: all 0.6s ease;
  position: relative;
}

/* ホバー効果 */
.progress-bar.highlight {
  opacity: 1 !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) !important;
  z-index: 10 !important;
  filter: brightness(1.15) !important;
  transform: scaleY(1.1) !important;
}

.progress-bar:not(.highlight) {
  opacity: 0.7;
}

/* ツールチップ */
.progress-bar::after {
  content: attr(title);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.progress-bar:hover::after {
  opacity: 1;
  visibility: visible;
}

/* レスポンシブ対応 */
@media (max-width: 767.98px) {
  .staff-info-section {
    padding: 15px;
  }
  
  .progress-legend {
    flex-direction: column;
    gap: 8px;
  }
  
  .legend-item {
    width: 100%;
    padding: 8px 10px;
  }
  
  .legend-text {
    font-size: 12px;
  }
  
  .staff-count,
  .staff-avg-age {
    font-size: 24px;
  }
}

@media (max-width: 575.98px) {
  .progress {
    height: 20px;
  }
  
  .staff-count,
  .staff-avg-age {
    font-size: 20px;
  }
}

/* 求人カード - 雇用形態バッジ */
.job-type {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  min-width: 90px;
}

.job-type.full-time {
  background-color: #1a73e8;
}

.job-type.part-time {
  background-color: #34a853;
}

.job-type.contract {
  background-color: #f1c40f;
  color: #333;
}

.job-type.temporary {
  background-color: #e67e22;
}

.job-type.intern {
  background-color: #9b59b6;
}

.job-type.outsourcing {
  background-color: #00acc1;
}

.job-type.other {
  background-color: #607d8b;
}
