body {
    padding: 0;
    margin: 0;
    background: #2f4158;
    color: #8b8e94;
    line-height: 1.35;
    font-size: 15px;
    font-family: "Microsoft JhengHei", "微軟正黑體", "Arial", sans-serif !important;
}

h1 {
    background-color: #963F40;
}

body a:hover {
    text-decoration: none;
}

body a:focus,
a:hover {
    text-decoration: none;
}

input[type="button"],
input[type="submit"] {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.middle {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;

}

p {
    margin: 0;
    color: #777;
    letter-spacing: 1px;
    line-height: 1.8em;
    font-size: 15px;

}

/*
.row{
	margin:0px;
	padding:0px;
}
*/
ul {
    margin: 0;
    padding: 0;
}

label {
    margin: 0;
}

a {
    color: #000;
}

a:focus,
a:hover {
    text-decoration: none;
    outline: none;
}

a:focus,
a:hover {

    text-decoration: none;
}

/*-- //Reset-Code --*/

/*--top hover--*/
#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    right: 2%;
    overflow: hidden;
    z-index: 999;
    width: 32px;
    height: 32px;
    border: none;
    text-indent: 100%;
    background: url(../images/arrow.png) no-repeat 0px 0px;
}

#toTopHover {
    width: 32px;
    height: 32px;
    display: block;
    overflow: hidden;
    float: right;
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
}

/*--/tophover--*/

.bg-g {
    background-color: #2b2b2b !important;
}

.bg-wg {
    background-color: #f5f4ef !important;
}

.bg-yellow {
    background-color: #f6e6c6 !important;
}

.bg-purole {
    background-color: #662d91 !important;
}

.bg-blue {
    background-color: #17436a !important;
}

.bg-pink {
    background-color: #e75e4b !important;
}

.bg-green {
    background-color: #86c578 !important;
}

.bg-blue2 {
    background-color: #6c9fbd !important;
}

.bg-o {
    background-color: #e49256 !important;
}

.f-pink {
    color: #d93e7b;
}
.f-blue {
    color: #4573C9;
}

.f-green {
    color: #619b54;
}

.bg-part1 {
    background: url(../images/pc-10.png) top left no-repeat,
        url(../images/pc-13.png) top right no-repeat,
        url(../images/pc-11.png) bottom left no-repeat,
        url(../images/pc-12.png) bottom right no-repeat;
    background-size: 200px, 200px, 200px, 200px;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.bg_th2 {
    background-image: url("../images/pc-07.png");
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #314269;
}

.ps {
    font-size: 0.6rem;
    color: #fff;
    text-align: center;
    width: 100%;
}

a.h_big:hover img {
    width: 102% !important;
}

a.h_op:hover img {
    opacity: 0.8 !important;
}

a.h_shadow:hover img {
    -webkit-box-shadow: 0px 4px 8px #875409;
    -moz-box-shadow: 0px 4px 8px #875409;
    box-shadow: 0px 4px 8px #875409;
}

.nolr {
    padding-left: 0;
    padding-right: 0;
}

.container:not(.notb) {
    padding-top: 0rem;
    padding-bottom: 6em;
}

/*btn*/
.btn-yel {
    color: #003d75;
    background-color: #fac721;
    border-color: #fac721
}

.btn-yel:hover {
    color: #fbc841;
    background-color: #ff8500;
    border-color: #ff8500
}

.btn-yel.focus,
.btn-yel:focus {
    box-shadow: 0 0 0 .2rem rgba(248, 249, 250, .5)
}

.btn-yel.disabled,
.btn-yel:disabled {
    color: #003d75;
    background-color: #fac721;
    border-color: #fac721
}

.btn-yel:not(:disabled):not(.disabled) .active,
.btn-yel:not(:disabled):not(.disabled):active,
.show>.btn-yel.dropdown-toggle {
    color: #003d75;
    background-color: #ff8500;
    border-color: #ff8500
}

.btn-yel:not(:disabled):not(.disabled) .active:focus,
.btn-yel:not(:disabled):not(.disabled):active:focus,
.show>.btn-yel.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(248, 249, 250, .5)
}

.line_icon_box {
    padding: 3em 2em;
    position: relative;
    width: 100%;
}

.line_icon_box .mainso {
    width: 100%;
    max-width: 1200px;    padding: 3em 2em;
    margin: 0 auto;
}

