/*************************************************************

診断コンテンツ　共通設定

*************************************************************/
:root {
    --font-size-22: 22px;
    --font-size-24: 24px;
    --font-size-28: 28px;
    --font-size-24-16: clamp(16px, 1.78px + 4.44vw, 24px);
    --font-size-20-16: clamp(16px, 8.89px + 2.22vw, 20px);
    --font-size-20-12: clamp(12px, -2.224px + 4.44vw, 20px);
    --font-size-20-10: clamp(10px, 3.3vw, 20px);
    --font-size-28-20: clamp(20px, 5.78px + 4.44vw, 28px);

    --font-tsukushi: fot-tsukubrdgothic-std, sans-serif;

    --bt-color: #ffe9db;
}

.shindan-main {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
}

.shindan-main img {
    max-width: 100%;
    height: auto;
    width: auto;
}

.question {
    font-family: var(--font-tsukushi);
    font-size: var(--font-size-24-16);
    text-align: center;
    line-height: 1.33;
    font-weight: 700;
}

.answer-bt a {
    display: block;
    display: flex;
    justify-content: center;
    font-family: var(--font-tsukushi);
    font-size: var(--font-size-20-16);
    font-weight: 700;
    background: var(--bt-color);
    padding: 10px 15px 10px calc(15px + 1.4em);
    text-indent: -1.4em;
    border-radius: 50px;
}

/*************************************************************

診断トップ

*************************************************************/
#shindan-top {
    background: url(/assets/img/shindan/shindan-top-bg.jpg) no-repeat center top;
    background-size: cover;
    padding: 22px;
}

@media screen and (max-width: 1024px) {
    #shindan-top {
        background: url(/assets/img/shindan/shindan-top-bg.jpg) no-repeat center top;
        background-size: cover;
    }
}

#shindan-top .head-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#shindan-top .head-image > div {
    flex: 0 1 calc(100% / 2 - 40px);
    max-width: 210px;
}

#shindan-top .shindan-content {
    background: #fff;
    border-radius: 17px 17px 0 0;
    padding: 140px clamp(1.875rem, -3.681rem + 27.78vw, 5rem) 55px;
}

#shindan-top .shindan-content .logo {
    text-align: center;
    margin-bottom: 70px;
}

@media screen and (max-width: 499px) {
    #shindan-top .shindan-content .logo img {
        max-width: 150px;
    }
}

#shindan-top .shindan-content .question {
    margin-bottom: 80px;
}

#shindan-top .shindan-content .answer-bt a {
    font-size: var(--font-size-28-20);
    max-width: 300px;
    margin: auto;
}

#shindan-top .bottom-image {
    position: relative;
    z-index: 10;
    margin: -1px -22px -22px;
}

/*************************************************************

質問ページ共通

*************************************************************/
.question-page {
    padding: 25px 20px 0;
}
.question-page .logo {
    text-align: center;
    max-width: 113px;
    margin: auto;
    margin-bottom: 60px;
}

@media screen and (max-width: 499px) {
    .question-page .logo {
        text-align: center;
        max-width: 113px;
        margin: auto;
        margin-bottom: 30px;
    }
}

.question-page .question-image {
    text-align: center;
    margin: 0 auto 15px;
    max-width: 300px;
}

@media screen and (max-width: 499px) and (max-height: 680px) {
    .question-page .question-image {
        max-width: 200px;
    }
}

.question-page .question {
    line-height: 1.6;
    margin-bottom: 35px;
}

.question-page .question p {
    font-size: var(--font-size-24-16);
}

.question-page .question h3 {
    margin-bottom: 12px;
}

.question-page .answer-bt {
    max-width: 420px;
    margin: 0 auto 25px;
}

.question-page .answer-bt li {
    margin-bottom: 18px;
}

.question-page .answer-bt li:last-child {
    margin-bottom: 0;
}

.question-page .back-bt button {
    appearance: none;
    background: none;
    border: none;
    text-align: center;
    width: 100%;
    padding: 0;
    font-family: var(--font-tsukushi);
    font-size: 20px;
    font-weight: 700;
    color: #534e4c;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.question-page .back-bt button:hover {
    opacity: 0.8;
}

.question-page .back-bt button::before {
    content: "";
    background: url(/assets/img/shindan/back-bt-arrow.svg) no-repeat left center;
    background-size: contain;
    display: block;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    margin-right: 10px;
}

/*************************************************************

質問ページ Q1

*************************************************************/
#shindan-q1 {
    background: url(/assets/img/shindan/q-head-bg-01.jpg) no-repeat left top;
    background-size: contain;
}

