@charset "utf-8";
/* =========================================================
   行動裝置／小螢幕樣式（由 index.php 在 index.css「之後」載入，順序不可對調）
   - 這裡的規則會覆蓋 index.css 的同名規則
   ========================================================= */
@media(max-width:420px) {
  section h3.title{
    font-size: 1.4em;
  }
}
/*************************************/
@media(max-width:1400px) {
  html{
    font-size: 1.2em;
  }
}
/*************************************/
/*活動議程 start*/
@media(max-width:939px) {
  .column_day{
    font-size: 0.9em;
  }
  .column_table .group_tr .td_time{
    flex-direction: column;
    min-width: 70px;
    font-size: 0.9em;
    line-height: 1em;
    -webkit-align-items: center;
            align-items: center;
    -webkit-justify-content: center;
            justify-content: center;
  }
  .column_table .group_tr .td_time span{
    display: block;
    clear: both;
  }
  .column_table .group_tr .td_time span.dash{
    transform: rotate(90deg);
    position: relative;
    left: 0.15em;
    top: 0.05em;
  }
  .column_table .group_tr .td_subject_lecturer{
    padding: 10px 0.55em;
    -webkit-justify-content: center;
            justify-content: center;
  }
}

/*活動議程 end*/
/*************************************/
@media(max-width:939px) {
  .column_gift.column_gift3{
    grid-template-columns: repeat(1,1fr);
  }
}
@media(max-width:640px) {
  }
/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*行動版選單*/

