@font-face{
	font-family: "line-font";
	src: url("../font/LINESeedJP_OTF_Rg.woff");
	font-weight: 400;
}

@font-face{
	font-family: "line-font";
	src:url("../font/LINESeedJP_OTF_Bd.woff");
	font-weight: 700;
}

@font-face{
	font-family: "line-font";
	src:url("../font/LINESeedJP_OTF_Eb.woff");
	font-weight: 900;
}

@font-face{
    font-family: "ff-good-headline-web-pro-ext", sans-serif;
    font-weight: 700;
    font-style: normal;
}


html, body {
  overscroll-behavior-y: none;
}

html{
	  scroll-behavior: smooth;
    font-size: 10px;
}

body {
  position: relative;
  margin: 0;


  overflow-x: hidden;

  background-image: url("../images/pink_texture_tile_256.png");
  background-repeat: repeat;
  background-size: 256px 256px;

}

/*

body::before {
  content: "";

  position: fixed;
  inset: -10px;


  filter: blur(4px);

  transform: scale(1.03);

  pointer-events: none;

  z-index: 0;
}
*/


/* ページ本体を背景より前に出す */
body > * {
  position: relative;
  z-index: 1;
}
/*
@keyframes backgroundMove {
  0% {
    transform: translate(-2%, -2%) scale(1);
  }

  50% {
    transform: translate(2%, 1%) scale(1.05);
  }

  100% {
    transform: translate(-1%, 3%) scale(1.02);
  }
}
*/
a:hover{
    opacity: 0.7;
}
    

#root{
    width: 100%;
    /*background-color: #000;*/

}

#page{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    
}

#sns_box{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 2rem 1rem 1rem;
    gap: 4rem;
    padding: 1rem;
    
}

#navi_container {
  width: min(900px, calc(100% - 40px));
  margin: 60px auto;
}

#navi_body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

#navi_body a {
      line-height: 1.6rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(233, 1, 195, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    transition: transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

#navi_body a i {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 400;
}

#navi_body a span {
  font-size: 1.4rem;
  font-weight: 400;
}

#navi_body a::after {
  content: "";
  position: absolute;

  left: 18px;
  right: 18px;
  bottom: 8px;

  height: 2px;

  background: #d94993;

  transform: scaleX(0.35);
  transform-origin: center;

  opacity: 0.7;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

#navi_body a:hover {
  transform: translateY(-3px);

  background: rgba(217, 73, 147, 0.08);

  border-color: rgba(217, 73, 147, 0.55);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(217, 73, 147, 0.12);
}

#navi_body a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}




#main_container{
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #00000099;
}

#main_visual{
    width: 100%;
    background-image:  url('../images/pgi_mark.png'),url('../images/main_bg.jpg');
    background-size: contain, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: 80%, auto;
}

#logo_trigger {
  height: 1px;
}

#main_race_logo{
    width: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding: 2rem;
    
    z-index: 1000;
    position: relative;

  left: 50%;
  transform: translateX(-50%);

  transition:
    width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.4s ease,
    background-color 0.4s ease,
    border-radius 0.4s ease,
    box-shadow 0.4s ease;
}

/*
#main_race_logo img {
  display: block;
  width: 100%;
  height: auto;
}*/

#main_race_logo.is-fixed {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);

  width: 30%;

  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(217, 73, 147, 0.2);
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(217, 73, 147, 0.08);
}

#main_copy{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
    
#main_text{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #fff;
}

#main_text h2{
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#main_text p{
    text-align: center;
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

#content{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #fff;
}

.content_container{
        margin-bottom: 7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.box_container{
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 0rem;
    color: #fff;
    gap: 3rem;
}

#youtube_box_container,
#seasons_box_container{
    grid-template-columns: repeat(2, 1fr);
}

#talkshow_box_container{
    grid-template-columns: repeat(3, 1fr);
}

#goods_box_container{
    grid-template-columns: repeat(1, 1fr);
}

