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

/* --- ページヒーロー --- */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--warm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(249, 115, 22, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(249, 115, 22, 0.04) 0%,
      transparent 50%
    );
}

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

.breadcrumb {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--primary-500);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 0.5rem;
}

.page-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: var(--font-size-lg);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* --- 会社紹介セクション --- */
.about-intro {
  padding: 5rem 0;
  background: #fff;
}

.about-intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-intro-text h2 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.about-intro-text p {
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 1rem;
}

.about-intro-text .company-name-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: 50px;
  color: var(--primary-700);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* --- 会社概要テーブル --- */
.info-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.info-table {
  max-width: 800px;
  margin: 3rem auto 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--gray-100);
}

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

.info-row .info-label {
  padding: 1.25rem 1.5rem;
  background: var(--gray-50);
  font-weight: 700;
  color: var(--navy-900);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  border-right: 1px solid var(--gray-100);
}

.info-row .info-value {
  padding: 1.25rem 1.5rem;
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

.info-row .info-value a {
  color: var(--primary-500);
}

.info-row .info-value a:hover {
  text-decoration: underline;
}

/* --- 代表者紹介 --- */
.profile-section {
  padding: 5rem 0;
  background: #fff;
}

.profile-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 3rem auto 0;
  align-items: start;
}

.profile-photo {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.profile-photo img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}

.profile-photo .name-plate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(41, 35, 38, 0.9), transparent);
  color: #fff;
}

.profile-photo .name-plate h3 {
  font-size: var(--font-size-xl);
  font-weight: 800;
}

.profile-photo .name-plate p {
  font-size: var(--font-size-xs);
  color: var(--gray-300);
}

.profile-detail h3 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.profile-detail .profile-role {
  font-size: var(--font-size-sm);
  color: var(--primary-500);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* 資格リスト */
.qualifications {
  margin-bottom: 2rem;
}

.qualifications h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qualifications ul {
  list-style: none;
}

.qualifications ul li {
  padding: 0.4rem 0;
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qualifications ul li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ごあいさつ文 */
.greeting-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.greeting-card {
  max-width: 800px;
  margin: 3rem auto 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.greeting-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.greeting-card p {
  color: var(--gray-600);
  line-height: 2.2;
  margin-bottom: 1rem;
  font-size: var(--font-size-sm);
}

.greeting-card .signature {
  text-align: right;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.greeting-card .signature .sign-role {
  font-size: var(--font-size-xs);
  color: var(--gray-400);
}

.greeting-card .signature .sign-name {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--navy-900);
}

/* --- 沿革（タイムライン） --- */
.history-section {
  padding: 5rem 0;
  background: #fff;
}

.history-timeline {
  max-width: 700px;
  margin: 3rem auto 0;
  position: relative;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 80px;
  width: 2px;
  background: var(--primary-200);
}

.history-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.history-year {
  width: 80px;
  min-width: 80px;
  text-align: right;
  padding-top: 0.3rem;
  font-size: var(--font-size-sm);
  font-weight: 800;
  color: var(--primary-600);
}

.history-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  background: var(--primary-500);
  border-radius: 50%;
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary-200);
}

.history-text {
  flex: 1;
  padding: 0.75rem 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- アクセスマップ --- */
.access-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.access-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 350px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

.access-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.access-info h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}

.access-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.access-info-item .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.access-info-item .text h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.access-info-item .text p {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  line-height: 1.6;
}

.access-info-item .text a {
  color: var(--primary-500);
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .page-hero {
    padding: 6rem 0 3rem;
  }

  .page-hero h1 {
    font-size: var(--font-size-2xl);
  }

  .about-intro-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-content {
    grid-template-columns: 1fr;
  }

  .access-content {
    grid-template-columns: 1fr;
  }

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

  .info-row .info-label {
    font-size: var(--font-size-xs);
    padding: 1rem;
  }

  .info-row .info-value {
    padding: 1rem;
  }

  .history-timeline::before {
    left: 60px;
  }

  .history-year {
    width: 60px;
    min-width: 60px;
    font-size: var(--font-size-xs);
  }
}
