.primary-color {
    /* 背景主色 */
    background-color: rgb(33, 42, 90);
    /* background-image: url(./images/bg.jpg); */
    /* background-size: auto; */
    /* background-color: rgb(168, 36, 36); */
    background-attachment: fixed;
    /* background-color: #D4145A; */

}

@media (max-width:768px) {
    .primary-color {
        background-image: none;
    }
}

.secondary-color {
    /* 次色 */
    background-color: rgb(93, 26, 188);
    /* background-color: #ED1E79; */

}

.secondary-color2 {
    /* 次色 */
    background-color: rgb(61, 53, 53);
    background-color: #794CA1;
    /* background-color: plum; */
    /* background-color: #c356d1; */
}

.bg-pageBtn-box {
    background-color: #5685D1;
    /* background-color: rgb(161, 27, 27); */
    background-color: #794CA1;
    /* background-color: #5685D1; */
    /* border: #ffffff 3px solid; */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bg-btn {
    background: rgb(2, 0, 36);
    background: linear-gradient(0deg, rgba(2, 0, 36, 1) 0%, rgba(181, 30, 30, 1) 35%, rgba(218, 36, 36, 1) 63%, rgba(255, 0, 0, 1) 100%);
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* background-image: url(./images/card.png);
        background-position: center;
        background-size: contain;
        aspect-ratio: 10/4; */
}

.bg-btn-active {
    background-color: #D4145A;

}

.bg-main {
    /* background-image: url(./images/bg.jpg); */
    /* background-color: #794CA1; */
    /* background-color: #432b97; */
    border: orange 0.2rem solid;
    margin-top: 1rem;
    margin-bottom: 1rem;
    /* border-top: 0 orange solid; */
    /* border-left: orange 0.5rem solid; */
    /* border-right: orange 0.5rem solid; */
    /* glass  */
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    /* border-radius: 16px; */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* height: 1vh; */
}

.btn-title {
    display: block;
}


strong {
    /* 字重用強調色 */
    color: yellow;
    /* border-bottom: #ff1395 10px solid; */
    /* font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; */
    /* font-weight: 600; */
}

strong2 {
    /* 字重用強調色 */
    color: rgb(0, 255, 132);
    /* border-bottom: #ff1395 10px solid; */
    /* font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; */
    /* font-weight: 600; */
}







/* ------main------ */
.main-box .box {
    /* border: 1px white solid; */


}

.main-box .box .subtitle-box {
    border-left: 0.4rem solid whitesmoke;
    /* height: 2.5rem; */
}

.main-box .box .subtitle-box h2 {
    /* background: #000; */
    margin-left: 0.5rem;
    text-shadow: 3px 3px 2px black;
}



.main-box {
    margin-top: 1.2rem;
    /* border: 15px solid red; */
    border-radius: 0.5rem;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0rem 0.1rem 0.5rem rgb(58, 46, 58);
    border: white 1.5px solid;


}

.main-box:hover {
    /* scale:1.02; */
    /* transition: 0.3s ease-in-out; */
}

.main-box p {
    font-weight: bold;
    font-size: 1.5rem;
    /* background-color: black; */
    /* background-color: rgb(94, 29, 94); */
    background-color: #4b085c;

    padding: 1rem;
    text-align: center;
    letter-spacing: 2px;

    /* effect */
    /* border: orange 3px dashed; */
    border: white 3px solid;

    max-width: 90%;

}

@media (max-width:768px) {
    .main-box p {
        text-align: justify;
        font-size: 1.3rem;
        line-height: 2rem;
        border: none;
        max-width: 100%;
        text-align: center;

    }

    ul {
        padding: 0;
    }
}

.main-box img {
    /* text-align: center; */
    width: 100%;
    max-width: 100%;

    height: auto;
    /* aspect-ratio: 4/19; */
    object-fit: cover;
}

.section-box {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    /* justify-items: center; */
    /* align-items: center; */

}

.inner-box {
    border: #ff1395 solid 5px;
}

.small-box {
    width: auto;
    height: auto;
    max-height: auto;
    background-color: #ff1395;
    aspect-ratio: 1/1;
    border: 2px solid #ddd;
    /* margin: 1rem; */

}



/* ------main-END------ */
/* 注意事項 */
.list-box {
    /* border: red 3px solid; */

    /* padding: 0rem 0.5rem 0rem 0rem; */
}

.list-box ul {}

.list-box ul li {
    font-size: 1.5rem;
    list-style: none;
    /* letter-spacing: 0.5rem; */
    line-height: 2rem;
    padding: 1rem 0rem;

}

@media (max-width:768px) {
    .list-box {
        /* padding: 0rem 0.1rem 1rem 1rem; */
        padding-top: 1rem;
        padding-right: 0.4rem;
        /* margin-top: 1rem; */
    }

    .list-box ul li {
        /* padding: 0; */
        font-size: 1rem;
        padding: 0rem 0rem 1rem 1rem;
        line-height: 1.5rem;
        letter-spacing: 0.2rem;

    }
}

.list-box ul li img {
    max-width: 20px;
    height: auto;
    align-items: center;
    margin-bottom: 8px;
    margin-right: 10px;
}

/* ------按鈕------ */
.object-box {
    width: 100%;
    display: inline-block;
    margin: auto;
    align-items: center;
    justify-content: center;
    /* margin-top: 1rem; */
    /* border: 15px solid red; */
    /* border-radius: 15px; */
    /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
    margin: 0;
    padding: auto;

}

.main-boxBtn {
    /* background-image: url(./images/board.png); */
    /* width: 600px; */
    width: 10dvw;
    /* height: 240px; */
    background-position: center;
    /* border: 3px solid rgb(97, 16, 16); */
    z-index: -10;
    /* background-color: rgb(121, 118, 118); */
    text-align: center;
    margin: auto;
    /* justify-content: center; */
    background-image: url(./images/card.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    box-shadow: 2px 2px 10px black;


}

.main-boxBtn a {
    font-weight: bold;
    font-size: 2rem;
    color: rgb(32, 43, 41);
    text-decoration: none;
    margin: auto;
    line-height: 90px;

}

.main-boxBtn a:hover {

    /* color: white; */
    /* transition: 0.5s ease-in-out; */


}

.main-boxBtn:hover {
    scale: 0.9;
    font-size: 2rem;

    /* color: white; */
    background-color: red;
    text-decoration: none;
    margin: auto;
    /* line-height: 90px; */
    transition: 0.5s ease-in-out;

}



/* 帶圖小標 title*/
.title-box {
    margin: auto;
    width: 90%;
    height: 10dvh;
    /* border: 3px solid purple; */
    display: flex;
    justify-content: center;
    /* background-image: url(./images/card.png); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.title {
    text-align: center;

    margin: auto;
    width: 30%;
    font-size: 2rem;
    height: 3rem;


}

.title h2 {
    font-size: 2.5rem;
    color: aliceblue;
    font-weight: bold;
    text-stroke: 1.5px blue;
    text-shadow: 0px 2px 3px black;


}

@media (max-width: 768px) {
    .title-box {
        margin: auto;
        width: 90%;
        height: 8dvh;
        /* border: 3px solid purple; */
        display: flex;
        justify-content: center;
        /* background-image: url(./images/card.png); */
        background-size: cover;
        background-repeat: no-repeat;
    }

    .title {
        text-align: center;

        margin: auto;
        width: auto;
        font-size: 2rem;
        height: 3rem;
        background-image: none;
    }

    .title h2 {
        font-size: 2rem;
        /* font-weight: bold; */
        color: aliceblue;
        text-shadow: 3px 3px 2px black;
    }
}


/* 背景滿版 */
body {
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* 主視覺區塊 */
.top-img-box {
    overflow: hidden;
}

.top-img-box img {
    width: 100%;
}

.top-img-box .pc {
    display: inline-block;
}

.top-img-box .mb {
    display: none;
}

@media (max-width: 768px) {
    .top-img-box .pc {
        display: none;
    }

    .top-img-box .mb {
        display: inline-block;
    }
}

/* 玻璃立體按鈕 */
.glass-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.glass-btn.active {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* 內容圖片比例 */
.content-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 特約網咖列表 */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.address-card {
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.address-card h5 {
    font-weight: bold;
}

.address-card a {
    color: inherit;
    text-decoration: none;
}

/* 回到頂部按鈕 */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.3s ease, visibility 0.5s;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#backToTop:hover {
    transform: scale(1.1);
}

/* 頁尾 */
.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.8rem;
    color: #bbb;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: white;
    transform: scale(1.2);
}

.footer {
    background-color: #000;
    color: #777;
    font-size: 0.9rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-divider {
    width: 2px;
    height: 50px;
    background-color: rgb(158, 158, 158);
}

.marquee {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