.youtube_movie ,
.talkshow_box{
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.03);

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.youtube_movie img ,
.talkshow_box img {
  display: block;
  width: 100%;
  height: auto;

  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.youtube_movie:hover {
  transform: translateY(-3px);

  border-color: rgba(217, 73, 147, 0.7);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 22px rgba(217, 73, 147, 0.14);
}

.youtube_movie:hover img,
.talkshow_box:hover img {
  transform: scale(1.025);
}

.youtube_movie::after,
.talkshow_box::after {
  content: "";
  position: absolute;

  left: 14px;
  right: 14px;
  bottom: 0;

  height: 2px;

  background: #d94993;

  transform: scaleX(0.25);
  transform-origin: center;

  opacity: 0.7;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;

  pointer-events: none;
}

.youtube_movie:hover::after,
.talkshow_box:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.talkshow_box.is-ended img {
  opacity: 0.75;
}

.ended_label {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  padding: 10px 24px;

  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;

  background: rgba(217, 73, 147, 0.35);

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;

  border-color: rgba(217, 73, 147, 0.6);
  box-shadow: 0 0 18px rgba(217, 73, 147, 0.15);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  white-space: nowrap;
}

.content_container h3{
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 2.3rem;
    color: #ff0;
}

.content_container h3 i{
    font-size: 1.2rem;
    font-weight: 400;
}

.content_container h3 span{
    font-size: 1.4rem;
    font-weight: 400;
}

.content_container p{
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    width: 95%;
    margin: 0 auto;
}

.goods_box{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    background: #fff;
    padding: 3rem;
    border-radius: 1rem;
    color: #d94993;
}

.goods_image{
    width: 300px;
}

.goods_description{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.goods_description h4{
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.goods_get_box{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.goods_get_btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.6rem;
  font-weight: 600;
  transition: 0.3s ease;
  text-align: center;
}

.goods_get_btn.is-active {
  background: linear-gradient(
    180deg,
    #f3c84b 0%,
    #d9a91d 100%
  );

  color: #1a1a1a;
  border: 1px solid #ffd96a;

  
}

.goods_get_btn.is-disabled {
  background: rgba(4, 4, 4, 0.05);
  color: rgba(85, 85, 85, 0.28);
  border: 1px solid rgba(255,255,255,.10);

  box-shadow: none;
}

.goods_info{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.goods_info h5{
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 2rem 0 0;
}

.goods_info ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.goods_info li a {
      font-size: 1.6rem;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 48px 14px 18px;
    color: #fff;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 600;
    background: linear-gradient(
    180deg,
    #e45aa1 0%,
    #d94993 55%,
    #bd357e 100%
  );
    border: 1px solid #ef7fba;
    border-radius: 10px;
    box-shadow: 0 4px 0 #8f285f,
    0 8px 18px rgba(0, 0, 0, .35);
    transition: transform .2s ease,
    filter .2s ease,
    box-shadow .2s ease;
}

.goods_info li a::after {
  content: "→";

  position: absolute;
  right: 16px;
  top: 50%;

  color: #fff;
  font-size: 18px;

  transform: translateY(-50%);

  transition: transform .2s ease;
}

.goods_info li a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);

  box-shadow:
    0 6px 0 #8f285f,
    0 12px 24px rgba(0, 0, 0, .4);
}

.goods_info li a:hover::after {
  transform: translate(4px, -50%);
}

.goods_info li a:active {
  transform: translateY(3px);

  box-shadow:
    0 1px 0 #8f285f,
    0 4px 10px rgba(0, 0, 0, .25);
}

.goods_info_wait {
  padding: 20px;

  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: .05em;


  background: rgba(217, 73, 147, .06);
  color: #555;

  border: 1px dashed rgba(217, 73, 147, .5);

  border-radius: 10px;
}


.is-hidden {
  display: none !important;
}

.more_btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 40px;
    border: 1px solid #fff;
    background: #D94893;
    color: #fff;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 600;
}

.more-show {
  animation: moreFade 0.5s ease;
}


#race_countdown {
  margin-top: 12px;

  color: #fff;

  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;

  text-align: center;

  transition:
    font-size .4s ease,
    margin .4s ease;
}

