/* ------------------------------------------------ */
/* ------------------------------------------------ */
/*  共通
/* ------------------------------------------------ */
/* ------------------------------------------------ */
.quiz-column-main {
    font-weight: bold;
    color: #333;
}

.quiz-column-main section:has(.text_hasimg) {
    position: relative;
}

.quiz-column-main .text_hasimg {
    position: absolute;
    top: 0;
    left: 0;;
    font-size: 0;
}

.fade_container {
    opacity: 0;
    transform: translateY(80px) scale(1.05);
}

.fade_container.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mb_only {
    display: none;
}

@media only screen and (max-width: 767px) {
    .dt_only {
        display: none;
    }

    .mb_only {
        display: block;
    }
}

.mask_anim {
    clip-path: inset(0 100% 0 0);
    overflow: hidden;
}

.mask_anim.mask_play {
    animation: mask-anim 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes mask-anim {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0% 0 0);
    }
}


/* ------------------------------------------------ */
/* ------------------------------------------------ */
/*  summary
/* ------------------------------------------------ */
/* ------------------------------------------------ */
.quiz-column-main .summary {

}

@media only screen and (max-width: 767px) {
    .quiz-column-main .summary {
        padding-top: 40px
    }
}

.quiz-column-main .summary.hide .summary__head .heading {
    clip-path: inset(0 100% 0 0);
    overflow: hidden;
}

.quiz-column-main .summary .summary__head .heading {
    animation: mask-anim-opening1 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes mask-anim-opening1 {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    50% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0% 0 0);
    }
}

.quiz-column-main .summary__head .heading img {
    width: 100%;
    height: auto;
}

.quiz-column-main .summary__main {
    position: relative;
    margin-top: 48px;
    padding: 0 min(80px, 7.27vw) 35px min(170px, 15.45vw);
}

@media (max-width: 899px) {
    .quiz-column-main .summary__main {
        padding: 0 0 12vw 0;
    }
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .summary__main {
        margin-top: 20px;
        padding-bottom: 59px;
    }
}

.quiz-column-main .summary__main:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: clamp(101px, 17.27vw, 190px);
    height: auto;
    aspect-ratio: 1/0.96;
    background: no-repeat url(../img/summary_character1.webp) center center/cover;
    z-index: 10;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.quiz-column-main .summary.hide .summary__main:before {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-10px) scale(1.02) rotate(4deg);
}

@media (max-width: 899px) {
    .quiz-column-main .summary__main:before {
        aspect-ratio: 1/0.88;
        background: no-repeat url(../img/summary_character1_mb.webp) center center/cover;
    }
}
@media only screen and (max-width: 767px) {
    .quiz-column-main .summary__main:before {
        width: 101px;
    }
}

.quiz-column-main .summary__main:after {
    content: "";
    position: absolute;
    top: -31px;
    right: 0;
    width: clamp(84px, 11vw, 129px);
    height: auto;
    aspect-ratio: 1/0.85;
    background: no-repeat url(../img/summary_character2.webp) center center/cover;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s 0.7s cubic-bezier(0.33, 1, 0.68, 1);
    animation: kakukaku 1.2s steps(2, end) forwards;
}


.quiz-column-main .summary.hide .summary__main:after {
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px) scale(1.02) rotate(-6deg);
}


@media (max-width: 899px) {
    .quiz-column-main .summary__main:after {
        width: clamp(84px, 14vw, 129px);
        top: auto;
        bottom: 0;
        aspect-ratio: 1/0.96;
        background: no-repeat url(../img/summary_character2_mb.webp) center center/cover;
    }
}
@media only screen and (max-width: 767px) {
    .quiz-column-main .summary__main:after {
        width: 84px;
    }
}

.quiz-column-main .summary__main .description {
    position: relative;
    padding: 15px 21px 14px 28px;
    font-size: 15px;
    letter-spacing: 0em;
    line-height: 1.5;
    background-color: #4AC8FF;
    transform: skewX(-7deg);
    border-radius: 3px;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.quiz-column-main .summary.hide .summary__main .description {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px) skewX(-7deg);
}

@media (max-width: 899px) {
    .quiz-column-main .summary__main .description {
        margin: 0 8px;
        padding-bottom: 32px;
        transform: skewX(4deg);
    }
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .summary__main .description {
        padding: 19px 24px 32px 24px;
        font-size: 14px;
    }
}

.quiz-column-main .summary__main .description:before {
    content: "";
    position: absolute;
    top: 35px;
    left: -12px;
    width: 14px;
    height: 7px;
    background: no-repeat url(../img/summary_fukidashi.svg) center center/cover;
}

