@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

.navigation {
    grid-template-columns: 280px 1fr;
    transition: all ease 0.3s;
    padding: 6px 0;
}

.sticky .navigation {
    grid-template-columns: 240px 1fr;
    padding: 0;
}

.nav-header {
    max-width: 100%;
}

.nav-brand,
.nav-brand img {
    display: block;
}

.header_area,
.header_area.sticky {
    background: #FFF;
    box-shadow: 0 0 20px rgba(0 0 0 / 15%);
    padding: 0;
}

.main_header_area .container {
    max-width: 1560px;
    padding: 0 120px;
}

.stellarnav ul {
    font-family: 'Noto Sans TC', Microsoft JhengHei, sans-serif;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li>a,
.stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
    padding: 0 2px;
    line-height: 76px;
    height: 100%;
    color: #444;
    letter-spacing: .5px;
    display: block;
    font-weight: 500;
    margin: 0 12px;
    transition: all ease 0.3s;
}

.stellarnav>ul>li:last-of-type>a {
    margin-right: 0;
}

.stellarnav>ul>li>a:hover,
.stellarnav>ul>li.has-sub:hover>a:not(.dd-toggle) {
    color: #49a4dc;
}

.me_tp_features {
    display: none;
}

/*次分類*/
.sticky .stellarnav>ul>li.drop-left>ul,
.sticky .stellarnav>ul>li>ul {
    padding-top: 0;
}

.stellarnav li.drop-left ul ul,
.stellarnav ul ul ul {
    left: 100%;
    right: auto;
}

.stellarnav>ul>li.drop-left>ul,
.stellarnav>ul>li>ul {
    padding-top: 6px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.stellarnav li li.has-sub>a,
.stellarnav li li>a,
.stellarnav ul ul ul>li a {
    padding: 8px 12px;
    font-size: 15px;
}

.stellarnav li li a,
.stellarnav li li.has-sub>a,
.stellarnav.mobile li li.has-sub a {
    color: #666;
    transition: all 0.3s;
}

.stellarnav>ul>li>ul>li>a,
.stellarnav li li.has-sub>a,
.stellarnav ul ul ul>li a {
    border-left: 0px solid #29166f;
    transition: 75ms;
}

.stellarnav>ul>li>ul>li:hover>a,
.stellarnav ul ul ul>li:hover a {
    border-left: 2px solid #29166f;
}

.stellarnav li li a:hover,
.stellarnav li li.has-sub>a:hover,
.stellarnav.mobile li li.has-sub a:hover {
    color: #29166f;
}


/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    left: 0;
    width: 100%;
    position: fixed;
    padding: 20px;
}

.stellarnav.desktop li.bigMenu ul ul {
    top: 100%;
    left: 0;
    width: 100%;
    background: #efefef;
    height: auto;
    max-height: 300px;
    overflow: auto;
}

.stellarnav.desktop li.bigMenu ul ul li {
    margin: 0;
}

.stellarnav.hasBigMenu li.bigMenu li.has-sub>a:after {
    border-left: 6px solid transparent;
    border-bottom: unset;
    border-right: 6px solid transparent;
    border-top: 6px solid #898989;
    right: 5px;
}

/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */

/* 商品下拉超過30個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

#content {
    font-family: 'Poppins', 'Noto Sans TC', Microsoft JhengHei, sans-serif;
}

.main_part {
    width: 90%;
    max-width: 1330px;
    padding: 50px 0;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#content_main {
    margin: 0;
}

.bannerindex {
    position: relative;
    height: auto;
    font-family: 'Poppins', 'Noto Sans TC', Microsoft JhengHei, sans-serif;
    background: #6197bc;
}

.swiper-banner {
    position: static;
    margin: 0;
    height: auto;
    animation: fadein 2.5s;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.bannerindex .swiper-slide:before {
    content: "太陽能板\A打造未來穩定的綠色收入與環保價值";
    position: absolute;
    z-index: 1;
    color: #fff;
    font-size: 38px;
    letter-spacing: 0.05em;
    width: 100%;
    max-width: max-content;
    line-height: 150%;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1);
    filter: drop-shadow(2px 2px 16px rgba(0, 0, 0, .8));
    bottom: 47%;
    left: calc(28vw - 270px);
    white-space: pre;
}

.bannerindex .swiper-slide:after {
    content: "SANRONG ENERGY";
    position: absolute;
    z-index: 1;
    color: #fff;
    font-size: 18px;
    text-indent: 4px;
    font-weight: normal;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
    filter: drop-shadow(1px 1px 6px rgba(0, 0, 0, .8));
    width: 100%;
    max-width: max-content;
    top: 56%;
    left: calc(28vw - 270px);
}

.bannerindex .swiper-slide:last-of-type:before {
    content: "陽光下的財富\A太陽能帶來長期穩定收益";
    text-align: right;
    left: auto;
    right: calc(28vw - 270px);
}

.bannerindex .swiper-slide:last-of-type:after {
    left: auto;
    right: calc(28vw - 270px);
}

.bannerindex .swiper-slide.swiper-slide-active:before {
    animation: ani_TtoB 1.2s 0.6s both;
}

.bannerindex .swiper-slide.swiper-slide-active:after {
    animation: ani_BtoT 1.2s 1s both;
}

@keyframes ani_TtoB {
    0% {
        transform: translateY(-5vw);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ani_BtoT {
    0% {
        transform: translateY(5vw);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
    .bannerindex {
        padding: 0;
        margin: 0;
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 40 / 7;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.banner:before {
    content: "";
    position: absolute;
    width: 101%;
    height: 101%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(https://pic03.eapple.com.tw/sanrongse/banner.jpg) center/cover no-repeat;
}

.banner h5 {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 38px;
    color: white;
    letter-spacing: 4px;
    line-height: 1.5;
    font-weight: 600;
    text-shadow: 0 0 12px rgba(0, 0, 0, .35);
}

.banner h5:after {
    content: "Sanrong Energy";
    display: block;
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 500;
    text-shadow: 0 0 22px black;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
.blog_page h4.blog_category_title {
    display: none;
}

.blog_box {
    margin-top: 20px;
}

.blog_le {
    padding: 0;
}

.blog_ri {
    padding: 0 0 0 60px;
}

.blog_le,
.blog_ri {
    margin-bottom: 1vw;
}

.blog_subbox {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 24px;
}

.blog_subbox:before {
    content: none;
}

.subbox_item {
    width: 100%;
    margin: 0;
    box-shadow: 0 0 10px #0000000c;
    background: white;
    border-bottom: none;
}

.subbox_item:hover {
    transform: translateY(-6px);
}

.subbox_item a {
    display: flex;
    flex-flow: row wrap;
    gap: 0;
}

.blog_list_le {
    width: 260px;
    padding: 0;
    height: auto;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.blog_list_le img {
    min-width: 100%;
    display: block;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog_list_ri {
    display: flex;
    flex-flow: column wrap;
    padding: 44px 36px 44px 44px;
    width: calc(100% - 275px);
    position: relative;
    justify-content: center;
}

.blog_list_ri h5 {
    font-weight: 600;
    color: #222;
}

.blog_list_ri em {
    order: 1;
    font-weight: 400;
    margin: 0;
    position: relative;
}

.blog_list_ri p {
    line-height: 165%;
    margin: 16px 0 20px;
    -webkit-line-clamp: 2;
    letter-spacing: 0.5px;
}

.blog_list_ri em:after {
    content: '＋ 繼續閱讀';
    letter-spacing: 0.4px;
    color: #76c5f0;
    font-weight: 500;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 14px;
}

.subbox_item a:before,
.subbox_item a:after {
    content: none;
}

h5.blog_le_t {
    display: none;
}

.blog_le .accordion {
    border-radius: 0;
}

.accordion li .link a {
    color: #444;
    font-weight: 400;
    font-size: 15px;
    padding: 12px;
}

.accordion li .link {
    border-bottom: none;
}

.accordion li {
    transition: all 0.2s ease;
}

.blog_le .accordion>li:hover,
.blog_le .accordion>li.open:hover,
.blog_le .accordion>li.on_this_category:hover {
    background: #49a4dc !important;
}

.blog_le .accordion>li.open,
.blog_le .accordion>li.on_this_category {
    background: #76c5f0 !important;
}

.blog_le .accordion>li.open .link a,
.blog_le .accordion>li.open .link i {
    color: #fff !important;
}

.submenu {
    background: #fff;
    font-size: 14px;
}

.submenu a {
    font-family: 'Poppins', 'Noto Sans TC', Microsoft JhengHei, sans-serif;
    color: #444;
    letter-spacing: 0px;
    font-weight: 400;
    padding: 12px 12px 12px 36px;
    border-left: #fff 0 solid;
    transition: all .15s;
}

.submenu li.on_this_category a,
.submenu a:hover {
    background: #f1f9fd;
    color: #222;
}

.submenu a i {
    left: 12px;
    font-weight: var(--fa-style, 900);
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
}

.submenu a:hover {
    border-left: #f1f9fd 4px solid;
}

.blog_search input[type=search] {
    background: #fff;
    border-radius: 0;
    padding: 12px 36px 12px 12px;
}

.blog_search input[type=submit] {
    height: 36px;
    filter: grayscale(20);
}

.blog_le .accordion li .link i {
    transition: none;
}

/*內頁*/
.articel_mainPic,
.blog_shareData {
    display: none;
}

