@charset "UTF-8";

/* CSS Document */

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
    margin: 0 auto;
}

#wrapper {
    min-height: 100vh;
    position: relative;
    padding-bottom: 50px;
    box-sizing: border-box;
}

a:hover {
    opacity: 0.8
}

img {
    vertical-align: top;
    max-width: 100%;
}

header {
    background: #fff;
    text-align: center;
}

header img {
    box-sizing: border-box;
    height: 180px;
    padding: 50px;
}

main {
    text-align: center;
    margin: auto;
    max-width: 1000px;
    padding: 10px 20px 100px;
}

footer {
    box-sizing: border-box;
    width: 100%;
    background: #F2F4F8;
    padding: 20px;
    text-align: center;
    position: absolute;
    bottom: 0;
}

footer small {
    display: block;
    font-size: 10px;
    line-height: 1.4em;
}

@media screen and (max-width:480px) {
    header img {
        height: 120px;
        padding: 30px;
    }

    .pc {
        display: none;
    }
}

/* step indicator */
.step_indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.step {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    background: #ccc;
    color: #000;
    flex-shrink: 0;
}

.step.active {
    background: #f6e500;
}

.step.done {
    background: #f6e500;
    opacity: 0.4;
}

.step_line {
    width: 60px;
    height: 3px;
    background: #ccc;
    flex-shrink: 0;
}

.step_line.done {
    background: #f6e500;
    opacity: 0.4;
}

