@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
/* index.html */
body {
    margin: 0;
    padding: 0;
	font-family: 'Noto Sans Japanese', sans-serif;
}


.bold {
    font-weight: bold;
}

.wave {
    position: absolute;
    height: 53px;
    width: 100%;
    background: #CEDBF2;
    top: 0;
}

.wave::before,
.wave::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 100% 50%;
}

.wave::before {
    width: 55%;
    height: 109%;
    background-color: #fff;
    right: -1.5%;
    top: 60%;
}

.wave::after {
    width: 55%;
    height: 100%;
    background-color: #CEDBF2;
    left: -1.5%;
    top: 40%;
}

.wave2 {
    position: absolute;
    height: 53px;
    width: 100%;
    background: #CEDBF2;
    bottom: 0;
}

.wave2::before,
.wave2::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 50% 100%;
}

.wave2::before {
    border-radius: 100% 90% 90% 10%;
    width: 50%;
    height: 100%;
    background-color: #CEDBF2;
    right: -1.5%;
    bottom: 40%;
}

.wave2::after {
    border-radius: 80% 80% 90% 50%;
    width: 55%;
    height: 109%;
    background-color: #fff;
    left: -1.5%;
    bottom: 60%;
}

@media screen and (min-width: 992px) {

    .flexbox {
        width: 100vw;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        /* 縦方向の中央揃え */
        position: relative;
        overflow: hidden;
    }
}

@media screen and (max-width: 992px) {
    .flexbox {
        z-index: 2;
        display: flex;
        top: 25%;
        background-color: transparent;
        position: absolute;
        justify-content: center;
        width: 100vw;
        max-height: 100vh;
        /* .flexboxの高さを調整 */
        overflow: hidden;
        /* 要素がはみ出した場合にはみ出し部分を隠す */
    }


}

/* .boxsp {
    position: absolute;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
} */
.index-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40%;
    height: 100%;
}

.index-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    width: 30vw;
    text-align: center;
    border-radius: 50px;
    position: relative;
    height: 100%;
}

.index-title2 {
    letter-spacing: 0.3em;
    color: black;
    font-weight: bold;
    font-size: 3rem;
}

.index-title3 {
    letter-spacing: 0.6em;
    color: black;
    font-weight: bold;
    font-size: 3rem;
}

button {
    width: 400px;
    height: 80px;
    border-radius: 50px;
    border: none;
    background-color: #F2AF22;
    color: #fff;
}





.orange18 {
    color: #F2AF22;
    font-size: 1.8rem;
    font-weight: bold;
}

.orange15 {
    color: #F2AF22;
    font-size: 1.5rem;
    font-weight: bold;
}

.orange1 {
    font-size: 0.9em;
    color: #F2AF22;
}



.moji {
    text-align: center;
    width: 100%;
}

.overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.overlay-image2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
    pointer-events: none;
}

.overlay-image3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9;
    pointer-events: none;
}

.overlay-imageul {
    position: absolute;
    top: 25vw;
    left: 0;
    width: 25%;
    z-index: 1;
    max-width: 100%;
}

.overlay-imageur {
    position: absolute;
    top: 25vw;
    right: 0;
    width: 25%;
    z-index: 1;
    max-width: 100%;
}

.overlay-imagell {
    position: absolute;
    bottom: 25vw;
    left: 0;
    width: 25%;
    z-index: 1;
    max-width: 100%;
}

.overlay-imagelr {
    position: absolute;
    bottom: 25vw;
    right: 0;
    width: 25%;
    z-index: 1;
    max-width: 100%;
}


.overlay2-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

.overlay3-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

button .bold {
    font-weight: bold;
}

button .font-size2 {
    font-size: 2rem;
}


/* PCとSPで画像の切り替え */
@media screen and (min-width: 992px) {
    .pc-none {
        display: none;
    }

}

@media screen and (max-width: 992px) {
    .sp-none {
        display: none;
    }

    .index-title {
        margin-top: 0;
        height: 100%;
    }

    .index-title2 {
        letter-spacing: 0.3em;
        color: black;
        font-weight: bold;
        font-size: 2rem;
    }

    .index-title3 {
        letter-spacing: 0.6em;
        color: black;
        font-weight: bold;
        font-size: 2rem;
    }

}

/* question1.html */
.flexbox_q {
    background-color: #CEDBF2;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.upper-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw;
    /* 画面幅の50% */
}

