@charset "UTF-8";

/* =========================================================
   新潤興業｜雙捷航站特區  桌機版樣式
   設計稿寬度 1920px，內容寬度 1400px
   手機版請於檔案最下方 @media 區塊調整
   ========================================================= */

:root {
    /* 色彩 */
    --c-gold: #bf9545;
    --c-gold-light: #d6b168;
    --c-gold-dark: #a98236;
    --c-brown: #6e5a2f;
    --c-text: #3e3a39;
    --c-line: #bf9d5a;
    --c-dark: #231815;
    --c-purple: #7b59a3;
    /* 統一文字大小 */
    --fs-h4: 50px;
    /* 金色副標 */
    --fs-h4-m: 22px;
    /* 金色副標 */
    --fs-h3: 60px;
    /* 咖啡色主標 */
    --fs-h3-m: 30px;
    /* 咖啡色主標 */
    --fs-p: 20px;
    /* 內文 */
    --fs-p-m: 17px;
    /* 內文 */
    --fs-caption: 15px;
    /* 圖說 */
    --fs-case: 28px;
    /* 實績名稱 */
    --fs-case-m: 20px;
    /* 實績名稱 */
    --fs-form-title: 30px;
    --fs-form-title-m: 26px;
    --fs-form: 18px;
    --fs-form-m: 16px;
    --fs-note: 18px;
    --fs-note-m: 16px;
    --lh-p: 1.92;
    --lh-p-m: 1.5;
    --ls-p: .04em;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Noto Sans TC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: var(--c-text);
    background-color: #f7f5f0;
    background-image: url(../images/paper-bg.jpg);
    background-repeat: repeat;
    background-size: 1920px auto;
    background-position: center top;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
}

a:hover {
    text-decoration: none;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}


/* ---------- container：內容寬 1400px（表單區 1620px） ---------- */

@media (min-width: 1200px) {
    .container {
        max-width: 1260px;
    }
    .contact .container {
        max-width: 1260px;
    }
}


/* =========================================================
   Super 主視覺 16:9
   ========================================================= */

header.super {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #1a5fb0;
}

header.super img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media only screen and (max-width: 766px) {
    header.super {
        aspect-ratio: 9 / 15;
    }
}


/* =========================================================
   共用：單元、標題、內文
   ========================================================= */

section.sec {
    position: relative;
    padding: 120px 0 0 0;
}

section.sec1 {
    padding-top: 175px;
}

@media only screen and (max-width: 766px) {
    section.sec1 {
        padding-top: 80px;
    }
    section.sec {
        padding: 80px 0 0 0;
    }
}

.title-block h4,
.title-block h3 {
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    letter-spacing: .01em;
}

