@charset "utf-8";
/* アクセスキー入力 */
.diver_password_wrap {
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
  background: #DDEEFF;
  border-radius: 16px;
  box-shadow: 0 0 4px rgb(0 0 0 / .4);
  padding: 20px;
  width: 98%;
  max-width: 600px;
  border: 1px solid rgb(255 255 255 / .4);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', sans-serif;
}
.diver_password_title {
  font-size: 18px;
  font-weight: 600;
  color: #ff9800;
  margin-bottom: 24px;
  position: relative;
  text-align: center;
}
.diver_password_text {
  color: #160c28;
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}
.post_password {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
input[name="post_password"] {
  margin: 0 auto;
  box-sizing: border-box;
  width: 95%;
  padding: 16px 20px;
  font-size: 17px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.1em;
  font-family: 'Courier New', monospace;
  background: #fff;
}
input[name="post_password"]:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}
input[name="Submit"] {
  margin: 0 auto;
  box-sizing: border-box;
  width: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
input[name="Submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
input[name="Submit"]:active {
  transform: translateY(0);
}
.diver_password_wrap {
  animation: slideUp 0.6s ease-out;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 一般 */
.elementor img {
  max-width: none;
}
.anime span {
  opacity: 0;
  transform: translateY(20px);
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anime.active span {
  opacity: 1;
  transform: translateY(0);
}
.anime2.active {
  animation: spreadIn 0.6s ease forwards;
  animation-delay: 0.3s;
}
@keyframes spreadIn {
  0% {
    opacity: 0;
    transform: scale(0.2) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* fade-in-br */
.anime3.active {
  animation: fade-in-br 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
@keyframes fade-in-br {
  0% {
    transform: translateX(50px) translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
}
/* tilt-in-fwd-tl */
.anime4.active {
  animation: tilt-in-fwd-tl 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes tilt-in-fwd-tl {
  0% {
    transform: rotateY(-20deg) rotateX(35deg) translate(-300px, -300px) skew(35deg, -10deg);
    opacity: 0;
  }
  100% {
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}
/* fade-in-bottom */
.anime5.active {
  animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
@keyframes fade-in-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* キー認証 */
.keypad-box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #fff;
  box-sizing: border-box;
}
.keypad-container {
  background: #2c3e50;
  border-radius: 20px;
  margin: 0;
  padding: 30px 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 3px solid #8599ab;
  max-width: 270px;
  width: 100%;
  text-align: center;
}
.title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #ecf0f1;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
.status {
  text-align: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: #bdc3c7;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
input[type='text'].display {
  margin: 0 0 30px;
  background: repeating-linear-gradient(
    90deg, transparent, transparent 2px,
    rgba(0,255,0,0.08) 3px, rgba(0,255,0,0.03) 6px );
  border: 3px solid #8599ab;
  border-radius: 8px;
  padding: 10px 0;
  width: 95%;
  min-height: 40px;
  position: relative;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
  text-align: center;
  font-size: 18px;
  color: #00ff41;
  letter-spacing: 4px;
  text-shadow: 0 0 10px #00ff41;
}
input[type='text'].display:focus {
  outline: 0;
  border: 3px solid #00ff41;
  box-shadow: 0 0 10px 4px rgb(99 214 45 / .5)
}
.enter-key {
  background: linear-gradient(145deg, #27ae60, #229954);
  border: 1px solid #2ecc71;
  border-radius: 10px;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #ecf0f1;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  user-select: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.enter-key:hover {
  background: linear-gradient(145deg, #2ecc71, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}
.enter-key:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  background: linear-gradient(145deg, #229954, #1e8449);
}
.success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.success-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: successPulse 0.6s ease-out;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@keyframes successPulse {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.success-title2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.success p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #ecf0f1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.error-shake {
  animation: shake 0.5s ease-in-out;
}
@keyframes shake {
  0%, 20%, 40%, 60%, 80% { transform: translateX(-5px); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}
.error-display {
  color: #e74c3c !important;
  text-shadow: 0 0 10px #e74c3c !important;
}
.close {
  top: 5px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 10px;
  height: 30px;
  width: 30px;
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 600;
  background: white;
  border: 1px solid #006e54;
  border-radius: 50%;
  color: #0d6bb8;
  cursor: pointer;
  z-index: 999;
}

/* 問題文 */
.mondai-bun {
  margin: 0 auto;
  text-align: center;
  color: white;
  text-shadow: 0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D,0 0 3px #28497D;
  font-family: "Kaisei Opti", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
}
@media screen and (max-width: 480px) {
  .mondai-bun {
    font-size: 18px;
  }
}
.mondai-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  background: linear-gradient(135deg, #418bf2, #5bd465);
  -webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
/* lottie */
.haguruma {
  margin: 0 auto;
  z-index: 1;
}
/* サークル */
.circle_waku {
  margin: 0 auto;
  padding: 0;
  display: flex;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: #fff4ed;
  justify-content: center;
  align-items: center;
}
/* 矢印 */
.yajirusi {
  text-align: center;
  color: #3270e3;
  font-size: 25px;
  font-weight: 500;
  font-family: "Noto Sans JP Med", sans-serif;
  margin-top: 0;
  margin-bottom: 100px;
}
/* 縦書き */
.tategaki{
	display: flex;
	writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	align-items: center;
}
/* １ページ表示 */
.full {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  
  align-items: center;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}
img.taitoru {
  max-width: 100%;
  max-height: 95vh;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}
/* 動画 */
.video_content {
  display: block;
  margin: 0 auto;
  width: 600px;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
/* スクロールダウン */
.scroll-down {
  position: absolute;
  bottom: 30px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 100%;
  font-size: 30px;
  overflow: hidden;
  cursor: pointer;
  z-index: 10;
}
@media (max-width: 480px) {
  .scroll-down {
    bottom: 100px;
  }
}
.scroll-down i {
  display: block;
  text-align: center;
  color: #160c28;
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0% {
    transform: translateY(-15px);
    opacity: 0;
  }
  45% {
    transform: translateY(0px);
    opacity: 1;
  }
  65% {
    transform: translateY(-5px);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}
/* テキスト */
.h2-text {
  margin: 0;
  text-align: center;
  font-size: 26px;
  font-family: "Kaisei Opti", serif;
  font-weight: Bold;
  color: #160c28;
}
.h3-text {
  margin: 0;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  color: #160c28;
}
.title-text {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  background: linear-gradient(135deg, #00AAEE, #EDBA00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.title-container {
  width: 90%;
  max-width: 600px;
  margin: 40px auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #160c28;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgb(0 0 0 / .5);
  padding: 10px;
  background-color: white;
}
.title-container p {
  padding: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
}
.text_waku {
  margin: 0;
  text-align: center;
}
.text {
  display: inline-block;
  font-size: 18px;
  font-family: "Lato Regular Bold", sans-serif;
  font-weight: Normal;
  color: #160c28;
}
.text .mark {
  letter-spacing: 0.1em;
  font-size: 14px;
}
.komidasi {
  padding: 7px 12px;
  color: #28497D;
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, rgb(0 0 0 / .5) 3px 3px 3px;
  border-radius: 20px;
  background-color: rgb(40 73 125 / .4);
  background-image:
    linear-gradient(90deg, rgb(40 73 125 / .3) 50%, transparent 50%),
    linear-gradient(rgb(40 73 125 / .3) 50%, transparent 50%);
  background-size: 10px 10px;
  box-shadow: 0 0 5px rgb(0 0 0 / .6);
}
.explain-text {
  margin: 0 5px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #160c28;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
/* テキストレインボー */
.rainbow-text {
  text-align: center;
  font-family: "Kaisei Opti", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.rainbow-text span {
  display: inline-block;
  animation: rainbow 4s infinite linear;
}
.rainbow-text span:nth-child(1) { animation-delay: 0s; transform: translateY(0px) rotate(-10deg); }
.rainbow-text span:nth-child(2) { animation-delay: 0.3s; transform: translateY(-10px) rotate(-15deg); }
.rainbow-text span:nth-child(3) { animation-delay: 0.6s; transform: translateY(-18px) rotate(-20deg); }
.rainbow-text span:nth-child(4) { animation-delay: 0.9s; transform: translateX(-6px) translateY(-24px) rotate(-10deg); }
.rainbow-text span:nth-child(5) { animation-delay: 1.2s; transform: translateX(-3px) translateY(-28px) rotate(10deg); }
.rainbow-text span:nth-child(6) { animation-delay: 0s; transform: translateY(-18px) rotate(20deg); }
.rainbow-text span:nth-child(7) { animation-delay: 0.3s; transform: translateY(-10px) rotate(15deg); }
.rainbow-text span:nth-child(8) { animation-delay: 0.6s; transform: translateY(0px) rotate(10deg); }
.rainbow-text span:nth-child(9) { animation-delay: 0.9s; transform: translateY(10px) rotate(15deg); }
.rainbow-text span:nth-child(10) { animation-delay: 1.2s; transform: translateY(18px) rotate(20deg); }
.rainbow-text span:nth-child(11) { animation-delay: 1.5s; transform: translateY(24px) rotate(10deg); }
.rainbow-text span:nth-child(12) { animation-delay: 1.8s; transform: translateX(2px) translateY(24px) rotate(-10deg); }
.rainbow-text span:nth-child(13) { animation-delay: 2.1s; transform: translateX(-6px) translateY(18px) rotate(-20deg); }
.rainbow-text span:nth-child(14) { animation-delay: 2.4s; transform: translateX(-6px) translateY(10px) rotate(-15deg); }
@keyframes rainbow {
  0% { color: #EC6A52; }
  16% { color: black; }
  33% { color: #F4C541; }
  50% { color: #A2D188; }
  66% { color: #0099F5; }
  83% { color: #F4C4C6; }
  100% { color: #7E8EE3; }
}
/* STORY・Intro・Info見出し */
.story-body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;
}
.story-container {
  perspective-origin: center center;
  perspective: 1000px;
}
.story-text, .intro-text, .info-text, .other-text, .caution-text {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0;
  transform-style: preserve-3d;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.caution-text {
  animation: rotate3d 4s linear infinite;
}
.story-text::before, .intro-text::before,
.info-text::before, .other-text::before,
.caution-text::before {
  position: absolute;
  inset: 0;
  transform: translateZ(-10px);
  color: #34495e;
  z-index: -1;
}
.story-text .letter, .intro-text .letter,
.info-text .letter, .other-text .letter,
.caution-text .letter {
  display: inline-block;
  transform-style: preserve-3d;
  animation: wave 3s ease-in-out infinite;
  text-shadow: 
    1px 1px 0 #34495e,
    2px 2px 0 #7f8c8d,
    3px 3px 0 #95a5a6,
    4px 4px 0 #bdc3c7,
    5px 5px 10px rgba(0,0,0,0.3);
}
.story-text::before {
  content: 'Story';
}
.intro-text::before {
  content: 'Introduction';
}
.info-text::before {
  content: 'Information';
}
.other-text::before {
  content: 'otherGAME';
}
.caution-text::before {
  content: 'CAUTION';
}
.story-text .letter:nth-child(1),
.intro-text .letter:nth-child(1),
.info-text .letter:nth-child(1),
.other-text .letter:nth-child(1) { animation-delay: 0s; color: #fda4af; }
.story-text .letter:nth-child(2),
.intro-text .letter:nth-child(2),
.info-text .letter:nth-child(2),
.other-text .letter:nth-child(2) { animation-delay: 0.2s; color: #fdba74; }
.story-text .letter:nth-child(3),
.intro-text .letter:nth-child(3),
.info-text .letter:nth-child(3),
.other-text .letter:nth-child(3) { animation-delay: 0.4s; color: #fde047; }
.story-text .letter:nth-child(4),
.intro-text .letter:nth-child(4),
.info-text .letter:nth-child(4),
.other-text .letter:nth-child(4) { animation-delay: 0.6s; color: #86efac; }
.story-text .letter:nth-child(5),
.intro-text .letter:nth-child(5),
.info-text .letter:nth-child(5),
.other-text .letter:nth-child(5) { animation-delay: 0.8s; color: #7dd3fc; }
.intro-text .letter:nth-child(6),
.info-text .letter:nth-child(6),
.other-text .letter:nth-child(6) { animation-delay: 1s; color: #fda4af; }
.intro-text .letter:nth-child(7),
.info-text .letter:nth-child(7),
.other-text .letter:nth-child(7) { animation-delay: 1.2s; color: #fdba74; }
.intro-text .letter:nth-child(8),
.info-text .letter:nth-child(8),
.other-text .letter:nth-child(8) { animation-delay: 1.4s; color: #fde047; }
.intro-text .letter:nth-child(9),
.info-text .letter:nth-child(9),
.other-text .letter:nth-child(9) { animation-delay: 1.6s; color: #86efac; }
.intro-text .letter:nth-child(10),
.info-text .letter:nth-child(10) { animation-delay: 1.8s; color: #7dd3fc; }
.intro-text .letter:nth-child(11),
.info-text .letter:nth-child(11) { animation-delay: 2s; color: #fda4af; }
.intro-text .letter:nth-child(12) { animation-delay: 2.2s; color: #fdba74; }
.caution-text .letter:nth-child(1) { animation-delay: 0.2s; color: #ff6b6b; }
.caution-text .letter:nth-child(2) { animation-delay: 0.4s; color: #4ecdc4; }
.caution-text .letter:nth-child(3) { animation-delay: 0.6s; color: #45b7d1; }
.caution-text .letter:nth-child(4) { animation-delay: 0.8s; color: #96ceb4; }
.caution-text .letter:nth-child(5) { animation-delay: 1s; color: #feca57; }
.caution-text .letter:nth-child(6) { animation-delay: 1.2s; color: #ff9ff3; }
.caution-text .letter:nth-child(7) { animation-delay: 1.4s; color: #54a0ff; }
@keyframes float {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  25% { transform: translateY(-20px) rotateX(5deg); }
  50% { transform: translateY(0px) rotateX(0deg); }
  75% { transform: translateY(-10px) rotateX(-5deg); }
}
@keyframes wave {
  0%, 100% { transform: rotateX(0deg) translateZ(0px); }
  25% { transform: rotateX(20deg) translateZ(30px); }
  50% { transform: rotateX(0deg) translateZ(0px); }
  75% { transform: rotateX(-20deg) translateZ(30px); }
}
@keyframes rotate3d {
  0% { transform: rotateY(0deg) rotateX(0deg); }
  25% { transform: rotateY(90deg) rotateX(10deg); }
  50% { transform: rotateY(180deg) rotateX(0deg); }
  75% { transform: rotateY(270deg) rotateX(-10deg); }
   100% { transform: rotateY(360deg) rotateX(0deg); }
}
/* Storyの説明文 */
.story-content {
  margin: 0 auto;
  width: 320px;
  height: 320px;
  padding: calc(250px * (1.41421356237 - 1) / 2 );
  background: linear-gradient(135deg, 
                #4a4a4a 0%, 
                #6b6b6b 25%, 
                #8a8a8a 50%, 
                #6b6b6b 75%, 
                #4a4a4a 100%);
  border: 2px solid #d4af37;
  border-radius: 50%;
  box-shadow: 0 15px 35px rgb(139 125 107 / .3),
    0 5px 15px rgb(139 125 107 / .2),
    inset 0 2px 4px rgb(0 0 0 / .9);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}
.story-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  margin: 0;
  text-align: justify;
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-weight: 400;
  position: relative;
}
.story-content p::first-letter {
  float: left;
  font-size: 40px;
  line-height: 2rem;
  padding-right: 4px;
  padding-top: 8px;
  color: #fb7185;
  font-weight: 900;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
}
/* Introductionの説明文 */
.intro-content {
  margin: 0 auto;
  width: 97%;
  max-width: 600px;
  height: auto;
  padding: 10px;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(135deg, #3c3c3c 0%, #5a5a5a 25%, #7a7a7a 50%, #5a5a5a 75%, #3c3c3c 100%);
  background-size: 50px 50px, 30px 30px, 100% 100%;
  border: 2px solid #d4af37;
  border-radius: 5px;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .9);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: -1;
}
.intro-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  margin: 0;
  text-align: justify;
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-weight: 400;
  position: relative;
}
/* 画像 */
.gazou-waku {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
/* 作業服問題イラスト */
.sagyou {
  width: 50%;
}
/* コテのイラスト */
.kote {
  width: 15%;
  transform: rotate(-70deg);
  margin-top: -50px;
}
/* てくてく街遊び */
.tekuteku {
  width: 50%;
}
/* noasobiイラスト */
.noasobi {
  width: 15%;
}
@media (max-width: 768px) {
  .noasobi {
    width: 25%;
  }
  .sagyou {
    width: 60%;
  }
}
/* playstyle */
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
  padding: 3px;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
.card {
  background: white;
  border-radius: 12px;
  padding: 5px 5px 15px;
  text-align: center;
  box-shadow: 0 0 10px rgb(0 0 0 / .2);
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
}
.card-icon {
  width: 100%;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.card-title {
  width: 90%;
  background: #f5c842;
  color: white;
  font-weight: 500;
  font-size: 17px;
  text-shadow: 0 1px 2px rgb(0 0 0 / .8);
  margin: 0;
  padding: 8px 0;
  border-radius: 8px;
  display: inline-block;
}
.card-main-text {
  font-size: 16px;
  font-weight: bold;
  color: #160c28;
  margin: 15px 0;
  padding: 0;
}
.play-card-list {
  list-style: none;
  padding: 0;
}
.play-card-list li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 3px;
  line-height: 1.4;
  color: #333;
  font-size: 13px;
  text-align: left;
}
.play-card-list li::before {
  content: "●";
  font-size: 7px;
  position: absolute;
  left: 0;
  color: #333;
  line-height: 3;
}
/* Sales info */
.info-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
.info-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgb(0 0 0 / .2);
  transition: transform 0.2s ease;
}
.info-card:hover {
  transform: translateY(-2px);
}
.info-card-header {
  background: #f5c842;
  color: white;
  font-weight: 500;
  font-size: 22px;
  text-shadow: 0 1px 2px rgb(0 0 0 / .9);
  margin: 0;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.3em;
}
.info-card-content {
  padding: 20px 5px 5px;
}
.info-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #160c28;
  margin-bottom: 20px;
  text-align: center;
}
.info-card-list {
  list-style: none;
  padding: 0;
}
ol.info-card-list2 {
  margin-left: 0;
  padding-left: 30px;
  list-style-type: decimal;
}
.info-card-list li, .info-card-list2 li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 4px;
  line-height: 1.6;
  color: #333;
  font-size: 13px;
}
.info-card-list2 li {
  padding-left: 0;
}
.info-card-list li::before {
  content: "●";
  font-size: 7px;
  position: absolute;
  left: 0;
  color: #333;
  line-height: 3.4;
}
.info-card-list2 li::before {
  content: "";
}
.price {
  font-size: 20px;
  font-weight: bold;
  color: #e53e3e;
}
.price-note {
  font-size: 14px;
  color: #160c28;
  text-align: center;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-cards-wrapper {
    grid-template-columns: 1fr;
  }
  .info-card-title {
    font-size: 18px;
  }
  .info-card {
    width: 95%;
    margin: 0 auto;
  }
}
.sales-card-wrapper {
  width: 95%;
  max-width: 600px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
}
.sales-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgb(0 0 0 / .2);
}
.midori-button {
  display: flex;
  width: 180px;
  height: 40px;
  margin: 30px auto 5px;
  padding: 0;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0px 1px 1px rgb(0 0 0 / .8);
  border-radius: 5px;
  border: 0;
  color: #fff;
  background: #45B173;
  box-shadow: 0 4px 0 #19934e;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.2s ease;
}
.midori-button:active {
  transform: translate(0, 3px);
  box-shadow: 0 1px 0 #19934e;
}
.small-midori-button {
  width: 100px;
}
.blue-button {
  width: 120px;
  background: #46b5fa;
  box-shadow: 0 4px 0 #186b9e;
  font-size: 14px;
}
.blue-button:active {
  box-shadow: 0 1px 0 #186b9e;
}
/* カルーセル */
.carousel-wrapper {
  margin: 0 auto;
  padding: 10px 10px 20px;
  max-width: 300px;
  width: 95%;
  position: relative;
  background: linear-gradient(135deg, #97c8fc 0%, #667eea 100%);
  border-radius: 20px;
  box-shadow: 0 0 10px rgb(0 0 0 / .7);
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: white;
  box-shadow: 0 0 10px rgb(0 0 0 / .2);
  box-sizing: border-box;
  height: auto;
}
.carousel {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.item {
  min-width: 100%;
  padding: 5px 5px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  box-sizing: border-box;
}
.item.a { background: linear-gradient(135deg, #fcd7d7 0%, #ff9a9e 100%); }
.item.b { background: linear-gradient(135deg, #edfcfc 0%, #a8edea 100%); }
.item.c { background: linear-gradient(135deg, #f2ebfa 0%, #d9bbfc 100%); }
.item.d { background: linear-gradient(135deg, #f4fce8 0%, #daf7ad 100%); }
.item.e { background: linear-gradient(135deg, #fffed4 0%, #fcfb9f 100%); }
.step {
  object-fit: contain;
}
.bangou {
  display: inline-block;
  margin: 15px auto -10px;
  border: 0;
  line-height: 2;
  padding: 2px 30px;
  font-size: 20px;
  text-align: center;
  font-weight: 600;
  color: #28497D;
  font-family: "Kaisei Opti", sans-serif;
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, 1px 1px 5px rgb(0 0 0 / .9);
  border-radius: 40px;
  background: rgb(40 73 125 / 1);
  box-shadow: 0 0 5px rgb(0 0 0 / .6);
  z-index: 1;
}
.text-description {
  max-width: 95%;
  line-height: 1.6;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgb(0 0 0 / .2);
  z-index: 0;
  margin: 0;
  padding: 20px 6px 10px;
  font-size: 14px;
  text-align: left;
}
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgb(255 255 255 / .9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  box-shadow: 0 0 10px rgb(0 0 0 / .3);
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}
.nav-button:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.nav-button:active {
  transform: translateY(-50%) scale(0.95);
}
.prev { left: -15px; }
.next { right: -15px; }
.indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255 / .5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.indicator.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgb(0 0 0 / .2);
}
@keyframes flow-fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
.item.active .bangou,
.item.active .text-description {
  animation: flow-fadeInUp 0.6s ease forwards;
}
.item .bangou,
.item .text-description {
  opacity: 0.7;
}
.item.active .bangou,
.item.active .text-description {
  opacity: 1;
}
/* スマホサイズ */
@media (max-width: 480px) {
  .circle_waku {
    width: 330px;
    height: 330px;
  }
  .rainbow-text {
    font-size: 20px;
    letter-spacing: 0.01em;
  }
  .kote {
    width: 30%;
  }
  .tekuteku {
    width: 70%;
  }
  .noasobi {
    width: 50%;
  }
  .sagyou {
    width: 98%;
  }
  .explain-text {
    font-size: 15px;
  }
  .intro-content p {
    font-size: 15px;
    line-height: 1.7;
  }
}
/*ハンバーガー*/
.hamburger01 {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1002;
  background: none;
  border: none;
  border-radius: 8px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.hamburger01:hover {
  transform: scale(1.05);
}
.hamburger01 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #000;
  box-shadow: 0 0 1px 1px #f5f5f5;
  width: 45%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.hamburger01 span:nth-of-type(1) { top: 13px; }
.hamburger01 span:nth-of-type(2) { top: 19px; }
.hamburger01 span:nth-of-type(3) { top: 25px; }
.hamburger01 span:nth-of-type(3)::after {
  content: "MENU";
  position: absolute;
  top: 5px;
  left: -2px;
  color: #000;
  font-size: 0.6rem;
  text-transform: uppercase;
}
/* アクティブ状態（×印） */
.hamburger01.active {
  background: #4169e1;
}
.hamburger01.active span {
  background: #fff;
}
.hamburger01.active span:nth-child(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
  background: #fff;
  box-shadow: none;
}
.hamburger01.active span:nth-child(2) {
  opacity: 0;
}
.hamburger01.active span:nth-child(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
  background: #fff;
  box-shadow: none;
}
.hamburger01.active span:nth-of-type(3)::after {
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 7px;
  left: 6px;
  color: #fff;
}
/* 背景オーバーレイ */
.overlay01 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.overlay01.active {
  opacity: 1;
  visibility: visible;
}
/* ナビゲーションメニュー */
.nav-menu01 {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #93b69c;
  z-index: 1001;
  transition: right 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.nav-menu01.active {
  right: 0;
}
/* メニューリスト */
.menu-list01 {
  list-style: none;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}
.menu-list01 li {
  margin: 15px 0;
}
.menu-list01 a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.menu-list01 a:hover {
  background: #cd5c5c;
  color: #fff;
  transform: translateY(-2px);
}
/* レスポンシブ対応 */
@media (max-width: 480px) {
  .nav-menu01 {
    width: 60%;
  }
  .menu-list01 a {
    font-size: 14px;
    padding: 5px;
  }
}
@media (max-width: 320px) {
  .nav-menu01 {
    width: 90%;
  }
  .menu-list01 a {
    font-size: 13px;
    padding: 5px 0;
  }
}
/* JavaScript判定 */
.js-text {
  margin: 15px 10px;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  padding: 0;
}
@media (max-width: 480px) {
  .js-text {
    font-size: 14px;
  }
}
/* JavaScriptが有効時 */
.main-content {
  margin: 10px 30px;
  display: none;
  padding: 20px 5px;
  border-radius: 8px;
  background: linear-gradient(135deg, #DDEEFF, #99DDFF);
  text-align: center;
}
.js-enabled .main-content {
  display: block;
 }
.success-title {
  color: #27ae60;
  font-size: 18px;
  margin-bottom: 10px;  
}
.success-message {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
}
/* JavaScriptが無効時 */
.js-warning {
  display: block;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgb(255 107 107 / .3);
}
.js-warning .warning-title {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 600;
}
.js-warning p {
  margin: 15px 0;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  padding: 0;
}
.browser-instructions {
  background: white;
  border-radius: 6px;
  padding: 15px;
  margin: 10px 0;
  text-align: left;
}
.browser-instructions .instructions-title {
  margin: 0 0 10px 0;
  font-size: 16px;
  border-bottom: 1px solid rgb(0 0 0 / .3);
  color: #00AAEE;
}
.browser-instructions ol {
  margin: 0;
  padding: 0;
  padding-left: 20px;
  font-size: 14px;
  color: #160c28;
  list-style-type: decimal;
}
.browser-instructions li {
  margin: 8px 0;
  padding: 0;
}
.refresh-note {
  background: #AADDAA;
  border-radius: 8px;
  padding: 10px 5px;
  margin: 20px 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: #160c28;
}
/* お好み焼き */
.okonomi-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}
.okonomi-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 180px;
  overflow: hidden;
  z-index: 10;
}
.okonomi-img-grid {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 60px);
  grid-template-rows: repeat(3, 60px);
  gap: 0;
}
.grid-piece {
  position: relative;
  overflow: hidden;
  transition: opacity 0.8s ease-out;
  width: 60px;
  height: 60px;
}
.grid-piece img {
  width: 240px;
  height: 180px;
  object-fit: cover;
  position: absolute;
}

.grid-piece:nth-child(1) img { top: 0; left: 0; }
.grid-piece:nth-child(2) img { top: 0; left: -60px; }
.grid-piece:nth-child(3) img { top: 0; left: -120px; }
.grid-piece:nth-child(4) img { top: 0; left: -180px; }
.grid-piece:nth-child(5) img { top: -60px; left: 0px; }
.grid-piece:nth-child(6) img { top: -60px; left: -60px; }
.grid-piece:nth-child(7) img { top: -60px; left: -120px; }
.grid-piece:nth-child(8) img { top: -60px; left: -180px; }
.grid-piece:nth-child(9) img { top: -120px; left: 0; }
.grid-piece:nth-child(10) img { top: -120px; left: -60px; }
.grid-piece:nth-child(11) img { top: -120px; left: -120px; }
.grid-piece:nth-child(12) img { top: -120px; left: -180px; }
.fade-out {
  opacity: 0 !important;
}
.okonomi-container {
    perspective: 1000px;
    position: relative;
    z-index: 1;
}
.okonomi-content {
  margin: 0 auto;
  width: 300px;
  height: 300px;
  padding: calc(300px * (1.41421356237 - 1) / 2);
  background: linear-gradient(135deg, #4a4a4a 0%, #6b6b6b 25%, #8a8a8a 50%, #6b6b6b 75%, #4a4a4a 100%);
  border: 2px solid #d4af37;
  border-radius: 50%;
  box-shadow: 
    0 15px 35px rgba(139, 125, 107, 0.3), 
    0 5px 15px rgba(139, 125, 107, 0.2), 
    inset 0 2px 4px rgba(0, 0, 0, 0.9),
    0 25px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateX(50deg);
  transform-style: preserve-3d;
}
.okonomi-content p {
  font-size: 24px;
  line-height: 2.1;
  letter-spacing: 7px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  margin: 20pxx 0 0;
  padding: 0;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  position: relative;
}

/* 注意事項 */
h3.caution-text2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  text-align: center;
  letter-spacing: 2px;
  font-size: 24px;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 8px;
  text-decoration-color: #28497D;
  text-decoration-thickness: 2px;
  font-family: "Kaisei Opti", sans-serif;
  color: red;
  font-weight: 600;
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, rgb(0 0 0 / .5) 3px 3px 3px;
}
.caution-container {
  width: 98%;
  max-width: 800px;
  margin: 40px auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #160c28;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgb(0 0 0 / .3);
  padding: 10px 5px;
  background-color: white;
}
.caution-list {
  list-style: none;
  padding: 0;
}
.caution-list li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 4px;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 400;
}
.caution-list li::before {
  content: "●";
  font-size: 9px;
  position: absolute;
  left: 0;
  color: #333;
  line-height: 2.5;
}
/* フッター */
.footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px 0 10px;
}
.link-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #160c28;
}
.link-list {
  list-style: none;
  padding: 0;
}
.link-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  line-height: 1.6;
}
.link-list li a {
  color: #160c28;
}
.link-list li::before {
  content: "→";
  position: absolute;
  left: 0;
}
.footer-copyright {
  color: #160c38b3;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  margin-left: auto;
}
/* スペース */
.space-5 { margin-top: -5px; }
.space-10 { margin-top: -10px; }
.space-15 { margin-top: -15px; }
.space-20 { margin-top: -20px; }
.space-30 { margin-top: -30px; }
.space-40 { margin-top: -40px; }
.space-50 { margin-top: -50px; }
.space-60 { margin-top: -60px; }
.space10 { margin-top: 10px; }
.space20 { margin-top: 20px; }
.space30 { margin-top: 30px; }
.space40 { margin-top: 40px; }
.space50 { margin-top: 50px; }
.space60 { margin-top: 60px; }
.space80 { margin-top: 80px; }
.space100 { margin-top: 100px; }
.space200 { margin-top: 200px; }
.space300 { margin-top: 300px; }
.space400 { margin-top: 400px; }

/* 画像大きさ */
.haba90 { width: 90%; }
.haba80 { width: 80%; }
.haba70 { width: 70%; }
.haba60 { width: 60%; }
.haba50 { width: 50%; }
.haba45 { width: 45%; }
.haba40 { width: 40%; }
.haba30 { width: 30%; }
.haba20 { width: 20%; }
.haba15 { width: 15%; }
.haba10 { width: 10%; }

/* z-index */
.z0 { z-index: 0; }
.z1 { z-index: 1; }

/* 回転 */
.rotate-70 { transform: rotate(-70deg); }
.rotate20 { transform: rotate(20deg); }