@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&family=Noto+Sans+TC&display=swap");

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
    /* 不累加邊框與內距 */
}

/* 捲軸滑動效果 */
/* html,body { 
	scroll-behavior: smooth;
} */
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, Arial;
}

:root {
    /* 灰階 */
    --light_grey: #ccc;
    --grey: #999;
    --deep_grey: #444;
    /* 主色調 */
    --major-color: #f2edf0;
    --major-color2: #e6ece5;
    --major-color3: #ecf0f4;
    /* 輔助色調 */
    --lesser-color1: #bf9899;
}

img {
    display: block;
    width: 100%;
}

a {
    display: inline;
    color: var(--deep_grey);
    text-decoration: none;
    /* 取消a預設底線 */
}

strong {
    background-color: #d8f0b3;
    color: #131313;
    font-weight: 600;
    letter-spacing: 1.8px;
}

.a_bottom {
    display: inline;
    font-weight: 700;
    padding-bottom: 2px;
    border-bottom: #f0a10d 4px solid;
}

/* ===== 全局設定 ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #fff;
}

/* ===== Header 基礎設定 ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    z-index: 1000;
    background: rgba(243, 243, 242, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Nav 主容器 ===== */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    width: 90%;
    max-width: 1800px;
}

.nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(243, 243, 242, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: -1;
}

/* ===== Logo ===== */
.nav__logo img {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav__logo:hover img {
    transform: scale(1.05);
}

/* ===== Menu 主選單 ===== */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 2.4vw;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== Menu 項目 ===== */
.nav__item {
    position: relative;
}

.nav__link {
    text-decoration: none;
    color: rgba(113, 113, 113, 0.9);
    font-size: 1rem;
    letter-spacing: 2px;
    transition: color 0.3s ease-in-out,
        letter-spacing 0.4s ease-in-out;
    padding: 8px 0;
    display: inline-block;
    font-weight: 400;
}

/* hover 時淡入白亮效果 */
.nav__link:hover {
    color: rgba(228, 139, 14, 0.925);
    letter-spacing: 2.4px;
}


/* ====== Mega Menu 動畫用的狀態 (Apple 下滑風格) ====== */
.mega-menu {
    position: absolute;
    z-index: 90;
    top: 64px;
    left: 0;
    width: 100%;
    transform: translateY(-10px);
    background: rgba(243, 243, 242, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 40px 8vw;
}

.mega-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    background: rgba(243, 243, 242, 0.6);
    z-index: -1;
}

.mega-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ====== Mega Content ====== */
.mega-content {
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(8px);
}

.mega-content.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* === 預設隱藏狀態 === */
.mega-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s ease, transform .4s ease;
}

/* === 顯示時 === */
.mega-content.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* === 子項目動畫設定 === */
.mega-content.is-active .column ul li,
.mega-content.is-active .article-mega__main,
.mega-content.is-active .article-mega__side {
    opacity: 0;
    transform: translateY(15px);
    animation: itemIn 0.5s ease forwards;
}

/* 子項目的延遲（依順序淡入） */
.mega-content.is-active .column ul li:nth-child(1) { animation-delay: 0.1s; }
.mega-content.is-active .column ul li:nth-child(2) { animation-delay: 0.2s; }
.mega-content.is-active .column ul li:nth-child(3) { animation-delay: 0.3s; }
.mega-content.is-active .column ul li:nth-child(4) { animation-delay: 0.4s; }

.mega-content.is-active .article-mega__main { animation-delay: 0.15s; }
.mega-content.is-active .article-mega__side { animation-delay: 0.3s; }

/* === 子項目動畫關鍵幀 === */
@keyframes itemIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ====== Column 區塊 ====== */
.column {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.column h4 {
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.column ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.column li {
    width: 22%;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.8);
    transition: color 0.25s ease;
}

.column li:hover {
    color: rgb(129, 41, 41);
}

.column ul {
    display: flex;
}

.column li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22%;
}

.column li img {
    width: 50%;
    position: relative;
}

.eq_m {
    display: flex;
    width: 100%;
}

.eq_m h5{
    position: relative;
    right: -30%;
    width: 100%;
    line-height: 1.6;
}

.product-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h5 {
    display: flex;
    flex-direction: column;
    position: relative;
    font-size: .8rem;
    letter-spacing: 1px;
    right: 10%;
    top: 25%;
    width: 45%;
}

.h5 h5 {
    padding: 2%;
}



/* === mega-content (文章區塊) === */
#mega_article {
    display: none;           /* 🚫 預設隱藏 */
    opacity: 0;              /* 🚫 預設透明 */
    flex-direction: column;
    transition: opacity 0.4s ease;  /* ✅ 加上淡入動畫 */
}

/* ✅ 顯示狀態 */
#mega_article.is-active {
    display: flex;
    opacity: 1;
}

.article-tag {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: end;
    padding: 0% 2% 2%;
}

.article-tag h5 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
}

