@charset "UTF-8";
/*+++++++++++++++++++++++++++++++++++++++++
  　root
*+++++++++++++++++++++++++++++++++++++++++*/
:root {
  --main-color: #CD0000;
  --color-orange: #FF8533;
  --color-black: #515457;
  --color-rightgray: #EBEBED;
  --color-white: #fff;
  --color-gapolimall: #5124CB;
  --color-gapolimall_bg: #F0ECFF;
  --color-pachi: #E21B22;
  --color-medal: #007AE9;
  --color-casino: #00A500;
  --color-videoslot: #302E72;
  --color-variety: #FF0CAE;
  --color-mahjong: #872dd4;

  --font-mPlus: 'M PLUS 1p', "Hiragino Kaku Gothic ProN", "Hiragino Sans W3",  "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

  --txtShadow : 0px 2px 0px rgba(0,0,0,0.16);
  --secShadow : linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 90%, rgba(255,255,255,1) 100%);
  --secShadow-top : linear-gradient(180deg, rgba(255,255,255,1) 0%);
  --secShadow-under :  linear-gradient(180deg, rgba(255,255,255,0) 90%, rgba(255,255,255,1) 100%);

  --situation-button: linear-gradient(147.36deg, #fe6705 39.04%, #f1bb32 100%);
}
/* ------------------------------------------------
   Basic Reset CSS
------------------------------------------------ */
/* 1. すべての要素の余白とボーダーをリセット */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. HTMLのデフォルトスタイルをリセット */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 3. ベースのボディ設定 */
body {
  min-height: 100vh;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans W3",  "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* 4. リストのスタイルをリセット */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 5. リンクのリセット */
a {
  text-decoration: none;
  color: inherit;
}

/* 7. テーブルのリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* 8. フォーム要素のリセット */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* 9. 見出しのリセット */
h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* 10. その他のリセット */
blockquote, q {
  quotes: none;
}

blockquote::before, blockquote::after,
q::before, q::after {
  content: "";
  content: none;
}

/* 11. スクロールバーのスタイル（オプション） */
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.05);
}

.sp-visible, .tb-visible {
  display: none;
}

.sp-hidden, .tb-hidden {
  display: hidden;
}

@media (max-width: 768px) and (min-width: 641px) {
  .tb-visible {
    display: block !important;
  }
  .tb-hidden {
    display: none;
  }
}
@media (max-width: 640px) {
  .sp-visible {
    display: block;
  }
  .sp-hidden {
    display: none;
  }
}
.bp1020-visible,
.bp1020-flex {
  display: none;
}

@media (max-width: 1020px) and (min-width: 769px) {
  .bp1020-visible {
    display: block;
  }
  .bp1020-flex {
    display: flex;
  }
  .bp1020-hidden {
    display: none;
  }
}
/**---------------------------------*
 * common
 *----------------------------------*/
html {
  font-size: 16px;
}

@media (max-width: 1439px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 12px;
  }
}
body {
  font-size: 1rem;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  color: #000;
  background-color: #fff;
}

a {
  transition: 100ms opacity ease;
}
a:hover {}
@media (hover: none) and (pointer: coarse) {
  a:hover {
    opacity: 1;
  }
}

img, picture {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-link {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.24em;
}
.text-link::before {
  content: "";
  display: block;
  width: 7px;
  height: 11px;
  margin-right: 4px;
  background-image: url("../images/icon_arrow_right_white.png");
  background-repeat: no-repeat;
  background-size: 7px 11px;
}
.text-link span {
  position: relative;
  display: block;
}
.text-link span::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #fff;
}

.button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

#wrapper {
  position: relative;
  width: 100%;
  z-index: 2;
}

/**---------------------------------*
 * header
 *----------------------------------*/
.header__logo a picture img {
	width: 253px;
  max-width: initial;
}
.header {
  display: flex;
  justify-content: space-between;
	position: fixed;
	width: 100%;
  background: #fff;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 99;
}
.header__navArea {
  transition: all 0.4s;
}
.header-top .header__logo {
  opacity: 1;
  transition: all .5s;
}
.header__logo-sp {
  text-align: center;
}
.header__nav {
	display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.header__nav a {
  font-family: var(--font-mPlus);
  font-size: 22px;
  font-weight: bold;
  color: var(--color-black);
  text-shadow: 0px 2px 0px rgba(0,0,0,0.16);
}
.header__nav a:hover {
  color: var(--color-orange);
}
.header_playgame {
  margin-top: 40px;
  text-align: center;
}

#hamburger {
  display: none;
}
.hamburger {
  position: relative;
}
.hamburger-bar,
.hamburger-bar span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.hamburger-bar {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 28px;
  cursor: pointer;
  z-index: 9999;
}
.hamburger-bar span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--situation-button);
}
.hamburger-bar span:nth-of-type(1) {
  top: 0;
}
.hamburger-bar span:nth-of-type(2) {
  top: 12px;
}
.hamburger-bar span:nth-of-type(3) {
  bottom: 0;
}
.header-on .hamburger-bar span:nth-of-type(1) {
  transform: translateY(12px) rotate(-315deg);
}
.header-on .hamburger-bar span:nth-of-type(2) {
  opacity: 0;
}
.header-on .hamburger-bar span:nth-of-type(3) {
  transform: translateY(-12px) rotate(315deg);
}
.header.transform {
  background: rgba(255,255,255,.8);
  transition: all .2s;
}
.header-top.transform .header__logo {
  opacity: 1;
}

