.ay_l_btm {
    position: fixed;
    right: -2px;
    top: 30%;
    writing-mode: vertical-lr;
    text-orientation: upright;
    z-index: 1001;
    border-radius: 8px 0px 0px 8px;
    background: #000;
    border: 1px solid #fff;
}
.ay_l_btm svg {
    margin-top: -2px;
    max-width: 38px;
}
.ay_l_btm span {
    color: #fff;
    font-size: 15px !important;
    padding: 10px;
    display: block;
    font-weight: 600;
    letter-spacing: 2px;
}
.ay_l_btm a {
    color: #333;
    position: absolute;
    margin: auto;
    display: block;
    width: 100%;
    height: 100%;
    top: 21px;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 5px;
    font-weight: 600;
    text-decoration: none;
}
a.ay_op_menu {
    position: absolute;
    top: -60px;
}
.ay_btn_memu {
    position: fixed;
    width: 100%;
    bottom: env(safe-area-inset-bottom, 0);
    left: 0px;
    display: block;
    z-index: 1000;
    border-top: 1px solid #333;
}
.ay_list_menu {
    display: grid;
    grid-auto-rows: auto;
    grid-column-gap: 0px;
    grid-template-columns: repeat(5, 1fr);
    background: #000000e0;
    padding: 8px 0px;
}
a.ay_m_item * {
    color: #333;
    line-height: 0;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
a.ay_m_item:hover {
    background-color: #000000e0;
}
a.ay_m_item img {
    width: auto;
    height: 100%;
    max-height: 30px;
    margin-bottom: 6px;
}
a.ay_m_item {
    text-align: center;
}
a.ay_m_item .ay_m_text {
    margin-top: -8px;
}
.ay_list_menu {
    display: none;
}
.ay_p_o_c i.fas.fa-arrow-alt-circle-right {
    position: relative;
    float: left;
    margin-right: 6px;
    font-size: 18px;
    padding-top: 7px;
}
@media only screen and (max-width: 1024px) {
    .ay_list_menu {
        display: grid !important;
    }
    .ay_l_btm {
        display: none;
    }
}
@media only screen and (max-width: 480px) {
    a.ay_m_item * {
        font-size: 12px;
    }
}
.ay_p_hide {
    padding-top: 0!important;
}
.ay_p_o {
    height: 0;
    width: 100%;
    position: fixed;
    padding-top: 80px;
    top: 0;
    left: 0;
    background-color: #000;
    overflow-x: hidden;
    transition: 0.5s;
    opacity: 0;
    z-index: -999;
}
.ay_p_o_c {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1024px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.ay_logo {
    position: absolute;
    left: 20px;
    bottom: 15px;
}
.ay_logo img {
    max-width: 140px;
}
.ay_sitemap_box h3,
.ay_sitemap_box h3 a {
    color: #fff !important;
    font-size: 18px !important;
    margin-bottom: 0 !important;
    border-bottom: 1px dotted!important;
    padding-bottom: 10px!important;
    font-weight: 600!important;
}
.ay_sitemap_box ul {
    list-style-position: unset;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    margin-top: 8px !important;
}
div#ay_Nav .ay_p_o_clist {
    grid-column-gap: 20px;
    grid-row-gap: 0px
}
.ay_sitemap_box li {
    list-style: square;
    color: #fff;
}
.ay_sitemap_box a {
    font-size: 16px !important;
    color: #eaeaea !important
}
.ay_sitemap_box li a {
    padding-left: 0 !important;
}
.ay_sitemap_box h3 a {
    color: #fff!important;
}
.ay_p_o a {
    padding: 4px;
    text-decoration: none;
    font-size: 24px;
    color: #333;
    display: block;
    transition: 0.3s;
    font-weight: 600;
}
.ay_p_o a:hover,
.ay_p_o a:focus {
    color: #f1f1f1;
}
.ay_p_o .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}
.ay_p_o_clist {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 60%;
}
.ay_m_text p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    color: #fff;
}
div#ay_Nav ul {
    grid-auto-rows: auto;
    width: 100%;
}

div#ay_Nav h3 a {
    font-size: 14px;
    font-weight: 600;
}
div#ay_Nav li a {
    font-size: 12px;
    line-height: 100%;
    font-weight: 400;
}
div#ay_Nav li a:hover {
    color: #c0ab8e;
}
@media screen and (max-width: 1024px) {
    .ay_p_o {
        padding-top: 0;
    }
    .ay_p_o_clist {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px 60px 20px;
    }
}
@media screen and (max-height: 450px) {
    .ay_p_o a {
        font-size: 20px
    }
    .ay_p_o .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}
