/* ==========================================================================
   代表・村本秀克 プロフィールページ専用 CSS
   ========================================================================== */

/* 1. プロフィールヒーロー
   ========================================================================== */
.profile-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.profile-hero__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 28, 54, 0.5) 0%, rgba(10, 28, 54, 0.9) 100%);
  z-index: 2;
}

.profile-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  color: var(--color-text-light);
  padding-top: 4rem;
}

.profile-hero__sub {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--color-sunset);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.profile-hero__title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

/* 2. 基本情報 & 経歴年表
   ========================================================================== */
.profile-section {
  padding: 8rem 0;
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(10, 28, 54, 0.05);
}

.profile-section.bg-sand {
  background-color: var(--color-sand);
}

.profile-card {
  background-color: var(--color-white);
  border: 1px solid rgba(10, 28, 54, 0.06);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  padding: 4rem;
  margin-bottom: 4rem;
}

.profile-card__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-ocean);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(10, 28, 54, 0.1);
  padding-bottom: 0.8rem;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-meta-item strong {
  color: var(--color-ocean);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
}

.profile-meta-item span {
  font-size: 1rem;
  color: var(--color-text-dark);
}

/* 年表テーブル */
.timeline-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.timeline-table tr {
  border-bottom: 1px solid rgba(10, 28, 54, 0.06);
}

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

.timeline-table td {
  padding: 1.5rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  vertical-align: top;
}

.timeline-table td.year {
  width: 25%;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-sunset);
  letter-spacing: 0.05em;
}

.timeline-table td.event {
  width: 75%;
  line-height: 1.7;
}

/* 3. ビジネス背景 & 想い
   ========================================================================== */
.bio-wrapper {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.bio-content {
  flex: 1.2;
}

.bio-img-box {
  flex: 1;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(10, 28, 54, 0.05);
}

.bio-text {
  font-size: 1rem;
  color: var(--color-text-dark);
  line-height: 2.1;
  text-align: justify;
}

.bio-text p {
  margin-bottom: 2rem;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

/* 4. レスポンシブ (Responsive Design)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .bio-wrapper {
    flex-direction: column;
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .profile-hero__title {
    font-size: 2.2rem;
  }
  
  .profile-card {
    padding: 2.5rem 1.5rem;
  }

  .profile-meta-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* テーブルをブロック化して縦並びにする */
  .timeline-table, .timeline-table tbody, .timeline-table tr, .timeline-table td {
    display: block;
    width: 100%;
  }

  .timeline-table tr {
    padding: 1.5rem 0;
  }

  .timeline-table td {
    padding: 0;
  }

  .timeline-table td.year {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .timeline-table td.event {
    font-size: 0.9rem;
  }
}

/* 非公式サイトの免責文用スタイル */
.site-disclaimer {
  max-width: 960px;
  margin: 3rem auto 1.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  text-align: center;
}

.site-disclaimer p {
  margin: 0;
}
