@charset "UTF-8";
/* Variables */
/* Modules */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.video-container > iframe, .video-container > object, .video-container > embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
input, select, button, textarea {
  vertical-align: middle;
  outline: 0;
}
input::placeholder {
  font-family: "Poppins", "Noto Sans TC", sans-serif;
  color: #888;
  font-size: .9rem;
  letter-spacing: 1px;
}
img {
  vertical-align: top;
  max-width: 100%;
}
/*
.fb-page,
.fb-page span,
.fb-page span iframe[style] {
  width: 100% !important;
}*/ ::-moz-selection {
  background: rgba(0, 105, 255, 0.5);
  color: #fff;
}
::selection {
  /*background: rgba(0, 105, 255, 0.5);*/
  color: #fff;
}
button {
  cursor: pointer;
}
/*.pc { display: block; }
.mb { display: none; }

@media (max-width: 640px) {
  .pc { display: none; }
  .mb { display: block; }
}*/
/*通用全站都有的寫法*/
*:link, *:visited, *:hover, *:active, *:focus {
  -webkit-transition: color 0.25s linear, background-color 0.25s linear, border-color 0.25s linear, padding 0.15s linear, opacity 0.15s linear, -webkit-filter 0.15s linear, -webkit-transform 0.25s linear;
  transition: color 0.25s linear, background-color 0.25s linear, border-color 0.25s linear, padding 0.15s linear, opacity 0.15s linear, -webkit-filter 0.15s linear, -webkit-transform 0.25s linear;
  transition: color 0.25s linear, background-color 0.25s linear, border-color 0.25s linear, padding 0.15s linear, filter 0.15s linear, opacity 0.15s linear, transform 0.25s linear;
  transition: color 0.25s linear, background-color 0.25s linear, border-color 0.25s linear, padding 0.15s linear, filter 0.15s linear, opacity 0.15s linear, transform 0.25s linear, -webkit-filter 0.15s linear, -webkit-transform 0.25s linear;
}
/* 強制讓所有按鈕及輸入框繼承父層/全站字型與字重 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 繼承 body 或父容器設定的字型 */
  font-size: 100%;      /* 避免按鈕字體大小異常 */
  line-height: inherit;
}
.wrapper {
  overflow: hidden;
}
.sec-title {
  font-size: 54px;
  letter-spacing: .05em;
  margin-bottom: 0;
  font-weight: 900;
}
/*.wrapper p {
  font-size: 32px;
  line-height: 1.7;
}*/
.sec-en {
  font-size: 90px;
  font-weight: bold;
}
.text-center {
  text-align: center;
}
@media (max-width: 1200px) {
  .sec-title {
    font-size: 30px;
  }
  .sec-en {
    font-size: 56px;
  }
  /*.wrapper p {
    font-size: 20px;
  }*/
}
@media (max-width: 640px) {
  .sec-title {
    margin-bottom: 0;
  }
}
/*報名*/
/*.event_section {
  position: relative;
  background: linear-gradient(145deg, #0078f1 0%, #d828c9 33%, #f18d00 66%, #f1ce00 100%);
  padding: 85px 0 110px;
}*/
.event_section {
  display: block;
  position: relative;
  width: 100%;
  z-index: 5000;
  background-color: #000000; /* 底層黑底 */
  font-family: "Poppins", "Noto Sans TC", sans-serif;
  overflow: hidden;
  padding: 3rem 0 5rem;
  color: rgba(255, 255, 255, .92);
}
/* 漸層背景層 */
.event_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-75deg, #0078f1 0%, #d828c9 68%, #f18d00 88%, #f1ce00 100%);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}
.event_section .action {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 76%;
}
.event_section .event_wrap {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: 16vw;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.form {
  width: 100%;
  max-width: 960px;
  padding: 0;
  margin-top: 30px;
}
form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
form .field {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 49%;
  align-items: center;
  margin-bottom: 32px;
}
form .field label {
  width: 90px;
  flex-shrink: 0;
  color: #fff;
  text-align: right;
  font-weight: 500;
}
form .field input[type="text"], form .field input[type="tel"], form .field input[type="email"], form .field select {
  border: unset;
  border-radius: 6px;
  background: #fff;
  flex: 1;
  height: var(--input-height);
  font-size: .9rem;
  padding: 0.75rem;
  letter-spacing: 1px;
  color: #888;
}
form .field .tracks {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex: 1;
  width: inherit;
  flex-direction: column;
}
form .field .tracks > div {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: baseline;
}
form .field .tracks label {
  width: auto;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 0;
}
form .field select {
  height: var(--input-height);
  width: 100%;
  font-size: .9rem;
  appearance: none;
  background: url(../img/select-arrow.png) no-repeat right 10px center #fff;
}
/* ===== 箭頭左右來回跳動動畫 ===== */
@keyframes ctaArrowBounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px); /* 向右彈跳 6px */
  }
}
#submitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  padding: 1.25rem 2.5rem;
  margin: 0 auto;
  /* 漸層背景 */
  background: linear-gradient(90deg, #7c5af7 0%, #d845e2 48%, #ffb369 100%);
  background-size: 100% auto;
  color: #ffffff;
  font-family: "Poppins", sans-serif, "Noto Serif TC", serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 0 12px rgba(216, 69, 226, 0.35);
  transition: all 0.35s ease;
}
/* 按鈕文字 */
#submitBtn span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-weight: 800;
font-family: "Noto Sans TC", sans-serif;
  -webkit-font-smoothing: antialiased; /* 增強文字邊緣渲染粗度 */
}
/* 箭頭圖標：修正對齊與跳動 */
#submitBtn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 1;
  height: 1em;
  animation: ctaArrowBounce 1.2s infinite ease-in-out;
}
/* ===== Hover 懸停效果 ===== */
#submitBtn:hover {
  background-position: right center; /* 漸層光感流動 */
  box-shadow: 0 0px 24px rgba(255, 179, 105, 0.45);
  transform: translateY(-2px);
}
#submitBtn:hover i {
  animation: none;
  transform: translateX(8px);
  transition: transform 0.25s ease;
}
/* Active 點擊反饋 */
#submitBtn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(216, 69, 226, 0.3);
}
/* ===== 手機版 RWD (480px 以下) ===== */
@media screen and (max-width: 480px) {
  form button[type="submit"], #submitBtn {
    max-width: 100%;
    font-size: 1.15rem;
    padding: 0.875rem 1.5rem;
  }
}
.form p {
  color: rgba(255,255,255,.92);
  font-size: 16px;
  padding-left: 22px;
  width: 100%;
  line-height: 1.5;
  font-weight: 500;
}