#countdown_days {
  display: inline-block;

  margin: 0 5px;

  color: #e5ff00;
  text-shadow:
    0 0 12px rgba(229, 255, 0, .35);

  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
}


#main_race_logo.is-fixed #race_countdown {
  margin-top: 5px;
  font-size: 1.2rem;
}

#main_race_logo.is-fixed #countdown_days {
  margin: 0 2px;
  font-size: 3.5rem;
}

@keyframes moreFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 500px) {

    #navi_body {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 14px;
        width: 90%;
        margin: 0 auto;
    }

    #navi_body a {
    
        min-height: 62px;
    
    }

    #main_race_logo.is-fixed {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);

    width: 60%;

    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(217, 73, 147, 0.2);
    border-radius: 14px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(217, 73, 147, 0.08);
    }


    #main_text h2{
        font-size: 1.8rem;
    }

    #main_text p{
        font-size: 1.2rem;
    }

    #navi_container {
        width: 100%;
        margin: 10px auto;
        font-size: 1.4rem;
    }

    #content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0.5rem;
        color: #fff;
    }

    .content_container {
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5rem 0 0;
    }

    #youtube_box_container,
    #seasons_box_container {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.2rem;
    }

    .box_container {
        width: 97%;
        display: grid;
        justify-content: center;
        align-items: center;
        padding: 0rem;
        color: #fff;
        gap: 0.5rem;
    }

    #talkshow_box_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .goods_box{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        background: #fff;
        padding: 3rem;
        border-radius: 1rem;
        color: #d94993;
        align-items: center;
    }

    .goods_image {
        width: unset;
    }


    .goods_description {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .goods_info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .goods_info li a {
        font-size: 1.4rem;
    }

    .content_container h3 {
        width: 90%;
    }

}
    



.boat1{
    background-color: #fff;
    color: #000;
}

.boat2{
    background-color: #000;
    color: #fff;
}

.boat3{
    background-color: #e10d0d;
    color: #fff;
}

.boat4{
    background-color: #0628b3;
    color: #fff;
}

.boat5{
    background-color: #dde402;
    color: #000;
}

.boat6{
    background-color: #05a71a;
    color: #fff;
}


/* ラジオボタンの○を消す */
input[type="checkbox"] {
    display: none;
}
/* 画像の周りに隙間をあける */
label img {
    padding: 1px;
}

label{
    border-radius: 0.5rem;
}

/* 未選択の場合、色を薄くする */
input[type="checkbox"] + label {
    border: 2px solid #fff;
    opacity:1;
  }
/* 選択済みの場合、色を濃くする */
input[type="checkbox"]:checked + label {
    border: 2px solid #800101;
    opacity:0.7;
}

