


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }



.content
{
    /* background-image: url(../img/about/fixed-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; */
    position: relative;
}
.content::before
{
    content: "";
  position: fixed; /* ← 疑似要素を固定する */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/about/fixed-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1; /* コンテンツの下に配置 */
  pointer-events: none; /* 背景がクリックを邪魔しないように */
}


.kv {
  position: relative;
  width: 100%;
  /* height: 100vh; */
  height: 758px;
  overflow: hidden;
}

.kv-slider,
.kv-slider .slide {
  width: 100%;
  /* height: 100vh; */
  height: 758px;
}

.kv-slider .slide {
  background-size: cover;
  background-position: center;
}

.kv-slider .slick-dots,
.kv-slider .slick-arrow {
  display: none !important;
}
.kv-slider .img01 { background-image: url('../img/top/kv/img_01.jpg'); }
.kv-slider .img02 { background-image: url('../img/top/kv/img_02.jpg'); }
.kv-slider .img03 { background-image: url('../img/top/kv/img_03.jpg'); }
.kv-slider .img04 { background-image: url('../img/top/kv/img_04.jpg'); }
.kv-slider .img05 { background-image: url('../img/top/kv/img_05.jpg'); }
.kv-slider .img06 { background-image: url('../img/top/kv/img_06.jpg'); }
.kv-slider .img07 { background-image: url('../img/top/kv/img_07.jpg'); }
.kv-slider .img08 { background-image: url('../img/top/kv/img_08.jpg'); }
.kv-slider .img09 { background-image: url('../img/top/kv/img_09.jpg'); }
.kv-slider .img10 { background-image: url('../img/top/kv/img_10.jpg'); }
.kv-slider .img11 { background-image: url('../img/top/kv/img_11.jpg'); }
.kv-slider .img12 { background-image: url('../img/top/kv/img_12.jpg'); }
.kv-slider .img13 { background-image: url('../img/top/kv/img_13.jpg'); }
.kv-slider .img14 { background-image: url('../img/top/kv/img_14.jpg'); }
.kv-slider .img15 { background-image: url('../img/top/kv/img_15.jpg'); }
.kv-slider .img16 { background-image: url('../img/top/kv/img_16.jpg'); }
.kv-slider .img17 { background-image: url('../img/top/kv/img_17.jpg'); }
.kv-slider .img18 { background-image: url('../img/top/kv/img_18.jpg'); }
.kv-slider .img19 { background-image: url('../img/top/kv/img_19.jpg'); }
.kv-slider .img20 { background-image: url('../img/top/kv/img_20.jpg'); }
.kv-slider .img21 { background-image: url('../img/top/kv/img_21.jpg'); }


.kv-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  text-align: center;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.kv-text {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: bold;
  line-height: 1.6;
  color: #fff;
}

.kv::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../img/top/top-filter.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 5;
}
.kv-logo
{
    width: 80vw;
    /* max-width: 850px; */
    max-width: 680px;
    margin: auto;
    justify-content: center;
    align-items: center;
}
.kv-logo>img
{
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
}

.kv-time
{
  width: 80vw;
  /* max-width: 650px; */
  max-width: 550px;
  margin: 50px auto;
  padding-right: 20px;
  box-sizing: border-box;
}
.kv-time img
{
  width: 100%;
}

/* .kv-text
{
    width: 80%;
    max-width: 725px;
    margin: 60px auto;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 1.5% 2%;
    box-sizing: border-box;
}
.kv-text>img
{
    width: 100%;
} */


.kv-detail
{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 25px;
}
.kv-detail .small
{
    font-size: 0.9em;
    margin-left: 10px;
}
.kv-detail:last-of-type
{
    margin-bottom: 0;
}
.kv-detail>span
{
    width: 15%;
    aspect-ratio: 77/27;
    margin-right: 20px;
    background-color: #fff;
    color: #000000;
}

/*バナー*/
.banner
{
    margin: 60px auto 15px;
    width: 90%;
}
.banner img
{
  width: 100%;
}

/*セクション*/
.section-title
{
    position: relative;
    width: 100%;
    height: fit-content;
}
section>.section-title>h2
{
    font-size: 50px;
    font-family: "oswald", sans-serif;
    text-align: center;
    line-height: 1;
}
section>.section-title>h2 .red
{
    color: #D73B2F;
}
section>.section-title>p
{
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
}


/* 3枚のカードを並べるグリッド */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 30px auto 0 auto;
}

/* カード本体（既存の.cardを継承しつつ微調整） */
:root {
  --card-bg:#121111;
  --text:#fff;
  --muted:#B7B7B7;
  --radius:10px;
  --gap:25px;
  --maxw:100%;
}
.topics-grid .card {
background: var(--card-bg);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #535353;
  align-items: stretch;
  cursor: pointer;
}
.topics-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.topics-grid .card__thumb {
  aspect-ratio: 198 / 159;
  border-radius: 10px 10px 0 0 ;
  width: 100%;
  position: relative;
  background: #f5f5f5;
  overflow: hidden;
}
.topics-grid .card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.topics-grid .card__body {
    padding: 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: calc(21px + 20px);
  /* background-color: #121111; */
  background-color: transparent;
  /* position: relative; */
}

