@charset "UTF-8";
html,
body {
  overflow-x: hidden;
}

html {
  font-size: 100%;
  background-color: #b3e0ff;
  scroll-behavior: smooth;
}

body {
  cursor: default;
  color: #333;
  font-family: "M PLUS 1", "Yu Gothic", sans-serif;
  padding-inline: 2%;
  font-size: 1.25rem;
  line-height: 2;
}

body.scroll-lock {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.main-page {
  cursor: none;
}
.main-page .side-menu a {
  cursor: none;
}
@media screen and (max-width: 1024px) {
  .main-page {
    cursor: default;
  }
}

img {
  max-width: 100%;
}

a {
  color: #333;
  text-decoration: none;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

span {
  display: inline-block;
}

.wrapper {
  max-width: 1200px;
  margin-right: 300px;
  margin-left: 5%;
}
@media screen and (max-width: 1024px) {
  .wrapper {
    max-width: 1000px;
    margin: 0;
    padding-inline: 2%;
  }
}
@media screen and (max-width: 767px) {
  .wrapper {
    max-width: 767px;
  }
}

.section-title {
  padding-bottom: 50px;
  font-size: 2.5rem;
  color: #3498db;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }
}

.card-title {
  margin-bottom: 30px;
  font-size: 1.5rem;
}
@media screen and (max-width: 767px) {
  .card-title {
    font-size: 1rem;
  }
}

.red {
  color: #ff4d4d;
  font-weight: bold;
}

.black {
  color: #2c3e50;
  font-weight: bold;
}

.blue {
  color: #3498db;
  font-weight: bold;
}

.green {
  color: #27ae60;
  font-weight: bold;
}

.orange {
  color: #e67e22;
  font-weight: bold;
}

.yellow {
  color: #f1c40f;
  font-weight: bold;
}

.click-btn {
  display: inline-block;
  width: 300px;
  margin: 80px auto 0;
  padding-block: 10px;
  background-color: #ffd040;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 4px 0 #d9a500;
  transition: all 0.3s ease;
}
@media screen and (max-width: 767px) {
  .click-btn {
    margin-top: 50px;
    font-size: 1.5rem;
  }
}
.click-btn:hover {
  background-color: #e6b200;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}
.click-btn:active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: scale(0.97);
}
@media screen and (max-width: 1024px) {
  .click-btn {
    cursor: pointer;
  }
}

.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

#tobimaru-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  pointer-events: none;
  z-index: 30;
  transition: transform 0.1s ease-out;
}
@media screen and (max-width: 1024px) {
  #tobimaru-cursor {
    display: none;
  }
}

/* オーバーレイ */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

#overlay.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

#hamburgerWrapper {
  display: none;
}
@media screen and (max-width: 1024px) {
  #hamburgerWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 5%;
    right: 0;
    padding-right: 5px;
    z-index: 45;
  }
}
@media screen and (max-width: 767px) {
  #hamburgerWrapper {
    top: 2%;
    right: 0;
    padding-right: 5px;
  }
}
#hamburgerWrapper .menu-set {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 45;
}
@media screen and (min-width: 1025px) {
  #hamburgerWrapper .menu-set {
    display: none;
  }
}
#hamburgerWrapper .tobimaru {
  width: 80px;
  height: auto;
}
@media screen and (max-width: 767px) {
  #hamburgerWrapper .tobimaru {
    width: 70px;
  }
}
#hamburgerWrapper .hamburger-icon {
  width: 40px;
  height: 80px;
}
@media screen and (min-width: 1025px) {
  #hamburgerWrapper .hamburger-icon {
    display: none;
  }
}

