.wrapper {
    background: url(../images/page_bg_02.png) no-repeat right bottom;
}

.page-content {
    display: grid;
    grid-template-columns: 25% 75%;
    width: 100%;
    margin: 0 auto;
    font-size: large;
    line-height: 30px;
    background: url(../images/page_bg_01.png) no-repeat left top;
    min-height: calc(100vh - 179px);
}

/*  ======= 麵包屑路徑 START ======= */
.page-path {
    font-size: small;
    color: #104289;
    width: 98%;
    justify-content: end;
    text-align: right;
    padding-top: 30px;
}

.page-path a {
    text-decoration: none;
    color: #104289;
}

/* ======= 麵包屑路徑 END ======= */

/* ======= 左邊選單 START ======= */

/* 啟用中的選項 */
.page-menu-actived {
    height: 45px;
    background-color: #ffe100;
}

/* 主選單 */
.main-menu {
    background-color: #baefff;
    border-top: #baefff 1px solid;
}

.main-menu h2 {
    background-color: #104289;
    color: #fff;
    margin: 0;
    height: 55px;
    padding: 20px 20px 10px;
}

/* 次選單 */
.sub-menu a {
    display: block;
    text-decoration: none;
    color: #104289;
    height: 45px;
    padding-top: 13px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bold;
}

.sub-menu a:hover {
    color: #104289;
    background-color: #ffe100;
}

/* 選單項目 */
.sub-menu-item a {
    color: #104289;
    display: block;
    height: 45px;
    text-decoration: none;
    padding-top: 13px;
    padding-left: 20px;
    padding-right: 20px;
}

.sub-menu-item a:hover {
    color: #104289;
    background-color: #ffe100;
}

/* ======= 左邊選單 END ======= */

/* ======= 右邊標題 START ======= */
.kids-logo {
    /* border: 1px solid #e86817; */
    width: 70px;
    height: 35px;
    padding: 15px 15px 0px;
}

