:root {
    --theme-color: green;
    --theme-color-pink: #ff7366;
    --theme-color-gray: #a2a2a2;
    --theme-color-dark-gray: #808080;
    --theme-color-black: #000000;
    --theme-color-white: #FFFFFF;
    --theme-color-light-pink: #ffebdb;
}

@font-face {
    font-family: SourceHanSerifCN;
    src: url("/fonts/SourceHanSerifCN-Bold-2.otf");
}

@font-face {
    font-family: SOURCEHANSANSTWHK-LIGHT;
    src: url("/fonts/SOURCEHANSANSTWHK-LIGHT.OTF");
}

@font-face {
    font-family: SOURCEHANSANSTWHK-BOLD;
    src: url("/fonts/SOURCEHANSANSTWHK-BOLD.OTF");
}

@font-face {
    font-family: SOURCEHANSANSTWHK-HEAVY;
    src: url("/fonts/SOURCEHANSANSTWHK-HEAVY.OTF");
}

@font-face {
    font-family: customFont; /* 自定义字体的名称 */
    src: url("/fonts/NotoSansCJKtc-Light.otf"); /* 字体文件的路径 */
}

html, body {
    height: 100%;
    overflow: auto;
    font-family: customFont !important;
}

.text-align-center {
    text-align: center;
}

.inline-block {
    display: inline-block;
}

.width-30 {
    width: 30%;
}

.width-70 {
    width: 70%;
}

.footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    /*height: 40px;*/
    /*background-color: #e3e1d8;*/
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #000000;
}

/*.footer div{*/
/*    text-align: center;*/
/*    color: #FFFFFF;*/
/*    font-size: 18px;*/
/*    padding-top: 16px;*/
/*}*/

