.klee-one-regular {
  font-family: "Klee One", cursive;
  font-weight: 400;
  font-style: normal;
}


body {
    position: relative;
    font-family: "Klee One", cursive;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: #CCF2F4;
    background-image: url('/static/game/psychological/img/water.webp');
    background-size: cover;

}

.blank-row {
    margin: 20px;
}
/* .box {
    background-color: #F4F9F9;
    padding: 20px;
    border: 2px solid #AAAAAA;
    margin: 10px;
} */

#questionBox {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.question {
    background-color: #F4F9F9;
    border: 2px solid #AAAAAA;
    margin: 10px;
    width: 150px;
    height: 150px;
}
#questionSentenceBox {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.questionSentence {
    display: flex;
    align-items: center;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    border: 2px solid #AAAAAA;
    margin: 10px;
}

@media screen and (max-width: 600px) {
  .questionSentence {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    border: 2px solid #AAAAAA;
    margin: 10px;
  }
}

.textSentence {
    display: flex;
    justify-content: center;
    align-items: center;

    /* backdrop-filter: blur(4px); */
    padding: 10px 30px 10px 5px;
    margin: 20px;
    /* background-color: blue; */
}


.image {
    width: 150px;
    height: 120px;
    /* opacity: 0.1; */
}
img {
    width: 150px;
    height: 120px;   
}
img.discriptionImg {
    width: 100px;
    height: 80px;
}
.text {
    width: 150px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.question img {
    width: 100%;
    height: 100%; /* アスペクト比を保つ */
    object-fit: cover;
    display: block;
}

strong {
    font-size: 1.2em;
    background-color: #AAAAAA;
}

.text-overlay {
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.4);
    padding: 10px 30px;
    border-radius: 10px;
    margin: 20px;
}


#bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* pointer-events: none; */
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    top:0;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}
.bubble.explode {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  transform: scale(20);
  opacity: 0;
}

.first-fade-in {
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 2.0s ease-out, transform 2.0s ease-out;
}
.fade-in {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 2.0s ease-out, transform 2.0s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.pair {
    display: flex;
}

#nextButton {
    position: fixed;
    left: 50%;
    bottom: 100px;
    width: 300px;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #A4EBF3;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 99;
}
.a {
    display: block;          /* ブロックにして幅を持たせる */
    width: 200px;            /* 固定幅 */
    margin: 0 auto;          /* 左右のマージン自動で中央寄せ */
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #A4EBF3;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 9;
}
a:hover{
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#nextButton:hover{
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#nextButton:active {
  transform: translateX(-50%) scale(0.95);
}

.flex {
    display: flex;
    align-items: center;
}