/*************************************************************

質問ページ Q2

*************************************************************/
#shindan-q2 {
    background: url(/assets/img/shindan/q-head-bg-02.jpg) no-repeat left top;
    background-size: contain;
}

/*************************************************************

質問ページ Q3

*************************************************************/
#shindan-q3-1 {
    background: url(/assets/img/shindan/q-head-bg-03.jpg) no-repeat left top;
    background-size: contain;
}

#shindan-q3-2 {
    background: url(/assets/img/shindan/q-head-bg-03.jpg) no-repeat left top;
    background-size: contain;
}

#shindan-q3-3 {
    background: url(/assets/img/shindan/q-head-bg-03.jpg) no-repeat left top;
    background-size: contain;
}

/*************************************************************

質問ページ Q4

*************************************************************/
#shindan-q4-1 {
    background: url(/assets/img/shindan/q-head-bg-02.jpg) no-repeat left top;
    background-size: contain;
}

#shindan-q4-2 {
    background: url(/assets/img/shindan/q-head-bg-01.jpg) no-repeat left top;
    background-size: contain;
}

#shindan-q4-3 {
    background: url(/assets/img/shindan/q-head-bg-01.jpg) no-repeat left top;
    background-size: contain;
}

/*************************************************************

質問結果ページ 共通

*************************************************************/
.result-page {
    padding: 25px 40px 0;
}

.result-page .logo {
    text-align: center;
    max-width: 113px;
    margin: auto;
    margin-bottom: 60px;
}

.result-page .result-image {
    text-align: center;
    margin: 0 auto 15px;
    max-width: 300px;
}

/*----------------------------
商品情報
サブタイトル「あなたにぴったりの・・・」
----------------------------*/
.result-page .result-product-info .sub-title {
    text-align: center;
    font-family: var(--font-tsukushi);
    font-weight: 700;
    font-size: var(--font-size-24-16);
    position: relative;
    text-align: center;
    background: url(/assets/img/shindan/result-subtitle-bg-flag.jpg) no-repeat center top;
    background-size: contain;
    padding: 6.7% 0;
    margin: 0 -40px;
}

@media screen and (max-width: 1024px) and (min-width: 501px) {
    .result-page .result-product-info .sub-title {
        padding: 7% 0;
        font-size: 4.5vw;
    }
}

/*----------------------------
商品情報
商品画像
----------------------------*/
.result-page .result-product-info .product-image {
    position: relative;
    margin-bottom: 20px;
}

.result-page .result-product-info .product-image > div {
    max-width: 212px;
    margin: auto;
}

.result-page .result-product-info .product-image .deco-image1 {
    position: absolute;
    transform: translate(-50%, -50%);
}

.result-page .result-product-info .product-image .deco-image2 {
    position: absolute;
    transform: translate(0, -50%);
}

/*----------------------------
商品情報
商品名
----------------------------*/
.result-page .result-product-info .product-name h3 {
    margin-bottom: 20px;
}

.result-page .result-product-info .product-name h3 {
    text-align: center;
    font-size: var(--font-size-24-16);
    font-weight: 400;
}

@media screen and (max-width: 1024px) and (min-width: 501px) {
    .result-page .result-product-info .product-name h3 {
        font-size: 4.5vw;
    }
}

.result-page .result-product-info .product-name h3 span {
    display: inline-block;
    border: solid 1px #534e4c;
    padding: 2px;
    font-size: 12px;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    line-height: 1;
}

@media screen and (max-width: 499px) {
    .result-page .result-product-info .product-name h3 span {
        margin-top: 3px;
    }
}

/*----------------------------
商品情報
ボタンエリア
----------------------------*/
.result-page .result-product-info .detail-and-buy-bt {
    margin-bottom: 30px;
}

.result-page .result-product-info .detail-and-buy-bt li {
    margin-bottom: 18px;
}

.result-page .result-product-info .detail-and-buy-bt li:last-child {
    margin-bottom: 0;
}

.result-page .result-product-info .detail-and-buy-bt a {
    display: block;
    text-align: center;
    padding: 15px;
    font-family: var(--font-tsukushi);
    font-size: var(--font-size-20-16);
    font-weight: 700;
    border-radius: 50px;
}

@media screen and (max-width: 1024px) and (min-width: 501px) {
    .result-page .result-product-info .detail-and-buy-bt a {
        font-size: 4vw;
    }
}

.result-page .result-product-info .detail-and-buy-bt .detail-bt a {
    background: #fff;
    border: solid 1px #534e4c;
    line-height: 1.3;
}

.result-page .result-product-info .detail-and-buy-bt .buy-bt a {
    background: var(--bt-color);
    line-height: 1.4;
}