.article-tag div {
    content: "";
    display: block;
    /* ✅ 讓它成為區塊元素 */
    width: 77%;
    /* ✅ 給它寬度 */
    height: 0;
    /* ✅ 不需要高度，只畫底線 */
    border-bottom: 0.75px solid rgb(49, 49, 49);
}

.article-tag p {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
}

.article-mega {
    display: flex;
    justify-content: space-around;
    padding: 2%;
}

.article-mega__main {
    width: 50%;
}

.article-mega__title {
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: 700;
}

.article-mega__excerpt {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
    margin: 2% auto;
}

.article-mega__image {
    max-height: 185px;
    max-width: 580px;
    overflow: hidden;
    border-radius: 8px;
}

.article-mega__side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
}

.article-category__list li {
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 500;
    margin: 0% auto 4%;
    padding-bottom: 2%;
    border-bottom: #9f4511 2px solid;
}

.article-category_tag {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 4% 0;
}

.article-category_tag h5 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 4px;
}

.article-category_tag div {
    content: "";
    display: block;
    /* ✅ 讓它成為區塊元素 */
    width: 50%;
    margin: 0 auto;
    /* ✅ 給它寬度 */
    height: 0;
    /* ✅ 不需要高度，只畫底線 */
    border-bottom: 0.75px solid rgb(49, 49, 49);
}

.article-category_tag p {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2px;
}

