@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  color: #1E3A5A;
  line-height: 1.6;
  background: #FFFFFF;
}

nav.breadcrumb {
  display: block;
  background: #f5fdff;
}

nav.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  width: 90%;
  max-width: 1200px;
  padding: 10px 0;
  list-style: none;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

nav.breadcrumb ol li {
  position: relative;
  padding-right: 1.5em;
}

nav.breadcrumb ol li::before {
  content: ">";
  position: absolute;
  right: 3px;
}

nav.breadcrumb ol li:last-child::before {
  content: none;
}

.breadcrumb a {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

.container_quiz {
  margin: auto;
  width: 90%;
  max-width: 1200px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

main .main_area {
  width: 73%;
}

main #sidebar {
  width: 22%;
  position: sticky;
  top: 100px;
  height: 100%;
}

main #sidebar .side-cta {
  position: relative;
  margin-bottom: 10px;
}

main #sidebar .side-cta .back {
  width: 100%;
}

main #sidebar .side-cta .btn1,
main #sidebar .side-cta .btn2 {
  position: absolute;
  left: 8%;
  bottom: 6%;
  width: 80%;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

main #sidebar .side-cta .btn1 {
  bottom: -1%;
  width: 57%;
  left: 40%;
}

main #sidebar .side-cta .btn1:hover,
main #sidebar .side-cta .btn2:hover {
  transform: scale(1.07);
  filter: brightness(0.7);
}

main .main_area .en {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 16px;
}

.screen {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.screen.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.back-to-entry-btn {
  position: absolute;
  top: 120px;
  left: 20px;
  z-index: 101;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.back-to-entry-btn:hover {
  background: rgba(240, 240, 240, 0.98);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-entry-btn:active {
  transform: translateY(0);
}

.back-to-entry-btn i {
  font-size: 20px;
  color: #444;
}

@media (max-width: 768px) {
  .back-to-entry-btn {
    position: absolute;
    top: 0;
    left: 24px;
    width: 35px;
    height: 30px;
    border-radius: 7px;
  }

  .back-to-entry-btn i {
    font-size: 19px;
  }
}

@media (min-width: 1024px) {
  .back-to-entry-btn {
    top: 160px;
    left: 32px;
  }
}

body:has(#genreId.active) .back-to-entry-btn {
  display: flex;
}

.screen.fade-out {
  opacity: 0 !important;
  transform: translateY(-10px) scale(0.98) !important;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out !important;
}

.screen.fade-in {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out !important;
}

#quizContent {
  position: relative;
}

#quizContent .container_theme {
  width: 100%;
  padding: 20px;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
}

.quiz-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
}

#quiz-screen.active .quiz-container {
  height: 100vh;
  justify-content: center;
}

.result-container {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
}

#result-screen.active .result-container {
  min-height: 100vh;
  justify-content: center;
}

#coontainer {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#hiddenId.active #coontainer {
  min-height: 100vh;
  justify-content: center;
}

.modern-btn:focus-visible,
.option:focus-visible,
.count-option:focus-visible,
.genre-card:focus-visible {
  outline: 2px solid rgba(0, 141, 251, 0.6);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  :root {
    --border-primary: #1E3A5A;
    --text-secondary: #1E3A5A;
  }
}

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms ease-out, visibility 400ms ease-out;
}

.splash-screen.showing {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.splash-content {
  text-align: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 141, 251, 0.05) 0%, rgba(105, 170, 233, 0.03) 100%);
  animation: splashFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.splash-logo {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: #1E3A5A;
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(30, 58, 90, 0.1);
}

@media (max-width: 768px) {
  .splash-logo {
    font-size: 4rem;
    letter-spacing: 5px;
  }
}

@media (min-width: 1024px) {
  .splash-logo {
    font-size: 4.5rem;
    letter-spacing: 6px;
  }
}

.splash-tagline {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #cccccc;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .splash-tagline {
    font-size: 1rem;
    letter-spacing: 4px;
  }
}

@keyframes splashFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-screen {
    transition-duration: 0.1ms;
  }

  .splash-content {
    animation: none;
  }
}

.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid #cccccc;
  box-shadow: 0 -4px 12px rgba(44, 44, 44, 0.08);
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: env(safe-area-inset-bottom);
}

.action-bar:not(.hidden) {
  transform: translateY(0);
}

.action-bar .action-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .action-bar .action-bar-content {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  min-height: 60px;
  min-width: 80px;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666666;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .action-btn {
    min-height: 56px;
    min-width: 72px;
    padding: 0.5rem;
  }
}

.action-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 141, 251, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.action-btn i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 480px) {
  .action-btn span {
    font-size: 0.625rem;
  }
}

.action-btn:hover:not(:disabled) {
  background: rgba(0, 141, 251, 0.08);
  color: #008DFB;
  transform: translateY(-1px);
}

.action-btn:hover:not(:disabled) i {
  transform: scale(1.1);
}

.action-btn:active:not(:disabled) {
  transform: translateY(0);
}

.action-btn:active:not(:disabled)::before {
  width: 40px;
  height: 40px;
}

.action-btn.primary {
  background: linear-gradient(135deg, #008DFB, #69AAE9);
  color: #FFFFFF;
  flex: 1;
  max-width: 200px;
  box-shadow: 0 4px 6px -1px rgba(44, 44, 44, 0.1), 0 2px 4px -2px rgba(44, 44, 44, 0.06);
}

.action-btn.primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #69AAE9, #008DFB);
  box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
  transform: translateY(-2px);
}

.action-btn.primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
}