/*menu*/
#ay_m_box {
    display: none;
}
a.ay_m_item label {
    position: absolute;
    top: 54%;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: -30px auto 0 auto;
    cursor: pointer;
    z-index: 9996;
}
a.ay_m_item label div {
    position: relative;
    top: 0;
    height: 4px;
    background-color: #fff;
    margin-bottom: 6px;
    transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width, 0.3s ease right;
    border-radius: 2px;
}
a.ay_m_item label div:first-child {
    transform-origin: 0;
}
a.ay_m_item label div:last-child {
    margin-bottom: 0;
    transform-origin: 30px;
}
a.ay_m_item label div:nth-child(2) {
    right: 0;
    width: 30px;
}
#ay_m_box:checked+label div:first-child {
    top: -4px;
    transform: rotateZ(45deg);
}
#ay_m_box:checked+label div:last-child {
    top: 6px;
    transform: rotateZ(45deg);
}
#ay_m_box:checked+label div:nth-child(2) {
    width: 41px;
    top: 1px;
    right: 6px;
    transform: rotateZ(-45deg);
}
.ay_p_o_b {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
}
.ay_p_o_c_b {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ay_p_o_c_b_box {
    width: 100%;
    text-align: center;
}
.booking_pc_btn {
    padding: 40px;
}
.booking_pc_btn ul {
    margin-left: 0;
    padding-left: 0;
}
.booking_pc_btn h6 {
    font-size: 26px!important;
}
.booking_pc_btn li {
    padding: 2px 0;
    margin-bottom: 20px;
}
.booking_pc_btn li a,
.booking_pc_btn li {
    font-size: 16px!important;
    line-height: 150%;
    color: #fff;
    font-weight: 600!important;
}
.booking_pc_btn .section-title.white {
    border-bottom: 1px solid #fff;
    padding-bottom: 50px;
}
.ay_p_two_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 1em;
    grid-column-gap: 1em;
}
.ay_p_one_box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 1.5em;
    grid-column-gap: 1em;
}
a.ay_box.item {
    font-size: 12px;
    text-decoration: none;
    color: #fff;
    border: 1px dashed;
    min-height: 80px;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 300px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    border-radius: 4px;
    line-height: 150%;
    padding: 10px 0px;
}
a.ay_box.item span {
    font-size: 14px;
    font-weight: 600;
}
.closebtn {
    position: absolute;
    top: 10%;
    right: 10%;
    margin-left: 50px;
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 40px;
    color: #333;
    display: block;
    transition: 0.3s;
    font-weight: 600;
}
.ay_p_o_c_b_box h6 {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 10px;
    margin-top: 0px;
    padding-top: 0px;
    color: #fff;
}
.ay_p_o_c_b_box p {
    font-size: 14px;
}
@media screen and (max-width: 991px) {
    .ay_p_two_box {
        grid-template-columns: repeat(1, 1fr);
    }
    .booking_pc_btn {
        padding: 20px 40px;
    }
}
/* --- 手風琴選單樣式 --- */
.ay_sitemap_box h3 {
    cursor: pointer;
    user-select: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.ay_sitemap_box h3:hover {
opacity: 0.8;
}
.ay_sitemap_box {
    display: block;
    width: 100%;
}

/* 右側的 + 號圖示 */
.ay_sitemap_box .ay-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* 預設隱藏子選單內容 */
.ay_sitemap_box .ay-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
    margin-top: 0 !important;
}

/* 展開時的樣式 */
.ay_sitemap_box.ay-active .ay-submenu {
    max-height: 500px; /* 足夠高以容納內容 */
    padding-top: 10px;
    margin-top: 8px !important;
}

/* 確保容器可以向下滾動，避免內容被截斷 */
.ay_p_o_c {
    justify-content: flex-start !important; /* 改為從上到下排列，確保展開後能滾動 */
    padding-top: 50px;
    padding-bottom: 100px; /* 留出底部空間 */
}

/* 調整手機版與平板排版，讓手風琴保持單欄或雙欄，不要太擁擠 */
@media screen and (max-width: 1024px) {
    .ay_accordion_container {
        grid-template-columns: repeat(1, 1fr); /* 手機與平板改為單欄，讓摺疊體驗更好 */
        padding: 30px 20px 100px 20px;
    }
}