
/*----螢幕寬度小於1300px時----*/
/*--------------------------*/
@media screen and (max-width: 1300px){
    .btnTop-Wrap{right: 52px;}
}


/*----螢幕寬度小於於1211px時----*/
/*---------------------------*/
@media screen and (max-width: 1211px){
    /*年金險*/
    .s1-content > div > p{min-height: 64px;}

}
/*----螢幕寬度小於於1110px時----*/
/*---------------------------*/
@media screen and (max-width: 1110px){
    /*koi*/
    .deco-koi1, .deco-koi2{right: 0;}
    .deco-dorumaTiger{right: 0;}

    .insure-bonus > div > .bonus-tag{width: 50%;}

}


/*----螢幕寬度小於於1100px時----*/
/*---------------------------*/
@media screen and (max-width: 1100px){
    /*燈籠*/
    .theme-sky > div > span{width: 16%;}
    .theme-sky > div > span:nth-of-type(1){display: none;}
    .theme-sky > div > span:nth-of-type(4){display: none;}
    .theme-sky > div > span:nth-of-type(5){display: none;}

    .s4-part1 > .insure-bonus > div > .bonus-tag{
        left: 0;
        width: 30%;}
}
        
/*----螢幕寬度小於於980px時----*/
/*---------------------------*/
@media screen and (max-width: 980px){
    /*年金險*/
    .s1-content{flex-direction: column;}
    .s1-content > div >.insure-bonus{
        justify-content: center;}
    .insure-bonus > div{
        margin: 40px 10px;
        width: 100%;}

}

/*----螢幕寬度小於於940px時----*/
/*---------------------------*/
@media screen and (max-width: 940px){
    /*store*/
    .theme-store {width: 100%;}
    .theme-store > div > img {width: 100%;}
    .deco-koi1{top: -180px;}
    .deco-koi2{top: -240px;}
    .deco-doruma{
        width: 22.64%;
        left: 2%;}

    .deco-dorumaTiger{
        width: 22.64%;
        right: 2%;}

    .deco-dorumaTiger::after{width: 100%;}
    .deco-24h{width: 16.05%;}
    .deco-bush1{width: 40%;}
    .deco-cat{width: 20%;}
    .theme-sky > div > span:nth-of-type(7){margin-right: 120px;}
}


/*----螢幕寬度小於於990px時----*/
/*---------------------------*/
@media screen and (max-width: 990px){
    .theme-moutain{
        background-size: 170%;
        background-position: top;
    }

    /*壽險*/
    .insure-bonus > div > .bonus-prize.p4-1{ 
        text-align: right;
        width: 100%;}
    .insure-bonus > div > .bonus-prize.p4-1 > img{
        max-width: 183px;
        width: 50%;}
}


/*----螢幕寬度小於於888px時----*/
/*---------------------------*/
@media screen and (max-width: 888px){
    .s2-content > div > .insure-bonus > div,
    .s3-part1 .insure-bonus > div,
    .s4-part1 .insure-bonus > div{padding-bottom: 40px;}
    .insure-bonus .note{}
}


/*----螢幕寬度小於於870px時----*/
/*---------------------------*/
@media screen and (max-width: 870px){
    .s2-content > div > .insure-bonus{display: inline-block;}
}



/*----螢幕寬度小於於850px時----*/
/*---------------------------*/
@media screen and (max-width: 850px){
    .theme{height: 600px;}
    .theme-title1,
    .theme-title2{
        width: 70%;
        background-size: contain;}

    .s2-part1{flex-direction: column;}
    .bonusDate > span{
        width: 100%;
        height: initial;
        display: block;}

    .s2-part1 > div > p{margin: 20px 0 0;}
    /*基富通*/
    .s4-part1 > .insure-bonus > div{margin-right: 30px;}
    .insure-bonus > div > .bonus-prize.p5{
        right: -43px;
        width: 27%;}
    .insure-bonus > div > .bonus-prize.p5 > img{width: 100%;}
    .s4-content > div > div > .act-wrap{padding-right: initial;}

}


/*----螢幕寬度小於於820px時----*/
/*---------------------------*/
@media screen and (max-width: 820px){
    .s4-part1 { flex-direction: column;}
    .insure-bonus > div > .bonus-prize.p5{
        top: -40px;
        right: 32px;
        width: 12%;
        transform: rotate(20deg);}

    .s4-part1 > .insure-bonus > div{padding-right: 100px;}
    .s4-part1 > .insure-bonus > div.fr2{padding-right: 10px;}
}

/*----螢幕寬度小於於770px時----*/
/*---------------------------*/
@media screen and (max-width: 770px){
    /*年金險*/
    .s1-content > div >.insure-bonus{flex-direction: initial;}
    .insure-bonus > div{
        margin: 20px 10px;
        width: initial;}    
}


/*----螢幕寬度小於於730px時----*/
/*---------------------------*/
@media screen and (max-width: 730px){
    .s3-part1{ flex-direction: column; }
}


