:root {
    --primary: rgba(223, 146, 20, 1);
    --secondary: rgba(11, 49, 143, 1);
    --third: rgba(202, 48, 28, 1);
    --text: rgba(51, 51, 51, 1);
    --bg-primary: rgba(223, 146, 20, 1);
    --bg-secondary: rgba(11, 49, 143, 1);
    --bg-third: rgba(202, 48, 28, 1);
    --bg-white: rgba(255, 255, 255, 1);
}
    .register-title {
  font-size: 1.8rem;   /* 放大字體，可依喜好調整 */
  font-weight: 700;    /* 加粗 */
  margin-bottom: 1.5rem; /* 增加下方間距 */
  text-align: center;  /* 置中（保險起見）*/
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
footer {
    font-family: Arial, '源石黑體', '源石ゴシック', sans-serif;
    color: #333;
    font-weight: 400;
    line-height: 32px;
    font-size: 1rem;
}

body {
    font-family: Arial, '源石黑體', '源石ゴシック', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    font-weight: 400;
    text-align: center;
    padding-top: 50px;
  
}
  .register-container {
      max-width: 600px; /* 控制寬度 */
      margin: 160px auto 0 auto; /* 與導覽列距離 */
    }
     .register-container2 {
      margin: 160px auto 0 auto; /* 與導覽列距離 */
    }
      .register-container3 {
        
      margin: 160px auto 0 auto; /* 與導覽列距離 */
    }
body,
a:hover,
a,
.main-menu-list li a:hover {
    cursor: auto;
}

/* === Header === */
body header.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

#item-1135166847 {
    background-color: var(--bg-primary);
}

#item-12366621502 img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

#item-12841040415 {
    background-color: var(--bg-secondary)
}

#item-13287353526 {
    text-align: center;
}

.main-menu {
    padding: 0;
    position: relative;
}

.main-menu-list {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    background-color: var(--bg-secondary);
    color: #ffffff;
    transition: all 0.3s ease;
}

.main-menu-list li {
    margin: 0;
}

.main-menu-list li a {
    position: relative;
    display: block;
    /* 讓整個區塊可點擊 */
    padding: 10px 20px;
    /* 內邊距 */
    color: white;
    /* 文字顏色 */
    text-decoration: none;
    /* 移除底線 */
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
    /* 變色平滑過渡效果 */
}

.main-menu-list li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: -1;
}

.main-menu-list li a:hover {
    color: #df9214;
}

.main-menu-list li a:hover::before {
    transform: scaleX(1);
    opacity: 1;
}


.main-menu-list li a.active {
    background-color: rgba(0, 0, 0, 1);
}

.logo-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 桌面版置中 */
    padding: 20px 0;
    position: relative;
}

/* Logo 圖片基礎樣式 */
.site-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: rgba(0, 0, 0, 1);
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.menu-close-btn {
    display: none;
}


@media (max-width: 768px) {
    .main-menu-list {
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        justify-content: flex-start;
        top: 0;
        right: 0;
        width: 80vw;
        height: 100vh;
        background-color: rgba(11, 49, 143, 1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding-top: 60px;
        padding-right: 20px;
        box-sizing: border-box;
        display: flex;
        z-index: 9999;
        pointer-events: none;
        opacity: 0;
    }

    .main-menu-list.show {
        transform: translateX(0);
        pointer-events: auto;
        opacity: 1;
    }

    .menu-close-btn {
        display: block;
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 28px;
        color: white;
        cursor: pointer;
        /*user-select: none;*/
        /*z-index: 1001;*/
    }

    /* 選單連結改成靠左 */
    .main-menu-list li {
        margin-bottom: 15px;
        /*width: 100%;
        margin: 10px 0;*/
    }

    .main-menu-list li a {
        width: 100%;
        padding: 10px 0;
        text-align: left;
        font-size: 1.2rem;
    }

    .logo-nav-wrap {
        padding-left: 15px;
        padding-right: 15px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .site-logo {
        max-width: 180px;
        margin-right: auto;
    }

    .hamburger {
        display: block;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }

    .overlay.show {
        opacity: 1;
        pointer-events: auto;
    }
}

/* === Header === */

.container-top {
    padding-top: 75px;
}

/* === Banner === */
.banner-full-width {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slides li {
    flex: 0 0 100%;
    height: 100%;
}

.carousel-slides li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*左右箭頭*/
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0.5rem 1rem;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

/*圓點指示器*/
.carousel-indicators-custom {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    z-index: 20;
}

.carousel-indicators-custom button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicators-custom button.active {
    background-color: #333;
}


@media (max-width: 991.98px) {
    .carousel-container {
        height: 300px;
    }
}


@media (max-width: 575.98px) {
    .carousel-container {
        height: 240px;
    }

    .container-top {
    padding-top: 30px;
}
}

/* === Banner === */

/* === 商品分類icon === */
#item-10489152941 {
    background-color: rgba(11, 49, 143, 1);
}

#item-10823250019 {
    padding: 75px 25px;
}

/* === 商品分類icon === */

/* === 熱門/最新商品 === */
#item-11383263441 {
    background-color: rgb(255, 255, 255);
}

#item-11677884578 {
    padding: 75px 25px;
}

#item-11677884578 h2 {
    text-align: center;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*左右貼邊*/
    max-width: 1300px;
    margin: 50px 0;
    width: 100%;
    box-sizing: border-box;
    gap: 0;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 0;
    margin: 0;
}

.carousel-track li {
    list-style: none;
    flex: 0 0 25%;
    /*一排4張*/
    padding: 10px;
}

.carousel-track img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(223, 146, 20, 0.8);
    border: none;
    font-size: 40px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /*防止在flex中被壓縮*/
    transition: background-color 0.3s, color 0.3s;
}

