main#front .news-left {
  gap: 30px;
}

/* main#front .game,
.page-header,
main#front .hero {
background: none;
background-color: #142b79;
} */
main#front .news-right .archive-none,
main#front .game-articles .archive-none {
  color: #fff;
}
main#front .game-articles .archive-none {
  margin-top: 20px;
}

@media screen and (max-width: 1299px) {
  main#front .hero {
    padding-top: 100px;
  }
}

@media screen and (max-width: 768px) {
  main#front .hero {
    background-image: url(../img/top-hero-sp.jpg);
  }
  main#front .game {
    background-image: url(../img/game-bg-sp.jpg);
  }
}

@media screen and (min-width: 769px) {
  main#front .sponser-big {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1%;
    margin-top: 10px;
  }
  main#front .sponser-small {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1%;
    margin-top: 10px;
  }

  main#front .sponser-big__item,
  main#front .sponser-small__item {
    width: 100%;
    margin-left: 0;
  }
}
main#front .sponser-big__link,
main#front .sponser-small__link {
  padding: 10px 15px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  justify-content: center;
  height: 100%; /* 
	aspect-ratio: unset; */
}
main#front .sponser-big__link .img,
main#front .sponser-small__link .img {
  height: 100%;
  align-items: center;
  display: flex;
}
main#front .sponser-big__link .txt,
main#front .sponser-small__link .txt {
  font-size: 11px;
}
main#front .sponser-big__img {
  max-height: 65px;
}
main#front .sponser-small__img {
  max-height: 45px;
}
.wpcf7 form .wpcf7-response-output {
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  color: #fff;
  background: #00a0d2;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #1a3798;
  background: #1a3798;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #dc3232; /* Red */
  background: #dc3232;
}

.wpcf7 form.spam .wpcf7-response-output {
  border-color: #f56e28; /* Orange */
  background: #f56e28;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900; /* Yellow */
  background: #ffb900;
}

.single .wp-block-table {
  border: none;
  table {
    border: 1px solid #1a3798;
    width: auto;
    tbody {
      tr {
        display: table-row;
        border: none;
        * {
          font-size: 1.6rem;
          color: #000;
          width: auto !important;
          display: table-cell !important;
          border: 1px solid #1a3798;
          border-collapse: collapse;
          line-height: 1.5em;
        }
        td {
          font-weight: 400;
        }
        &:last-child td {
        }
      }
    }
  }
}

.page-content > * {
  text-align: justify;
}
.single .page-content > * {
  margin-top: 1em;
  margin-bottom: 1em;
}

#single-game .single-game__summary .left .summary__box .summary__ttl {
  flex-shrink: 0;
}

#single-game .single-game__eyecatch {
  aspect-ratio: unset;
}

main#front .hero-slider__result .ttl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
@media screen and (min-width: 768px) {
  main#front .hero-slider__cat {
    font-size: 1.6rem;
    height: auto;
    line-height: unset;
    padding: 12px 15px 14px;
    width: fit-content;
  }
}
@media screen and (max-width: 768px) {
  main#front .hero-slider__result .cat {
    font-size: 1.2rem;
    padding: 15px;
  }
  main#front .hero-slider__cat {
    font-size: 1.5rem;
  }
  main#front .hero-slider__result .ttl {
    font-size: 1.3rem;
    padding: 5px 15px;
  }
}
@media screen and (min-width: 769px) {
  main#front .game-articles__link {
    padding: 15px 20px;
  }
  main#front .game {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media screen and (max-width: 768px) {
  main#front .sponser-big,
  main#front .sponser-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
  }
  main#front .sponser-small {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 10px;
  }
  main#front .sponser-big__item,
  main#front .sponser-small__item {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
}
main#front .sponser-big__img,
main#front .sponser-small__img {
  height: 100%;
  object-fit: contain;
}
main#game-archive .game-archive__right > * {
  height: 100%;
  color: #1a3798;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;

  @media screen and (max-width: 768px) {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  main#game-archive .game-archive__header {
    display: none;
  }
  main#game-archive .game-years {
    padding: 0 15px;
  }
}
@media screen and (min-width: 769px) {
  main#game-archive .game-archive__middle a,
  main#game-archive .game-archive__right > * {
    justify-content: flex-start;
  }
  main#game-archive .game-archive__right,
  main#game-archive .game-archive__locate {
    width: 20%;
  }
  main#game-archive .game-archive__middle,
  main#game-archive .game-archive__name {
    width: 53%;
  }
}

#single-game .result-comment__header {
  justify-content: flex-start;
}
.result-comment__text {
  margin-top: 2em;
}
#single-game * {
  word-break: break-all;
}
#single-game .result-comment__champion_name,
#single-game .result-comment__champion_message {
  color: #1a3798;
}

