﻿@charset "utf-8";
@import url("all_shared.css");

/*TOP回到最上面*/
#TOP {
  position: absolute;
  top: -95px;
  padding-top: 0px;
  right: 10px;
  width: 50px;
  height: 81px;
  cursor: pointer;
  z-index: 9999;
  opacity: 0.8;
  border-radius: 11px;
  box-shadow: 0px 2px 6px 1px rgba(69, 69, 69, 0.4);
  transition: 0.3s;
}
#TOP:hover {
  opacity: 1;
}
#TOP img {
  width: 100%;
  height: auto;
}

/*-----------header*/
.header {
  width: 100%;
  z-index: 9999;
  top: 0;
  transition: top 0.5s ease-in-out;
  position: sticky;
  box-shadow: 0 6px 10px 3px #1f1f1f2b;
}
.header .headerbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 15px;
  height: 90px;
  margin: 0 auto;
  background-color: #fff;
}
.header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 100%;
  height: 10px;
  background: url(../frontimages/imaged-09.svg) repeat-x left center;
  background-size: 200px;
}
.header .headerbox .logo {
  height: 30px;
}
.header .headerbox .logo img {
  height: 100%;
  width: auto;
}
.header .headerbox .topmenu {
  align-self: flex-start;
  width: fit-content;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
  justify-content: center;
}

.header .headerbox .topbox {
  color: #565656;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header .headerbox .topbox .button-style {
  margin: 0;
  padding: 5px 8px;
  font-size: 14px;
  border: 0;
  color: #333;
  cursor: pointer;
  transition: 0.2s;
  background-color: rgb(230, 230, 230);
}
.header .headerbox .topbox .button-style:hover {
  background-color: #cfcfcf;
}
#menu {
  display: flex;
  gap: 10px;
}
#menu > li {
  padding: 7px 0;
  width: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

#menu > li > a {
  font-size: 18px;
  text-decoration: none;
  color: #1f1f1f;
  font-weight: 500;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}
#menu > li > a:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #ffcb5e;
}
#menu > li > a img {
  width: auto;
  height: 18px;
}
#menu > li:not(:last-child)::after {
  content: "";
  width: 20px;
  height: 15px;
  display: inline-block;
  background: url(../frontimages/icon-bg.svg) no-repeat center center;
  background-size: auto 100%;
}
#menu li > ul {
  display: none;
  margin: 0;
  z-index: 8000;
  line-height: 150%;
  list-style: none;
  position: absolute;
  top: 40px;
  left: -30px;
  width: 130px;
  height: auto;
  background: rgb(255, 255, 255);
  box-shadow: 0 0px 4px 2px #00000030;
  border-radius: 5px;
  scroll-behavior: smooth;
  overflow: hidden;
}
#menu li:last-child > ul {
  left: auto;
  right: 0;
}
#menu li ul li {
  float: left;
  display: block;
  width: 100%;
  height: auto;
  padding: 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: left;
  line-height: 150%;
}
#menu li ul li:hover {
  background-color: #003e71;
}

#menu li ul li:first-child {
  border-top: 0;
}

#menu li ul li a {
  display: block;
  color: #1f1f1f;
  width: auto;
  padding: 15px 10px;
  line-height: 110%;
  font-size: 18px;
  text-decoration: none;
  font-weight: normal;
}

#menu li ul li a:hover {
  text-decoration: none;
  /* color: #FFC730; */
  font-weight: normal;
  color: #fff;
}

#nav.nav-panel > ul > li h2 a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-panel > ul > li h2 a img {
  height: 20px;
}
/*header-----------end*/
/*adv-----------------*/
.adv {
  width: 100%;
  height: auto;
  margin: auto;
}
.adv .advbox {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: auto;
  font-size: 0;
}
.adv .advbox img {
  width: 100%;
  height: auto;
}

/*footer*/
.footer {
  width: 100%;
  height: auto;
  margin: 0 auto;
  clear: both;
  position: relative;
  z-index: 9;
  background: #1a325e;
}

.footer .footerbox {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
}

.footerbox p {
  height: auto;
  margin: 5px auto;
  color: #ffffff;
  font-size: 15px;
  font-weight: 300;
}
body {
  position: relative;
}
body::after {
  content: "";
  position: absolute;
  bottom: 69px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: url(../frontimages/imaged-03.svg) no-repeat bottom;
  background-size: 100% auto;
  z-index: 0;
}
/*分隔插圖*/
.bg-img {
  width: 100%;
  position: relative;
  z-index: 5;
}

