/* ===== About Page Styles ===== */

/* Base */
.about-page {
  background-color: #fff;
}

/* Profile Section */
.profile {
  padding: 60px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about__title {
  font-size: 24px;
  font-weight: 700;
  color: #c12822;
  margin: 0 0 40px;
  text-align: center;
}

/* ===== シンプルな言語切り替えトグル ===== */
.lang-toggle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0 40px;
  gap: 8px;
}

.lang-toggle-switch {
  display: flex;
  background: #f5f5f5;
  border-radius: 25px;
  padding: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #666;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  outline: none;
  position: relative;
  z-index: 2;
  min-width: 50px;
}

.lang-btn.active {
  background: #fff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-weight: 600;
}

.lang-btn:not(.active):hover {
  color: #333;
}

/* Translate ラベル */
.translate-label {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Profile Image */
.profile__image {
  width: 280px;
  height: 280px;
  margin: 0 auto 40px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

/* Profile Content */
.profile__name-wrapper {
  text-align: center;
}

.profile__name {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 24px;
  color: #333;
}

.profile__text {
  max-width: 600px;
  margin: 0 auto;
}

.profile__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin: 0;
}

/* Biography Section */
.biography {
  padding: 60px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.biography__title {
  font-size: 1.8rem;
  font-weight: normal;
  color: #c12822;
  margin: 0 0 40px;
  text-align: center;
}

.biography__timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.timeline-item__year {
  font-size: 1.1rem;
  font-weight: bold;
  color: #c12822;
  flex-shrink: 0;
  width: 80px;
}

.timeline-item__content {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile {
    padding: 40px 16px;
  }

  .profile__image {
    width: 220px;
    height: 220px;
  }

  .profile__name {
    font-size: 1.6rem;
  }

  .biography {
    padding: 40px 16px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 8px;
  }

  .timeline-item__year {
    width: auto;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about__title,
  .biography__title {
    font-size: 1.4rem;
  }

  .lang-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    min-width: 45px;
  }

  .translate-label {
    font-size: 0.7rem;
  }

  .profile__image {
    width: 200px;
    height: 200px;
  }
}
