@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/

body {
    overflow-x: hidden;
    font-family: "Lucida Sans", "Lucida Grande", "Noto Sans TC", "Segoe UI", sans-serif;
}

.stellarnav>ul>li:nth-of-type(2)>ul>li:first-of-type,
.stellarnav>ul>li:first-of-type {
    display: none;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

.main_header_area .container {
    max-width: 1800px;
    width: 90%;
}

.header_area {
    position: fixed;
    padding: 0;
    background: transparent;
    transition: all ease 0.3s;
}

.header_area.sticky {
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(6px);
}

.navigation {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
}

.nav-header {
    max-width: 100px;
    padding: 12px 0 14px;
    filter: invert(1);
    transition: all ease 0.3s;
}

.sticky .nav-header,
.album_class_page .nav-header,
.album_info_page .nav-header,
.blog_in_page .nav-header,
.album_page .nav-header {
    filter: none;
}

.nav-brand,
.nav-brand img {
    display: block;
}

.stellarnav ul {
    font-family: "Lucida Sans", "Lucida Grande", "Noto Sans TC", "Segoe UI", sans-serif;
    text-align: center;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li>a,
.stellarnav>ul>li.has-sub>a {
    padding: 0 2px;
    color: #fff;
    font-size: 16px;
    margin: 0 4px;
    letter-spacing: 0.05em;
    transition: all ease 0.3s;
}

.stellarnav ul li a b:first-of-type {
    font-family: "Lucida Sans", "Lucida Grande", "Segoe UI", sans-serif;
}

.stellarnav ul li a b:last-of-type {
    font-size: 15px;
}

.stellarnav>ul>li {
    min-width: 100px;
    text-align: center;
}

.sticky .stellarnav>ul>li>a,
.sticky .stellarnav>ul>li.has-sub>a,
.album_class_page .stellarnav>ul>li>a,
.album_info_page .stellarnav>ul>li>a,
.album_class_page .stellarnav>ul>li.has-sub>a,
.album_info_page .stellarnav>ul>li.has-sub>a,
.blog_in_page .stellarnav>ul>li>a,
.blog_in_page .stellarnav>ul>li.has-sub>a,
.album_page .stellarnav>ul>li>a,
.album_page .stellarnav>ul>li.has-sub>a {
    color: #000;
}

.me_tp_features {
    position: absolute;
    width: max-content;
    position: absolute;
    right: 0;
    z-index: 9999;
}

.tp_links a {
    background: #000;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.me_tp_features a i {
    color: #fff;
    margin: 0;
    font-size: 15px;
}

.tp_links {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: end;
    gap: 5px;
}

.me_tp_fb {
    order: 2;
}

.me_tp_ig {
    order: 3;
}

.me_tp_line {
    order: 1;
}

.me_tp_yt {
    order: 4;
}

.tp_links a.me_tp_mail,
.tp_links a.me_tp_call {
    display: none;
}

/*次分類*/
.stellarnav ul ul {
    min-width: 170px;
    background: transparent;
    right: 0;
    border-bottom: 10px solid #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, .05);
}

.stellarnav li li:first-of-type,
.stellarnav>ul>li:nth-of-type(2)>ul>li:nth-of-type(2) {
    padding-top: 10px;
}

.stellarnav>ul>li>ul {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.stellarnav li li {
    text-align: center;
    border: none;
    margin-bottom: 0;
    background: #fff;
    position: relative;
}

.stellarnav li li:hover a:not(.dd-toggle),
.stellarnav li li.has-sub:hover a:not(.dd-toggle),
.stellarnav li li.has-sub:hover li:hover a:not(.dd-toggle) {
    color: #000;
}

.stellarnav li li a:not(.dd-toggle),
.stellarnav li li.has-sub>a:not(.dd-toggle),
.stellarnav li li.has-sub:hover li a:not(.dd-toggle) {
    color: #444;
    padding: 6px 15px;
    font-weight: 500;
    line-height: initial;
    height: auto;
    margin: 0;
    position: relative;
    font-size: 14px;
    transition: all ease .3s;
}

.stellarnav ul ul ul,
.stellarnav li.drop-left ul ul {
    left: auto;
    right: 100%;
}



/*大圖*/
.flex-video {
    overflow: hidden;
    background: #efefef;
}

.flex-video>video {
    transform: scale(1.2);
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

body.pageIndex:before {
    content: ' ';
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/yhsdesign/bgbg.jpg) center / cover no-repeat;
}

.show_content {
    padding: 0;
}

/*預設解除背景輪播*/
#content_main {
    margin: 0;
    background: transparent;
}

.bannerindex {
    position: relative;
    height: auto;
}

.swiper-banner {
    position: static;
    margin: 0;
    height: auto;
}

/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
    .bannerindex {
        padding: 0;
        margin: 0;
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner h5 {
    display: none;
}

.banner {
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 20/3;
    position: relative;
    background: #fff;
    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/yhsdesign/banner.jpg) center/cover no-repeat;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相簿*/
/*主層*/
.album_page .page,
.album_info_page .page,
.album_page .path,
.album_page .banner,
.album_class_page .banner,
.overlay,
.album_class_page .blog_shareData,
.album_class_page .path,
.other_album,
.pic-list .item h6 {
    display: none !important;
}

.album_page .show_content {
    margin-top: 180px;
}

.album_page .show-list {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0;
}

.album_page .main_part,
.album_class_page .main_part,
.album_info_page .main_part {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.show-list .show_pic {
    aspect-ratio: 1/1;
}

.album_page .show-list .show_name {
    font-size: 20px;
    color: #fff;
    letter-spacing: 0.05em;
    margin-top: 0;
    font-weight: 500;
    -webkit-line-clamp: 1;
    height: 32px;
    position: absolute;
    left: 50%;
    top: calc(50% - 10px);
    transform: translate(-50%, -50%);
    transition: all ease 0.6s;
}

.album_page .show-list .item:hover .show_name {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, .8));
}

.show-list .item .show_pic img {
    transition: all ease 0.6s;
}

.show-list .item:hover .show_pic img {
    transform: scale(1.175);
    filter: brightness(.5);
}

.album_page .show-list .item a:after {
    content: 'VIEW PROJECT →';
    font-family: "Lucida Sans", "Lucida Grande", "Segoe UI", sans-serif;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0;
    color: #fff;
    position: absolute;
    top: calc(50% + 25px);
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all ease 0.6s;
}

.album_page .show-list .item:hover a:after {
    opacity: 1;
}

/*次層*/
.subalbum-menu {
    margin: 0;
    padding: 0;
}

.album_class_page .show_content {
    margin-top: 180px;
}

.album_class_page .show-list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.subalbum-menu h2 {
    font-size: 22px;
    color: #000;
    letter-spacing: 0.05em;
    margin-top: 0;
    font-weight: 500;
    width: 100%;
    text-align: center;
    margin-bottom: 40px !important;
}

.other_subalbum li a p {
    position: absolute;
    left: 50%;
    top: calc(50% - 10px);
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
    transition: all ease 0.6s;
}

.other_subalbum li a:hover p {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, .8));
}