.form small {
  display: block;
  color: #97c5f9;
  font-size: 14px;
  padding-left: 23px;
  width: 100%;
  line-height: 1.5;
  font-weight: 500;
  padding-bottom: 1rem;
}
.agreement {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding-left: 22px;
  width: 100%;
  margin: 0 0 32px 0;
}
.for-hours{
	margin: .15rem 0 0 0;
}
.attest{
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: rgba(255,255,255,0.92);
	letter-spacing: 1px;
	line-height: 1.5;
	text-align: justify;
	padding-left: 22px;
}
.agreement a {
  text-decoration: underline;
  padding: 0 0.5rem;
  color: #97c5f9;
}
.agreement p {
  line-height: 1.3em;
  word-break: keep-all;
  padding-left: 0;
}
@media (max-width: 1600px) {
  .event_section {
    padding: 70px 0 88px;
  }
  .form {
    width: 80%;
    margin-top: 40px;
  }
  form .field {
    width: 48%;
    margin-bottom: 28px;
  }
  form .field input[type="text"], form .field input[type="tel"], form .field input[type="email"], form .field select {
    border: unset;
    border-radius: 6px;
    background: #fff;
    flex: 1;
    height: var(--input-height);
    font-size: 1rem;
    padding: 0.75rem;
  }
  form .field .tracks {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex: 1;
    width: inherit;
    flex-direction: column;
  }
  form .field .tracks > div {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: baseline;
  }
  form .field .tracks label {
    width: auto;
  }
  input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin: 0;
  }
  form .field select {
    height: var(--input-height);
    width: 100%;
    font-size: 1rem;
    appearance: none;
    background: url(../img/select-arrow.png) no-repeat right 10px center #fff;
  }
  form button[type="submit"] {
    width: 415px;
  }
  .form p {
    font-size: 15px;
  }
  .agreement {
    margin: 16px 0 32px;
  }
}
@media (max-width: 1440px) {
  .event_section .event_wrap {
    width: 88%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 1366px) {
  .event_section .event_wrap {
    width: 90%;
    max-width: 1040px;
    margin: 0 auto;
  }
}
@media (max-width: 1280px) {
  .event_section .event_wrap {
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
  }
  .form {
    width: 100%;
    margin-top: 30px;
  }
}
@media (max-width: 1200px) {
  .event_section .event_wrap {
    width: 92%;
    max-width: 920px;
    margin: 0 auto;
  }
}
@media (max-width: 960px) {
  .event_section {
    padding: 70px 0 88px;
  }
  .event_section .event_wrap {
    flex-wrap: wrap;
    width: 85%;
    margin: 0 auto; /* 平板及手機端自動回歸居中 */
  }
  .form {
    width: 100%;
    margin-top: 40px;
  }
  form .field {
    width: 100%;
    margin-bottom: 8px;
  }
  form .field label {
    width: 76px;
  }
  form button[type="submit"] {
    width: 100%;
  }
  .form p {
    font-size: 15px;
    padding-left: 0;
  }
  .agreement {
    padding-left: 0;
    margin: 16px 0 32px;
  }
  .agreement p {
    word-break: break-all;
  }
}
@media (max-width: 500px) {
  .event_section {
    padding: 50px 0 50px;
  }
  .event_section .action {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 90%;
  }
.event_section .event_wrap {
    flex-wrap: wrap;
    width: 90%;
	max-width: 400px;
    margin: 0 auto; /* 平板及手機端自動回歸居中 */
  }
.form small {
  display: block;
  font-size: 14px;
  padding-left: 0;
}
	}
/*精彩影音*/
/*.video_section {
	display: block;
	float: left;
	width: 44%;
	overflow: hidden;
	background: 
  linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    linear-gradient(90deg, #d828c9 0%,  #f18d00 50%, #0078f1 100%) #000000;
  color: #fff;
	padding-bottom: 100px;
}*/
.video_section {
  display: block;
  float: left;
  width: 44%;
  position: relative; /* 必須加上，作為偽元素的定位基準 */
  background-color: #000000; /* 純黑底色 */
  color: #fff;
  padding-bottom: 100px;
  overflow: hidden;
  z-index: 1; /* 確保內容位於背景之上 */
}
/* 漸層背景層 */
.video_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #d828c9 0%, #0078f1 100%);
  opacity: 0.4; /* 平常狀態：淡化 60%（保留 40% 亮度） */
  transition: opacity 0.5s ease; /* 平滑淡入淡出 */
  z-index: -1;
  pointer-events: none;
}
/* Hover 時提亮 */
.video_section:hover::before {
  opacity: 0.55; /* 提亮時的亮度數值，可依視覺喜好調整（0~1） */
}
.video_section .video_wrap {
  max-width: 560px;
  /*width: 90%;*/
  width: 38.9vw;
  margin: 0 auto;
}
/*.video_section .sec-title {
  margin-bottom: 32px;
  font-size: 48px;
  font-weight: bold;
}*/
.splide__pagination__page {
  opacity: 1;
}
.splide__arrow {
  opacity: 1 !important;
  background: transparent !important;
  width: 62px !important;
  height: 62px !important;
}
.splide__arrow svg {
  opacity: 0;
}
.splide__arrow--prev {
  left: -7em !important;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBmaWxsPSIjZmZmIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTI1NiA1MDRDMTE5IDUwNCA4IDM5MyA4IDI1NlMxMTkgOCAyNTYgOHMyNDggMTExIDI0OCAyNDgtMTExIDI0OC0yNDggMjQ4ek0xNDIuMSAyNzNsMTM1LjUgMTM1LjVjOS40IDkuNCAyNC42IDkuNCAzMy45IDBsMTctMTdjOS40LTkuNCA5LjQtMjQuNiAwLTMzLjlMMjI2LjkgMjU2bDEwMS42LTEwMS42YzkuNC05LjQgOS40LTI0LjYgMC0zMy45bC0xNy0xN2MtOS40LTkuNC0yNC42LTkuNC0zMy45IDBMMTQyLjEgMjM5Yy05LjQgOS40LTkuNCAyNC42IDAgMzR6Ii8+PC9zdmc+") !important;
  background-repeat: no-repeat;
  background-position: center;
}
.splide__arrow--next {
  right: -7em !important;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBmaWxsPSIjZmZmIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTI1NiA4YzEzNyAwIDI0OCAxMTEgMjQ4IDI0OFMzOTMgNTA0IDI1NiA1MDQgOCAzOTMgOCAyNTYgMTE5IDggMjU2IDh6bTExMy45IDIzMUwyMzQuNCAxMDMuNWMtOS40LTkuNC0yNC42LTkuNC0zMy45IDBsLTE3IDE3Yy05LjQgOS40LTkuNCAyNC42IDAgMzMuOUwyODUuMSAyNTYgMTgzLjUgMzU3LjZjLTkuNCA5LjQtOS40IDI0LjYgMCAzMy45bDE3IDE3YzkuNCA5LjQgMjQuNiA5LjQgMzMuOSAwTDM2OS45IDI3M2M5LjQtOS40IDkuNC0yNC42IDAtMzR6Ii8+PC9zdmc+") !important;
  background-repeat: no-repeat;
  background-position: center;
}
.splide__pagination {
  bottom: -2em !important;
}
.splide__pagination__page {
  opacity: 1;
  background: #fff !important;
  width: 15px !important;
  height: 15px !important;
  margin: 6px !important;
}
.splide__pagination__page.is-active {
  transform: scale(1.6) !important;
}
@media (max-width: 1600px) {
  /*.video_section {
    padding: 58px 0;
  }*/
  .splide__arrow {
    width: 50px !important;
    height: 50px !important;
  }
  .splide__arrow--prev {
    left: -5.5em !important;
  }
  .splide__arrow--next {
    right: -5.5em !important;
  }
  .splide__pagination__page {
    opacity: 1;
    background: #fff !important;
    width: 10px !important;
    height: 10px !important;
  }
  .video_section .video_wrap {
    max-width: 480px;
    width: 90%;
    /*width: 25vw;*/
    margin: 0 auto;
  }
}
@media (max-width: 1440px) {
  .splide__arrow {
    width: 40px !important;
    height: 40px !important;
  }
  .splide__arrow--prev {
    left: -4.5em !important;
  }
  .splide__arrow--next {
    right: -4.5em !important;
  }
}
@media (max-width: 1366px) {
  .splide__arrow {
    width: 36px !important;
    height: 36px !important;
  }
  .splide__arrow--prev {
    left: -4em !important;
  }
  .splide__arrow--next {
    right: -4em !important;
  }
}
@media (max-width: 1280px) {
  .video_section .video_wrap {
    width: 420px;
  }
}
@media (max-width: 1200px) {
  .splide__arrow--prev {
    left: -3.5em !important;
  }
  .splide__arrow--next {
    right: -3.5em !important;
  }
}
@media (max-width: 960px) {
  .video_section {
    display: block;
    float: none;
    width: 100%;
    overflow: hidden;
    color: #fff;
    padding-bottom: 70px;
  }
  .video_section .video_wrap {
    width: 80%;
  }
  .splide__arrow {
    width: 7vw !important;
    height: 7vw !important;
  }
  .splide__arrow--prev {
    left: -6em !important;
  }
  .splide__arrow--next {
    right: -6em !important;
  }
}
@media (max-width: 500px) {
  .video_section .video_wrap {
    width: 75%;
  }
  .splide__arrow {
    width: 7vw !important;
    height: 7vw !important;
  }
  .splide__arrow--prev {
    left: -3em !important;
  }
  .splide__arrow--next {
    right: -3em !important;
  }
  .event_section {
    padding: 50px 0 50px;
  }
}
.for-hours{
	margin: .15rem 0 0 0;
}
/* ========================= 影音專欄 ========================= */
.video-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
} 