@media (max-width: 899px) {
    .quiz-column-main .summary__main .description:before {
        top: auto;
        bottom: -11px;
        left: max(101px, 15.5vw);
        width: 18px;
        height: 11px;
        background: no-repeat url(../img/summary_fukidashi_mb.svg) center center/cover;
    }
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .summary__main .description:before {
        left: 82px;
    }
}

.quiz-column-main .summary__main .description .text {
    display: block;
    transform: skewX(7deg);
}

@media (max-width: 899px) {
    .quiz-column-main .summary__main .description .text{
        transform: skewX(-4deg);
    }
}

.quiz-column-main .summary__main .description strong {
    color: #fff;
}


/* ------------------------------------------------ */
/* ------------------------------------------------ */
/*  howto
/* ------------------------------------------------ */
/* ------------------------------------------------ */
.quiz-column-main .howto {
    position: relative;
    padding: 50px 18px 57px 18px;
    background-color: #FFE100;
    border-radius: 20px;
    border: 3px solid #333333;
    box-shadow: 0px 10px 0px #E73828;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .howto {
        padding: 29px 12px 29px 12px;
        font-size: 14px;
    }
}

.quiz-column-main .howto:before {
    content: "";
    position: absolute;
    bottom: -42px;
    left: calc(50% - 30px);
    width: 61px;
    height: 32px;
    aspect-ratio: 1/0.119;
    background: no-repeat url(../img/howto_shadow_fukidashi.svg) center center/cover;
}

.quiz-column-main .howto:after {
    content: "";
    position: absolute;
    bottom: -32px;
    left: calc(50% - 30px);
    width: 61px;
    height: 32px;
    aspect-ratio: 1/0.119;
    background: no-repeat url(../img/howto_fukidashi.svg) center center/cover;
}

.quiz-column-main .howto__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 19px 0;
    text-align: center;
    background: no-repeat url(../img/howto_bg.webp) center bottom/contain;
}
@media only screen and (max-width: 1029px) {
    .quiz-column-main .howto__head {
        background: none;
    }
}

.quiz-column-main .howto__head .description {
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0em;
    line-height: 1.5;
}

.quiz-column-main .howto__head .description strong {
    display: inline-block;
    margin: 3px 0 1px 0;
    padding: 3px 0 1px 0;
    font-size: 1.3em;
    color: #E73828;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .howto__head .description strong {
        margin: 10px 0;
        font-size: 1.125em;
    }
}

.quiz-column-main .howto__main {
    margin-top: 38px;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .howto__main {
        margin-top: 32px;
    }
}

.quiz-column-main .howto__main .heading {
    position: relative;
    margin: 0 8px 0 8px;
    padding: 3px 0 3px 60px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0em;
    line-height: 1.5;
    color: #fff;
    background-color: #E73828;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .howto__main .heading {
        margin-left: 20px;
        padding: 9px 0 9px 60px;
        font-size: 14px;
        line-height: 1.4;
    }
}

.quiz-column-main .howto__main .heading:before {
    content: "";
    position: absolute;
    top: -35px;
    left: -20px;
    width: 88px;
    height: 90px;
    background: no-repeat url(../img/howto_heading_deco.webp) center center/cover;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .howto__main .heading:before {
        top: -18px;
        left: -20px;
    }
}

.quiz-column-main .howto__main .heading:after {
    content: "";
    position: absolute;
    top: 0;
    right: -7px;
    width: 8px;
    height: 100%;
    background: no-repeat url(../img/howto_heading_ribbon.webp) center right/100% 100%;
}

.quiz-column-main .howto__main .company_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .howto__main .company_list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        margin-top: 27px;
    }
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .howto__main .company_list li img {
        width: 100%;
        height: auto;
    }
}




/* ------------------------------------------------ */
/* ------------------------------------------------ */
/*  quiz
/* ------------------------------------------------ */
/* ------------------------------------------------ */
.quiz-column-main .quiz {
    margin-top: 28px;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .quiz {
        margin-top: 45px;
    }
}

.quiz-column-main .quiz__head .message {
    overflow: hidden;
}
@media only screen and (max-width: 767px) {
    .quiz-column-main .quiz__head .message {
        margin: 0 -15px
    }
}

.quiz-column-main .quiz__head .message img {
    width: 100%;
    height: auto;
}

.quiz-column-main .quiz__main {
    margin-top: 24px;
}
@media only screen and (max-width: 767px) {
    .quiz-column-main .quiz__main {
        margin-top: 7px;
    }
}

