@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul, summary {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* common */
*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.pc {
  display: initial !important;
}

.sp {
  display: none !important;
}

@media (max-width: 767px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: initial !important;
  }
}
:root {
  --primary: #F08200;
  --primary-hover: #D96B00;
  --primary-pale: #F9C9A3;
  --accent: #58B531;
  --accent-pale: #B9DA98;
  --accent-dark: #3A7D1E;
  --bg: #F5F3EA;
  --white: #fff;
}

@-webkit-keyframes light1 {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes light1 {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes boundIn {
  0% {
    transform: scale(0) translateY(30px);
  }
  50% {
    transform: scale(1.1) translateY(10px);
  }
  70% {
    transform: scale(0.9) translateY(0px);
  }
  90% {
    transform: scale(1.05) translateY(0px);
  }
  100% {
    transform: scale(1) translateY(0px);
  }
}
@keyframes boundIn {
  0% {
    transform: scale(0) translateY(30px);
  }
  50% {
    transform: scale(1.1) translateY(10px);
  }
  70% {
    transform: scale(0.9) translateY(0px);
  }
  90% {
    transform: scale(1.05) translateY(0px);
  }
  100% {
    transform: scale(1) translateY(0px);
  }
}
@-webkit-keyframes fadeUp {
  0% {
    opacity: 0;
    bottom: -200px;
  }
  100% {
    opacity: 1;
    bottom: -150px;
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    bottom: -200px;
  }
  100% {
    opacity: 1;
    bottom: -150px;
  }
}
@-webkit-keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0vw);
    opacity: 1;
  }
  50% {
    transform: translateY(50vh) rotate(-180deg) translateX(5vw) skew(30deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(100vh) rotate(-360deg) translateX(0vw);
    opacity: 0;
  }
}
@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0vw);
    opacity: 1;
  }
  50% {
    transform: translateY(50vh) rotate(-180deg) translateX(5vw) skew(30deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(100vh) rotate(-360deg) translateX(0vw);
    opacity: 0;
  }
}
@-webkit-keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
@-webkit-keyframes fadein {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
h1.site-title {
  font-size: 0;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -100px;
  left: -100px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.post-title {
  font-size: clamp(1.5rem, 0.9285714286rem + 1.4285714286vw, 2rem);
  line-height: 1.4;
  padding-bottom: 0.25em;
  border-bottom: 2px dashed var(--primary);
  margin-bottom: 0.5em;
  padding-top: clamp(40px, 6.6666666667vw, 80px);
}

.parts-heading {
  font-size: clamp(1.25rem, 0.6785714286rem + 1.4285714286vw, 1.75rem);
  line-height: 1.4;
}

.section-copy {
  font-size: clamp(1.25rem, 0.3928571429rem + 2.1428571429vw, 2rem);
  line-height: 1.8;
  padding-bottom: 0.125em;
  border-bottom: 2px dashed var(--primary);
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.section-copy.mi-auto {
  margin-inline: auto;
}

.text-l {
  font-size: clamp(1rem, 0.7142857143rem + 0.7142857143vw, 1.25rem);
  line-height: 2;
}

.lead {
  font-size: clamp(0.875rem, 0.5892857143rem + 0.7142857143vw, 1.125rem);
  line-height: 2.4;
}

.text {
  font-size: clamp(0.875rem, 0.7321428571rem + 0.3571428571vw, 1rem);
  line-height: 1.8;
}

.note {
  font-size: clamp(0.75rem, 0.6071428571rem + 0.3571428571vw, 0.875rem);
  line-height: 1.5;
}

.text-s {
  font-size: clamp(0.625rem, 0.4821428571rem + 0.3571428571vw, 0.75rem);
  line-height: 1.2;
}

.t-center {
  text-align: center;
}

.t-right {
  text-align: right;
}

.bold {
  font-weight: 700;
}

.marker {
  background: linear-gradient(to top, var(--marker) 50%, transparent 50%);
}

.accent-color {
  color: var(--accent);
}

.c-white {
  color: var(--white);
}

.underline {
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.kome {
  position: relative;
  padding-left: 1em;
  text-indent: -1em;
}
.kome::before {
  content: "※";
}

.header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}
.header .inner {
  width: 92%;
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.site-logo {
  width: 200px;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .site-logo {
    width: 160px;
  }
}

.gnav {
  margin-left: auto;
}
.gnav > ul {
  display: flex;
  gap: clamp(12px, 2.6666666667vw, 32px);
}
.gnav > ul > li a {
  color: var(--primary);
  font-size: clamp(0.875rem, 0.7321428571rem + 0.3571428571vw, 1rem);
  font-weight: 700;
  cursor: pointer;
}
.gnav > ul > li a:hover {
  color: var(--accent);
}
@media (max-width: 1024px) {
  .gnav {
    margin: 0;
    background: var(--white);
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.3s ease-out;
  }
  .gnav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .gnav > ul {
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-self: center;
  }
  .gnav > ul > li {
    text-align: center;
  }
  .gnav > ul > li a {
    display: block;
    font-size: 1.5rem;
    padding: 0.5em 0;
  }
}

.toggle {
  display: none;
}
@media (max-width: 1024px) {
  .toggle {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 32px;
    aspect-ratio: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
  }
  .toggle span {
    width: 80%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    position: relative;
    transition: all 0.3s ease-out;
  }
  .toggle span::before, .toggle span::after {
    content: "";
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background: var(--primary);
    position: absolute;
    transition: all 0.3s ease-out;
  }
  .toggle span::before {
    top: -6px;
    left: 0;
  }
  .toggle span::after {
    top: 6px;
    left: 0;
  }
  .toggle.is-active span {
    height: 0;
  }
  .toggle.is-active span::before, .toggle.is-active span::after {
    top: initial;
  }
  .toggle.is-active span::before {
    transform: rotate(45deg);
  }
  .toggle.is-active span::after {
    transform: rotate(-45deg);
  }
}

.footer {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: clamp(56px, 6.6666666667vw, 80px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.list-normal > li {
  position: relative;
  padding-left: 1em;
}
.list-normal > li::before {
  content: "";
  width: 1em;
  height: 1lh;
  background: radial-gradient(var(--text) 0.2em, transparent 0.2em) no-repeat center/1em 1em;
  position: absolute;
  inset: 0;
}

.list-counter {
  counter-reset: list-counter;
}
.list-counter > li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 1em;
}
.list-counter > li::before {
  content: counter(list-counter) ". ";
  position: absolute;
  inset: 0;
}

.link-text {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.link-text-outside {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  padding-right: 1.25em;
  position: relative;
  display: inline-block;
}
.link-text-outside::after {
  content: "";
  width: 1em;
  height: 1lh;
  background: url(../images/outside-link.svg) no-repeat center/contain;
  position: absolute;
  right: 0;
  top: 0;
}

.btn {
  border-radius: 8px;
  padding: 1em 2em;
  display: grid;
  place-items: center;
  line-height: 1;
}
.btn.btn-primary {
  background: var(--white);
  padding: 1em 2em;
  border: 2px dashed var(--primary);
  border-radius: 99px;
  color: var(--primary);
}
.btn.btn-primary:hover {
  background: var(--primary-pale);
}
.btn.btn-large {
  background: var(--primary);
  color: #fff;
  font-size: clamp(0.875rem, 0.7321428571rem + 0.3571428571vw, 1rem);
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(800px, 100%);
  height: clamp(56px, 6.6666666667vw, 80px);
  text-align: center;
  position: relative;
  font-size: clamp(1rem, 0.7142857143rem + 0.7142857143vw, 1.25rem);
  letter-spacing: 0.1em;
  padding: 1em 0.5em;
}
.btn.btn-large::before {
  content: "";
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 2px dashed var(--primary-pale);
  border-radius: 8px;
  position: absolute;
  top: 4px;
  left: 4px;
}
.btn.btn-large:hover {
  background: var(--primary-hover);
}
.btn.btn-negative {
  background: var(--negative);
  border: 2px solid var(--negative);
  color: var(--primary);
  font-size: clamp(0.875rem, 0.7321428571rem + 0.3571428571vw, 1rem);
}
.btn.btn-negative:hover {
  background: var(--negative-hover);
  border-color: var(--negative-hover);
}

.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.aioseo-breadcrumbs {
  position: relative;
  width: min(1200px, 88%);
  margin-inline: auto;
  font-size: clamp(0.6875rem, 0.6160714286rem + 0.1785714286vw, 0.75rem);
  padding-block: 1em;
  text-align: left;
}
.aioseo-breadcrumbs a, .aioseo-breadcrumbs span {
  color: var(--primary);
}

.sec {
  container-type: inline-size;
  overflow-x: clip;
}
.sec .container {
  height: 100dvh;
  position: relative;
  z-index: 1;
}
.sec .base-container {
  width: min(1200px, 88%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  padding-block: clamp(40px, 6.6666666667vw, 80px);
}

.fullwide {
  margin-inline: calc(50% - 50cqi);
  width: 100cqi;
}

.left-content {
  margin-left: calc(50% - 50cqi);
}

.right-content {
  margin-right: calc(50% - 50cqi);
}

.bg-primary {
  background: var(--primary);
  position: relative;
}

.bg-primary-pale {
  background: var(--primary-pale);
  position: relative;
}

.bg-base {
  background: var(--bg);
  position: relative;
}

.w960 {
  width: min(960px, 100%);
  margin-inline: auto;
}

.w800 {
  width: min(800px, 100%);
  margin-inline: auto;
}

.w640 {
  width: min(640px, 100%);
  margin-inline: auto;
}

.grid {
  display: grid;
}
.grid.grid21 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 767px) {
  .grid.grid21 {
    grid-template-columns: 1fr;
  }
}
.grid.grid31 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 767px) {
  .grid.grid31 {
    grid-template-columns: 1fr;
  }
}
.grid.grid41 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 767px) {
  .grid.grid41 {
    grid-template-columns: 1fr;
  }
}
.grid.grid42 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 767px) {
  .grid.grid42 {
    grid-template-columns: 1fr 1fr;
  }
}
.grid.grid12fr {
  grid-template-columns: 1fr 2fr;
}
@media (max-width: 767px) {
  .grid.grid12fr {
    grid-template-columns: 1fr;
  }
}
.grid.grid13fr {
  grid-template-columns: 1fr 3fr;
}
@media (max-width: 767px) {
  .grid.grid13fr {
    grid-template-columns: 1fr;
  }
}
.grid.grid21fr {
  grid-template-columns: 2fr 1fr;
}
@media (max-width: 767px) {
  .grid.grid21fr {
    grid-template-columns: 1fr;
  }
}
.grid.grid31fr {
  grid-template-columns: 3fr 1fr;
}
@media (max-width: 767px) {
  .grid.grid31fr {
    grid-template-columns: 1fr;
  }
}

.flex {
  display: flex;
}

.flex-sp-block {
  display: flex;
}
@media (max-width: 767px) {
  .flex-sp-block {
    flex-direction: column;
  }
}

.flex-block {
  display: flex;
  flex-direction: column;
}

.jc-center {
  justify-content: center;
}

.al-center {
  align-items: center;
}

.flex1 {
  flex: 1;
}

.gap48 {
  gap: clamp(16px, 4vw, 48px);
}

.gap32 {
  gap: clamp(16px, 2.6666666667vw, 32px);
}

.gap24 {
  gap: clamp(16px, 2vw, 24px);
}

.gap16 {
  gap: clamp(8px, 1.3333333333vw, 16px);
}

.gap8 {
  gap: 8px;
}

.mt96 {
  margin-top: clamp(64px, 8vw, 96px);
}

.mt80 {
  margin-top: clamp(56px, 6.6666666667vw, 80px);
}

.mt64 {
  margin-top: clamp(40px, 5.3333333333vw, 64px);
}

.mt48 {
  margin-top: clamp(36px, 4vw, 48px);
}

.mt40 {
  margin-top: clamp(32px, 3.3333333333vw, 40px);
}

.mt32 {
  margin-top: clamp(24px, 2.6666666667vw, 32px);
}

.mt24 {
  margin-top: clamp(16px, 2vw, 24px);
}

.mt16 {
  margin-top: clamp(12px, 1.3333333333vw, 16px);
}

.mt8 {
  margin-top: 8px;
}

.mt4 {
  margin-top: 4px;
}

.tab-primary {
  display: flex;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--text);
}
.tab-primary > li {
  flex: 1 1 auto;
  cursor: pointer;
}

.tab-primary-content > li {
  display: none;
}
.tab-primary-content > li.is-active {
  display: initial;
}

.js-accordion {
  cursor: pointer;
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: all 0.3s ease-out;
}
.accordion-content.open {
  grid-template-rows: 1fr;
}
.accordion-content > div {
  overflow: hidden;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  text-align: center;
  max-width: 100%;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--primary);
  background-repeat: repeat;
  background-size: 100px 100px;
  touch-action: manipulation;
}

.wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(80px, 13.3333333333vw, 160px);
  min-height: auto;
}

