.line {
    width: 24px;
    height: 24px;
    background: #fff;
    cursor: pointer;
    display: block;
    padding: 14px;
    position: fixed;
    top: 0px;
    right: 1px;
    z-index: 999;
}

.line .menu,
.line .menu::before,
.line .menu::after {
    background: #222;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    transition: background ease 0.15s, top ease 0.15s 0.15s, transform ease 0.15s;
    width: 20px;
}

.line .menu {
    left: 18px;
    top: 27px;
}

.line .menu::before {
    top: -6px;
}

.line .menu::after {
    top: 6px;
}

/*
點選選單變叉叉
*/
#menu:checked + .line .menu {
    background: transparent;
}

#menu:checked + .line .menu::before {
    transform: rotate(45deg);
}

#menu:checked + .line .menu::after {
    transform: rotate(-45deg);
}

#menu:checked + .line .menu::before,
#menu:checked + .line .menu::after {
    top: 0;
    transition: top ease 0.15s, transform ease 0.15s 0.15s;
}

/*
選單開合
*/
#menu:checked ~ .menu-list {
    display: block;
    width: 300px;
    height: 762px;
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -8px;
    /* right: -215px; */
    left: 70%;
    bottom: auto;
    /* width: 300px; */
    /* height: 762px; */


}

.menu-list {
    width: 60px;
    height: 100vh;
    right: 75px;
    padding-top: 60px;
    position: fixed;
    z-index: 1;
    transition: all 0.3s;
    overflow: hidden;
    display: none;
}

.menu-list a {
    color: #000000; /* 連結也設為非藍色 */
    text-decoration: none;
}

/*
選單向外推
*/
.menu-list ul {
    list-style: none;

    padding: 0;
    margin-top: 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 260%;

    vertical-align: middle;
    color: #000000;


}


.menu-list ul > li {
    display: block;
    width: 100px;
}

/*
隱藏核許框
*/
input#menu {
    display: none;
}


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

.menu-item {
    position: relative;
}

.menu-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    width: 124px;
    height: 41px;
}

.arrow {
    font-size: 14px;
    margin-left: 31px;
    position: fixed;
    right: 21px;
    top: 226px;
    color: #70757C;
    display: inline-block;
    width: 12px;
    height: 12px;
    border-left: 1px solid #70757C;
    border-bottom: 1px solid #70757C;
    transform: rotate(45deg);
    transition: transform 0.2s;
    margin-left: 8px;
    vertical-align: middle;
    transform: rotate(-45deg)


}

.has-submenu .submenu {
    display: none;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    position: static;
}

.has-submenu.open .submenu {
    display: block;
    background-color: #EEEEEE;
    width: 300px;
    position: relative;
    top: -6px;
    left: -24px;
}

.has-submenu.open > .menu-title {
    color: #ED6B1A;
}


.submenu li {
    color: #222;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    line-height: 3;
    letter-spacing: 0;
    position: relative;
    left: 28px;
}

.submenu li:hover {
    background: #e0e0e0;
}

.login-btn {
    width: 165px;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 400;
    background-color: #ED6B1A;
    color: #FFFFFF;
}


.register-btn {
    width: 165px;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 400;
    background: none !important;
    color: #F1771A !important; /* 橘色文字 */
    border: none !important;
    box-shadow: none !important;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.register-btn:active,
.register-btn.active {
    background: #F1771A !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    transition: background 0.2s, color 0.2s;
}


.lan-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    vertical-align: middle;
}


.menu-list-area {
    position: relative;
    top: 20px;
}


.menu-list-area li a:hover {
    background-color: #EEEEEE;
}

#no-logging {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 200px;
    height: 73px;
    padding-left: 33px; /* 跟上面一致，這樣就會對齊 */
    position: relative;
    top: 15px;
}

li a {
    display: flex;
    align-items: center;
    white-space: nowrap; /* 不換行 */
}