.header__nav li a picture img{
  height: 40px;
}

@media screen and (max-width: 767px) {
  .header__navArea {
    padding-top: 0;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-rightgray);
    padding: 60px 40px 20px 40px;
  }
  .header__nav {
    margin-top: 20px;
  }
  .header__nav li a picture img{
    height: 60px;
    width: 100%;
    max-width: 156px;
  }
	#hamburger:checked ~ #nav {
		display: block;
		right: 0;
	}
	.header-on {
		position: fixed;
		z-index: -1;
		width: 100%;
		height: 100%;
	}
}
@media screen and (min-width: 768px) {
  :is(.header__logo-sp, .header_playgame, #hamburger, .hamburger) {
    display: none;
  }
  .header {
    padding: 20px 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    transition: all .5s;
  }
  .header__navArea {
    width: calc(100% - 293px);
  }
  .header__nav {
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
  }
  .header__nav a {
    font-size: 18px;
  }
}

 .transparent_animation:hover{
    opacity: 0.8;
  }

/**---------------------------------*
 * main
 *----------------------------------*/
main {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 300px;
}
@media (min-width: 1422px) {
  main {
    padding-top: 106px;
  }
}
@media (max-width: 1421px) {
  main {
    padding-top: 127px;
  }
}
@media (max-width: 922px) {
  main {
    padding-top: 174px;
  }
}
@media (max-width: 767px) {
  main {
    padding-top: 66px;
  }
}

@media (max-width: 1180px) {
  main {
    margin-bottom: 25.42vw;
  }
}


/**---------------------------------*
 * footer
 *----------------------------------*/
.footer {
  position: relative;
  padding: 0;
  text-align: center;
  color: var(--color-white);
}
.link-copy {
  padding: 40px 0;
  background: var(--color-black);
}
.footer_list {
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
.footer_list:nth-of-type(n+2) {
  margin-top: 20px;
}
.footer_list li a {
  padding-left: 5px;
}
.footer_list li a:hover {
  color: var(--color-orange);
}
.copyright {
  margin-top: 40px;
  font-size: 12px;
}
@media screen and (max-width: 767px) {
  .footer_list {
    align-items: center;
    text-align: left;
  }
  .footer_list li {
    width: calc(50% - 10px);
  }
}
@media screen and (min-width: 768px) {
  .footer {
    padding: 0 20px 60px 0 20px;
  }
  .footer_list {
    justify-content: center;
    gap: 40px;
  }
  .copyright {
    font-size: 14px;
  }
}

.breadcrumb {
  width: 100%;
  margin: 0 auto;
  padding: 1% clamp(30px, 20vw, 390px);
  background: #ebebed;
}
.breadcrumb ul {
  text-align: left;
}
.breadcrumb ul li {
  position: relative;
  display: inline-block;
  padding: 0 3%;
  color: #ff8533;
}
.breadcrumb ul li:first-child {
  padding-left: 0;
}
.breadcrumb ul li::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: #000;
  right: -2px;
  top: 50%;
  transform: translateY(-40%) rotate(45deg);
}
.breadcrumb ul li::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: #ebebed;
  right: 0px;
  top: 50%;
  transform: translateY(-40%) rotate(45deg);
}
.breadcrumb ul li:last-child::before {
  display: none;
}
.breadcrumb ul li:last-child::after {
  display: none;
}
.breadcrumb ul li a {
  color: #5f6565;
}

@media screen and (max-width: 767px) {
  .breadcrumb {
    padding: 1% 30px;
  }
}

.deco {
  position: absolute;
  width: 570px;
  max-width: 570px;
  left: 50%;
  top: 0;
  transform: translateX(2%) translateY(-100%);
}

@media (max-width: 1180px) {
  .deco {
    width: 48.31%;
    transform: translateX(5%) translateY(-100%);
  }
}
@media (max-width: 768px) {
  .deco {
    transform: translateX(-50%) translateY(-100%);
  }
}