@media(max-width:939px){
  header nav{
    height: 65px;
  }
    header nav .column .column_menu{
    display: block;
    position: fixed;
    z-index: 9;
    display: block;
    background-color: #ffffff;
    text-align: center;
    border-radius: .5em;
    padding: 2em;
    top: -100%;
    opacity: 0;
    left: 10%;
    width: calc(100% - 20%);
    height: fit-content;
    height: -moz-fit-content;
    transition: top 0.5s, opacity 0.5s; -webkit-transition: top 0.5s, opacity 0.5s;
  }
  header nav .column .column_menu.mobile_show{
    top: 80px;
    opacity: 1;
  }
  header nav .column .column_menu ul{
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  header nav .column .column_menu ul li.menu{
    font-size: 1em;
    width: fit-content;
    width: -moz-fit-content;
    margin: 0 auto;
    color: #000000;
  }
  header nav .column .column_menu ul li.button{
    margin: 0.25em auto 0 auto;
    padding: 0.25em 1.5em;
  }

  header nav .column .mobile_menu{
    position: fixed;
    top: 13px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    background-color: #fff;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
  }
  header nav .column .column_menu ul li._mobilemenu{
    display: block;
  }

  header nav .column .mobile_menu .bar{
    position: absolute;
    right: 9px;
    width: 22px;
    height: 1.5px;
    background-color: #222;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
  }
  header nav .column .mobile_menu:hover .bar{
    /*background-color: #e8007b;*/
  }
  header nav .column .mobile_menu .bar1{
    top: 11px;
  }
  header nav .column .mobile_menu .bar2{
    top: 19px;
  }
  header nav .column .mobile_menu .bar3{
    top: 19px;
  }
  header nav .column .mobile_menu .bar4{
    top: 27px;
  }
  header nav .column .mobile_menu._ted .bar1{
    top: 19px;
    opacity: 0;
  }
  header nav .column .mobile_menu._ted .bar2{
    transform: rotate(45deg);
  }
  header nav .column .mobile_menu._ted .bar3{
    transform: rotate(-45deg);
  }
  header nav .column .mobile_menu._ted .bar4{
    top: 19px;
    opacity: 0;
  }
}
/*************************************/
/*kvtitle start*/
@media(max-width:1700px) {
  header .kvtitle .column .kv_title img {

  }
}
/***/
@media(max-width:1600px) {
  header .bg_header_a{
    background-image: url('../images/bg_header_a_1920.jpg');
  }
}
@media(max-width:1500px) {
  header .bg_header_a{
    background-image: url('../images/bg_header_a_1920.jpg');
  }
  header .bg_header_title_logo1{
    background-image: url('../images/bg_header_title_logo1_1920.png');
  }
  header .bg_header_title_1{
    background-image: url('../images/bg_header_title_1_1920.png');
  }
  header .bg_header_title_2{
    background-image: url('../images/bg_header_title_2_1920.png');
  }
  header .bg_header_title_3{
    background-image: url('../images/bg_header_title_3_1920.png');
  }
}
/* 寬度 < 940，或 高/寬 >= 1.33（直式，不限寬度，如 iPad Pro 13 1032x1376）→ KV 用手機版圖 */
@media(max-width:939px), (max-aspect-ratio: 100/130) {
  header .bg_header_a{
    background-image: url('../images/bg_header_a_mobile.jpg');
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: transparent;
  }
  header .bg_header_title_logo1{
    left: 0%;
    top: -6%;
    background-image: url('../images/bg_header_title_logo1_mobile.svg');
    background-position:center top ;
    background-size: contain;

  }
  header .bg_header_title_1{
    left: 0%;
    top: -6%;
    background-image: url('../images/bg_header_title_1_mobile.png');
    background-position:center top ;
    background-size: contain;

  }
  header .bg_header_title_2{
    left: 0%;
    top: -6%;
    background-image: url('../images/bg_header_title_2_mobile.png');
    background-position:center top ;
    background-size: contain;
  }
  header .bg_header_title_3{
    left: 0%;
    top: -3%;
    background-image: url('../images/bg_header_title_3_mobile.png');
    background-position:center top ;
    background-size: contain;
  }
  /* 行動裝置模式：進場改為由上到下 */
  header .bg_header_title_logo1.animate,
  header .bg_header_title_1.animate,
  header .bg_header_title_2.animate,
  header .bg_header_title_3.animate{
    top: 0%;
  }
}
/*kvtitle end*/
/*************************************/
@media(max-width:1023px) {
  .box_lecturer .column_pic .pic{
    position: relative;
    width: 140px;
    height: 140px;
  }
}
@media(max-width:900px) {
  .column_points .box{
    width: calc(50% - 46px);
  }
}
@media(max-width:800px) {
  .column_lecturer .box{
    display: inline-block;
    width: calc(50% - 5px);
    margin-bottom: 40px;
  }
}
@media(max-width:939px) {
  .column_lecturer .box .pic .photo{
    border: 2px solid #ffffff;
  }
}
@media(max-width:640px) {
  .column_points .box .icon{
    width: 180px;
    height: 180px;
  }
  /***/
  .column_lecturer .box .pic{
    position: relative;
    width: 120px;
    height: 120px;
  }
}
@media(max-width:480px) {
  .box_lecturer .column_pic .pic{
    position: relative;
    width: 110px;
    height: 110px;
  }
}

@media(max-width:939px) {
  .column_points .box{
    width: calc(100% - 46px);
  }
  .box_lecturer{
    width: calc(50% - 6px);
    min-width: unset;
  }
  .column_lecturer .box .pic .photo{
    border: 1px solid #ffffff;
  }
}
@media(max-width:540px) {
  .column_lecturer .box .pic .photo{
    border: 1px solid #ffffff;
  }
}
@media(max-width:440px) {
  .column_lecturer .box .pic{
    margin: 0 auto 10px auto;
    position: relative;
    width: 100px;
    height: 100px;
  }
  .column_lecturer .box .pic .photo{
    border: 0px solid #ffffff;
  }
}
@media(max-width:360px) {
  .column_points .box{
    margin-bottom: 0;
    padding: 16px 1em;
  }
  /***/
  .column_points .box{
    width: calc(100% - 0px);
    max-width: 340px;
  }
  .column_points .box .icon{
    width: 160px;
    height: 160px;
  }
  /***/
  .column_lecturer .box {
    margin-bottom: 40px;
  }
  .column_lecturer .box .pic{
    margin: 0 auto 6px auto;
    position: relative;
    width: 100px;
    height: 100px;
  }
  /***/
}
@media(max-width:320px) {
  .box_lecturer{
    width: 100%;
  }
}
/*************************************/
/*area_1*/
@media(max-width:1023px) {
  section.area_1{
    margin: 2em auto 1em auto;
  }
  section.area_2{
    margin: 0em auto 3em auto;
  }
  section.area_3{
    margin: 0em auto 3em auto;
  }
  section.area_6{
    margin: 2em auto 0 auto;
  }
}
@media(max-width:800px) {
  .column_grid{
    grid-template-columns: repeat(2,1fr);
  }
  ._news_box .info{
    margin-bottom: 0;
  }
}
@media(max-width:480px) {
  .column_grid{
    grid-template-columns: repeat(1,1fr);
  }
}
/*************************************/
@media(max-width:1023px) {
  /*內容標題*/
  section h2.title{
    margin: 2.5em auto 1.5em auto;
    font-size: 1.6em;
  }
  section h2.title.small{
    font-size: 1.3em;
    width: fit-content;
    width: -moz-fit-content;
  }
}
@media(max-width:840px) {
  /*內容標題*/
  section h2.title{
    font-size: 1.3em;
  }
  section h2.title.small{
    font-size: 1.2em;
    width: fit-content;
    width: -moz-fit-content;
  }
  section .infotext{
    font-size: 0.96em;
  }
  /*area1 video*/
  section.area_1 .video{
    width: 100%;
    left: 0;
    padding: 0;
  }
}
@media(max-width:540px) {
  section h2.title span{
    min-width: unset;
  }
  section.area_6 .infotext{
    font-size: 0.8em;
  }
}
@media(max-width:376px) {
  section h2.title{
    font-size: 1.2em;
  }
}
/*************************************/

/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*報名表單*/
@media(max-width:640px) {
  .personal-information .fields{
    grid-template-columns: repeat(1, 1fr);
  }
}
/*************************************/
/*單位*/
@media(max-width:480px) {

}
/*************************************/
@media(max-width:440px) {
  footer .container{
    width: 110%;
    margin-left: -5%;
    transform: scale(0.9);
  }
}
/*************************************/
@media(max-width:420px) {
  .flow_button{
    font-size: 0.9em;
  }
}
/*************************************/
/* header 寬度 < 940，或 寬度 < 1024 且 高/寬 >= 1.33（直式）時強制 10:18（JS 也會依視窗寬度同步設定高度） */
@media(max-width:939px), (max-width:1023px) and (max-aspect-ratio: 100/130) {
  header{
    aspect-ratio: 10 / 18;
    height: auto;
    min-height: 0;
    max-height: none;
  }
}
/* 以下與 js kvPosition 的高度分支同步，避免載入瞬間高度跳動 */
@media(max-width:939px), (max-width:960px) and (max-aspect-ratio: 100/130) {
  header{
    aspect-ratio: 100 / 185;
  }
}
@media(min-width:961px) and (max-aspect-ratio: 100/130) {
  header{
    aspect-ratio: 100 / 135;
    height: auto;
    min-height: 0;
    max-height: none;
  }
}
/* 高/寬 1.302 ~ 1.51：header 高度 = 螢幕高度 * 101% */
@media(min-aspect-ratio: 100/151) and (max-aspect-ratio: 1000/1302) {
  header{
    aspect-ratio: auto;
    height: 101vh;
    min-height: 0;
    max-height: none;
  }
}

@media(max-width:320px) {
  header .bg_header_title_logo1,
  header .bg_header_title_1,
  header .bg_header_title_2,
  header .bg_header_title_3{
    top: 0%;
  }
  header .bg_header_title_logo1.animate,
  header .bg_header_title_1.animate,
  header .bg_header_title_2.animate,
  header .bg_header_title_3.animate{
    top: 5%;
  }
}