.line_icon_box .title {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;   
    top: -1.2em;
}

.line_icon_box h3 {
    font-size: 2.5em;

    border-radius: .5em;
    padding: 0.5em;
    display: inline-block;
    font-weight: 700;
    color: #2f4158;
}

.line_icon_box h3 span {
    font-weight: 900;
}



.sec_box {
    position: absolute;
    left: 0;
    bottom: 0;
}

.add_line {
    position: absolute;
    left: calc(50% - 16em);
    width: 32em;
    z-index: 2;
    top: -3em;
}

.limited {
    position: absolute;
    right: 2%;
    width: 21em;
    z-index: 2;
    top: -9em;
}

.line_icon_box ul {
    list-style: none;
}

.line_icon_box ul li.line_icon {
    padding: 2%;
    text-align: center;
}

.line_icon_box ul li.line_icon a {
    width: 9em;
    height: 9em;
    color: #fff;      
    border-radius: 50%;
    -webkit-box-shadow: 0px 4px 8px #999;
    -moz-box-shadow: 0px 4px 8px #999;
    box-shadow: 0px 4px 8px #999;
    border: 3px solid #fff;
}

.line_icon_box ul li.line_icon a:hover {
    background-color: #416e8f !important;
}


.line_icon a p {
    color: #fff;   
    text-align: center;
       margin-bottom:1%;
    font-size: 2em;    line-height: 1.1;  
    font-weight: 700 !important;
}

.line_icon a:hover p {
    animation: spin ease-in-out 10s 1 alternate;
    font-weight: bolder;
}



.arrow {
    position: absolute;
    left: calc(50% - 2em);
    width: 4em;
    z-index: 3;
    top: -7.5em;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    2% {
        -webkit-transform: rotate(30deg);
        transform: rotate(30deg);
    }

    100% {
        -webkit-transform: rotate(30deg);
        transform: rotate(30deg);
    }
}


/* 數位 */
.con_footer {
    max-width: 700px;
    margin: 1em auto;
}

.con_footer li:not(:last-child) {
    border-right: 1px solid #f5f4ee;
}

.con_footer .footer_title {
    font-size: 1.1em;
    color: #4d6f89;
    font-weight: 500 !important;
    margin-bottom: .5em;
    margin-top: 1.5em;
    letter-spacing: 5px;
}

.digital {
    background-color: #4d6f89;
    padding: 1em;
    border-radius: 1em;
}

.digital.hanso {
    background-color: #3d576f;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 0.25em;
}

.digital.books {
    background-color: #2f4158;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 0.25em;
}

.digital a {
    display: inline-block;
}

.digital a p {
    color: #f5f4ee;
    font-size: 1.25em;
    line-height: 1.2;
}



/************************************/
/*版權*/
/************************************/

.copyright {
    padding: 2em 0;
}

.copyright.bg-dark {
    background-color: #212a33 !important;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    padding: 0 1em;
}

/*---------------------------media------------------------------*/
/*1400以下*/
@media screen and (max-width: 1399px) {


    /*1200以下*/
}

@media screen and (max-width: 1199px) {
    .limited {
        width: 29%;
    }
}

@media screen and (max-width: 991px) {
    .add_line {
        top: -2.2em;
    }
}

@media screen and (max-width: 767px) {
    .line_icon_box h3 {
        font-size: 2.2em;
    }
}

@media screen and (max-width: 575px) {
    #banner {
        padding: 0;
    }

    .arrow {
        top: -2.5em;
    }

    .add_line {
        top: 0.2em;
    }
}

@media screen and (max-width: 480px) {}

@media screen and (max-width: 370px) {}

/*-----------------------------------------------------------------------*/

/*---------------------------media------------------------------*/
@media screen and (max-width: 1400px) {}

@media screen and (max-width: 1199px) {}

@media screen and (max-width: 991px) {}

@media screen and (max-width: 768px) {}

/*576以上*/
@media screen and (min-width: 576px) {
    .type_ph {
        display: none !important;
    }
}

/*手機板575*/

@media screen and (max-width: 575px) {
    body {
        font-size: 2.6vw !important;
    }

    section {
        padding-bottom: 4em;
        padding-top: 4em;
    }

    .type_pc {
        display: none !important;
    }

    .nolr {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}