/*----螢幕寬度小於於680px時----*/
/*---------------------------*/
@media screen and (max-width: 680px){
    .insure-bonus > div > .bonus-prize.p5 {
        top: 50%;
        right: 32px;
        width: 20%;
        transform: translateY(-50%);
    }
}


/*----螢幕寬度小於於630px時----*/
/*---------------------------*/
@media screen and (max-width: 630px){
    .theme-store{width: 100%;}
    .theme-title1,
    .theme-title2{
        width: 80%;
        background-size: contain;}

    .theme-tag1,
    .theme-tag2{
        display: block;
        width: 100%;
        margin: 0 auto;
        background-size: 60%;
        top: 15px;}

    .deco-tree1 {
        width: 65%;
        left: -100px;}

    .deco-tree1 > img{width: 100%;}

}


/*----螢幕寬度小於於600px時----*/
/*---------------------------*/
@media screen and (max-width: 600px){
    /*燈籠*/
    .theme-sky > div > span{width: 16%;}
    .deco-koi1{width: 22%;}
    .deco-koi2{width: 20%;}
    .theme-sky > div > span:nth-of-type(7){
        margin-right: initial;
        top: 0;}
    .deco-flags{background-position: top left ;}

    /*footer*/
    footer {text-align: left;}
    footer .announce{text-align: left;}

    /*s1-s4標題*/
    .section-title{width: 100%;}
    .section-title > img {width: 70%;}

    .deco-s1-flower,
    .deco-s2-flower,
    .deco-s3-flower,
    .deco-s4-flower{width: 8%;}

    /*旅平險*/
    .s2-content > div{ padding: 30px 0;}
    /*基富通專區*/
    .s4-part1 > div:nth-of-type(2){padding: 10px 0;}
    .s4-part1 > .insure-bonus > div > .bonus-tag {top: -50px;}
    .insure-bonus > div > .bonus-prize.p7{
        top: -90px;
        right: 0;
        width: 50%;}

    .insure-bonus > div > .bonus-prize.p7 > img{
        max-width: 164px;
        width: 100%;}
    /*-- 選單 --*/
    .navi-warp{       
        position: fixed;
        right: initial;
        top: initial;
        transform: initial;
        background: #ff2b2b;
        width: 100%;
        height: auto;
        bottom: 0;
        left: 0;
        z-index: 1;}

    .navi-warp ul {margin: 0 auto;}
    .navi-warp ul li{border: 1px #fff solid;}
    .navi-warp ul li:hover{background: #971616;}

    /*footer*/
    footer{margin-bottom: 60px;}

    /*錨點--*/
    #section2{top: -150px;}
    #section3{top: -140px;}
    #section4{top: -140px;}    
}


/*----螢幕寬度小於於550px時----*/
/*--------------------------*/
@media screen and (max-width: 550px){
    .theme-title1,
    .theme-title2{
        width: 100%;
        background-size: contain;}
    /*便利店-電腦版隱藏*/
    .theme-store > div > img:nth-of-type(1){display: none;}        
    .theme-store > div > img:nth-of-type(2){display: inline-block;}        
    /*store*/
    .theme-store > div > img{
        width: 150%;
        left: 45%;
        transform: translateX(-30%);}
    .theme-store::before,
    .theme-store::after{width: 8%;}

    /*年金險*/
    .s1-content > div >.insure-bonus{
        justify-content: center;
        flex-direction: column;}

    .insure-bonus > div{
        margin: 40px auto;
        width: 100%;}    

    .s4-part1 > .insure-bonus > div{
        padding-right: 35px;
        margin-right: 10px;}

    .s4-part1 > .insure-bonus > div.fr2{
        padding-right: 10px;
        margin-right: 0;}

    .insure-bonus > div > .bonus-prize.p5{
        width: 30%;
        right: -40px;}

    .insure-bonus > div > .bonus-content > span:nth-of-type(1){font-size: 18px;}
    .insure-bonus > div > .bonus-content > span{font-size: 20px;}
    .insure-bonus > div > .bonus-content > span:nth-of-type(3) > span{font-size: 28px;}

    /*廣告*/

    .banner > div > a{
        width: 100%;
        max-width: 507px;}

    .banner > div > a > img{width: 100%;}

}



/*----螢幕寬度小於於500px時----*/
/*--------------------------*/
@media (max-width: 500px){
    .theme {height: 585px;}
    .deco-tree2{width: 90%;}
    .deco-tree2 > img{width: 80%;}
    .subtitle{width: 100%;}
    .subtitle img{width: 90%;}

    /*年金險*/
    .s1-content > div > p{
        margin: 20px 0;
        text-align: left;}

    .insure-bonus > div > .bonus-prize.p2-2{
        width: 60%;
        top: 10px;
        right: 5%;
        left: initial;
        transform: initial;}

    .insure-bonus > div > .bonus-prize.p2-2 img{
        width: 100%;
        max-width: 192px;}

    /*旅平險*/
    .ta-bonusContent p:nth-of-type(2),
    .ta-bonusContent p:nth-of-type(3){font-size: 16px;}

    .s2-part1 > div{padding: 10px 0;}
    .ta-bonusContent{padding: 10px;}
    .bonusDate{padding: 10px;}
    .bonusDate::before{
        left: 0;
        top: -20px;
        width: 30%;}
    .bonusDate::after{width: 40%;}
    .banner-wrap .banner div > h2{font-size: 18px;}
    /*壽險*/
    .insure-bonus > div > .bonus-prize.p4-1{top: -90px;}

    .rules-title > img{width: 40%;}
    .rules-title span::before{
        width: 10%;
        background-size: contain;}

    /*錨點--*/
    #section1{top: -190px;}
    #section3{top: -140px;}
    #section4{top: -140px;}      
}


/*----螢幕寬度小於於470px時----*/
/*--------------------------*/
@media (max-width: 470px){
    .theme{height: 540px;}
    .deco-koi2{top: -220px;}
    .insure-title{width: 100%;}
    .insure-title img{width: 90%;}
    .s3-part1 .insure-title img{width: 100%;}

}


/*----螢幕寬度小於於444px時----*/
/*--------------------------*/
@media (max-width: 444px){
    .navi-warp ul li{font-size: 14px;}
    .navi-warp ul li span{
        font-size: 14px;
        line-height: 20px;
        display: block;}
    /*footer*/
    footer{margin-bottom: 70px;}

}


/*----螢幕寬度小於於420px時----*/
/*--------------------------*/
@media (max-width: 420px){
    .act-wrap p.note-rate{
        top:-60px;
        font-size: 18px;}

    /*壽險*/
    .s3-part1 .insure-bonus > div > .bonus-prize.p4-2{
        width: 100%;
        left: initial;
        transform: initial;
        top: -50px;
        right: -30px;}

    .s3-part1 .insure-bonus > div > .bonus-prize > img{
        width: 65%;
        max-width: 178px;
        left: 20%;}

    .s4-part1 > .insure-bonus > div > .bonus-tag {
        width: 45%;
        top: -50px;}

    .banner-wrap .banner div > h2::before,
    .banner-wrap .banner div > h2::after{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);}
    .banner-wrap .banner div > h2::before{left: -40px;}
    .banner-wrap .banner div > h2::after{right: -40px;}
}

/*----螢幕寬度小於於414px時----*/
/*--------------------------*/
@media (max-width: 414px){
    .theme{height: 480px;}
    .theme-tag1,
    .theme-tag2{top: 30px;}
    .theme-moutain {background-size: 230%;}
    .deco-koi1{top: -150px;}
    .deco-koi2{top: -180px;}
    /*旅平險*/
    .s2-part1 > div > p {
        text-align: left;
        white-space: initial;}

    .section-btnTop{bottom: 17%;}

    /*錨點--*/
    #section1{top: -180px;}
    #section2{top: -140px;}
    #section3{top: -130px;}
    #section4{top: -130px;}        

}


/*----螢幕寬度小於於375px時----*/
/*--------------------------*/
@media (max-width: 375px){
    .s1-wrap .s1, .s1-wrap .s2,
    .s1-wrap .s3, .s1-wrap .s4{padding-top: 40px;}
    .s1-content > div,
    .s2-content > div,
    .s3-content > div,
    .s4-content > div{
        padding: 3px 15px;
        width: 100%;
        margin: 0;}

    .act-wrap .act-title{min-width: 100%;}
    .ta-bonusContent p{font-size: 16px;}

    .ta-bonusContent p:nth-of-type(2),
    .ta-bonusContent p:nth-of-type(3){font-size: 14px;}

    .bonusDate > p{font-size: 20px;}
    .s2-content > div > .insure-bonus > div{
        margin: 20px 0;
        min-width: 100%;}
    .s3-part1 > .insure-bonus > div{margin: 0;}
    .insure-bonus > div > .bonus-prize.p5 {
        width: 35%;
        right: -27px;
        transform: translateY(-50%) rotate(8deg);}
    .s4-content > div > div > .act-wrap{margin-top: 0;}

        /*錨點--*/
        #section1{top: -140px;}
        #section2{top: -120px;}
        #section3{top: -110px;}
        #section4{top: -110px;}        
    
}


/*----螢幕寬度小於於340px時----*/
/*--------------------------*/
@media (max-width: 340px){
    .s4-part1 > .insure-bonus > div{padding-bottom: 60px;}
}




/*------------iPhone5-------*/
/*--------------------------*/
@media screen and (max-width: 320px){
    .theme{height: 440px;}
    .theme-tag1,
    .theme-tag2{background-size: 85%;}
    .deco-koi1{top: -170px;}
    .deco-koi2{top: -200px;}
    .insure-bonus > div > .bonus-prize.p4-1{top: -45px;}

}
