.p-sponsors {
padding: min(9.375vw, 180px) 2rem;
	max-width: var(--container-max);
    margin-inline: auto;
	border-top: 1px solid rgba(0,0,0,.5);
}

.p-sponsors__eyebrow {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-align: left;
  font-weight: 300;
  color: var(--color-accent);
	margin-bottom: 1rem;
}

@media (min-width: 1024px) {
.p-sponsors__eyebrow {
  font-size: var(--font-size-23);
}
}
.p-sponsors__title {
  margin-top: 0.4rem;
  margin-bottom: 5rem;
  font-size: 2.4rem;
	font-weight: 300;
}

@media (min-width: 1024px) {
.p-sponsors__title {
  font-size: var(--font-size-36);
  margin-bottom: 10rem;
	}
	}
.p-sponsors__tiers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
.p-sponsors__tiers {
	gap: 6rem;
	margin-bottom: 15rem;
	}
}

/* 段（tier）共通設定。段ごとに --logo-height でロゴサイズを変える */
.p-sponsors__tier {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  width: 100%;
}

/* 1段目(1個・最大) → 5段目(7個・最小)に向けて段階的に縮小 */
.p-sponsors__tier--1 { --logo-height: 29rem; }
.p-sponsors__tier--2 { --logo-height: 11.5rem; }
.p-sponsors__tier--3,
.p-sponsors__tier--4,
.p-sponsors__tier--5 { --logo-height: 9rem; }

.p-sponsors__item {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 極端に横長のロゴが大きくなりすぎないための保険 */
  max-width: calc(var(--logo-height) * 3.5);
}

/*
 * 形状別のサイズ倍率。横型（代表比率 約2.5:1）を基準=1とし、
 * 「段内でロゴの面積が揃う」よう 倍率 = √(2.5 ÷ 代表比率) で算出している。
 *   縦型 代表0.8 → 1.77 / 正方形寄り 代表1.2 → 1.44 / 極端な横長 代表6 → 0.65
 * 見え方を調整したい場合はこの数値だけ変更する。
 */
.p-sponsors__item--portrait  { --logo-scale: 1.77; }
.p-sponsors__item--square    { --logo-scale: 1.44; }
.p-sponsors__item--landscape { --logo-scale: 1; }
.p-sponsors__item--wide      { --logo-scale: 0.65; }

.p-sponsors__item img {
  height: calc(var(--logo-height) * var(--logo-scale, 1));
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.p-sponsors__item img:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
.p-sponsors__tiers {
	gap: 3rem;
	}
.p-sponsors__tier {
	gap: 1rem;
	}
.p-sponsors__tier--1 { --logo-height: 14rem; }
.p-sponsors__tier--2 { --logo-height: 5.5rem; }
.p-sponsors__tier--3,
.p-sponsors__tier--4,
.p-sponsors__tier--5 { --logo-height: 4rem; }
}
.p-sponsors__credit {
  font-size: 1.4rem;
  line-height: 1.8;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
.p-sponsors__credit {
  font-size: var(--font-size-28);
	}
	}