@charset "UTF-8";
/* CSS Document */
body {
  margin: 0;
  padding: 0;
}
.bg-pattern {
  background-image: url("../img/bg-top.jpg");
}
.bg-red {
  background: #961708;
}
.bg-red-light {
  background: #cb0211;
}
.margin-top {
  margin-top: 3rem;
}
.br_sp {
	display: none;
}
.section-wrap {
  margin: 0 auto;
  padding: 0 0 5rem 0;
  max-width: 800px;
  width: 90%;
}
.section-lead {
  font-size: 1.2rem;
  margin-bottom: 3rem;
}
.hero {
  margin: 0;
  padding: 0 0 5rem 0;
}
.hero-logo {
  padding: 2rem;
}
.hero-inner {
  position: relative;
  width: 904px;
  height: 697px;
  margin: 0 auto;
}
.image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  height: auto;
  opacity: 0; /* 最初は透明 */
}
.is-ready .image {
  animation: fadeIn 1.2s ease forwards;
}
.is-ready .main-img__title {
  animation-delay: 0s;
}
.is-ready .main-img__players {
  animation-delay: 0.5s; /* 遅延をここで調整 */
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.hero-txt {
  font-weight: normal;
  font-size: 1.6rem;
  text-align: center;
  color: #fff;
}
.hero-txt span {
  font-size: 18px;
}
.hero-nav {
  display: flex;
  max-width: 1000px;
  width: 90%;
  margin: 3rem auto;
}
.hero-nav-btn {
  width: 23%;
  color: white;
  text-decoration: none;
  border-top: 1px solid white;
  padding: 10px 0;
  margin: 1%;
  text-align: left;
  background-image: url("../img/arrow.svg");
  background-repeat: no-repeat;
  background-position: right 10px top 10px;
}
.hero-nav-btn:hover {
  background-position: right 10px top 15px;
}
.about {
  color: white;
  margin: 0;
  padding: 5rem 0;
  text-align: center;
}
.co-sponsors {
  position: relative;
  background: white;
  padding: 2rem;
  margin: 3rem 0 -14rem;
}
.co-sponsors img {
  margin: 0 auto;
  max-width: 482.8px;
  width: 90%;
  height: auto;
}
.players {
  margin: 0;
  padding: 10rem 0 5rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  justify-items: center;
}
.circle {
  background: none;
  border: none;
}
.circle img {
  margin-bottom: 1rem;
}
.circle:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .5));
}
.circle cap {
  color: white;
}
/* モーダル */
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  z-index: 100;
}
.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.dialog {
  width: min(680px, 92vw);
  background: #111;
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .5);
  transform: translateY(12px);
  transition: transform .2s ease;
}
.modal[aria-hidden="false"] .dialog {
  transform: translateY(0);
}
.dialog__media {
  position: relative;
  aspect-ratio: 16/9;
  background: #222;
}
.dialog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dialog__body {
  padding: 20px 20px 24px;
}
.dialog__title {
  font-size: clamp(18px, 2.8vw, 24px);
  margin: 0 40px 6px 0;
  line-height: 1.35;
}
.dialog__sub {
  color: #ddd;
  margin: 0 40px 14px 0;
  font-size: 14px;
}
.dialog__text {
  color: #ddd;
  line-height: 1.8;
}
.dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 0;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.dialog__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
/* アクセシビリティ補助（スクリーンリーダー用） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.program {
  position: relative;
  text-align: center;
  background: white;
  padding: 10px;
  box-shadow: 1px 1px 15px 5px #961708;
}
.program-inner {
  border: 1px solid #961708;
  padding: 4px;
}
.program-inner_inner {
  border: 1px solid #961708;
  padding: 3rem;
}
.program-title {
  color: #961708;
}
.program-title__line {
  margin-top: 3rem;
  border-top: 1px solid #961708;
  padding: 3rem 0 0 0;
}
.program-related {
  background-color: #961708;
  color: white;
  background-color: #400708;
  padding: 13rem 0 0 0;
  margin-top: -20rem;
}
.program-related h3 {
  padding: 1rem 0;
  border-bottom: 1px solid white;
  font-weight: normal;
  font-size: 1.5rem;
}
.program-related h4 {
  padding: 0.3rem 1rem;
  font-weight: normal;
  background-color: #961708;
  display: inline-block;
}
.txt-white {
  color: white;
}
.player-title {
	text-align: center;
}
.ticket-txt p {
  text-align: center;
}
.caution {
	font-size: 0.9rem;
	text-align: left;
	margin-top: 3rem;
}
.download {
	max-width: 300px;
	width: 70%;
	height: auto;
	padding: 5rem 0;
	margin: 0 auto;
}
.download p {
	padding: 0;
	margin: 0 0 1rem 0;
	text-align: center;
	color: white;
}
@media (max-width:900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner {
    width: 520px;
    height: 401px;
    margin-bottom: 2rem;
  }
  .main-img__title {
    width: 300px;
    height: auto;
  }
  .main-img__players {
    width: 700px;
    height: auto;
  }
}
@media (max-width:520px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .section-lead {
    text-align: left;
  }
  .hero-inner {
    width: 350px;
    height: 270px;
    margin-bottom: 2rem;
  }
  .main-img__title {
    width: 200px;
  }
  .main-img__players {
    width: 450px;
  }
  .hero-nav {
    flex-wrap: wrap;
  }
  .hero-nav-btn {
    width: 44%;
  }
  .program-inner_inner {
    padding: 3rem 1rem;
  }
  .ticket-txt p {
    text-align: left;
  }
	.br_sp {
	display: inline;
}
}