body,
dd,
div,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
input,
pre,
td,
textarea,
th {
    margin: 0;
    padding: 0;
}

body,
html {
    font-family: Microsoft JhengHei, 微軟正黑體, Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 1.8;
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

p {
    clear: both;
}

a {
    color: #666;
    text-decoration: none;
    transition-duration: .2s;
    -webkit-text-underline-position: under;
    -ms-text-underline-position: below;
    text-underline-position: under;
    outline: 0;
    behavior: expression(this.onFocus=this.blur());
}

a:hover {
    text-decoration: underline;
}

img {
    border-style: none;
}

input:focus {
    outline: none
}










/* 強制顯示垂直滾動條 */
html {
    overflow-y: scroll;
}

/* 半透明覆蓋層的設定 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #9b4e8e;
    background-image: url(/userfiles/template/logo_f.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 218px 150px;
    z-index: 10000;
    /* 確保覆蓋其他內容 */
    opacity: 1;
    transition: opacity .5s ease-in-out;
    /* 使用動畫 */

    display: flex;
    justify-content: center;
    align-items: center;
}

/* 加載完成後將.loading移動到畫面外 */
body.loading-complete .overlay {
    transition: opacity .5s ease-in-out;
    /* 使用動畫 */
    opacity: 0;
    pointer-events: none;
}




#container {
    overflow-x: hidden;
}
body.index #container {
    background-color: #eee;
}


body.index header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url(/userfiles/product/field_5.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    height: 845px;
}
@media screen and (max-width : 1024px) {
    body.index header {
        height: min(845px,100vh);
        background-image: url(/userfiles/product/field_15.jpg);
    }
}

header {
    height: 300px;
    background-repeat: no-repeat;
    background-position: center top;
}

body.fid_1 header {
    background-image: url(/userfiles/product/field_6.jpg);
}
@media screen and (max-width: 680px) {
    body.fid_1 header {
        background-image: url(/userfiles/product/field_16.jpg);
    }
}

body.fid_2 header {
    background-image: url(/userfiles/product/field_14.jpg);
}
@media screen and (max-width: 680px) {
    body.fid_2 header {
        background-image: url(/userfiles/product/field_17.jpg);
    }
}

body.fid_3 header {
    background-image: url(/userfiles/product/field_7.jpg);
}
@media screen and (max-width: 680px) {
    body.fid_3 header {
        background-image: url(/userfiles/product/field_18.jpg);
    }
}

body.fid_4 header {
    background-image: url(/userfiles/product/field_8.jpg);
}
@media screen and (max-width: 680px) {
    body.fid_4 header {
        background-image: url(/userfiles/product/field_19.jpg);
    }
}

body.subject header {
    background-image: url(/userfiles/product/field_9.jpg);
}
@media screen and (max-width: 680px) {
    body.subject header {
        background-image: url(/userfiles/product/field_20.jpg);
    }
}

body.fid_7 header {
    background-image: url(/userfiles/product/field_11.jpg);
}
@media screen and (max-width: 680px) {
    body.fid_7 header {
        background-image: url(/userfiles/product/field_21.jpg);
    }
}

body.fid_9 header {
    background-image: url(/userfiles/product/field_22.jpg);
}
@media screen and (max-width: 680px) {
    body.fid_9 header {
        background-image: url(/userfiles/product/field_23.jpg);
    }
}

body.fid_10 header {
    background-image: url(/userfiles/product/field_12.jpg);
}
@media screen and (max-width: 680px) {
    body.fid_10 header {
        background-image: url(/userfiles/product/field_13.jpg);
    }
}




    
.header_body {
    position: relative;
    z-index: 2;
}
.header_body:hover {
    background-color: rgba(255, 255, 255, .9);
    box-shadow: rgba(0, 0, 0, .4) 0 4px 10px;
}

.menu_bar {
    position: relative;
    width: 1230px;
    margin: auto;
    padding: 30px 0 187px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media screen and (max-width : 1266px) {
    .menu_bar {
        width: 1000px;
    }
}

@media screen and (max-width : 1024px) {
    .menu_bar {
        width: 100%;
        padding: 0;
    }
}



#logo {
    position: relative;
    z-index: 9999;
    display: block;
    background-image: url(/userfiles/template/logo_w.svg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 83px;
}

.header_body:hover #logo {
    background-image: url(/userfiles/template/logo.svg);
}

@media screen and (max-width : 1024px) {
    #logo {
        width: 210px;
        height: 58px;
        margin: 10px;
    }
}



nav {
    position: relative;
    box-sizing: border-box;
    padding: 0 40px 0 0;
}
@media screen and (max-width : 1024px) {
    nav {
        width: 100%;
        padding: 0;
    }
}

/*Strip the ul of padding and list styling*/
nav > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
    /*white-space: nowrap;*/
    display: flex;
}


@media screen and (max-width : 1024px) {
    nav > ul {
        width: 100vw;
        height: calc(100vh - 78px);
        overflow-x: visible;
        margin: 0;
        position: static;
        display: none;
    }
}


/*Create a horizontal list with spacing*/
nav li {
    position: relative;
    display: inline-block;
}


.header_body:hover nav > ul > li {
    border-bottom: 1px solid #cfd0ce;
}
@media screen and (max-width : 1024px) {
    .header_body:hover nav > ul > li {
        border-bottom: none;
    }
}

/*Style for menu links*/
nav li a {
    display: block;
    padding: 0 15px;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
}

.header_body:hover nav > ul > li > a {
    color: #505050;
    text-decoration: none;
}

.header_body:hover nav > ul > li:hover > a:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    display: block;
    text-decoration: none;
    border-bottom: 4px solid #a70182;
}
@media screen and (max-width : 1024px) {
    .header_body:hover nav > ul > li:hover > a:before {
        display: none;
    }
}

@media screen and (max-width : 1266px) {
    nav li a {
        padding: 0 10px;
    }
}

@media screen and (max-width : 1024px) {
    nav li a {
        box-sizing: border-box;
        padding: 0 10px 0 20px;
    }
}

/*Hover state for top level links*/
.header_body:hover nav > ul > li:hover > a {
    color: #a70182;
    text-decoration: none;
}


.header_foot {
    display: none;
}
body.index .header_foot {
    position: relative;
    z-index: 1;
    width: 1350px;
    height: 100%;
    display: flex;
    margin: auto;
}

@media screen and (max-width : 1266px) {
    body.index .header_foot {
        width: 1000px;
    }
}

