@charset "utf-8";
/* CSS Document */
.section{
	margin: 0 auto 20px;
	width: 300px;
}
.swiper{
	margin-top: 50px;
	width: 100%;
}
.swiper-slide{
	display: flex;
	justify-content: center;
	column-gap: 50px;
	width: 100%;
	box-sizing: border-box;
		overflow-x: hidden;
}
.character img{
	height: 450px;
	width: auto;
}
.name{
	font-size: 38px;
}
.cast{
	display: flex;
	column-gap: 20px;
}
.character-voice{
	font-size: 20px;
}
.character-illustlation{
	font-size: 20px;
	font-family: YakuHanMPs, "Shippori Mincho", "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ 明朝", "ＭＳ Ｐ明朝", "Noto Serif JP", serif;
	font-weight: bold
}
.cv{
	text-align: end;
	color: #FF63E9;
}
.illustration{
	color: #316DFF;
}
.character-text{
	margin-top: 50px;
	font-size: 20px;
	font-family: YakuHanMPs, "Shippori Mincho", "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ 明朝", "ＭＳ Ｐ明朝", "Noto Serif JP", serif;
	
}
.disc-pics{
	margin-top: 75px;
	column-gap: 20px;
	flex-wrap: wrap;
}
.disc-pics img{
	width: auto;
	height: 100px;
	opacity: 1;
	transition: opacity 1s ease;
}
.disc-pics img:hover{
	opacity: 0.5;
}
.swiper-button-next::after{
	display: none;
}
.swiper-button-prev::after{
	display: none;
}
.swiper-button-next img{
	width: 100px;
	height: auto;
}
.swiper-button-prev img{
	width: 100px;
	height: auto;
}
.swiper-button-next{
	margin-right: 60px;
	top: 575px;
}
.swiper-button-prev{
	margin-left: 60px;
	top: 575px;
}
.pagination {
  margin-top: 40px;
  display: flex;
  flex-direction: column; /* 上下に並べる */
  align-items: center;     /* 全体を中央寄せ */
  row-gap: 20px;
}
.pagination button {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
    }
.pagination img{
	width: 100px;
	opacity: 0.7;
    transition: opacity 0.3s;
}
.pagination button.active {
    color: white;
  }
.pagination img:hover {
    opacity: 1;
	cursor: pointer;
	
    }
.pagination .active img {
      opacity: 1;
}
.pagenation1,
.pagenation2 {
  display: flex;
  justify-content: flex-start; /* ボタン自体は左揃えに */
  column-gap: 20px;
  /* ↓ ここを修正 */
  width: auto;       /* もしくはこの行を削除 */
  max-width: 100%;   /* 任意：はみ出し防止 */
}
@media (max-width:768px){
.section{
	width: 200px;
	margin-top: 30px;
}
.swiper{
	margin-top: 10px;
}
.swiper-wrapper{
	height: 850px;
}
.swiper-slide{
	flex-direction: column;
	align-items: center;
}
.character img{
	height: 350px;
}
.name{
	font-size: 38px;
	text-align: center;
	margin-top: 20px;
}
.cast{
	display: flex;
	column-gap: 20px;
	text-align: center;
	justify-content: center;
}
.character-voice{
	font-size: 20px;
}
.character-illustlation{
	font-size: 20px;
}
.cv{
	text-align: end;
	color: #FF63E9;
}
.illustration{
	color: #316DFF;
}
.character-text{
	font-size: 13px;
	text-align: center;
	width: 90%;
    margin: auto;
	margin-top: 20px;
}
.disc-pics{
	width: 90%;
	margin: auto;
	margin-top: 30px;
	display: flex;
	justify-content: center;
	column-gap: 20px;
}
.disc-pics img{
	height: 80px;
}
.disk-pick img:hover{
	opacity: 0.5;
	transition: 2s;
}
.swiper-button-next img{
	width: 60px;
	height: auto;
}
.swiper-button-prev img{
	width: 60px;
	height: auto;
}
.swiper-button-next{
	margin-right: 20px;
	top: 500px;
}
.swiper-button-prev{
	margin-left: 20px;
	top: 500px;
}
.pagination{
	column-gap: 10px;
	row-gap: 10px;
	margin-top: 20px;
}
.pagination img{
	width: 55px;
}
.pagenation1,
  .pagenation2 {
    justify-content: center; /* スマホ時に中央揃えに切り替え */
    max-width: 100%;
    padding: 0 10px;
	column-gap: 10px;
  }
}