.btn-wrap {
  width: min(600px, 90%);
  margin-inline: auto;
}

.aioseo-breadcrumbs {
  margin-top: clamp(40px, 6.6666666667vw, 80px);
}

.en {
  font-family: "Quicksand", sans-serif;
  font-size: 0.85em;
  color: var(--primary);
  margin-top: 5px;
  font-weight: 500;
  display: none;
}

#gameContainer {
  margin: 10px auto;
  position: relative;
  background-color: var(--white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary);
  width: calc(100% - 32px);
  max-width: 600px;
  overflow: hidden;
}

.screen {
  display: none;
  -webkit-animation: fadeIn 0.5s ease-in-out;
          animation: fadeIn 0.5s ease-in-out;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.active {
  display: block;
}

.question-image, .fixed-image {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  margin: 24px auto;
  border-radius: 15px;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

.choice-btn {
  padding: 12px 20px;
  margin: 8px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50px;
  background-color: #fff;
  color: var(--white);
  border: 0;
  font-weight: bold;
  transition: all 0.3s;
  font-family: "M PLUS Rounded 1c", sans-serif;
  box-shadow: 0 4px 0 #ddd;
  width: min(220px, 100%);
  position: relative;
}

.choice-btn:first-child {
  background-color: var(--primary);
}

.choice-btn:last-child {
  background-color: var(--accent);
}

.choice-btn:hover, .choice-btn:active {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 #ddd;
}

.btn-en {
  display: block;
  font-size: 0.7em;
  margin-top: 3px;
  font-family: "Quicksand", sans-serif;
  display: none;
}

.nav-btn, .start-btn, .restart-btn, .next-btn, .submit-btn, .survey-only-btn {
  padding: 15px 30px;
  font-size: 18px;
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 15px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: bold;
  box-shadow: 0 6px 0 var(--accent-dark);
  transition: all 0.3s;
  border: 3px dashed var(--accent-pale);
  width: 80%;
  max-width: 300px;
  position: relative;
}

.survey-only-btn {
  background-color: #ee6c4d;
  box-shadow: 0 6px 0 #e0502a;
  border: 3px dashed #f4a261;
  margin-top: 32px;
}

.exit-btn {
  padding: 10px 20px;
  font-size: 14px;
  background-color: #e0e0e0;
  color: #333;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 10px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: bold;
  box-shadow: 0 4px 0 #bdbdbd;
  transition: all 0.3s;
  border: 2px dashed #bdbdbd;
  width: 60%;
  max-width: 200px;
}

.exit-btn:hover, .exit-btn:active {
  background-color: #bdbdbd;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #9e9e9e;
}

.nav-btn:hover, .start-btn:hover, .restart-btn:hover, .next-btn:hover, .submit-btn:hover, .survey-only-btn:hover,
.nav-btn:active, .start-btn:active, .restart-btn:active, .next-btn:active, .submit-btn:active, .survey-only-btn:active {
  transform: translateY(-3px);
}

.start-btn:hover, .start-btn:active, .next-btn:hover, .next-btn:active, .submit-btn:hover, .submit-btn:active {
  box-shadow: 0 9px 0 #1c2331;
}

.survey-only-btn:hover, .survey-only-btn:active {
  background-color: #e0502a;
  box-shadow: 0 9px 0 #c4371a;
}

.question-counter {
  margin: 10px auto;
  font-size: 18px;
  background-color: var(--accent);
  display: inline-block;
  padding: 6px 15px;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 3px 0 var(--accent-dark);
}

h1 {
  color: var(--primary);
  text-shadow: 2px 2px 0 var(--bg);
  margin: 10px 0;
  font-size: 1.8em;
  word-break: keep-all;
  line-height: 1.2;
}

h2 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1.3em;
}

.feedback {
  margin: 15px 0;
  padding: 15px;
  border-radius: 15px;
  font-size: 16px;
}

.correct {
  background-color: var(--primary);
  color: var(--white);
}
.correct h3 {
  font-size: 1.5rem;
}

.incorrect {
  background-color: var(--accent);
  color: var(--white);
}

.fixing-method {
  margin-top: 32px;
  text-align: left;
  font-size: 0.95em;
}

.fixing-method h3 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1.2em;
  font-weight: 700;
  text-align: center;
}