.action-btn.primary::before {
  background: rgba(255, 255, 255, 0.2);
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.action-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.screen {
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

@media (max-width: 480px) {
  .screen {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

#genreId.container_theme {
  padding-bottom: 7rem;
}

.action-bar-enter {
  transform: translateY(100%);
}

.action-bar-enter-active {
  transform: translateY(0);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.action-bar-exit {
  transform: translateY(0);
}

.action-bar-exit-active {
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 58, 90, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12), 0 -4px 16px rgba(0, 0, 0, 0.08);
  max-height: 85vh;
  min-height: 50vh;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.show .modal-container {
  transform: translateY(0);
}

.modal-container::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: #cccccc;
  border-radius: 2px;
  z-index: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 24px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.modal-header .modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1E3A5A;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  flex: 1;
}

.modal-header .modal-close {
  background: #f0f0f0;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  cursor: pointer;
  transition: all 0.25s ease;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.modal-header .modal-close:hover {
  background: #e0e0e0;
  color: #1E3A5A;
  transform: translateY(-50%) scale(1.05);
}

.modal-header .modal-close:active {
  transform: translateY(-50%) scale(0.98);
}

.modal-header .modal-close i {
  font-size: 1.1rem;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-body .modal-description {
  text-align: center;
  margin-bottom: 28px;
}

.modal-body .modal-description p {
  margin: 0;
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
}

.question-count-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.count-option-card {
  background: #f0f0f0;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.count-option-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #cccccc;
  border-radius: 50%;
  background: #FFFFFF;
  transition: all 0.25s ease;
}

.count-option-card:active {
  transform: scale(0.98);
}

.count-option-card.selected {
  background: linear-gradient(135deg, #008DFB 0%, #69AAE9 100%);
  border-color: #008DFB;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 141, 251, 0.25);
}

.count-option-card.selected::after {
  border-color: #FFFFFF;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 4px #008DFB;
}

.count-option-card.selected .option-content .option-title,
.count-option-card.selected .option-content .option-description,
.count-option-card.selected .option-content .option-time {
  color: #FFFFFF;
}

.count-option-card .option-icon {
  font-size: 2.2rem;
  min-width: 50px;
  text-align: center;
  filter: grayscale(0.2);
  transition: filter 0.25s ease;
}

.count-option-card.selected .option-icon {
  filter: grayscale(0);
}

.count-option-card .option-content {
  flex: 1;
  text-align: left;
}

.count-option-card .option-content .option-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: #1E3A5A;
  transition: color 0.25s ease;
}

.count-option-card .option-content .option-description {
  font-size: 0.9rem;
  color: #666666;
  margin: 0 0 4px;
  transition: color 0.25s ease;
}

.count-option-card .option-content .option-time {
  font-size: 0.8rem;
  color: #cccccc;
  font-weight: 500;
  transition: color 0.25s ease;
}

.count-option-card.animate-select {
  animation: cardPulse 0.4s ease;
}

@keyframes cardPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.modal-footer {
  padding: 20px 24px 32px;
  background: linear-gradient(to top, #FFFFFF 0%, rgba(255, 255, 255, 0.95) 100%);
  border-top: 1px solid #f0f0f0;
}

.modal-footer .modal-btn {
  background: linear-gradient(135deg, #008DFB 0%, #69AAE9 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 16px;
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 141, 251, 0.25);
}

.modal-footer .modal-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 141, 251, 0.3);
}

.modal-footer .modal-btn i {
  font-size: 1.2rem;
}

.modal-container {
  display: flex;
  flex-direction: column;
}

@media (max-width: 479px) {
  .modal-container {
    min-height: 60vh;
  }

  .modal-container::before {
    width: 40px;
    height: 5px;
    top: 8px;
  }

  .modal-header {
    padding: 28px 20px 16px;
  }

  .modal-header .modal-title {
    font-size: 1.4rem;
  }

  .modal-header .modal-close {
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-body .modal-description {
    margin-bottom: 24px;
  }

  .count-option-card {
    padding: 18px 20px;
    gap: 14px;
  }

  .count-option-card .option-icon {
    font-size: 2rem;
    min-width: 45px;
    filter: grayscale(0.2);
    transition: filter 0.25s ease;
  }

  .count-option-card.selected .option-icon {
    filter: grayscale(0);
  }

  .count-option-card .option-content .option-title {
    font-size: 1.1rem;
  }

  .count-option-card .option-content .option-description {
    font-size: 0.85rem;
  }

  .count-option-card .option-content .option-time {
    font-size: 0.75rem;
  }

  .count-option-card::after {
    right: 18px;
    width: 18px;
    height: 18px;
  }

  .modal-footer {
    padding: 16px 20px 28px;
  }

  .modal-footer .modal-btn {
    padding: 16px 24px;
    border-radius: 14px;
  }
}

@media (min-width: 768px) {
  .modal-container {
    max-width: 600px;
    margin: 0 auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(100%);
  }

  .modal-overlay.show .modal-container {
    transform: translateX(-50%) translateY(0);
  }

  .count-option-card {
    padding: 24px 20px;
  }
}

@media (min-width: 1024px) {
  .modal-container {
    max-width: 500px;
    width: 700px;
  }
}

@media (prefers-color-scheme: dark) {
  .modal-container {
    background: #1a1a1a;
    color: white;
  }

  .modal-header {
    border-bottom-color: #333;
  }

  .modal-header .modal-title {
    color: white;
  }

  .modal-header .modal-close {
    color: #ccc;
  }

  .modal-header .modal-close:hover {
    background: #333;
    color: white;
  }

  .modal-body .modal-description p {
    color: #ccc;
  }

  .count-option-card {
    background: #2a2a2a;
    border-color: #444;
  }

  .count-option-card:hover {
    border-color: #008DFB;
  }

  .count-option-card .option-content .option-title {
    color: white;
  }

  .count-option-card .option-content .option-description {
    color: #ccc;
  }

  .count-option-card .option-content .option-time {
    color: #999;
  }
}

.quiz-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(204, 204, 204, 0.3);
  box-shadow: 0 2px 12px rgba(44, 44, 44, 0.08);
  padding: 1.25rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 95px;
}

@media (max-width: 768px) {
  .quiz-header-fixed {
    padding: 1rem 1rem 0.75rem;
    min-height: 80px;
    gap: 0.75rem;
  }
}

.quiz-header-row-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quiz-header-row-2 {
  display: flex;
  justify-content: center;
}

.header-btn {
  width: 66px;
  height: 66px;
  border: none;
  border-radius: 50%;
  background: rgba(30, 58, 90, 0.05);
  color: #1E3A5A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.header-btn:hover {
  background: rgba(0, 141, 251, 0.1);
  transform: scale(1.05);
}

.header-btn:active {
  transform: scale(0.95);
}

.header-btn .material-icons-outlined {
  font-size: 1.875rem;
  transition: transform 0.2s ease;
}

@media (max-width: 768px) {
  .header-btn {
    width: 60px;
    height: 60px;
  }

  .header-btn .material-icons-outlined {
    font-size: 1.6875rem;
  }
}

.back-btn:hover .material-icons-outlined {
  transform: translateX(-2px);
}

.menu-btn:hover .material-icons-outlined {
  transform: rotate(90deg);
}

.progress-counter-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
}

.progress-bar-wrapper {
  width: 100%;
  height: 12px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(44, 44, 44, 0.1);
}

@media (max-width: 768px) {
  .progress-bar-wrapper {
    height: 10px;
    border-radius: 5px;
  }
}

.progress-bar {
  width: 100%;
  height: 100%;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #008DFB 0%, #69AAE9 100%);
  border-radius: 6px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 141, 251, 0.3);
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: progressShimmer 2s infinite;
}

@media (max-width: 768px) {
  .progress-fill {
    border-radius: 5px;
  }
}

@keyframes progressShimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.question-counter {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666666;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.question-counter .current-q {
  color: #008DFB;
  font-weight: 700;
}

.question-counter .divider {
  color: #cccccc;
}

@media (max-width: 768px) {
  .question-counter {
    font-size: 0.6875rem;
  }
}

.quiz-content {
  padding-top: 150px;
  padding-bottom: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .quiz-content {
    padding-top: 130px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .quiz-content {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.5rem;
  }
}

#quiz-screen.active .quiz-header-fixed {
  animation: headerSlideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#quiz-screen.active .progress-fill {
  animation-delay: 0.3s;
}

@keyframes headerSlideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-contrast: high) {
  .header-btn {
    border: 2px solid #1E3A5A;
  }

  .progress-bar-wrapper {
    border: 1px solid #1E3A5A;
  }
}

.quiz-menu-modal .modal-container {
  min-height: 35vh;
  max-height: 50vh;
}

.quiz-menu-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-option-btn {
  width: 100%;
  background: linear-gradient(135deg, #FFFFFF 0%, #f8f8f8 100%);
  border: 1px solid #cccccc;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 8px rgba(44, 44, 44, 0.06);
}

.menu-option-btn:hover {
  background: linear-gradient(135deg, rgba(0, 141, 251, 0.08) 0%, rgba(0, 141, 251, 0.05) 100%);
  border-color: rgba(0, 141, 251, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.12);
}

.menu-option-btn:active {
  transform: scale(0.98);
}

.menu-option-btn .option-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #008DFB 0%, #69AAE9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 141, 251, 0.3);
}

.menu-option-btn .option-icon .material-icons-outlined {
  font-size: 1.5rem;
}

.menu-option-btn:hover .option-icon {
  transform: scale(1.1);
}

.menu-option-btn .option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-option-btn .option-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E3A5A;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.3px;
}

.menu-option-btn .option-description {
  font-size: 0.9375rem;
  color: #666666;
  margin: 0;
  line-height: 1.5;
  opacity: 0.85;
}

.menu-option-btn#quiz-retry-btn .option-icon {
  background: linear-gradient(135deg, #008DFB 0%, #69AAE9 100%);
  box-shadow: 0 4px 12px rgba(0, 141, 251, 0.3);
}

.menu-option-btn#quiz-home-btn .option-icon {
  background: linear-gradient(135deg, #69AAE9 0%, #008DFB 100%);
  box-shadow: 0 4px 12px rgba(105, 170, 233, 0.3);
}

@media (max-width: 768px) {
  .menu-option-btn {
    padding: 1rem 1.125rem;
    gap: 1rem;
  }

  .menu-option-btn .option-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .menu-option-btn .option-icon .material-icons-outlined {
    font-size: 1.375rem;
  }

  .menu-option-btn .option-title {
    font-size: 1.125rem;
  }

  .menu-option-btn .option-description {
    font-size: 0.875rem;
  }
}

.quiz-menu-options .menu-option-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: menuOptionSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.quiz-menu-options .menu-option-btn:nth-child(1) {
  animation-delay: 0.1s;
}

.quiz-menu-options .menu-option-btn:nth-child(2) {
  animation-delay: 0.15s;
}

@keyframes menuOptionSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-color-scheme: dark) {
  .menu-option-btn {
    background: rgb(242.25, 242.25, 242.25);
    border-color: #cccccc;
  }

  .menu-option-btn:hover {
    background: rgba(0, 141, 251, 0.15);
    border-color: rgba(0, 141, 251, 0.4);
  }

  .menu-option-btn .option-title {
    color: #FFFFFF;
  }

  .menu-option-btn .option-description {
    color: #cccccc;
  }
}