h4.blog_category_title {
    padding: 0;
    margin-bottom: 0;
    font-size: 26px;
    color: #222;
}

.blog_box_edit {
    color: #444;
    font-size: 16px;
}

.blog_box_edit * {
    line-height: 170%;
}

.blog_back {
    width: 100%;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    justify-content: center;
}

.blog_back a {
    width: 100%;
    font-weight: 500 !important;
}

.blog_back a:hover {
    background: #6197bc !important;
}

.blog_back a.article_btn_next,
.blog_back a.article_btn_prev,
.blog_back a.article_btn_back {
    background: #76c5f0;
    transition: all .3s ease;
}

.news_related {
    padding: 48px 0;
    background: rgba(118, 197, 240, .08);
}

.news_related_list {
    max-width: 1320px;
    width: 90%;
}

.lastPage {
    background: #29166f;
    margin: 40px auto 20px;
}

.news_related h6 span:before {
    color: #29166f;
}

.news_related_list li a p {
    margin-top: 4px;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*聯絡*/
.info_ADD2:before {
    content: "營業時間";
}

.info_TEL:before {
    content: "服務專線";
}

.info_PHONE:before {
    content: "手機專線";
}

.blank_letter {
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    padding-top: 10px;
    color: #222;
}

.information_right .blank_letter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.contact_form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 0;
    grid-gap: 20px;
}

.contact_form li input.noborder,
.contact_form li textarea.noborder {
    background: #fbfbfb;
    padding: 8px;
    letter-spacing: 1px;
    border: none;
    border-bottom: 1px solid #ddd;
}

.contact_form li {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 0;
    border-bottom: none;
    color: #444;
    grid-gap: 8px;
}

.contact_form li:nth-of-type(-n+4),
.contact_form li:nth-of-type(n+9) {
    width: calc(50% - 10px);
}

.contact_form li .form__label {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
    background: none;
}

.star {
    order: 1;
    height: 18px;
}

.contact_form li.last cite {
    background: #00923f;
    border-color: #00923f;
    margin-left: 10px;
}

.contact_form li.last blockquote {
    border: 1px #00923f solid;
    color: #00923f;
}

.contact_form li.last {
    align-items: flex-end;
    align-content: flex-end;
}