.dot-wrapper{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* 背景レイヤー */
.dot-wrapper::before{
  content: "";
  position: absolute;
  inset: -50%; /* 回転しても隙間が出ないように広めに */

  /* 指定カラー */
  background-color: #0f65ce;

  --dot: 16px;
  --gap: 45px;
  --tile: calc(var(--dot) + var(--gap));

  background-image:
    radial-gradient(circle, #0056bf 0 var(--dot), transparent calc(var(--dot) + 1px));
  background-size: var(--tile) var(--tile);

  transform: rotate(25deg);
  transform-origin: center;

  animation: dotMove 20s linear infinite;
  will-change: background-position;
}

@keyframes dotMove{
  from { background-position: 0 0; }
  to   { background-position:  var(--tile) calc(-1 * var(--tile)); }
}

.checker-bg {
  background-image:
    linear-gradient(45deg, #009edd 25%, transparent 25%),
    linear-gradient(-45deg, #009edd 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #009edd 75%),
    linear-gradient(-45deg, transparent 75%, #009edd 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
  background-color: #40b6e6;

  /* くっきりシャドウ */
  box-shadow:
  4px 4px 0 #0000006f,
  8px 8px 0 #0000006f;
}


.ZigZag_3D {
    background-color: #ffffff;
opacity: 1;
background-image:  linear-gradient(30deg, #ffeef3 12%, transparent 12.5%, transparent 87%, #ffeef3 87.5%, #ffeef3), linear-gradient(150deg, #ffeef3 12%, transparent 12.5%, transparent 87%, #ffeef3 87.5%, #ffeef3), linear-gradient(30deg, #ffeef3 12%, transparent 12.5%, transparent 87%, #ffeef3 87.5%, #ffeef3), linear-gradient(150deg, #ffeef3 12%, transparent 12.5%, transparent 87%, #ffeef3 87.5%, #ffeef3), linear-gradient(60deg, #ffeef377 25%, transparent 25.5%, transparent 75%, #ffeef377 75%, #ffeef377), linear-gradient(60deg, #ffeef377 25%, transparent 25.5%, transparent 75%, #ffeef377 75%, #ffeef377);
background-size: 32px 56px;
background-position: 0 0, 0 0, 16px 28px, 16px 28px, 0 0, 16px 28px;
  }

  .bg_dia{
    background-image: conic-gradient(from 45deg at 50% 50%, #ffdb25 90deg, transparent 90deg 180deg, #ffcc24 180deg 270deg, transparent 270deg);
background-size: 12px 12px;
background-color: #fffb02;
animation: moveBg2 3s linear infinite;
  }

  .bg_wave{
    background-color: #ffffff;
opacity: 1;
background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #ffffff 16px ), repeating-linear-gradient( #e8d1ff55, #e8d1ff );
  }


  .bg_circle{
    background-color: #ffffff;
opacity: 1;
background-image: radial-gradient(circle at center center, #fdffd8, #ffffff), repeating-radial-gradient(circle at center center, #fdffd8, #fdffd8, 16px, transparent 32px, transparent 16px);
background-blend-mode: multiply;
  }


  @keyframes moveBg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -71px 94px;
  }
}

@keyframes moveBg2 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 12px -12px;
  }
}

@keyframes showBlur {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%);
    filter: blur(30px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
    filter: blur(0);
  }
}
.striped-bg{
  --c1:#00b5ff;
  --c2:#01a2e6;

  background-image: repeating-linear-gradient(
    45deg,
    var(--c1) 0px 1px,
    var(--c2) 1px 4px,
    var(--c1) 4px 9px,
    var(--c2) 9px 17px
  );

  /* なくてもOKだけど、ピクセル感を揃えたいなら残す */
  background-size: 168px 168px;

  animation: stripe-drift 18s linear infinite;

  box-shadow:
    0 -14px 18px rgba(0,0,0,.6),
    0  14px 18px rgba(0,0,0,.6);
}

@keyframes stripe-drift{
  from { background-position: 0 0; }
  to   { background-position: 170px 170px; } /* ← 17の倍数にする */
}


.frame-yellow{
  border-color: #fffc00;
}


/* 画像URL差し替え */
.hero__slide.s1 { background-image: url("../images/main_bg_dream1.jpg"); animation-delay: 5s; }
.hero__slide.s2 { background-image: url("../images/main_bg_dream2.jpg"); animation-delay: 10s; }


/* テキスト（必要なら） */
.hero__content{
  position: relative;
  z-index: 2;
  color: #fff;
  padding: clamp(24px, 5vw, 64px);
  max-width: 900px;
}

/* 読みやすさのための薄いオーバーレイ */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  /*
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.0)
  );
  */
}

/* フェード + ズーム（Ken Burns） */
@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.08); }
  8%   { opacity: 1; }          /* フェードイン */
  45%  { opacity: 1; transform: scale(1.00); } /* ゆっくり寄り戻す */
  55%  { opacity: 0; }          /* フェードアウト */
  100% { opacity: 0; transform: scale(1.08); }
}

/* 動きを減らしたい人への配慮 */
@media (prefers-reduced-motion: reduce){
  .hero__slide{ animation: none; opacity: 0; transform: none; }
  .hero__slide.s1{ opacity: 1; }
}



/* ボタン（ハンバーガー） */
.menuBtn{
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    position: fixed;
    z-index: 999;
}

