@charset "UTF-8";


/* ------------------------ BIOGRAPHYセクション ------------------------*/
.biography-content {
  display: flex;
  justify-content: center;
  gap: 48px;
  align-items: flex-start;
  margin: 56px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.3s;
}
/* 表示時 */
#biography.is-show .biography-content {
  opacity: 1;
  transform: translateY(0);
}



.biography-img {
  position: relative;
  overflow: hidden;
  flex: 0 0 40%;
  min-width: 280px;
  max-width: 480px;
  min-height: 380px;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s ease, transform 1s ease;
}
.biography-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.biography-text {
  flex: 1;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 表示時（両方中央へ） */
#biography.is-show .biography-img,
#biography.is-show .biography-text {
  opacity: 1;
  transform: translateX(0);
}

/* .biography-name {
  margin-bottom: 16px;
} */
.biography-text p {
  margin-bottom: 12px;
  line-height: 1.9;
}
.biography-text p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .biography-content {
    flex-direction: column;
    gap: 32px;
    margin-top: 0;
  }
  .biography-img {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: auto;
    aspect-ratio: 4 / 5;
    margin-top: -140px;
  }
  .biography-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .biography-text {
    padding: 0 24px;
    min-width: 320px;
    box-sizing: border-box;
    margin-top: -150px;
  }
  .biography-name {
    margin-bottom: 12px;
  }
  .biography-text p {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: clamp(14px, 3.5vw, 16px);
  }
}

@media screen and (max-width: 530px) {
  .biography-img {
    margin-top: -100px;
  }
  .biography-text {
    margin-top: -110px;
  }
}