/*article-------------*/
.article {
  width: 100%;
  height: auto;
  margin: auto;
  position: relative;
  z-index: 9;
  overflow: hidden;
  padding-bottom: 40px;
}
.article .articlebox {
  width: 100%;
  max-width: 1200px;
  background-color: #fffffff2;
  height: auto;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 40px 30px;
  margin-top: -11px;
  border-radius: 0 0 10px 10px;
}

/*共用版-間距*/
.page-section {
  position: relative;
}
.page-section .sectionbox {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.page-section .sectionbox div {
  position: relative;
  z-index: 0;
  .section-content-border {
    & img {
      max-width: 100%;
      height: auto;
      width: auto;
    }
  }
}

/*邊緣插圖*/
.page-section:nth-child(1) .sectionbox::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -260px;
  width: 310px;
  height: 288px;
  background: url(../frontimages/pageimg-bg01.svg) no-repeat center;
  background-size: 100% auto;
  z-index: 0;
}
.page-section:nth-child(n + 2):nth-child(even) .sectionbox::after {
  content: "";
  position: absolute;
  top: -150px;
  left: -240px;
  width: 250px;
  height: 394px;
  background: url(../frontimages/pageimg-bg02.svg) no-repeat center;
  background-size: 100% auto;
  z-index: -1;
}
.page-section:nth-child(n + 2):nth-child(odd) .sectionbox::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -430px;
  width: 470px;
  height: 317px;
  background: url(../frontimages/pageimg-bg03.svg) no-repeat center;
  background-size: 100% auto;
  z-index: -1;
}

/*內容標題*/
.page-section .section-title {
  color: #011745;
  font-size: 24px;
  display: inline-block;
  font-weight: bold;
  padding-left: 35px;
  background: url(../frontimages/pageimg-titleimg.svg) no-repeat left center;
  background-size: 25px auto;
}

/*新聞-下載列表*/
.news-section .news-list {
  background-color: rgba(255, 255, 255, 0.7);
  border-left: 5px solid #0b579e;
  box-shadow: 0 0 6px 0px #00000029;
}
.news-section .news-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 2px solid #b7d3eb79;
  padding: 15px;
  transition: 0.3s;
}
.news-section .news-list li:last-child {
  border-bottom: 2px solid #b7d3eb79;
}
.news-section .news-list li:hover {
  background-color: #e6efff;
}

.news-section .news-list .news-date {
  width: fit-content;
  font-size: 16px;
  color: #878787;
  font-weight: 500;
}
.news-section .news-list .news-tag {
  color: #de0000;
  font-weight: bold;
}
.news-section .news-list .news-text {
  font-weight: 500;
  color: #1f1f1f;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.news-section .news-list .news-text a {
  color: #1f1f1f;
}
.news-section .news-list .news-text a:hover {
  text-decoration: underline;
}

.news-section .news-list .news-download {
  background-color: #eb8d00;
  padding: 5px 12px;
  margin-left: auto;
  color: #fff;
  font-size: 16px;
  border-radius: 10px;
  flex: 0 0 auto;
  transition: 0.3s;
}
.news-section .news-list .news-download:hover {
  background-color: #dd6e00;
}

/*內容框--*/
.section-content-border {
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 0 6px 0px #00000029;
  border-radius: 10px;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.5);
}
.section-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 40px;
  padding: 20px 35px;
}

.content-section .section-content-border h3 {
  color: #07335c;
}

.articlebox .section-content-border ul li {
  list-style: disc;
}
.articlebox .section-content-border ol li {
  list-style: decimal;
}
.articlebox .section-content-border ul,
.articlebox .section-content-border ol {
  margin: 15px 30px;
}
.content-section .section-content-border img {
  max-width: 100%;
  height: auto;
}

/* 圖片分頁----------- */
.content-section .gallery-group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 每列固定三張 */
  gap: 1rem;
}
.content-section .gallery-group-2 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
.content-section .gallery-group .gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 20px;
  box-shadow: 0 0 6px 0px #00000029;
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden;
}
.content-section .gallery-group .gallery-image-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
}
.content-section .gallery-group .gallery-item .gallery-image {
  width: 100%; /* ✅ 總是放大填滿寬度（保留比例） */
  height: auto;
  object-fit: contain;
  display: block;
}
.content-section .gallery-group .gallery-item .gallery-caption {
  display: inline-block;
  width: 100%;
  text-align: left;
  height: 35px;
  line-height: 22px;
}