#single-game .result-comment__champion_message {
  margin-top: 10px;
}
#single-game .result-ranking {
  border: 1px solid #1a3798;
  @media screen and (min-width: 769px) {
    width: fit-content;
  }
}
#single-game .result-ranking__item2 {
  @media screen and (min-width: 769px) {
    border-bottom: 1px solid #1a3798;
  }
  @media screen and (max-width: 768px) {
    display: block;
    width: 100%;
  }

  td {
    padding: 30px;
    font-size: 1.6rem;
    color: #000;
    font-weight: 400;
    line-height: 1.5em;
    @media screen and (max-width: 768px) {
      display: block;
      width: 100%;
      padding: 15px;
      font-size: 1.4rem;
      text-align: center;
    }
    &:first-child {
      background-color: #1a3798;
      color: white;
      font-size: 2rem;
      font-weight: 600;
      min-width: 178px;
      border-bottom: 1px solid white;
      @media screen and (max-width: 768px) {
        font-size: 1.8rem;
      }
    }
    strong {
      color: #1a3798;
      font-weight: 500;
      font-size: 2.4rem;
      @media screen and (max-width: 768px) {
        font-size: 1.8rem;
      }
    }
  }
}

#single-game .single-game__summary .left .summary__box {
  line-height: 1.5em;
  font-size: 1.6rem;
}

main#front .hero-slider__link {
  opacity: 1 !important;
  overflow: hidden;
  img {
    transition: 0.3s; /* スムーズなアニメーション */
  }
  &:hover {
    img {
      transform: scale(1.1);
    }
  }
}

.single .wp-block-file .wp-block-file__button,
.about-pages .wp-block-file .wp-block-file__button {
  display: block;
  background: #1a3798;
}

main#front .hero-slider__link {
  @media screen and (max-width: 768px) {
    height: auto;
    aspect-ratio: 16/9;
  }
}
main#front .game-tabs__item.item1 {
  background-color: #d5bb01;
  color: #ffffff;
}

main#front .game-tabs__item.active {
  background-color: #fff;
  color: #1a3798;
}

@media screen and (min-width: 769px) {
  main#front .game-articles__date {
    font-size: 1.6rem;
  }
}

@media screen and (min-width: 769px) {
  main#game-archive .game-archive__left {
    font-size: 1.5rem;
    width: 29%;
    padding-left: 0.5%;
    padding-right: 0.5%;
    div {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
    }
  }
  main#game-archive .game-archive__item {
    min-height: 90px;
  }
  main#game-archive .game-archive__middle a h3 {
    font-size: 1.6rem;
  }
  main#game-archive .game-archive__right > * {
    font-size: 1.5rem;
  }
  #single-game .single-game__eyecatch img {
    max-width: 800px;
    margin: auto;
  }
}

.sponser-content {
  margin-top: 10px;
  .is-layout-flex {
    gap: 1%;
    @media screen and (max-width: 768px) {
      flex-wrap: wrap;
    }
  }
  .wp-block-buttons {
    width: 100%;
    @media screen and (max-width: 768px) {
      + .wp-block-buttons {
        margin-top: 15px;
      }
    }
    .wp-block-button {
      width: 100%;

      a::after {
        content: none;
      }
    }
  }
}

body .is-layout-flex {
  margin-bottom: 30px;
}