.carousel-btn:hover {
    color: rgba(223, 146, 20, 1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }

    .carousel-track li {
        flex: 0 0 50%;
        /*小螢幕顯示兩張*/
    }
}

.btn-more-products {
    font-family: Arial, '源石黑體', '源石ゴシック', sans-serif;
    font-weight: 400;
    background-color: rgba(0, 0, 0, 1);
    color: #ffffff;
    font-size: 18px;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-top: 25px 0;
}

.btn-more-products:hover {
    background-color: rgba(223, 146, 20, 1);
    color: #fff;
}

/* === 熱門/最新商品 === */

/* === 租賃流程區塊樣式 === */
/*#item-12225613207 {
    position: relative;
    background-image: url('../images/bg-02.webp');
    background-color: var(--bg-primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-attachment: scroll;
    background-position: left top;
    background-repeat: no-repeat;
    background-size: contain;
}

#item-12965003867 {
    padding: 100px 25px;
}*/

.lease-tab-section {
    position: relative;
    background-image: url('../images/bg-03.webp');
    background-color: var(--bg-primary);
    background-repeat: no-repeat;
    background-size: cover;
}

.lease-tab-section .tab-container {
    display: flex;
    padding: 100px 25px;
}

.lease-tab-section .sidebar {
    width: 220px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.lease-tab-section .lease-tab-button {
    font-size: 1.125rem;
    font-weight: 700;
    background-color: white;
    color: #333;
    border: none;
    padding: 15px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 2px 2px 3px 0px #000;
    transition: background 0.3s;
}

.lease-tab-section .lease-tab-button:hover,
.lease-tab-section .lease-tab-button.active {
    background-color: rgba(11, 49, 143, 1);
    color: white;
}

.lease-tab-section .content {
    flex: 1;
    padding: 40px;
    background-color: #f4f4f4;
    min-height: 500px;
    border-radius: 30px;
    border: 10px solid var(--primary);
    margin: 0 50px;
    /*box-shadow: 3px 3px 0px 0px #fff;*/
}

.lease-tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.lease-tab-content.active {
    display: block;
}

.lease-tab-content.fade-in {
    opacity: 1;
}

/* RWD */
@media (max-width: 768px) {
    .lease-tab-section .tab-container {
        flex-direction: column;
    }

    .lease-tab-section .sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 10px;
    }

    .lease-tab-section .lease-tab-button {
        width: 48%;
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }

    .lease-tab-section .content {
        padding: 20px;
        margin: 20px 0;
    }
}

/* 手機版下拉選單區塊 */
.dropdown-container {
    display: none;
}

.lease-dropdown {
    background-color: #444;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}

.lease-dropdown:hover {
    background-color: rgba(11, 49, 143, 1);
    color: white;
}

/* RWD */
@media (max-width: 768px) {

    /* 隱藏左側按鈕區塊，顯示下拉選單 */
    .lease-tab-section .sidebar {
        display: none;
    }

    .dropdown-container {
        display: block;
        margin-top: 20px;
    }

    .lease-tab-section .tab-container {
        flex-direction: column;
    }

    .lease-tab-section .content {
        padding: 20px;
        margin: 20px 0;
    }
}

/* === 租賃流程區塊樣式 === */

/* === 最新消息區塊樣式 === */
#news-activity {
    padding: 75px 25px;
}

#news-activity h2 {
    text-align: center;
}

.news-tab-wrapper {
    max-width: 1320px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.news-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.news-tab-button {
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 25px;
    background-color: var(--bg-white);
    border: 1px solid #ddd;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-tab-button.active {
    background-color: var(--bg-secondary);
    color: white;
    border: 1px solid #0b318f;
}

/* 手機下拉式選單 */
.news-tab-select {
    display: none;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.news-tab-content {
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .news-tab-buttons {
        display: none;
    }

    .news-tab-select {
        display: block;
    }
}

/* === 最新消息區塊樣式 === */

/* === 大使/品牌理念區塊樣式 === */
#item-12223154659 h2 {
    text-align: center;
}

/* === 大使/品牌理念區塊樣式 === */

/* === footer === */
footer {
    background-color: var(--bg-white);
    color: var(--text);
    padding: 50px;
    text-align: center;
    border-top: 1px solid #eeeeee;
}

#item-12869876808 img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.footer-icon {
    list-style: none;
    display: flex; /* 改為橫向排列 */
    gap: 20px;     /* 圖示間距 */
    justify-content: center;
    padding: 0;
    margin-top: 15px;
}

#item-12869876877 img{
    width: 40px;
    height: 40px;
}

.footer-contact li{
    font-size: 1rem;
    line-height: 26px;
    text-align: left;
    list-style: none;
}

@media (max-width: 768px) {
    footer {
        padding: 50px 25px;
    }

    footer ul {
        padding-left: 0rem;
    }
}



/* === footer === */

/* === 游標自訂 === */
.custom-cursor {
    
    position: fixed;
    width: 26px;
    height: 26px;
    background-image: url('http://main-lucky.ycvesa.com.tw/images/cursor.cur');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
    transform: translate(-50%, -50%);
    /* 讓圖案中心定位於滑鼠點 */
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    /* 陰影效果 */
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.custom-cursor.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.carousel-arrow,
.carousel-btn,
.carousel-indicators-custom button,
.sidebar button,
.news-tab-button {
    cursor: inherit !important;
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
    }
}

.click-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: ripple 0.4s ease-out forwards;
    pointer-events: none;
    z-index: 9999;
}

@keyframes ripple {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(8);
    }
}

/* === 游標自訂 === */

::selection {
    color: #FFF;
    background: #000000;
}