.menu-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
  background: rgba(0, 0, 0, 0.8);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 40;
  -webkit-animation: none;
          animation: none;
}
.menu-panel ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}
.menu-panel ul li {
  margin: 10px 0;
  width: 90%;
  max-width: 400px;
  min-width: 250px;
}
.menu-panel ul li a {
  display: block;
  max-width: 500px;
  text-align: center;
  padding: 15px;
  font-weight: bold;
  color: #fff;
  border-radius: 8px;
  font-size: 1.2rem;
}
.menu-panel ul .menu-top a {
  background: #f44336;
}
.menu-panel ul .menu-sign a {
  background: #ff9800;
}
.menu-panel ul .menu-rule a {
  background: #ffeb3b;
  color: #000;
}
.menu-panel ul .menu-quiz a {
  background: #9c27b0;
}
.menu-panel ul .menu-parents a {
  background: #03a9f4;
}
.menu-panel ul .menu-contact a {
  background: #4caf50;
}

.menu-panel.open {
  display: flex;
  -webkit-animation: slideDown 0.5s ease-out forwards;
          animation: slideDown 0.5s ease-out forwards;
}

@-webkit-keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.loading-page {
  --warm-tint: hsla(32, 70%, 72%, 0.28);
  --ivory: hsl(42 100% 97%);
  --panel-bg: hsla(28, 35%, 12%, 0.55);
  --panel-bd: hsla(38, 90%, 88%, 0.7);
  --text-warm: hsl(45 100% 98%);
}
.loading-page .video-wrap {
  position: fixed;
  inset: 0;
}
@media screen and (max-width: 1024px) {
  .loading-page .video-wrap {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
}
.loading-page .video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 85% at 50% 70%, transparent 55%, rgba(0, 0, 0, 0.12) 85%), var(--warm-tint);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.8s ease;
  opacity: 1;
}
.loading-page #loadingVideo {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  background: #000;
  transition: opacity 0.8s ease;
  z-index: 1;
}
@media screen and (max-width: 1024px) {
  .loading-page #loadingVideo {
    -o-object-fit: contain;
       object-fit: contain;
  }
}
.loading-page #loadingVideo.is-dim {
  opacity: 0.7;
}
.loading-page .msg-box {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: min(92vw, 1000px);
  padding: 24px 32px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.6;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s, all 0.6s ease;
  z-index: 3;
  pointer-events: none;
}
@media screen and (max-width: 1024px) {
  .loading-page .msg-box {
    top: 10%;
    width: 100%;
    transform: translateX(-50%);
    border-radius: 0;
  }
}
@media screen and (max-width: 767px) {
  .loading-page .msg-box {
    top: 5%;
  }
}
.loading-page .msg-box.show {
  opacity: 1;
}
.loading-page .msg-box.variant-excite {
  position: fixed !important;
  inset: 0 !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  max-width: 100%;
  width: 100% !important;
  max-width: none !important;
  height: 100vh !important;
  padding: 0 10px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #fff6d9, #ffe69a 35%, #ffd166 100%);
  color: #222;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.35);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.2;
  word-break: keep-all;
  text-wrap: balance;
  -webkit-animation: pop-in 0.5s ease both, sparkle 1.6s ease-in-out 1s infinite;
          animation: pop-in 0.5s ease both, sparkle 1.6s ease-in-out 1s infinite;
}
@media screen and (max-width: 767px) {
  .loading-page .msg-box.variant-excite {
    font-size: 1.5rem;
  }
}
.loading-page .msg-box.variant-excite > * {
  margin: 0;
}
.loading-page .msg-box.variant-excite.fade-out {
  -webkit-animation: fadeOutText 1.5s ease forwards;
          animation: fadeOutText 1.5s ease forwards;
}

.fade-layer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  z-index: 2;
}
.fade-layer.show {
  opacity: 0.85;
}
.fade-layer.dim {
  opacity: 0.55;
}

