@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: clip;
}
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; }

.fade-in { opacity: 0; transform: translateY(20px); }
/* inview でクラス付与されたら発火 */
.fade-in.is-show { animation: fadeIn 0.8s ease-out forwards; }
/* ピコピコ：中間で“カクッ”と縮む（stepsで非なめらか） */
@keyframes pico {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(0.8); }
}
.pico {
  display: inline-block;
  transform-origin: center;
  animation: pico 1.2s steps(1, end) infinite;
}
/* 動きを苦手なユーザー配慮（任意） */
@media (prefers-reduced-motion: reduce) {
  .pico { animation: none !important; }
}
/* === ピカピカ切替（pico風・カクカク） === */
@keyframes sunBlink {
  0%, 49% {
    background-image: url(../images/sun_a.svg);
    filter: brightness(1);
  }
  50%, 100% {
    background-image: url(../images/sun_b.svg);
    filter: brightness(1.6);
  }
}

/* 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;
  overflow-x: hidden;
}
#wrapper { min-width: 1920px; }
.pc_non { display: none; }

/* top
------------------------------------------------------------*/
#top_con {
  width: 1920px;
  height: 939px;  
  background: url(../images/top_bg.png) no-repeat center / 100%;
  position: relative;
}

/* header
------------------------------------------------------------*/
#header {
  width: 1920px;
  height: 30px;
  position: relative;
  display: flex;
  padding: 15px 0px 14px 30px;
  background-color: #FF83BD;
  border-bottom: solid #000 4px;
  z-index: 100;
  filter: drop-shadow(2px 4px 6px rgb(50, 50, 50, 0.5));
}

/* gama rogo
------------------------------------------------------------*/
#hp_link {
  width: 164px;
  height: 34px;
  background: url(../images/g_logo.svg) left / cover no-repeat;
  transition: transform 0.1s 
  ease-out, opacity 0.1s 
  ease-out;
}
#hp_link:hover { opacity: 0.5; }
#hp_link a { display: block; width: 100%; height: 100%; }

/* sns button
------------------------------------------------------------*/
#menu_sns {
  border-right: 1px solid #fff;
  width: 240px;
  height: 32px;
  margin: 0px 0 0 17px;
}
#menu_sns ul {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;             
}
#menu_sns ul li {
  width: 100%;
  height: 100%;
  border-left: 1px solid #fff;
  transition: transform 0.1s ease-out, opacity 0.3s ease-out;
}
#menu_sns ul li:hover { transform: translateY(-5px); }
#menu_sns ul li a { display: block; width: 100%; height: 100%; }
#menu_sns ul li img { width: 100%; height: 100%; }

/* live button
------------------------------------------------------------*/
#race {
  width: 338px;
  position: absolute;
  right: 57px;
  top: 20px;
}
#race ul { margin: 0; padding: 0; display: flex; }
#race li { transition: transform 0.1s ease-out, opacity 0.1s ease-out; }
#race li:hover { opacity: 0.4; }
.live_btn   { width: 100%; height: 97px; background: url(../images/top_live.svg) center / cover no-repeat; }
.replay_btn { width: 100%; height: 97px; background: url(../images/top_replay.svg) center / cover no-repeat; }
.vote_btn   { width: 100%; height: 97px; background: url(../images/top_vote.svg) center / cover no-repeat; }