.menuBtn__icon{
  width: 26px;
  height: 18px;
  position: relative;
  display: block;
}
.menuBtn__icon span{
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;
  border-radius: 999px;
}
.menuBtn__icon span:nth-child(1){ top: 0; }
.menuBtn__icon span:nth-child(2){ top: 8px; }
.menuBtn__icon span:nth-child(3){ top: 16px; }

/* 背景暗幕 */
.backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 240ms ease;
  z-index: 900;
}
.backdrop.is-open{ opacity: 1; }

/* サイドナビ本体 */
.sideNav{
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(86vw, 360px);
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: translateX(-102%);
  transition: transform 280ms ease;
  z-index: 1000;
  padding: 18px 18px 28px;
  display: flex;
  flex-direction: column;
}
.sideNav.is-open{
  transform: translateX(0);
}

.sideNav__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.sideNav__title{
  font-weight: 700;
  letter-spacing: 0.06em;
}

.closeBtn{
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.sideNav__list{
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
}
.sideNav__list a{
  display: block;
  padding: 12px 10px;
  color: #111;
  text-decoration: none;
  border-radius: 12px;
}
.sideNav__list a:hover{
  background: rgba(0,0,0,0.06);
}

/* モーション軽減 */
@media (prefers-reduced-motion: reduce){
  .sideNav, .backdrop{ transition: none; }
}


.dot-bg {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #262262;
  overflow: hidden;
}

.dot-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-color: #262262;
  background-image: radial-gradient(circle, #153495 5px, transparent 5px);
  background-size: 40px 40px;
  transform: rotate(45deg);
  animation: dots-flow 20s linear infinite;
}

@keyframes dots-flow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 40px -180px;
  }
}


.dot-bg_yl {
  background-color: #a5ce00;

  background-image:
    radial-gradient(circle, #cde500 10px, transparent 10px),
    radial-gradient(circle, #cde500 10px, transparent 10px);

  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}



.banner_btn{
    width: 90%;
    height: auto;
    margin: 1rem auto;
}


/* ============================================================
   PGI Queens Climax 2026 - NEW page design (2026-11-02)
   main_visual / main_content and promo wrapper ONLY.
   Existing .content_container and promo JS styles remain unchanged.
   ============================================================ */

/* ピンク地が透けるように前サイトの黒ベースを解除 */
#main_container {
  width: 100%;
  max-width: 1400px;
  background: transparent;
}

/* メインビジュアル：loop動画 + 黒い半透明ドット網 */
#main_visual {
  position: relative;
  /* isolation と overflow をここに指定すると、
     スクロール追従ロゴが他のセクションの背面に回ったり、
     メインビジュアルの領域で切り取られる原因になるため指定しない。 */
  /* 親のmax-widthを超えて、ブラウザ幅いっぱいに広げる。
     親はflex + align-items:centerなので left/transform は不要。 */
  width: 100vw;
  max-width: none;
  flex-shrink: 0;
  min-height: clamp(520px, 58vw, 800px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: #60264b url('../images/main_bg.jpg') center / cover no-repeat;
}

#main_visual .mv__video,
#main_visual .mv__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#main_visual .mv__video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}
#main_visual .mv__screen {
  z-index: 1;
  /* 半透明の黒い細密ドット + 読みやすさのための薄い暗幕 */
  background-image:
    radial-gradient(circle, rgba(0, 0, 0, .45) .7px, transparent 1px),
    /* 映像下端に向かって黒を濃くし、ピンク背景との切り替えを引き締める */
    linear-gradient(to bottom,
      rgba(0,0,0,.06) 0%,
      rgba(0,0,0,.12) 55%,
      rgba(0,0,0,.36) 78%,
      rgba(0,0,0,.65) 100%);
  background-size: 3px 3px, 100% 100%;
}
#main_visual #logo_trigger {
  position: absolute;
  top: 0;
  left: 0;
}
#main_visual #main_race_logo {
  z-index: 2;
  left: auto;
  transform: none;
  width: min(760px, 83%);
  box-sizing: border-box;
  margin: 0 auto 34px;
  padding: 12px;
}
#main_visual #main_race_logo > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  /* 透過PNGの輪郭に沿う二段階の影。映像の上でもロゴを読みやすく。 */
  filter:
    drop-shadow(0 4px 4px rgba(0, 0, 0, .70))
    drop-shadow(0 12px 22px rgba(0, 0, 0, .48));
}
/* スクリーンショットにはカウントダウンがないため表示のみ抑制。
   DOMは残して既存JSとの互換性を維持。 */