/* タイトル */
.topics-grid .card__title {
  /* font-size: clamp(16px, 1.7vw, 26px); */
  font-size: 1em;
  margin: 0;
  letter-spacing: .02em;
  color: var(--text);
}

/* 日付（右下に表示） */
.topics-grid .meta {
  font-size: 1em;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.topics-grid .meta__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  justify-content: flex-end;
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.topics-grid .meta__label {
  width: 10px;
  height: 10px;
    display: inline-block;
    /* line-height: 0;  */
}
.topics-grid .meta__label img
{
  width: 100%;
  height: 100%;
  /* display: block;  */
}

/* NEWバッジ（最新1件のみ .is-new がJSで付与される） */
.topics-grid .badge-new {
  position: absolute;
  top: 7px;
  right: 10px;
  width: 50px;
  aspect-ratio: 50/23;
  background: #CF2827;
  color: #fff;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .04em;
  display: none;
  z-index: 2;
}
.topics-grid .card.is-new .badge-new {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.topic-back
{
  width: 300px;
  aspect-ratio: 30/6;
  /* background-image: url(../img/back-btn.svg); */
  background: linear-gradient(270deg, #D73B2F 0%, #E2743F 25%, #E2743F 50%, #D73B2F 100%);
  background-position: 0% 50%;
  background-size: 200% auto;
  transition: all 0.2s ease;
  /* background-position: center; */
  /* background-repeat: no-repeat; */
  /* background-size: 100% 100%; */
  margin: 45px auto 60px auto;
  overflow: hidden;
  border-radius: 50px;
  border: 1px solid #fff;
  /* transition: 0.6s ease; */
}
.topic-back>a
{
  display: inline-flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  padding-right: 20px;
  position: relative;
  box-sizing: border-box;
}
.topic-back>a::after
{
  content: "";
  position:absolute;
  width: 15px;
  aspect-ratio: 11/9;
  background-image: url(../img/aroww-left.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  right: 50px;
  transform: scale(-1, 1);
}
.topic-back:hover
  {
    /* opacity: 0.8; */
    /* transition: all 0.3s; */
        background-position: 100% 50%;
    transform: scale(0.97);
  }

  /* eスポーツフェスティバル用グリッド */
  .btn-links
  {
    margin: 0;
    padding: 60px 0;
    width: 100%;
    background: #0D0C0C;
    background-image: url(../img/top-btn-bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
    .es-grid {
    display: grid;
    width: 90%;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto;
    color: #0D0C0C;
    font-size: 16px;
    line-height: 24px;
    }

    .es-card {
    display: flex;
    align-items: center;
    aspect-ratio: 350/100;
    gap: 10px;
    padding: 16px 25px;
    border-radius: 8px;
    background: #fff;
    font-weight: bold;
    border: 3px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
    }



/* 各カードの枠色 */
.es-yellow { border-color: #F0C95B; }
.es-green  { border-color: #83D654; }
.es-cyan   { border-color: #49A99F; }
.es-purple  { border-color: #4E77DE; }
.es-blue   { border-color: #31A4E0; }
.es-red    { border-color: #DD3F33; }

/* アイコン部分 */
.es-icon {
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.supporter
{
    margin: 0;
    width: 100%;
    padding-top: 60px;
    /* padding-bottom: 120px; */
    background-color: #0D0C0C;
    margin-bottom: 0 !important;
}


/*協賛等*/
.sponsor-wrap{
    width: 90%;
    margin: 0 auto;
}
.sponsor-wrap h3
{
    text-align: center;
    font-size: 20px;
}
.name-wrap
{
    /* width:180px; */
    /* aspect-ratio: 13/6; */
    width: auto;
    height: 60px;
    padding: 3px 20px;
    box-sizing: border-box;
    background-color: #fff;
    margin-top: 25px;
    /* border-radius: 5px; */
}
.name-wrap p
{
    color: #0D0C0C!important;
    font-size: 20px;
}
.name-wrap img
{
  width: 100%;
  height: 100%;
}
.sponsorship
{
    margin: 45px auto;
}
.sponsorship-flex
{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    justify-content: center;
    /* align-items: start; */
    align-items: stretch;
    gap: 20px;
    margin-top: 25px;
}
.sponsorship-flex > div
{
  background: #fff;
  /* border-radius: 5px; */
  box-sizing: border-box;
  padding: 5px;

    display: flex;               /* 中身をflexにして */
  justify-content: center;     /* 横方向中央 */
  align-items: center;  
  
  height: 120px;
}
.sponsorship-flex img
{
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* border-radius: 5px; */
}
.sponsore-supervisor
{
    display: flex;
    width: 100%;
    overflow: hidden;
    gap: 25px;
    box-sizing: border-box;
}
.sponsore-supervisor>div
{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sponsore-supervisor>div>div
{
    display: flex;
    justify-content: center;
    align-items: center;
}
.sponsore-supervisor>div>div .name-wrap
{
    margin: 0 auto;
}

/* 関連リンク */

section.link
{
  margin: 0;
    width: 100%;
    padding-top: 70px;
    padding-bottom: 100px;
    background-color: #0D0C0C;
    margin-bottom: 0 !important;
}
section.link h3
{
  font-size: 18px;
  position: relative;
  align-items: center;
  display: flex; 
  letter-spacing: 3px;
  letter-spacing: 0;
}
.link-title
{
  width: 90%;
  margin: 0 auto;
}
section.link h3::before,
section.link h3::after
{
  background-color: #525252;
   content: "";
  flex-grow: 1; 
  height: 1px; 
}
section.link h3::before
{
  margin-right: 25px;
}
section.link h3::after
{
  margin-left: 25px;
}
section.link ul
{
  width: 90%;
  margin: 40px auto 0 auto; 
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
section.link ul > *:only-child {
  grid-column: 2; /* 真ん中のカラムに配置 */
  justify-self: center; /* カラム内で中央寄せ */
}
section.link ul li a img
{
  border-radius: 5px;
  width: 100%;
}




@media (min-width: 768px) {
  .es-card:hover {
    transform: translateY(-4px);
    opacity: 0.9;
  }
  .banner:hover
  {
    opacity: 0.8;
    transform: translateY(-4px);
    transition: all 0.3s;
  }
}
/* 画面幅が狭い時は2列→1列に */
@media (max-width: 1200px) {
  /* .topics-grid { grid-template-columns: repeat(2, 1fr); } */
  .es-grid
   {
    grid-template-columns: repeat(2, 1fr);
  }
  .es-card
  {
    aspect-ratio: 345/80;
  }
}




@media (max-width: 767px) {

  .es-grid
   {
    grid-template-columns: repeat(2, 1fr);
  }
  .topics-grid
  {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px auto 0 auto;

  }
  
  .kv::after {
    background-image: url(../img/top/top-filter-sp.svg);
  }
  .kv-logo
  {
    width: 90%;
  }
  .kv-text
  {
    width: 90%;
    margin: 0 auto;
    padding: 1.5% 0;
    margin-top: 30px;
  }
  .kv-time
  {
    padding: 0;
    margin: 30px auto;
    width: 85%;
  }
  .kv-content
  {
    top: 45%;
  }
  .kv-detail>span
  {
    font-size: 14px;
    margin-right: 10px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .kv-detail>p
  {
    font-size: 14px;
  }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: 'Arial', sans-serif;
  z-index: 10;
}

.scroll-text {
  display: block;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: bold;
  font-family: "oswald", sans-serif;
  animation: bounceText 1.2s infinite ease-in-out;
}

/* 矢印のスタイル */
.arrows span {
  display: block;
  width: 30px;
  height: 15px;
  background-image: url(../img/top/scroll.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 4px auto;
  animation: scrollAnim 1.5s infinite;
  opacity: 0;
}

/* アニメーションの遅延をずらして順番に表示 */
.arrows span:nth-child(1) {
  animation-delay: 0s;
}
.arrows span:nth-child(2) {
  animation-delay: 0.2s;
}
.arrows span:nth-child(3) {
  animation-delay: 0.4s;
}
/* ぴょこぴょこアニメーション */
@keyframes bounceText {
  0%{
    transform: translateY(0);
    /* scale: calc(1.05); */
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 点滅と移動のアニメーション */
@keyframes scrollAnim {
  0% {
    opacity: 0;

  }
  50% {
    opacity: 1;
    
  }
  100% {
    opacity: 0;
   
  }
}
.topics-grid .meta__row
{
  font-size: 14px;
  display: flex;
  align-items: center;
  font-weight: 400;
}
.topics-grid .meta__label
{
  width: 13px;
  height: 13px;
}
.topics-grid .meta__label img
{
  width: 100%;
  height: 100%;
  display: block;
}

.name-wrap
{
  width: 100%;
}
.es-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }


  .es-card
  {
    padding: 16px;
    aspect-ratio: auto;
    gap: 15px;
  }

  section.link ul
  {
    grid-template-columns: 1fr;
    margin: 30px auto 0 auto;
    width: 80%;
  }
  section.link ul > *:only-child
  {
    grid-column:1
  }

  .kv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
  .kv-slider,
  .kv-slider .slide 
  {
  width: 100%;
  height: 100vh;
}

.banner
{
  width: 85%;
}
.topics-grid .card__body
{
  padding: 10px 13px;
  padding-bottom: calc(16px + 15px);
}

.es-icon
{
  width: 45px;
  height: 45px;
}

  .btn-links
  {
    background: #181919;
    background-image: none;
  }


  .sponsorship-flex
  {
    grid-template-columns: repeat(2, 1fr);
  }
.sponsorship-flex > div
{
  height: 100px;
}
.sponsore-supervisor
{
  gap: 20px;
}
}