.character {
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: -40px;
  right: -20px;
  z-index: 100;
  display: none; /* スマホでは非表示にする */
}

@media (min-width: 600px) {
  .character {
    display: block; /* PCサイズでは表示する */
    width: 100px;
    height: 100px;
  }
}
.character img {
  width: 100%;
  height: auto;
}

.title-decoration {
  display: inline-block;
  margin: 0 5px;
  font-size: 1.3em;
  color: #ee6c4d;
}

.score-display {
  font-size: 1.6em;
  color: #ee6c4d;
  font-weight: bold;
  margin: 15px 0;
  background-color: #fef9ef;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  border: 3px dashed #f4a261;
}

.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #ee6c4d;
  border-radius: 50%;
  -webkit-animation: fall 5s linear infinite;
          animation: fall 5s linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(600px) rotate(360deg);
    opacity: 0;
  }
}
.bubble {
  position: absolute;
  background-color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  z-index: 10;
  -webkit-animation: float 3s ease-in-out infinite;
          animation: float 3s ease-in-out infinite;
  display: none; /* スマホでは非表示にする */
}

@media (min-width: 600px) {
  .bubble {
    display: block; /* PCサイズでは表示する */
  }
  #gameContainer {
    padding: 25px;
  }
  h1 {
    font-size: 2.2em;
  }
  h2 {
    font-size: 1.5em;
  }
  .question-counter {
    font-size: 20px;
  }
  .choice-btn {
    font-size: 20px;
    padding: 12px 30px;
  }
  .fixing-method {
    font-size: 1em;
  }
}
@-webkit-keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
#answerButtons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

