/*===========裝置尺寸設定============*/

.for-d {
    display: block;
}

.for-m-768 {
    display: none;
}

@media screen and (max-width: 768px) {
    .for-d {
        display: none;
    }
    .for-m-768 {
        display: block;
    }
}



/*******-----------------1200px------------------*******/
@media (min-width: 576px){
.container {
    max-width: 100%;
}
}/*覆蓋grid.scss預設*/
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}


@media screen and (max-width: 1200px) {
    /* c23模組 */
    .anchors-fixed {
        left: 0;
        max-width: 100%;
    }
    .scroll2top:link,
    .scroll2top:visited {
        right: 50px;
    }
}


/*******-----------------992px------------------*******/

@media screen and (max-width: 992px) {
    /*-----------desktop-menu----------*/
    ul.menu li a,
    .menu li a:link {
        padding: 0 25px;
    }
    .index-menu ul li {
         margin: 0px 5px 0px 5px;
     }/*五個<li>*/
}



/*******-----------------768px------------------*******/

@media screen and (max-width: 768px) {
    /* c23模組 */
    .anchors-fixed {
        position: static;
    }
    .scroll2top:link,
    .scroll2top:visited {
        right: 0px;
    }
   
}

@media screen and (min-width: 641px) {
    /*-----------index-menu----------*/
    .d0-3s {
        animation-delay: 0.3s;
        -webkit-animation-delay: 0.3s;
    }
    .d0-8s {
        animation-delay: 0.8s;
        -webkit-animation-delay: 0.8s;
    }
    .index-menu>ul>li>a {
        position: relative;
        transition: all 0.3s ease-in;
        -moz-transition: all 0.3s ease-in;
        -ms-transition: all 0.3s ease-in;
        -webkit-transition: all 0.3s ease-in;
        -o-transition: all 0.3s ease-in;
    }
    .index-menu>ul>li>a:hover {
        transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
    .index-menu>ul>li>a:hover:before {
        content: "";
        position: absolute;
        top: 8px;
        /*出血問題*/
        left: 0;
        right: 0;
        bottom: 8px;
        /*出血問題*/
        border-radius: 50%;
        background: rgba(176, 126, 19, 0.2);
    }
}


/*******-----------------640px------------------*******/

@media screen and (max-width: 640px) {
    /*-----------index-menu----------*/
    .index-menu ul {
        width: 100%;
        margin: 40px auto;
    }
    .index-menu ul li {
        display: block;
        width: 70%;
        margin: 0 auto;
    }
    .index-menu>ul>li>a {
        display: block;
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        height: auto;
        padding-bottom: 0;
        padding: 10px 0;
        margin: 8px auto;
        text-indent: 0;
        text-align: center;
        background: none;
        font-size: 1.5em;
        text-decoration: none;
        letter-spacing: 2px;
    }
    .index-menu .choose1 a,
    .index-menu .choose2 a,
    .index-menu .choose3 a,
    .index-menu .choose4 a,
    .index-menu .choose5 a,
    .index-menu .choose6 a {
        background: none;
    }
    .index-menu .btnStyle a {
        -moz-box-shadow: 0px 1px 0px 0px #574d00;
        -webkit-box-shadow: 0px 1px 0px 0px #574d00;
        box-shadow: 0px 1px 0px 0px #574d00;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #9e6e07), color-stop(1, #513605));
        background: -moz-linear-gradient(top, #9e6e07 5%, #513605 100%);
        background: -webkit-linear-gradient(top, #9e6e07 5%, #513605 100%);
        background: -o-linear-gradient(top, #9e6e07 5%, #513605 100%);
        background: -ms-linear-gradient(top, #9e6e07 5%, #513605 100%);
        background: linear-gradient(to bottom, #9e6e07 5%, #513605 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9e6e07', endColorstr='#513605', GradientType=0);
        background-color: #9e6e07;
        -moz-border-radius: 28px;
        -webkit-border-radius: 28px;
        border-radius: 28px;
        border: 1px solid #8a5f10;
        display: inline-block;
        cursor: pointer;
        color: #ffffff;
        text-shadow: 0px 1px 0px #242000;
        border: 2px solid #8a5f10;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .index-menu .btnStyle a:hover {
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #513605), color-stop(1, #9e6e07));
        background: -moz-linear-gradient(top, #513605 5%, #9e6e07 100%);
        background: -webkit-linear-gradient(top, #513605 5%, #9e6e07 100%);
        background: -o-linear-gradient(top, #513605 5%, #9e6e07 100%);
        background: -ms-linear-gradient(top, #513605 5%, #9e6e07 100%);
        background: linear-gradient(to bottom, #513605 5%, #9e6e07 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#513605', endColorstr='#9e6e07', GradientType=0);
        background-color: #513605;
        border: 2px solid #514107;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0);
    }

    /* c23模組 */
    .carrier {
        margin: 30px 0;
        padding-left: 5px;
        padding-right: 5px;
    }
    .carrier h4 {
        font-size: 1.7em;
    }
    .carrier h4::before {
        width: 40px;
        height: 23px;
        margin-right: 10px;
    }
    .carrier h4::after {
        width: 40px;
        height: 23px;
        margin-left: 10px;
    }
    .carrier li {
        margin: 0;
    }
    .carrier li em.price {
        margin-top: 20px;
    }
}

/*******-----------------480px------------------*******/

@media screen and (max-width: 480px) {}


/*******-----------------320px------------------*******/

@media screen and (max-width:320px) {
    /*-----------index-menu----------*/
    .index-menu>ul>li>a,
    .mobile-nav li a {
        font-size: 1.3em;
        letter-spacing: 1px;
    }
}