* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--font_color);
    font-size: 16px;
}

main {
    margin-top: var(--head-height); /* 確保主體內容不被固定的 header 遮擋 */
    background-color: #EFEFEF;
}


/* 段落的小圓點 */

/* 段落的分隔線 */
.divider {
    /*width: 2px;*/ /* 分隔線的寬度 */
    background-color: #000; /* 分隔線的顏色 */
    height: 2px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}
/* 段落的分隔線 */

.MyBold{
    font-weight: bold;
    font-size: 24px;
    color: black;
}

.philosophy{
    padding-top: var(--block-Spacing);
    width: 100%;
}


.philosophy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px){


}

.about-us {
    display: flex; /* 使用 Flexbox 排列子元素 */

}

.about-us .image-container, 
.about-us .text-container {
    font-family: 'Zen Kaku Gothic New', sans-serif; /* 設定主字型 */
    flex: 1; /* 每個子容器佔 1 比例（50%） */
    max-width: 50%; /* 確保寬度限制為 50% */
    display: flex; /* 可選：讓內部元素也使用 Flexbox */
    align-items: center; /* 垂直置中 */
    justify-content: center; /* 水平置中 */
    overflow: visible; /* 防止溢出內容 */
}

.about-us .image-container {
    position: relative;
    display: inline-block;
}

.about-us .overlay {
    position: absolute;
    top: 3rem; /* 控制左上角的間距 */
    display: flex;
    align-items: center;
    /* margin: 2rem 0px 0px 2rem; */
}

.about-us .overlay-image {
    width:var(--paragraph-size);
    margin-right: 10px; /* 小圖與文字之間的間距 */
}

.text-container .text-background .text{
    margin-top: 8rem;
}

.about-us .text-container .text-background{
    position: relative;
    z-index: 2; /* 讓背景圖片位於文字下方 */
    color: #000; /* 根據背景圖片調整文字顏色 */
    width: 100%;
}

.text-container .text-background .text .title{
    font-size: 32px;
    font-weight: bold;
    margin-bottom:0px;
}

.about-us .text-container .text-background p{
    color: black; /* 確保文字顏色為全黑 */
    position: relative; /* 確保不受背景圖片影響 */
    z-index: 2; /* 優先顯示在背景之上 */
    letter-spacing: 4px;
    font-size: 24px;
    margin-bottom: 0px;
}

.background-image {
    position: absolute; /* 絕對定位，允許圖片溢出 */
    top: -3rem; /* 向上溢出 */
    left: -6rem;
    height: 110%; /* 放大圖片，製造溢出效果 */
    z-index: 1; /* 置於文字下方 */
    pointer-events: none; /* 防止背景圖片干擾點擊 */
}

.about-us .main-image {
    height: 500px;
    float: right;
    margin-right: 150px;
}

@media (max-width: 1250px){
    .about-us .main-image{
        float: left;
        margin-right: 0px;
        margin-left: 20px;
    }

    .background-image{
        top: -1rem;
        left: -3rem;
    }
    

    .text-container .text-background .text .title{
        font-size: 28px;
    }

    .about-us .text-container .text-background p{
        letter-spacing: 3px;
        font-size: 20px;
    }
    
    .text-background .MyBold {
        font-size: 20px;
    }

}

@media (max-width: 965px){
    .about-us .main-image{
        width:70%;
        height:unset;
        float:unset;
        margin-right:unset;
    }
}

.commitment{
    padding-top: 50px;
}

.product-grid {
    /* display: flex;
    justify-content: center;
    gap: 40px; */
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 1230px;
    margin: 95px auto 0;
    /* margin-top: 60px; */
}

.product-item {
    text-align: start;
    width: calc((100% - 13%) / 3);
}

.product-item img {
    /* width: 350px; */
    width:100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

@media (max-width: 1300px){
    .product-grid {
        margin: 60px 2rem 0px 2rem;
    }

}