#main_visual #race_countdown { display: none; }
/* 既存のスクロール追従ロゴJSが効いた場合の表示 */
#main_visual #main_race_logo.is-fixed {
  position: fixed;
  width: min(430px, 45vw);
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 16px;
  /* fixed 時は白カードやプロモーション要素より前面に表示 */
  z-index: 1100;
}

/* SNSの背景はピンクのまま。既存アイコンのCSSを維持 */
#sns_box { margin-top: 10px; margin-bottom: 16px; }

/* main_content だけを独立した白いカードにする */
#main_content {
  width: min(990px, calc(100% - 48px));
  margin: 72px auto 52px;
  color: #161616;
  font-family: 'line-font', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}
#main_content,
#main_content * { box-sizing: border-box; }
#main_content .qc-guide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(40px, 6vw, 110px) clamp(26px, 6vw, 110px) clamp(54px, 7vw, 115px);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(89, 3, 46, .08);
}
/* 大きく淡い紋章を背景に置く。既存画像を指定。 */
#main_content .qc-guide::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 180px;
  width: min(900px, 95%);
  aspect-ratio: 1;
  transform: translateX(-50%) rotate(-14deg);
  background: url('../images/pgi_mark.png') center / contain no-repeat;
  opacity: .065;
  pointer-events: none;
}
#main_content .qc-section + .qc-section { margin-top: 65px; }
#main_content .qc-section__heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 17px;
  color: #d1127d;
  font-size: clamp(23px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -.04em;
}
#main_content .qc-section__heading::before {
  content: '';
  display: block;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  background: url('../images/mark_qc.png') center / contain no-repeat;
}
#main_content .qc-section__lead {
  margin: 0 0 17px;
  color: #009b7f;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.55;
}
#main_content .qc-section p {
  margin: 0;
  color: #202020;
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 500;
  line-height: 2.05;
  overflow-wrap: anywhere;
}
#main_content .qc-photo-grid {
  display: grid;
  /*grid-template-columns: 1fr 1.48fr;*/
  gap: 18px;
  align-items: stretch;
  margin: 32px auto 0;
  width: 100%;
}
#main_content .qc-photo { margin: 0; min-width: 0; }
#main_content .qc-photo img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}
/* 歴代覇者：2025年までの14大会。デスクトップでは2列、スマホでは1列 */
#main_content .qc-champions {
  width: 100%;
  margin: 30px auto 0;
  padding: 23px 24px 20px;
  background: #fff7fb;
  border: 1px solid #f2c8dd;
  border-radius: 16px;
}
#main_content .qc-champions__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid #d1127d;
}
#main_content .qc-champions__header h3 {
  margin: 0;
  color: #c01475;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.4;
}
#main_content .qc-champions__period {
  color: #a3537e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
#main_content .qc-champions__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  padding: 16px 0 0;
  margin: 0;
}
#main_content .qc-champion {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 5px 11px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #f2d5e5;
  border-radius: 9px;
  background: #fff;
}
#main_content .qc-champion--latest {
  border-color: #dfa2c2;
  background: #ffedf6;
}
#main_content .qc-champion__edition {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
#main_content .qc-champion__year {
  color: #c01475;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.035em;
}
#main_content .qc-champion__round {
  color: #816477;
  font-size: 10px;
  font-weight: 700;
}
#main_content .qc-champion__name {
  min-width: 0;
  color: #252025;
  font-size: clamp(14px, 1.45vw, 19px);
  font-weight: 900;
  line-height: 1.45;
  white-space: nowrap;
}
#main_content .qc-champion__venue {
  color: #a15b83;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
#main_content .qc-champions .qc-champions__source {
  margin-top: 14px;
  color: #705568;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}