/* YouTube 封面 */ 
.video-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .4s ease;
}

/* 滑入圖片微放大 */ 
.video-card:hover img {
  transform: scale(1.04);
} 

/* 播放按鈕 */ 
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .72);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  pointer-events: none;
  transition: background .3s ease, transform .3s ease;
} 
/* Hover 播放按鈕 */ 
.video-card:hover .video-play {
  background: rgba(255, 0, 0, .9);
  transform: translate(-50%, -50%) scale(1.08);
} 

/* 播放 icon 微調 */ 
.video-play i {
  margin-left: 4px;
} 

/* ========================= YouTube 播放狀態 ========================= */
.video-card.is-playing {
  cursor: default;
}
.video-card.is-playing img, .video-card.is-playing .video-play {
  display: none;
}
.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
} 

/* ========================= 手機版 ========================= */ 
@media (max-width: 767px) {
  .video-play {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
}

/* 確保 Splide 容器溢出完全隱藏 */
#videoSplide .splide__track {
  overflow: hidden !important;
}

/* 每一則 Slide 100% 滿版且不縮放 */
#videoSplide .splide__slide {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* 影片卡片與 iframe 滿版填滿 */
#videoSplide .video-card {
  width: 100%;
  max-width: 100%;
  display: block;
}

#videoSplide .video-card iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9; /* 保持標準 16:9 比例 */
}