@-webkit-keyframes pop-in {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.03);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes pop-in {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.03);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
@-webkit-keyframes sparkle {
  0%, 100% {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 215, 0, 0);
  }
  50% {
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38), 0 0 18px 6px rgba(255, 215, 0, 0.35);
  }
}
@keyframes sparkle {
  0%, 100% {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 215, 0, 0);
  }
  50% {
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38), 0 0 18px 6px rgba(255, 215, 0, 0.35);
  }
}
@-webkit-keyframes fadeOutText {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.98);
  }
}
@keyframes fadeOutText {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.98);
  }
}
.side-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  padding-bottom: 20px;
  background-color: #f7f9fb;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 30;
}
.side-menu .logo {
  margin-top: 20px;
  width: 220px;
  transition: transform 0.3s ease;
}
.side-menu .logo:hover {
  transform: scale(1.05);
}
.side-menu .mascot {
  width: 120px;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}
.side-menu .mascot::before {
  display: none !important;
}
.side-menu .mascot.jump {
  -webkit-animation: jump 0.8s ease;
          animation: jump 0.8s ease;
}
.side-menu .navi {
  width: 100%;
}
.side-menu .navi ul {
  margin: 0;
  padding: 0;
}
.side-menu .navi ul li {
  margin: 30px 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
.side-menu .navi ul li a {
  position: relative;
  display: block;
  padding: 10px 20px;
  transition: color 0.3s ease;
}
.side-menu .navi ul li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  background: #fef6e4;
  border-radius: 10px;
  z-index: -1;
  transition: width 0.3s ease;
}
.side-menu .navi ul li a:hover {
  color: #3498db;
}
.side-menu .navi ul li a:hover::before {
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .side-menu {
    display: none !important;
  }
}

@-webkit-keyframes jump {
  0%, 50%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-15px);
  }
  70% {
    transform: translateY(-10px);
  }
}

@keyframes jump {
  0%, 50%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-15px);
  }
  70% {
    transform: translateY(-10px);
  }
}
#main {
  scroll-margin-top: 50px;
}
#main .title-area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  padding: 2rem 1rem;
  position: relative;
}
@media screen and (max-width: 1024px) {
  #main .title-area {
    justify-content: space-between;
    margin-top: 80px;
    margin-left: 30px;
  }
}
@media screen and (max-width: 767px) {
  #main .title-area {
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    margin-inline: 2%;
  }
}
#main .title-area .tobimaru-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-right: 50px;
}
@media screen and (max-width: 1024px) {
  #main .title-area .tobimaru-wrap {
    margin-right: 30px;
  }
}
@media screen and (max-width: 767px) {
  #main .title-area .tobimaru-wrap {
    display: none;
  }
}
#main .title-area .tobimaru-wrap .tobimaru-title {
  width: 150px;
  opacity: 0;
  transform: translateX(-400px);
  transition: all 0.8s ease-out;
}
#main .title-area .tobimaru-wrap .tobimaru-title.active {
  transform: translateX(0);
  opacity: 1;
}
@media screen and (max-width: 1024px) {
  #main .title-area .tobimaru-wrap .tobimaru-title {
    width: 80px;
  }
}
#main .title-area .tobimaru-wrap .speech-bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #d6f5d6;
  color: #ff4d4d;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: "Yomogi", cursive;
  white-space: nowrap;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  -webkit-animation: bubbleFade 1s ease-out 1.8s forwards;
          animation: bubbleFade 1s ease-out 1.8s forwards;
}
@media screen and (max-width: 1024px) {
  #main .title-area .tobimaru-wrap .speech-bubble {
    bottom: 90%;
  }
}
#main .title-area .tobimaru-wrap .speech-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #d6f5d6;
}
#main .title-area .tobimaru-wrap .speech-bubble.active {
  opacity: 1;
}
@media screen and (max-width: 1024px) {
  #main .title-area .tobimaru-wrap .speech-bubble {
    font-size: 0.75rem;
  }
}
#main .site-title {
  font-size: 3.75rem;
  font-family: "Yomogi", cursive;
  color: #ff4081;
  text-align: center;
  padding: 16px 24px;
  background: #fff;
  border: 4px dashed #ff4081;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}