@media (prefers-contrast: high) {
  .menu-option-btn {
    border-color: #1E3A5A;
  }

  .menu-option-btn .option-title {
    color: #1E3A5A;
  }

  .menu-option-btn .option-description {
    color: #1E3A5A;
  }
}

.question-review-section {
  margin-top: 2rem;
  padding: 0;
}

.question-review-section .review-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  border-radius: 16px;
  border: 1px solid #e9ecef;
}

.question-review-section .review-header .review-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 0.5rem 0;
  font-family: "Noto Serif JP", serif;
}

.question-review-section .review-header .review-title i {
  font-size: 1.5rem;
  color: #007bff;
}

.question-review-section .review-header .review-description {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

.question-review-section .question-review-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
}

.question-review-section .question-review-list::-webkit-scrollbar {
  width: 4px;
}

.question-review-section .question-review-list::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 2px;
}

.question-review-section .question-review-list::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 2px;
}

.question-review-section .question-review-list::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

.review-question-item {
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f1f3f4;
  position: relative;
}

.review-question-item:last-child {
  border-bottom: none;
}

.review-question-item.correct .result-indicator {
  background: #28a745;
  color: white;
}

.review-question-item.incorrect .result-indicator {
  background: #dc3545;
  color: white;
}

.review-question-item .question-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-question-item .question-header .result-indicator {
  min-width: 28px;
  height: 28px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 2px;
}

.review-question-item .question-header .result-indicator .material-icons-outlined {
  font-size: 1rem;
}

.review-question-item .question-header .question-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-top: 2px;
}

.review-question-item .question-content {
  padding-left: 0;
}

.review-question-item .question-content .question-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #2c2c2c;
  margin-bottom: 1rem;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}

.review-question-item .question-content .correct-answer {
  background: #f8f9fa;
  border-left: 3px solid #28a745;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.review-question-item .question-content .correct-answer .answer-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #28a745;
  margin-bottom: 0.375rem;
  display: block;
}

.review-question-item .question-content .correct-answer .answer-text {
  font-size: 0.9375rem;
  color: #2c2c2c;
  line-height: 1.5;
  font-weight: 500;
}

.review-question-item .question-content .user-answer {
  background: #fff5f5;
  border-left: 3px solid #dc3545;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.review-question-item .question-content .user-answer .user-answer-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #dc3545;
  margin-bottom: 0.375rem;
  display: block;
}

