

/* セクション共通 */
.character-section {
  width: 90vw;
  max-width: 1200px;
  padding: 40px;
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
}

/* レイアウト */
.character-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

/* --- 立ち絵＆グロー --- */
.character-visual {
  flex: 1 1 300px;
  text-align: center;
  position: relative;
}

.glow img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 0 30px var(--main-color))
          drop-shadow(0 0 60px color-mix(in srgb, var(--main-color) 50%, transparent));
  transition: 0.8s ease;
}

.glow img:hover {
  filter: drop-shadow(0 0 50px var(--main-color))
          drop-shadow(0 0 100px color-mix(in srgb, var(--main-color) 70%, transparent));
}


/* ────────────────
  立ち絵サムネ・ボタン
──────────────── */

.outfit-sumb {
    padding: 0;
    width: 50px;
    height: 50px;
    border: 3px dotted #443D59;
    border-radius: 88% 12% 88% 12% / 11% 89% 11% 89%;
    transition: transform 0.2s;
    overflow: hidden; /* はみ出し防止（重要） */
}

/* 内側のラッパーをボタンいっぱいに広げる */
.outfit-sumb .img-wrap {
    width: 55px;
    height: 55px;
    margin: -5px 0px 0px -5px;
    /* imgだけクリップしないように矩形のまま */
    border-radius: 0;
    overflow: hidden; /* ← 必要なら切ってもいい */
}

/* 画像は普通にフィットさせる */
.outfit-sumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.outfit-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}


.outfit-sumb:hover,
.outfit-sumb.active {
transition: transform 0.2s;
  transform: scale(1.05);
}

/* ────────────────
  キャラ情報部分
──────────────── */
.character-info {
padding: 30px;
    border-radius: 30px;
    background-color: rgba(255,255,255,0.15);
}




/* キャラカラードットセット */

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.color-dot:hover {
  transform: scale(1.1);
}


.char-description p,
.char-free p {
  margin-top: 5px;
  line-height: 1.7;
}


/* YouTube */
.char-videos {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}

/* フェードアップ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}




.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 左右2列 */
  gap: 16px 40px; /* 行と列の間隔（調整可） */
  align-items: start;
}

.profile-item p {
  margin: 0;
  line-height: 1.6;
  white-space: nowrap; /* 改行防止（長すぎたら削ってOK） */
}

.color-set {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.color-line {
  display: flex;
  align-items: center; /* 丸と文字の縦位置を揃える */
  gap: 6px;           /* 丸の間隔 */
  margin: 0;           /* 上下余白は必要に応じて調整 */
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #ddd;
}

@media (max-width: 600px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}