.lower-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50vw;
    /* 画面幅の50% */
}

.upper {
    width: 100vw;
    position: absolute;
    top: 0;
}

.lower {
    width: 100vw;
    position: absolute;
    bottom: 0;
}

.square {
    width: 60%;
    height: 60%;
    background-color: #fff;
    border-radius: 25px;
    margin: auto;
    padding: 1em;
}

@media screen and (max-width: 991px) {
    .square {
        width: 90%;
        height: auto;
        /* 高さを自動調整する */
        max-height: calc(100vh - 200px);
        /* 画面高さから上下の画像の高さを引いた値までの最大高さを設定 */
        margin: 20px;
        /* 上下に余白を追加 */
    }
}

/* 問題文 */
.center {
    background-color: transparent;
    border-radius: 25px;
    font-weight: bold;
    font-size: larger;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 水平方向の中央揃え */
    align-items: center;
    /* 垂直方向の中央揃え */
    height: 675px;
    width: 1200px;
    z-index: 9;
}

.overlay-image_q {
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.question {
    text-align: center;
    color: #F2AF22;
    margin-top: 30px;
}

.question_sentence {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 2rem;
    color: #ACCDA9;
}

@media screen and (max-width: 991px) {
    .center {
        margin-top: 20vh;
        height: 60vh;
        width: 90vw;
        z-index: 9;
        margin-left: auto;
        margin-right: auto;
    }

    #questionForm {
        position: static;
        margin-top: 5%;
        /* 上側の余白を調整 */
        text-align: center;
        height: 70%;
    }

    .question {
        margin-top: 5%;
    }

    .question_sentence {
        /* margin: 10px 30px 30px 30px; */
        /* margin: auto; */
        margin-bottom: 5%;
        text-align: center;
        color: #ACCDA9;
        /* font-size: 1.3rem; */
        font-size: 100%;
    }
}



/* ラジオボタン */
input[type="radio"] {
    display: none;
    /* ラジオボタンを非表示にする */
}

/* カスタムラジオボタン */
.custom-radio {
    font-weight: bold;
    font-size: 2rem;
    display: block;
    width: 50%;
    height: auto;
    line-height: 50px;
    text-align: center;
    background-color: #fff;
    color: #ACCDA9;
    border: solid 2px;
    border-color: #ACCDA9;
    border-radius: 50px;
    cursor: pointer;
    margin: 20px auto;
}


@media screen and (max-width: 991px) {
    .custom-radio {
        width: 90%;
        /* height: 10%; */
        height: auto;
        /* margin-top: 20px; */
        margin-top: auto;
        font-size: 1.3rem;
    }
}

/* ラジオボタンが選択されたときのスタイル */
input[type="radio"]:checked+.custom-radio {
    color: #fff;
    background-color: #ACCDA9;
}

@media screen and (max-width: 991px) {
    .index-center {
        height: 50vh;
        align-items: center;
        width: 100vw;
        text-align: center;
        position: relative;
        border: none;
        border-radius: 0;
    }


    button {
        width: 250px;
    }
}

/* result*/
@media screen and (max-width: 991px) {
    .flexbox_r {
        background-color: #CEDBF2;
        width: 100%;
        height: 100vh;
        /* display: flex; */
        justify-content: center;
        align-items: center;
        position: relative;
        height: fit-content;

    }

    .obi {
        background-color: #fff;
        height: fit-content;
        width: 100vw;
        padding-top: 0.3em;
        padding-bottom: 0.3em;
        margin-left: -10px;
    }

    .result_pic {
        display: block;
        width: 100%;
        /* 画面幅いっぱいに表示 */
        margin: 0 auto;
        /* 中央揃え */
    }
}



p {
    font-weight: 540;
    font-size: 0.9em;
}

@media screen and (min-width: 992px) {
    .background-image-houseki {
        height: 100vh;
        /* height: auto; */
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        overflow-y: hidden;
        background-image: url("../img/result_houseki_v3.png");
    }
}