.review-question-item .question-content .user-answer .user-answer-text {
  font-size: 0.9375rem;
  color: #2c2c2c;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 768px) {
  .question-review-section .review-header {
    padding: 1.25rem 1rem;
  }

  .question-review-section .review-header .review-title {
    font-size: 1.125rem;
  }

  .question-review-section .review-header .review-title i {
    font-size: 1.25rem;
  }

  .question-review-section .question-review-list {
    max-height: 350px;
    gap: 0;
  }

  .review-question-item {
    padding: 1.25rem 0;
  }

  .review-question-item .question-header {
    gap: 0.5rem;
  }

  .review-question-item .question-header .result-indicator {
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
  }

  .review-question-item .question-header .result-indicator .material-icons-outlined {
    font-size: 0.875rem;
  }

  .review-question-item .question-content .question-text {
    font-size: 1rem;
  }

  .review-question-item .question-content .correct-answer .answer-text {
    font-size: 0.875rem;
  }

  .review-question-item .question-content .user-answer .user-answer-text {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .question-review-section {
    margin-top: 1.5rem;
  }

  .question-review-section .review-header {
    padding: 1rem 0.75rem;
    margin-bottom: 1rem;
  }

  .question-review-section .review-header .review-title {
    font-size: 1rem;
  }

  .question-review-section .review-header .review-title i {
    font-size: 1.125rem;
  }

  .question-review-section .review-header .review-description {
    font-size: 0.8125rem;
  }

  .question-review-section .question-review-list {
    max-height: 300px;
    padding-right: 2px;
  }

  .review-question-item {
    padding: 1rem 0;
  }

  .review-question-item .question-header {
    margin-bottom: 0.5rem;
  }

  .review-question-item .question-header .result-indicator {
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    font-size: 0.75rem;
  }

  .review-question-item .question-header .result-indicator .material-icons-outlined {
    font-size: 0.8125rem;
  }

  .review-question-item .question-header .question-number {
    font-size: 0.6875rem;
    padding: 0.1875rem 0.375rem;
  }

  .review-question-item .question-content .question-text {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
  }

  .review-question-item .question-content .correct-answer .answer-label {
    font-size: 0.6875rem;
  }

  .review-question-item .question-content .correct-answer .answer-text {
    font-size: 0.8125rem;
  }

  .review-question-item .question-content .user-answer .user-answer-label {
    font-size: 0.6875rem;
  }

  .review-question-item .question-content .user-answer .user-answer-text {
    font-size: 0.8125rem;
  }
}

.review-question-item {
  opacity: 0;
  transform: translateY(20px);
  animation: reviewItemSlideIn 0.4s ease forwards;
}

.review-question-item:nth-child(1) {
  animation-delay: 0.1s;
}

.review-question-item:nth-child(2) {
  animation-delay: 0.15s;
}

.review-question-item:nth-child(3) {
  animation-delay: 0.2s;
}

.review-question-item:nth-child(4) {
  animation-delay: 0.25s;
}

.review-question-item:nth-child(5) {
  animation-delay: 0.3s;
}

.review-question-item:nth-child(n+6) {
  animation-delay: 0.35s;
}

@keyframes reviewItemSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f3f4;
}

.result-actions .result-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.3px;
  flex: 1;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.result-actions .result-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.result-actions .result-btn i {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.result-actions .result-btn span {
  font-weight: 600;
}

.result-actions .result-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.result-actions .result-btn:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.5);
  outline-offset: 2px;
}

.result-actions .result-btn.primary {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.result-actions .result-btn.primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

.result-actions .result-btn.primary:hover:not(:disabled) i {
  transform: scale(1.1);
}

.result-actions .result-btn.secondary {
  background: white;
  color: #495057;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result-actions .result-btn.secondary:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.result-actions .result-btn.secondary:hover:not(:disabled) i {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .result-actions {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .result-actions .result-btn {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    min-height: 52px;
  }

  .result-actions .result-btn i {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .result-actions {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .result-actions .result-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    min-height: 48px;
    border-radius: 10px;
  }

  .result-actions .result-btn i {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .result-actions {
    max-width: 600px;
    margin: 2rem auto 0;
  }

  .result-actions .result-btn {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    min-height: 52px;
  }

  .result-actions .result-btn:hover:not(:disabled) {
    transform: translateY(-2px);
  }

  .result-actions .result-btn.primary:hover:not(:disabled) {
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.35);
  }

  .result-actions .result-btn.secondary:hover:not(:disabled) {
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.2);
  }
}

.entry-screen {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  min-height: 100px;
  padding: 1rem;
  margin: auto;
}

.entry-screen.active {
  display: flex;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .entry-screen {
    padding: 1.5rem;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .entry-screen {
    padding: 2rem;
  }
}

.entry-description2 {
  margin-top: 60px;
  padding: 30px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .entry-description2 {
    margin-top: 30px;
  }
  .entry-description2 h2{
    font-size: 20px;
    text-align: center;
  }

}

.description2-flex {
  display: flex;
  margin-top: 30px;
  gap: 15px;
}

@media (max-width: 768px) {
  .description2-flex {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 15px;
  }
}

img {
  width: 100%;
  max-width: 500px;
}



.entry-card {
  background: #FFFFFF;
  border: 1px solid #cccccc;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
  text-align: center;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(44, 44, 44, 0.1), 0 8px 10px -6px rgba(44, 44, 44, 0.04);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .entry-card {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .entry-card {
    padding: 3rem;
  }
}

.entry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 141, 251, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(0, 141, 251, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.entry-card>* {
  position: relative;
  z-index: 1;
}

.entry-header {
  margin-bottom: 2rem;
}

.entry-header .entry-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #008DFB, #69AAE9);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
}

@media (max-width: 768px) {
  .entry-header .entry-icon {
    width: 96px;
    height: 96px;
  }
}

.entry-header .entry-icon i {
  font-size: 2rem;
  color: white;
}

@media (max-width: 768px) {
  .entry-header .entry-icon i {
    font-size: 2.5rem;
  }
}

.entry-header .entry-title {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1E3A5A;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .entry-header .entry-title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .entry-header .entry-title {
    font-size: 2.25rem;
  }
}

.entry-header .entry-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: #cccccc;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .entry-header .entry-subtitle {
    font-size: 0.9375rem;
    letter-spacing: 2.5px;
  }
}

.entry-content {
  margin-bottom: 2rem;
}

.entry-content .feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .entry-content .feature-list {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
}

.entry-content .feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8f8f8;
  border-radius: 0.5rem;
  border: 1px solid rgba(204, 204, 204, 0.3);
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  .entry-content .feature-item {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .entry-content .feature-item:hover {
    background: rgba(0, 141, 251, 0.08);
    border-color: rgba(0, 141, 251, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
  }
}

.entry-content .feature-item i {
  font-size: 1.125rem;
  color: #008DFB;
  width: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .entry-content .feature-item i {
    font-size: 1.25rem;
    width: 24px;
  }
}

.entry-content .feature-item span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #666666;
}

@media (max-width: 768px) {
  .entry-content .feature-item span {
    font-size: 1rem;
  }
}

.entry-content .entry-description p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #666666;
}

@media (max-width: 768px) {
  .entry-content .entry-description p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

.new-entry-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.new-catchcopy {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.4;
  color: #1E3A5A;
  margin: 0;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .new-catchcopy {
    font-size: 2.25rem;
    letter-spacing: 0.5px;
  }
}

@media (min-width: 1024px) {
  .new-catchcopy {
    font-size: 2.75rem;
    letter-spacing: 0.8px;
  }
}

.new-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  margin: 0;
}

@media (max-width: 768px) {
  .new-subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .new-subtitle {
    font-size: 1.25rem;
  }
}

.entry-actions .entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(135deg, #008DFB, #69AAE9);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(44, 44, 44, 0.1), 0 2px 4px -2px rgba(44, 44, 44, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  min-height: 56px;
  width: 100%;
  max-width: 100%;
  border-radius: 3.75rem;
  letter-spacing: 0.3px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.entry-actions .entry-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.entry-actions .entry-btn:hover:not(:disabled) {
  box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #69AAE9, #008DFB);
}

.entry-actions .entry-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
}