/* 下載------------ */
.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-list .download-btn {
  width: calc(100% / 3 - 10px);
  min-height: 60px;
  display: flex;
  padding: 0px 0 0px 45px;
  border-radius: 8px;
  color: #1f1f1f;
  border: 1px solid #b3b3b3;
  line-height: 20px;
  align-items: center;
  background: #ececec url(../frontimages/icon-down.svg) no-repeat 17px center;
  background-size: auto 22px;
}
.download-list .download-btn:hover {
  background-color: #ddd;
}

.form-section .sectionbox {
  border-top: 2px dashed #b7d3eb79;
  padding-top: 30px;
}
.form-section .css_tr {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-section .css_tr .css_td {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 3px 0;
}
.form-section .css_tr .css_td b {
  width: 150px;
  display: inline-block;
  text-align: right;
}
.form-section .css_tr .css_td .spanbox {
}
.form-section .css_tr .css_td .spanbox .text_input {
  width: 500px;
  border-radius: 4px;
  border: 1px solid #4a4a4a;
}
input.checkbox_radio {
  margin: 0 3px;
}
input.checkbox_radio[type="radio" i] {
  width: 18px;
  height: 18px;
}
/* 導覽------- */
#sitemap {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  overflow: hidden;
}

#sitemap .title {
  width: calc(100% / 6 - 1px);
  float: left;
  text-align: left;
  color: #1f1f1f;
  font-size: 1.2rem;
  font-weight: bold;
  padding-bottom: 8px;
}

#sitemap .title a {
  color: #1f1f1f;
  transition: 0.3s;
}
#sitemap .title > a {
  display: block;
  width: 100%;
  background-color: #0072b3;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 500;
}
#sitemap .title a:hover {
  text-decoration: none;
  color: #53e2f5;
}

#sitemap .title ul {
  padding: 10px;
}

#sitemap .title ul li {
  list-style-type: none;
  text-align: left;
  font-weight: normal;
}

#sitemap .title ul li a {
  color: #1f1f1f;
  padding: 0;
  border: 0;
  text-decoration: none;
  line-height: 160%;
}

#sitemap .title ul li a:hover {
  color: #004077;
  border: 0;
  text-decoration: underline;
}

/**/
/*課程查詢*/
.article .articlebox .topbanner {
  width: 100%;
  height: 200px;
  margin: 0 auto;
  margin-top: 40px;
  background: #ccc;
}
.article .articlebox .toptitle {
  color: #011745;
  font-size: 24px;
  display: flex;
  gap: 5px;
  font-weight: bold;
  align-items: center;
}
.article .articlebox .toptitle img {
  width: 30px;
  height: 30px;
}
.article .articlebox .toptitle i {
  font-style: normal;
  font-size: 80%;
  color: #ff9966;
}
.topboxin {
  border: 2px solid #2ca9e1;
  border-radius: 10px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}
.topbutton,
.topbutton3 {
  width: 100%;
  margin: 10px auto;
  color: #fff;
  text-align: center;
  clear: both;
}
.topbutton .on {
  background: #027a9f;
  color: #fff;
}
.topbutton .btnbtn {
  color: #000;
  border-style: none;
  min-width: 150px;
  height: 36px;
  text-align: center;
  cursor: pointer;
  margin: 2px;
  font-size: 110%;
  border-radius: 5px;
  background: #e8e8e8;
}
.topbutton,
.topbutton3 {
  width: 100%;
  margin: 10px auto;
  color: #fff;
  text-align: center;
  clear: both;
}
.topbutton select,
.topbutton3 select {
  font-size: 100%;
  padding: 5px 5px;
  vertical-align: middle;
  margin: 4px;
}
.educourselist {
  display: inline-block;
  width: calc(100% / 3 - 20px);
  height: auto;
  overflow: hidden;
  margin: 10px;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0px 4px 5px rgba(80, 80, 80, 0.3);
  border-radius: 10px;
  padding: 15px;
}
.educourselist .imgbox {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  background: #fff url(../../frontimages/photonone.jpg) no-repeat;
  background-size: 100% auto;
  display: inline-block;
  margin-right: 1%;
}
.educourselist .infobox {
  width: 100%;
  height: 180px;
  display: inline-block;
}