.album_class_page .show-list .item a:after {
    content: 'VIEW PROJECT →';
    font-family: "Lucida Sans", "Lucida Grande", "Segoe UI", sans-serif;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0;
    color: #fff;
    position: absolute;
    top: calc(50% + 25px);
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all ease 0.6s;
}

.album_class_page .show-list .item:hover a:after {
    opacity: 1;
}

.page {
    margin: 80px auto;
}

.page a {
    color: #000;
    font-family: "Lucida Sans", "Lucida Grande", "Segoe UI", sans-serif;
    font-weight: normal;
}

.page strong,
.page a:hover {
    background: #000;
    font-weight: normal;
}

/*相片*/
.album_info_page .banner h5 {
    display: block;
    font-size: 22px;
    color: #000;
    letter-spacing: 0.05em;
    margin-top: 0;
    font-weight: 500;
    text-align: left;
}

.album_info_page .banner:before {
    content: none;
}

.album_info_page .banner {
    aspect-ratio: auto;
    min-height: auto;
    max-width: 1200px;
    width: 70%;
    justify-content: flex-start;
    margin: 0 auto;
    background: transparent;
}

.album_info_page #content {
    margin-top: 180px;
    position: relative;
}

.pic-list {
    grid-template-columns: 1fr;
    grid-gap: 30px;
}