@media (max-width: 768px) {
  .entry-actions .entry-btn {
    width: auto;
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    white-space: normal;
  }
}

.entry-actions .entry-btn span {
  font-weight: 600;
  flex-shrink: 1;
  min-width: 0;
}

.entry-actions .entry-btn i {
  font-size: 1rem;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .entry-actions .entry-btn i {
    font-size: 1.125rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .entry-actions .entry-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(0, 141, 251, 0.4);
  }

  .entry-actions .entry-btn:hover:not(:disabled) i {
    transform: translateX(2px);
  }
}

.entry-actions .entry-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.entry-actions .entry-btn:focus-visible {
  outline: 3px solid rgba(0, 141, 251, 0.3);
  outline-offset: 2px;
}

.entry-screen.active .entry-card {
  animation: cardSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.entry-screen.active .entry-icon {
  animation: iconFloat 0.6s ease-out 0.3s both;
}

.entry-screen.active .feature-item {
  animation: featureSlideIn 0.5s ease-out both;
}

.entry-screen.active .feature-item:nth-child(1) {
  animation-delay: 0.5s;
}

.entry-screen.active .feature-item:nth-child(2) {
  animation-delay: 0.6s;
}

.entry-screen.active .feature-item:nth-child(3) {
  animation-delay: 0.7s;
}

.entry-screen.active .entry-btn {
  animation: buttonSlideIn 0.6s ease-out 0.8s both;
}

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconFloat {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes featureSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes buttonSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .entry-card {
    padding: 20px 10px;
    border-radius: 0.75rem;
    margin: 0 0.75rem;
  }

  .entry-header {
    margin-bottom: 1.25rem;
  }

  .entry-header .entry-icon {
    width: 56px;
    height: 56px;
  }

  .entry-header .entry-icon i {
    font-size: 1.25rem;
  }

  .entry-header .entry-title {
    font-size: 1.5rem;
  }

  .entry-header .entry-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .entry-content {
    margin-bottom: 1.25rem;
  }

  .entry-content .feature-list {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .entry-content .feature-item {
    padding: 0.5rem 0.5rem;
  }

  .entry-content .feature-item i {
    font-size: 0.875rem;
    width: 16px;
  }

  .entry-content .feature-item span {
    font-size: 0.8125rem;
  }

  .entry-content .entry-description p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .entry-btn {
    padding: 0.5rem 0.5rem;
    font-size: 0.8125rem;
    min-height: 44px;
    width: 100% !important;
    border-radius: 0.5rem;
    gap: 0.5rem;
  }

  .entry-btn span {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .entry-btn i {
    font-size: 0.75rem;
    flex-shrink: 0;
  }
}

@media (max-width: 320px) {
  .entry-card {
    padding: 0.25rem;
    margin: 0;
  }

  .entry-actions .entry-btn {
    padding: 8px 6px;
    font-size: 0.625rem;
    min-height: 32px;
    gap: 2px;
  }

  .entry-actions .entry-btn span {
    font-size: 0.625rem;
    line-height: 1.1;
  }

  .entry-actions .entry-btn i {
    font-size: 0.5rem;
  }
}

@media (max-width: 375px) {
  .entry-screen {
    padding: 0.5rem;
  }

  .entry-container {
    width: 100%;
    max-width: none;
  }

  .entry-card {
    padding: 20px 10px;
    margin: 0;
    box-shadow: 0 4px 6px -1px rgba(44, 44, 44, 0.1), 0 2px 4px -2px rgba(44, 44, 44, 0.06);
  }

  .entry-header {
    margin-bottom: 1rem;
  }

  .entry-header .entry-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .entry-header .entry-icon i {
    font-size: 1.125rem;
  }

  .entry-header .entry-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .entry-header .entry-subtitle {
    font-size: 0.6875rem;
    letter-spacing: 0.5px;
  }

  .entry-content {
    margin-bottom: 1rem;
  }

  .entry-content .feature-list {
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }

  .entry-content .feature-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .entry-content .feature-item i {
    font-size: 0.75rem;
    width: 14px;
  }

  .entry-content .feature-item span {
    font-size: 0.75rem;
  }

  .entry-content .entry-description p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .entry-actions .entry-btn {
    padding: 0.25rem 0.25rem;
    font-size: 0.6875rem;
    min-height: 36px;
    gap: 4px;
    border-radius: 1.25rem;
    width: 70% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .entry-actions .entry-btn span {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .entry-actions .entry-btn i {
    font-size: 0.625rem;
    flex-shrink: 0;
  }
}

#genreId {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 500px;
  padding: 1.5rem 1rem;
  position: relative;
}

#genreId.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

#genreId .header {
  display: block;
  text-align: center;
  height: auto;
  margin-bottom: 2rem;
  padding: 1.5rem 1rem;
}

#genreId .header .header-subtitle {
  color: #666666;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  #genreId .header .header-subtitle {
    font-size: 0.875rem;
    letter-spacing: 3px;
  }
}

#genreId .header h1 {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: #1E3A5A;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  #genreId .header h1 {
    font-size: 2.25rem;
    letter-spacing: 1px;
  }
}

@media (min-width: 1024px) {
  #genreId .header h1 {
    font-size: 2.8rem;
  }
}

#genreId .header .header-description {
  font-size: 0.9375rem;
  color: #666666;
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 768px) {
  #genreId .header .header-description {
    font-size: 1rem;
    max-width: 600px;
  }
}

@media (min-width: 1024px) {
  #genreId .header .header-description {
    font-size: 1.125rem;
  }
}

#genreId .genre-slider-container {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  #genreId .genre-slider-container {
    overflow: visible;
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  #genreId .genre-slider-container {
    padding: 0;
  }
}

#genreId .genre-swiper {
  width: 100%;
  height: auto;
  overflow: visible;
  overflow: hidden;
}

@media (min-width: 768px) {
  #genreId .genre-swiper {
    display: none !important;
  }
}

#genreId .genre-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}

#genreId .genre-swiper .swiper-button-prev,
#genreId .genre-swiper .swiper-button-next {
  color: #008DFB;
  background: #f8f8f8;
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
}

#genreId .genre-swiper .swiper-button-prev::after,
#genreId .genre-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 600;
}

#genreId .genre-swiper .swiper-pagination {
  position: static;
  margin-top: 1rem;
}

#genreId .genre-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cccccc;
  opacity: 1;
}

#genreId .genre-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #008DFB;
  transform: scale(1.2);
}

#genreId .genre-grid-pc {
  display: none;
}

@media (min-width: 768px) {
  #genreId .genre-grid-pc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  #genreId .genre-grid-pc {
    gap: 1.5rem;
  }
}

#genreId .genre-card {
  background: #FFFFFF;
  border: 1px solid #cccccc;
  border-radius: 0.5rem;
  padding: 1.25rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 280px;
  max-width: 280px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