#main_content .qc-champions__source a {
  color: #9f185f;
  text-underline-offset: 2px;
}
@media screen and (min-width: 768px) and (max-width: 950px) {
  #main_content .qc-champions { padding: 20px 16px; }
  #main_content .qc-champion { grid-template-columns: 53px minmax(0, 1fr) auto; gap: 4px 5px; padding: 9px 7px; }
  #main_content .qc-champion__year { font-size: 17px; }
  #main_content .qc-champion__name { font-size: 14px; }
  #main_content .qc-champion__venue { font-size: 10px; }
}
#main_content .qc-steps { margin-top: 25px; }
#main_content .qc-step + .qc-step { margin-top: 24px; }
#main_content .qc-step h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 3px;
  margin: 0 0 5px;
  color: #009d81;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 900;
  line-height: 1.45;
}
#main_content .qc-step__number {
  display: inline-block;
  flex-shrink: 0;
  font-family: 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  font-style: italic;
  font-size: clamp(29px, 3.5vw, 45px);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -.055em;
  line-height: 1.05;
}
#main_content .qc-step__number big {
  font-size: 1.35em;
  line-height: .7;
  vertical-align: -.06em;
}
#main_content .qc-step p { line-height: 1.8; }
#main_content .qc-rules-graphic { width: 100%; margin-top: 12px; }
#main_content .qc-rules-graphic img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* promo_content の中身は変更せず、背景の囲いだけ追加 */
#promo_content {
  box-sizing: border-box;
  width: min(1190px, calc(100% - 48px));
  padding: 56px clamp(16px, 4vw, 65px) 70px;
  margin: 0 auto 90px;
  background: #64153f;
  color: #fff;
  border-radius: 26px;
}

@media screen and (max-width: 767px) {
  #main_visual { width: 100vw; min-height: 74vh; min-height: max(480px, 74svh); }
  #main_visual #main_race_logo { width: 94%; margin-bottom: 22px; }
  #main_visual #main_race_logo.is-fixed { width: 68%; }
  #main_content { width: calc(100% - 28px); margin: 36px auto 40px; }
  #main_content .qc-guide { padding: 35px 20px 50px; border-radius: 18px; }
  #main_content .qc-guide::before { top: 210px; width: 115%; }
  #main_content .qc-section + .qc-section { margin-top: 44px; }
  #main_content .qc-section__heading { gap: 9px; font-size: clamp(19px, 5.8vw, 26px); }
  #main_content .qc-section__heading::before { width: 34px; height: 34px; flex-basis: 34px; }
  #main_content .qc-section__lead { font-size: clamp(16px, 4.5vw, 19px); }
  #main_content .qc-section p { font-size: 13px; line-height: 1.95; }
  #main_content .qc-photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  #main_content .qc-photo img { height: 145px; }
  #main_content .qc-champions { margin-top: 22px; padding: 17px 12px 14px; border-radius: 12px; }
  #main_content .qc-champions__header h3 { font-size: 21px; }
  #main_content .qc-champions__list { grid-template-columns: 1fr; gap: 7px; padding-top: 12px; }
  #main_content .qc-champion { min-height: 59px; grid-template-columns: 57px minmax(0, 1fr) auto; gap: 6px; padding: 8px 10px; }
  #main_content .qc-champion__year { font-size: 18px; }
  #main_content .qc-champion__name { font-size: clamp(14px, 4vw, 17px); }
  #main_content .qc-champions .qc-champions__source { font-size: 10px; }
  #main_content .qc-step h3 { font-size: clamp(15px, 4vw, 19px); column-gap: 8px; }
  #main_content .qc-step__number { font-size: 28px; }
  #promo_content { width: calc(100% - 22px); padding: 38px 12px 52px; border-radius: 14px; margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  #main_visual .mv__video { display: none; }
}


/* ============================================================
   PGI Queens Climax 2026 - FIXED HEADER NAVIGATION
   ストリートファイター映画サイトの横並びヘッダーナビを参考に、
   今回のピンク / ダークカラーに合わせて作成。
   このブロック以外の既存スタイルは変更していません。
   ============================================================ */
:root {
  --qc-header-height: 74px;
  --qc-header-bg: rgba(25, 10, 23, .91);
  --qc-header-accent: #f547a5;
  --qc-header-active: #edff40;
}

