/* general
=============================================== */

.sp-chapter {
  padding: 0 50px 30px 50px;
  border-top: 3px #000 solid;
  background-repeat: repeat, no-repeat;
  background-size: 33px 33px, 100% 100%;
}

.sp-chapter#chapter1 {
  background-image: url("../img/bg_grid.png"), url("../img/bg_index_grd1.jpg");
  border-top: none;
}
.sp-chapter#chapter2 {
  background-image: url("../img/bg_grid.png"), url("../img/bg_index_grd2.jpg");
}
.sp-chapter#chapter3 {
  background-image: url("../img/bg_grid.png"), url("../img/bg_index_grd3.jpg");
}

.sp-box {
  padding:0 0 50px 0;
}

.sp-sbox {
  padding:0 0 30px 0;
}

.sp-sbox.sp-content {
  max-width: 990px;
  margin: auto;
}

.sp-lead {
	padding-bottom: 0.7em;
	line-height: 170%;
}

.sp-text {
	padding-bottom: 0.7em;
	line-height: 170%;
  text-align: left;
}


/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

.sp-chapter {
  padding: 0 3%;
  background-size: 20px 20px, 100% 100%;
}

.sp-lead,
.sp-text {
  font-size: 90%;
  text-align: left;
}

}


/* sp-btn
-------------------------------- */

.sp-btn {
  margin: 20px 0;
  text-align: center;
}

.sp-btn a {
  display: inline-flex;
  align-items: stretch;
  min-width: 320px;
  min-height: 76px;
  border: 2px solid var(--cl-darkgray);
  border-radius: 4px;
  text-decoration: none;
  color: var(--cl-darkgray);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.sp-btn a:visited {
  color: var(--cl-darkgray);
}

.sp-btn-icon {
  width: 72px;
  border-left: 1px solid rgba(51, 54, 59, 0.25);
  background: var(--cl-darkgray) url("/asiangames/spotlight/img/ico_run_w.svg") center / 20px no-repeat;
}

.sp-btn-text {
  width: calc(100% - 56px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

@media (hover: hover) {
  .sp-btn a:hover {
    border-color: var(--cl-orange);
    color: var(--cl-orange) !important;
  }

  .sp-btn a:hover .sp-btn-icon {
    background: var(--cl-orange) url("/asiangames/spotlight/img/ico_sprint_w.svg") center / 32px no-repeat;
  }
}

@media all and (max-width: 767px) {
  .sp-btn {
    margin-top: 20px;
  }

  .sp-btn a {
    min-width: 270px;
    min-height: 60px;
    font-size: 16px;
  }

  .sp-btn-icon {
    width: 56px;
  }
}



/* mainttl
=============================================== */

:root {
  --mt-w:1440;
  --mt-h:1253;
}
#mainttl-wrap {
  position: relative;
  aspect-ratio: var(--mt-w) / var(--mt-h);
  background-image: url("../img/bg_grid.png"), url("../img/mainttl_bg.png");
  background-repeat: repeat, no-repeat;
  background-size: 33px 33px, cover;
  text-align: center;
}

#mainttl-catch {
  position: absolute;
  top: calc(74 / var(--mt-h) * 100%);
  width: 100%;
  font-size: calc(32 / var(--mt-w) * 100vw);
  font-weight: 700;
}

#mainttl {
  position: absolute;
  top: calc(144 / var(--mt-h) * 100%);
  left: calc(43 / var(--mt-w) * 100%);
  width: calc(1346 / var(--mt-w) * 100%);
  aspect-ratio: 2019 / 204;
  background-image: url(../img/mainttl.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
}

#mainttl-read {
  position: absolute;
  top: calc(370 / var(--mt-h) * 100%);
  width: 100%;
  font-size: calc(30 / var(--mt-w) * 100vw);
  line-height: 170%;
}

#mainttl-read p {
  margin: 0 0 1.9em 0;
}

#mainttl-read span {
  display: inline;
  background-color: #ee4d1f;
  color: #fff;
  font-weight: 700;
  padding: 0em 0.3em 0.1em 0.3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