@media screen and (max-width : 1024px) {
    body.index .header_foot {
        width: 100%;
    }
}
.intro_title {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 330px;
    height: 330px;
    color: #a70182;
    line-height: 1.4;
    background-color: rgb(253 228 84 / 90%);
    border-radius: 50%;
    position: absolute;
    z-index: 2;
    right: -20px;
    bottom: -60px;
}
@media screen and (max-width : 640px) {
    .intro_title {
        width: 260px;
        height: 260px;
        right: -10px;
        bottom: -30px;
    }
}
.intro_title:before {
    content: "";
    width: 200px;
    height: 200px;
    display: block;
    border-radius: 50%;
    background-color: rgb(157 4 131 / 60%);
    position: absolute;
    right: -120px;
    top: -70px;
}
@media screen and (max-width : 640px) {
    .intro_title:before {
        width: 110px;
        height: 110px;
        right: -30px;
        top: -30px;
    }
}
.intro_title h2 {
    font-size: 3.6rem;
}
.intro_title h3 {
    font-size: 2.4rem;
    letter-spacing: 8px;
    padding: 0 0 0 8px;
}
@media screen and (max-width : 640px) {
    .intro_title h2 {
        font-size: 3.1rem;
    }
    .intro_title h3 {
        font-size: 2.1rem;
        letter-spacing: 6px;
    }
}

nav li:hover a:hover {
}

/*Style for dropdown links*/
nav li:hover ul a {
}

@media screen and (max-width : 767px) {
    nav li:hover ul ul a {
        font-size: 1.6rem;
        height: 40px;
        line-height: 40px;
    }

    nav li:hover ul ul ul a {
        font-size: 1.4rem;
    }
}

/*Hover state for dropdown links*/
nav li:hover ul a:hover {
    color: #a70182;
    text-decoration: none;
}

/*Hide dropdown links until they are needed*/
nav li ul {
    display: none;
    position: absolute;
    left: 0;
    padding: 20px 0 0;
}

@media screen and (max-width : 1024px) {
    nav li ul {
        position: static;
        padding: 0 0 20px;
    }
}



/*Make dropdown links vertical*/
nav li ul li {
    position: relative;
    display: inline-block;
    float: none;
}

nav li ul ul {
    position: absolute;
    right: -208px;
    top: 0;
}


@media screen and (max-width : 1024px) {
    nav li ul ul {
        right: auto;
    }
}

/*Prevent text wrapping*/
nav li li a {
    color: #000;
    font-size: 2.0rem;
    padding: 0 20px;
    line-height: 40px;
    height: 40px;
}

@media screen and (max-width : 1204px) {
    nav li li a {
        padding: 0 10px 0 40px;
    }

    nav li ul li ul li a {
        padding: 0 10px 0 70px;
    }

    nav li ul li ul li ul li a {
        padding: 0 10px 0 100px;
    }
}


nav > ul > li:nth-child(1) ul {
    width: 170px;
}
nav > ul > li:nth-child(3) ul {
    width: 240px;
}
nav > ul > li:nth-child(4) ul {
    width: 360px;
}
@media screen and (max-width : 1204px) {
    nav > ul > li:nth-child(1) ul,
    nav > ul > li:nth-child(3) ul,
    nav > ul > li:nth-child(4) ul {
        width: 100vw;
    }
}

/*Display the dropdown on hover*/
nav ul li a:hover+.hidden,
nav .hidden:hover {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    left: -5px;
    min-width: 120px;
    height: 150px;
    white-space: normal;
}
@media screen and (max-width : 1204px) {
    nav ul li a:hover+.hidden,
    nav .hidden:hover {
        height: auto;
    }
}

/*Style 'show menu' label button and hide it by default*/
.show_menu {
    position: absolute;
    top: -40px;
    right: 10px;
    display: none;
    height: 40px;
}

.show_menu .bar {
    background-color: #fff;
    display: block;
    width: 30px;
    height: 2px;
    border-radius: 100px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}
.header_body:hover .show_menu .bar {
    background-color: #000;
}


.show_menu .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.show_menu .bar:last-child {
    -webkit-transform: translateY(6px);
    -moz-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
}


/*Hide checkbox*/
input[type=checkbox] {
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked~.menu_item {
    display: block;
}


/*Responsive Styles*/
@media screen and (max-width : 1024px) {

    /*Make all menu links full width*/
    nav ul li,
    nav li a {
        width: 100%;
    }

    /*Display 'show menu' link*/
    .show_menu {
        display: block;
    }

    nav li ul ul {
        position: relative;
        right: auto !important;
        top: auto;
    }
}








#searchbar {
    height: 30px;
    position: absolute;
    right: 0;
    top: -18px;
    padding: 30px 0;
    white-space: nowrap;
}
@media screen and (max-width : 1024px) {
    #searchbar {
        right: 50px;
        top: -50px;
        padding: 0;
    }
}
@media screen and (max-width : 480px) {
    #searchbar {
        display: none;
    }
}

#kw {
    display: none;
    border: none;
    width: 630px;
    vertical-align: top;
    height: 30px;
    font-size: 1.6rem;
}

@media screen and (max-width : 1266px) {
    #kw {
        width: 570px;
    }
}

@media screen and (max-width : 1024px) {
    #kw {
        width: calc(100vw - 340px);
    }
}

#searchbar a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 0 23px 23px 0;
    margin: 0 0 0 10px;
    border: none;
    background-image: url(userfiles/template/search.png);
    background-repeat: no-repeat;
    background-position: center;
}

.header_body:hover #searchbar a {
    background-image: url(userfiles/template/search_b.png);
}




.index_events {
    position: relative;
    padding: 50px 0 80px;
}
.index_events .ch_head_moon::before {
    background-color: #a70182;
}

.index_events .ch h2 {
    color: #fff;
}
.index_events .ch span {
    color: #e8afdb;
}

.index_events_bg {
    position: absolute;
    top: 0;
    background-color: #a70182;
    width: 100%;
    height: 420px;
}
.index_covers {
    max-width: 1230px;
    margin: auto;
}








#navbar {
    margin: 0 auto 40px;
    background-color: #ad138b;
    color: #fff;
    background-position: center top;
    background-repeat: no-repeat;
}
body.index #navbar {
    padding: 400px 0 0;
}








































.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}



#navbar .nav_body {
    position: relative;
    max-width: 1230px;
    margin: auto;
    font-size: 1.6rem;
    line-height: 57px;
}

@media screen and (max-width: 1266px) {
    #navbar .nav_body {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    #navbar .nav_body {
        max-width: 750px;
    }
}

@media screen and (max-width: 767px) {
    #navbar .nav_body {
        max-width: 100%;
    }
}

#navbar .nav_body a {
    color: #fff;
}


#navbar .nav_txt {
    position: absolute;
    left: 0;
    bottom: 57px;
    text-align: center;
    line-height: 1.4;
}
@media screen and (max-width: 1024px) {
    #navbar .nav_txt {
        padding: 0 10px;
    }
}
#navbar .nav_txt h1 {
    font-size: 6.0rem;
    color: #ad138b;
    font-weight: 400;
    letter-spacing: 5px;
}

@media screen and (max-width: 767px) {
    #navbar .nav_txt h1 {
        font-size: 5rem;
    }
}


#navbar .nav_path {
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
}
@media screen and (max-width: 1024px) {
    #navbar .nav_path {
        padding: 0 10px;
    }
}