@media screen and (max-width: 767px) {
  #main .site-title {
    margin-bottom: 10px;
    margin-right: 0;
    margin-left: 0;
  }
}
#main .site-title.active {
  opacity: 1;
  transform: translateY(0);
}
@media screen and (max-width: 1024px) {
  #main .site-title {
    font-size: 2rem;
    width: 90%;
    margin-right: 80px;
  }
}
@media screen and (max-width: 767px) {
  #main .site-title {
    margin-top: 30px;
    font-size: 1.75rem;
  }
}
#main .mainvisual-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
}
#main .mainvisual-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
#main .mainvisual-slider img.active {
  opacity: 1;
  z-index: 1;
}
@media screen and (max-width: 1024px) {
  #main .mainvisual-slider {
    height: 500px;
    margin: 0 auto;
  }
}

@-webkit-keyframes popTitle {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes popTitle {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@-webkit-keyframes bubbleFade {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
}
@keyframes bubbleFade {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
}
#sign {
  margin-top: 100px;
  padding: 50px 30px 100px 30px;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
}
#sign .section-title {
  margin-bottom: 50px;
}
@media screen and (max-width: 767px) {
  #sign .section-title {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
#sign .sign-title {
  margin: 100px 0;
}
@media screen and (max-width: 767px) {
  #sign .sign-title {
    margin-top: 70px;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 767px) {
  #sign .sign-title img {
    width: 200px;
    height: auto;
  }
}
#sign .sign-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  text-align: center;
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  #sign .sign-card {
    grid-template-columns: 1fr;
  }
}
#sign .sign-red li {
  border: 3px solid #ff4d4d;
}
#sign .sign-yellow li {
  border: 3px solid #ffd040;
}
#sign .sign-blue li {
  border: 3px solid #1565c0;
}
#sign .fadein.slide-left {
  transform: translateX(-100px);
}
#sign .fadein.slide-right {
  transform: translateX(100px);
}
#sign .fadein.inview {
  opacity: 1;
  transform: translateX(0) translateY(0);
}
#sign .fadein img {
  width: 130px;
  height: 130px;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 30px 0;
}
#sign .fadein .card-text {
  -moz-text-align-last: center;
       text-align-last: center;
  margin: 4%;
  padding: 30px;
  line-height: 2;
  background-color: #faf3e0;
}
@media screen and (max-width: 767px) {
  #sign .fadein .card-text {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 767px) {
  #sign .fadein .card-text p {
    font-weight: bold;
  }
}

#rule {
  margin-top: 100px;
  padding: 50px 0 100px 0;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #rule {
    padding-bottom: 20px;
  }
}
#rule .rule-gallery {
  margin: 50px 3% 0 3%;
}
#rule .rule-gallery img {
  width: 250px;
}
@media screen and (max-width: 767px) {
  #rule .rule-gallery img {
    max-width: 100px;
  }
}
#rule .rule-gallery .fadein-up {
  border: 1px solid #000;
  margin-bottom: 80px;
  padding: 3%;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.8s ease;
}
#rule .rule-gallery .fadein-up.inview {
  opacity: 1;
  transform: translateY(0);
}
#rule .rule-gallery .fadein-up .rule-card {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
#rule .rule-gallery .fadein-up .rule-card .card-left {
  width: 50%;
}
#rule .rule-gallery .fadein-up .rule-card .card-right {
  width: 50%;
  text-align: left;
}
#rule .rule-gallery .fadein-up .rule-card .card-right p {
  padding: 10px 0;
}
@media screen and (max-width: 767px) {
  #rule .rule-gallery .fadein-up .rule-card .card-right p {
    font-size: 0.75rem;
    font-weight: bold;
  }
}
#rule .rule-gallery .fadein-up .rule-card .card-right p:first-child {
  padding: 0;
}
#rule .rule-gallery .fadein-up .rule-card .card-right ol li {
  list-style: decimal;
  margin-left: 1.5em;
}
@media screen and (max-width: 767px) {
  #rule .rule-gallery .fadein-up .rule-card .card-right ol li {
    font-size: 0.75rem;
    font-weight: bold;
  }
}
@media screen and (max-width: 767px) {
  #rule .rule-gallery .fadein-up .card-title {
    font-size: 1.5rem;
  }
}