#mainttl-wrap::before,
#mainttl-wrap::after {
  position: absolute;
  display: block;
  content: "";
  bottom: 0;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
}

#mainttl-wrap::before {
  left: 0;
  background-image: url(../img/mainttl_nino.png);
  width: calc(462 / var(--mt-w) * 100%);
  aspect-ratio: 693 / 1016;
}

#mainttl-wrap::after {
  right: 0;
  background-image: url(../img/mainttl_ishikawa.png);
  width: calc(441 / var(--mt-w) * 100%);
  aspect-ratio: 662 / 989;
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

:root {
  --mt-w-smp:375;
  --mt-h-smp:740;
}

#mainttl-wrap {
  aspect-ratio: var(--mt-w-smp) / var(--mt-h-smp);
  background-size: 20px 20px, cover;
}

#mainttl-catch {
  top: calc(30 / var(--mt-h-smp) * 100%);
  font-size: calc(14 / var(--mt-w-smp) * 100vw);
}

#mainttl {
  position: absolute;
  top: calc(60 / var(--mt-h-smp) * 100%);
  left: calc(60 / var(--mt-w-smp) * 100%);
  width: calc(282 / var(--mt-w-smp) * 100%);
  aspect-ratio: 564 / 230;
  background-image: url(../img/mainttl_smp.png);
}

#mainttl-read {
  top: calc(195 / var(--mt-h-smp) * 100%);
  font-size: calc(13 / var(--mt-w-smp) * 100vw);
}

#mainttl-read p {
  margin: 0 0 1.0em 0;
  line-height: 190%;
}

#mainttl-wrap::before {
  width: calc(179 / var(--mt-w-smp) * 100%);
  aspect-ratio: 693 / 930;
}

#mainttl-wrap::after {
  width: calc(163 / var(--mt-w-smp) * 100%);
}

}



/* pagelink
=============================================== */

#pagelink {
  border-bottom: 3px #000 solid;
}

#pagelink ul {
  margin: auto;
  max-width: 1220px;
  aspect-ratio: 1220 / 84;
  display: flex;
  flex-direction: row;
}

#pagelink ul li {
  width: calc(356 / 1220 * 100%);
  aspect-ratio: 356 / 84;
}

#pagelink ul li.active {
  width: calc(508 / 1220 * 100%);
  aspect-ratio: 508 / 84;
}

#pagelink ul li a {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
}

#pagelink ul li:nth-child(1) a {
  background-image: url(../img/pagelink1.png);
}
#pagelink ul li:nth-child(2) a {
  background-image: url(../img/pagelink2.png);
}
#pagelink ul li:nth-child(3) a {
  background-image: url(../img/pagelink3.png);
}

#pagelink ul li:nth-child(1).active a {
  background-image: url(../img/pagelink1_active.png);
}
#pagelink ul li:nth-child(2).active a {
  background-image: url(../img/pagelink2_active.png);
}
#pagelink ul li:nth-child(3).active a {
  background-image: url(../img/pagelink3_active.png);
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

#pagelink ul {
  aspect-ratio: 754 / 98;
  display: flex;
  flex-direction: row;
}

#pagelink ul li {
  width: calc(148 / 754 * 100%);
  aspect-ratio: 148 / 98;
}

#pagelink ul li.active {
  width: calc(458 / 754 * 100%);
  aspect-ratio: 458 / 98;
}

#pagelink ul li:nth-child(1) a {
  background-image: url(../img/pagelink_sp1.png);
}
#pagelink ul li:nth-child(2) a {
  background-image: url(../img/pagelink_sp2.png);
}
#pagelink ul li:nth-child(3) a {
  background-image: url(../img/pagelink_sp3.png);
}

#pagelink ul li:nth-child(1).active a {
  background-image: url(../img/pagelink_sp1_active.png);
}
#pagelink ul li:nth-child(2).active a {
  background-image: url(../img/pagelink_sp2_active.png);
}
#pagelink ul li:nth-child(3).active a {
  background-image: url(../img/pagelink_sp3_active.png);
}

}



