/* ============================================
   会社概要ページ用CSS
   Lightning子テーマ - 株式会社無垢
   ============================================ */

.page-template-page-company {
  font-family: 'Noto Sans JP', sans-serif;
}

/* Hero Section */
.page-template-page-company .hero {
  padding: 80px 0;
}

.page-template-page-company .hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-template-page-company .hero p {
  color: #fff;
  font-size: 18px;
  opacity: 0.95;
}

/* Section Styles */
.page-template-page-company .section {
  padding: 80px 0;
}

.page-template-page-company .section-title {
  font-size: 32px;
  margin-bottom: 32px;
  color: #2c3e50;
  font-weight: 700;
}

.page-template-page-company .section-title:first-child {
  font-size: 36px;
  margin-bottom: 24px;
}

.page-template-page-company .section p {
  font-size: 17px;
  line-height: 1.9;
  color: #555;
}

/* Company Table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.company-table tr {
  border-bottom: 1px solid #e8e8e8;
}

.company-table th {
  width: 200px;
  padding: 18px 24px;
  background: #f5f5f5;
  text-align: left;
  font-weight: 600;
  color: #2c3e50;
}

.company-table td {
  padding: 18px 24px;
  color: #333;
}

/* Business List */
.business-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.business-item {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

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

.business-number {
  font-size: 28px;
  font-weight: 700;
  color: #337ab7;
  line-height: 1;
  min-width: 50px;
}

.business-title {
  font-size: 17px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.5;
  flex: 1;
}

/* History List */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.history-item {
  display: flex;
  gap: 48px;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  transition: background 0.2s ease;
}

.history-item:hover {
  background: #fafafa;
}

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

.history-year {
  font-size: 15px;
  font-weight: 700;
  color: #337ab7;
  min-width: 120px;
}

.history-content {
  font-size: 16px;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.6;
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .page-template-page-company .hero h1 {
    font-size: 32px;
  }

  .company-table {
    display: block;
    border: 1px solid #e0e0e0;
  }

  .company-table tbody {
    display: block;
  }

  .company-table tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
  }

  .company-table tr:last-child {
    border-bottom: none;
  }

  .company-table th {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: #f5f5f5;
    color: #2c3e50;
    font-size: 13px;
    font-weight: 700;
    border: none;
    text-align: left;
  }

  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    border: none;
  }

  .history-item {
    flex-direction: column;
    gap: 8px;
  }

  .history-year {
    min-width: auto;
  }
}