.flex-row-center {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.index-bg {
    background-image: url(/img/bg_home.jpg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.index-main {
    padding-left: 150px;
    margin-bottom: 130px;
}

.index-logos {
    justify-content: flex-start;
}

.index-logos img {
    margin: 15px 45px 15px 0px;
}

.index-slogan {
    color: #000000;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0px;
}

.index-check {
    margin-top: 15px;
}

.index-check-btn {
    background-color: #483f38;
    padding: 10px 20px;
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 26px;
}

.index-check-btn div {
    letter-spacing: 10px;
}

.index-big-title {
    letter-spacing: 3px;
    margin-top: 60px;
}

.index-check img{
    position: relative;left: -8px;
}

.question-bg {
    background-image: url(/img/bg_question.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.question-container {
    width: 95%;
    margin-top: 90px;
}

.option-default {
    justify-content: flex-start;
    background-color: #FFFFFF;
    /*padding: 15px 5px 15px 20px;*/
    /*border-radius: 12px;*/
    margin: 7px;
    color: #808080;

    border: 1.5px solid black;
    border-radius: 50px;
    /* height: 0px; */
    padding: 1px;
}

.option-default-height{
    height: 50px;
}

.option-default img {
    margin-right: 20px;
}

.option-default label {
    /*width: 80%;*/
    width: 100%;
    height: 100%;
    font-size: 20px;
}

.option-checked {
    /*background-color: #ffebdb;*/
    color: black;
}

.option-checked img {
    content: url('/img/ico_radio_1.png');
}

.question-btn-group {
    margin-top: 115px;
}

.question-btn {
    font-size: 22px;
    height: 60px;
    width: 250px;
    border-radius: 12px;
}

.question-btn-last i {
    font-size: 24px;
    margin-right: 15px;
}

.question-btn-last {
    color: var(--theme-color-dark-gray);
    background-color: #e3e3d8;
}

.question-btn-next, .question-btn-complete {
    /*background-color: var(--theme-color-pink);*/
    width: 100px;
}

.question-btn-next i, .question-btn-complete i {
    font-size: 24px;
    margin-left: 15px;
}

.row-singular {
    width: 400px;
}

.row-dual {
    width: 800px;
}

.report-container {
    min-height: 650px;
    padding-bottom: 100px;
}

.radar-item {
    padding: 0 120px;
}

.radar-item-left {
    padding-right: 50px;
}

.radar-item-right {
    padding-left: 50px;
}

.radar {
    width: 100%;
    height: 400px;
}

.radar-title {
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: var(--theme-color-pink);
    color: #FFFFFF;
    text-align: center;
    font-size: 22px;
}

.report-item {
    margin-top: 30px;
    margin-bottom: 50px;
    color: var(--theme-color-dark-gray);
}

.report-item span {
    color: var(--theme-color-pink);
    font-weight: bold;
}

.scalp-result-products, hairline-result-products {
    transition: 0.5s;
}


.report-item-product {
    border: 1px solid var(--theme-color-gray);
    color: var(--theme-color-gray);
    padding-bottom: 20px;
    margin: 0 10px;
    transition: 0.5s;
}

.report-item-product img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    transition: 0.5s;
}

.scalp-result-products :hover, .hairline-result-products :hover {
    transform: scale(1.1);
    font-weight: bold;
}

.report-item-product div {
    text-align: center;
}

.book-item {
    margin: 30px 138px;
    font-size: 18px;
    text-align: justify;
}

.book-item span {
    color: var(--theme-color-pink);
}

.book-info-frame {
    border: 1.5px solid black;
    width: 500px;
    padding: 5px 0;
    margin: 10px;
    border-radius: 20px;
    background-color: white;
    font-size: 16px;
}

.book-info-title {
    width: 24%;
    text-align: left;
}

.book-info-value {
    width: 75%;
}

/*.book-info-frame input{*/
/*    text-align: left;*/
/*}.book-info-frame input{*/
/*    text-align: left;*/
/*}*/

.book-info-sex-default {
    /*color: var(--theme-color-gray);*/
    width: 40%;
    /*background-color: var(--theme-color-white);*/
    padding: 5px 0;
    src:url("/public/img/ico_brand_0.png");
}
.book-info-sex-default img{
    width: 20px;
    position: relative;
    bottom: 2px;
}

.book-info-sex-selected {
    /*color: var(--theme-color-black);*/
    /*background-color: var(--theme-color-light-pink);*/
}
.book-info-sex-selected img{
    src:url("/img/ico_brand_1.png");
}

.complete-products {
    width: 330px;
}

.underline {
    border-bottom: 1px solid var(--theme-color-black);
    color: var(--theme-color-black) !important;
}

/* 筆記本 */
@media screen and (max-width: 1450px) {
    .index-slogan {
        font-size: 19px;
    }
}

/* 筆記本 */
@media screen and (max-width: 1280px) {
    .index-slogan {
        font-size: 16px;
        margin: 18px 0px;
    }
}

.nx-message-icon{
    width: 30px!important;
    height: 30px!important;
}
#NotiflixNotifyWrap{
    width: 200px!important;
}

.text-center{
    text-align: center;
}



/*手機版*/
@media screen and (max-width: 768px) {
    .index-bg {
        background-image: url(/img/bg_home_mobile.jpg);
        background-position: 50% 100%;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .index-main {
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: 130px;
        position: absolute;
        top: 20px;
    }

    .index-slogan {
        color: var(--theme-color-black);
        text-align: left;
        font-size: 12px;
        font-weight: bold;
        margin: 10px 0px;
    }

    .index-check {
        margin-top: 25px;
    }

    .index-check img {
        width: 100px;
        position: relative;left: -3px;
    }

    .index-check-btn {
        font-size: 14px;
    }

    .index-check-btn div {
        letter-spacing: 5px;
    }

    .index-logos img {
        margin: 15px 10px 15px 20px;
    }

    .index-big-title {
        letter-spacing: 3px;
    }

    .row-singular, .row-dual {
        width: 100%;
    }

    .option-default {
        margin: 20px 0px;
    }

    .option-default-height{
        height: auto;
    }

    .option-default label {
        /*width: auto;*/
        width: 100%;
        font-size: 18px;
    }

    .option-default img {
        width: 30px;
        /*margin: 5px 20px 5px 0px;*/
    }

    .question-container {
        width: 100%;
        margin-top: 10px;
    }

    .option-default {
        /*padding: 8px 20px;*/
    }

    .question-btn-group {
        margin-top: -10px;
        margin-bottom: 30px;
    }

    .question-btn {
        font-size: 14px;
        height: 45px;
        width: 140px;
        border-radius: 12px;
        padding: 0;
    }

    .report-container {
        padding: 0px 10px 100px 10px;
    }

    .radar-item {
        padding: 0;
    }

    .radar-item-left {
        padding-right: 0px;
    }

    .radar-item-right {
        padding-left: 0px;
    }

    .radar-title {
        font-size: 16px;
    }

    .radar {
        height: 300px;
    }

    .report-item-product {
        margin: 0 1%;
        width: 30%;
    }

    .report-item-product img {
        width: 100%;
        height: auto;
        margin-bottom: 0px;
    }

    .book-item {
        margin: 20px 8px;
        font-size: 14px;
    }

    .book-info-frame {
        width: 80%;
    }

    .book-info-title {
        width: 30%;
    }

    .book-info-value {
        width: 60%;
    }

    .book-info-sex-default {
        width: 48%;
    }

    .book-info-agreement {
        width: 100%;
    }

    .question-btn-last i, .question-btn-next i, .question-btn-complete i {
        font-size: 14px;
    }

    .complete-products {
        width: 200px;
    }
}


