* {
    position: relative;
    box-sizing: border-box;
}

.wrapper {
    overflow: hidden;
    background-image: url(../images/texture.jpg);
    background-repeat: repeat;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

img,
a {
    vertical-align: top;
    user-select: none;
    -webkit-user-drag: none;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
p,
li,
span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #000;
    line-height: 120%;
}


/* banner 
 ======================================================================*/

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 1rem;
    z-index: 2;
}

.logo img {
    width: 200px;
    height: auto;
}

.bannerbg {
    max-width: 1920px;
    background: url(../images/mainPic_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.bannerBox {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.banner {
    width: 100%;
    height: auto;
}

.visible_m {
    display: none;
}

@media screen and (max-width: 820px) {
    .logo {
        padding: 0.625rem;
        top: 66%;
        left: 0;
    }
    .logo img {
        width: 150px;
        height: auto;
    }
    .visible_pc {
        display: none;
    }
    .visible_m {
        display: inline;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        padding: 0.25rem;
    }
    .logo img {
        width: 130px;
    }
}


/* section 
 ======================================================================*/

.subtitle {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    background: linear-gradient(to right, #8D0212, #680A13);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 2.5rem 0;
}


/* lease */

.leaseBox {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 960px;
    margin: auto;
}

.leaseBox::before {
    content: "";
    display: block;
    padding-top: 52.25%;
}

.leaseBox .lease {
    flex: 0 0 50%;
    max-width: 50%;
}

.leaseBox .leasebgLeft {
    background-image: url(../images/leaseBg1_pc.png);
    background-position: center right;
    background-size: contain;
    background-repeat: no-repeat;
}

.leaseBox .leasebgRight {
    background-image: url(../images/leaseBg2_pc.png);
    background-position: center left;
    background-size: contain;
    background-repeat: no-repeat;
}

.leaseBox .leasebgLeft::before,
.leaseBox .leasebgRight:before {
    content: "";
    display: block;
    padding-top: 95.7%;
}

.leaseBox .lease {
    display: flex;
    justify-content: center;
    align-items: center;
}

.leaseBox .lease p {
    margin: 0;
}

.leaseBox .lease .leaseTitle1 {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-46%);
    width: 300px;
    height: auto;
}

.leaseBox .lease .leaseTitle2 {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-54%);
    width: 300px;
    height: auto;
}

.leaseBox .lease .leaseContent span {
    font-size: 1.25rem;
    color: #EDD5A4;
    text-align: center;
}

.leaseBox .lease .leaseContent .leaseContentBox {
    padding: 0.5rem 0;
}

.leaseBox .lease .leaseContent .leaseContentBox:first-child {
    border-bottom: 1px solid rgba(237, 213, 164, 0.5);
}

.leaseBox .lease .leaseContent .title {
    display: block;
    text-align: center;
    margin-bottom: 0.25rem;
}

.leaseContent .leaseTxt {
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaseContent .leaseTxt strong {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #EDBD47, #FFED95, #EDA44C, #EDBD47);
    background: -webkit-linear-gradient(to right, #EDBD47, #FFED95, #EDA44C, #EDBD47);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
    margin-right: 0.25rem;
}

.leaseContent .leaseTxt img {
    width: 24px;
    height: auto;
    margin-bottom: 0.5rem;
    margin-left: 0.25rem;
}

@media screen and (max-width: 960px) {
    .leaseBox .lease .leaseContent span {
        font-size: 1.125rem;
    }
    .leaseContent .leaseTxt strong {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 767px) {
    .subtitle {
        font-size: 1.25rem;
        margin: 1.875rem 0;
    }
    .leaseBox .lease .leaseTitle1,
    .leaseBox .lease .leaseTitle2 {
        width: 220px;
    }
}

@media screen and (max-width: 640px) {
    .leaseBox {
        max-width: 400px;
        width: 100%;
        margin: auto;
    }
    .leaseBox .lease {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .leaseBox .leasebgLeft {
        background-image: url(../images/leaseBg1_m.png);
        background-position: bottom center;
    }
    .leaseBox .leasebgRight {
        background-image: url(../images/leaseBg2_m.png);
        background-position: top center;
    }
    .leaseBox .leasebgLeft::before,
    .leaseBox .leasebgRight:before {
        padding-top: 95.6%;
    }
    .leaseBox .lease .leaseTitle1,
    .leaseBox .lease .leaseTitle2 {
        transform: translateX(-50%);
        top: 20px;
    }
}

.annotation {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 300px;
    font-size: 0.8125rem;
    color: #666666;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    border: 1px dashed #B7B7B7;
    background: #fff;
    text-align: center;
    display: inline-block;
    margin: 0;
}


/* gift */

.giftBox {
    padding-left: 2.5rem;
    margin-top: -3.75rem;
    padding-bottom: 3.75rem;
}

.giftBox .giftImg {
    position: absolute;
    top: -48px;
    left: 20px;
    width: 120px;
    height: auto;
    z-index: 1;
}

.giftBox .giftTitle {
    background: linear-gradient(-135deg, transparent 15px, #8D0212 0, #C20212, #680A13, #960212);
    padding: 0.75rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.giftBox .giftTitle h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #F2D89B;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 0 0 #510A14, 0 2px 0 #510A14, -2px 0 0 #510A14, 0 -2px 0 #510A14;
}

.giftBox .giftTitle h2:first-child {
    margin-right: 0.5rem;
}

.giftBox .giftContent {
    background: linear-gradient(-45deg, transparent 15px, #e7dfd4 0) right, linear-gradient(45deg, transparent 15px, #e7dfd4 0) left;
    background-size: 50% 100%;
    background-repeat: no-repeat;
}

.giftBox .giftContent .OEMParts {
    position: absolute;
    top: 20px;
    left: -40px;
    width: 40px;
    height: auto;
}

.giftBox .giftTitle h2 strong {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #EDBD47, #FFED95, #EDA44C, #EDBD47);
    background: -webkit-linear-gradient(to right, #EDBD47, #FFED95, #EDA44C, #EDBD47);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: none;
}

.OEMGift {
    background: #DED8CE;
    border-bottom: 1px dashed #666666;
}

.OEMGift,
.otherGift {
    display: flex;
    flex-wrap: wrap;
}

.OEMGift .OEMGiftItem {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.OEMGift .OEMGiftItem:first-child {
    border-right: 1px dashed #666666;
}

.OEMGift .OEMGiftItem .giftItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.otherGift .giftItem {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    border-right: 1px dashed #666666;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
}

.OEMGiftItem.division {
    padding: 0;
}

.OEMGiftItem .giftItem.division {
    padding: 1rem;
    border-right: 1px dashed #666666;
}

.OEMGiftItem .giftItem.division:last-child,
.otherGift .giftItem:last-child {
    border-right: 0;
}

.OEMGiftItem .number,
.giftItem .number {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 50px;
    height: 47px;
    background-image: url(../images/number.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.OEMGiftItem .number span,
.giftItem .number span {
    font-size: 1rem;
    font-weight: 400;
    color: #EDD5A4;
}

.giftItem img {
    width: 150px;
    height: auto;
}

.giftItem p {
    font-size: 1.25rem;
    line-height: 150%;
    color: #8B6239;
    margin: 0;
    text-align: center;
}

@media screen and (max-width: 820px) {
    .annotation {
        bottom: 40px;
    }
    .giftBox .giftImg {
        top: -20px;
        width: 80px;
    }
    .giftBox {
        margin-top: -1.25rem;
    }
    .giftBox .giftTitle h2 {
        font-size: 1.5rem;
    }
    .giftBox .giftTitle h2 strong {
        font-size: 2rem;
    }
    .OEMGift .OEMGiftItem {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .otherGift .giftItem {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .OEMGift .OEMGiftItem:first-child,
    .otherGift .giftItem {
        border-right: 0;
        border-bottom: 1px dashed #666666;
    }
    .otherGift .giftItem:last-child {
        border-bottom: 0;
    }
}

@media screen and (max-width: 576px) {
    .giftBox .giftImg {
        top: 8px;
        left: -4px;
        width: 72px;
    }
    .giftBox .giftTitle {
        flex-direction: column;
        align-items: center;
    }
    .giftBox .giftTitle h2:first-child {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .OEMGift .OEMGiftItem {
        flex-direction: column;
    }
    .OEMGiftItem .giftItem.division:first-child {
        border-right: 0;
        border-bottom: 1px dashed #666666;
    }
}


/* footer 
 ======================================================================*/

footer {
    background: linear-gradient(to bottom, #8D0212, #680A13);
    padding-top: 3.125rem;
    padding-bottom: 1rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.noteBox {
    display: flex;
    align-items: center;
}

.note {
    width: 50%;
    margin-right: 1.875rem;
}

.note h4 {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.note ol {
    padding-left: 1rem;
    margin-top: 1rem;
}

.noteTxt li {
    list-style: decimal;
    font-size: 0.8125rem;
    color: #fff;
    line-height: 150%;
}

.putFlex {
    display: flex;
    align-items: center;
}

.text-center {
    text-align: center;
}

.jinfeng {
    width: 50%;
}

.jinfeng>img {
    width: auto;
    height: 150px;
    position: absolute;
    left: 20px;
    z-index: 1;
}

@media screen and (min-width: 821px) {
    .jinfeng>img {
        bottom: 5px;
    }
}

.jinfeng>div {
    min-height: 60px;
    padding: 1rem;
    margin-top: 0.625rem;
    margin-bottom: 25px !important;
    background: #f7f9f9;
    border: solid 1px #c4d0e3;
    border-radius: 8px;
}

.slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2.25rem;
}

.slogan p {
    font-size: 1.125rem;
    color: #8D0212;
    background: #EDD5A4;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.slogan span {
    font-size: 1.125rem;
    color: #EDD5A4;
    padding-left: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 820px) {
    footer {
        padding: 1.25rem 0 4.375rem 0;
    }
    .note {
        margin-right: 0;
    }
    .noteBox {
        flex-direction: column;
    }
    .note,
    .jinfeng {
        width: 100%;
    }
    .jinfeng>div {
        min-height: 130px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .slogan {
        flex-direction: column;
        padding-top: 1rem;
    }
    .slogan span {
        padding-left: 0;
        padding-top: 0.5rem;
    }
}

.jinfeng>div>div {
    width: calc(100% - 5rem);
    margin-left: 5rem;
}

.jinfeng h5,
.jinfeng p {
    margin: 0;
}

.jinfeng p {
    color: #666;
    font-size: 1rem;
    line-height: 140%;
}

.jinfeng h5 span {
    padding: 0 1.25rem;
    margin-bottom: 0.625rem;
    display: inline-block;
    position: relative;
    color: #4e6689;
    font-size: 1.25rem;
    font-weight: bolder;
}

.jinfeng h5 span::before,
.jinfeng h5 span::after {
    content: "";
    width: 13px;
    height: 28px;
    display: block;
    position: absolute;
    top: 1px;
    background-image: url(../images/tassel.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.jinfeng h5 span::before {
    left: 0;
}

.jinfeng h5 span::after {
    right: 0;
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}


/* 快速選單 
 ======================================================================*/

.buttonBox {
    z-index: 10;
    position: fixed;
    display: flex;
}

.contact {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(4px);
    -moz-backdrop-filter: blur(4px);
    -o-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.button {
    display: inline-block;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button img {
    width: 22px;
    height: 22px;
    margin-bottom: 5px;
}

.button span {
    color: #000;
    font-size: 1.125rem;
}

@media screen and (min-width: 821px) {
    .buttonBox {
        top: 10%;
        right: 10px;
        flex-direction: column;
    }
    .contact {
        padding: 0 0.5rem;
        border-radius: 25px;
    }
    .button {
        padding: 1rem 0;
        width: 36px;
        border-bottom: 1px solid #9e9e9e;
    }
    .button:last-child {
        border-bottom: 0;
    }
    .button span {
        writing-mode: vertical-lr;
    }
}

@media screen and (max-width: 820px) {
    .buttonBox {
        bottom: 0;
        width: 100%;
    }
    .contact {
        width: 100%;
        padding: 0.5rem 0;
        border-radius: 25px 25px 0 0;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    .button {
        padding: 0.75rem 0;
        width: 100%;
        border-right: 1px solid #9e9e9e;
        flex-direction: row;
        justify-content: center;
    }
    .button:last-child {
        border-right: 0;
    }
    .button img {
        margin-bottom: 0px;
        margin-right: 5px;
    }
    .button span {
        writing-mode: horizontal-tb;
        font-size: 1.125rem;
    }
}

@media (max-width: 600px) {
    .button img {
        width: 16px;
        height: 16px;
        margin-right: 2px;
    }
    .button span {
        font-size: 1rem;
    }
}