.article-mega__more {
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.article-mega__more span {
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.8s ease;
    width: 85%;
}

.article-mega__more:hover span {
    transform: translateX(100%);
    /* 滑動距離 */
}




/* ====== 響應式處理 ====== */
@media (max-width: 1024px) {
    header {
        height: 56px;
    }

    .nav__menu {
        gap: 1.5rem;
    }

    .nav__link {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 4vw;
    }

    .nav__menu {
        display: none;
    }

    /* hamburger 或 mobile menu 可在此加入 */
}


.breadcrumb {
    display: flex;
    margin-top: 16vh;
    margin-bottom: 4vh;
    margin-left: 8vw;
    width: 50vw;
}

.breadcrumb-item {
    color: #949494;
    font-size: 0.8vw;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0 2%;
}

.footer {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: #444;
}

.footer a {
    color: #f8f8f8;
}

.footer__info {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #f8f8f8;
}

.footer__nav {
    width: 20vw;
}

.footer__nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer__nav ul li {
    margin: 4vh auto;
    font-size: 1.5vw;
}

.footer__nav ul li img {
    width: 10vw;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    padding: 0 10vw;
    border-left: 0.25vw #f8f8f8 solid;
}

.footer__company {
    margin: 3vh 0 20vh;
}

.footer__company--ch {
    font-size: 2.8vw;
    margin: 0 0 4vh;
    letter-spacing: 5px;
}

.footer__company--en {
    font-size: 2.8vw;
    letter-spacing: 8px;
}

.footer__address {
    margin: 1vh 0;
    font-size: 1.3vw;
    letter-spacing: 2px;
}

.footer__address p {
    margin: 2vh 0;
}

.Yuuhakuchi {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 10vh;
    text-align: center;
    letter-spacing: 2px;
    background-color: #f8f8f8;
}

body.no-scroll {
    overflow: hidden;
    /* 禁止滾動 */
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(248, 248, 248, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: space-around;
    padding: 6vw 10vw;
    z-index: 2;
    overflow-y: hidden;
}

.navigation--hidden {
    display: none;
    opacity: 0;
}

.navigation__buttons {
    width: 40vw;
    display: flex;
    flex-direction: column;
}

.navigation__link {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 6vh 0vh;
}

.navigation__text--ch {
    font-size: 2.2vw;
    letter-spacing: 2px;
    margin-bottom: 1vh;
}

.navigation__text--en {
    font-size: 1.2vw;
    letter-spacing: 4px;
    margin-bottom: 1vh;
}

.navigation__content {
    width: 60vw;
    display: flex;
    flex-direction: column;
    padding-left: 10%;
    margin-top: 5vh;
    border-left: 3px solid rgba(47, 47, 47, 0.8);
}

.navigation__banner img {
    height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 510px;
    border-radius: 8px;
}

.navigation__info {
    margin-top: 10vh;
}

.navigation__title {
    font-size: 2.2vw;
    letter-spacing: 4px;
}

.navigation__contact {
    font-size: 1.2vw;
    letter-spacing: 2px;
    margin: 2vh 0;
}

.table {
    width: 80%;
    margin: 0 auto;
    border: 6px solid rgb(240, 238, 237);
    border-radius: 16px;
}

.table__head {
    background-color: #f3f3f3;
}

.table__head--sk100,
.table__head--sk180,
.table__head--sk160 {
    border: 1px solid #7b7b7b;
    background-color: #fed973;
}

.table__header {
    font-weight: bold;
    text-align: left;
    padding: 8px;
}

.table__header--sk100 {
    border: 1px solid #7b7b7b;
}

.table__body {
    background-color: #ffffff;
}

.table__body--sk100 {
    border: 1px solid #7b7b7b;
}

.table__row:nth-child(even) {
    background-color: #f9f9f9;
}

.table__row--sk100 {
    border: 1px solid #7b7b7b;
}

.table__row--sk100:nth-child(even) {
    background-color: #fed973;
}

.table__data {
    padding: 8px;
    border: 1px solid #7b7b7b;
}

.table__data--sk100 {
    border: 6px solid #7b7b7b;
}

.table--sk180,
.table--sk160 {
    font-size: 1vw;
    text-align: center;
}

.header {
    width: 100vw;
    margin: 0% auto;
}

.header__title {
    display: flex;
    justify-content: center;
    margin: 0% 6%;
    font-size: 3.5vw;
    font-weight: 500;
    letter-spacing: 5px;
    line-height: 1.5;
}

.header__content {
    margin: 10vh 0;
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__tag-list {
    margin: 0 8vw 0 10vw;
}

.header__tag-item {
    margin: 5vh auto;
}

.header__tag {
    letter-spacing: 3px;
}

.header__image {
    height: 450px;
    width: 820px;
    border-radius: 16px;
}

.section {
    width: 75vw;
    margin: 6% auto;
}

.section__imgs {
    width: 60%;
    margin: 0 auto 4%;
}

.section__title {
    font-size: 2vw;
    padding: 0 0 4vh 0;
    border-bottom: 3px solid #000;
    margin: 0 0 6vh 0;
}

.section__subtitle {
    font-size: 1.2vw;
    line-height: 1.5;
    letter-spacing: 2px;
    margin: 0 0 6vh 0;
}

.content-index {
    width: 70vw;
    margin: 2% auto;
    padding: 2% 2.6%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.6vw;
}

.content-index__heading {
    letter-spacing: 3px;
    font-weight: 700;
}

.content-index__list {
    margin: 2% auto 0%;
    letter-spacing: 0.1vw;
}

.content-index__list-item {
    font-size: 1vw;
    line-height: 2;
}

.content-index__item {
    margin: 3% 0;
    font-weight: 500;
    line-height: 1.2;
}

.content-index__sub-item {
    margin: 1% auto;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 400;
}

.content-index__sub-item::before {
    content: "";
    position: relative;
    margin-right: 0.5vw;
    width: 10px;
    height: 10px;
    background-color: #9f4511;
    border-radius: 50%;
}

.article {
    margin: 2% auto;
}

.article__heading {
    color: #313131;
    font-size: 1.2vw;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 4% auto 0%;
}

.article__text {
    color: #313131;
    font-size: 1.2vw;
    letter-spacing: 0.2vw;
    font-weight: 400;
    line-height: 1.6;
    margin: 1% auto 0%;
}

.article__text--fomula {
    padding: 2% 2%;
    background-color: rgba(237, 181, 11, 0.5);
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 3px;
}

.article__faq {
    background-color: rgba(237, 181, 11, 0.2);
    border-radius: 16px;
    padding: 2% 4%;
    margin: 2% auto;
}

.article__list {
    margin: 3% auto;
}

.article__list-item {
    font-size: 1vw;
    line-height: 2;
}

.article__item {
    font-size: 1vw;
    letter-spacing: 2px;
    font-weight: 400;
    line-height: 2;
    position: relative;
}

.article__item::before {
    content: "";
    position: relative;
    width: 10px;
    height: 10px;
    background-color: #9f4511;
    border-radius: 50%;
}

.article ul {
    margin: 4% auto;
    padding: 3vh 3vw 3vh;
    background-color: rgba(237, 181, 11, 0.5);
    border-radius: 0.6vw;
    font-weight: 500;
    letter-spacing: 0.1vw;
}

.article ul .content-index__item {
    color: #313131;
    font-weight: 400;
    letter-spacing: 0.08vw;
    line-height: 1.2;
    margin: 1% 0 0;
}

.cta-going {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5% auto;
    padding: 3% 1%;
}

.cta-going__heading {
    font-size: 1.8vw;
    letter-spacing: 3px;
    font-weight: 500;
    color: #393939;
    margin: 4% auto;
    padding: 0 0 1% 0;
    border-bottom: #9f4511 4px solid;
}

.cta-going__product {
    display: flex;
    width: 100%;
    justify-content: center;
}

.cta-going__link {
    letter-spacing: 2px;
    font-weight: 700;
    color: #ece4de;
    background-color: #9f4511;
    padding: 2%;
    margin: 2%;
    border-radius: 4px;
}

.cta-reading {
    font-weight: 700;
    letter-spacing: 0.03vw;
}

.cta-reading__reading {
    font-size: 1.2vw;
    color: #1f8948;
    border-left: #9f4511 5px solid;
    padding-left: 0.6vw;
}

table {
    width: 100%;
    margin: 4% auto;
}

table th,
table td {
    padding: 8px 12px;
    text-align: center;
    /* 預設靠左 */
    border: 1.2px solid #9b9b9b;
    color: #444;
}

table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/*# sourceMappingURL=base.css.map */