.educourselist .imgbox img {
  width: 100%;
  height: auto;
}
.educourselist .infobox .iconbar {
  font-size: 90%;
  line-height: 100%;
  padding-top: 10px;
}
.educourselist .infobox .iconbar .color01 {
  display: inline-block;
  color: #fff;
  background-color: #0071a3;
  padding: 5px 8px;
  border-radius: 10px;
  margin: 1px 4px;
}
.educourselist .infobox .iconbar .color02 {
  display: inline-block;
  color: #fff;
  background-color: #fdac00;
  padding: 5px 8px;
  border-radius: 10px;
  margin: 1px 4px;
}
.educourselist .infobox .iconbar .color03 {
  display: inline-block;
  color: #fff;
  background-color: #ff61dc;
  padding: 5px 8px;
  border-radius: 10px;
  margin: 1px 4px;
}
.educourselist .infobox .iconbar .color04 {
  display: inline-block;
  color: #fff;
  background-color: #5db636;
  padding: 5px 8px;
  border-radius: 10px;
  margin: 1px 4px;
}
.educourselist .infobox .iconbar .color05 {
  display: inline-block;
  color: #fff;
  background-color: #954ba8;
  padding: 5px 8px;
  border-radius: 10px;
  margin: 1px 4px;
}
.educourselist .infobox .iconbar .color06 {
  display: inline-block;
  color: #fff;
  background-color: #0facc3;
  padding: 5px 8px;
  border-radius: 10px;
  margin: 1px 4px;
}
.educourselist .infobox .Btitle {
  font-size: 140%;
  color: #000;
  font-weight: bold;
  text-align: left;
  padding: 0px 0 5px 0;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.educourselist .infobox .Stitle {
  width: 100%;
  height: auto;
  font-size: 100%;
  color: #333;
  padding-top: 5px;
}
.educourselist .infobox .Stitle .Scount {
  padding-left: 20px;
  color: #014076;
  display: block;
  font-weight: bold;
  background: url(../../frontimages/icon-12.png) no-repeat left center;
}
.educourselist .infobox .Stitle .Pfont {
  font-size: 90%;
  color: #333;
  line-height: 120%;
}
/*活動花絮*/
.activity_group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  .activity_item {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #ecf0f6;
    border-radius: 10px;
    padding: 15px;
    .video_box {
      width: calc(50% - 8px);
      aspect-ratio: 16 / 9;
      & div {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* 9 / 16 * 100% */
        & iframe {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
        }
      }
    }
    .text_box {
      display: flex;
      flex-direction: column;
      gap: 5px;
      width: calc(50% - 8px);
      .title {
        font-size: 25px;
        font-weight: bold;
      }
      .title2 {
        font-size: 22px;
        font-weight: 600;
      }
    }
  }
}

