
/*-------------------------------------------
基本版面設定
-------------------------------------------*/
html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #000;
    overflow-x: hidden;
}

video {
	object-fit: cover;
	transition: transform 30ms linear;
	display: block;
}

img,
object,
embed,
video {
    max-width: 100%;
    vertical-align: text-top;
    border: 0px;
}

a,
a:link,
a:hover,
a:active,
a:visited {
    transition: 1s;
    text-decoration: none;
}

/* IE 6 不支援最大寬度，因此寬度預設為 100% */
.ie6 img {
    width: 100%;
    border: 0px;
}

/*-----------------------------------------------------
共用設定
-----------------------------------------------------*/
.main {
    overflow-x: hidden;
}
.container {
    max-width: 1600px !important;
}
.z-0 {
    z-index: 0;
    position: relative;
}
.z-1 {
    z-index: 1;
}
.z-2 {
    z-index: 2;
}
.z-3 {
    z-index: 3;
}
.shadow-1 {
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.55);
}
.padding-left {
    padding-left: 16vh !important;
}
.padding-right {
    padding-right: 16vh !important;
}
.font-size-sm {
    font-size: 14px;
}
.section5-after-mb {
    bottom: -2px !important;
}
.mt-20h {
    margin-top: 20vh;
}
.mt--h {
    margin-top: -12vh;
}
.line {
    height: 180px !important;
}


/*-----------------------------------------------------
背景設定
-----------------------------------------------------*/
#section1 {
    background-image: url(../images/s1-new-bg.jpg);
    background-size: cover;
	min-height: 90vh !important;
    background-position: center bottom;
}
#section2 {
    background-image: url(../images/s2-new-bg.jpg);
    background-size: cover;
	min-height: 100vh !important;
    padding: 0 0 15vh !important;
}
#section3 {
    background-image: url(../images/s3-new-bg-pc.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
	min-height: 63vh !important;
    background-position: bottom;
}
#section6 {
    background-image: url(../images/s2-new-bg.jpg);
    background-position: bottom;
    background-size: cover;
    padding: 15vh 0 25vh !important;
}
#section7 {
    background-color: #fff;
    padding: 20vh 0 !important;
}

/*-----------------------------------------------------
顏色設定
-----------------------------------------------------*/
.color-black {
	color: #000 !important;
}
.color-white {
	color: #fff !important;
}
.color-yellow {
    color: #F8F1B7;
}
.color-brown {
    color: #9D7D61;
}

/*-----------------------------------------------------
文字設定
-----------------------------------------------------*/
.text-en {
	font-family: 'Abhaya Libre', serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 41.6px */
    letter-spacing: 9.6px;
    text-transform: capitalize;
}
.text-title {
    font-family: 'Noto Sans TC', serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 150%; /* 60px */
    letter-spacing: 2px;
}
.text-title span {
	font-size: 40px;
}

.text-sub {
	font-family: 'Noto Sans TC', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%; /* 25.6px */
    letter-spacing: 0.96px;
    text-transform: capitalize;
}
.text-btn-sub {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    letter-spacing: 0.8px;
}
.text-sub-en {
	font-family: 'Abhaya Libre', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 130%; /* 41.6px */
    letter-spacing: 3.2px;
    text-transform: capitalize;
}
.text-sub-en span {
	font-size: 16px;
    line-height: 130%;
    letter-spacing: 1.6px;
}
.text-sub-tit {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 36px */
    letter-spacing: 2.88px;
}
.text-sub-text {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%; /* 25.6px */
    letter-spacing: 0.96px;
    text-align: justify;
}
.text-border {
    padding: 10px 20px;
    box-sizing: border-box;
    border: 1px solid #fff;
    border-radius: 8px;
}

/*-----------------------------------------------------
輪播設定
-----------------------------------------------------*/
.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: -35px !important;
    /* margin-top: -75px !important; */
    position: inherit !important;
    z-index: 9 !important;
}
.owl-list {
	position: relative;
}
.owl-text {
	position: absolute;
	left: 80px;
	bottom: 20px;
	text-align: left;
    color: #FFF;
    font-family: "Noto Sans CJK TC";
    font-size: 12px;
    font-weight: 300;
    line-height: 160%; /* 19.2px */
    letter-spacing: 0.72px;
}
.owl-text::after {
    content: "";
    position: absolute;
    background: url(../images/owl-img.svg) no-repeat;
    background-size: 100%;
    left: -60px;
    bottom: 5px;
    width: 57px;
    height: 20px;
}