#quiz {
  position: relative;
  height: 800px;
  overflow: hidden;
  background-image: url(../img/background.png);
  background-color: #ffffff;
  background-repeat: repeat;
  background-position: 0% 0%;
  -webkit-animation: diagonalSlide 20s linear infinite;
          animation: diagonalSlide 20s linear infinite;
  margin-top: 100px;
  margin-bottom: 100px;
  padding-top: 100px;
}
#quiz .section-title {
  color: #333;
  text-align: center;
}
#quiz .quiz-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  text-align: center;
  transform: translate(-50%, -50%);
}
#quiz .quiz-text p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 2rem;
  line-height: 2;
}
@media screen and (max-width: 1024px) {
  #quiz .quiz-text p {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  #quiz .quiz-text p {
    font-size: 1rem;
  }
}
#quiz .quiz-text .click-btn {
  top: 70%;
  cursor: none;
  color: #fff;
}
@media screen and (max-width: 1024px) {
  #quiz .quiz-text .click-btn {
    cursor: pointer;
  }
}
@media screen and (max-width: 1024px) {
  #quiz .quiz-text {
    margin-top: 80px;
  }
}
@media screen and (max-width: 1024px) {
  #quiz {
    height: 500px;
  }
}

@-webkit-keyframes diagonalSlide {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 500px -500px;
  }
}

@keyframes diagonalSlide {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 500px -500px;
  }
}
.start-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}
.start-page .wrapper {
  width: 90%;
  min-height: 100vh;
  padding: 40px 20px;
  background: #fff;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .start-page .wrapper .section-title {
    font-size: 1.75rem;
  }
}
.start-page .wrapper .tobimaru-start {
  display: block;
  max-width: 300px;
  margin: 20px auto;
  -webkit-animation: bounce 2s infinite ease-in-out;
          animation: bounce 2s infinite ease-in-out;
}
.start-page .wrapper .start-text {
  margin-block: 50px;
  font-size: 1.75rem;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  .start-page .wrapper .start-text {
    font-size: 1.25rem;
  }
}
.start-page .wrapper .btn-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: 150px;
}
@media screen and (max-width: 767px) {
  .start-page .wrapper .btn-area {
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    padding-inline: 0;
  }
}
.start-page .wrapper .btn-area .click-btn {
  margin: 0;
  background: linear-gradient(to bottom, #fdd835, #fbc02d);
  font-size: 1.5rem;
  box-shadow: 0 0 0 rgba(255, 235, 59, 0.4);
  cursor: pointer;
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
}
@media screen and (max-width: 767px) {
  .start-page .wrapper .btn-area .click-btn {
    font-size: 1rem;
    width: 200px;
  }
}
.start-page .wrapper .btn-area .mascot {
  width: 100px;
}
@media screen and (max-width: 767px) {
  .start-page .wrapper .btn-area .mascot {
    width: 80px;
  }
}

@-webkit-keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@-webkit-keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 235, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 235, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0);
  }
}
.quiz-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 0 20px;
  background: #e3f2fd;
  cursor: default;
}
@media screen and (max-width: 767px) {
  .quiz-page {
    margin-top: 0;
    padding-top: 0;
  }
}
.quiz-page a {
  cursor: pointer;
}
.quiz-page .wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}
.quiz-page #quiz {
  width: 900px;
  max-width: 900px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background-image: url(/img/background.png);
}
@media screen and (max-width: 767px) {
  .quiz-page #quiz {
    width: 100%;
    height: auto;
    padding-block: 20px;
  }
}
.quiz-page #quiz .quiz-box {
  position: relative;
  width: 100%;
  height: 500px;
  padding: 40px 20px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .quiz-page #quiz .quiz-box {
    margin-bottom: 30px;
  }
}
.quiz-page #quiz .quiz-box .quiz-number {
  font-size: 1.75rem;
  color: #0077cc;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .quiz-page #quiz .quiz-box .quiz-number {
    font-size: 1.25rem;
  }
}
.quiz-page #quiz .quiz-box .quiz-question {
  display: block;
  margin-top: 3rem;
  margin-bottom: 25px;
  font-size: 1.5rem;
  line-height: 1.6;
  word-break: break-word;
}
@media screen and (max-width: 767px) {
  .quiz-page #quiz .quiz-box .quiz-question {
    font-size: 1rem;
    font-weight: bold;
  }
}
.quiz-page #quiz .quiz-box .quiz-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.quiz-page #quiz .quiz-box .quiz-options .quiz-option {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 15px;
  border: 2px solid #2196f3;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