.title-block h4 {
    font-size: var(--fs-h4);
    color: var(--c-gold);
    background: linear-gradient(180deg, var(--c-gold-light) 0%, var(--c-gold) 55%, var(--c-gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.title-block h3 {
    font-size: var(--fs-h3);
    color: var(--c-brown);
    font-weight: 900;
}

.text p,
p.text {
    font-size: var(--fs-p);
    font-weight: 450;
    line-height: var(--lh-p);
    letter-spacing: var(--ls-p);
    color: var(--c-text);
    text-align: justify;
    margin: 0;
}

@media only screen and (max-width: 766px) {
    .title-block h4 {
        font-size: var(--fs-h4-m);
    }
    .title-block h3 {
        font-size: var(--fs-h3-m);
    }
    .text p,
    p.text {
        font-size: var(--fs-p-m);
        line-height: var(--lh-p-m);
        letter-spacing: 0;
    }
}


/* ---------- 照片：div 設定比例，img cover ---------- */

.pic {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pic>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.pic .caption {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 8px;
    font-size: var(--fs-caption);
    font-weight: 400;
    color: #fff;
    letter-spacing: .02em;
    text-shadow: 0 0 4px rgba(0, 0, 0, .75);
    pointer-events: none;
}

.ratio-3x2 {
    aspect-ratio: 3 / 2;
}

.ratio-16x9 {
    aspect-ratio: 16 / 9;
}

.ratio-wide {
    aspect-ratio: 800 / 520;
}

.ratio-tall {
    aspect-ratio: 450 / 520;
}

.ratio-hwy {
    aspect-ratio: 880 / 510;
}


/* ---------- 裝飾線 ---------- */

.deco-line {
    position: relative;
    height: 128px;
    margin-top: 40px;
    border-bottom: 1px solid var(--c-line);
}

.deco-line::after {
    content: '';
    position: absolute;
    bottom: -1px;
    width: 181px;
    height: 1px;
    background-color: var(--c-line);
}


/* 右側斜線（往左上） */

.deco-line.deco-right::after {
    right: 0;
    transform-origin: right center;
    transform: rotate(45deg);
}


/* 左側斜線（往右上） */

.deco-line.deco-left::after {
    left: 0;
    transform-origin: left center;
    transform: rotate(-45deg);
}

@media only screen and (max-width: 766px) {
    .deco-line {
        height: 80px;
    }
    .deco-line::after {
        width: 30px;
    }
}


/* =========================================================
   Sec1 雙捷三站匯
   ========================================================= */

.sec1 .intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sec1 .intro .title-block {
    flex: 0 0 46%;
}

.sec1 .intro .text {
    flex: 0 0 52%;
    margin-top: -6px;
}

.sec1 .route-map {
    margin-top: 75px;
}

.route-map img {
    display: block;
    width: 100%;
    height: auto;
}

.sec1 .photos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 24px;
}

.sec1 .photos .pic {
    width: calc((100% - 28px) / 2);
}

.sec1 .photos .pic:first-child {
    margin-top: 187px;
}

.sec1 .deco-line {
    margin-top: 0;
}


/* =========================================================
   Sec2 巨蛋經濟
   ========================================================= */

.sec2 .text {
    margin-top: 40px;
    width: 90%;
}

.sec2 .gallery {
    margin-top: 60px;
}

.sec2 .gallery .row-pic {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.sec2 .gallery .row-pic+.row-pic {
    justify-content: flex-end;
    margin-top: 20px;
}

.sec2 .gallery .ratio-wide {
    width: 57.14%;
}

.sec2 .gallery .ratio-tall {
    width: 32.14%;
}

.sec2 .deco-line {
    margin-top: 94px;
}

@media only screen and (max-width: 766px) {
    .sec2 .text {
        margin-top: 0px;
        width: 100%;
    }
    .sec2 .deco-line {
        margin-top: 0px;
    }
}


/* =========================================================
   Sec3 第三航廈
   ========================================================= */

.sec3 .body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 65px;
}

.sec3 .body .col-main {
    width: 62.8%;
}

.sec3 .body .col-side {
    width: 35.9%;
}

.sec3 .body .col-main .pic {
    margin-top: 57px;
}

.sec3 .body .col-side .pic+.pic {
    margin-top: 13px;
}

.sec3 .deco-line {
    margin-top: 5px;
}


/* =========================================================
   Sec4 國1甲
   ========================================================= */

.sec4 .row-a,
.sec4 .row-b {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sec4 .row-a {
    margin-top: 72px;
}

.sec4 .row-a .pic,
.sec4 .row-b .pic {
    width: 62.8%;
}

.sec4 .row-a .text {
    width: 30.2%;
    margin-top: 73px;
}

.sec4 .row-a .text p {
    letter-spacing: .12em;
}

.sec4 .row-b {
    margin-top: 22px;
    align-items: flex-end;
}


/* 左下三角裝飾 */

.deco-triangle {
    position: relative;
    width: 395px;
    height: 396px;
    border-left: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}

.deco-triangle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 560px;
    height: 1px;
    background-color: var(--c-line);
    transform-origin: left center;
    transform: rotate(-45deg);
}


/* =========================================================
   Sec5 品牌
   ========================================================= */

.sec5 {
    padding-bottom: 180px !important;
    overflow: hidden;
}

@media (max-width: 766px) {
    .sec5 {
        padding-bottom: 80px !important;
    }
}

.sec5 .brand {
    display: flex;
    align-items: flex-start;
    margin-top: 40px;
}

.sec5 .brand .logo {
    flex: 0 0 303px;
    margin-top: 8px;
}

.sec5 .brand .logo img {
    display: block;
    width: 100%;
    height: auto;
}

.sec5 .brand .content {
    flex: 1 1 auto;
    margin-left: 94px;
}

.sec5 .brand .content .title-block h4 {
    margin-bottom: 22px;
}


/* 標題左右裝飾線 */

.title-lines {
    display: flex;
    align-items: center;
    margin-top: 130px;
}

.title-lines .title-block h3 {
    padding: 0 34px;
    white-space: nowrap;
}

.title-lines .tl {
    position: relative;
    flex: 1 1 auto;
    height: 1px;
    background-color: var(--c-line);
}

.title-lines .tl::after {
    content: '';
    position: absolute;
    top: 0;
    width: 154px;
    height: 1px;
    background-color: var(--c-line);
}

.title-lines .tl-left::after {
    left: 0;
    transform-origin: left center;
    transform: rotate(45deg);
}

.title-lines .tl-right::after {
    right: 0;
    transform-origin: right center;
    transform: rotate(45deg);
}

.sec5 .route-map {
    margin-top: 118px;
}

@media (max-width: 766px) {
    .title-lines .tl {
        display: none;
    }
    .sec5 .route-map {
        margin-top: 35px;
    }
}


/* ---------- 實績 slider（bxslider） ---------- */

.case-slider-wrap {
    width: 905px;
    max-width: 100%;
    margin: 80px auto 0 auto;
}

@media (max-width: 766px) {
    .case-slider-wrap {
        margin: 30px auto 0 auto;
    }
}

.case-slider-wrap .bx-wrapper {
    margin: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.case-slider-wrap .bx-wrapper .bx-viewport {
    overflow: visible !important;
    border: none;
    box-shadow: none;
    background: transparent;
    left: 0;
}

.case-card {
    padding: 20px;
    border-radius: 58px;
    background-color: #ebe7df;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, .9), 0 3px 10px rgba(0, 0, 0, .12);
}

.case-card .pic {
    aspect-ratio: 865 / 547;
    border-radius: 40px;
}

.case-card .pic .name {
    position: absolute;
    z-index: 2;
    top: 26px;
    left: 30px;
    font-size: var(--fs-case);
    font-weight: 500;
    color: #fff;
    letter-spacing: .02em;
    text-shadow: 0 0 6px rgba(0, 0, 0, .35);
}

@media (max-width: 766px) {
    .case-card .pic .name {
        top: 15px;
        left: 20px;
        font-size: var(--fs-case-m);
    }
}

.case-card .pic .name.right {
    left: auto;
    right: 30px;
}

.case-slider-wrap .bx-wrapper .bx-controls-direction a {
    width: 48px;
    height: 48px;
    margin-top: -24px;
    background: rgba(35, 24, 21, .55);
    border-radius: 50%;
    text-indent: 0;
    font-size: 0;
    z-index: 20;
}

.case-slider-wrap .bx-wrapper .bx-controls-direction a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.case-slider-wrap .bx-wrapper .bx-prev {
    left: 30px;
}

.case-slider-wrap .bx-wrapper .bx-prev::before {
    transform: translate(-30%, -50%) rotate(-45deg);
}

.case-slider-wrap .bx-wrapper .bx-next {
    right: 30px;
}

.case-slider-wrap .bx-wrapper .bx-next::before {
    transform: translate(-70%, -50%) rotate(135deg);
}

.case-slider-wrap .bx-wrapper .bx-controls-direction a:hover {
    background: rgba(35, 24, 21, .85);
}

.case-slider-wrap .bx-wrapper .bx-pager {
    display: none;
}


/* =========================================================
   Contact 表單
   ========================================================= */

section.contact {
    position: relative;
    padding: 145px 0 220px 0;
    background-color: #e9c98a;
    background-image: url(../images/footer-bg.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--c-dark);
}

@media (max-width: 766px) {
    section.contact {
        padding: 80px 0;
    }
}

.contact .wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact .col-info {
    width: 46.3%;
}

.contact .col-form {
    width: 46.3%;
}

.contact h2 {
    font-size: var(--fs-form-title);
    font-weight: 700;
    color: var(--c-dark);
    letter-spacing: .04em;
    margin: 0 0 22px 0;
}

.contact .info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact .info-list li {
    display: flex;
    font-size: var(--fs-form);
    font-weight: 500;
    line-height: 45px;
    letter-spacing: .04em;
}

@media (max-width: 766px) {
    .contact h2 {
        font-size: var(--fs-form-title-m);
    }
    .contact .info-list li {
        font-size: var(--fs-form-m);
        line-height: 1.75;
        letter-spacing: 0;
    }
}

.contact .info-list li .label {
    flex: 0 0 auto;
    position: relative;
    padding-right: 12px;
    margin-right: 12px;
}

.contact .info-list li .label::after {
    content: '';
    position: absolute;
    right: 0;
    top: 11px;
    width: 1px;
    height: 23px;
    background-color: var(--c-dark);
}

.contact .location-map {
    flex: 0 0 44%;
    margin-left: 20px;
    margin-top: 8px;
}

.contact .location-map img {
    display: block;
    width: 100%;
    height: auto;
}

.contact .map-title {
    margin-top: 60px;
}

.contact .gmap {
    width: 100%;
    aspect-ratio: 5 / 3;
    background-color: #e5e3df;
}

.contact .gmap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 766px) {
    .contact .gmap {
        aspect-ratio: 5 / 4;
    }
}


/* ---------- 表單 ---------- */

.contact .form-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 20px;
}

.contact .form-grid .f-half {
    width: calc((100% - 26px) / 2);
}

.contact .form-grid .f-full {
    width: 100%;
}

.contact .form-control,
.contact .select-css {
    display: block;
    width: 100%;
    height: 53px !important;
    padding: 0 16px;
    font-size: var(--fs-form);
    font-weight: 400;
    color: var(--c-dark) !important;
    background-color: transparent !important;
    border: 1px solid var(--c-dark);
    border-radius: 0;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media (max-width: 766px) {
    .contact .form-control,
    .contact .select-css {
        font-size: var(--fs-form-m);
    }
}

.contact .select-css {
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px auto;
    cursor: pointer;
}

.contact .form-control:focus,
.contact .select-css:focus {
    outline: none;
    box-shadow: none;
    border-color: #000;
    background-color: rgba(255, 255, 255, .25) !important;
}

.contact .form-control::placeholder {
    color: var(--c-dark);
    opacity: 1;
}

.contact .note {
    margin: 40px 0 0 0;
    font-size: var(--fs-note);
    line-height: 1.75;
    letter-spacing: .03em;
    color: var(--c-dark);
}

.contact .agree {
    display: flex;
    align-items: center;
    margin: 14px 0 0 0;
    font-size: var(--fs-note);
    letter-spacing: .03em;
    cursor: pointer;
}

@media (max-width: 766px) {
    .contact .note,
    .contact .agree {
        font-size: var(--fs-note-m);
    }
    .contact .note {
        margin: 30px 0 0 0;
        line-height: 1.5;
    }
}

.contact .agree input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    border: 1px solid var(--c-dark);
    background: transparent;
    position: relative;
    cursor: pointer;
}

.contact .agree input[type=checkbox]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border-right: 2px solid var(--c-dark);
    border-bottom: 2px solid var(--c-dark);
    transform: rotate(45deg);
}

.contact .btn-submit {
    display: block;
    width: 100%;
    height: 55px;
    margin-top: 16px;
    font-size: var(--fs-form);
    font-weight: 400;
    letter-spacing: .06em;
    color: #fff;
    background-color: var(--c-dark);
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .3s;
}

.contact .btn-submit:hover {
    background-color: var(--c-brown);
}

.contact .btn-submit:disabled {
    opacity: .6;
    cursor: wait;
}


/* =========================================================
   側邊按鈕 / 手機底部選單 / 回頂端（沿用範例）
   ========================================================= */

.sidemenu {
    position: fixed;
    z-index: 500;
    right: 20px;
    bottom: 150px;
    width: 50px;
}

.side-btn {
    width: 50px;
    height: 50px;
    color: var(--c-brown);
    font-size: 1.6rem;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, .3));
    margin: 0 0 12px 0;
    transition: all .3s;
}