/* movie-list
=============================================== */

.movie-list {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.movie-list li {
  width: calc((100% - 20px * 2) / 3);
  border: var(--cl-black) 1px solid;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, opacity 0.2s ease;
}

@media (hover: hover) {
  .movie-list li:has(a):hover {
    transform: translateY(4px);
    opacity: 0.7;
  }
}

.movie-list li a {
  display: block;
  color: var(--cl-black);
  text-decoration: none;

}

.news-item-image span {
  display: block;
  border-radius: 10px 10px 0 0;
  aspect-ratio: 16 / 9;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.news-video .news-item-image span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
  border-radius: 10px;
}

.news-video .news-item-image span::after {
  content: '▶';
  font-size: 3rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.news-item-content {
  padding: 1.0em;
  text-align: left;
}

.news-item-date {
  margin-bottom: 1em;
  font-size: 90%;
  color: var(--cl-orange);
}

.news-new {
  float: right;
  margin-top: -0.3em;
  width: 2.0em;
  aspect-ratio: 64 / 52;
  background: url(../img/top/news_new.png?) center center no-repeat;
  background-size: cover;
  text-indent: -9999px;
}

.news-text {
  line-height: 1.4;
}

.more-link {
  display: inline-block;
  margin-top: 1.0em;
  padding: 0.5em;
  border-bottom: var(--cl-black) 3px solid;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: var(--cl-black);
  transition: transform 0.2s, opacity 0.2s ease;
  text-decoration: none;
}

.more-link:visited,
.more-btn a,
.more-btn a:visited {
  color: var(--cl-black);
}

@media (hover: hover) {
  .more-link:hover {
    transform: translateY(4px);
    opacity: 0.7;
  }
}

.more-link::after {
  display: inline-block;
  content: "";
  margin: auto 0 -0.2em 0.2em;
  width: 1.2em;
  height: 1.2em;
  background: url(../../img/top/news_more.png) center center no-repeat;
  background-size: cover;
  vertical-align: baseline;
}

.more-link--external::after {
  display: none;
}


/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

  #news {
    padding: 0 15px 15px 15px;
  }

.movie-list {
    margin: 0 auto 20px auto;
  }

  .movie-list li {
    width: 100%;
    font-size: 90%;
  }

  .more-link {
    font-size: 16px;
  }

}



/* profsheet
=============================================== */

#profsheet-title {
  position: relative;
  z-index: 10;
  margin: 40px auto -50px auto;
  max-width: 957px;
  height: auto;
  aspect-ratio: 1497 / 245;
  background: url(../img/prof_title.png) no-repeat center center;
  background-size: contain;
  text-indent: -9999px;
}

#profsheet-box {
  margin: auto;
  padding: 60px 60px 30px 60px;
  box-sizing: border-box;
  max-width: 1200px;
  background: linear-gradient(135deg, #FFF29C 0%, #FFD261 100%);
}

#profsheet-item {
  aspect-ratio: 900 / 600;
}

#profsheet-item a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#profsheet-item a {
  background-image: url(../img/prof_kiryuyoshihide.webp);
}

#profsheet-item a::after {
  position: absolute;
  display: block;
  z-index: 1;
  bottom: -12.53%;
  right: -2%;
  content: "";
  width: 22.2%;
  aspect-ratio: 416 / 490;
  background-image: url(../img/profsheet_look.png);
  background-position:center center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

#profsheet-title {
  margin: 0 3% -4.0vw 3%;
}

#profsheet-box {
  padding: 5.0vw 4.0vw 1.5vw 4.0vw;
}

#profsheet-item a::after {
  bottom: -8%;
  width: 24%;
  aspect-ratio: 163 / 148;
  background-image: url(../img/profsheet_look_smp.png);
}

}



/* event
=============================================== */

.sp-event-bn {
  margin-bottom: 20px;
}

.sp-event-bn a {
  display: block;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
  transition: transform 0.2s, opacity 0.2s ease;
}

@media (hover: hover) {
.sp-event-bn a:hover {
    transform: translateY(4px);
    opacity: 0.7;
  }
}