.page-title {
    background-image: url("../images/page_title.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* 保持圖片比例並覆蓋整個區域 */

    height: 67px;
    margin-left: 30px;

    display: grid;
    grid-template-columns: 9% 91%;
    width: 90%;
    /* place-items: start;
    justify-content: start; */
}

.page-title h2 {
    margin-top: 5px;
    padding: 15px 0px 0px;
    padding-left: 10px;
    color: #104289;
    max-width: 100%;
    /* border: 1px solid #17e886; */
    height: 35px;
}

/* ======= 右邊標題 END ======= */

/* ======= 關於我們 START ======= */
.page-about {
    display: grid;
    place-items: center;
    align-items: stretch;
    grid-template-columns: 50% 50%;
    grid-column-gap: 20px;
    width: 90%;
    margin: 30px auto;
    grid-template-rows: auto;
    justify-content: end;

    /* border: 1px solid #8d17e8; */
}

.page-about-pic {
    margin: 10px;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;

    /* border: 1px solid #e86817; */
}

.page-about-text {
    margin: 10px 0 10px 0;
    letter-spacing: 1px;
    line-height: 30px;
    width: 100%;
    padding-left: 10px;
    background-color: #c7dce3;

    /* border: 1px solid #e86817; */
}

.page-about-contact {
    display: grid;
    place-items: start;
    align-items: stretch;
    grid-template-columns: 100%;
    width: 100%;
    margin: 30px 30px 30px 0;
    grid-template-rows: auto;
    justify-content: end;
}

.page-about-contact-pic {
    display: grid;
    place-items: start;
    align-items: stretch;
    grid-template-columns: 50% 50%;
    width: 90%;
    grid-template-rows: auto;
    /* border: 1px solid #3d17e8; */
    /* margin: 0 auto; */
}

.page-about-contact-map {
    /* border: 1px solid #e86817; */
    padding-top: 20px;
    padding-left: 50px;
    padding-right: 100px;
    padding-bottom: 20px;
}

.page-about-contact-text1 {
    /* border: 1px solid #e86817; */
    margin: 10px 0 10px 0;
    padding-left: 50px;
    /* letter-spacing: 1px; */
    font-weight: bold;
    width: 90%;
}

.page-about-contact-text2 {
    /* border: 1px solid #e86817; */
    padding-top: 16px;
    padding-left: 100px;
}

.page-about-contact hr {
    width: 100%;
    background-color: #c7dce3;
}

.page-about-line-qrcode {
    /* border: 1px solid #e86817; */
    width: 250px;
    height: 250px;
    margin-top: -20px;
}

.page-about-dept {
    width: 90%;
}

.page-about-dept-text {
    /* border: 1px solid #e86817; */
    padding-left: 50px;
    padding-top: 30px;
}

.page-about-dept-pic {
    display: grid;
    place-items: center;
    align-items: stretch;
    grid-template-columns: 33% 33% 33%;
    width: 100%;
    grid-template-rows: auto;
    padding: 30px;
}

/* ======= 關於我們 END ======= */

/* ======= 服務項目 START ======= */
.page-service {
    display: grid;
    place-items: center;
    align-items: stretch;
    grid-template-columns: 100%;
    width: 100%;
    margin: 30px 30px 30px 0;
    grid-template-rows: auto;
    justify-content: end;
}

.page-service-pic-2 {
    display: grid;
    place-items: center;
    align-items: stretch;
    grid-template-columns: 50% 50%;
    width: 95%;
    grid-template-rows: auto;
    justify-content: end;
    background-color: #c7dce3;
    margin-left: 10px;
    padding: 10px;
}

.page-service-text {
    margin: 10px 0 10px 0;
    letter-spacing: 1px;
    line-height: 30px;
}

.page-service-list {
    display: grid;
    place-items: center;
    align-items: stretch;
    grid-template-columns: 25% 25% 25% 25%;
    grid-column-gap: 20px;
    width: 90%;
    margin: 30px auto;
    grid-template-rows: auto;
    justify-content: end;
}

/* ======= 服務項目 END ======= */

/* ======= 作品介紹 START ======= */
.page-list {
    display: grid;
    place-items: center;
    align-items: center;
    grid-template-columns: 25% 25% 25% 25%;
    width: 100%;
    margin: 30px 30px 30px 0;
    grid-template-rows: auto;
    justify-content: end;
}

.page-list-pic {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    margin-top: auto;
    text-align: center;
}

.page-list-sn {
    background-color: #c7dce3;
    padding: 10px;
    text-align: center;
}

.page-list2 {
    display: grid;
    place-items: center;
    grid-template-columns: 50% 50%;
    width: 100%;
    margin: 30px 30px 30px 0;
    grid-template-rows: auto;
    justify-content: end;
}

/* ======= 作品介紹 END ======= */

/*手機板 */
@media (max-width: 768px) {
    .wrapper {
        background: none;
    }

    .page-content {
        background: none;
    }

    /* ======= 右邊標題 START ======= */
    .page-path {
        width: 90%;
        /* color: #ffe100; */
    }

    /* .page-path a {
        color: #ffe100;
    } */

    .kids-logo {
        /* border: 1px solid #e86817; */
        width: 90%;
        height: 35px;
    }

    .page-title {
        grid-template-columns: 20% 80%;
        margin-left: 10px;
    }

    .page-title h2 {
        padding-left: 40px;
        /* color: #ffe100; */
        font-size: larger;
    }

    /* ======= 右邊標題 END ======= */

    /* ======= 左邊選單 START ======= */
    .main-menu h2 {
        height: 85px;
        padding: 30px 20px 20px;
        font-size: large;
    }

    .sub-menu a {
        height: 85px;

    }

    .sub-menu:hover {
        height: 85px;
    }

    .sub-menu-item a {
        height: 85px;
        padding-left: 20px;
        padding-top: 25px;
    }

    /* ======= 左邊選單 END ======= */

    /* ======= 右邊關於我們 START ======= */
    .page-about {
        grid-template-columns: 100%;
        /* 在小螢幕上將列的寬度設為 100% */
        justify-content: start;
        /* 將內容置於左側 */
    }

    .page-about-text {
        font-size: 20px;
    }

    .page-about-contact {
        grid-template-columns: 100%;
        /* 在小螢幕上將列的寬度設為 100% */
        justify-content: start;
        /* 將內容置於左側 */
    }

    .page-about-contact-pic {
        grid-template-columns: 100%;
        /* 在小螢幕上將列的寬度設為 100% */
        justify-content: start;
        /* 將內容置於左側 */
        font-size: 15px;
    }

    .page-about-contact-text1 {
        padding-left: 10px;
        font-size: 15px;
    }

    .page-about-contact-text2 {
        padding-left: 10px;
        font-size: 15px;
    }

    .page-about-contact-map {
        padding-left: 10px;
        padding-right: 0px;
        width: 100%
    }

    .page-about-contact-map iframe {
        width: 100%;
    }

    .page-about-contact hr {
        width: 0px;
    }

    .page-about-dept-pic {
        grid-template-columns: 100%;
        /* 在小螢幕上將列的寬度設為 100% */
        justify-content: start;
        /* 將內容置於左側 */
    }

    /* ======= 右邊關於我們 END ======= */

    /* ======= 右邊服務項目 START ======= */
    .page-service {
        grid-template-columns: 100%;
        /* 在小螢幕上將列的寬度設為 100% */
        justify-content: start;
        /* 將內容置於左側 */
    }

    .page-service-list {
        grid-template-columns: 100%;
        /* 在小螢幕上將列的寬度設為 100% */
        justify-content: start;
        /* 將內容置於左側 */
    }

    /* ======= 右邊服務項目 END ======= */

    /* ======= 右邊作品介紹 START ======= */
    .page-list {
        grid-template-columns: 100%;
        /* 在小螢幕上將列的寬度設為 100% */
        justify-content: start;
        /* 將內容置於左側 */
    }

    .page-list2 {
        grid-template-columns: 100%;
        /* 在小螢幕上將列的寬度設為 100% */
        justify-content: start;
        /* 將內容置於左側 */
    }

    /* ======= 右邊作品介紹 END ======= */
}