.side-btn.red {
    font-size: .85rem;
    line-height: 1.05;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: var(--c-gold);
}

.side-btn:hover {
    color: #fff;
    background-color: var(--c-brown);
}

.bts {
    padding: 0;
    box-shadow: 0 -5px 5px 0 rgba(0, 0, 0, .3);
    background-color: var(--c-dark) !important;
}

.mbo {
    border-right: 1px solid #555;
}

.mbo:last-child {
    border-right: none;
}

.mbo a {
    display: block;
    color: var(--c-gold-light) !important;
}

.mbo h5 {
    padding: .8rem 0 .4rem 0;
    font-size: .9rem;
    margin: 0;
}

.mbo i,
.mbo span {
    display: block;
}

.mbo i {
    margin-bottom: 4px;
}

.mbo span {
    color: #fff;
}

@media (min-width: 768px) {
    .bts {
        display: none;
    }
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background-color: #404040;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1rem;
}

#myBtn:hover {
    background-color: var(--c-gold);
}


/* =========================================================
   手機版（請依需求手動調整）
   ========================================================= */

@media (max-width: 767px) {
    /* :root {
		--fs-h4: 22px;
		--fs-h3: 26px;
		--fs-p: 15px;
		--fs-caption: 11px;
		--fs-case: 16px;
		--fs-form-title: 22px;
		--fs-form: 15px;
		--fs-note: 13px;
	} */
    #myBtn {
        right: 10px;
    }
}

.jconfirm .jc-bs3-container.container {
    margin: 0 auto;
}

.jconfirm .jc-bs3-container.container .jconfirm-box-container {
    max-width: 380px;
    margin: 0 auto;
}