.owl-text-2 {
    position: absolute;
    right: 50%;
    /* margin-right: -80px; */
    width: 150px !important;
    margin-right: -75px !important;
    bottom: 25vh;
    text-align: center;
}
.owl-text-3 {
    position: absolute;
    right: 50%;
    /* margin-right: -80px; */
    width: 180px !important;
    margin-right: -90px;
    bottom: 25vh;
    text-align: center;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    display: flex !important;
    flex-wrap: wrap !important;
    color: #fff !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 100px !important;
    border: 1px solid #fff !important;
    align-content: center !important;
    justify-content: center !important;
}
.owl-theme .owl-nav {
    position: absolute !important;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 999 !important;
    margin-top: 0px !important;
}
.owl-theme .owl-dots {
    position: absolute;
    bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.owl-theme .owl-dots {
    position: absolute;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 9999;
}


/*-----------------------------------------------------
區塊個別設定
-----------------------------------------------------*/

/* --s1 start-- */
.s1-logo {
    top: 5%;
    right: 2%;
    position: absolute;
}
.s1-scroll {
    bottom: 5%;
    left: 2%;
}
.s1-sub {
    /* bottom: 2%;
    left: 34%;
    position: absolute; */
}
/* --s1 end-- */


/* --copyright start-- */
.copyright {
    font-family: 'Noto Serif TC', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 22.4px */
    letter-spacing: 0.7px;
    text-transform: capitalize;
    padding-bottom: 100px;
}
/* --copyright end-- */

/*-----------------------------------------------------
表單設定
-----------------------------------------------------*/
input[type=text],input[type=tel],  select, textarea {
    border: 0px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    width: 100%;
    background-color: #fff0 !important;
    border-radius: 0 !important;
    min-height: calc(1.5em + 0.75rem + 8px) !important;
    font-family: 'Noto Sans TC', sans-serif !important;
    font-weight: 700 !important;
    padding: 0.5rem 0 !important;
    height: 80px !important;
}
#submit {
    padding: 24px 60px;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #000;
    border-radius: 0;
    font-weight: bold;
    width: 350px;
    border: 1px solid #000;
}
#submit:hover {
    opacity: 0.6;
}
.form-control:focus {
    color: #fff;
    background-color: #fff0;
    border-color: #A7825B !important;
    box-shadow: unset !important;
}
#form textarea{
    min-height: 200px !important;
}

/*-----------------------------------------------------
RWD設定
-----------------------------------------------------*/
@media (max-width: 1920px) {
    #section3 {
        min-height: 65vh !important;
    }
}

@media (max-width: 1680px){
    #section3 {
        min-height: 55vh !important;
    }
    .s1-logo img {
        width: 120px;
        height: auto;
    }
    .s1-sub {
        left: 29%;
    }
    .text-title,
    .text-title span {
        font-size: 32px;
    }
    .text-en {
        font-size: 14px;
    }
    .container {
        max-width: 1200px !important;
    }
    .text-sub {
        font-size: 14px;
    }
}
@media (max-width: 1440px) {
    .s1-sub {
        left: 26%;
    }  
}
@media (max-width: 1366px){
    .s1-sub {
        left: 25%;
    }
    .text-title,
    .text-title span {
        font-size: 28px;
    }
    .text-mid {
        padding-left: 60px;
    }
    .container {
        max-width: 1000px !important;
    }
    .text-sub {
        font-size: 12px;
    }
}
@media (max-width: 1280px){
    .s1-logo img {
        width: 140px;
        height: auto;
    }
}
@media (max-width: 1024px) {
    #section1 {
        background-image: url(../images/s1-new-bg-mb.jpg);
        background-position: center bottom;
        min-height: unset !important;
    }
    #section3 {
        background-image: url(../images/s3-new-bg-mb.jpg);
        min-height: 50vh !important;
        background-size: cover !important;
    }
    .s1-text {
        padding: 20vh 0 0;
    }
    .s1-sub {
        padding: 8vh 0 0;
        position: static;
    }
    .mt-20h {
        margin-top: 10vh;
    }
    #section2 {
        min-height: unset !important;
        padding: 0 !important;
        background-position-x: center;
    }
    #section5 {
        min-height: unset !important;
    }
    #section6 {
        padding: 8vh 0 15vh !important;
    }
    .mt--h {
        margin-top: -6vh;
    }
    .line {
        display: none !important;
    }
    .padding-right {
        padding-right:0 !important;
    }
    .owl-text {
        font-size: 12px;
    }
    .owl-text {
        font-size: 12px;
        bottom: 15px;
        left: 60px;
    }
    .text-en {
        font-size: 12px;
    }
    .text-title,
    .text-title span {
        font-size: 24px;
        letter-spacing: 1px;
    }
    .text-sub {
        font-size: 14px;
        line-height: 180%;
        letter-spacing: 1px;
    }
    .text-sub-tit {
        font-size: 16px;
    }
    .text-sub-text {
        font-size: 13px;
    }
    .s1-scroll {
        bottom: 6%;
        left: 45%;
    }
    .font-size-sm {
        font-size: 12px;
    }
    .owl-theme .owl-dots .owl-dot span {
        width: 6px !important;
        height: 6px !important;
        margin: 5px 2px !important;
    }
    .owl-text::after {
        left: -50px;
        bottom: 2px;
        width: 46px;
        height: 20px;
    }
}

@media (max-height: 640px){
    .s1-title {
        padding: 0;
    }
}