@media screen and (max-width: 991px) {
    .background-image-houseki {
        background-image: url("../img/result_houseki_sp_v3.png");
        /* height: 100vh; */
        height: auto;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
}

@media screen and (min-width: 992px) {
    .background-image-bokujo {
        background-image: url("../img/result_bokujo_v3.png");
        /* height: 100vh; */
        height: auto;
        background-repeat: no-repeat;
        background-size: cover;
        overflow-y: hidden;
        background-position: center center;
    }
}

@media screen and (max-width: 991px) {
    .background-image-bokujo {
        background-image: url("../img/result_bokujo_sp_v3.png");
        /* height: 100vh; */
        height: auto;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
}

@media screen and (min-width: 992px) {
    .background-image-sennin {
        background-image: url("../img/result_sennin_v3.png");
        /* height: 100vh; */
        height: auto;
        background-repeat: no-repeat;
        background-size: cover;
        overflow-y: hidden;
        /* background-size: contain; */
        background-position: center center;
    }
}

@media screen and (max-width: 991px) {
    .background-image-sennin {
        background-image: url("../img/result_sennin_sp_v3.png");
        /* height: 100vh; */
        height: auto;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
}



@media screen and (min-width: 992px) {
    .background-image-tsuribito {
        /* height: 100vh; */
        height: auto;
        background-repeat: no-repeat;
        background-size: cover;
        overflow-y: hidden;
        background-position: center center;
        background-image: url(../img/result_tsuribito_v3.png);

        /* background-image: url(../img/result_tsuribito.png);
        background-repeat: no-repeat;
        background-size: contain; */
        /* 画像が切れないようにアスペクト比を保ちながら表示 */
        /* background-position: center center;
        height: 100vh; */
        /* 画像をビューポートの高さいっぱいに表示 */
        /* width: 100%; */
        /* 幅はビューポートに合わせる */
    }
}

@media screen and (max-width: 991px) {
    .background-image-tsuribito {
        /* height: 100vh; */
        height: auto;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-image: url(../img/result_tsuribito_sp_v3.png);
    }
}

@media screen and (max-width: 991px) {
    p {
        font-weight: normal;
        font-size: 0.9em;
        margin-bottom: 0;
    }
}

/* 文章部分のコンテナ */
.result-container {
    max-width: 50%;
    float: left;
    margin-left: 5%;
    margin-top: 10vh;
    height: 100vh;

}

@media screen and (max-width: 991px) {
    .result-container {
        max-width: 95%;
        float: none;
        padding-bottom: 2rem;
        margin-top: 2em;
        /* margin-bottom: 2rem; */
        margin-left: auto;
        margin-right: auto;
        height: fit-content;
    }

    .explain-container {
        background-color: #fff;
        border-radius: 25px;
        padding: 1em;
        margin-top: 20px;
        /* 適切なマージンを追加 */
        width: 90%;
        /* 幅を調整 */
        margin-left: auto;
        margin-right: auto;
    }
}

.kekka {
    color: #fff;
    font-weight: bold;
    font-size: large;
    background-color: #F2AF22;
    width: 200px;
    height: 50px;
    line-height: 50px;
    border-radius: 50px;
    margin-top: 10%;
    text-align: center;
}

.title {
    font-size: 3rem;
    color: #F2AF22;
    font-weight: bold;
    margin-top: 20px;
}

@media screen and (max-width: 991px) {
    .kekka {
        color: #fff;
        font-weight: bold;
        font-size: large;
        background-color: #F2AF22;
        width: 150px;
        height: 30px;
        line-height: 30px;
        border-radius: 50px;
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .title {
        font-size: 1.5rem;
        color: #F2AF22;
        font-weight: bold;
        margin-top: 10px;
        text-align: center;
    }
}

.subtitle {
    color: #F2AF22;
    font-weight: bold;
}

.main-emphasis {
    color: #ACCDA9;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    /* 改行を防止 */
}

.main_explain {
    font-size: 1.3rem;
    font-weight: bold;
}

@media screen and (max-width: 991px) {
    .main_explain {
        font-size: 1rem;
        padding-top: 1em
    }

    .subtitle {
        text-align: center;
    }
}

.dot-above {
    position: relative;
    display: inline;
    vertical-align: middle;
    /* 垂直方向に中央寄せ */
}

.dot-above::before {
    content: '\2022';
    /* 黒丸のUnicode */
    position: absolute;
    top: -0.7em;
    /* 文字の上中央に配置 */
    left: 50%;
    /* 左から50%の位置に配置 */
    transform: translateX(-50%);
    /* 左から50%分左に移動して中央に配置 */
    color: #ACCDA9;
    /* ドットの色 */
    font-size: 0.9rem;
    /* ドットのサイズ */
}

.emphasis {
    color: #F2AF22;
}