@media (min-width: 768px) {
  #genreId .genre-card {
    width: 100%;
    max-width: none;
    min-height: 160px;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  #genreId .genre-card {
    min-height: 180px;
    padding: 2rem;
  }
}

@media (max-width: 375px) {
  #genreId .genre-card {
    width: 240px;
    max-width: 240px;
    min-height: 140px;
    padding: 1rem;
  }
}

#genreId .genre-card .genre-icon-bg {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  font-size: 160px;
  color: #cccccc;
  opacity: 0.8;
  transition: color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  user-select: none;
  pointer-events: none;
}

#genreId .genre-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #008DFB;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 3;
}

#genreId .genre-card:active {
  transform: scale(0.98);
  background: rgba(0, 141, 251, 0.08);
  border-color: rgba(0, 141, 251, 0.3);
}

@media (hover: hover) and (pointer: fine) {
  #genreId .genre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
    border-color: transparent;
    background: linear-gradient(135deg, #008DFB 0%, #69AAE9 100%);
  }

  #genreId .genre-card:hover::before {
    transform: scaleX(1);
    transition-delay: 0.1s;
  }

  #genreId .genre-card:hover .genre-icon-bg {
    color: #FFFFFF;
    opacity: 0.1;
    transform: translateY(-50%) rotate(5deg) scale(1.1);
    transition-delay: 0.15s;
  }

  #genreId .genre-card:hover .genre-title {
    color: #FFFFFF;
    transition-delay: 0.05s;
  }

  #genreId .genre-card:hover .genre-description {
    color: #cccccc;
    transition-delay: 0.1s;
  }
}

#genreId .genre-card:focus-visible {
  outline: 2px solid #008DFB;
  outline-offset: 2px;
}

#genreId .genre-card .genre-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}

#genreId .genre-card .genre-title {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1E3A5A;
  letter-spacing: 0.3px;
  margin-bottom: 0.25rem;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  #genreId .genre-card .genre-title {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }
}

@media (min-width: 1024px) {
  #genreId .genre-card .genre-title {
    font-size: 1.3rem;
  }
}

#genreId .genre-card .genre-description {
  font-size: 0.8125rem;
  color: #666666;
  line-height: 1.5;
  max-width: 90%;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  #genreId .genre-card .genre-description {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 85%;
  }
}

@media (min-width: 1024px) {
  #genreId .genre-card .genre-description {
    font-size: 0.9375rem;
    max-width: 70%;
  }
}

#genreId .genre-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  #genreId .genre-slider-nav {
    display: none;
  }
}

#genreId .slider-nav-btn {
  background: #f8f8f8;
  border: 1px solid #cccccc;
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

#genreId .slider-nav-btn:hover:not(:disabled) {
  background: #008DFB;
  border-color: #008DFB;
  color: white;
  transform: scale(1.05);
}

#genreId .slider-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#genreId .slider-nav-btn i {
  font-size: 0.875rem;
  color: #666666;
}

#genreId .slider-nav-btn:hover:not(:disabled) i {
  color: white;
}

@media (max-width: 480px) {
  #genreId .slider-nav-btn {
    width: 36px;
    height: 36px;
  }

  #genreId .slider-nav-btn i {
    font-size: 0.75rem;
  }
}

#genreId .slider-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#genreId .slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #cccccc;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

#genreId .slider-dot.active {
  background: #008DFB;
  transform: scale(1.2);
}

#genreId .slider-dot:hover {
  background: #69AAE9;
}

@media (max-width: 480px) {
  #genreId .slider-dot {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 768px) {
  #genreId {
    padding: 2.5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  #genreId {
    padding: 3rem 2rem;
  }
}

.quiz-config {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.config-section {
  background: #FFFFFF;
  border: 1px solid #cccccc;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
}

.config-section .config-title {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1E3A5A;
  text-align: center;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.5px;
}

.question-count-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.count-option {
  background: #f0f0f0;
  border: 2px solid #cccccc;
  border-radius: 0.5rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.count-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(192, 161, 107, 0.1), transparent);
  transition: left 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.count-option:active {
  transform: scale(0.98);
  background: rgba(0, 141, 251, 0.08);
  border-color: rgba(0, 141, 251, 0.5);
}

@media (hover: hover) and (pointer: fine) {
  .count-option:hover {
    border-color: #008DFB;
    background: rgba(0, 141, 251, 0.08);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
  }

  .count-option:hover::before {
    left: 100%;
  }
}

.count-option:focus-visible {
  outline: 2px solid #008DFB;
  outline-offset: 2px;
}

.count-option.selected {
  background: rgba(192, 161, 107, 0.1);
  border-color: #008DFB;
  box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
  transform: scale(1.05);
}

.count-option.selected .option-icon {
  transform: scale(1.2);
}

.count-option .option-icon {
  font-size: 2rem;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.5rem;
}

.count-option .option-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.count-option .option-number {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1E3A5A;
}

.count-option .option-desc {
  font-size: 0.875rem;
  color: #cccccc;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 56px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hero-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(135deg, #008DFB, #69AAE9);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(44, 44, 44, 0.1), 0 2px 4px -2px rgba(44, 44, 44, 0.06);
}

.hero-btn.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.hero-btn.primary:hover:not(:disabled) {
  box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #69AAE9, #008DFB);
}

.hero-btn.primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
}

.hero-btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: #FFFFFF;
  color: #1E3A5A;
  border: 1px solid #cccccc;
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
}

.hero-btn.secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.hero-btn.secondary:hover:not(:disabled) {
  background: rgba(0, 141, 251, 0.08);
  border-color: #008DFB;
  box-shadow: 0 4px 6px -1px rgba(44, 44, 44, 0.1), 0 2px 4px -2px rgba(44, 44, 44, 0.06);
  transform: translateY(-1px);
}

.hero-btn:focus-visible {
  outline: 2px solid #008DFB;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .question-count-selector {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .count-option {
    padding: 1rem;
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }

  .count-option .option-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .config-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .config-section {
    padding: 1rem;
  }

  .count-option {
    padding: 0.75rem;
  }

  .option-number {
    font-size: 1.125rem;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    min-height: 48px;
  }
}

#quiz-screen {
  position: absolute;
  height: 90vh;
  width: 99vw;
  z-index: 100;
  background-color: #fff;
}

#quiz-screen.active .quiz-content {
  animation: quizContentSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-progress {
  display: none;
}

@keyframes quizContentSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-card {
  background: #FFFFFF;
  border: 1px solid #cccccc;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2.5rem;
  margin-bottom: 1rem;
}

.question-card .question-header {
  margin-bottom: 2rem;
}

.question-card .question-header .question-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(192, 161, 107, 0.1);
  border: 1px solid rgba(192, 161, 107, 0.2);
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #c0a16b;
}

.question-card .question-body h3 {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1E3A5A;
  margin: 0;
}