/*----------------------------
商品情報
商品説明テキストエリア
----------------------------*/
.result-page .result-product-info .detail-text > p {
    margin-bottom: 50px;
    letter-spacing: 0.06em;
}

@media screen and (max-width: 1024px) and (min-width: 501px) {
    .result-page .result-product-info .detail-text > p {
        letter-spacing: 0.03em;
    }
}

.result-page .result-product-info .detail-text p span {
    vertical-align: super;
    font-size: 50%;
}

.result-page .result-product-info .detail-text .m-small {
    margin-bottom: 30px;
}

/*----------------------------
商品情報
Xシェアボタン
----------------------------*/
.result-page .result-product-info .x-share-bt {
    margin-bottom: 50px;
}

.result-page .result-product-info .x-share-bt a {
    background: #f69090;
    color: #fff;
    font-family: var(--font-tsukushi);
    font-size: var(--font-size-20-16);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 13px 15px;
    font-weight: 700;
}

.result-page .result-product-info .x-share-bt a img {
    margin-right: 5px;
}

/*----------------------------
他のラインナップ
タイトル
----------------------------*/
.result-page .result-more-lineup .title {
    margin-bottom: 40px;
}

.result-page .result-more-lineup .title h3 {
    text-align: center;
    font-weight: 700;
    font-family: var(--font-tsukushi);
    font-size: var(--font-size-24-16);
}

@media screen and (max-width: 1024px) and (min-width: 501px) {
    .result-page .result-more-lineup .title h3 {
        font-size: 4.5vw;
    }
}

/*----------------------------
他のラインナップ
商品レイアウト
----------------------------*/
.result-page .result-more-lineup .more-item {
    margin-bottom: 50px;
}

.result-page .result-more-lineup .more-item:last-child {
    margin-bottom: 25px;
}

/*-----
他のラインナップ
商品画像
-----*/
.result-page .result-more-lineup .more-item .image-and-name {
    margin-bottom: 35px;
}

.result-page .result-more-lineup .more-item .image-and-name ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.result-page .result-more-lineup .more-item .image-and-name ul li {
    margin: 0;
}

.result-page .result-more-lineup .more-item .image-and-name ul .image {
    flex: 0 1 132px;
    text-align: center;
}

@media screen and (max-width: 499px) {
    /*
    .result-page .result-more-lineup .more-item .image-and-name ul .image {
        flex: 0 1 100%;
    }

    .result-page .result-more-lineup .more-item .image-and-name ul .image img {
        max-width: 50%;
    }
         */

    .result-page .result-more-lineup .more-item .image-and-name ul .image {
        flex: 0 1 35%;
    }
}

.result-page .result-more-lineup .more-item .image-and-name ul .name {
    flex: 0 1 calc(100% - 152px);
    text-align: center;
    /* 
    font-size: var(--font-size-20-16);
    */
    letter-spacing: 0;
}

@media screen and (max-width: 599px) {
    .result-page .result-more-lineup .more-item .image-and-name ul .name {
        font-size: 3.5vw;
    }
}

@media screen and (max-width: 499px) {
    /* 
    .result-page .result-more-lineup .more-item .image-and-name ul .name {
        flex: 0 1 100%;
    }
        */
    .result-page .result-more-lineup .more-item .image-and-name ul .name {
        flex: 0 1 calc(65% - 20px);
        font-size: var(--font-size-20-10);
    }
}

.result-page .result-more-lineup .more-item .image-and-name ul .name span {
    display: inline-block;
    border: solid 1px #534e4c;
    padding: 2px;
    font-size: 12px;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    line-height: 1;
}

@media screen and (max-width: 499px) {
    .result-page .result-more-lineup .more-item .image-and-name ul .name span {
        margin-top: 3px;
    }
}

/*-----
他のラインナップ
テキストエリア
-----*/
.result-page .result-more-lineup .detail-text {
    margin-bottom: 30px;
}

.result-page .result-more-lineup .detail-text p span {
    vertical-align: super;
    font-size: 50%;
}

/*-----
他のラインナップ
ボタンエリア
-----*/
.result-page .result-more-lineup .detail-and-buy-bt ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.result-page .result-more-lineup .detail-and-buy-bt ul li {
    flex: 0 1 calc(100% / 2 - 10px);
}

@media screen and (max-width: 499px) {
    /* 
    .result-page .result-more-lineup .detail-and-buy-bt ul li {
        flex: 0 1 100%;
        margin-bottom: 20px;
    }

    .result-page .result-more-lineup .detail-and-buy-bt ul li:last-child {
        margin-bottom: 0;
    }
        */
}