/*資料下載*/
.activity_group:has(.download_box) {
  flex-direction: row;
  flex-wrap: wrap;
  .activity_item {
    width: 100%;
    padding: 10px;
    gap: 10px;
    .download_box {
      display: flex;
      align-items: center;
      width: 100%;
      .title {
        font-size: 20px;
        padding-left: 5px;
        font-weight: bold;
      }
      & div {
      }
    }
    .text_box {
      width: 100%;
      display: flex;
      flex-direction: row;
      gap: 5px;
    }
    .download-btn {
      display: inline-block;
      width: fit-content;
      padding: 6px 15px;
      border-radius: 10px;
      font-size: 18px;
      color: #fff;
      background: #284f73;
    }
    .download-btn:hover {
      background: #1a3a5f;
    }
  }
}
.download-btn {
  display: inline-block;
  width: fit-content;
  padding: 6px 15px;
  border-radius: 10px;
  font-size: 18px;
  color: #fff;
  background: #284f73;
}
.download-btn:hover {
  background: #1a3a5f;
}
/* == 手機版型區 =============================== */
@media screen and (max-width: 767px) {
  .page-section:nth-child(1) .sectionbox::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -160px;
    width: 200px;
    height: 288px;
    background: url(../frontimages/pageimg-bg01.svg) no-repeat center;
    background-size: 100% auto;
    z-index: 0;
  }
  .page-section:nth-child(n + 2):nth-child(even) .sectionbox::after {
    content: "";
    position: absolute;
    top: -180px;
    left: -160px;
    width: 180px;
    height: 394px;
    background: url(../frontimages/pageimg-bg02.svg) no-repeat center;
    background-size: 100% auto;
    z-index: -1;
  }
  .page-section:nth-child(n + 2):nth-child(odd) .sectionbox::after {
    content: "";
    position: absolute;
    top: -130px;
    right: -290px;
    width: 310px;
    height: 317px;
    background: url(../frontimages/pageimg-bg03.svg) no-repeat center;
    background-size: 100% auto;
    z-index: -1;
  }
  .header {
    width: 100%;
    height: auto;
  }
  .header .headerbox .logo {
    height: 25px;
  }
  .header .headerbox .logo img {
    height: 100%;
    width: auto;
  }
  .header .headerbox .topmenu {
    display: none;
  }
  .header .headerbox .topbox {
    position: absolute;
    right: 65px;
  }
  .header .headerbox {
    width: 100%;
    height: 65px;
    margin: 0 auto;
    padding-left: 10px;
  }
  /*adv*/
  .adv {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0px auto;
  }

  .adv .ADVbox {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0px auto;
    font-size: 0;
  }

  .adv .ADVbox img {
    width: 100%;
    height: auto;
  }
  .footer {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .footer .footerbox {
    width: 95%;
    height: auto;
    margin: 0 auto;
  }
  .footerbox p {
    font-size: 14px;
  }

  /*header---------------------*/
  .article .articlebox {
    width: 95%;
    height: auto;
    gap: 30px;
    padding: 40px 20px;
  }
  /*共用版-間距*/
  .page-section .sectionbox {
    width: 100%;
    font-size: 90%;
  }
  /*標題*/
  .page-section .section-title {
    font-size: 22px;
    display: inline-block;
    font-weight: bold;
    padding-left: 27px;
    background-size: 22px auto;
  }

  /*內容框--*/
  .section-content-border {
    padding: 15px;
  }

  .section-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px;
  }

  .news-section .news-list li {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 6px;
  }
  .news-section .news-list .news-date {
    font-size: 14px;
    font-weight: 500;
  }
  .news-section .news-list .news-text {
    font-weight: 500;
    width: 100%;
  }
  /*內容框--*/
  .content-section .section-content-border {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border: 1px solid #b7d3eb;
    padding: 10px 15px;
  }
  .content-section .section-content-border .schedule-item .event-list li {
    /* list-style-type: disc;
    margin-left: 25px; */
  }

  /* 圖片分頁----------- */
  /* 圖片分頁----------- */
  .content-section .gallery-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 每列固定三張 */
    gap: 1rem;
  }

  /* 下載------------ */
  .download-list .download-btn {
    width: 100%;
  }
  .download-section .section-content-border {
    padding: 30px 20px;
  }
  .form-section .spanbox {
    width: 100%;
  }
  .form-section .css_tr .css_td .spanbox .text_input {
    width: 100%;
  }

  /*課程查詢*/

  .topboxin {
    width: 100%;
    margin: auto;
  }
  .educourselist {
    display: inline-block;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 10px 0;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0px 4px 5px rgba(80, 80, 80, 0.3);
    border-radius: 10px;
    padding: 15px;
  }
  .educourselist .imgbox {
    display: inline-block;
    width: 40%;
    height: auto;
    min-height: 160px;
    max-height: 160px;
    padding-bottom: 0;
    overflow: hidden;
    background: #fff url(../../frontimages/photonone.jpg) no-repeat center top;
    background-size: 100% auto;
    display: inline-block;
    margin-right: 1%;
  }
  .educourselist .infobox {
    display: inline-block;
    width: 57%;
    height: auto;
    display: inline-block;
  }

  .educourselist .imgbox img {
    width: 100%;
    height: auto;
  }
  .educourselist .infobox .iconbar {
    font-size: 80%;
    line-height: 100%;
    padding-top: 10px;
  }
  .educourselist .infobox .iconbar .color01 {
    display: inline-block;
    color: #fff;
    background-color: #0071a3;
    padding: 5px 8px;
    border-radius: 10px;
    margin: 1px 4px;
  }
  .educourselist .infobox .iconbar .color02 {
    display: inline-block;
    color: #fff;
    background-color: #fdac00;
    padding: 5px 8px;
    border-radius: 10px;
    margin: 1px 4px;
  }
  .educourselist .infobox .iconbar .color03 {
    display: inline-block;
    color: #fff;
    background-color: #ff61dc;
    padding: 5px 8px;
    border-radius: 10px;
    margin: 1px 4px;
  }
  .educourselist .infobox .iconbar .color04 {
    display: inline-block;
    color: #fff;
    background-color: #5db636;
    padding: 5px 8px;
    border-radius: 10px;
    margin: 1px 4px;
  }
  .educourselist .infobox .iconbar .color04 {
    display: inline-block;
    color: #fff;
    background-color: #954ba8;
    padding: 5px 8px;
    border-radius: 10px;
    margin: 1px 4px;
  }
  .educourselist .infobox .iconbar .color04 {
    display: inline-block;
    color: #fff;
    background-color: #0facc3;
    padding: 5px 8px;
    border-radius: 10px;
    margin: 1px 4px;
  }
  .educourselist .infobox .Btitle {
    font-size: 125%;
    color: #000;
    font-weight: bold;
    text-align: left;
    padding: 0px 0 5px 0;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .educourselist .infobox .Stitle {
    font-size: 100%;
    color: #333;
    padding-top: 10px;
  }
  .educourselist .infobox .Stitle .Scount {
    padding-left: 20px;
    color: #014076;
    display: block;
    font-weight: bold;
    background: url(../../frontimages/icon-12.png) no-repeat left center;
  }
  .educourselist .infobox .Stitle .Pfont {
    font-size: 100%;
    color: #333;
  }
  .actionindetmain {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 20px 0px;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0px 4px 5px rgba(80, 80, 80, 0.3);
    border-radius: 10px;
    padding: 15px 20px;
  }
  .Btitle {
    font-size: 100%;
    color: #1999c9;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 2px solid #1999c9;
    text-align: center;
  }
  .Pfont {
    font-size: 100%;
    color: #333;
    padding: 10px 0;
    font-size: 100%;
  }
  .ps {
    border: 1px dashed #ccc;
    padding: 15px;
    background-color: #eee;
    border-radius: 10px;
  }
  .actionname {
    width: 100%;
    height: auto;
    font-size: 140%;
    color: #014076;
    font-weight: bold;
    border-bottom: 2px solid #1999c9;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
  }

  .activity_group {
    & .activity_item {
      .video_box {
        width: 100%;
        aspect-ratio: 16 / 9;
      }
      .text_box {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
      }
    }

    .activity_group {
      & .activity_item {
        .video_box {
          width: 100%;
          aspect-ratio: 16 / 9;
        }
        .text_box {
          display: flex;
          flex-direction: column;
          gap: 5px;
          width: 100%;
        }
      }
    }
  }
  /*資料下載*/
  .activity_group:has(.download_box) {
    flex-direction: row;
    flex-wrap: wrap;
    .activity_item {
      width: 100%;
      padding: 10px;
      gap: 10px;
      .download_box {
        display: flex;
        align-items: center;
        width: 100%;
        .title {
          font-size: 20px;
          padding-left: 5px;
          font-weight: bold;
        }
        & div {
        }
      }
      .text_box {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 5px;
      }
      .download-btn {
        display: inline-block;
        width: fit-content;
        padding: 6px 15px;
        border-radius: 10px;
        font-size: 18px;
        color: #fff;
        background: #284f73;
      }
    }
  }
}
/* == 平板版型區 =============================== */
@media screen and (min-width: 768px) and (max-width: 1200px) {
  /*adv*/
  .adv {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0px auto;
  }

  .adv .ADVbox {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0px auto;
    font-size: 0;
  }

  .adv .ADVbox img {
    width: 100%;
    height: auto;
  }

  /*-----------header*/
  .header {
    width: 100%;
    height: auto;
  }

  .header .headerbox {
    width: 100%;
    height: 65px;
    margin: 0 auto;
  }

  .header .headerbox .topmenu {
    display: none;
  }

  .header .headerbox .topbox {
    position: absolute;
    right: 65px;
  }
  /*header---------------------*/
  /*footer*/
  .footer {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .footer .footerbox {
    width: 95%;
    height: auto;
    margin: 0 auto;
  }

  .article .articlebox {
    width: 95%;
    max-width: 1200px;
    padding: 40px 0px;
  }
  /*共用版-間距*/
  .page-section .sectionbox {
    width: 90%;
  }
  /*內容標題*/
  .page-section .section-title {
  }

  .content-section .gallery-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 每列固定三張 */
    gap: 1rem;
  }

  /*資料下載*/
  .activity_group:has(.download_box) {
    flex-direction: row;
    flex-wrap: wrap;
    .activity_item {
      width: 100%;
      padding: 10px;
      gap: 10px;
      .download_box {
        display: flex;
        align-items: center;
        width: 100%;
        .title {
          font-size: 20px;
          padding-left: 5px;
          font-weight: bold;
        }
        & div {
        }
      }
      .text_box {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 5px;
      }
      .download-btn {
        display: inline-block;
        width: fit-content;
        padding: 6px 15px;
        border-radius: 10px;
        font-size: 18px;
        color: #fff;
        background: #284f73;
      }
    }
  }
}
