@charset "UTF-8";

@keyframes micromodal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes micromodal-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes micromodal-in {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}
@keyframes micromodal-out {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

html{
    height: -webkit-fill-available;
}
body{
    min-height: 100vh;
    min-height: -webkit-fill-available;
}
.question-modal-group {
    display: none;
}
.question-modal-group * {
    color: #000;
}
.question-modal-group.is-open {
    display: block;
}
/* .question-modal-group[aria-hidden="false"] .question-modal-outer {
    animation: micromodal-fade-in .25s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.question-modal-group[aria-hidden="false"] .question-modal {
    animation: micromodal-in .25s cubic-bezier(0.0, 0.0, 0.2, 1);
} */
.question-modal-outer,
.question-modal {
    will-change: transform;
}
.question-modal-outer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000000;
}
@media screen and (max-width: 767px) {
    .question-modal-outer {
        padding: 16px 0 32px;
    }
}
.question-modal {
    background-color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    position: relative;
}
@media screen and (max-width: 767px) {
    .question-modal {
        max-width: calc(100vw - 32px);
        width: 100%;
        height: calc(100% - 100px);
    }
}
.question-modal-inner {
    height: 521px;
    width: 843px;
}
.question-modal.is-answer .question-modal-inner{
    height: 100%;
}
@media screen and (max-width: 767px) {
    body.is-noscroll {
        overflow: hidden !important;
    }
    .question-modal-inner {
        width: 100%;
        height: 100%;
    }
}
.question-group {
    width: 100%;
    height: 100%;
}
/*
 question-modal
*/
.question-content {
    background-color: transparent;
    min-width: 0px;
    height: 100%;
}
@media screen and (max-width: 767px) {
    .question-content {
        /* height: calc(100vh - 103px); */
        border-radius: 5px;
        background-color: #fff;
        overflow: auto;
        height: 100%;
        border-radius: 5px;
    }
}
.question-box {
    height: 100%;
    width: 100%;
    position: relative;
    background-color: #fff;
    margin-right: auto;
    margin-left: auto;
    border-radius: 5px;
    border-radius: 4px;
    overflow: hidden;
}
@media screen and (max-width: 767px) {
    .question-box {
        width: 100%;
        position: relative;
        height: 100%;
        min-height: 400px;
        margin-right: auto;
        margin-left: auto;
        /* display: flex;
        align-items: center;
        justify-content: center; */
    }
}
.question-box.is-answer {
    /* height: 620px; */
}
@media screen and (max-width: 767px) {
    .question-box.is-answer {
        height: 100%;
        border-radius: 5px;
        overflow: hidden;
    }   
}
.question {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 0;
    top: 0;
    padding: 40px 68px;
    /* padding-left: 68px;
    padding-right: 68px; */
    box-sizing: border-box;
    /*transition: opacity 0.5s ease;*/
    overflow-y: auto;
}
@media screen and (max-width: 767px) {
    .question {
        padding-left: 36px;
        padding-right: 36px;
    }
}
.question.is-hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}
.question-wrap {
    background-color: transparent;
    min-width: 0px;
}
.question-num {
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.11em;
    text-align: center;
    color: #838383;
    font-family: "TT Commons", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
}
.question-description {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0.12em;
    line-height: 29px;
    text-align: center;
    color: #555;
    margin-top: 12px;
}
@media screen and (max-width: 767px) {
    .question-description {
        margin-top: 6px;
    }
}
.question-list {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    margin-top: 34px;
}
@media screen and (max-width: 767px) {
    .question-list {
        flex-direction: column;
        gap: 12px;
        margin-top: 32px;
    }
}
.question-list:not([data-list-count]) > li,
.question-list[data-list-count="1"] > li {
    width: 100%;
    max-width: 240px;
}
.question-list[data-list-count="2"] > li {
    width: calc(100% / 2);
}
.question-list[data-list-count="3"] > li {
    width: calc(100% / 3);
}
.question-list[data-list-count="4"] > li {
    width: calc(100% / 4);
}
@media screen and (max-width: 767px) {
    .question-list[data-list-count] > li {
        width: 100%;
        min-height: 60px;
    }
}
.question-item {
    list-style: none;
}
.question-choice {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 110px;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 21px;
    text-align: center;
    color: #555;
    text-decoration: none;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
   /*transition: border 0.3s ease, color 0.3s ease, background-color 0.3s ease;*/
}
.question-choice:hover {
    opacity: 1;
    color: #fff;
    background-color: #AAA;
    border-color: #AAA;
}
@media screen and (max-width: 767px) {
    .question-choice {
        height: 100%;
        font-size: 16px;
    }
}
.question-btn-close {
    height: 36px;
    width: 36px;
    position: absolute;
    right: -41px;
    top: -31px;
    cursor: pointer;
}
@media screen and (max-width: 767px) {
    .question-btn-close {
        right: -4px;
        top: -41px;
    }
}
.question-btn-close::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform-origin: center;
    transform: rotate(-45deg);
}
.question-btn-close::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform-origin: center;
    transform: rotate(45deg);
}
.question-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    /*opacity: 0;*/
    pointer-events: none;
    z-index: -1;
    /*transition: opacity 0.5s ease, z-index 0.3s ease-in-out;*/
}
.question-overlay.is-question-modal-open {
    display: flex;
    pointer-events: all;
    /*opacity: 1;*/
    z-index: 1000001;
}
.question-step-box {
    position: absolute;
    width: 100%;
    height: 47px;
    bottom: -47px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    pointer-events: none;
}
@media screen and (max-width: 767px) {
    .question-step-box {
        pointer-events: none;
        width: calc((100% - 15px * 2));
    }
}
.question-step-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
}
.question-step-dot.is-step-current {
    opacity: 1;
}
/* 回答エリア */
.question.is-answer {
    padding: 0;
    align-items: initial;
    justify-content: flex-start;
}
.question-recommend-header {
    background: rgba(204, 204, 204, 0.4);
    text-align: center;
    line-height: 1;
    padding: 16px 40px 18px;
}
@media screen and (max-width: 767px) {
    .question-recommend-header {
        padding: 16px 40px;
    }   
}
.question-recommend-title {
    font-size: 22px;
    color: #000;
    line-height: 1;
    text-align: center;
}
@media screen and (max-width: 767px) {
    .question-recommend-title {
        font-size: 24px;
    }
}
.question-recommend-body {
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 255px;
}
@media screen and (max-width: 767px) {
    .question-recommend-body {
        padding: 30px 30px;
        min-height: auto;
    }
}
.question-recommend-body > *:first-child {
    margin-top: 0;
}
.question-media {
    grid-template-areas: "b a""b c";
    display: grid;
}
@media screen and (max-width: 767px) {
    .question-media {
        display: block;
        text-align: center;
    }
}
.question-media-image {
    margin-right: 45px;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    min-width: 154px;
}
@media screen and (max-width: 767px) {
    .question-media-image {
        margin-right: 0;
    }
}
.question-media-image-inner {
    min-width: 96px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.question-media-image-inner > img {
    max-width: 65px;
}
@media screen and (max-width: 767px) {
    .question-media-image-inner > img {
        max-width: 100px;
    }
}
.question-media-image-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.286;
    text-align: center;
    font-weight: 600;
}
@media screen and (max-width: 767px) {
    .question-media-image-desc {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.286;
        text-align: center;
        font-weight: 600;
    }   
}
.question-media-column > *:first-child {
    margin-top: 0;
}
.question-media-column.question-media-column--image {
    grid-area: b;
    display: flex;
    align-items: center;
}
@media screen and (max-width: 767px) {
    .question-media-column.question-media-column--image {
        display: block;
        margin-top: 24px;
    }   
}
.question-media-column.question-media-column--heading {
    grid-area: a;
    display: flex;
    align-items: flex-end;
}
@media screen and (max-width: 767px) {
    .question-media-column.question-media-column--heading {
        display: block;
    }
}
.question-media-column.question-media-column--text {
    grid-area: c;
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}
@media screen and (max-width: 767px) {
    .question-media-column.question-media-column--text {
        display: block;
    }
}
.question-media-body > *:first-child {
    margin-top: 0;
}
.question-recommend-text {
    font-size: 18px;
    color: #000;
    text-align: left;
}
@media screen and (max-width: 767px) {
    .question-recommend-text {
        text-align: center;
    }
}
.question-check-list {
    margin-top: 20px;
}
.question-check-list > li:first-child {
    margin-top: 0;
}
.question-check-list > li {
    margin-top: 6px;
    font-size: 14px;
    /* line-height: 1.857; */
    padding-left: 24px;
    position: relative;
    text-align: left;
}
.question-check-list > li::before {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 2px;
    width: 12px;
    height: 12px;
    background-image: url(../img/icon-check.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
}
.question-recommend + .question-skincare {
    flex: 1;
}
.question-skincare-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}
@media screen and (max-width: 767px) {
    .question-skincare-inner {
        display: block;
    }
}
.question-skincare-header {
    text-align: center;
    background: rgba(204, 204, 204, 0.4);
    text-align: center;
    line-height: 1;
    padding: 12px 40px 8px;
}
.question-skincare-title {
    font-size: 18px;
    font-weight: 500;
    font-family: "TTCommons-Regular", sans-serif;
}
.question-skincare-body {
    padding: 18px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media screen and (max-width: 767px) {
    .question-skincare-body {
        padding: 30px 30px;
        display: block;
    }
}
.question-skincare-body > *:first-child {
    margin-top: 0;
}
.question-skincare-text {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}
.question-skincare-list-outer {
    margin-top: 24px;
}
.question-skincare-list-outer > *:first-child {
    margin-top: 0;
}
@media screen and (max-width: 767px) {
    .question-skincare-list-outer {
        margin-top: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }   
}
.question-skincare-list {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}
@media screen and (max-width: 767px) {
    .question-skincare-list {
        display: block;
        max-width: 320px;
        width: 100%;
    }
}
.question-skincare-list > li {
    min-width: 140px;
    margin-left: 19px;
}
@media screen and (max-width: 767px) {
    .question-skincare-list > li {
        margin-left: 0;
        margin-top: 18px;
    }
    .question-skincare-list > li:first-child {
        margin-top: 0;
    }
}
.question-skincare-list > li:first-child {
    margin-left: 0;
}
.question-icon-step {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
}
.question-icon-step > img {
    width: 40px;
}

@media screen and (max-width: 767px) {
    .question-skincare-link {
        padding-left: 0;
    }
}
.question-skincare-link-text {
    font-size: 14px;
    text-align: center;
    position: relative;
}
@media screen and (max-width: 767px) {
    .question-skincare-link-text {
        flex: 1;
        text-align: left;
    }   
}
.question-skincare-link {
    position: relative;
    padding-left: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}
.question-skincare-link-text::after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    right: -8px;
}
@media screen and (max-width: 767px) {
    .question-skincare-link {
        display: flex;
        align-items: center;
        padding-left: 0;
        min-height: 144px;
        padding-left: 50px;
        flex-direction: row;
        gap: 24px;
    }
    .question-skincare-link-text::after {
        right: 2px;
    }
}
.question-skincare-link-image {
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 120px;
}
@media screen and (max-width: 767px) {
    .question-skincare-link-image {
        align-items: center;
        min-width: 66px;
        min-height: auto;
    }
}
.question-skincare-link-image > img {
    max-width: 47px;
}
@media screen and (max-width: 767px) {
    .question-skincare-link-image > img {
        max-width: 62px;
    }   
}
.question-skincare-link-text {
    line-height: 1.25;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 767px) {
    .question-skincare-link-text {
        justify-content: flex-start;
    }   
}