.quiz-column-main .quiz__main .quiz_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media only screen and (max-width: 949px) {
    .quiz-column-main .quiz__main .quiz_list {
        max-width: 400px;
        margin-inline: auto;
        grid-template-columns: repeat(1, 1fr);
    }
}

.quiz-column-main .quiz__main .quiz_list > li {
    position: relative;
    cursor: pointer;
    perspective: 2000px;
    /* transition: 0.2s transform cubic-bezier(0.33, 1, 0.68, 1); */
    will-change: transform;
}

@media (hover:hover) {
    .quiz-column-main .quiz__main .quiz_list > li:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

.quiz-column-main .quiz__main .quiz_list > li > div {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px;
    backface-visibility: hidden;
    transition: transform .4s cubic-bezier(0.33, 1, 0.68, 1);
    will-change: transform;
}

.quiz-column-main .quiz__main .quiz_list .question {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    width: 100%;
    height: 100%;
    border: 3px solid #140504;
}

.quiz-column-main .quiz__main .quiz_list > li.showAnswer .question {
    transform: rotateY(180deg);
}

.quiz-column-main .quiz__main .quiz_list .question .text {
    position: relative;
    background-color: #140504;
}

.quiz-column-main .quiz__main .quiz_list .question .text:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: calc(50% - 11px);
    width: 22px;
    height: 12px;
    background: no-repeat url(../img/quiz_question_fukidashi.svg) center center/cover;
}

.quiz-column-main .quiz__main .quiz_list .question .text img {
    margin-top: -8px;
    width: 100%;
    height: auto;
}

.quiz-column-main .quiz__main .quiz_list .question .photo {
    height: 100%;
    overflow: hidden;
}

.quiz-column-main .quiz__main .quiz_list .question .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 9px 9px;
}

.quiz-column-main .quiz__main .quiz_list .answer {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 3px solid #E73529;
    background-color: #fff;
    transform: rotateY(-180deg);
}

.quiz-column-main .quiz__main .quiz_list > li.showAnswer .answer {
    transform: rotateY(0);
}

.quiz-column-main .quiz__main .quiz_list .answer:before {
    content: "";
    position: absolute;
    top: -36px;
    left: 6px;
    width: 42px;
    height: 102px;
    background: no-repeat url(../img/quiz_answer_heading.svg) center center/cover;
}

.quiz-column-main .quiz__main .quiz_list .answer .name {
    padding: 4px 0 5px 42px;
    text-align: center;
    font-weight: bold;
    font-size: min(23px, 2vw);
    letter-spacing: 0em;
    line-height: 1.5;
    color: #fff;
    background-color: #E73529;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .quiz__main .quiz_list .answer .name {
        font-size: 21px;
    }
}

.quiz-column-main .quiz__main .quiz_list .answer .num {
    margin: 13px 0 3px;
    padding-inline: 18px;
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    letter-spacing: -0.05em;
    line-height: 1.5;
    color: #00B3E6;
}
@media only screen and (max-width: 767px) {
    .quiz-column-main .quiz__main .quiz_list .answer .num {
        font-size: 16px;
    }
}

.quiz-column-main .quiz__main .quiz_list .answer .description {
    margin: 3px 0 11px 0;
    padding-inline: 18px;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0em;
    line-height: 1.5;
}

.quiz-column-main .quiz__main .quiz_list .answer .caption {
    position: absolute;
    bottom: 7px;
    left: 13px;
    font-weight: bold;
    font-size: 10px;
    letter-spacing: 0em;
    line-height: 1.5;
    color: #878787;
}

.quiz-column-main .quiz__main .quiz_list .answer .link {
    margin: auto 0 0 0;
    padding: 0 8px 7px 0;
    text-align: right;
}

.quiz-column-main .quiz__main .quiz_list .answer .link a {
    position: relative;
    display: inline-block;
    padding: 4px 38px 4px 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0em;
    line-height: 1.5;
    color: #fff;
    background-color: #00B3E6;
    border-radius: 60px;
    transition: 0.1s transform cubic-bezier(0.33, 1, 0.68, 1);
    will-change: transform;
}
@media (hover:hover) {
    .quiz-column-main .quiz__main .quiz_list .answer .link a:hover {
        opacity: 1;
        transform: scale(0.97);
    }
}

.quiz-column-main .quiz__main .quiz_list .answer .link a:after {
    content: "";
    position: absolute;
    top: 6px;
    right: 9px;
    width: 15px;
    height: 15px;
    background: no-repeat url(../img/arrow1.svg) center center/cover;
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .quiz__foot {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .quiz-column-main .quiz__foot .message {
        margin: 0 -15px;
    }
}

.quiz-column-main .quiz__foot .message img {
    width: 100%;
    height: auto;
}