.result-page .result-more-lineup .detail-and-buy-bt a {
    display: block;
    text-align: center;
    padding: 15px;
    font-family: var(--font-tsukushi);
    font-size: var(--font-size-20-16);
    font-weight: 700;
    border-radius: 50px;
    line-height: 1.3em;
}

@media screen and (max-width: 1024px) and (min-width: 501px) {
    .result-page .result-more-lineup .detail-and-buy-bt a {
        font-size: 4vw;
    }
}

@media screen and (max-width: 499px) {
    .result-page .result-more-lineup .detail-and-buy-bt a {
        font-size: 3.1vw;
    }
}

.result-page .result-more-lineup .detail-and-buy-bt .detail-bt a {
    background: #fff;
    border: solid 1px #534e4c;
}

.result-page .result-more-lineup .detail-and-buy-bt .buy-bt a {
    background: var(--bt-color);
}

/*----------------------------
診断結果
戻るボタン
----------------------------*/
.result-page .back-bt {
    margin-bottom: 26px;
}

.result-page .back-bt a {
    display: block;
    background: none;
    border: none;
    text-align: center;
    width: 100%;
    padding: 0;
    font-family: var(--font-tsukushi);
    font-size: 20px;
    font-weight: 700;
    color: #534e4c;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.result-page .back-bt a:hover {
    opacity: 0.8;
}

.result-page .back-bt a::before {
    content: "";
    background: url(/assets/img/shindan/back-bt-arrow.svg) no-repeat left center;
    background-size: contain;
    display: block;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    margin-right: 10px;
}

/*----------------------------
フッターイメージ
----------------------------*/
.result-page .result-footer-image {
    margin: 0 -40px;
}

/*************************************************************

質問結果ページ スムース

*************************************************************/
#result-1-smooth {
    background: url(/assets/img/shindan/result-head-bg-smooth.jpg) no-repeat left top;
    background-size: contain;
}

/*----------------------------
商品画像の装飾位置
----------------------------*/
#result-1-smooth.result-page .result-product-info .product-image .deco-image1 {
    max-width: 65px;
    top: 50%;
    left: 10%;
}

@media screen and (max-width: 399px) {
    #result-1-smooth.result-page .result-product-info .product-image .deco-image1 {
        left: 3%;
    }
}

#result-1-smooth.result-page .result-product-info .product-image .deco-image2 {
    max-width: 40px;
    top: 95%;
    right: 10%;
}

@media screen and (max-width: 399px) {
    #result-1-smooth.result-page .result-product-info .product-image .deco-image2 {
        right: 0%;
    }
}

/*************************************************************

質問結果ページ クリアブラック

*************************************************************/
#result-2-black {
    background: url(/assets/img/shindan/result-head-bg-black.jpg) no-repeat left top;
    background-size: contain;
}

/*----------------------------
商品画像の装飾位置
----------------------------*/
#result-2-black.result-page .result-product-info .product-image .deco-image1 {
    max-width: 50px;
    top: 50%;
    left: 10%;
}

@media screen and (max-width: 399px) {
    #result-2-black.result-page .result-product-info .product-image .deco-image1 {
        left: 1%;
    }
}

#result-2-black.result-page .result-product-info .product-image .deco-image2 {
    max-width: 51px;
    top: 95%;
    right: 10%;
}

@media screen and (max-width: 399px) {
    #result-2-black.result-page .result-product-info .product-image .deco-image2 {
        right: -7%;
    }
}

/*************************************************************

質問結果ページ アクネクリア

*************************************************************/
#result-3-acne {
    background: url(/assets/img/shindan/result-head-bg-acne.jpg) no-repeat left top;
    background-size: contain;
}

/*----------------------------
商品画像の装飾位置
----------------------------*/
#result-3-acne.result-page .result-product-info .product-image .deco-image1 {
    max-width: 55px;
    top: 50%;
    left: 10%;
}

@media screen and (max-width: 399px) {
    #result-3-acne.result-page .result-product-info .product-image .deco-image1 {
        left: 0%;
    }
}

#result-3-acne.result-page .result-product-info .product-image .deco-image2 {
    max-width: 80px;
    top: 95%;
    right: 4%;
}

@media screen and (max-width: 399px) {
    #result-3-acne.result-page .result-product-info .product-image .deco-image2 {
        right: -10%;
    }
}

/*************************************************************

footer下部固定
診断ページのみ変更

*************************************************************/
.l-center {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1024px) {
    .l-center {
        position: static;
        transform: none;
    }
}

.l-main {
    flex: 1;
}
