@charset "UTF-8";

/* メインエリア共通設定 */
.main-img-container {
  overflow: hidden;
  width: 300px;
  height: 300px;
  border-radius: 2%;
  border: 5px solid #4da6ff;
}

/* アニメーション */
.slide-in {
  animation: slideSide 0.5s ease-out;
}

@keyframes slideSide {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* サムネイル */
.thumb-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.thumb-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.thumb-img:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.member-detail-main {
  width: 100%;
  min-height: 100vh;
  background: url('../img/member/member.png') no-repeat center center / cover fixed;
  display: flex;
  align-items:center;
  justify-content: center;
}

.detail-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

/* 画像の「枠」設定 */
.main-img-container {
  overflow: hidden;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border-width: 5px;
  border-style: solid;
  /* background-color: #eee; 読み込み中用 */
}

/* 画像設定 */
.main-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* アニメーション */
.slide-in {
  animation: slideSide 0.5s ease-out;
}

@keyframes slideSide {
  0% { transform: translateX(-100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* --- メンバーごとの色指定 --- */
.is-1 .main-img-container { border-color: #4da6ff; }
.is-2 .main-img-container { border-color: #ffcc00; }
.is-3 .main-img-container { border-color: #ffbcdd; }

.detail-right {
  justify-content: flex-start;
  margin-top: 25px;
  margin-bottom: 10px;
}

/* SNSアイコン共通 */
.member-sns {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 25px;
  position: relative;
  z-index: 10;
}

/* SNSアイコンサイズと動き */
.sns-icon img {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease;
}

/* SNSアイコンホバー時の動き */
.sns-icon:hover img {
  transform: scale(1.1);
}

/* メンバーごとの名前のスタイル */
.detail-name {
  font-family: "DotGothic16", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* プロフィールリスト調整 */
.profile-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 40px;
  align-items: center;
  margin-bottom: 20px;
}

/* 戻るボタン */
.back-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 40px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
  border-width: 2px;
  border-style: solid;
}

/* メンバーごとの指定 */
/* 1 */
.is-1 .detail-left img {
  border-color: #4da6ff;
}
.is-1 .detail-name {
  border-bottom: 2px solid #4da6ff;
}
.is-1 .profile-list dt {
  color: #4da6ff;
}
.is-1 .back-button {
  background-color: #4da6ff;
  border-color: #4da6ff;
}
.is-1 .back-button:hover {
  background-color: transparent;
  color: #4da6ff;
}

/* 2 */
.is-2 .detail-left img {
  border-color: #ffcc00;
}
.is-2 .detail-name {
  border-bottom: 2px solid #ffcc00;
}
.is-2 .profile-list dt {
  color: #ffcc00;
}
.is-2 .back-button {
  background-color: #ffcc00;
  border-color: #ffcc00;
}
.is-2 .back-button:hover {
  background-color: transparent;
  color: #ffcc00;
}

/* 3 */
.is-3 .detail-left img {
  border-color: #ffbcdd;
}
.is-3 .detail-name {
  border-bottom: 2px solid #ffbcdd;
}
.is-3 .profile-list dt {
  color: #ffbcdd;
}
.is-3 .back-button {
  background-color: #ffbcdd;
  border-color: #ffbcdd;
}
.is-3 .back-button:hover {
  background-color: transparent;
  color: #ffbcdd;
}