#event {
    position: relative;
    z-index: 2;
    margin: 0 0 50px;
}

@media screen and (max-width: 1266px) {
    #event {
        margin: 0 0 45px;
    }
}

@media screen and (max-width: 1016px) {
    #event {
        margin: 0 0 40px;
    }
}

@media screen and (max-width: 767px) {
    #event {
        margin: 0 10px 30px;
    }
}

#wrapper #event {
    margin: 0;
}

#event dl {
    margin: auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1230px;
}

@media screen and (max-width: 1266px) {
    #event dl {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    #event dl {
        max-width: 750px;
    }
}

@media screen and (max-width: 767px) {
    #event dl {
        display: table;
        max-width: 100%;
    }
}

#wrapper #event dl {
    padding: 0;
}

#event dd {
    width: 32%;
}
@media screen and (max-width: 1016px) {
    #event dd {
        width: 48%;
    }
}

@media screen and (max-width: 767px) {
    #event dd {
        width: 100%;
    }
}

#event a {
    position: relative;
    display: block;
    margin: 0 0 30px;
    overflow: hidden;
    text-decoration: none;
}

@media screen and (max-width: 1266px) {
    #event a {
        margin: 0 auto 25px;
    }
}

@media screen and (max-width: 1016px) {
    #event a {
        margin: 0 auto 20px;
    }
}



#event a:hover .event_name {
    color: #a70182;
}

#event a:hover img {
    transform: scale(1.05);
}

#event img {
    max-width: 100%;
    width: auto;
    display: block;
    transition: all .2s ease-in-out;
    aspect-ratio: 390 / 260;
}