p {
  margin: 10px 0;
  line-height: 1.4;
  font-size: 0.95em;
}

/* アンケート用スタイル */
.survey-form {
  text-align: left;
  margin: 20px 0;
}

.survey-question {
  margin: 20px 0;
  background-color: #fef9ef;
  padding: 15px;
  border-radius: 15px;
  border: 2px dashed #f4a261;
}

.survey-question h3 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1.2em;
  line-height: 1.4;
}

.radio-group {
  margin: 10px 0;
}

.radio-label {
  display: block;
  cursor: pointer;
  padding: 8px;
  margin: 8px 0;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid var(--primary);
  transition: all 0.2s;
}

.radio-label:hover {
  background-color: #fef9ef;
}

.radio-input {
  margin-right: 10px;
}

.checkbox-label {
  display: block;
  cursor: pointer;
  padding: 8px;
  margin: 8px 0;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid var(--primary);
  transition: all 0.2s;
}

.checkbox-label:hover {
  background-color: #fef9ef;
}

.checkbox-input {
  margin-right: 10px;
}

.text-input {
  width: 100%;
  padding: 10px;
  border: 2px solid var(--primary);
  border-radius: 10px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 16px;
  margin-top: 10px;
}

/* 結果表示 */
.results-container {
  margin-top: 20px;
  text-align: left;
}