#live {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #f4f4f4;
  @media screen and (max-width: 768px) {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  & .live-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;

    @media screen and (max-width: 768px) {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }
  }
  & .live-ttl {
    display: flex;
    align-items: flex-end;
    font-size: 5.5rem;
    color: #d11719;
    line-height: 1;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    & span {
      color: #d11719;
      margin-left: 30px;
      font-size: 1.9rem;
      margin-bottom: 8px;
      font-weight: 500;
      @media screen and (max-width: 768px) {
        margin-left: 0;
        margin-top: 8px;
      }
    }
  }
  & .live-subttl {
    font-size: 4rem;
    color: #262626;
    line-height: 1;
    margin-bottom: 20px;
    @media screen and (max-width: 768px) {
      text-align: center;
      margin-bottom: 0;
      font-size: 3rem;
    }
  }
  & .live-description {
    font-size: 1.6rem;
    font-weight: 500;
    color: #262626;

    @media screen and (max-width: 768px) {
      text-align: center;
      margin-top: 15px;
    }
  }
  & .live-list {
    @media screen and (min-width: 767px) {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
    }

    @media screen and (max-width: 768px) {
      width: calc(100% + 30px);
      margin-left: -15px;
    }
  }
  & .live-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(4, 19, 69, 0.13);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    @media screen and (max-width: 768px) {
      margin: 20px 7.5px;
    }
  }
  & .live-inner {
    padding: 20px;
  }
  & .live-btn {
    a {
      background: #2c2c2c;
      height: 45px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #ffff;
      font-size: 15px;
      font-weight: 500;
      gap: 10px;
    }
  }
  & .live-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  & .live-data {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    & * {
      color: #2c2c2c;
    }
    & .day {
      font-size: 40px;
    }
    & .dow {
      font-size: 17px;
      padding-bottom: 6px;
    }
    & .time {
      font-size: 17px;
      padding-bottom: 6px;
    }
  }
  & .live-cat {
    background: #1a3798;
    color: #fff;
    font-size: 15px;
    padding: 5px 10px 7px;
    border-radius: 5px;
    width: fit-content;
    margin: auto;
    text-align: center;
  }
  & .live-detailtxt {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 15px;
    margin-top: 15px;
    color: #2c2c2c;
    & p:nth-child(1):after {
      content: "ー";
      padding: 0 5px;
    }
  }
  & .live-place {
    margin-top: 15px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #d8d8d8;
    text-align: center;
    padding: 10px 5px;
    color: #2c2c2c;
  }
}
#schedule {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #fff;
  @media screen and (max-width: 768px) {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  & .schedule-ttl {
    font-weight: 700;
    font-size: 30px;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 50px;

    @media screen and (max-width: 768px) {
      margin-bottom: 30px;
      font-size: 24px;
    }
  }
  & .schedule-box {
    flex: 1;
    h4 {
      background: #1a3798;
      color: #fff;
      font-size: 15px;
      padding: 9px 10px 7px;
      border-radius: 5px;
      margin-bottom: 30px;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      gap: 5px;
      @media screen and (max-width: 768px) {
        display: none;
      }
      span {
        line-height: 1em;
        &:nth-child(2) {
          padding-bottom: 6px;
        }
      }
    }
  }
  & .schedule-list {
    display: flex;
    gap: 40px;
    font-size: 22px;
    & .eng {
      font-size: 33px;
    }
  }
  & .schedule-item {
    background: #fff;
    border-radius: 0 10px 10px 0;
    box-shadow: 0px 0px 20px rgba(4, 19, 69, 0.13);
    overflow: hidden;
    border-left: 4px solid #1a3798;
    padding: 20px;
    + .schedule-item {
      margin-top: 20px;
    }
    * {
      color: #2c2c2c;
    }
  }
  & .schedule-detail {
    border: 1px solid #d8d8d8;
    background: #f2f2f2;
    border-radius: 4px;
    margin-top: 15px;
    & * {
      font-size: 13px;
    }
    & .schedule-detailttl {
      height: 36px;
      display: flex;
      align-items: center;
      padding: 5px 15px;
      position: relative;
      cursor: pointer;
      &:before,
      &:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: auto;
        right: 15px;
        margin: auto;
        height: 10px;
        width: 1px;
        background: #2c2c2c;
        transition: 0.2s;
      }

      &:before {
        transform: rotate(90deg);
      }
    }
    &.is-open .schedule-detailttl {
      &:after {
        transform: rotate(90deg);
      }
    }
    & .schedule-detailtxt {
      display: none;
    }
  }
  & .schedule-place {
    font-size: 15px;
    font-weight: 400;
    margin-top: 15px;
  }
  & .schedule-cat {
    background: #1a3798;
    color: #fff;
    font-size: 11px;
    padding: 5px 10px 7px;
    border-radius: 5px;
    width: fit-content;
  }
  & .schedule-meta {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  & .schedule-detailtxt {
    border-top: 1px solid #d8d8d8;
    padding: 15px;
    line-height: 1.5em;
    font-weight: 400;
  }
  & .schedule-attention {
    color: #2c2c2c;
    font-size: 15px;
    margin-top: 30px;
    opacity: 0.5;
    font-weight: 400;
    @media screen and (max-width: 768px) {
      font-size: 10px;
    }
  }
}

.sp {
  display: none;
  @media screen and (max-width: 768px) {
    display: block;
  }
}

@media (max-width: 768px) {
  .schedule-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0 0 30px;
    padding: 0.25rem 0;
  }
  .schedule-tab {
    appearance: none;
    background: #878b96;
    color: #fff;
    padding: 10px 5px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 25px;
    border: none;
    font-family: bebas-kai, sans-serif;
    font-weight: 500;
    .dow {
      font-size: 16px;
      font-family: "Noto Sans JP";
      font-weight: 700;
      margin-left: 5px;
    }
  }
  .schedule-tab.is-active {
    background: #1a3798;
  }

  .schedule-tabs:has(> .schedule-tab:nth-child(3):last-child) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }
  .schedule-tabs:has(> .schedule-tab:nth-child(4):last-child) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
  }
  .schedule-tabs:has(> .schedule-tab:nth-child(3):last-child) .schedule-tab,
  .schedule-tabs:has(> .schedule-tab:nth-child(4):last-child) .schedule-tab {
    white-space: normal;
    text-align: center;
  }
}
.yt-pop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 10000;
}
.yt-pop.is-open {
  display: block;
}

.yt-pop__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(96vw, 960px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}
.yt-pop__close {
  position: absolute;
  top: 14px;
  right: 15px;
  z-index: 2;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  padding: 0;
}

.yt-pop__meta {
  color: #2c2c2c;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 15px 7px;
}
.yt-pop__meta .yt-pop-data {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.yt-pop__meta .yt-pop-cat {
  opacity: 0.85;
}

.yt-pop__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* 動画比率を維持 */
  background: #000;
}
.yt-pop__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  /*   .yt-pop__dialog {
    width: 96vw;
  } */
  /* .yt-pop__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  } */
}