/**---------------------------------*
 * 背景
 *----------------------------------*/
.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
  opacity: 0.5;
  z-index: 1;
  left: 0;
  top: 0;
}

/* 1. 模様レイヤー：画像を敷き詰めて「白黒反転」させる */
.bg::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('../images/common/bg_common.png');
  background-size: 35% auto;
  background-repeat: repeat;
  filter: invert(1); 
  z-index: 1;
}

/* 2. 色レイヤー：パステルグラデーションを重ねてブレンドする */
@property --c1 { syntax: '<color>'; inherits: false; initial-value: #ff4646; } /* 赤 */
@property --c2 { syntax: '<color>'; inherits: false; initial-value: #ff41ff; } /* ピンク */
@property --c3 { syntax: '<color>'; inherits: false; initial-value: #a4a4ff; } /* 青紫 */
@property --c4 { syntax: '<color>'; inherits: false; initial-value: #62f1f1; } /* 水色 */
@property --c5 { syntax: '<color>'; inherits: false; initial-value: #61e861; } /* 緑 */
@property --c6 { syntax: '<color>'; inherits: false; initial-value: #fefe5b; } /* 黄 */
@property --c7 { syntax: '<color>'; inherits: false; initial-value: #ffa13c; } /* オレンジ */

.bg::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* 元の%数値をすべて半分に縮小。25%以降は自動でループします */
  background: repeating-radial-gradient(
    circle at 100% 0%, 
    var(--c1), 
    var(--c2) 3.5%, 
    var(--c3) 7%, 
    var(--c4) 11%, 
    var(--c5) 14.5%, 
    var(--c6) 18%, 
    var(--c7) 22%, 
    var(--c1) 25%
  );
  mix-blend-mode: screen; 
  z-index: 2;
  pointer-events: none;
  animation: rainbowAnimation 10s linear infinite reverse;
}

@keyframes rainbowAnimation {
  0% {
    --c1: #ff4646; --c2: #ff41ff; --c3: #a4a4ff; --c4: #62f1f1; --c5: #61e861; --c6: #fefe5b; --c7: #ffa13c;
  }
  14.28% {
    --c1: #ff41ff; --c2: #a4a4ff; --c3: #62f1f1; --c4: #61e861; --c5: #fefe5b; --c6: #ffa13c; --c7: #ff4646;
  }
  28.57% {
    --c1: #a4a4ff; --c2: #62f1f1; --c3: #61e861; --c4: #fefe5b; --c5: #ffa13c; --c6: #ff4646; --c7: #ff41ff;
  }
  42.86% {
    --c1: #62f1f1; --c2: #61e861; --c3: #fefe5b; --c4: #ffa13c; --c5: #ff4646; --c6: #ff41ff; --c7: #a4a4ff;
  }
  57.14% {
    --c1: #61e861; --c2: #fefe5b; --c3: #ffa13c; --c4: #ff4646; --c5: #ff41ff; --c6: #a4a4ff; --c7: #62f1f1;
  }
  71.43% {
    --c1: #fefe5b; --c2: #ffa13c; --c3: #ff4646; --c4: #ff41ff; --c5: #a4a4ff; --c6: #62f1f1; --c7: #61e861;
  }
  85.71% {
    --c1: #ffa13c; --c2: #ff4646; --c3: #ff41ff; --c4: #a4a4ff; --c5: #62f1f1; --c6: #61e861; --c7: #fefe5b;
  }
  100% {
    --c1: #ff4646; --c2: #ff41ff; --c3: #a4a4ff; --c4: #62f1f1; --c5: #61e861; --c6: #fefe5b; --c7: #ffa13c;
  }
}


/**---------------------------------*
 * ローディング画面
 *----------------------------------*/

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

/* バー外枠 */
.loader-bar-wrapper {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 0px;
}

/* 伸びるバー */
.loader-bar {
  width: 0;
  height: 100%;
  animation: loading 1s ease-out forwards;
  overflow: hidden;
}
.loader-bar div {
  width: 100vw;
  height: 100%;
  background: linear-gradient(270deg,
    #ffadad,
    #ffd6a5,
    #fdffb6,
    #caffbf,
    #9bf6ff,
    #a0c4ff,
    #bdb2ff,
    #ffc6ff,
    #ffadad
  );
  background-size: 400% 400%;
  animation: pastelRainbow 3s linear infinite;
}

@keyframes pastelRainbow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}


/* バーアニメーション */
@keyframes loading {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* ローディング非表示時 */
#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* 初期はコンテンツ非表示 */
#root {
  position: relative;
  width: 100%;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

/* 表示 */
#root.show {
  opacity: 1;
}


.js .fade-up {
  opacity: 0;
}