.album_descrip {
    color: #555;
    line-height: 2;
    max-width: 1200px;
    width: 70%;
    margin: 60px auto 40px;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.album_info_page .path {
    padding: 15px 0 0;
    max-width: 1200px;
    width: 70%;
    margin: 0 auto;
}

.album_info_page .path p,
.album_info_page .path p a,
.path p a:hover {
    text-align: left;
    color: #999;
}

.album_info_page .blog_shareData {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    width: 70%;
}

.toShareNews b {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #555;
}

.pic-list .show_pic {
    aspect-ratio: auto;
}

.album_info_page .path p {
    width: max-content;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*影片*/
.main_part {
    max-width: 1600px;
    width: 90%;
    padding: 100px 0 0;
}

.video_page .path {
    display: none;
}

.video_menu_list {
    margin-bottom: 0;
    width: 100%;
}

.video_menu_list>ul {
    text-align: center;
    margin: 0 0 40px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 10px;
}

.video-layer-two>li {
    border-bottom: none;
    padding-bottom: 0;
    letter-spacing: 0.05em;
}

.video-layer-two li a {
    border-color: #ccc;
    background: none;
    padding: 4px 12px;
    color: #888;
    font-weight: 500;
    font-size: 14px;
    border-radius: 15px;
}

.video_menu_list+.video-list {
    max-width: 100%;
}

.video-list {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

.video-list .vidTitle {
    margin: 20px 0;
    height: auto;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0;
    color: #555;
    font-family: "Lucida Sans", "Lucida Grande", "Noto Sans TC", "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    letter-spacing: 0.05em;
}

.video-list .vidTitle:after {
    content: 'Click to Play →';
    display: block;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 2.5;
}

.video-list .vidCover {
    aspect-ratio: 18 / 11;
    border-radius: 0;
}

.video-list .vidCover::before {
    filter: grayscale(10) contrast(10) invert(1) brightness(10);
}

.video_page .page li.activeN {
    display: flex;
    width: 25px;
    height: 25px;
    line-height: 25px;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    border-radius: 50px;
    background: #000;
    color: #fff;
    font-weight: normal;
    transition: .3s;
}

.page li:hover a {
    opacity: 1;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章*/
h5.blog_le_t,
.blog_search,
.subbox_item a:after,
.blog_page .path,
.blog_page h4.blog_category_title,
.subbox_item a:before {
    display: none;
}

.blog_le,
.blog_ri {
    width: 100%;
    padding: 0;
    margin-bottom: 0;
    position: relative;
}

.blog_subbox {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
}

.subbox_item a {
    display: flex;
    flex-flow: column wrap;
}

.blog_list_le {
    aspect-ratio: 4 / 5;
    height: auto;
    overflow: hidden;
}

.blog_le .accordion {
    border-radius: 0;
    border: none;
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
    justify-content: center;
}

.accordion li+li .link {
    border-top: none;
}

.accordion li {
    border-radius: 15px;
    border: 1px solid #ccc;
    height: min-content;
    letter-spacing: 0.05em;
}

.accordion li .link a {
    background: none;
    padding: 4px 12px;
    color: #888;
    font-weight: 500;
    border-radius: 15px;
}

.blog_le .accordion>li:hover,
.blog_le .accordion>li.on_this_category {
    border-color: #666;
}

.blog_le .accordion li .link i {
    position: static;
    color: #888;
    width: auto;
    padding-right: 12px;
    font-size: 14px;
}

.accordion li .link {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.submenu {
    background: white;
}

.accordion li li {
    border-radius: 0;
    border: none;
}

.submenu li:last-of-type a,
.submenu li:last-of-type,
.submenu {
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.submenu a i {
    font-size: 14px;
}

.submenu a {
    color: #888;
    padding: 4px 12px 4px 28px;
}

.submenu a i {
    left: 11px;
}

.accordion li li+li {
    border-top: 1px solid #666;
}

.submenu li.on_this_category a,
.submenu a:hover {
    background: #000;
}

.blog_le {
    margin-bottom: 40px;
}

.blog_list_ri {
    padding: 0;
    display: flex;
    flex-flow: column wrap;
    letter-spacing: 0.05em;
}

.blog_list_ri em {
    font-size: 13px;
    order: -1;
}

.blog_list_ri>*+* {
    margin-top: 0;
}

.blog_list_ri h5 {
    font-size: 18px;
    margin: 8px 0 11px;
}

.blog_list_ri p {
    font-size: 14px;
    line-height: 180%;
    -webkit-line-clamp: 3;
}

.blog_page .page li.activeN {
    display: flex;
    width: 25px;
    height: 25px;
    line-height: 25px;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    border-radius: 50px;
    background: #000;
    color: #fff;
    font-weight: normal;
    transition: .3s;
}

/*內頁*/
.news_related,
.blog_in_page .path,
.blog_in_page .blog_le,
.blog_in_page .banner,
.articel_mainPic {
    display: none;
}

.blog_in_page .main_part {
    margin-top: 180px;
    max-width: 1200px;
    width: 70%;
    padding: 0 0 120px;
}

h4.blog_category_title {
    display: block;
    font-size: 22px;
    color: #000;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-align: left;
    padding: 0;
    margin: 0;
}

.blog_box_edit {
    color: #555;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.blog_box_edit * {
    line-height: 2;
}

.blog_back a {
    font-size: 14px;
    letter-spacing: 0.05em;
}

.blog_back a.article_btn_back {
    background: #666;
}

.blog_back {
    margin-top: 40px;
}

.blog_in_page .blog_shareData {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.blog_in_page .edit {
    padding: 60px 0 0;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*聯絡*/
.contact_page .path,
.contact_content .information_left {
    display: none;
}

.contact_content {
    padding: 100px 0;
    width: 100%;
    max-width: 1200px;
}

.contact_page .main_part {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-flow: column-reverse wrap;
    padding: 0;
    letter-spacing: 0.05em;
}

.contact_content .information_right {
    width: 100%;
    padding: 0;
}

.blank_letter {
    font-family: 'Noto Sans TC';
    padding-top: 0;
    font-size: 22px;
    color: #000;
    letter-spacing: 0.05em;
    font-weight: 500;
    display: flex;
    align-items: self-end;
}

.blank_letter:after {
    content: '／ Company Profile';
    letter-spacing: 0;
    font-family: "Lucida Sans", "Lucida Grande", "Segoe UI", sans-serif;
    font-size: 20px;
    margin-left: 8px;
    font-weight: normal;
}

.note {
    order: 1;
    margin-left: auto;
    letter-spacing: .5px;
}

.contact_form {
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    grid-gap: 30px;
    margin-bottom: 0;
    margin-top: 60px;
}

.contact_form li.last {
    margin-top: auto;
    margin-bottom: 0;
}

.contact_form li input.noborder,
.contact_form li textarea.noborder {
    background: #f9f9f9;
    padding: 8px;
    border: none;
    border-bottom: none;
    letter-spacing: 0.05em;
}

.contact_form li {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 0;
    border-bottom: none;
    color: #000;
}

.contact_form li .form__label {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    text-align: left;
    max-width: 100%;
    font-weight: normal;
    padding: 0;
    background: none;
}

.contact_content>form {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.contact_form li .form__insert {
    line-height: 165%;
}

.star {
    order: 1;
    height: 18px;
}

.contact_form li.last blockquote {
    color: #000;
    border-color: transparent;
}

.contact_form li.last cite {
    background: #000;
    border-color: #000;
}

.contact_form li.last input {
    font-size: 14px;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer*/
.copy,
.copy a,
.copy a:hover {
    color: #333;
}

.privacyLinks a+a {
    border-color: #333;
}

.copy {
    background: #000;
}

.copy:before {
    content: '關鍵字, 關鍵字, 關鍵字, 關鍵字, 關鍵字';
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.box_link,
body:not(.pageIndex, .contact_page) .footer .footer_info {
    display: none;
}

body:not(.pageIndex, .contact_page) .footer .center,
body:not(.pageIndex, .contact_page) .footer .center {
    height: 0;
}

.footer .center:before {
    content: "";
    position: absolute;
    width: 101%;
    height: 101%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(https://pic03.eapple.com.tw/yhsdesign/footer.png)center / cover no-repeat;
}

.footer .center {
    background: #111;
    font-family: "Lucida Sans", "Lucida Grande", "Noto Sans TC", "Segoe UI", sans-serif;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 4167/1192;
}

.footer {
    padding: 0;
}

.copy {
    margin-top: 0;
    padding: 48px 0;
    border: none;
}

@media screen and (max-width: 768px) {

    /* 開啟手機板下方按鈕所需設定 */
    #bottom_menu {}

    .footer.with_shopping_mode {
        padding: 30px 0 70px;
    }

    #to_top {
        bottom: 60px;
    }
}

@media screen and (max-width: 600px) {}