#sp-bn-boshu a {
  aspect-ratio: 1120 / 586;
  background-image: url(../img/bn_oshigoto_boshu.jpg);
}

#sp-bn-museum a {
  aspect-ratio: 1120 / 396;
  background-image: url(../img/bn_oseru_museum.jpg);
}



/* watching
=============================================== */

#watching {
  padding-top: 40px;
}

.watching-box {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  margin: 0 auto 40px auto;
  padding: 40px;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: #fff;
}

.watching-img {
  width: 520px;
  aspect-ratio: 780 / 525;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#watching1 .watching-img {
  background-image: url(../img/watching1.png);
}
#watching2 .watching-img {
  background-image: url(../img/watching2.png);
}

.watching-box-r {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-left: 40px;
  text-align: left;
}

.watching-title {
  margin-bottom: 0.5em;
  font-size: 240%;
}

.watching-text {
  font-size: 130%;
  line-height: 1.6;
}

#btn-tickets {
  margin-top: 40px;
  width: 476px;
  aspect-ratio: 1064 / 227;
}

#btn-tickets a {
  display: block;
  width: 100%;
  height: 100%;
  background: url(../../img/top/btn_tickets.png) center center no-repeat;
  background-size: cover;
  text-indent: -9999px;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  #btn-tickets a:hover {
    opacity: 0.7;
  }
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

.watching-box {
  display: block;
  margin: 0 auto 20px auto;
  padding: 20px;
}

.watching-img {
  width: 100%;
  margin-bottom: 20px;
}

.watching-box-r {
  margin-left: 0;
}

.watching-title {
  font-size: 160%;
}

.watching-text {
  font-size: 100%;
}

#btn-tickets {
  margin-top: 20px;
  width: 100%;
}

}



/* apli
=============================================== */

#apli-title {
  font-size: 250%;
  margin-bottom: 0.5em;
}

#apli-lead {
  font-size: 110%;
  margin-bottom: 2.5em;
}

#apli-dgm {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap:5%;
}

#apli-dgm li {
  width: 30%;
  aspect-ratio: 552 / 614;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
}
#apli-dgm li:nth-child(1) {
  background-image: url(../img/apli1.png);
}
#apli-dgm li:nth-child(2) {
  background-image: url(../img/apli2.png);
}
#apli-dgm li:nth-child(3) {
  background-image: url(../img/apli3.png);
}


/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

#apli-title {
  font-size: 150%;
}

#apli-lead {
  font-size: 90%;
}

#apli-dgm {
  flex-direction: column;
  gap:2.0em 0;
}

#apli-dgm li {
  width: 100%;

}

}


/* related players
=============================================== */

.zindex {
  position: relative;
  z-index: 10;
}

.related-players {
  padding-bottom: 55px;
}

.related-players__inner {
  width: min(1200px, calc(100% - 60px));
  margin-inline: auto;
}

.related-players__title {
  margin: 0;
  color: var(--cl-white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.related-slider {
  margin-top: 10px;
}

.related-splide {
  width: 100%;
}

.related-splide .splide__slide {
  width: auto;
  min-width: 0;
  /* for shadow */
  padding-bottom: 8px;
}

.related-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 0;
  container-type: inline-size;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: #13213a;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
}

.related-card__media,
.related-card__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.related-card__media {
  position: absolute;
  inset: 0;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.related-card__media img {
  object-fit: contain;
}

.related-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.1) 12%, rgba(7, 10, 19, 0.28) 54%, rgba(6, 9, 16, 0.92) 100%);
}

.related-card__content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(10px, 1.95vw, 20px);
  text-align: left;
}

.related-card__name {
  margin: 0;
  font-size: clamp(12px, 1.95vw, 20px);
  font-weight: 700;
  line-height: 1.3;
}

.related-card__sport {
  margin-top: clamp(4px, 0.6vw, 6px);
  display: inline-flex;
  align-items: center;
  min-height: clamp(16px, 1.95vw, 20px);
  padding: 0 clamp(6px, 0.8vw, 8px);
  border-radius: 3px;
  background: var(--cl-orange);
  font-size: clamp(10px, 1.37vw, 14px);
  font-weight: 700;
}

