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

/* ---------- HERO ---------- */
.cp-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}
.cp-hero-bg {
  position: absolute;
  inset: 0;
}
.cp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,53,0.82) 0%, rgba(26,95,168,0.55) 100%);
}
.cp-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.cp-hero-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.cp-hero-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cp-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  background: var(--gray);
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumb a {
  color: var(--primary);
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 0.7; }
.bc-sep {
  margin: 0 8px;
  font-size: 0.7rem;
  color: var(--gray2);
}

/* ---------- SECTION ---------- */
.cp-section {
  padding: 80px 0;
}
.cp-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.cp-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 8px;
}
.cp-title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
}
.cp-line {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* ---------- TABLE ---------- */
.cp-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(26,95,168,0.10);
}
.cp-table {
  width: 100%;
  border-collapse: collapse;
}
.cp-table th,
.cp-table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray2);
  text-align: left;
  line-height: 1.7;
}
.cp-table tr:last-child th,
.cp-table tr:last-child td {
  border-bottom: none;
}
.cp-table th {
  width: 200px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.cp-table th i {
  color: var(--accent);
  margin-right: 8px;
  width: 16px;
  text-align: center;
}
.cp-table td {
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
}
.cp-table td a {
  color: var(--primary);
  font-weight: 700;
}
.cp-table td a:hover { text-decoration: underline; }
.cp-table tr:hover td { background: #f0f6ff; }

/* ---------- MAP ---------- */
.cp-map-section { padding: 0 0 80px; }
.cp-map-header {
  padding: 40px 24px 24px;
}
.cp-map-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.cp-map-header h3 i { color: var(--primary); margin-right: 8px; }
.cp-map-header p {
  font-size: 0.9rem;
  color: var(--text-light);
}
.map-embed iframe { display: block; }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .cp-table th {
    width: 120px;
    padding: 16px 14px;
    font-size: 0.82rem;
  }
  .cp-table td {
    padding: 16px 14px;
    font-size: 0.88rem;
  }
  .cp-hero { height: 240px; }
}
