:root {
    --primary-color: #DD848D;
    --text-color: #3f3f3f;
    --gary-color: #999;
}

h2{
    color: #EAADBD;
    margin: 20px 0;
}

ul{
    list-style-type:none;
    list-style: none;
    padding-left: 0;
}

a{
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

a:hover{
    color: var(--primary-color);
}

.jh-container{
    max-width: 1080px;
}

.jh-bg-gray{
    background-color: #f8f3ef;
}

.jh-color-gray{
    color: var(--gary-color);
}

.footer-bg-color{
    background: #e6e1dd;
}

.main{
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    background-image: url(../images/pinkdaily/sp背景.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.main .dec{
    position: absolute;
    z-index: 1;
}

.main .dec_1{
    bottom: 0;
    right: 0;
    width: 200px;
}

.main .dec_2{
    top: 5vh;
    right: 0;
    width: 120px;
}

.main .dec_3{
    bottom: 0;
    left: -40px;
    z-index: 3;
    width: 200px;
}

.main .dec_4{
    top: 0;
    left: 0;
    z-index: 2;
    width: 150px;
}

/* 左樹 */
.main .dec_5{
    top: 0;
    left: -50px;
    height: 60vh;
    width: auto;
}

/* 字體 */
.main .dec_6{
    top: 22vh;
    right: 10vw;
    width: 180px;
}

.main .dec_7{
    bottom: 36vh;
    left: 3vw;
    z-index: 3;
    width: 40vw;
}

.main .dec_8{
    bottom: 20vh;
    left: -10vw;
    right: 0;
    z-index: 2;
    width: 110vw;
}

.main .dec_9{
    right: 0;
    left: 0;
}

.button{
    color: #fff;
    font-size: 26px;
    text-align: center;
    line-height: 60px;
    position: absolute;
    width: 280px;
    height: 70px;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 5vh;

    background: #FFC4B7;
    border: 4px solid #FFFFFF;
    box-sizing: border-box;
    box-shadow: 2px 2px 4px rgba(66, 89, 0, 0.6);
    border-radius: 50px;
    z-index: 4;
}

.sidebar{
    width: 100%;
    background-image: url(../images/pinkdaily/圓點bg.png);
    background-position: center;
    background-repeat: repeat;
}

.sidebar img{
    width: 100%;
    box-shadow: 0px 2px 4px rgb(0 0 0 / 18%);
}

.header{
    position: fixed;
    top: 0;
    right: 0;
    background-color: #EAADBD;
    width: 100%;
    text-align: center;
    font-weight: 100;
    color: #fff;
    height: 50px;
    line-height: 50px;
}

.scroll-arrow{
    position: absolute;
    top: 95vh;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.scroll-arrow .arrow{
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid #3f3f3f;
    border-right: 2px solid #3f3f3f;
    transform: rotate(45deg);
    animation: animate 2s infinite;
}

@keyframes animate {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-5px,-5px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(5px,5px);
    }
}


@media screen and (min-width: 767px) {
    .main{
        width: 100%;
        height: 100vh;
        width: calc(100% - 375px);
        overflow: hidden;
        position: fixed;
        background-image: url(../images/pinkdaily/pc背景.jpg);
    }

    .main .dec_1{
        width: auto;
    }
    
    .main .dec_2{
        top: 0;
    }
    
    .main .dec_3{
        width: auto;
    }
    
    .main .dec_4{
        width: auto;
    }

    .main .dec_5{
        left: 0;
        height: 86vh;
    }

    /* 字體 */
    .main .dec_6{
        top: 5vh;
        right: 16vw;
        width: 240px;
    }

    .main .dec_7{
        bottom: 33vh;
        left: 20vw;
        width: 180px;
    }

    .main .dec_8{
        bottom: 5vh;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 50vw;
    }

    .main .dec_9{
        right: 0;
        left: 0;
    }
    
    .sidebar{
        width: 375px;
        position: relative;
        right: 0;
        left: calc( 100% - 375px);
    }

    .header{
        width: 375px;
    }

    .scroll-arrow{
        display: flex;
    }
}