/* ========================================
   会社について ページ専用スタイル
   ======================================== */

/* ---- Page Hero ---- */
.page-hero {
  padding-top: 72px;
  background: linear-gradient(135deg, var(--dark) 0%, #0d2a4a 100%);
  color: #fff;
  padding-bottom: 56px;
}

.page-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.page-hero-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  /* primary-light as color on dark bg */
  color: #7ec8f0;
}

.page-hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: #fff; }

/* ---- Page Tab Nav ---- */
.page-tab-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 100;
}

.page-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.page-tabs li a {
  display: block;
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.page-tabs li a:hover,
.page-tabs li a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---- Active Nav ---- */
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ---- Philosophy ---- */
.philosophy-block {
  max-width: 800px;
}

.philosophy-catch {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 40px;
  padding-left: 24px;
  border-left: 5px solid var(--primary);
}

.philosophy-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.philosophy-body p {
  font-size: 17px;
  line-height: 2.1;
  color: var(--text);
}

/* ---- Company Profile Table ---- */
.profile-table-wrap {
  max-width: 800px;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.profile-table tr {
  border-bottom: 1px solid var(--border);
}

.profile-table tr:first-child {
  border-top: 1px solid var(--border);
}

.profile-table th {
  width: 180px;
  padding: 22px 24px;
  text-align: left;
  font-weight: 700;
  color: var(--dark);
  background: var(--bg-gray);
  vertical-align: top;
  white-space: nowrap;
}

.profile-table td {
  padding: 22px 24px;
  color: var(--text);
  line-height: 1.9;
}

.profile-table td a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Exhibition History ---- */
.ex-year-block {
  margin-bottom: 64px;
}

.ex-year {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.15;
  margin-bottom: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ex-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ex-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.ex-item:first-child { border-top: 1px solid var(--border); }

.ex-item:hover {
  background: var(--primary-light);
  padding: 28px 16px;
  margin: 0 -16px;
}

.ex-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.ex-date {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
}

.ex-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0.05em;
}

.ex-badge-jp      { background: #e8f4fb; color: var(--primary); }
.ex-badge-overseas{ background: #fff3e0; color: #e65100; }
.ex-badge-online  { background: #f3e5f5; color: #7b1fa2; }
.ex-badge-upcoming{ background: #e8f5e9; color: #2e7d32; }

.ex-content {}

.ex-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.ex-location {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.ex-products {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  padding: 8px 12px;
  background: var(--bg-gray);
  border-radius: 6px;
  border-left: 3px solid var(--border);
}

/* upcoming style */
.ex-upcoming .ex-year { opacity: 1; font-size: 36px; color: #2e7d32; }
.ex-item-upcoming { background: #f9fdf9; }
.ex-item-upcoming:hover { background: #e8f5e9; }

/* ---- Exhibition Photos ---- */
.ex-photos {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.ex-photos img {
  width: 220px !important;
  height: 148px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .ex-photos img {
    width: calc(50% - 4px) !important;
    height: 120px !important;
  }
  .ex-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ex-meta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .profile-table th {
    width: 120px;
    padding: 16px 12px;
    font-size: 14px;
  }

  .profile-table td {
    padding: 16px 12px;
    font-size: 14px;
  }

  .page-tabs li a {
    padding: 16px 18px;
    font-size: 13px;
  }
}
