html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    line-height: 1.8em;
    color: #212121;
    font-family: Arial,
        "Microsoft JhengHei",
        '新細明體',
        Helvetica,
        sans-serif;
}

section {
    padding: 2em 1.5em;
}

h1 {
    font-weight: 600;
}

.txt-og {
    color: #f6821f;
}

a {
    color: #EC6604;
}

a:hover {
    color: #FEA82F;
    text-decoration: none;
}

/* NAV */
nav {
    font-weight: 700;
    background-color: #ffffff;
    box-shadow: 0 0 3px rgb(0 0 0 / 20%);
}

.navbar {
    padding: 0px 5vw;
    margin: 0px;
}

.navbar-brand img {
    max-width: 75%;
}

.navbar-nav {
    width: 100%;
}


.nav-link {
    padding: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    transform: translate(2px, 1px);

}



.btn-main {
    background-color: #f6821f;
    border-color: #f6821f;
    padding: 15px 20px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.btn-main:hover {
    background-color: #d8741c;
    border-color: #d8741c;
}

.btn-contact {
    background-color: #003682;
    border-color: #003682;
    padding: 15px 20px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.s-top {
    background: url(../img/s-top.png)bottom center no-repeat;
    padding: 2rem;
}

.s-top .btn-main {
    display: block;
    margin: 0 auto;
    max-width: 450px;
    color: #003682;
    font-size: 22px;
    font-weight: 600;
}


.main-title {
    font-size: 2.8rem;
    color: #242629;
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
}


.four-box {
    font-size: 28px;
    padding: 20px;
    border-radius: 25px;
    background-color: #f6821f;
    color: #ffffff;
    margin-bottom: 25px;
}

@media (max-width:576px) {
    .s-top .btn-main {
        font-size: 17px;
    }

    .four-box img {
        max-width: 60px;
    }

    .four-box {
        font-size: 18px;
    }
}


.s1 {
    background: url(../img/s1_bg.png)bottom center no-repeat;
}

.s1-box {
    margin: 4rem 0;
}


.s2 {
    background: url(../img/s2_bg.png)top center no-repeat;
    padding: 5.5rem 2rem;
}

.s2 .title-box {
    border: 1px solid #dfdfdf;
    padding: 2rem 1rem 1rem;
    position: relative;
    background-color: #ffffff;
}

.s2 .title-box::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 60px;
    background-color: #f6821f;
    left: -4px;
}

.s3 {
    background: url(../img/s3_bg.png)bottom right no-repeat;
}

.s3 p {
    padding-top: 2rem;
}

.s4 {
    background: url(../img/s4_bg.jpg)top right no-repeat;
}

.s4 h1 {
    margin-top: 3rem;
}


.s4 .box {
    position: relative;
    border: 3px solid #f6821f;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    background-color: #ffffff;
    transition: 0.5s ease;
}

.box-contact {
    transition: 0.25s ease;
}

.box-contact a {
    -webkit-transform: translate(-50%, 50%);
    -ms-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
    border-radius: 20px;
    background-color: #0055dc;

    font-size: 16px;
    color: #fff;
    padding: 6px 25px;
    display: inline-block;
    text-decoration: none;
    position: absolute;
    left: 50%;
    bottom: 0;
    opacity: 1;
    transition: 0.25s ease;
}

.box-contact a:hover {
    background-color: #f6821f;
}


.s4 .box h3 {
    color: #003682;
}


.s4img {
    max-width: 300px;
    display: block;
    margin: 1rem auto;
}

.s5 {
    background: url(../img/s5_bg.jpg)top center no-repeat;
    padding: 5rem;
}

.s5 .border-og {
    border: 3px solid #f6821f;
    padding: 2rem;
    border-radius: 20px;
    background-color: #ffffff;
}

.s5 .btn-main {
    margin: -2rem auto 0;
    display: block;
    max-width: 400px;
    font-size: 22px;
}

@media (max-width:576px) {
    .s5 {
        background: url(../img/s5_bg.jpg)bottom center no-repeat;
        padding: 1rem 2rem;
    }

    .s5 .border-og {
        padding: 15px;
    }
}

.s6 {
    background: url(../img/s6_bg.jpg)top center no-repeat;
    padding: 4rem 1rem;
}

.s6-list {
    list-style: none;
    display: inline-block;
    text-align: center;
}

.s6-list li {
    display: inline-block;
    font-size: 24px;
    padding: 1rem 1.5rem;
}

.s6-list li::before {
    content: url(../img/s6_icon.svg);
    display: inline-block;
    vertical-align: middle;
}

.s6-box {
    text-align: center;
    margin: 2rem 0;
}

.s6-box h3 {
    color: #003682;
}

.s6-box h1 i {
    font-size: 0.8em;
    color: #f6821f;
}


.s8 h2 {
    display: inline-block;
    width: 100%;
    max-width: 312px;
    font-size: 37px;
    color: #11447B;
    padding: 40px 0.6em 18px 0;
    background: url(../img/s8_title.png) bottom center no-repeat;
    background-size: 100% auto;
    box-sizing: border-box;
    margin-bottom: 55px;
    text-align: center;
}

.s8 span {
    color: #11447B;
    font-weight: bolder;
    font-size: 20px;
    border-bottom: 2px solid #f6821f;
}

.s8 ul {
    font-size: 16px;
    line-height: 1.4;
    background-color: #efefef;
    padding: 1rem 2.5rem;
}

/*  */
.side-gift {
    position: fixed;
    bottom: 8rem;
    right: 0;
    z-index: 99;
}

.side-gift img {
    max-width: 120px;
}

@media (max-width:576px) {
    .side-gift img {
        max-width: 80px;
    }

}

/*  */
.form {
    color: #333;
    padding-top: 0;
}

.form-inner {
    margin-bottom: 25px;
    padding: 45px 20px 22px 18px;
    line-height: 1.78;
    background-color: #f9f6f7;
    border-radius: 20px;
}

.help-block {
    color: #F8AD72;

}

label>span {
    color: #f6821f;
}

input {
    margin: 0 5px;
}



footer {
    color: #fff;
    background-color: #11447B;
    padding: 1rem;
    line-height: 1.4em;
}