/* tit aqua
------------------------------------------------------------*/
#top_tit {
  width: 1231px;
  height: 401px;
  margin: 0;
  position: absolute;
  background: url(../images/top_tit.svg) no-repeat center;
  background-size: contain;
  bottom: 31px;
  right: -22px;
}
.top_aqua {
  width: 551px;
  height: 954px;
  background: url(../images/top_aqua.png) no-repeat center;
  background-size: contain;
  position: absolute;
  left: 191px;
  top: 31px;
}
.top_konosuba_rogo {
  width: 262px;
  height: 157px;
  background: url(../images/top_k_logo.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  left: 49px;
  top: 555px;
}
.top_konosuba_copy p {
  font-size: 16px;
  color: #000000;
  position: absolute;
  right: 36px;
  top: 902px;
  margin: 0;
  font-weight: bold;
  text-shadow: rgb(255, 255, 255) 3px 0px 0px,rgb(255, 255, 255) 2.83487px 0.981584px 0px,rgb(255, 255, 255) 2.35766px 1.85511px 0px,rgb(255, 255, 255) 1.62091px 2.52441px 0px,rgb(255, 255, 255) 0.705713px 2.91581px 0px,rgb(255, 255, 255) -0.287171px 2.98622px 0px,rgb(255, 255, 255) -1.24844px 2.72789px 0px,rgb(255, 255, 255) -2.07227px 2.16926px 0px,rgb(255, 255, 255) -2.66798px 1.37182px 0px,rgb(255, 255, 255) -2.96998px 0.42336px 0px,rgb(255, 255, 255) -2.94502px -0.571704px 0px,rgb(255, 255, 255) -2.59586px -1.50383px 0px,rgb(255, 255, 255) -1.96093px -2.27041px 0px,rgb(255, 255, 255) -1.11013px -2.78704px 0px,rgb(255, 255, 255) -0.137119px -2.99686px 0px,rgb(255, 255, 255) 0.850987px -2.87677px 0px,rgb(255, 255, 255) 1.74541px -2.43999px 0px,rgb(255, 255, 255) 2.44769px -1.73459px 0px,rgb(255, 255, 255) 2.88051px -0.838247px 0px;
}
.top_kira_a {
  background: url(../images/kira_a.svg) center / cover no-repeat;
  width: 94px;
  height: 127px;
  position: absolute;
  top: 415px;
  left: 10px;
}
.top_kira_b {
  background: url(../images/kira_b.svg) center / cover no-repeat;
  width: 114px;
  height: 127px;
  position: absolute;
  top: 535px;
  left: 670px;
}
.top_kira_c {
  background: url(../images/kira_c.svg) center / cover no-repeat;
  width: 114px;
  height: 137px;
  position: absolute;
  top: 265px;
  right: 0px;
}
.top_sun {
  background: url(../images/sun_a.svg) center / cover no-repeat;
  width: 96px;
  height: 140px;
  position: absolute;
  top: 40px;
  left: 530px;
  animation: sunBlink 1.2s steps(1, end) infinite;
}
/* menu area
------------------------------------------------------------*/
#menu {
  width: 1017px;
  /* height: 495px; */
  position: absolute;
  right: 196px;
  top: 123px;
  margin: 0;

}
#menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
.menu li {
  width: 247px;
  height: 262px;  
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .1s ease-out, opacity .3s ease-out, filter .2s ease-out;
  position: relative;
  z-index: 0;
}
.menu li:hover {
  transform: translateY(-5px);
  z-index: 10;
}
.menu a {
  display: block;
  width: 235px;
  height: 262px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  -webkit-clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.tenbo  { background: url(../images/top_tenbo_btn.svg) center / cover no-repeat; }
.syutu  { background: url(../images/top_syutu_btn.svg) center / cover no-repeat;   margin-left: 250px;  margin-top: -92px;}
.dream  { background: url(../images/top_dream_btn.svg) center / cover no-repeat; }
.event  { background: url(../images/top_event_btn.svg) center / cover no-repeat; }
.gamapo { background: url(../images/top_gamapo_btn.svg) center / cover no-repeat; }
.movie  { background: url(../images/top_movie_btn.svg) center / cover no-repeat; }
.column { background: url(../images/top_column_btn.svg) center / cover no-repeat; }
.menu li:nth-child(n+5) {
  margin-top: -92px;
}

/* topics
------------------------------------------------------------*/
#topics {
  width: 706px;
  height: 317px;
  margin: 0;
  bottom: -60px;
  left: -154px;
  position: absolute;
  transform: scale(0.48);
}
#topics .swiper-slide {
  display: flex;
  justify-content: center; /* 画像を中央寄せ */
  align-items: center;
}
.topics:hover { opacity: 0.6; }

/* footer
------------------------------------------------------------*/
.footer {
  background: #FF83BD;
  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 {
  min-height: 2360px;
  background: url(../images/top_bg_sp.png) no-repeat top;
  position: relative;
  margin: 0;
  padding: 0;
}

/* header
------------------------------------------------------------*/
#header {
  width: 734px;
  height: 85px;
  position: relative;
  display: flex;
  padding: 8px;
  background-color:#FF83BD;
  border-bottom: solid #000 4px;
  filter: drop-shadow(50,50,50,0.4);
  z-index: 100;
}

/* gama logo
------------------------------------------------------------*/
#hp_link {
  background: url(../images/g_logo.svg) no-repeat center;
  width: 480px;
  height: 60px;
  background-size: contain;
  margin: auto 13px auto 8px;
}
#hp_link a { width: 100%; height: 100%; }

/* sns
------------------------------------------------------------*/
#menu_sns { border-right: 1px solid #fff; height: 60px; margin: auto 0;}
#menu_sns ul {
  display: flex;
  height: 100%;
  width: 430px;
  padding: 0;
  margin: 0;
}
#menu_sns ul li { width: 100%; height: 100%; border-left: 1px solid #fff; }
#menu_sns ul li a { width: 100%; height: 100%; }
#menu_sns ul li img { width: 100%; height: 100%; }

/* live button
------------------------------------------------------------*/
#race {
  width: 750px;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #FF83BD;
  z-index: 100;
}
#race ul {
  width: 690px;
  height: 166px;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0px 0 -80px 41px;
  padding: 0;
  list-style: none;
  position: relative;
  bottom: 80px;
}
#race ul li { flex: 1; margin-left: -26px; }
#race ul li a { 
  display: block;
  width: 215px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center; 
      }
.live_btn   { background-image: url(../images/top_live_sp.svg); }
.replay_btn { background-image: url(../images/top_replay_sp.svg); }
.vote_btn   { background-image: url(../images/top_vote_sp.svg); }
.pagetop    { background-image: url(../images/pagetop.svg); width: 121px; }

