/* 202103 */

.shop01-template-05v2 {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 130px 0;
    font-family: 'Lexend Deca', 'Microsoft JhengHei', sans-serif;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.shop01-template-05v2 .container_box {
    width: 85%;
    position: relative;
    margin: 0 auto;
    padding-bottom: 0;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    height: 1000px;
}

.shop01-template-05v2 .link_box {
    position: absolute;
    width: 66%;
    height: 57%;
    left: 0;
    top: 0;
    color: white;
    overflow: hidden;
}

.shop01-template-05v2 .link_box:nth-child(2) {
    width: 32%;
    height: 44%;
    left: auto;
    right: 0;
    color: black;
}

.shop01-template-05v2 .link_box:nth-child(3) {
    top: auto;
    bottom: 0;
    height: 40%;
}

.shop01-template-05v2 .link_box:nth-child(4) {
    top: auto;
    bottom: 0;
    height: 53%;
    right: 0;
    left: auto;
    width: 32%;
    color: black;
}

.shop01-template-05v2 .link_box:nth-child(1) .text_box {
    position: absolute;
    z-index: 3;
    left: 52%;
    width: 42%;
    top: 13%;
}

.shop01-template-05v2 .link_box:nth-child(2) .text_box {
    display: flex;
    width: 76%;
    left: 12%;
    top: 10%;
    justify-content: space-between;
    font-size: 24px;
    font-weight: bold;
}

.shop01-template-05v2 .link_box:nth-child(3) .text_box {
    position: absolute;
    width: 40%;
    color: #2d2d2d;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.shop01-template-05v2 .link_box:nth-child(4) .text_box {
    display: flex;
    width: 76%;
    left: 12%;
    top: 10%;
    justify-content: space-between;
    font-size: 24px;
    font-weight: bold;
}

.shop01-template-05v2 .link_box:nth-child(1) .text_box .name,
.shop01-template-05v2 .link_box:nth-child(3) .text_box .name {
    font-size: calc(60/1920*100vw);
    line-height: calc(60/1920*100vw);
}

.shop01-template-05v2 .link_box:nth-child(1) .text_box .sub_name,
.shop01-template-05v2 .link_box:nth-child(3) .text_box .sub_name {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    display: block;
    margin-top: 2.60416vw;
}

.shop01-template-05v2 .link_box .imgs {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform: scale(1);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all .6s ease;
}

.shop01-template-05v2 .link_box .text_box {
    position: relative;
    align-items: baseline;
}


/* 202103 */

.shop01-template-05v2 .link_box .text_box .name {
    position: relative;
    width: 65%;
}

.shop01-template-05v2 .link_box:nth-child(odd) .text_box .name {
    width: 100%;
}

.shop01-template-05v2 .link_box .text_box .sub_name {
    position: relative;
    font-size: 18px;
}

.shop01-template-05v2 .link_box .text_box .more {
    position: absolute;
    right: 0;
    font-size: 18px;
    line-height: 40px;
}

.shop01-template-05v2 .link_box .text_box .sub_name::after {
    content: '';
    background-color: #ff0f17;
    position: absolute;
    top: 30px;
    left: 0;
    width: 38px;
    height: 3px;
    transition: all .3s ease;
}

.shop01-template-05v2 .link_box:hover .text_box .sub_name::after {
    width: 100%;
}

.shop01-template-05v2 .link_box:nth-child(odd) .text_box .sub_name::after {
    display: none;
}

@media (min-width:1200px) {
    .shop01-template-05v2 .link_box:hover .imgs {
        transform: scale(1.1);
    }
    .shop01-template-05v2 .link_box:hover .text_box .more::after {
        width: 100%;
    }
}

@media (max-width:1200px) {
    .shop01-template-05v2 .link_box:nth-child(1) .text_box .name,
    .shop01-template-05v2 .link_box:nth-child(3) .text_box .name {
        font-size: 40px;
        line-height: 40px;
    }
    .shop01-template-05v2 .link_box:nth-child(1) .text_box .sub_name,
    .shop01-template-05v2 .link_box:nth-child(3) .text_box .sub_name {
        font-size: 18px;
        margin-top: 35px;
    }
    .shop01-template-05v2 .container_box {
        height: 63vw;
    }
    .shop01-template-05v2 .link_box:nth-child(2) .text_box,
    .shop01-template-05v2 .link_box:nth-child(4) .text_box {
        font-size: 20px;
        width: 100%;
        display: block;
        left: 0;
        padding-left: 30px;
        padding-right: 30px;
    }
    .shop01-template-05v2 .link_box .text_box .name {
        width: 100%;
    }
    .shop01-template-05v2 .link_box .text_box .more,
    .shop01-template-05v2 .link_box:nth-child(4) .text_box .more {
        position: relative;
        font-size: 14px;
        line-height: 32px;
    }
    .shop01-template-05v2 .link_box .text_box .more::after,
    .shop01-template-05v2 .link_box:nth-child(4) .text_box .more::after {
        content: '';
        width: 23px;
        height: 2px;
        transition: all .3s ease;
    }
}

@media (max-width:1000px) {
    .shop01-template-05v2 {
        padding: 65px 0;
    }
    .shop01-template-05v2 .container_box {
        height: 75vw;
    }
    .shop01-template-05v2 .link_box:nth-child(3) .text_box {
        width: 70%;
    }
    .shop01-template-05v2 .link_box:nth-child(1) .text_box .name,
    .shop01-template-05v2 .link_box:nth-child(3) .text_box .name {
        font-size: 30px;
        line-height: 32px;
    }
    .shop01-template-05v2 .link_box:nth-child(1) .text_box .sub_name,
    .shop01-template-05v2 .link_box:nth-child(3) .text_box .sub_name {
        font-size: 16px;
        margin-top: 14px;
    }
}

@media (max-width:600px) {
    .shop01-template-05v2 .container_box {
        height: auto;
        display: block;
    }
    .shop01-template-05v2 .link_box,
    .shop01-template-05v2 .link_box:nth-child(2),
    .shop01-template-05v2 .link_box:nth-child(3),
    .shop01-template-05v2 .link_box:nth-child(4) {
        position: relative;
        width: 100%;
        /* height: 60vw; */
        display: block;
        margin-bottom: 18px;
    }
    .shop01-template-05v2 .link_box:nth-child(1) .text_box .name,
    .shop01-template-05v2 .link_box:nth-child(3) .text_box .name {
        font-size: 24px;
        line-height: 28px;
        max-width: 150px;
        display: block;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .shop01-template-05v2 .link_box:nth-child(1) .text_box .sub_name,
    .shop01-template-05v2 .link_box:nth-child(3) .text_box .sub_name {
        font-size: 14px;
        margin-top: 10px;
        display: block;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .shop01-template-05v2 .link_box:nth-child(3) .text_box {
        width: 70%;
        position: relative;
        transform: none;
        top: auto;
        padding-top: 30px;
        left: 30px;
    }
    .shop01-template-05v2 .link_box:nth-child(1) .text_box {
        /* left: 30px; */
        top: 30px;
    }


    /*20221221*/
    .shop01-template-05v2 .link_box:nth-child(1)::before {
        display: block;
        content: "";
        padding-bottom: 61.62%;
    }
    .shop01-template-05v2 .link_box:nth-child(2)::before {
        display: block;
        content: "";
        padding-bottom: 97.78%;
    }
    .shop01-template-05v2 .link_box:nth-child(3)::before {
        display: block;
        content: "";
        padding-bottom: 43.24%;
    }
    .shop01-template-05v2 .link_box:nth-child(4)::before {
        display: block;
        content: "";
        padding-bottom: 117.78%;
    }
    .shop01-template-05v2 .link_box img {
        z-index: -1;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .shop01-template-05v2 .link_box:nth-child(2) .text_box,
    .shop01-template-05v2 .link_box:nth-child(3) .text_box,
    .shop01-template-05v2 .link_box:nth-child(4) .text_box
    {
        position: absolute;
        top: 30px;
        left: 7.5%;
        width: 85%;
        padding: 0;
    }
    .shop01-template-05v2 .link_box:nth-child(1) .text_box{
        width: 45%;
        top: 25px;
        left: 50%;
    }
    .shop01-template-05v2 .link_box:nth-child(3) .text_box{
        width: 45%;
        top: 25px;
        left: 7.5%;
        padding: 0;
    }
}