@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');
@import url("grid.css");
@import url("lightbox.min.css");
:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
  --base-color: #000;
  --link-color: #0000cd;
  --linkhover-color: #0000cd;
  --border-color: #0000cd;
  --white-color: #fff;
}
a img {
  vertical-align: top;
}
a img:hover {
  opacity: 0.8;
  padding-top: 0px;
}
table {
  margin: 0 0 20px 0;
  border-collapse: collapse;
  border-spacing: 0;
}
.underline {
  border-bottom: 3px solid var(--base-color);
  padding-bottom: 0.5rem;
}
.cen-box {
  text-align: center;
}
.y-top {
  margin-top: 30px;
}
.y-bottom {
  margin-bottom: 20px;
}
.highlight-01 {
  color: red;
  border: solid yellow;
  border-width: 0px 5px;
  background-color: yellow;
  font-weight: 700;
}
.highlight-02 {
  color: #FFF;
  border: solid red;
  border-width: 0px 5px;
  background-color: red;
}
/*スマホで非表示にする
-------------------------------------*/
@media(max-width:760px) {
  .pc {
    display: none !important;
  }
}
/*ヘッダー
-------------------------------------*/
header {
  background-color: #f5f5f5;
}
.head {
  display: flex;
  flex-direction: row;
  padding: 0.5rem 0 0.3rem 0;
}
.head h1 {
  padding: 1rem 0;
}
.logo {
  height: 50px
}
.eventname {
  height: 50px;
  line-height: 50px;
  font-size: clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
  font-weight: 900;
  color: #333333;
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
  padding-left: 5px;
  margin-bottom: 10px;
}
.eventname a {
  color: #333333;
}
.topbox {
  display: inline-block;
  padding: 5px 0;
  transform: skew(-15deg);
  text-align: center;
  font-size: clamp(0.9rem, 0.568rem + 0.91vw, 1.0em);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-top: 0px;
  margin-bottom: 5px;
  margin-left: auto;
  background-image: linear-gradient(to right, #209cff 0%, #68e0cf 100%);
  width: 15em;
}
.topbox a {
  color: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.topbox:hover {
  color: #FFFFFF;
  opacity: 0.7;
  transition: 0.3s;
  text-decoration: none;
}
.topbox-off {
  display: inline-block;
  padding: 5px 0;
  transform: skew(-15deg);
  text-align: center;
  font-size: clamp(0.75rem, 0.568rem + 0.91vw, 1.0em);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-top: 0px;
  margin-bottom: 5px;
  margin-left: auto;
  background-color: #5c5c5c;
  width: 15em;
}
nav {
  font-size: clamp(0.75rem, 0.682rem + 0.34vw, 0.938rem);
  font-weight: 700;
}
nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin-bottom: 0.6rem;
}
nav li {
  display: block;
  flex: 1 0 auto;
}
nav li a {
  text-decoration: none;
  text-align: center;
}
nav a:hover {
  background-color: #0091F0;
  border-radius: .6rem;
  color: #FFFFFF;
  text-decoration: none;
}
nav a {
  padding-top: 5px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 5px;
}
.bar {
  height: 7px;
  background-color: #00008b;
}
@media screen and (min-width: 769px) {
  /* PC時はMENUボタンを非表示 */
  #open, #close {
    display: none !important;
  }
  #navi {
    display: block !important;
  }
}
@media screen and (max-width: 768px) {
  .head {
    flex-direction: column;
    text-align: left;
    margin-bottom: 0px;
  }
  .topbox {
    margin: 0 auto;
    margin-top: 7px;
  }
  .topbox img {
    width: 50%; /* 親要素の幅に合わせて縮小・拡大 */
    height: auto; /* 縦横比を維持 */
  }
  .head #open, #close {
    position: absolute;
    top: 28px;
    right: 12px;
  }
  nav ul {
    flex-direction: column;
  }
  nav li { /*ハンバーガーメニューの見た目を設定*/
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
  }
  /* スマホ時はMENUボタンを表示 */
  #open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }
  #close {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }
  /* スマホ時はメニューを非表示 */
  #navi {
    display: none;
  }
}
/*メイン画像
-------------------------------------*/
.mainimg img {
  width: 100vw;
  display: flex;
}
.mainimg {
  border-color: #00008b;
  border-width: 0 0 1px 0;
  border-bottom-style: solid;
}
.mainimg-02 {
  border-color: #00008b;
  border-width: 0 0 1px 0;
  border-bottom-style: solid;
  background-image: url("../img/21th_home_v2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 280px;
}
@media screen and (max-width: 768px) {
  .mainimg-02 {
    height: 200px; /* スマホでの画像サイズ */
  }
}
.maintext {
  font-size: clamp(1rem, 0.455rem + 2.73vw, 2.5rem);
  font-weight: 900;
  transform: skew(-15deg);
  color: #0055c9;
  text-shadow: #f6ff00 2px 0, #f6ff00 -2px 0, #f6ff00 0 -2px, #f6ff00 0 2px, #f6ff00 2px 2px, #f6ff00 -2px 2px, #f6ff00 2px -2px, #f6ff00 -2px -2px, #f6ff00 1px 2px, #f6ff00 -1px 2px, #f6ff00 1px -2px, #f6ff00 -1px -2px, #f6ff00 2px 1px, #f6ff00 -2px 1px, #f6ff00 2px -1px, #f6ff00 -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
  text-align: center;
  padding: 12px 0 3px 0;
  margin-bottom: 0px;
}
.maintext-02 {
  font-size: clamp(0.75rem, 0.386rem + 1.82vw, 1.75rem);
  font-weight: 700;
  transform: skew(-15deg);
  color: #f6ff00;
  line-height: 1.4;
  text-shadow: #cc6600 2px 0, #cc6600 -2px 0, #cc6600 0 -2px, #cc6600 0 2px, #cc6600 2px 2px, #cc6600 -2px 2px, #cc6600 2px -2px, #cc6600 -2px -2px, #cc6600 1px 2px, #cc6600 -1px 2px, #cc6600 1px -2px, #cc6600 -1px -2px, #cc6600 2px 1px, #cc6600 -2px 1px, #cc6600 2px -1px, #cc6600 -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
  text-align: center;
  padding: 0px 0 18px 0;
  margin-bottom: 0px;
}
.maintext-03 {
  font-size: clamp(0.75rem, 0.568rem + 0.91vw, 1.25rem);
  font-weight: 800;
  color: #0055c9;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin: 0 auto;
  padding: 0.2rem;
  border-top: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
  width: 20em;
}
/*メインコンテンツ
-------------------------------------*/
main {
  margin-top: 1.3rem;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 1.3rem;
}
.title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(1.375rem, 1.193rem + 0.91vw, 1.875rem);
  text-align: center;
  line-height: 60px;
  height: 60px;
  text-shadow: 1px 1px 3px #000;
  background-image: -webkit-linear-gradient(90deg, rgba(67, 180, 255, 1.00) 0%, rgba(0, 145, 240, 1.00) 100%);
  background-image: -moz-linear-gradient(90deg, rgba(67, 180, 255, 1.00) 0%, rgba(0, 145, 240, 1.00) 100%);
  background-image: -o-linear-gradient(90deg, rgba(67, 180, 255, 1.00) 0%, rgba(0, 145, 240, 1.00) 100%);
  background-image: linear-gradient(0deg, #43b4ff, #0091f0);
  border-color: #00008b;
  border-width: 0 0 1px 0;
  border-bottom-style: solid;
}
.title-02 {
  padding: 0.1em 0.4em; /*上下 左右の余白*/
  color: #000000; /*文字色*/
  background: transparent; /*背景透明に*/
  border-left: solid 5px #0091F0; /*左線*/
}
.title-03 {
  border-bottom: 3px solid #0091F0;
  padding-bottom: 0.1rem;
  border-top-color: #0091F0;
  border-right-color: #0091F0;
  border-left-color: #0091F0;
}
/*1stお知らせ
-------------------------------------*/
.maininfo {
  padding: 7px 0px;
  transform: skew(-15deg);
  text-align: center;
  font-size: clamp(0.95rem, 0.568rem + 0.91vw, 2.0rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 auto;
  margin-top: 0px;
  margin-right: 30px;
  margin-bottom: 6px;
  margin-left: 0px;
  background-image: linear-gradient(to right, #209cff 0%, #68e0cf 100%);
  width: 20em;
  display: inline-block;
}
.maininfo a {
  color: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.maininfo:hover {
  color: #FFFFFF;
  opacity: 0.7;
  transition: 0.3s;
  text-decoration: none;
}
.maininfo-text {
  margin-bottom: 5px;
}
.maininfo-img {
  display: inline-block;
  vertical-align: top;
}
@media screen and (max-width: 768px) {
  .maininfo-img img {
    width: 50%; /* 親要素の幅に合わせて縮小・拡大 */
    height: auto; /* 縦横比を維持 */
    margin-top: 10px;
  }
}
/*お知らせ
-------------------------------------*/
.news h5 {
  border-bottom: 3px solid #0091F0;
  padding-bottom: 0.1rem;
  border-top-color: #0091F0;
  border-right-color: #0091F0;
  border-left-color: #0091F0;
}
.news li {
  list-style-type: none;
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
}
.news span {
  vertical-align: middle;
  display: inline-block;
  margin-right: 10px;
}
.news p {
  display: inline-block;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
.news a:hover {
  text-decoration: underline;
}
/*お知らせテーブル
-------------------------------------*/
.tbl-r02 th {
  background: #0091F0;
  border: solid 1px #ccc;
  color: #fff;
}
.tbl-r02 td {
  border: solid 1px #ccc;
  padding-top: 4px;
  padding-right: 4px;
  padding-left: 8px;
  padding-bottom: 4px;
}
@media screen and (max-width: 768px) {
  .last td:last-child {
    width: 100%;
  }
  .tbl-r02 {
    width: 100%;
  }
  .tbl-r02 th, .tbl-r02 td {
    display: block;
    width: 100%;
  }
}
/*情報バナー
-------------------------------------*/
.infobox {
  width: 100%;
  font-size: 20px;
  font-weight: 800;
  padding: 12px 4px 12px 4px;
  text-align: center;
  background-image: linear-gradient(#f26923, #ffbd42);
  color: #FFFFFF;
  border: 2px solid #FFAA00;
  text-shadow: 1px 1px 3px #000;
  text-decoration: none;
  border-radius: .4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.3;
}
.infobox p {
  margin: 0; /* ボックス内の不自然な余白を消す */
}
.infobox:hover {
  color: #FFFFFF;
  opacity: 0.7;
  transition: 0.3s;
  text-decoration: none;
}
.infobox-text {
  margin-top: 5px;
  margin-bottom: 15px;
}
.infobox-text a:hover {
  text-decoration: underline;
}
.infobox-02 {
  width: 100%; /* 幅の指定必須 */
  height: 140px;
  font-size: 24px;
  font-weight: 750;
  padding: 10px 8px 100px 8px;
  text-align: center;
  background-image: url(../img/20th_hall.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  color: #FFFFFF;
  border: 2px solid #0091F0;
  text-shadow: 1px 1px 3px #000;
  text-decoration: none;
  border-radius: .4rem;
}
.infobox-02:hover {
  color: #FFFFFF;
  opacity: 0.7;
  transition: 0.3s;
  text-decoration: none;
}
/*LIVE　会場カメラ
-------------------------------------*/
#live-main {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}
/*チーム名
-------------------------------------*/
.box-3 {
  position: relative;
  width: 175px;
  height: 60px;
  margin: 1.7em 0.9em;
  padding: 3px 6px 3px 6px;
  border: 2px solid #0091F0;
  border-radius: 3px;
  background-color: #ffffff;
  display: grid;
  place-items: center;
}
.box-3 span {
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  top: -2.2em;
  left: -2px;
  padding: .3em .8em;
  border-radius: 5px 5px 0 0;
  background-color: #0091F0;
  color: #fff;
}
.box-3 p {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin: 0;
}
.box-3:hover, .box-3:hover a {
  color: #FFFFFF;
  background-color: #0091F0;
}
@media screen and (max-width: 768px) {
  .box-3 {
    margin-left: auto;
    width: 100%;
  }
}
/*VEVA展示
-------------------------------------*/
.table-wrap {
  overflow-x: auto;
}
.tbl-r03 th {
  font-weight: 400;
}
.tbl-r03 td {
  font-weight: 400;
}
.tbl-r03 a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .last td:last-child {
    width: 100%;
  }
  .tbl-r03 {
    width: 100%;
  }
  .tbl-r03 th, .tbl-r03 td {
    display: block;
    width: 100%;
  }
}
/*フッター
-------------------------------------*/
footer {
  background-color: #f5f5f5;
  text-align: center;
  padding: 1rem;
}
footer h5 {
  border-bottom: 3px solid var(--border-color);
}
.shusai {
  font-size: clamp(0.688rem, 0.665rem + 0.11vw, 0.75rem);
  color: #646464;
  font-weight: 500;
}
/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  padding: 1rem 0;
  background-color: #00008b;
  font-size: clamp(0.563rem, 0.517rem + 0.23vw, 0.688rem);
  color: #FFFFFF;
}
.copyright a {
  color: var(--base-color);
  text-decoration: none;
  display: inline-block;
}
/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}
#pagetop a {
  display: block;
  background-color: var(--base-color);
  color: var(--white-color);
  width: 70px;
  padding: 10px 5px;
  text-align: center;
}
#pagetop a:hover {
  background-color: var(--link-color);
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
  margin: 0 0 1em 0;
  padding: 0;
}
.breadcrumb li {
  list-style-type: none;
}
.breadcrumb li a {
  display: inline-block;
  color: var(--link-color);
}
/*TOPのグリッド配置
-----------------------------------*/
.container-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-areas:
    "a b"
    "a d";
  gap: 20px 20px;
}
.a {
  grid-area: a;
}
.b {
  grid-area: b;
}
.c {
  grid-area: c;
}
.d {
  grid-area: d;
}
.e {
  grid-area: e;
}
.f {
  grid-area: f;
}
@media (max-width: 768px) {
  .container-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "b"
      "a"
      "d"
      "c";
  }
}
/*VEVAのグリッド配置
-----------------------------------*/
.grid-veva {
  display: grid;
  grid-template-columns: auto 1fr; /* 1列目の文字量に合わせて2列目の位置を自動移動させる。1frをpxなどに変更すると自動移動しなくなる */
  gap: 0px;
  margin-bottom: 24px;
}
.grid-veva > div {
  padding-right: 25px;
}
.grid-veva ul {
  margin: 0;
  padding: 0; /* 必要に応じて */
}
.grid-veva a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .grid-veva {
    grid-template-columns: 1fr; /* 1列＝縦に並ぶ */
  }
}
/*選手・審査員のグリッド配置
-----------------------------------*/
.grid-team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a b c d"
    "e f g h"
    "i j k l"
    "m n o p"
    "q r s t";
  gap: 10px;
}
.team-text01 {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  padding: 0px 0px;
  border-bottom: 1px solid #000;
}
.team-text02 {
  font-size: 20px;
  font-weight: 600;
}
.item-team {
  background: #e9f6ff;
  border: 1px solid #0091F0;
  padding: 5px;
  height: 95px;
  display: flex;
  flex-direction: column; /* ←縦に並べる */
  align-items: center; /* 縦中央 */
  justify-content: center; /* 横中央（不要なら消す） */
  text-align: center;
  line-height: 1.8; /* 行間調整 */
}
.item-team:hover {
  text-decoration: none;
  border: 3px solid #0091F0;
}
.item1-team {
  grid-area: a;
}
.item2-team {
  grid-area: b;
}
.item3-team {
  grid-area: c;
}
.item4-team {
  grid-area: d;
}
.item5-team {
  grid-area: e;
}
.item6-team {
  grid-area: f;
}
.item7-team {
  grid-area: g;
}
.item8-team {
  grid-area: h;
}
.item9-team {
  grid-area: i;
}
.item10-team {
  grid-area: j;
}
.item11-team {
  grid-area: k;
}
.item12-team {
  grid-area: l;
}
.item13-team {
  grid-area: m;
}
.item14-team {
  grid-area: n;
}
.item15-team {
  grid-area: o;
}
.item16-team {
  grid-area: p;
}
.item17-team {
  grid-area: q;
}
.item18-team {
  grid-area: r;
}
.item19-team {
  grid-area: s;
}
.item20-team {
  grid-area: t;
}
@media (max-width: 768px) {
  .grid-team {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e"
      "f"
      "g"
      "h"
      "i"
      "j"
      "k"
      "l"
      "m"
      "n"
      "o"
      "p"
      "q"
      "r"
      "s"
      "t";
  }
}
/*フローティングバナー　LIVE配信
-----------------------------------*/
.floating-banner {
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  width: 330px;
  max-width: calc(100vw - 40px);
  background: #fff3e0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
  overflow: hidden;
  z-index: 9999;
}
.banner-content {
  display: block;
  padding: 20px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
  text-align: center;
}
.banner-content:hover {
  background: #ffe9cc;
}
.banner-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
/* フローティングバナー　×マーク */
.banner-close::before, .banner-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #fff;
  transform-origin: center;
}
.banner-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.banner-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 768px) {
  .floating-banner {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }
}
/*LIVE配信のグリッド配置
-----------------------------------*/
.grid-team-02 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a b c d"
    "e f g h"
    "i j k l"
    "m n o p"
    "q r s t";
  gap: 10px;
}
.team-text01-02 {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  padding: 0px 0px;
  border-bottom: 1px solid #000;
}
.team-text02-02 {
  font-size: 20px;
  font-weight: 600;
}
.item-team-02 {
  background: #e9f6ff;
  border: 1px solid #0091F0;
  padding: 5px;
  height: 140px;
  display: flex;
  flex-direction: column; /* ←縦に並べる */
  align-items: center; /* 縦中央 */
  justify-content: center; /* 横中央（不要なら消す） */
  text-align: center;
  line-height: 1.8; /* 行間調整 */
}
.item1-team-02 {
  grid-area: a;
}
.item2-team-02 {
  grid-area: b;
}
.item3-team-02 {
  grid-area: c;
}
.item4-team-02 {
  grid-area: d;
}
.item5-team-02 {
  grid-area: e;
}
.item6-team-02 {
  grid-area: f;
}
.item7-team-02 {
  grid-area: g;
}
.item8-team-02 {
  grid-area: h;
}
.item9-team-02 {
  grid-area: i;
}
.item10-team-02 {
  grid-area: j;
}
.item11-team-02 {
  grid-area: k;
}
.item12-team-02 {
  grid-area: l;
}
.item13-team-02 {
  grid-area: m;
}
.item14-team-02 {
  grid-area: n;
}
.item15-team-02 {
  grid-area: o;
}
.item16-team-02 {
  grid-area: p;
}
.item17-team-02 {
  grid-area: q;
}
.item18-team-02 {
  grid-area: r;
}
.item19-team-02 {
  grid-area: s;
}
.item20-team-02 {
  grid-area: t;
}
@media (max-width: 768px) {
  .grid-team-02 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e"
      "f"
      "g"
      "h"
      "i"
      "j"
      "k"
      "l"
      "m"
      "n"
      "o"
      "p"
      "q"
      "r"
      "s"
      "t";
  }
}