@media screen and (max-width: 767px) {
  .quiz-page #quiz .quiz-box .quiz-options .quiz-option {
    font-size: 1rem;
  }
}
.quiz-page #quiz .quiz-box .quiz-options .quiz-option:hover {
  background-color: #2196f3;
  color: #fff;
}
.quiz-page #quiz .quiz-box .quiz-options .quiz-option.correct {
  background-color: #d6f5d6;
  border-color: #4caf50;
}
.quiz-page #quiz .quiz-box .quiz-options .quiz-option.incorrect {
  background-color: #ffe0e0;
  border-color: #f44336;
}
.quiz-page #quiz .quiz-box .quiz-remaining {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.6em 1em;
  border-radius: 12px;
  border: none;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .quiz-page #quiz .quiz-box .quiz-remaining {
    padding: 10px;
  }
}
.quiz-page #quiz .quiz-box .quiz-remaining.last {
  background-color: #ff9800;
  font-weight: bold;
  font-size: 1.3rem;
}
.quiz-page #quiz .quiz-box .quiz-remaining .quiz-remaining-count {
  font-weight: bold;
  color: #f44336;
  font-size: 1.3rem;
}
.quiz-page .btn-area .mascot {
  width: 100px;
  height: 100px;
  margin: 20px;
}
@media screen and (max-width: 767px) {
  .quiz-page .btn-area .mascot {
    width: 80px;
    height: 80px;
    margin: 0;
  }
}
.quiz-page #result-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.quiz-page #result-overlay img {
  width: 80%;
  max-width: 400px;
}
.quiz-page #result-overlay.show {
  opacity: 1;
  visibility: visible;
}
.quiz-page .hidden {
  display: none;
}

.explanation-page {
  background: #e3f2fd;
  padding: 0 20px;
  min-height: 100vh;
}
.explanation-page #quiz {
  max-width: 900px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 767px) {
  .explanation-page #quiz {
    height: auto;
  }
}
.explanation-page .quiz-box .quiz-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  .explanation-page .quiz-box .quiz-row {
    flex-direction: column;
  }
}
.explanation-page .quiz-box .explanation-photo {
  flex: 1;
  max-width: 400px;
}
.explanation-page .quiz-box .explanation-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.explanation-page .quiz-box .quiz-answer {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.explanation-page .quiz-box .quiz-answer .answer-text {
  background: #f0f9ff;
  border: 2px solid #4fc3f7;
  border-radius: 10px;
  padding: 1.5rem;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.6;
  width: 100%;
  max-width: 400px;
}
@media screen and (max-width: 767px) {
  .explanation-page .quiz-box .quiz-answer .answer-text {
    font-size: 1rem;
  }
}
.explanation-page .quiz-box .explanation-detail {
  background: #fff8e1;
  border-left: 6px solid #ff9800;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  line-height: 1.7;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .explanation-page .quiz-box .explanation-detail {
    font-size: 1rem;
  }
}
.explanation-page .quiz-box .btn-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
}
@media screen and (max-width: 767px) {
  .explanation-page .quiz-box .btn-area {
    flex-direction: column-reverse;
    gap: 30px;
  }
}
.explanation-page .quiz-box .btn-area .mascot {
  width: 100px;
  height: 100px;
}
.explanation-page .quiz-box .btn-area .click-btn {
  width: 200px;
  margin: 0;
  border-radius: 8px;
  background: #4fc3f7;
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}
.explanation-page .quiz-box .btn-area .click-btn:hover {
  background: #039be5;
}