.qc-header, .qc-header * { box-sizing: border-box; }
.qc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000; /* スクロール追従race_logoより上 */
  height: var(--qc-header-height);
  background: var(--qc-header-bg);
  border-bottom: 2px solid var(--qc-header-accent);
  box-shadow: 0 4px 26px rgba(0,0,0,.19);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: 'line-font', 'Noto Sans JP', Arial, sans-serif;
}
.qc-header__inner {
  width: min(1500px, 100%);
  height: 100%;
  padding: 0 clamp(18px, 3vw, 50px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.qc-header__nav { flex: 1 1 auto; min-width: 0; }
.qc-header__links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 2.1vw, 35px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.qc-header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--qc-header-height);
  color: #fff;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 900;
  letter-spacing: .025em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  transition: color .2s ease, opacity .2s ease;
}
.qc-header__link::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--qc-header-active);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.qc-header__link:not(.is-pending):hover,
.qc-header__link.is-current { color: var(--qc-header-active); opacity: 1; }
.qc-header__link:not(.is-pending):hover::after,
.qc-header__link.is-current::after { transform: scaleX(1); }
.qc-header__link.is-pending {
  opacity: .5;
  cursor: default;
}
.qc-header__link:focus-visible,
.qc-header__sns a:focus-visible,
.qc-header__toggle:focus-visible {
  outline: 2px solid var(--qc-header-active);
  outline-offset: 3px;
}
.qc-header__sns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.2vw, 16px);
  flex: 0 0 auto;
}
.qc-header__sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: transform .2s ease, opacity .2s ease;
}
.qc-header__sns a:hover { transform: translateY(-2px); opacity: .7; }
.qc-header__sns img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qc-header__toggle { display: none; }

/* アンカー移動先が固定ナビの下に隠れないようにする */
#main_visual, #main_content, #about-qc, #youtube_content,
#seasons_content, #talkshow_content, #goods_content {
  scroll-margin-top: calc(var(--qc-header-height) + 18px);
}

/* 従来の固定race_logoがナビゲーションの背面に来ないよう、位置を調整 */
#main_visual #main_race_logo.is-fixed {
  top: calc(var(--qc-header-height) + 14px);
  width: min(300px, 30vw);
}

@media screen and (max-width: 920px) {
  :root { --qc-header-height: 62px; }
  .qc-header__inner { padding: 0 14px; gap: 12px; }
  .qc-header__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 70px;
    min-height: 44px;
    padding: 7px 5px;
    border: 0;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    cursor: pointer;
  }
  .qc-header__hamburger {
    width: 25px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .qc-header__hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .qc-header.is-open .qc-header__hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .qc-header.is-open .qc-header__hamburger span:nth-child(2) { opacity: 0; }
  .qc-header.is-open .qc-header__hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .qc-header__nav {
    display: none;
    position: absolute;
    top: var(--qc-header-height);
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px 20px 18px;
    background: rgba(30, 10, 29, .98);
    border-bottom: 2px solid var(--qc-header-accent);
    box-shadow: 0 16px 20px rgba(0,0,0,.22);
    max-height: calc(100dvh - var(--qc-header-height));
    overflow-y: auto;
  }
  .qc-header.is-open .qc-header__nav { display: block; }
  .qc-header__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .qc-header__links li + li { border-top: 1px solid rgba(255,255,255,.14); }
  .qc-header__link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 47px;
    font-size: 16px;
  }
  .qc-header__link::after { left: auto; right: 4px; width: 28px; bottom: 10px; }
  .qc-header__sns { margin-left: auto; gap: clamp(7px, 2.5vw, 12px); }
  .qc-header__sns a { width: 25px; height: 25px; }
  #main_visual #main_race_logo.is-fixed {
    top: calc(var(--qc-header-height) + 9px);
    width: min(190px, 48vw);
  }
}
@media (prefers-reduced-motion: reduce) {
  .qc-header__link, .qc-header__link::after, .qc-header__sns a,
  .qc-header__hamburger span { transition: none; }
}
