/* ====== ABOUT PAGE SPECIFIC STYLES ====== */

/* ---------- Page Hero ---------- */
.about-hero {
  position: relative;
  margin-top: var(--header-height);
  background: var(--color-primary);
  padding: 80px 0 80px;
  overflow: hidden;
}

.about-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 2;
}

.about-hero__title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 2;
}


/* ---------- Greeting Section ---------- */
.about-greeting {
  background: var(--color-bg);
  padding: 80px 0;
}

.about-greeting__card {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-greeting__photo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.about-greeting__photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #eee;
}

.about-greeting__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-greeting__name-block {
  text-align: center;
}

.about-greeting__role {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.about-greeting__name {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.about-greeting__name-en {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.about-greeting__text-area {
  padding-top: var(--space-md);
}

.about-greeting__heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.24em;
  margin-bottom: var(--space-xl);
}

.about-greeting__body {
  font-size: var(--font-size-base);
  line-height: 2.4;
  color: var(--color-text);
}

.about-greeting__body p + p {
  margin-top: var(--space-lg);
}

/* ---------- Overview Section ---------- */
.about-overview {
  background: var(--color-bg);
  padding: 0 0 80px;
}

.about-overview__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.24em;
  margin-bottom: var(--space-3xl);
}

.about-overview__table {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 60px 80px;
}

.about-overview__row {
  display: flex;
  align-items: baseline;
  gap: 80px;
  padding-bottom: 20px;
  border-bottom: 1px solid #a6a6a6;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.about-overview__row + .about-overview__row {
  margin-top: 20px;
}

.about-overview__label {
  width: 200px;
  flex-shrink: 0;
  color: var(--color-primary);
  letter-spacing: 0.24em;
  text-align: center;
}

.about-overview__value {
  color: var(--color-text);
  flex: 1;
}

/* ---------- History Section ---------- */
.about-history {
  background: var(--color-bg);
  padding: 0 0 100px;
}

.about-history__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 0.24em;
  margin-bottom: var(--space-3xl);
}

.about-history__list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.about-history__item {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.about-history__year {
  width: 120px;
  flex-shrink: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
  padding-right: 28px;
  padding-top: 24px;
  line-height: 1;
}

.about-history__dot {
  position: relative;
  width: 40px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.about-history__dot::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ddd;
  transform: translateX(-50%);
}
.about-history__dot::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.about-history__item:first-child .about-history__dot::before {
  top: 28px;
}
.about-history__item:last-child .about-history__dot::before {
  bottom: calc(100% - 44px);
}

.about-history__content {
  flex: 1;
  background: rgba(252, 125, 39, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin: 8px 0;
  margin-left: 20px;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  line-height: 2;
}

.about-history__month {
  display: inline;
  margin-right: var(--space-sm);
}

.about-history__desc {
  display: inline;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-greeting__card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-greeting__photo-area {
    justify-self: center;
  }
  .about-greeting__text-area {
    padding-top: 0;
    text-align: left;
  }
  .about-overview__table {
    padding: 40px 32px;
    margin: 0 var(--space-xl);
  }
  .about-overview__row {
    flex-direction: column;
    gap: 4px;
  }
  .about-overview__row {
    font-size: var(--font-size-sm);
  }
  .about-overview__label {
    width: auto;
    text-align: left;
  }
  .about-history__year {
    width: 80px;
    font-size: 1.5rem;
    padding-right: 16px;
    padding-top: 20px;
  }
  .about-history__dot::after {
    top: 24px;
    width: 12px;
    height: 12px;
  }
  .about-history__item:last-child .about-history__dot::before {
    bottom: calc(100% - 36px);
  }
  .about-history__content {
    padding: 20px 24px;
    margin-left: 12px;
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 600px) {
  .about-hero { padding: 60px 0 60px; }
  .about-hero__title { font-size: 24px; }
  .about-greeting__card { padding: 0 20px; }
  .about-greeting__heading { font-size: 24px; }
  .about-overview__title { padding: 0 20px; font-size: 24px; }
  .about-overview__table { margin: 0; padding: var(--space-xl) var(--space-lg); }
  .about-history__list { padding: 0; }
  .about-history__year {
    width: 56px;
    font-size: 1.1rem;
    padding-right: 10px;
    padding-top: 18px;
  }
  .about-history__dot { width: 28px; }
  .about-history__dot::after {
    top: 20px;
    width: 10px;
    height: 10px;
  }
  .about-history__item:last-child .about-history__dot::before {
    bottom: calc(100% - 30px);
  }
  .about-history__content {
    padding: 16px 20px;
    margin-left: 8px;
  }
  .about-history__title { font-size: 24px; }
}
