@charset "utf-8";

/* BASEスタイル */
body { margin: 0; padding: 0; width:100%; font-family: "Noto Sans JP", sans-serif; font-optical-sizing: auto; font-weight: <weight>; font-style: normal; }

/* --- パネル & オーバーレイ ----------------------------------------- */
.mobile_panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 100;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.12); /* 視認できる程度に強化 */
}
.mobile_panel.active { transform: translateX(0); opacity: 1; }

.mobile_overlay {
  position: fixed;
  inset: 0;
  background: rgba(221, 68, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 50;
}
.mobile_overlay.show { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }

/* --- メニュー項目アニメーション ------------------------------------- */
.mobile_item { transform: translateX(20px); opacity: 0; }
@keyframes mobile_slide_in {
  0%   { transform: translateX(20px); opacity: 0; }
  100% { transform: translateX(0);    opacity: 1; }
}

/* ヘッダー表示切替 */
#test_001, #test_002 { position: fixed; z-index: 999; opacity: 0; transition: opacity 0.375s ease; display: none; }

/* スクロール（ テキスト部分 ） */
.marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; box-sizing: border-box; }
.marquee-content { display: inline-block; animation: scroll-left 200s linear infinite; }
.marquee-text { display: inline-block; font-size: 400px; line-height:100%; font-weight:bold; color:#FFF; }
@keyframes scroll-left { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }

/* スクロール（ 画像部分 ） */
.marquee-right { overflow: hidden; }
.marquee-right ul { animation: marquee-right 60s linear infinite; display: flex; margin: 0; padding: 0; width: max-content; }
.marquee-right ul li { list-style: none; width: calc(100vw / 5 - 10px); }
.marquee-right img { display: block; width: 100%; }
@keyframes marquee-right { from { transform: translateX(0%); } to { transform: translateX(-50%); } }
.marquee-left { overflow: hidden; }
.marquee-left ul { animation: marquee-left 60s linear infinite; display: flex; margin: 0; padding: 0; width: max-content; }
.marquee-left ul li { list-style: none; width: calc(100vw / 5 - 10px); }
.marquee-left img { display: block; width: 100%; }
@keyframes marquee-left { from { transform: translateX(-50%); } to { transform: translateX(0%); } }
.marquee-mobile-right { overflow: hidden; }
.marquee-mobile-right ul { animation: marquee-mobile-right 60s linear infinite; display: flex; margin: 0; padding: 0; width: max-content; }
.marquee-mobile-right ul li { list-style: none; width: calc(100vw / 2 - 10px); }
.marquee-mobile-right img { display: block; width: 100%; }
@keyframes marquee-mobile-right { from { transform: translateX(0%); } to { transform: translateX(-50%); } }
.marquee-mobile-left { overflow: hidden; }
.marquee-mobile-left ul { animation: marquee-mobile-left 60s linear infinite; display: flex; margin: 0; padding: 0; width: max-content; }
.marquee-mobile-left ul li { list-style: none; width: calc(100vw / 2 - 10px); }
.marquee-mobile-left img { display: block; width: 100%; }
@keyframes marquee-mobile-left { from { transform: translateX(-50%); } to { transform: translateX(0%); } }

/* 文字アニメーション（行くぞ、やるぞ、カイカ。） */
.char { display: inline-block; opacity: 0; transform: scale(1); animation: boom 0.5s ease-out forwards; font-weight:1000; line-height:100%; color:#FFF; }
.char:nth-child(1) { animation-delay: 0.125s; }
.char:nth-child(2) { animation-delay: 0.875s; }
.char:nth-child(3) { animation-delay: 1.625s; }
@keyframes boom { 0% { transform: scale(0) rotate(-15deg); opacity: 0; } 25% { transform: scale(2) rotate(-15deg); } 100% { transform: scale(1) rotate(-15deg); opacity: 1; } }

/* ホバー画像拡大 */
.image-container { overflow: hidden; position: relative; }
.image-container img { width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.image-container:hover img { transform: scale(1.125); }

/* ボタンアニメーション */
.button_001_img { background-color:#BBB; transition:background .25s; }
.button_001_detail:hover .button_001_img { background-color:#FB0; transition:background .25s; }
.button_002_img { background-color:#bbcbcf; transition:background .25s; }
.button_002_detail:hover .button_002_img { background-color:#FFF; transition:background .25s; }

/* ローディング */
#content { visibility: hidden; opacity: 0; transition: opacity 0.25s ease; }
#loading { position: fixed; inset: 0; background-color: white; display: flex; justify-content: center; align-items: center; z-index: 9999; }
.runner { display: inline-block; animation-fill-mode: forwards; }
.circle { width: 32px; height: 32px; background-color: #DD4400; border-radius: 50%; animation-fill-mode: forwards; }
.move-right { animation: moveRight 1.2s cubic-bezier(0.2, 0.8, 0.3, 1); }
.move-left { animation: moveLeft 1.2s cubic-bezier(0.2, 0.8, 0.3, 1); }
.squash { animation: squashY 1.2s ease-out, colorFlash 1.2s ease-in-out; }
@keyframes moveRight { from { transform: translateX(-100px); } to { transform: translateX(100px); } }
@keyframes moveLeft { from { transform: translateX(100px); } to { transform: translateX(-100px); } }
@keyframes squashY { 0% { transform: scaleY(1); } 10% { transform: scaleY(0.5); } 100% { transform: scaleY(1); } }
@keyframes colorFlash { 0% { background-color: #DD4400; } 10% { background-color: #FFBA00; } 100% { background-color: #DD4400; } }

/* 文字分割アニメーション */
.text-container_002 { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.char_002 { opacity: 0; transform: scale(0.5); animation: popIn_002 0.25s forwards; }
@keyframes popIn_002 { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(2); } 100% { opacity: 1; transform: scale(1); } }

/* 横方向グラデーション */
.gradient-background { width: 100%; background: repeating-linear-gradient(90deg, #F80 0%, #FF0 25%, #F80 50%, #FF0 75%, #F80 100%); background-size: 200% 100%; }
.scroll-left { animation: slide-left 1.25s linear infinite; }
.scroll-right { animation: slide-right 1.25s linear infinite; }
@keyframes slide-left { 0% { background-position: 0% 0%; } 100% { background-position: -100% 0%; } }
@keyframes slide-right { 0% { background-position: -100% 0%; } 100% { background-position: 0% 0%; } }