#event .event_name {
    color: #2f2f2f;
    width: 100%;
    padding: 10px 8%;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.3;
    box-sizing: border-box;

    /*display: inline-block;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
    transition: all .2s ease-in-out;
}

@media screen and (max-width: 1266px) {
    #event .event_name {
        font-size: 2.1rem;
        padding: 8px 7%;
    }
}

@media screen and (max-width: 1016px) {
    #event .event_name {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 767px) {
    #event .event_name {
        font-size: 1.6rem;
    }
}

#event .event_name:before {
    content: "";
    width: 3px;
    height: 66px;
    background-color: #a70182;
    display: block;
    position: absolute;
    left: 4%;
    margin: -32px 0 0;
}

#event .more {
    margin: -10px auto 0;
    display: table;
    font-size: 1.6rem;
    color: #003379;
}

#event .more:hover {
    text-decoration: none;
}

#event .more b {
    border-radius: 36px;
    height: 36px;
    width: 36px;
    display: block;
    margin: auto;
    text-align: center;
    font-size: 3.6rem;
    border: 1px solid #9eb0c9;
    line-height: 30px;
    margin: 0 auto 5px;
}

#event .more:hover b {
    color: #fff;
    background-color: #003379;
}




#event~.pagelink {
    margin: 0 auto 60px;
}

@media screen and (max-width: 1266px) {
    #event~.pagelink {
        margin: 0px auto 60px;
    }
}

@media screen and (max-width: 1016px) {
    #event~.pagelink {
        margin: 0px auto 60px;
    }
}

@media screen and (max-width: 767px) {
    #event~.pagelink {
        margin: 0px auto 60px;
    }
}

.pagelink {
    margin: 10px auto 60px;
    padding: 10px 0;
    max-width: 1230px;
    text-align: center;
}

@media screen and (max-width: 1266px) {
    .pagelink {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    .pagelink {
        max-width: 750px;
    }
}

@media screen and (max-width: 767px) {
    .pagelink {
        max-width: 100%;
    }
}

.pagelink a,
.pagelink strong {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    border: 1px solid #f2f2f2;
    font-size: 1.6rem;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 0 4px;
}

.pagelink a:hover,
.pagelink strong {
    background-color: #5f6e83;
    color: #fff;
    text-decoration: none;
    border: 1px solid #5f6e83;
}



#index_board {
    margin: 0 0 40px;
}

@media screen and (max-width: 1266px) {
    #index_board {
        margin: 0 0 35px;
    }
}

@media screen and (max-width: 1016px) {
    #index_board {
        margin: 0 0 30px;
    }
}

@media screen and (max-width: 767px) {
    #index_board {
        margin: 0 10px 20px;
    }
}

#index_board dl {
    margin: auto;
    display: flex;
    justify-content: space-between;
    max-width: 1230px;
}

@media screen and (max-width: 1266px) {
    #index_board dl {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    #index_board dl {
        max-width: 750px;
    }
}

@media screen and (max-width: 767px) {
    #index_board dl {
        display: table;
        max-width: 100%;
    }
}

#index_board dd {
    max-width: 49.25%;
    padding: 0 0 20px;
}

@media screen and (max-width: 767px) {
    #index_board dd {
        max-width: 100%;
    }
}

#index_board a {
    position: relative;
    display: block;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    #index_board a {
        display: flex;
        align-items: flex-start;
        margin: 10px auto;
    }
}

#index_board a:hover img {
    transform: scale(1.1);
}

#index_board img {
    max-width: 100%;
    width: auto;
    display: block;
    transition: all .2s ease-in-out;
}

#index_board .board_bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background-color: #e6e6e6;
}

@media screen and (max-width: 375px) {
    #index_board .board_bg {
        width: 44%;
    }
}

#index_board h4 {
    position: absolute;
    left: 4%;
    top: 46%;
    color: #003379;
    font-size: 3rem;
}

#index_board span {
    position: absolute;
    left: 4%;
    top: 68%;
    color: #292929;
    font-size: 2.1rem;
}

@media screen and (max-width: 1266px) {
    #index_board h4 {
        font-size: 2.5rem;
    }

    #index_board span {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1016px) {
    #index_board h4 {
        font-size: 1.8rem;
    }

    #index_board span {
        font-size: 1.3rem;
        top: 67%;
    }
}

@media screen and (max-width: 767px) {
    #index_board h4 {
        font-size: 3rem;
    }

    #index_board span {
        font-size: 2.1rem;
    }
}

@media screen and (max-width: 640px) {
    #index_board h4 {
        font-size: 2.8rem;
    }

    #index_board span {
        font-size: 1.9rem;
        top: 68%;
    }
}

@media screen and (max-width: 580px) {
    #index_board h4 {
        font-size: 2.7rem;
    }

    #index_board span {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 520px) {
    #index_board h4 {
        font-size: 2.5rem;
    }

    #index_board span {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 480px) {
    #index_board h4 {
        font-size: 2.2rem;
    }

    #index_board span {
        font-size: 1.5rem;
        top: 69%;
    }
}

@media screen and (max-width: 425px) {
    #index_board h4 {
        font-size: 2rem;
    }

    #index_board span {
        font-size: 1.3rem;
        top: 70%;
    }
}

@media screen and (max-width: 375px) {
    #index_board h4 {
        font-size: 1.7rem;
    }

    #index_board span {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 320px) {
    #index_board h4 {
        font-size: 1.6rem;
        top: 44%;
    }

    #index_board span {
        font-size: 1rem;
    }
}

#side_ad {
    background-color: #dbdce5;
    padding: 40px 0;
}

#side_ad .ad {
    margin: auto;
    display: flex;
    max-width: 1230px;
    justify-content: center;
    gap: 40px;
}

#side_ad .ad img {
    display: block;
}

@media screen and (max-width: 1266px) {
    #side_ad .ad {
        max-width: 1000px;
    }

    #side_ad {
        padding: 35px 0;
    }

    #side_ad .ad a:nth-child(5) {
        display: none;
    }
}

@media screen and (max-width: 1016px) {
    #side_ad .ad {
        max-width: 750px;
    }

    #side_ad {
        padding: 30px 0;
    }

    #side_ad .ad a:nth-child(4) {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #side_ad .ad {
        max-width: 100%;
        display: table;
    }

    #side_ad {
        padding: 20px 0;
    }

    #side_ad .ad a {
        padding: 10px 0 !important;
        display: block;
    }
}





.ch {
    position: relative;
    z-index: 1;
    margin: 0 auto 20px;
    display: table;
    line-height: 1.4;
}

.ch h2 {
    font-size: 3.6rem;
    color: #a70182;
    letter-spacing: 5px;
    font-weight: 400;
    display: table;
    margin: auto;
}
@media screen and (max-width : 680px) {
    .ch h2 {
        font-size: 3.3rem;
    }
}

.ch span {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4e4e4e;
    letter-spacing: 10px;
    text-align: center;
    display: block;
}
@media screen and (max-width : 680px) {
    .ch span {
        font-size: 1.6rem;
    }
}

.ch_head {
position: relative;
width: 60px;
height: 30px;
margin: auto;
overflow: hidden;
display: block;
}

.ch_head_moon {
position: absolute;
width: 60px;
height: 60px;
background-color: #fde454;
border-radius: 50%;
}

.ch_head_moon::before {
content: '';
position: absolute;
width: 130%;
height: 100%;
top: 20%;
left: -15%;
background-color: white;
border-radius: 50%;
}
body.index #event .ch_head_moon::before {
    background-color: #eee;
}










.filter {
    background-color: #f5f5f5;
    text-align: center;
    padding: 15px 10px;
    margin: 30px 0 40px;
    clear: both;
    overflow: hidden;
    font-size: 1.8rem;
}

@media screen and (max-width: 1266px) {
    .filter {
        margin: 30px 0 35px;
    }
}

@media screen and (max-width: 1016px) {
    .filter {
        margin: 30px 0 30px;
    }
}

@media screen and (max-width: 767px) {
    .filter {
        padding: 15px 0;
    }

    .filter span {
        display: none;
    }
}

.filter select,
#form_event select {
    border: 1px solid #e5e5e5;
    font-size: 1.6rem;
    padding: 5px 5px;
    height: 32px;
    vertical-align: middle;
}

.filter #City {
    margin: 0 30px 0 0;
}

@media screen and (max-width: 767px) {
    .filter #City {
        margin: 0;
    }
}

.filter #year {
    width: 180px;
}

@media screen and (max-width: 767px) {
    .filter #year {
        width: 170px;
    }
}

@media screen and (max-width: 640px) {
    .filter #year {
        width: 160px;
    }
}

@media screen and (max-width: 580px) {
    .filter #year {
        width: 150px;
    }
}

@media screen and (max-width: 520px) {
    .filter #year {
        width: 140px;
    }
}

@media screen and (max-width: 480px) {
    .filter #year {
        width: 130px;
    }
}

@media screen and (max-width: 425px) {
    .filter #year {
        width: 120px;
    }
}

@media screen and (max-width: 375px) {
    .filter #year {
        width: 110px;
    }
}



#submit1 {
    font-size: 1.6rem;
    height: 32px;
    vertical-align: middle;
    background-color: #9b4e8e;
    color: #fff;
    border: none;
    padding: 0 30px;
    line-height: 32px;
    cursor: pointer;
}
#submit1:hover {
    background-color: #ad138b;
}

@media screen and (max-width: 767px) {
    #submit1 {
        padding: 0 15px;
    }
}

#wrapper {
    max-width: 1000px;
    min-height: 60px;
    margin: 10px auto 40px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 1266px) {
    #wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    #wrapper {
        max-width: 750px;
        margin: 10px auto 35px;
    }
}

@media screen and (max-width: 767px) {
    #wrapper {
        max-width: 100%;
        margin: 10px 10px 30px;
    }
}

.school_list h3 {
    font-size: 2.4rem;
    margin: 0 0 30px;
    color: #ad138b;
    border-right: 2px solid #ad138b;
    display: inline-block;
    padding: 0 15px 0 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.school_list dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #dbdbdb;
    padding: 30px 0 0;
}

@media screen and (max-width: 1016px) {
    .school_list dl {
        padding: 20px 0 0;
    }
}

@media screen and (max-width: 767px) {
    .school_list dl {
        padding: 10px 0 0;
        display: block;
    }
}

.school_list dd {
    border-bottom: 1px solid #dbdbdb;
    margin: 0 0 30px;
    padding: 0 0 30px;
    width: 50%;
    box-sizing: border-box;
}

@media screen and (max-width: 1016px) {
    .school_list dd {
        margin: 0 0 20px;
        padding: 0 0 20px;
    }
}

@media screen and (max-width: 767px) {
    .school_list dd {
        margin: 0 0 10px;
        padding: 0 0 10px;
        width: 100%;
    }
}

.school_list .school_area {
    padding: 10px 20px;
    border-left: 1px solid #dbdbdb;
}

.school_list .school_name {
    font-weight: bold;
    font-size: 1.8rem;
    letter-spacing: 1px;
    float: left;
    width: 120px;
    margin: 0 10px 0 0;
}

@media screen and (max-width: 767px) {
    .school_list .school_name {
        width: 100%;
        float: none;
        margin: 0 0 10px;
    }
}

.school_list .school_info {
    font-size: 1.6rem;
    color: #313131;
    position: relative;
    overflow: hidden;
    margin: 0 30px 0 0;
}

.school_list .school_info a {
    color: #022f70;
    padding: 15px 0 5px;
    margin: 0 20px 0 0;
    display: inline-block;
}

.school_list .school_info i:before {
    color: #FFF;
    background-color: #022f70;
    height: 30px;
    width: 30px;
    border-radius: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    margin: 0 5px 0 0;
    font-size: 1.6rem;
}

.school_list .school_add {
    line-height: 1.4;
    margin: 3px 0 5px;
}

@media screen and (max-width: 767px) {
    .school_list .school_add {
        margin: 0;
    }
}


.system .school_list dl {
    border-top: none;
    padding: 20px 0 0;
    justify-content: space-between;
}

.system .school_list dd {
    position: relative;
    padding: 0 0 29%;
    width: 47%;
    border-bottom: none;
}

@media screen and (max-width: 767px) {
    .system .school_list dd {
        padding: 0 0 10px;
        width: 100%;
    }
}

.school_img {
    position: absolute;
    bottom: 0;
}

@media screen and (max-width: 767px) {
    .school_img {
        position: relative;
        margin: 10px 0;
    }
}

#main_body .system h3 {
    border-right: none;
    margin: 30px 0 0;
}

.system .school_list .school_area {
    padding: 0px 20px;
}

.system h3 span {
    background-color: #ad138b;
    color: #fff;
    border-radius: 10px;
    line-height: 20px;
    font-size: 1.5rem;
    padding: 2px 15px;
    margin: 0 0 0 15px;
    position: relative;
    top: -3px;
}

@media screen and (max-width: 520px) {
    .system h3 span {
        display: inline-block;
        margin: 0 0 5px;
        position: relative;
        top: 0;
    }
}

hr.system {
    border-top: 1px solid #ebe9e1;
    border-bottom: none;
    margin: 30px 0;
}



#main_body,
.cke_show_borders {
    font-size: 1.6rem;
    color: #000;
}

#main_body h3,
.headline {
    font-size: 3.0rem;
    margin: 30px 0;
    color: #ad138b;
    border-right: 2px solid #ad138b;
    display: inline-block;
    padding: 0 15px 0 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

body.subject2 #main_body h3 {
    margin: 0 0 10px;
}

#main_body img {
    max-width: 100%;
    width: auto;
    display: block;
    transition: all .2s ease-in-out;
}

.topic {
    font-weight: bold;
    color: #000;
    font-size: 1.8rem;
}

.cp {
    font-weight: bold;
    color: #000;
}

.sp {
    color: #ad138b;
}


#tabs {
    width: 100%;
    position: relative;
}

#tab_head {
    background-color: #c4a66a;
    font-size: 1.8rem;
    position: relative;
    margin: 30px 0;
    white-space: nowrap;
    overflow-x: scroll;
}

#tab_head::-webkit-scrollbar {
    display: none
}

#tab_head:before {
    content: "";
    border-bottom: 1px solid #b99a5b;
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    top: 50px;
    z-index: 1;
}

#tab_head a {
    padding: 10px 20px;
    display: inline-block;
    border-top: 1px solid #c4a66a;
    border-right: 1px solid #c4a66a;
    border-left: 1px solid #c4a66a;
    border-bottom: 1px solid #b99a5b;
    color: #fff;
    font-weight: bold;
}

#tab_head a.on,
#tab_head a:hover {
    border-top: 1px solid #b99a5b;
    border-right: 1px solid #b99a5b;
    border-left: 1px solid #b99a5b;
    border-bottom: 1px solid #fff;
    background-color: #fff;
    color: #c4a66a;
    text-decoration: none;
    z-index: 2;
    position: relative;
}

img.auto,
.teacher_photo,
.mb_photo {
    max-width: 100% !important;
    width: auto !important;
    max-height: 100% !important;
    height: auto !important;
}






.row3_list dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #dbdbdb;
    padding: 30px 0 0;
}

@media screen and (max-width: 1016px) {
    .row3_list dl {
        padding: 20px 0 0;
    }
}

@media screen and (max-width: 767px) {
    .row3_list dl {
        padding: 10px 0 0;
        display: block;
    }
}


.row3_list {
    display: flex;
}

.row3_list dd {
    width: 33%;
    box-sizing: border-box;
    display: inline-flex;
}

.row3_list.teacher dd {
    width: auto;
}

.row3_list .row3_row2 {
    width: 77%;
}

@media screen and (max-width: 1016px) {
    .row3_list dd {
        width: 32%;
        padding: 0 0 10px;
    }

    .row3_list .row3_row2 {
        width: 76%;
    }
}

@media screen and (max-width: 580px) {
    .row3_list {
        display: block;
    }

    .row3_list dd {
        width: 100%;
    }

    .row3_list .row3_row2 {
        width: 100%;
    }
}

.row3_list dd.mb {
    width: 50%;
}

@media screen and (max-width: 580px) {
    .row3_list dd.mb {
        width: 100%;
    }
}

.row3_list dd.mb>div {
    width: 100%;
}

.mb_area {
    color: #c1a761;
}

.mb_photo {
    float: left;
    margin: 0 15px 0 0;
}

@media screen and (max-width: 1016px) {
    .mb_photo {
        float: none;
        margin: 0 0 15px;
    }
}

@media screen and (max-width: 580px) {
    .mb_photo {
        float: left;
        margin: 0 15px 0 0;
    }
}

@media screen and (max-width: 425px) {
    .mb_photo {
        float: none;
        margin: 0 0 15px;
        display: block;
    }
}

.row3_list dd.mb .teacher_box {
    padding: 0;
}


.h_lint {
    height: 230px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: start;
}

.row3_list .row3_row2 .school_area {
    width: 100%;
}

.h_lint div {
    width: 50%;
}

@media screen and (max-width: 375px) {
    .h_lint {
        height: auto;
    }

    .h_lint div {
        width: 100%;
    }
}


.row3_list .school_area {
    padding: 10px 20px;
    border-left: 1px solid #dbdbdb;
}

.row3_list .topic {
    margin: 5px 0 15px;
    line-height: 1.2;
}

.row3_list.row3_photo {
    flex-wrap: wrap;
}

.row3_list.row3_photo dd {
    width: 25%;
}

@media screen and (max-width: 1016px) {
    .row3_list.row3_photo dd {
        width: 32%;
    }
}

@media screen and (max-width: 767px) {
    .row3_list.row3_photo dd {
        width: 49%;
    }
}

.row3_list.row6 {
    flex-wrap: wrap;
}

.row3_list.row6 dd {
    width: auto;
}

@media screen and (max-width: 768px) {
    .row3_list.row6 dd {
        width: 33.3%;
    }

    .row3_list.row6 {
        display: flex;
    }
}

@media screen and (max-width: 580px) {
    .row3_list.row6 dd {
        width: 50%;
    }
}

@media screen and (max-width: 425px) {
    .row3_list.row6 dd {
        width: 100%;
    }
}

.row3_list.row3_photo .photo_area {
    padding: 10px 20px;
    border-left: 1px solid #dbdbdb;
}

@media screen and (max-width: 1016px) {
    .row3_list.row3_photo .photo_area {
        padding: 10px 15px;
    }
}

@media screen and (max-width: 767px) {
    .row3_list.row3_photo .photo_area {
        padding: 10px;
    }
}

.row3_list.row3_photo .photo_area a {
    display: block;
}


.ch_title {
    align-items: center;
    width: 100%;
    margin: 30px 0;
}

.ch_title span {
    margin: auto;
    font-size: 1.8rem;
    display: table;
    background-color: #ad138b;
    color: #fff;
    border-radius: 30px;
    padding: 8px 0 6px;
    min-width: 210px;
    text-align: center;
}

.ch_title:after {
    content: "";
    height: 1px;
    background-color: #ad138b;
    display: block;
    top: -22px;
    position: relative;
    z-index: -1;
    width: 100%;
}

.sale_links {
    text-align: center;
}

.sale_links a {
    display: inline-block;
    background-image: url(/userfiles/template/sale.png);
    background-repeat: no-repeat;
    padding: 0 0 0 50px;
    line-height: 43px;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 20px;
}

@media screen and (max-width: 767px) {
    .sale_links a {
        margin: 0 20px 10px;
        min-width: 160px;
        text-align: left;
    }
}

.btn {
    font-size: 1.8rem;
    vertical-align: middle;
    background-color: #022f70;
    color: #fff;
    border: none;
    padding: 0px 50px;
    line-height: 44px;
    cursor: pointer;
    width: auto;
    margin: 20px auto;
    letter-spacing: 2px;
    display: inline-block;
}

.btn:hover {
    text-decoration: none;
}



.teacher_photo {
    float: left;
    margin: 0 15px 0 0;
}

@media screen and (max-width: 1016px) {
    .teacher_photo {
        float: none;
        margin: 0;
        display: block;
    }
}

.teacher_box {
    color: #003379;
    font-size: 1.8rem;
    line-height: 1.4;
    display: inline-block;
    padding: 0 30px 0 0;
}

@media screen and (max-width: 1016px) {
    .teacher_box {
        padding: 0;
    }
}

.teacher_box h2 {
    font-size: 3.6rem;
}

















footer {
    background-color: #9b4e8e;
    margin: 150px 0 0;
    font-size: 1.6rem;
    color: #fff;
    position: relative;
    z-index: 1;
}
@media screen and (max-width: 640px) {
    footer {
        font-size: 1.5rem;
    }
}


.footer_body {
    position: relative;
    margin: auto;
    max-width: 1230px;
    display: block;
}

@media screen and (max-width: 1266px) {
    .footer_body {
        max-width: 1000px;
        padding: 0 10px;
    }
}




.footer_circle {
    position: absolute;
    right: -180px;
    top: -230px;
    width: 530px;
    height: 230px;
    overflow: hidden;
}
.footer_circle_1 {
    width: 198px;
    height: 198px;
    display: block;
    border-radius: 50%;
    background-color: #6ecada;
    position: absolute;
    left: 0;
    top: 110px;
}
.footer_circle_2 {
    width: 390px;
    height: 390px;
    display: block;
    border-radius: 50%;
    background-color: rgb(249 231 126 / 70%);
    position: absolute;
    left: 130px;
    top: 0;
}
.footer_circle_3 {
    width: 330px;
    height: 330px;
    display: block;
    border-radius: 50%;
    background-color: rgb(233 104 134 / 60%);
    position: absolute;
    left: 50px;
    top: 150px;
}




.footer_info {
    order: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 0;
}

@media screen and (max-width: 1016px) {
    .footer_info {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
        order: 2;
    }
}

.footer_logo {
    position: relative;
    top: -70px;
    display: block;
    background-image: url(/userfiles/template/logo_f.svg);
    background-position: center top;
    background-repeat: no-repeat;
    width: 210px;
    height: 164px;
    order: 2;
}
@media screen and (max-width: 1016px) {
    .footer_logo {
        order: 1;
        top: -20px;
        margin: -50px 0 0;
    }
}
@media screen and (max-width: 640px) {
    .footer_logo {
        width: 190px;
        height: 148px;
    }
}

.footer_icon {
    order: 3;
}

.footer_icon a {
    height: 58px;
    width: 58px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 5px;
    text-decoration: none;
    display: inline-block;
}
@media screen and (max-width: 680px) {
    .footer_icon a {
        height: 48px;
        width: 48px;
        background-size: 36px;
    }
}
.footer_icon .facebook {
    background-image: url(/userfiles/template/icon_fb.png);
}
.footer_icon .facebook:hover {
    background-color: rgba(59, 89, 152, 1);
}
@media screen and (max-width: 680px) {
    .footer_icon .facebook {
        background-size: 15px 32px;
    }
}

.footer_icon .instagram {
    background-image: url(/userfiles/template/icon_ig.png);
}
.footer_icon .instagram:hover {
    background-color: rgba(228, 18, 119, 1);
}
@media screen and (max-width: 680px) {
    .footer_icon .instagram {
        background-size: 30px 29px;
    }
}

.footer_icon .youtube {
    background-image: url(/userfiles/template/icon_yt.png);
}
.footer_icon .youtube:hover {
    background-color: rgba(255, 0, 0, 1);
}
@media screen and (max-width: 680px) {
    .footer_icon .youtube {
        background-size: 29px 19px;
    }
}

.footer_icon .line {
    background-image: url(/userfiles/template/icon_line.png);
}
.footer_icon .line:hover {
    background-color: rgba(0, 185, 0, 1);
}
@media screen and (max-width: 680px) {
    .footer_icon .line:hover {
        background-size: 33px 31px;
    }
}

.copyright {
    font-size: 1.3rem;
    color: #ccacc6;
    text-align: center;
    padding: 30px 0 120px;
    border-top: 1px solid #b175a7;
}
























.h2 {
    font-size: 32px;
    color: #474747;
}

.h2b {
    color: #d22128;
}

.txt {
    font-size: 20px;
    color: #000;
    border-left: 1px solid #d22128;
    padding: 0 0 0 36px;
}

@media screen and (max-width: 767px) {
    .txt {
        font-size: 4.0vw;
        padding: 0 0 0 7.2vw;
    }
}


.step_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px 0 0;
}

@media screen and (max-width: 767px) {
    .step_list {
        padding: 6vw 0 0;
    }
}

.step_box {
    width: 23%;
}

@media screen and (max-width: 767px) {
    .step_box {
        width: 100%;
    }
}

.step_btn {
    border: 1px solid #d3262d;
    border-radius: 80px;
    padding: 15px 30px;
    font-weight: bold;
    font-size: 30px;
    color: #d22128;
    line-height: 1.1;
}

@media screen and (max-width: 767px) {
    .step_btn {
        padding: 3vw 6vw;
        font-size: 6.0vw;
    }
}

.step_btn span {
    color: #474747;
    font-size: 22px;
    font-weight: normal;
    display: block;
}

@media screen and (max-width: 767px) {
    .step_btn span {
        font-size: 4.4vw;
    }
}

.step_txt {
    font-size: 20px;
    color: #000;
    line-height: 1.6;
    padding: 0 20px;
}

@media screen and (max-width: 767px) {
    .step_txt {
        font-size: 4.0vw;
        padding: 0 20px 30px;
    }
}

.step_txt:before {
    content: "....";
    letter-spacing: 1px;
    font-size: 30px;
    color: #d22128;
    line-height: 1;
    writing-mode: vertical-lr;
    display: block;
    margin: auto;
    padding: 6px 0 1px 15px;
}

@media screen and (max-width: 767px) {
    .step_txt:before {
        font-size: 6vw;
    }
}


.gift_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 30px 0 0;
    margin: 0 0 -40px;
}

.gift_box {
    width: 30%;
    margin: 0 0 40px;
}

.gift_box:nth-child(1),
.gift_box:nth-child(2) {
    width: 46%;
}

@media screen and (max-width: 767px) {
    .gift_list {
        margin: 0 0 -6vw;
    }

    .gift_box,
    .gift_box:nth-child(1),
    .gift_box:nth-child(2) {
        width: 100%;
        text-align: center;
        margin: 0 0 6vw;
    }
}

.gift_img img {
    border-radius: 30px;
    display: block;
}

.gift_name {
    font-weight: bold;
    font-size: 30px;
    color: #fff;
    line-height: 1.1;
    padding: 15px 0;
}

@media screen and (max-width: 767px) {
    .gift_name {
        padding: 3vw 0 1.2vw;
        font-size: 6vw;
    }
}

.gift_txt {
    font-size: 18px;
    color: #000;
    line-height: 1.6;
}

@media screen and (max-width: 767px) {
    .gift_txt {
        font-size: 3.6vw;
    }
}











body.video #wrapper {
    overflow: visible;
}

body.video .slick-list:last-child {
    margin: 0 0 90px;
}

@media screen and (max-width: 767px) {
    .slick-list {
        margin: 0 0 30px;
    }
}

.video_list .slick-slide {
    padding: 0 10px;
}

.video_list .slick-slide a {
    height: auto;
    text-decoration: none;
}


.video_list_img {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video_list_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    width: auto;
    transition: all .2s ease-in-out;
}

.video_list .slick-slide a:hover img {
    transform: translate(-50%, -50%) scale(1.1);
}

.video_list_title {
    padding: 20px 0;
    font-size: 2.0rem;
    color: #003379;
    font-weight: bold;
    line-height: 1.2;
    /* 設置只顯示一行 文字超出部分以省略號表示 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video_list_info {
    font-size: 1.6rem;
    color: #2d2d2d;
    line-height: 1.5;
    /* 首先，設置要顯示的行數為 3 行 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* 接著，設置超出部分以省略號表示 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.arrow {
    border: solid #ccc;
    border-width: 0px 2px 2px 0;
    display: inline-block;
    padding: 11px;

    font-size: 0;
    line-height: 0;
    position: absolute;
    top: calc(50% - 72px);
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    outline: none;
    background: transparent;
    z-index: 1;
}

.arrow:hover {
    border: solid #003379;
    border-width: 0px 2px 2px 0;
}

.right {
    right: -30px;
    transform: rotate(-45deg);
}

.left {
    left: -30px;
    transform: rotate(135deg);
}

@media screen and (max-width: 1266px) {

    .right,
    .left {
        display: none !important;
    }
}



.video_new {
    padding: 30px;
    margin: 0 0 30px;
    background-color: #f2f5f8;
    overflow: hidden;
}

.video_new a {
    text-decoration: none;
}

#main_body .video_new h3 {
    margin: 0;
}

@media screen and (max-width: 768px) {
    #main_body .video_new h3 {
        margin: 30px 0 0;
    }
}

.video_new_title {
    margin: 30px 0;
    font-size: 3.0rem;
    color: #003379;
    font-weight: bold;
    line-height: 1.4;
    /* 首先，設置要顯示的行數為 3 行 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* 接著，設置超出部分以省略號表示 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

@media screen and (max-width: 768px) {
    .video_new_title {
        margin: 15px 0;
    }
}

.video_new_info {
    font-size: 1.6rem;
    color: #2d2d2d;
    /* 首先，設置要顯示的行數為 3 行 */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    /* 接著，設置超出部分以省略號表示 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.video_new_img {
    position: relative;
    float: left;
    max-width: 600px;
    width: 56%;
    padding-bottom: calc(56.25% * .56);
    margin: 0 30px 0 0;
    height: 0;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .video_new_img {
        float: none;
        width: 100%;
        padding-bottom: calc(56.25%);
        margin: auto;
    }
}

.video_new_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    width: auto;
    transition: all .2s ease-in-out;
}

.video_new a:hover img {
    transform: translate(-50%, -50%) scale(1.1);
}



.video_title {
    padding: 30px 0;
    font-size: 3.0rem;
    color: #003379;
    font-weight: bold;
    line-height: 1.4;
}

.video_player {
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
    height: 0;
    overflow: hidden;
}

.video_player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video_info {
    font-size: 1.8rem;
    color: #2d2d2d;
    padding: 30px 0;
}




.video_also {
    background-color: #f2f5f8;
    overflow: hidden;
}

.video_also_wrapper {
    max-width: 1000px;
    margin: 10px auto 40px;
}

@media screen and (max-width: 1266px) {
    .video_also_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    .video_also_wrapper {
        max-width: 750px;
        margin: 10px auto 35px;
    }
}

@media screen and (max-width: 767px) {
    .video_also_wrapper {
        max-width: 100%;
        margin: 10px 10px 30px;
    }
}






.video_ch_wrapper {
    max-width: 1000px;
    margin: auto;
}

@media screen and (max-width: 1266px) {
    .video_ch_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    .video_ch_wrapper {
        max-width: 750px;
    }
}

@media screen and (max-width: 767px) {
    .video_ch_wrapper {
        max-width: 100%;
    }
}

.video_ch_wrapper .headline {
    margin: 10px 0 30px;
}

@media screen and (max-width: 1016px) {
    .video_ch_wrapper .headline {
        margin: 10px 10px 30px;
    }
}

body.video_lf .video_also_wrapper {
    margin: 30px auto 0;
}

body.video_lf .video_title {
    padding: 70px 0 30px;
}

@media screen and (max-width: 768px) {
    body.video_lf .video_title {
        padding: 60px 0 25px;
    }
}

@media screen and (max-width: 520px) {
    body.video_lf .video_title {
        padding: 50px 0 20px;
    }
}

@media screen and (max-width: 480px) {
    body.video_lf .video_title {
        padding: 40px 0 15px;
    }
}

body.video_lf .video_info {
    padding: 30px 0;
}

@media screen and (max-width: 768px) {
    body.video_lf .video_info {
        padding: 25px 0;
    }
}

@media screen and (max-width: 520px) {
    body.video_lf .video_info {
        padding: 20px 0;
    }
}

@media screen and (max-width: 480px) {
    body.video_lf .video_info {
        padding: 15px 0;
    }
}

body.video_lf .video_info_empty {
    padding: 0;
    margin: 30px 0;
}

@media screen and (max-width: 768px) {
    body.video_lf .video_info_empty {
        margin: 25px 0;
    }
}

@media screen and (max-width: 520px) {
    body.video_lf .video_info_empty {
        margin: 20px 0;
    }
}

@media screen and (max-width: 480px) {
    body.video_lf .video_info_empty {
        margin: 15px 0;
    }
}

body.video_lf .video_info:not(:last-child) {
    border-bottom: 1px dotted #ccc;
}

body.video_lf .video_list_title {
    padding: 10px 0 0;
}

body.video_lf .arrow {
    top: calc(50% - 32px);
}

















.cate_list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media screen and (max-width: 768px) {
    .cate_list {
        gap: 25px;
    }
}

@media screen and (max-width: 640px) {
    .cate_list {
        gap: 20px;
    }
}

@media screen and (max-width: 425px) {
    .cate_list {
        gap: 15px;
    }
}

.cate_list a {
    display: flex;
    gap: 30px;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .cate_list a {
        gap: 25px;
    }
}

@media screen and (max-width: 640px) {
    .cate_list a {
        gap: 20px;
    }
}

@media screen and (max-width: 425px) {
    .cate_list a {
        gap: 15px;
    }
}

.cate_list_img {
    width: 40%;
    position: relative;
    overflow: hidden;
    /* 隱藏超出部分 */
    background-color: #f5f5f5;
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cate_list_img img {
    max-width: 100%;
    max-height: 100%;
    /* 讓圖片高度最大為容器高度 */
    width: auto;
    height: auto;
    /* 保持圖片比例 */
    display: block;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
}