.result-page {
  width: 100%;
  min-height: 100dvh;
  margin: 0 auto;
  background-image: url("../img/result-back.png");
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 767px) {
  .result-page {
    min-height: 100dvh;
  }
}
.result-page .wrapper {
  margin: 0 auto;
  padding-inline: 16px;
  box-sizing: border-box;
}
.result-page #result .section-title {
  padding-top: 50px;
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #ffcc00;
  text-shadow: 2px 2px 0 #000, 4px 4px 6px rgba(0, 0, 0, 0.3), 0 0 10px #ffd700;
  -webkit-animation: popUp 0.6s ease-out;
          animation: popUp 0.6s ease-out;
}
@media screen and (max-width: 767px) {
  .result-page #result .section-title {
    margin-bottom: 50px;
    padding-bottom: 0;
    font-size: 2rem;
  }
}
.result-page #result .result-box {
  display: grid;
  justify-items: center;
  grid-template-rows: auto auto;
  row-gap: 20px;
  width: 800px;
  max-width: min(92vw, 800px);
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .result-page #result .result-box {
    max-width: 92vw;
    width: auto;
  }
}
.result-page #result .result-box .frame-box {
  background: rgba(255, 255, 255, 0.6);
  border: 5px solid #ffd700;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  font-weight: bold;
  font-size: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.result-page #result .result-box .score-text {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px #000;
  margin-bottom: 1.5rem;
}
@media screen and (max-width: 767px) {
  .result-page #result .result-box .score-text {
    font-size: 1.75rem;
    text-shadow: none;
    padding-inline: 0;
  }
}
@media screen and (max-width: 767px) {
  .result-page #result .result-box .score-text #score {
    font-size: 2rem;
  }
}
.result-page #result .result-box .score-text span {
  font-size: 2rem;
  font-weight: bold;
}
.result-page #result .result-box .message {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px #000;
  -webkit-animation: fadeIn 2s ease;
          animation: fadeIn 2s ease;
  color: #f57c00;
  max-width: 100%;
  line-height: 1.3;
}
@media screen and (max-width: 767px) {
  .result-page #result .result-box .message {
    max-width: 100%;
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.3;
  }
}
.result-page #result .result-box .btn-area {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  margin-top: 200px;
  padding: 0;
}
@media screen and (max-width: 1024px) {
  .result-page #result .result-box .btn-area {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
@media screen and (max-width: 767px) {
  .result-page #result .result-box .btn-area {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 12px 16px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
.result-page #result .result-box .btn-area .click-btn {
  flex: 0 0 auto;
  width: 400px;
  max-width: 400px;
  margin: 0;
  padding: 14px 18px;
  line-height: 1.2;
  box-sizing: border-box;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .result-page #result .result-box .btn-area .click-btn {
    width: 100%;
    max-width: none;
  }
}
.result-page #result .result-box .btn-area .click-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 6px #666;
}
.result-page #result .result-box .btn-area .back-btn {
  background-color: #2196f3;
}
.result-page #result .result-box .btn-area .retry-btn {
  background-color: #f9a825;
}

