@charset "UTF-8";

/*******************************
共通CSS
********************************/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", serif;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
}

#wrapper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

p {
  font-family: "Noto Sans JP", serif;
}

h1 {
  font-family: sans-serif;
}

.center {
  text-align: center;
}

a {
  width: 100%;
  height: 100%;
  display: block;
}

li {
  list-style: none;
}

.no {
  pointer-events: none;
  opacity: 0.2;
}

/* =====================================================
  アニメーション共通
===================================================== */
.anim {
  opacity: 0;
  will-change: opacity, transform, filter;
  transition-property: opacity, transform, filter;
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

/* 表示された状態 */
.anim.is-show {
  opacity: 1;
  transform: none;
  filter: none;
}

/* =====================================================
  1. ふわっとフェードイン
===================================================== */
.anim-fade {
  transform: translateY(12px);
}

/* =====================================================
  2. ブラーがかかってフェードイン
===================================================== */
.anim-blur {
  transform: translateY(16px);
  filter: blur(12px);
}

/* =====================================================
  3. 画面表示時アニメーション（下から）
===================================================== */
.anim-up {
  transform: translateY(40px);
}

/* =====================================================
  オプション：遅延（必要なら）
===================================================== */
.anim-delay-1 {
  transition-delay: 0.15s;
}

.anim-delay-2 {
  transition-delay: 0.3s;
}

.anim-delay-3 {
  transition-delay: 0.45s;
}

/* =====================================================
  モーション軽減対応（アクセシビリティ）
===================================================== */
@media (prefers-reduced-motion: reduce) {
  .anim {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* inview でクラス付与されたら発火 */

/* loading
------------------------------------------------------------*/
#loading {
  position: fixed;
  inset: 0;
  background: #fffedb;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* 表示→一定時間後に非表示 */
  animation: loading-hide 0.8s ease forwards;
  animation-delay: 1s;
  /* ここで表示しておく時間を調整 */
}

@keyframes loading-hide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* loading dot
------------------------------------------------------------*/
.dots {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dots .dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #feda86;
  border-radius: 50%;
  animation: dot-pulse 1.5s ease-in-out infinite;
}

.dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-pulse {

  0%,
  100% {
    transform: scale(0.7);
    opacity: 0.7;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

/* anime
------------------------------------------------------------*/
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*****************************************************************************************************************************************
  「★PC版 CSS★」ブラウザの幅が751px以上ならここの記述が有効になる
*****************************************************************************************************************************************/
@media all and (min-width: 751px) {

  html {
    min-width: 1920px;
    overflow-y: scroll;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
    min-width: 1920px;
    background: #fff;
    margin: 0;
  }

  #wrapper {
    min-width: 1920px;
  }

  .pc_non {
    display: none;
  }

  /* top
------------------------------------------------------------*/
  #top_con {
    width: 1920px;
    height: 956px;
    position: relative;
  }

  .top_visu {
    width: 100%;
    height: 100%;
    background: url(../images/top_bg_pc.png) no-repeat center / 100%;
    position: relative;
    z-index: 1;
  }

  /* header
------------------------------------------------------------*/
  #header {
    width: 97%;
    height: 50px;
    position: relative;
    display: flex;
    padding: 20px 0 0 54px;
    z-index: 98;
  }

  /* gama rogo
------------------------------------------------------------*/
  #hp_link {
    background: url(../images/g_logo.svg) no-repeat left / cover;
    width: 236px;
        height: 100%;
        margin-right: 30px;
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
  }

  #hp_link:hover {
    opacity: 0.5;
  }

  #hp_link a {
    width: 100%;
    height: 100%;
  }

  /* sns button
------------------------------------------------------------*/
  #sns {
    border-right: 1px solid #fff;
  }

  #sns ul {
    display: flex;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  #sns ul li {
    width: 100%;
    height: 100%;
    border-left: 1px solid #fff;
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
  }

  #sns ul li:hover {
    transform: translateY(-5px);
  }

  #sns ul li a {
    width: 100%;
    height: 100%;
  }

  #sns ul li img {
    width: 100%;
    height: 100%;
  }

  /* 選手写真スライド
------------------------------------------------------------*/
  /* スライド枠（必要ならサイズはここで調整） */
  .top_racer_slide {
    position: absolute;
    width: 722px;
    height: 676px;
    overflow: hidden;
    z-index: 0;
    top: 81px;
  }

  /* Swiper本体を枠いっぱいに */
  .top_racer_slide .swiper,
  .top_racer_slide .swiper-wrapper,
  .top_racer_slide .swiper-slide {
    width: 100%;
    height: 100%;
  }

  /* 画像の表示（トリミングしてフィット） */
  .top_racer_slide .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 全面に敷き詰め */
    object-position: center;
    display: block;
  }

  /* フェードをより“ふわっ”と見せたい場合（任意） */
  .top_racer_slide .swiper-slide {
    will-change: opacity, transform;
  }

  /* カウントダウン
------------------------------------------------------------*/
  .countdown {
    width: fit-content;
    margin: 0;
    color: #fff;
    position: absolute;
    bottom: 252px;
    left: 626px;
    font-family: "mr-eaves-modern", sans-serif;
    font-weight: 800;
    font-style: normal;
  }

  .countdown_inner {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .countdown_label {
    font-size: 25px;
    opacity: 0.85;
  }

  .countdown_inner::after {
    content: "";
    width: 124px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    top: -18px;
    position: relative;
    right: 316px;
  }

  /* 日数 */
  .countdown_value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    position: relative;
    bottom: 9px;
  }

  .countdown_value .num {
    font-size: 62px;
    line-height: 1;
    font-family: "ff-din-paneuropean", sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .countdown_value .unit {
    font-size: 45px;
  }

  /* 開催中 */
  .countdown_open {
    display: none;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 0.12em;
  }

  /* 赤文字クラシック
------------------------------------------------------------*/
  .top_red_classic {
    background: url(../images/top_red_logo.svg) no-repeat center / cover;
    width: 602px;
    height: 198px;
    position: absolute;
    top: 306px;
    left: 550px;
  }

  /* コンテンツボタン
------------------------------------------------------------*/
  .top_con_btn {
    width: 570px;
    height: 160px;
    position: absolute;
    top: 103px;
    right: 121px;
    padding: 0;
    margin: 0;
  }

  .con01,
  .con02,
  .con03 {
    width: 100%;
    height: 100%;
    margin-bottom: 14px;
    filter: drop-shadow(2px 4px 6px black);
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
  }

  .con01 {
    background: url(../images/con01_btn.png) no-repeat center / cover;
  }

  .con02 {
    background: url(../images/con02_btn.png) no-repeat center / cover;
  }

  .con03 {
    background: url(../images/con03_btn.png) no-repeat center / cover;
  }

  .con01:hover,
  .con02:hover,
  .con03:hover,
  .pamph:hover,
  .event:hover,
  .tokuten:hover {
    transform: translateY(-3px);
  }

  .top_sub_btn {
    width: 578px;
    height: 95px;
    position: absolute;
    top: 623px;
    right: 113px;
    padding: 0;
    margin: 0;
    display: flex;
  }

  .pamph {
    background: url(../images/pamph.png) no-repeat center / cover;
  }

  .event {
    background: url(../images/event.png) no-repeat center / cover;
  }

  .tokuten {
    background: url(../images/tokuten.png) no-repeat center / cover;
  }

  .pamph,
  .event,
  .tokuten {
    width: 100%;
    height: 100%;
    margin-right: 9px;
    filter: drop-shadow(2px 4px 6px black);
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
  }

  .modal_imgWrap img {
    display: block;
    max-width: min(92vw, 900px);
    max-height: 82vh;
    width: auto;
    height: auto;
  }

  /* タイトルロゴ
------------------------------------------------------------*/
  .top_title {
    background: url(../images/top_tit_pc.png) no-repeat center / cover;
    width: 1350px;
    height: 177px;
    position: absolute;
    bottom: 38px;
    left: 60px;
  }

  /* フォトギャラリー
------------------------------------------------------------*/

  /* champエリア（背景などはお好みで） */
  #champ {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: url(../images/champ_bg_pc.png) no-repeat center / cover;
    width: 100%;
    height: 395px;
  }

  /* =========================
   champ marquee（PC/SP共通で安定版）
========================= */
  #champ {
    position: relative;
    overflow: hidden;
  }

  /* 枠 */
  .champ_marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  /* 動く帯 */
  .champ_track {
    display: inline-flex;
    width: auto;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    animation: champMarquee var(--champ-duration, 70s) linear infinite;
  }

  /* セット */
  .champ_set {
    display: flex;
    flex: 0 0 auto;
    gap: 50px;
    padding-right: 50px;
  }

  /* 画像 */
  .champ_set img {
    display: block;
    flex: 0 0 auto;

    /* Safariの鬼門filterは使わない */
    box-shadow: 0 4px 10px rgba(0, 0, 0, .35);

    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* 1セット分だけ動かす */
  @keyframes champMarquee {
    from {
      transform: translate3d(0, 0, 0);
    }

    to {
      transform: translate3d(calc(-1 * var(--champ-set-width, 0px)), 0, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .champ_track {
      animation: none;
    }
  }

  /* footer
------------------------------------------------------------*/
  .footer {
    background: #000000;
    padding: 3px 0;
    position: relative;
    z-index: 15;
  }

  .footer p {
    font-family: "Roboto";
    color: #fff;
    text-align: center;
    line-height: 3px;
    font-size: 13px;
  }

}

/*****************************************************************************************************************************************
  「★SP版 CSS★」ブラウザの幅が750px以下ならここの記述が有効になる
*****************************************************************************************************************************************/
@media only all and (max-width: 750px) {

  body {
    font-size: 28px;
    line-height: 1.5;
    background: #000;
    margin: 0;
  }

  body.noScroll {
    overflow: hidden;
  }

  #wrapper {
    overflow-x: hidden;
  }

  p {
    max-height: 100%;
  }

  .sp_non {
    display: none !important;
  }

  #wrapper {
    width: 750px;
    margin-top: 0;
  }

  /* top
------------------------------------------------------------*/
  #top_con {
    width: 750px;
    height: 1947px;
    position: relative;
  }

  .top_visu {
    width: 100%;
    height: 100%;
    background: url(../images/top_bg_sp.png) no-repeat center / 100%;
    position: relative;
    z-index: 1;
  }

  /* header
------------------------------------------------------------*/
  #header {
    width: 100%;
    height: 62px;
    position: relative;
    display: flex;
    padding: 17px 0 0px 24px;
    z-index: 100;
    align-items: center;
  }

  /* gama rogo
------------------------------------------------------------*/
  #hp_link {
    background: url(../images/g_logo.svg) no-repeat center / cover;
    width: 272px;
    height: 92%;
    margin-right: 18px;
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
  }

  #hp_link a {
    width: 100%;
    height: 100%;
  }

  /* sns button
------------------------------------------------------------*/
  #sns {
    border-right: 1px solid #fff;
  }

  #sns ul {
    display: flex;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  #sns ul li {
    width: 100%;
    border-left: 1px solid #fff;
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
  }

  #sns ul li a {
    width: 100%;
    height: 100%;
  }

  #sns ul li img {
    width: 100%;
    height: 100%;
  }

  /* 選手写真スライド
------------------------------------------------------------*/
  /* スライド枠（必要ならサイズはここで調整） */
  .top_racer_slide {
    position: absolute;
    width: 493px;
    height: 676px;
    overflow: hidden;
    z-index: 0;
    top: 81px;
  }

  /* Swiper本体を枠いっぱいに */
  .top_racer_slide .swiper,
  .top_racer_slide .swiper-wrapper,
  .top_racer_slide .swiper-slide {
    width: 100%;
    height: 100%;
  }

  /* 画像の表示（トリミングしてフィット） */
  .top_racer_slide .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 全面に敷き詰め */
    object-position: center;
    display: block;
  }

  /* フェードをより“ふわっ”と見せたい場合（任意） */
  .top_racer_slide .swiper-slide {
    will-change: opacity, transform;
  }

  /* カウントダウン
------------------------------------------------------------*/
  .countdown {
    width: fit-content;
    margin: 0;
    color: #fff;
    position: absolute;
    top: 595px;
    left: 378px;
    font-family: "mr-eaves-modern", sans-serif;
    font-weight: 800;
    font-style: normal;
  }

  .countdown_inner {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .countdown_label {
    font-size: 25px;
    opacity: 0.85;
  }

  .countdown_inner::after {
    content: "";
    width: 99px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    top: -18px;
    position: relative;
    right: 294px;
  }

  /* 日数 */
  .countdown_value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    position: relative;
    bottom: 15px;
  }

  .countdown_value .num {
    font-size: 73px;
    line-height: 1;
    font-family: "ff-din-paneuropean", sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .countdown_value .unit {
    font-size: 42px;
  }

  /* 開催中 */
  .countdown_open {
    display: none;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 0.12em;
  }

  /* 赤文字クラシック
------------------------------------------------------------*/
  .top_red_classic {
    background: url(../images/top_red_logo.svg) no-repeat center / cover;
    width: 352px;
    height: 115px;
    position: absolute;
    top: 314px;
    left: 370px;
  }

  /* コンテンツボタン
------------------------------------------------------------*/
  .top_con_btn {
    width: 681px;
    height: 194px;
    position: absolute;
    bottom: 733px;
    right: 31px;
    padding: 0;
    margin: 0;
  }

  .con01,
  .con02,
  .con03 {
    width: 100%;
    height: 100%;
    margin-bottom: 14px;
    filter: drop-shadow(2px 4px 6px black);
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
  }

  .con01 {
    background: url(../images/con01_btn.png) no-repeat center / cover;
  }

  .con02 {
    background: url(../images/con02_btn.png) no-repeat center / cover;
  }

  .con03 {
    background: url(../images/con03_btn.png) no-repeat center / cover;
  }

  .top_sub_btn {
    width: 694px;
    height: 159px;
    position: absolute;
    bottom: 142px;
    right: 19px;
    padding: 0;
    margin: 0;
    display: flex;
  }

  .pamph {
    background: url(../images/pamph_sp.png) no-repeat center / cover;
  }

  .event {
    background: url(../images/event_sp.png) no-repeat center / cover;
  }

  .tokuten {
    background: url(../images/tokuten_sp.png) no-repeat center / cover;
  }

  .pamph,
  .event,
  .tokuten {
    width: 100%;
    height: 100%;
    margin-right: 9px;
    filter: drop-shadow(2px 4px 6px black);
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
  }

  .modal_imgWrap img {
    display: block;
    max-width: min(92vw, 900px);
    max-height: 82vh;
    width: auto;
    height: auto;
  }

  /* タイトルロゴ
------------------------------------------------------------*/
  .top_title {
    background: url(../images/top_tit_sp.png) no-repeat center / cover;
    width: 696px;
    height: 213px;
    position: absolute;
    top: 733px;
    left: 20px;

  }

  /* フォトギャラリー
------------------------------------------------------------*/

  /* champエリア（背景などはお好みで） */
  #champ {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: url(../images/champ_bg_sp.png) no-repeat bottom / cover;
    width: 100%;
    height: 529px;
  }

  /* マーキー枠 */
  .champ_marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  /* 動く帯 */
  .champ_track {
    display: inline-flex;
    /* ← flex → inline-flex */
    width: auto;
    /* ← max-content をやめる */
    white-space: nowrap;
    /* 念のため */
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: champMarquee var(--champ-duration, 70s) linear infinite;
  }

  /* 1セット分（これを複製して2セットにする） */
  .champ_set {
    display: flex;
    gap: 50px;
    padding-left: 50px;
  }

  /* 写真の見た目（サイズはスクショに合わせて調整） */
  .champ_set img {
    height: 520px;
    width: auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    flex: 0 0 auto;
  }

  /* 右→左へ */
  /* @keyframes champScroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }

  } */

  /* 1セット分だけ左へ動かしてループ */
  @keyframes champMarquee {
    from {
      transform: translate3d(0, 0, 0);
    }

    to {
      transform: translate3d(calc(-1 * var(--champ-set-width, 0px)), 0, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .champ_track {
      animation: none;
    }
  }

  /* 右下のテキスト（任意） */
  .champ_cap {
    position: absolute;
    right: 12px;
    bottom: 6px;
    margin: 0;
    font-weight: 800;
    font-size: 20px;
    color: #f5b400;
    /* 例 */
    text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  }

  /* footer
------------------------------------------------------------*/
  .footer {
    background: #000000;
    padding: 3px 0;
    position: relative;
    z-index: 15;
  }

  .footer p {
    font-family: "Roboto";
    color: #fff;
    text-align: center;
    line-height: 3px;
    font-size: 24px;
  }

}