.cate_list a:hover .cate_list_img img {
    transform: scale(1.2);
}

.cate_list_title {
    font-size: 24px;
    font-weight: bold;
    color: #003379;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .cate_list_title {
        font-size: 23px;
        overflow: visible;
        text-overflow: initial;
        white-space: initial;
    }
}

@media screen and (max-width: 640px) {
    .cate_list_title {
        font-size: 21px;
    }
}

@media screen and (max-width: 425px) {
    .cate_list_title {
        font-size: 18px;
    }
}

.cate_list_intro {
    color: #2d2d2d;
    font-size: 16px;

    /* 首先，設置要顯示的行數為 3 行 */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    /* 接著，設置超出部分以省略號表示 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

@media screen and (max-width: 1266px) {
    .cate_list_intro {
        -webkit-line-clamp: 2;
    }
}

@media screen and (max-width: 768px) {
    .cate_list_intro {
        display: none;
    }
}

.cate_list_more {
    display: inline-block;
    padding: 5px 30px 4px;
    color: #fff;
    font-size: 16px;
    background-color: rgb(0 51 121 / 80%);
}

.cate_list a:hover .cate_list_more {
    background-color: rgb(0 51 121 / 100%);
}

@media screen and (max-width: 580px) {
    .cate_list_more {
        display: none;
    }
}

.cate_list_txt {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
}

body.index .cate_list_txt {
    width: 100%;
}














.cate_slick {
    background-color: #f2f5f8;
    overflow: hidden;
    margin: 0 0 60px;
}

@media screen and (max-width: 1266px) {
    .cate_slick {
        margin: 0 0 50px;
    }
}

@media screen and (max-width: 1016px) {
    .cate_slick {
        margin: 0 0 40px;
    }
}

@media screen and (max-width: 767px) {
    .cate_slick {
        margin: 0 0 30px;
    }
}

.cate_slick_wrapper {
    max-width: 1000px;
    margin: 30px auto 60px;
}

@media screen and (max-width: 1266px) {
    .cate_slick_wrapper {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    .cate_slick_wrapper {
        max-width: 750px;
        margin: 20px auto 50px;
    }
}

@media screen and (max-width: 767px) {
    .cate_slick_wrapper {
        max-width: 100%;
        margin: 10px;
    }
}


.cate_slick img {
    max-width: 100%;
    width: auto;
    aspect-ratio: 3 / 2;
}

.cate_slick .slick-slide a {
    background-color: #e5e5e5;
}

.cate_slick h3 {
    background-color: rgba(0, 8, 68, .75);
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    width: 100%;
    padding: 10px 4%;
    font-size: 3.0rem;
    box-sizing: border-box;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .2s ease-in-out;
}

@media screen and (max-width: 1266px) {
    .cate_slick h3 {
        padding: 8px 3.5%;
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 1016px) {
    .cate_slick h3 {
        padding: 6px 3%;
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 767px) {
    .cate_slick h3 {
        padding: 4px 2.5%;
        font-size: 2.1rem;
    }
}

.cate_slick .arrow {
    top: calc(50% - 22px);
}



.pc_title {
    padding: 30px 0;
    font-size: 3.0rem;
    color: #003379;
    font-weight: bold;
    line-height: 1.4;
}

.pc_content img {
    max-width: 100%;
    width: auto;
    display: block;
    transition: all .2s ease-in-out;
}













.index_cate {
    margin: auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1230px;
}

@media screen and (max-width: 1266px) {
    .index_cate {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1016px) {
    .index_cate {
        max-width: 750px;
    }
}

@media screen and (max-width: 767px) {
    .index_cate {
        display: table;


        margin: 0 10px 30px;
    }
}


.index_cate .more {
    margin: 20px auto 50px;
    display: table;
    font-size: 1.6rem;
    color: #003379;
}

@media screen and (max-width: 767px) {
    .index_cate .more {
        margin: 15px auto 0;
    }
}

.index_cate .more:hover {
    text-decoration: none;
}

.index_cate .more b {
    border-radius: 36px;
    height: 36px;
    width: 36px;
    display: block;
    margin: auto;
    text-align: center;
    font-size: 3.6rem;
    border: 1px solid #9eb0c9;
    line-height: 30px;
    margin: 0 auto 5px;
}

.index_cate .more:hover b {
    color: #fff;
    background-color: #003379;
}

.index_cate .cate_list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.index_cate .cate_list a {
    width: calc(25% - 10px);
    flex-direction: column;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .index_cate .cate_list a {
        width: calc(50% - 5px);
        display: block;
    }
}

.index_cate .cate_list_img {
    width: 100%;
}

.index_cate .cate_list_title {
    font-size: 18px;
    padding: 0 0 5px;
}

@media screen and (max-width: 768px) {
    .index_cate .cate_list_title {
        font-size: 1.6rem;
        padding: 5px 2%;
    }
}

.index_cate .cate_list_intro {
    font-size: 13px;
    -webkit-line-clamp: 2;
}

















.partners {
    padding: 0 60px;
    margin: 0 0 30px;
}

.partners .slick-slide img {
    margin: auto;
}

@media screen and (max-width: 767px) {
    .partners .slick-list {
        margin: 0 0 10px;
    }
}

.partners .slick-slide a {
    height: auto;
}

.partners .slick-prev,
.partners .slick-next {
    top: calc(50% + 5px);
}

.partners .slick-prev:before,
.partners .slick-next:before {
    color: #f2f5f8;
}

.partners .slick-prev:hover:before,
.partners .slick-prev:focus:before,
.partners .slick-next:hover:before,
.partners .slick-next:focus:before {
    color: #b2c1d6;
}