.contact_content>form {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.contact_content .information_left {
    width: 320px;
}

.contact_content .information_right {
    width: calc(100% - 335px);
    padding-left: 60px;
}

.contact_form li .form__insert {
    line-height: 165%;
}

.contact_le_nomap {
    height: 520px;
}

.list_before.info li:before {
    width: 66px !important;
    letter-spacing: 0 !important;
}

.list_before.info li {
    padding-left: 76px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer*/
.footer_info li p.add2:before {
    content: '營業時間：';
}

.footer_info li p.tel:before {
    content: '服務專線：';
}

.footer_info li p.phone:before {
    content: '手機專線：';
}

.footer_menu a:first-of-type {
    display: none;
}

.footer_logo {
    width: 240px;
    margin: 10px 0 0;
}

.footer_logo img {
    max-width: 100%;
    display: block;
}

.footer {
    padding: 24px 0 0;
    background: #6197bc;
    font-family: 'Noto Sans TC', Microsoft JhengHei, sans-serif;
}

.footer .center {
    max-width: 1060px;
    width: 90%;
}

.footer_info {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0;
}

.footer_info ul {
    width: calc(100% - 300px);
    letter-spacing: 0;
}

.footer_info li:nth-child(1) {
    display: flex;
    flex-flow: row wrap;
}

.footer_info li p {
    width: 49%;
}

.footer_info li p,
.footer_info li a {
    color: rgba(255, 255, 255, .85);
}

.footer_menu a:hover {
    background: none;
    color: #FFF;
}

.footer_menu a {
    border: none;
    background: transparent;
    padding: 0 16px;
    margin: 0;
    border-right: 1px rgba(255, 255, 255, .3) solid;
    transition: all .25s;
}

.footer_menu a:nth-of-type(2) {
    padding-left: 0;
}

.footer_menu a:last-of-type {
    border-right: none;
}

.copy {
    border-top: none;
    padding: 0 0 32px;
    margin-top: 6px;
}

.copy,
.copy a,
.copy a:hover {
    color: #000;
}

.box_link {
    display: none;
}

@media screen and (max-width: 1200px) {
    .main_header_area .container {
        padding: 0;
    }

    .nav-header {
        margin: 5px 0;
    }

    .nav-brand {
        max-width: 220px;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
        line-height: 54px;
    }

    .navigation,
    .sticky .navigation {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        align-content: center;
        padding: 0 0 2px;
    }

    .stellarnav ul {
        text-align: center;
    }

    .bannerindex .swiper-slide:before {
        font-size: 21px;
        left: 5%;
        bottom: 37%;
        content: "太陽能板打造未來穩定的\A綠色收入與環保價值";
    }

    .bannerindex .swiper-slide:last-of-type:before,
    .bannerindex .swiper-slide:last-of-type:after {
        right: 5%;
    }

    .bannerindex .swiper-slide:after {
        font-size: 14px;
        left: 5%;
        top: 66%;
    }

    .footer_info {
        flex-direction: column;
    }

    .footer_info ul {
        width: 100%;
    }

    .footer_menu {
        margin: 0 auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(72px, 100%), auto));
        gap: 18px 12px;
    }

    .footer_menu a {
        padding: 0;
        border-right: none;
    }

    .footer_info li {
        padding-left: 0;
        padding-right: 0;
    }

    .copy {
        text-align: left;
        padding: 0 5% 36px;
    }

    .footer_logo {
        margin: 0 0 10px;
    }

    .blog_list_le,
    .blog_list_ri {
        width: 100%;
    }

    .blog_list_ri {
        padding: 24px;
    }

    .contact_form li:nth-of-type(-n+4),
    .contact_form li:nth-of-type(n+9) {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    /* 開啟手機板下方按鈕所需設定 */
    #bottom_menu {}

    .footer.with_shopping_mode {
        padding: 30px 0 59px;
    }

    #to_top {
        bottom: 72px;
    }

    .footer_info li p {
        width: 100%;
    }

    .stellarnav.mobile {
        left: 8px;
        top: 17px;
    }

    .stellarnav .menu-toggle {
        padding: 0;
    }

    .stellarnav>ul>li.drop-left>ul,
    .stellarnav>ul>li>ul {
        padding-top: 0;
    }

    .stellarnav.mobile li.drop-left ul ul {
        right: auto;
        left: 0;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a {
        height: auto;
        line-height: 150%;
        margin: 0 8px;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background: #49a4dc;
    }

    .stellarnav.mobile>ul {
        border-top: none;
        border-right: none;
        box-shadow: 0 0 10px rgba(0 0 0 / 12%);
    }

    .stellarnav.mobile li.open {
        background: #e4f3fc;
    }

    .stellarnav.mobile li.open li.open {
        background: #e4f3fc7F;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a {
        padding: 10px 44px 10px 10px;
    }

    .stellarnav .icon-close:after,
    .stellarnav .icon-close:before {
        border-color: #fff;
    }

    .stellarnav a {
        color: #fff;
    }

    .stellarnav.mobile>ul>li.open>a.dd-toggle {
        padding: 12px 6px 0;
    }

    .stellarnav.mobile li li a.dd-toggle {
        margin-right: 5px;
    }

    .stellarnav.mobile li.open li.open a.dd-toggle {
        padding: 12px 0 0 0;
    }

    .stellarnav.mobile li li.has-sub a:not(.dd-toggle),
    .stellarnav li li>a:not(.dd-toggle) {
        padding: 10px 43px 10px 16px;
    }

    .blog_list_ri p {
        letter-spacing: 0;
    }

    .blog_ri,
    .blog_box {
        padding: 0;
    }

    .blog_list_ri h5 {
        font-weight: 500;
        font-size: 19px;
    }

    .main_part {
        padding: 40px 0 20px;
    }

    .blog_search {
        margin-bottom: 20px;
    }

    .blog_subbox {
        grid-gap: 20px;
    }

    h4.blog_category_title {
        font-size: 21px;
        font-weight: 500;
    }

    .blog_box_edit,
    .lastPage {
        font-size: 15px;
    }

    .news_related h6 span:before {
        font-size: 21px;
    }

    .news_related {
        padding: 40px 0 20px;
    }

    .edit {
        padding: 10px 0 20px;
    }

    .contact_content .information_right,
    .contact_content .information_left,
    .contact_content {
        width: 100%;
        padding: 0;
    }

    .blank_letter {
        font-size: 23px;
        font-weight: 500;
    }

    .contact_le_nomap {
        height: 300px;
    }

    .contact_form li.last {
        justify-content: flex-end;
        grid-gap: 0;
    }

    .information_right .blank_letter {
        margin-bottom: 24px;
        padding-top: 36px;
        align-items: flex-end;
    }

    .list_before {
        margin-top: 24px;
    }

    .banner h5 {
        font-size: 23px;
        letter-spacing: 2px;
        line-height: 1.3;
    }

    .banner h5:after {
        font-size: 15px;
        text-shadow: 0 0 4px black;
    }

    .news_related_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .news_related_list li a p {
        line-height: 1.4;
        margin: 6px auto 3px;
    }
}