/* 会社概要页面样式 */

/* 导入响应式样式 */
@import url('./about-desktop.css') screen and (min-width: 769px);
@import url('./about-mobile.css') screen and (max-width: 768px);

/* 确保main标签可见 */
main {
  min-height: 100vh;
  display: block;
  width: 100%;
}

/* 会社概要区域 - 共通样式 */
.about-hero {
  background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
  position: relative;
}

.about-container-area {
  max-width: 1000px;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 1rem;
}

.about-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.about-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.about-content-box {
  background: #ffffff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-content-box h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary-color);
}

.about-content-box p {
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* 公司信息表格样式 */
.company-info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 3rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.company-info-table tr {
  transition: background-color 0.2s ease;
}

.company-info-table tr:hover {
  background-color: #f9fffe;
}

.company-info-table th {
  text-align: left;
  padding: 1.3rem 1.8rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-weight: 600;
  color: #2c3e50;
  border: 1px solid #dee2e6;
  border-right: 3px solid var(--primary-color);
  width: 160px;
  vertical-align: top;
  position: relative;
}

.company-info-table th::before {
  content: '●';
  color: var(--primary-color);
  margin-right: 0.5rem;
  font-size: 0.7rem;
}

.company-info-table td {
  padding: 1.3rem 1.8rem;
  color: #495057;
  border: 1px solid #dee2e6;
  line-height: 1.9;
  background-color: #ffffff;
}

.company-info-table tr:first-child th {
  border-top-left-radius: 10px;
}

.company-info-table tr:first-child td {
  border-top-right-radius: 10px;
}

.company-info-table tr:last-child th {
  border-bottom-left-radius: 10px;
}

.company-info-table tr:last-child td {
  border-bottom-right-radius: 10px;
}

/* 公司描述区域样式 */
.company-description {
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fbf9 0%, #ffffff 100%);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-description p {
  line-height: 2;
  color: #2c3e50;
  margin-bottom: 1.8rem;
  font-size: 1.02rem;
  text-align: justify;
  position: relative;
  padding-left: 1rem;
}

.company-description p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 4px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.company-description p:last-child {
  margin-bottom: 0;
}

.about-buttons {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
}

/* 覆盖深色主题样式,使按钮在白色content-box中可见 */
.about-content-box .btn,
.about-content-box .btn-primary,
.about-content-box .btn-outline {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* 桌面端hover效果 */
@media (min-width: 769px) {
  .about-content-box .btn:hover,
  .about-content-box .btn-primary:hover,
  .about-content-box .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
  }
}