@media (max-width: 768px) {
  .question-card {
    padding: 2rem;
  }

  .question-card .question-header {
    margin-bottom: 1.5rem;
  }

  .question-card .question-body h3 {
    font-size: 1.375rem;
  }
}

@media (max-width: 480px) {
  .question-card {
    padding: 1.5rem;
  }

  .question-card .question-body h3 {
    font-size: 1.25rem;
  }
}

.options-container {
  margin-bottom: 1.5rem;
}

.modern-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option {
  background: #FFFFFF;
  border: 2px solid #cccccc;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .option {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    gap: 0.875rem;
  }
}

@media (max-width: 480px) {
  .option {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
  }
}

.option::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(192, 161, 107, 0.1), transparent);
  transition: left 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.option:hover {
  border-color: #008DFB;
  background: rgba(0, 141, 251, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(44, 44, 44, 0.1), 0 2px 4px -2px rgba(44, 44, 44, 0.06);
}

.option:hover::before {
  left: 100%;
}

.option.selected {
  background: rgba(192, 161, 107, 0.1);
  border-color: #008DFB;
  transform: scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
}

.quiz-actions {
  display: flex;
  justify-content: center;
}

.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  min-height: 44px;
  width: 100%;
  letter-spacing: 0.3px;
}

.modern-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.modern-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(135deg, #008DFB, #69AAE9);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(44, 44, 44, 0.1), 0 2px 4px -2px rgba(44, 44, 44, 0.06);
}

.modern-btn.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.modern-btn.primary:hover:not(:disabled) {
  box-shadow: 0 10px 15px -3px rgba(44, 44, 44, 0.1), 0 4px 6px -4px rgba(44, 44, 44, 0.05);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #69AAE9, #008DFB);
}

.modern-btn.primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
}

.modern-btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: #FFFFFF;
  color: #1E3A5A;
  border: 1px solid #cccccc;
  box-shadow: 0 1px 3px 0 rgba(44, 44, 44, 0.08);
}

.modern-btn.secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.modern-btn.secondary:hover:not(:disabled) {
  background: rgba(0, 141, 251, 0.08);
  border-color: #008DFB;
  box-shadow: 0 4px 6px -1px rgba(44, 44, 44, 0.1), 0 2px 4px -2px rgba(44, 44, 44, 0.06);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .progress-steps {
    gap: 0.25rem;
  }

  .progress-step {
    width: 24px;
    height: 24px;
    font-size: 0.625rem;
  }

  .question-body h3 {
    font-size: 1.25rem;
  }
}

#quiz-card-wrapper {
  will-change: transform, opacity;
}

@keyframes slideOutLeft {
  to {
    transform: translateX(-110%);
    opacity: 0;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-out-left {
  animation: slideOutLeft 0.6s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right {
  animation: slideInRight 0.6s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.option.correct-border {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  transition: border-color 0.3s ease-out, background-color 0.3s ease-out !important;
}

.option.incorrect {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.1) !important;
  transition: border-color 0.3s ease-out, background-color 0.3s ease-out !important;
}

.checkmark-animated {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%) scale(0);
  color: #10b981;
  font-size: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.checkmark-animated.show {
  transform: translateY(-50%) scale(1);
}

.checkmark-animated .material-icons-outlined {
  display: block;
  stroke-width: 2;
  animation: checkmarkDraw 0.4s ease-out 0.1s both;
}

@keyframes checkmarkDraw {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.result-container-premium {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  padding-bottom: 10px;
  background: linear-gradient(135deg, rgba(0, 141, 251, 0.02) 0%, rgba(44, 182, 208, 0.02) 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(44, 44, 44, 0.08);
  position: relative;
  min-height: calc(100vh - 140px);
}

.result-container-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #008DFB, #69AAE9, #2CB6D0);
  border-radius: 24px 24px 0 0;
}

.result-header {
  text-align: center;
  margin-bottom: 3rem;
}

.result-header .result-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.result-header .result-subtitle {
  font-size: 1.125rem;
  color: #6c757d;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.score-section-premium {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 141, 251, 0.1);
}

.score-section-premium .score-circle {
  position: relative;
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 8px 16px rgba(0, 141, 251, 0.2));
}

.score-section-premium .score-circle .score-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.score-section-premium .score-circle .score-inner .score-number {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #008DFB;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 141, 251, 0.3);
  margin-bottom: 0.25rem;
}

.score-section-premium .score-circle .score-inner .score-label {
  font-size: 0.9375rem;
  color: #6c757d;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.score-section-premium .score-circle .score-ring {
  width: 180px;
  height: 180px;
  transform: rotate(-90deg);
}

.score-section-premium .score-circle .score-ring .score-bg,
.score-section-premium .score-circle .score-ring .score-fill {
  fill: none;
  stroke-width: 10;
}

.score-section-premium .score-circle .score-ring .score-bg {
  stroke: #e9ecef;
  opacity: 0.3;
}

.score-section-premium .score-circle .score-ring .score-fill {
  stroke: url(#scoreGradient);
  stroke-linecap: round;
  stroke-dasharray: 339.29;
  stroke-dashoffset: 339.29;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 8px rgba(0, 141, 251, 0.4));
}

.elegant-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 141, 251, 0.3) 25%, rgba(105, 170, 233, 0.6) 50%, rgba(44, 182, 208, 0.3) 75%, transparent);
  margin: 3rem 0;
  position: relative;
}

.elegant-divider::after {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(0, 141, 251, 0.02) 0%, rgba(44, 182, 208, 0.02) 100%);
  color: #008DFB;
  padding: 0 1rem;
  font-size: 1rem;
}

.review-section {
  margin-bottom: 3rem;
}

.premium-question-review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-question-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(44, 44, 44, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.review-question-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 44, 44, 0.08);
}

.review-question-item.correct {
  background: #f0f9f4;
  border-color: rgba(16, 185, 129, 0.3);
}

.review-question-item.correct .result-indicator {
  background: #10b981;
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.review-question-item.incorrect {
  background: #fff;
  border-color: #e8e8e8;
}

.review-question-item.incorrect .result-indicator {
  background: #64748b;
  color: white;
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.3);
}

.review-question-item .question-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-question-item .question-header .result-indicator {
  min-width: 32px;
  height: 32px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 2px;
}

.review-question-item .question-header .result-indicator .material-icons-outlined {
  font-size: 1.125rem;
}

.review-question-item .question-header .question-number {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.review-question-item .question-content .question-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #2c2c2c;
  margin-bottom: 1.25rem;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}

.review-question-item .question-content .answer-block {
  margin-top: 1rem;
}