@-webkit-keyframes popUp {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes popUp {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#parents {
  background-color: #fff;
  margin-bottom: 100px;
  padding: 50px;
  border-radius: 20px;
}
@media screen and (max-width: 767px) {
  #parents {
    padding-inline: 10px;
  }
}
#parents .parents-box {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto auto auto auto;
  grid-template-areas: "title  title" "item1  item1" "item2  item2" "item3  item3" "item4  item4" "bottom bottom";
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 20px;
}
#parents .parents-box .parents-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  #parents .parents-box .parents-title {
    font-size: 1.25rem;
  }
}
#parents .parents-box .parents-contents:nth-of-type(1) {
  grid-area: item1;
}
#parents .parents-box .parents-contents:nth-of-type(2) {
  grid-area: item2;
}
#parents .parents-box .parents-contents:nth-of-type(3) {
  grid-area: item3;
}
#parents .parents-box .parents-contents:nth-of-type(4) {
  grid-area: item4;
}
#parents .parents-box .parents-bottom {
  grid-area: bottom;
}
#parents .parents-box .section-title {
  grid-area: title;
}
#parents .parents-box .parents-contents {
  margin-bottom: 50px;
  padding-inline: 5%;
}
#parents .parents-box .parents-contents p {
  padding-left: 20px;
  font-weight: normal;
  font-size: 1.25rem;
}
@media screen and (max-width: 767px) {
  #parents .parents-box .parents-contents p {
    font-size: 1rem;
  }
}
#parents .parents-box .parents-contents ul {
  list-style-position: inside;
}
#parents .parents-box .parents-contents ul li {
  margin-left: 50px;
  list-style: disc;
  font-weight: normal;
  font-size: 1.25rem;
}
@media screen and (max-width: 767px) {
  #parents .parents-box .parents-contents ul li {
    font-size: 1rem;
  }
}
#parents .parents-box .parents-contents.point3 {
  position: relative;
}
#parents .parents-box .parents-contents.point3 .floating-image {
  position: absolute;
  top: 0;
  right: 10px;
  width: 300px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 1024px) {
  #parents .parents-box .parents-contents.point3 .floating-image {
    right: 0;
    width: 200px;
  }
}
@media screen and (max-width: 767px) {
  #parents .parents-box .parents-contents.point3 .floating-image {
    display: block;
    position: static;
    margin: 10px auto 0;
    max-width: 200px;
  }
}
#parents .parents-box .parents-bottom {
  font-size: 1.25rem;
  padding-left: 2%;
  margin-top: 50px;
}
@media screen and (max-width: 1024px) {
  #parents .parents-box .parents-bottom {
    margin-top: 0;
  }
}
@media screen and (max-width: 767px) {
  #parents .parents-box .parents-bottom {
    font-size: 1rem;
  }
}

#contact {
  margin-bottom: 100px;
  background-color: #fff;
  border-radius: 20px;
  padding: 50px;
}
@media screen and (max-width: 1024px) {
  #contact {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 767px) {
  #contact {
    padding-inline: 20px;
  }
}
#contact .contact-lead {
  text-align: center;
}
@media screen and (max-width: 767px) {
  #contact .contact-lead {
    font-size: 1rem;
  }
}
#contact .contact-form {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: 20px auto;
  padding: 30px;
  gap: 20px;
}
@media screen and (max-width: 767px) {
  #contact .contact-form {
    width: 100%;
  }
}
#contact .contact-form label {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 5px;
}
#contact .contact-form input,
#contact .contact-form select,
#contact .contact-form textarea {
  background: #f9fcff;
  border: 2px solid #bde0fe;
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border 0.3s;
}
#contact .contact-form textarea {
  resize: vertical;
}
#contact .contact-form .contact-form input:focus,
#contact .contact-form .contact-form textarea:focus,
#contact .contact-form .contact-form select:focus {
  border: 2px solid #4fc3f7;
  outline: none;
}
#contact .contact-form .submit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 30px;
  flex-wrap: wrap;
}
#contact .contact-form .submit-wrap .contact-image {
  width: 80px;
  height: auto;
  border-radius: 8px;
  margin-top: 80px;
}
@media screen and (max-width: 767px) {
  #contact .contact-form .submit-wrap .contact-image {
    margin-top: 0;
  }
}
#contact .form-note {
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  footer {
    gap: 10px;
  }
}
footer .footer-logo {
  display: none;
}
@media screen and (max-width: 1024px) {
  footer .footer-logo {
    display: block;
    margin: 0 auto;
    max-width: 100px;
  }
}
footer p {
  font-size: 0.625rem;
}
/*# sourceMappingURL=style.css.map */