/* tit aqua
------------------------------------------------------------*/
#top_tit {
  width: 763px;
  height: 295px;
  left: 11px;
  top: -106px;  
  position: relative;
  background: url(../images/top_tit_sp.svg) no-repeat center;
  background-size: cover;
}
.top_aqua {
  width: 580px;
  height: 772px;
  right: -84px;
  background: url(../images/top_aqua.png) no-repeat top / cover;
  margin-top: -50px;
  position: relative;
}
.top_konosuba_rogo {
  width: 203px;
  height: 113px;
  background: url(../images/top_k_logo_sp.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  top: 658px;
  left: 37px;
}
.top_konosuba_copy p {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  position: absolute;
  top: 1013px;
  right: 17px;
  margin: 13px;
  padding: 0;
  text-shadow: rgb(255, 255, 255) 3px 0px 0px,rgb(255, 255, 255) 2.83487px 0.981584px 0px,rgb(255, 255, 255) 2.35766px 1.85511px 0px,rgb(255, 255, 255) 1.62091px 2.52441px 0px,rgb(255, 255, 255) 0.705713px 2.91581px 0px,rgb(255, 255, 255) -0.287171px 2.98622px 0px,rgb(255, 255, 255) -1.24844px 2.72789px 0px,rgb(255, 255, 255) -2.07227px 2.16926px 0px,rgb(255, 255, 255) -2.66798px 1.37182px 0px,rgb(255, 255, 255) -2.96998px 0.42336px 0px,rgb(255, 255, 255) -2.94502px -0.571704px 0px,rgb(255, 255, 255) -2.59586px -1.50383px 0px,rgb(255, 255, 255) -1.96093px -2.27041px 0px,rgb(255, 255, 255) -1.11013px -2.78704px 0px,rgb(255, 255, 255) -0.137119px -2.99686px 0px,rgb(255, 255, 255) 0.850987px -2.87677px 0px,rgb(255, 255, 255) 1.74541px -2.43999px 0px,rgb(255, 255, 255) 2.44769px -1.73459px 0px,rgb(255, 255, 255) 2.88051px -0.838247px 0px;
}
.top_kira_a {
  background: url(../images/kira_a_sp.svg) center / cover no-repeat;
  width: 114px;
  height: 127px;
  position: absolute;
  top: 131px;
  left: -11px;
}
.top_kira_b {
  background: url(../images/kira_b_sp.svg) center / cover no-repeat;
  width: 103px;
  height: 107px;
  position: absolute;
  top: 95px;
  left: 617px;
}
.top_kira_c {
  background: url(../images/kira_c_sp.svg) center / cover no-repeat;
  width: 114px;
  height: 171px;
  position: absolute;
  top: 515px;
  right: 0px;
}
.top_sun {
  background: url(../images/sun_a.svg) center / cover no-repeat;
  width: 96px;
  height: 140px;
  position: absolute;
  top: 77px;
  left: 433px;
  animation: sunBlink 1.2s steps(1, end) infinite;
}

/* menu area
------------------------------------------------------------*/
#menu {
  width: 618px;
  height: 653px;
  left: 17px;
  top: auto;
  position: relative;
  padding: 19px 0 26px;
  margin: -61px auto 0px;
}
#menu ul {
  display: flex;
  gap: 8px;
  justify-items: center;
  padding: 0;
  margin: 0;
  height: 100%;
  flex-wrap: wrap;
}
.menu li,
.menu a {
  width: 240px;
  height: 270px;
}
.menu a {
  display: block;
}
#menu li {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* sp menu調整
------------------------------------------------------------*/

#menu li.gamapo { grid-column: 2; }
#menu li.movie  { grid-column: 3; }
#menu li.column { background: url(../images/top_column_btn.svg) center / cover no-repeat; }
#menu li.tenbo  { background: url(../images/top_tenbo_btn.svg) center / cover no-repeat; }
#menu li.syutu  { background: url(../images/top_syutu_btn.svg) center / cover no-repeat; margin-top: -80px;}
#menu li.dream  { background: url(../images/top_dream_btn.svg) center / cover no-repeat; margin-left: 124px;  margin-top: -80px;}
#menu li.event  { background: url(../images/top_event_btn.svg) center / cover no-repeat; margin-top: -80px;}
/* #menu li.gamapo { background: url(../images/top_gamapo_btn.svg) center / cover no-repeat; } */
#menu li.movie  { background: url(../images/top_movie_btn.svg) center / cover no-repeat; margin-top: -80px;}

/* topics
------------------------------------------------------------*/
#topics {
  background: #000;        /* ← 黒背景は維持 */
  width: 750px;
  height: 306px;
  padding: 30px 0;
}

#topics .swiper-slide {
  display: flex;
  justify-content: center; /* 画像を中央寄せ */
  align-items: center;
}

#topics .swiper-slide img {
  width: 690px;            /* ← ここで画像の横幅を調整 */
  height: auto;
  border-radius: 8px;      /* 任意：角を丸く */
  display: block;
}

/* footer
------------------------------------------------------------*/
.footer { padding: 5px; }
.footer p {
  font-family: "Roboto";
  color: #fff;
  margin: 0 auto;
  text-align: center;
  font-size: 22px;
}

}