.review-question-item .question-content .answer-block .answer-label,
.review-question-item .question-content .answer-block .user-answer-label {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-question-item .question-content .answer-block.correct-answer .answer-label {
  color: #0f766e;
}

.review-question-item .question-content .answer-block.user-answer .user-answer-label {
  color: #be123c;
}

.review-question-item .question-content .answer-block .answer-text,
.review-question-item .question-content .answer-block .user-answer-text {
  font-size: 1rem;
  color: #2c2c2c;
  line-height: 1.5;
  font-weight: 500;
}

.result-actions-fixed {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 141, 251, 0.15);
  box-shadow: 0 -4px 20px rgba(44, 44, 44, 0.08);
  padding: 1rem;
  overflow: hidden;
  pointer-events: auto;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.result-actions-fixed.show {
  transform: translateY(0);
}

body:has(#result-screen.active) .result-actions-fixed {
  display: block;
}

.result-actions-premium {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem;
}

.result-actions-premium .action-btn-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 12px;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 60px;
  min-width: 80px;
  letter-spacing: 0.3px;
  flex: 1;
}

.result-actions-premium .action-btn-premium i {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.result-actions-premium .action-btn-premium span {
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: center;
}

.result-actions-premium .action-btn-premium:hover i {
  transform: scale(1.1);
}

.result-actions-premium .action-btn-premium.primary {
  flex: 1.2;
  min-width: 100px;
  padding: 1rem 1.25rem;
  min-height: 68px;
  background: linear-gradient(135deg, #008DFB 0%, #69AAE9 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 141, 251, 0.3);
}

.result-actions-premium .action-btn-premium.primary i {
  font-size: 1.375rem;
}

.result-actions-premium .action-btn-premium.primary span {
  font-size: 0.8125rem;
  font-weight: 700;
}

.result-actions-premium .action-btn-premium.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 141, 251, 0.4);
  background: linear-gradient(135deg, #69AAE9 0%, #2CB6D0 100%);
}

.result-actions-premium .action-btn-premium.primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 141, 251, 0.3);
}

.result-actions-premium .action-btn-premium.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #2c2c2c;
  border: 2px solid rgba(0, 141, 251, 0.3);
  box-shadow: 0 2px 8px rgba(44, 44, 44, 0.05);
}

.result-actions-premium .action-btn-premium.secondary:hover {
  background: rgba(0, 141, 251, 0.05);
  border-color: #008DFB;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 141, 251, 0.15);
}

.result-actions-premium .action-btn-premium.tertiary {
  background: transparent;
  color: #6c757d;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  box-shadow: none;
}

.result-actions-premium .action-btn-premium.tertiary:hover {
  color: #008DFB;
  background: rgba(0, 141, 251, 0.05);
}

@media (max-width: 768px) {
  .result-content-scrollable {
    padding-bottom: 120px;
  }

  .result-container-premium {
    padding: 2rem 1.25rem 1rem;
    border-radius: 20px;
    min-height: calc(100vh - 120px);
  }

  .result-header .result-title {
    font-size: 2rem;
  }

  .score-section-premium {
    padding: 1.5rem;
  }

  .score-section-premium .score-circle {
    width: 160px;
    height: 160px;
  }

  .score-section-premium .score-circle .score-ring {
    width: 160px;
    height: 160px;
  }

  .score-section-premium .score-circle .score-inner .score-number {
    font-size: 1.75rem;
  }

  .result-actions-premium {
    gap: 0.75rem;
    padding: 0.25rem;
  }

  .result-actions-premium .action-btn-premium {
    min-height: 56px;
    min-width: 70px;
  }

  .result-actions-premium .action-btn-premium i {
    font-size: 1.125rem;
  }

  .result-actions-premium .action-btn-premium span {
    font-size: 0.6875rem;
  }

  .result-actions-premium .action-btn-premium.primary {
    min-height: 62px;
    min-width: 85px;
  }

  .result-actions-premium .action-btn-premium.primary i {
    font-size: 1.25rem;
  }

  .result-actions-premium .action-btn-premium.primary span {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .result-content-scrollable {
    padding-bottom: 140px;
  }

  .result-container-premium {
    padding: 1.5rem 1rem 1rem;
    border-radius: 16px;
    margin: 1rem;
    min-height: calc(100vh - 140px);
  }

  .result-header {
    margin-bottom: 2rem;
  }

  .result-header .result-title {
    font-size: 1.75rem;
  }

  .result-header .result-subtitle {
    font-size: 1rem;
  }

  .score-section-premium {
    padding: 1.25rem;
    margin-bottom: 2rem;
  }

  .score-section-premium .score-circle {
    width: 140px;
    height: 140px;
  }

  .score-section-premium .score-circle .score-ring {
    width: 140px;
    height: 140px;
  }

  .score-section-premium .score-circle .score-inner .score-number {
    font-size: 1.625rem;
  }

  .elegant-divider {
    margin: 2rem 0;
  }

  .review-question-item {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .review-question-item .question-content .question-text {
    font-size: 1rem;
  }

  .result-actions-premium {
    gap: 0.5rem;
    padding: 0.25rem;
  }

  .result-actions-premium .action-btn-premium {
    min-height: 52px;
    min-width: 60px;
    padding: 0.75rem 0.75rem;
  }

  .result-actions-premium .action-btn-premium i {
    font-size: 1rem;
  }

  .result-actions-premium .action-btn-premium span {
    font-size: 0.625rem;
  }

  .result-actions-premium .action-btn-premium.primary {
    min-height: 56px;
    min-width: 75px;
  }

  .result-actions-premium .action-btn-premium.primary i {
    font-size: 1.125rem;
  }

  .result-actions-premium .action-btn-premium.primary span {
    font-size: 0.6875rem;
  }
}

.review-question-item {
  opacity: 0;
  transform: translateY(20px);
  animation: premiumSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.review-question-item:nth-child(1) {
  animation-delay: 0.1s;
}

.review-question-item:nth-child(2) {
  animation-delay: 0.15s;
}

.review-question-item:nth-child(3) {
  animation-delay: 0.2s;
}

.review-question-item:nth-child(4) {
  animation-delay: 0.25s;
}

.review-question-item:nth-child(5) {
  animation-delay: 0.3s;
}

.review-question-item:nth-child(n+6) {
  animation-delay: 0.35s;
}

@keyframes premiumSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .container_bst {
    flex-direction: column;
    max-width: 500px;

  }

  main .main_area {
    width: 100%;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav {
    gap: 1rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container_quiz{
    max-width: 500px;
    margin: auto;
  }
  .entry-screen{
    padding: 0;
  }
  .page-title {
    font-size: 1.5rem;
  }

  .tool-card .card-content {
    padding: 1rem;
  }

  .sidebar-widget {
    padding: 1rem;
  }

  #lastcta {
    position: relative;
    margin: 30px 0;
  }

  #lastcta>img {
    width: 100%;
  }

  #lastcta a {
    position: absolute;
  }

  #lastcta .btn1 {
    top: 39%;
    left: 6%;
    width: 60%;
  }

  #lastcta .btn2 {
    top: 72%;
    left: 6%;
    width: 60%;
  }

  #lastcta a img {
    width: 100%;
  }
}

/*# sourceMappingURL=style.css.map */