.result-box {
  background-color: var(--bg);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  border-left: 5px solid #98c1d9;
}

.result-box h3 {
  color: #3d5a80;
  margin-top: 0;
}

.copy-btn {
  background-color: #edf6f9;
  border: 2px solid #98c1d9;
  color: #3d5a80;
  padding: 10px 20px;
  border-radius: 30px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.copy-btn:hover {
  background-color: #98c1d9;
}

.survey-title {
  background-color: var(--accent);
  color: #fff;
  padding: 10px;
  border-radius: 15px;
  margin: 20px 0 10px;
  font-weight: bold;
  border: 2px dashed var(--accent-pale);
}

/* 送信ステータス表示用 */
#submitStatus {
  margin-top: 15px;
  padding: 10px;
  border-radius: 10px;
  display: none;
}

.status-success {
  background-color: #edf6f9;
  color: #3d5a80;
  border: 2px solid #98c1d9;
}

.status-error {
  background-color: #ffddd2;
  color: #e0502a;
  border: 2px solid #ee6c4d;
}

.expo-logo {
  max-width: 120px;
  margin: 10px auto 5px;
}

.btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
}

.result-section {
  margin: 20px 0;
  padding: 15px;
  border-radius: 15px;
  background-color: #edf6f9;
  border: 3px solid #98c1d9;
}

.survey-note {
  font-size: 0.85em;
  margin: 10px 0;
  padding: 8px;
  background-color: var(--bg);
  border-radius: 10px;
}
/*# sourceMappingURL=quiz.css.map */