/* =========================
  全体
========================= */
body{
	margin: 0;   /* ← これが必要 */
	padding:0;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0px;
  box-sizing: border-box;
}
#league-content {
  padding-top: 10px;
}


#league-content > div {
  display: grid;
  gap: 30px;
}
/* 初期状態（隠れている） */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

/* 表示状態 */
.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
  カードデザイン
========================= */
#league-content dl {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}


	 #league-content dl {
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
    text-align: center;   /* ← テキスト中央 */
  }


#league-content dl:hover {
  transform: translateY(-5px);
}
#league-content dl p {
  display: inline-block;
  font-weight: 800;
  color: #fff;
  background: #ff7a00;
  padding: 6px 14px;
  font-size: 20px;
  letter-spacing: 2px;
  border-radius: 4px;
}


.text-desigh {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

#league-content dd {
  margin-bottom: 15px;
  line-height: 1.7;
}
.charm-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* =========================
  メイン画像
========================= */
.top {
  width: 100%;
  margin-bottom: 40px;
}

/* =========================
  スマホ（縦並び）
========================= */
@media (max-width: 768px) {
.wrapper{
	width:100%;
	height:auto;
	padding:0;
	box-sizing: border-box;
}
  #league-content > div {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ← これが重要 */
  }

  #league-content dd {
    text-align: left;     /* ← 説明文だけ読みやすく左 */
  }
 .charm-image {
    width: 115%;      /* ← 少し大きく */
    max-width: none;  /* 100%制限を解除 */
    margin-left: -7.5%; /* 中央に戻す調整 */
  }

  

}

/* =========================
  PC（横並び）
========================= */
@media (min-width: 769px) {

  #league-content > div {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (min-width: 1100px) {

  #league-content > div {
    grid-template-columns: repeat(3, 1fr);
  }

}