.related-card__catchcopies {
  margin: clamp(4px, 0.6vw, 6px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.related-card__catchcopy {
  margin: 0;
  font-size: clamp(10px, 1.37vw, 14px);
  line-height: 1.4;
}

@supports (container-type: inline-size) {
  .related-card__content {
    padding: clamp(10px, 7.15cqw, 20px);
  }

  .related-card__name {
    font-size: clamp(12px, 7.15cqw, 20px);
  }

  .related-card__sport {
    margin-top: clamp(4px, 2.15cqw, 6px);
    min-height: clamp(16px, 7.15cqw, 20px);
    padding: 0 clamp(6px, 2.9cqw, 8px);
    font-size: clamp(10px, 5cqw, 14px);
  }

  .related-card__catchcopies {
    margin-top: clamp(4px, 2.15cqw, 6px);
  }

  .related-card__catchcopy {
    font-size: clamp(10px, 5cqw, 14px);
  }
}

.related-slider__controls {
  margin: 22px 0 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.related-slider__arrow {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .related-slider__arrow:hover {
    opacity: 0.7;
  }
}

.related-slider__arrow img {
  width: 50px;
  height: 50px;
  display: block;
  filter: brightness(0) saturate(100%) invert(20%) sepia(9%) saturate(583%) hue-rotate(182deg) brightness(92%) contrast(89%);

}

.related-slider__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
}

.related-slider__list-link {
  margin: 28px 0 0;
  text-align: center;
}

.related-slider__list-link a {
  display: inline-flex;
  align-items: stretch;
  min-width: 320px;
  min-height: 76px;
  border: 2px solid var(--cl-darkgray);
  border-radius: 4px;
  background-color: #fff;
  text-decoration: none;
  color: var(--cl-darkgray);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

@media (hover: hover) {
  .related-slider__list-link a:hover {
    border-color: var(--cl-orange);
    color: var(--cl-orange) !important;
  }
}

.related-slider__list-link a:visited {
  color: var(--cl-darkgray);
}

.related-slider__list-link a .related-slider__list-icon {
  width: 72px;
  border-left: 1px solid rgba(51, 54, 59, 0.25);
  background: var(--cl-darkgray) url("/asiangames/spotlight/img/ico_run_w.svg") center / 20px no-repeat;
}

@media (hover: hover) {
  .related-slider__list-link a:hover .related-slider__list-icon {
    background: var(--cl-orange) url("/asiangames/spotlight/img/ico_sprint_w.svg") center / 32px no-repeat;
  }
}

.related-slider__list-text {
  width: calc(100% - 56px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.related-slider__empty {
  margin: 0;
  color: #d8dceb;
  text-align: center;
}

@media all and (max-width: 767px) {
  /* .sp-chapter の左右余白（3%）を打ち消し、TOPと同じ幅でカードを表示する */
  .sp-chapter .related-players {
    margin-inline: -3%;
  }

  .related-players {
    padding-bottom: 40px;
  }

  .related-players__inner {
    width: min(1200px, calc(100% - 20px));
  }

  .related-players__title {
    font-size: 20px;
  }

  .related-card__content {
    padding: 12px;
  }

  .related-card__name {
    font-size: 16px;
  }

  .related-card__sport {
    min-height: 18px;
    margin-top: 4px;
    padding: 0 6px;
    font-size: 12px;
  }

  .related-card__catchcopies {
    margin-top: 4px;
    gap: 1px;
  }

  .related-card__catchcopy {
    font-size: 11px;
    line-height: 1.3;
  }

  .related-slider__controls {
    margin: 16px 0 28px;
  }

  .related-slider__arrow img {
    width: 38px;
    height: 38px;
  }

  .related-slider__list-link {
    margin-top: 20px;
  }

  .related-slider__list-link a {
    min-width: 270px;
    min-height: 60px;
    font-size: 16px;
  }

  .related-slider__list-link a .related-slider__list-icon {
    width: 56px;
  }
}
