﻿.index-about-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}
.index-about-all-box{
    width: 1920px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
}
.index-about-info-box{
    width: 100%;
    height: 100%;
}
.index-about-info-img-box{
    width: 50%;
    height: 25vw;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}
.index-about-info-img{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-about-info-text-box{
    width: 50%;
    height: 25vw;
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    vertical-align: top;
    box-sizing: border-box;
    padding: 0 135px;
}
.index-about-info-title{
    font-size: 16px;
    font-family: "Noto Sans TC";
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}
.index-about-info-text{
    font-size: 16px;
    font-family: "Noto Sans TC";
    color: #555;
    line-height: 2;
    letter-spacing: 0.06em;
}
.index-about-info-box:nth-child(even){
    display: flex;
    display: -webkit-flex;
    flex-direction:row-reverse;
}
.index-about-follow-box{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 40px 0;
}
.index-about-follow-title{
    font-size: 40px;
    font-family: "Roboto";
    font-weight: 700;
    letter-spacing: 0.1em;
}
.index-about-follow-btn{
    display: inline-grid;
    vertical-align: middle;
    font-size: 30px;
    margin-left: 20px;
    color:#fff;
    /* transition: all .3s linear; */
}

.index-about-img-box{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 70px;
}

.index-about-img{
    position: relative;
    padding-top: 7%;
    max-width: 300px;
    width: 100%;
}
.index-about-img img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
}

.index-about-img:nth-child(2){
    margin-left: 20px;
    margin-right: 20px;
}

.index-about-btn{
    font-size: 16px;
    color: white;
    margin-left: 12px;
}

.girdwholesale{
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wholesalebox{
    position: relative;
}

@media only screen and (max-width: 1280px){
    .index-about-info-text-box{
        padding: 0 70px;
    }
    .index-about-info-title,
    .index-about-info-text{
        font-size: 14px;
    }
}
@media only screen and (max-width: 1000px){
    .index-about-all-box{
        width: 750px;
        padding: 40px 20px;
    }
    .index-about-info-text-box{
        padding: 35px;
        width: 100%;
        height: initial;
        display: block;
    }
    .index-about-info-img-box{
        width: 100%;
        height: calc(100vw * 0.5);
    }
    .index-about-info-box:nth-child(even){
        display: block;
    }
    .index-about-img{
        position: relative;
        padding-top: 10%;
        max-width: 300px;
        width: 100%;
    }
    .girdwholesale{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media only screen and (max-width: 750px){
    .index-about-all-box{
        width: 550px;
    }
    .girdwholesale{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media only screen and (max-width: 550px){
    .index-about-all-box{
        padding: 20px 0;
    }
    .index-about-info-text-box{
        padding: 15px;
    }
    .index-about-info-title,
    .index-about-info-text{
        font-size: 12px;
    }
    .index-about-follow-box{
        padding: 40px 0;
    }
    .index-about-follow-title{
        font-size: 20px;
    }
    .index-about-follow-btn{
        font-size: 30px;
        margin: 0 20px;
        transition: all .3s linear;
    }
    .index-about-img-box{
        display: flex;
        flex-direction: column;
        margin-top: 15px;
        align-items: center;
    }
    .index-about-img{
        position: relative;
        padding-top: 30%;
        width: 100%;
    }
    .index-about-img:nth-child(2){
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .girdwholesale{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.girdwholesale{
    display: grid;
    gap: 1.75rem;
    margin-top: 50px;
}

.maxwidth1280{
    max-width:1280px;
    margin:0 auto;
    margin-top: 80px;
}
.maxwidth1280text{
    max-width: 900px;
    margin:0 auto;
    text-align: justify;
}
.maxwidth1920px5{
    padding: 0 20px;
}
.textflexcenter{
    display: flex;
    justify-content: center;
}
.index-about-info-text.textflexcenter{
    font-size: 36px;
}
.fleximg{
    display: flex;
    margin-top: 50px;
}
.imgrelative{
    position: relative;
    width: 50%;
    padding-top: 37.5%;
}
.fleximgwidth{
    position: absolute;
    top: 0;
    left: 0;
    width: 98%;
    height: 100%;
    object-fit: cover;
}
.fleximgwidthright{
    position: absolute;
    top: 0;
    left: 0;
    width: 98%;
    height: 100%;
    object-fit: cover;
}
.flexalink{
    display: flex;
    justify-content: center;
}
.alink{
    display: block;
    padding:8px 12px;
    border: 2px solid #555;
    width: fit-content;
    margin-top: 40px;
}
.alink:hover{
    background-color: #a62a32;
    transition:all .3s linear;
    color: white;
    border-color: transparent;
}

.wholesaleimgbox{
    position: relative;
    padding-top: 100%;
}

.wholesaleimg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wholesaleword{
    position: absolute;
    bottom: 8px;
    left: 0;
    padding: 0 12px;
    font-size: 24px;
    color: black;
    animation-duration: 500ms;
}

.maxwidth1280px5{
    padding:0 20px;
}

.hoverwhite{
    background-color: rgba(255, 255, 255, .85);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.plusicon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.plusicon > svg{
    width: 40px;
    height: 40px;
    opacity: 0;
    color: #1f5038;
    transition: all .3s ease-in-out;
}
/*------hover------*/
.index-about-follow-btn-fb:hover{
    color: #4267b2;
}
.index-about-follow-btn-ig:hover{
    color: #c30093;
}

.index-about-follow-btn-line:hover{
    color: #1fc32e;
}

.wholesalebox:hover > .hoverwhite{
    opacity: 0.4;
}

.wholesalebox:hover > .plusicon >svg{
    opacity: 1;
}
/*animation*/

@media only screen and (min-width: 1001px){
    .index-about-info-img-box,
    .index-about-info-text-box{
        opacity: 0;
    }
    .index-about-info-box:nth-child(odd) .index-about-info-img-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .index-about-info-box:nth-child(odd) .index-about-info-text-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-about-info-box:nth-child(even) .index-about-info-img-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-about-info-box:nth-child(even) .index-about-info-text-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
}