@media screen and (max-width:480px) {
    .step_indicator {
        margin-bottom: 24px;
    }

    .step {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .step_line {
        width: 36px;
    }
}

/* question */
.question {
    margin-bottom: 30px;
}

.question_image {
    margin-bottom: 20px;
}

.question_text {
    font-size: 30px;
    line-height: 1.5em;
    font-weight: bold;
    margin: 0 0 20px;
}

.question_text sup {
    font-size: 0.65em;
    vertical-align: super;
    line-height: 0;
}

.question_text small {
    display: block;
    font-size: 0.5em;
    font-weight: normal;
    line-height: 1.6em;
    margin-top: 8px;
    text-align: center;
}

@media screen and (max-width:480px) {
    .question {
        margin-bottom: 20px;
    }

    .question_image {
        margin-bottom: 10px;
    }

    .question_text {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

/* answer */
.answer {
    max-width: 800px;
    margin: auto;
    margin-bottom: 30px;
}

.answer_text {
    display: block;
    text-decoration: none;
    background: #f6e500;
    color: #000;
    border: 1px solid #f6e500;
    font-size: 20px;
    line-height: 1.5em;
    font-weight: bold;
    padding: 10px;
    border-radius: 50px;
    margin-bottom: 10px;
    transition: .2s linear;
}

.answer_text:hover {
    background: #fff;
    border: 1px solid #000;
    opacity: 1;
}

@media screen and (max-width:480px) {
    .answer {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .answer_text {
        font-size: 16px;
        padding: 8px;
    }
}

.question_hint {
    font-size: 24px;
    line-height: 1.5em;
    font-weight: bold;
    color: #f6e500;
}

@media screen and (max-width:480px) {
    .question_hint {
        font-size: 18px;
    }
}

/* explanation */
.correct_answer {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.explanation_text {
    display: inline-block;
    font-size: 16px;
    line-height: 1.5em;
    padding: 0;
    border-radius: 10px;
    margin: 0;
}

@media screen and (max-width:480px) {
    .correct_answer {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .explanation_text {
        font-size: 14px;
        padding: 0;
    }
}

/* clear */
.clear_image {
    margin-bottom: 50px;
}

.clear_title {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
}

.clear_text {
    font-size: 20px;
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 30px;
}

@media screen and (max-width:480px) {
    .clear_image {
        margin-bottom: 30px;
    }

    .clear_title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .clear_text {
        font-size: 16px;
        padding: 0 20px;
        margin-bottom: 20px;
    }
}

/* modal */
.modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal_overlay[hidden] {
    display: none;
}

.modal_box {
    background: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    position: relative;
}

.modal_title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px;
}

.modal_text {
    font-size: 20px;
    line-height: 1.5em;
    margin: 0 0 20px;
}

.modal_close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 4px 6px;
}

.modal_close:hover {
    color: #333;
    opacity: 1;
}

.modal_hint {
    display: inline-block;
    background: #f6e500;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 50px;
    border-radius: 50px;
}

.modal_hint:hover {
    opacity: 0.8;
}

.modal_next {
    display: inline-block;
    background: #f6e500;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 50px;
    border-radius: 50px;
    margin-top: 20px;
}

.modal_next:hover {
    opacity: 0.8;
}

.answer_img_q1 {
    width: 90%;
    margin-bottom: 10px;
}

.answer_img_q3 {
    width: 60%;
    margin-bottom: 10px;
}

.answer_img_q4 {
    width: 40%;
    margin-bottom: 10px;
}

.modal_box sup {
    font-size: 0.65em;
    vertical-align: super;
    line-height: 0;
}

.rmark {
    font-size: 0.8em;
    position: relative;
    top: 0.2em;
}

.modal_box small {
    display: block;
    font-size: 0.65em;
    font-weight: normal;
    line-height: 1.6em;
    margin-top: 8px;
    text-align: center;
}

@media screen and (max-width:480px) {
    .modal_box {
        width: 80%;
        padding: 20px;
    }

    .modal_title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .modal_text {
        font-size: 15px;
    }

    .modal_hint {
        font-size: 15px;
        padding: 10px 36px;
    }

    .modal_next {
        font-size: 15px;
        padding: 10px 36px;
        margin-top: 20px;
    }

    .answer_img_q1 {
        width: 80%;
    }

    .answer_img_q3 {
        width: 50%;
    }

    .answer_img_q4 {
        width: 30%;
    }
}

/* share */
.share_area {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.share {
    width: 300px;
    display: block;
    text-decoration: none;
    background: #f6e500;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5em;
    padding: 20px 50px;
    border-radius: 50px;
}

@media screen and (max-width:480px) {
    .share_area {
        margin-bottom: 10px;
    }

    .share {
        width: 200px;
        font-size: 16px;
        line-height: 1.5em;
        padding: 10px 20px;
    }
}

/* entry */
.entry_area {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.entry {
    width: 300px;
    display: block;
    text-decoration: none;
    background: #f6e500;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5em;
    padding: 20px 50px;
    border-radius: 50px;
}

.entry.disabled {
    background: #999;
}

.entry.disabled:hover {
    opacity: 1;
}

@media screen and (max-width:480px) {
    .entry {
        width: 200px;
        font-size: 16px;
        line-height: 1.5em;
        padding: 10px 20px;
    }
}

.join_area {
    padding: 0 20px 50px;
}

.join_text {
    font-size: 14px;
    line-height: 1.4em;
    margin: 0 0 20px;
}

.join_notes {
    box-sizing: border-box;
    max-width: 670px;
    padding: 15px;
    background-color: #eee;
    border: 1px solid #ccc;
    margin: 0 auto;
}

.join_list {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
    font-size: 12px;
}

@media screen and (max-width:767px) {
    .join_text {
        font-size: 12px;
    }

    .join_list {
        font-size: 10px;
    }
}

/* result */
.result {
    margin-bottom: 30px;
}

.result_image {
    max-width: 100%;
    height: auto;
    margin: 0 0 20px;
}

.result_body {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.6em;
    margin: 0 0 30px;
    color: #000;
}

.result_cta {
    font-size: 16px;
    line-height: 1.6em;
    margin: 0;
    color: #555;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

@media screen and (max-width:480px) {
    .result {
        margin-bottom: 20px;
    }

    .result_image {
        margin-bottom: 10px;
    }

    .result_body {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .result_cta {
        font-size: 13px;
        padding-top: 16px;
    }
}

/* complete_section */
.complete_section {
    text-align: center;
    padding: 50px;
    border-radius: 10px;
    background-color: #fff;
    border: 3px solid #000;
}

.complete_section_inner {
    max-width: 550px;
    margin: auto;
}

.complete_title {
    color: #000;
    font-size: 40px;
    line-height: 1.2em;
    font-weight: bold;
    margin: 0 0 30px;
}

.complete_text {
    font-size: 16px;
    line-height: 1.4em;
    margin: 0;
}

@media screen and (max-width:480px) {
    .complete_section {
        padding: 20px 30px;
        border: 2px solid #000;
    }

    .complete_title {
        font-size: 24px;
        margin: 0 0 20px;
    }

    .complete_text {
        font-size: 14px;
        text-align: left;
    }
}

/* banner_area */
.banner_area {
    margin-bottom: 30px;
}

.banner_text {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner_image {
    width: 100%;
    margin-bottom: 20px;
}

.banner_area .sp {
    display: none;
}

@media screen and (max-width:767px) {

    .banner_area {
        padding: 0 20px;
        margin-bottom: 10px;
    }

    .banner_text {
        font-size: 18px;
    }

    .banner_image {
        margin-bottom: 10px;
    }

    .banner_area .sp {
        display: block;
    }

    .banner_area .pc {
        display: none;
    }
}

