@charset "utf-8";


.character {
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 5rem;
	padding-right: 5rem;
    padding-left: 5rem;
    padding-bottom: 5rem;
    gap: 2rem;
	animation: fadeInUp 0.6s ease-out forwards;
    }

.pose-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start; /* 縦位置を揃える（必要なら） */
}
.pose-gallery img {
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain; /* 念のため。比率崩れ防止 */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.img-box {
  width: 200px;
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.back-button {
  display: block;
  padding: 10px 20px;
  background-color: #000000; /* 青系。好きに変えてOK */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 999px; /* 完全な角丸（pill型） */
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  width: fit-content;
  margin: 50px auto ; /* 上だけ余白、左右自動＝中央 */
}


.back-button:hover {
  background-color: #ffffff; /* ホバー時に少し濃く */
  color: #000000;

}

