/*共用*/

body {
  padding-top: 75px;
}

.page-title__container {
  max-width: 1600px;
  margin: 30px auto 0;
  text-align: center;
}

.page-title__text {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: bold;
  color: #53689b;
  margin: 0;
  text-align: center;
  letter-spacing: 1px;
}

.page-content__text {
  font-size: 14px;
  line-height: 1.5;
  color: #595757;
}

.hidden-mobile {
  display: none;
}

.breadcrumb {
  margin: 0 auto;
  padding: 15px 15px;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3px;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  color: #53689b;
  font-size: 15px;
  text-decoration: none;
}

.breadcrumb__link img {
  width: auto;
  height: 15px;
}

.breadcrumb__item--current {
  color: #53689b;
  font-size: 15px;
}

.breadcrumb__item:not(:last-child)::after {
  content: "chevron_right";
  font-family: "Material Symbols Outlined";
  color: #53689b;
  font-size: 13px;
  margin-left: 3px;
}

.video-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16/9;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}






.vision-container {
  max-width: 1600px;
  margin: 30px auto 30px auto;
  display: flex;
  flex-wrap: wrap;
}

.vision-card__title-1 {
  order: 2;
  width: 25%;
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  text-orientation: mixed;
  -webkit-text-orientation: mixed;
  font-size: 45px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.vision-card__title-2 {
  order: 3;
  width: 25%;
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  text-orientation: mixed;
  -webkit-text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.vision-card__title-1 h2,
.vision-card__title-2 h2 {
  font-size: 45px;
}

.vision-card__image-1 {
  order: 1;
  width: 100%;
  margin-bottom: 30px;
}

.vision-card__image-2 {
  order: 1;
  width: 100%;
  margin-bottom: 30px;
}

.vision-card__text-1 {
  order: 3;
  width: 75%;
  background: #ebeffa;
  border-left: 3px solid #caac5a;
  padding: 15px 15px;
}

.vision-card__text-2 {
  order: 2;
  width: 75%;
  background: #ebeffa;
  border-right: 3px solid #caac5a;
  padding: 15px 15px;

}

.vision-card__title-1>h2 br,
.vision-card__title-2>h2 br {
  display: none;
}

.vision-card__text-1 p,
.vision-card__text-2 p {
  margin-bottom: 15px;
}

.vis-color-50 {
  color: #99a5bf;
}

.vis-color-80 {
  color: #54689a;
}


.history-section {
  max-width: 1600px;
  margin: 0 auto;
  background: white;
  padding: 15px;
}

.history-section .page-title__text {
  padding: 20px 0;
}

.history-section .page-content__text {
  max-width: 500px;
  margin: 0 auto;
}

.history-section .page-content__text br {
  display: none;
}

.timeline-container {
  position: relative;
  margin-top: 40px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 29px;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.8s ease-out;
}

.timeline-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 17px;
  height: 17px;
  background: #caac5a;
  border-radius: 50%;
  border: 2px solid white;
  z-index: 10;
  opacity: 0;
  transform: translateY(5px) scale(0);
  transition: all 0.6s ease-out 0.3s;
}

.timeline-item.animate-in::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  width: 6px;
  background: #29437c;
  border-radius: 3px;
  z-index: 1;
  opacity: 0;
  transform: translateY(5px);
  height: 0;
  transition: all 0.6s ease-out 0.5s;
}

.timeline-item:not(:last-child)::after {
  bottom: -70px;
}

.timeline-item:last-child::after {
  bottom: 0;
}

.timeline-item.animate-in:not(:last-child)::after {
  opacity: 1;
  transform: translateY(0);
  height: calc(100% + 70px);
}

.timeline-item.animate-in:last-child::after {
  opacity: 1;
  transform: translateY(0);
  height: 100%;
}


.timeline-item-year {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(43px, 9vw, 70px);
  color: #53689b;
  margin-bottom: 5px;
  line-height: 1;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.6s ease-out 0.4s;
}

.timeline-item.animate-in .timeline-item-year {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content {
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 20px;
  box-shadow: none;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.6s ease-out 0.5s;
}

.timeline-content:last-child {
  margin-bottom: 10px;
}

.timeline-item.animate-in .timeline-content {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item-title {
  font-size: clamp(14px, 3vw, 22px);
  font-weight: 600;
  color: #53689b;
  margin-bottom: 3px;
}

.timeline-item-text {
  font-size: clamp(14px, 3vw, 22px);
  color: #595757;
  margin-bottom: 4px;
}

.timeline-image {
  width: 100%;
  max-width: 260px;
  opacity: 0;
  transform: translateY(5px) scale(0.9);
  transition: all 0.8s ease-out 0.6s;
  margin-bottom: 15px;
}

.timeline-item.animate-in .timeline-image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-team-section {
  width: 100%;
  max-height: 440px;
  aspect-ratio: 360 / 380;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/pages/about-team-1920x1000.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: top;
  -moz-box-align: top;
  -ms-flex-align: top;
  align-items: flex-start;
  -webkit-box-pack: start;
  -moz-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 0 15px;
  margin-bottom: 40px;
}

.about-team-section .news-chinese-text br,
.about-team-section .news-english-text br {
  display: none;
}

.corporate-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 0 60px;
  background: #ebeffa;
  margin-top: 40px;
  margin-bottom: -40px;
}

.exchange-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 0 60px;
  background: #ebeffa;
  margin-top: 40px;
}

.exchange-section .visit-text {
  text-align: center;
}

.exchange-section .honors-carousel {
  margin-top: 20px;
}

.corporate-title {
  margin-bottom: 40px;
}

.exchange-title {
  margin-bottom: 20px;
}

.honors-carousel {
  width: 100%;
  overflow: hidden;
  padding: 0 15px;
  position: relative;
}

.corporate-track,
.exchange-track {
  display: flex;
  gap: 30px;
  animation: scrollLeft 25s linear infinite;
  width: max-content;
}




.partners-wrapper {
  margin-top: 80px;
}

.corporate-item,
.exchange-item {
  flex: 0 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.corporate-image {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}

.exchange-image {
  height: 360px;
  width: auto;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}


.corporate-item-title,
.exchange-item-title {
  font-size: 16px;
  color: #595757;
  font-weight: 500;
  line-height: 1.2;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50%));
  }
}

.partners-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.partners-logos {
  justify-content: space-evenly;
}

.partner-logo {
  flex: 0 0 auto;
}





.partner-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}



.trip-section {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}

.visit-text {
  margin-top: 20px;
  padding: 0 15px;
}

.visited-map {
  padding: 0 15px;
  min-height: 350px;
}

.visited-map-content {
  height: 100%;
}

.visited-map-flourish {
  height: 100%;
}

.visited-map-flourish .flourish-embed {
  height: 100% !important;
  max-height: 100% !important;
}

.visited-map-title {
  font-size: 24px;
  color: #53689b;
  margin: 20px 0;
  padding-left: 20px;
  font-weight: bold;
  position: relative;
  line-height: 1;
}

.visited-map-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 1em;
  background: #caac5a;
}

.world-map-iframe {
  width: 100%;
  height: calc(350px - 70px);
  border: none;
  border-radius: 8px;
  background: #fff;
}

.trip-gallery-text {
  display: none;
}

.trip-gallery-text:first-child {
  display: block;
}

.trip-swiper {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 860/560;
  margin: 0 auto;
  position: relative;
}

.trip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #9fa0a0;
  border-radius: 50%;
  color: #9fa0a0 !important;
  font-size: 20px;
  font-weight: bold;
  transition: background 0.2s;
  margin-top: -20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.9);
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.swiper-button-prev .material-icons,
.swiper-button-next .material-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #333;
}

.trip-gallery-text {
  margin-left: 15px;
  line-height: 1.3em;
  line-height: 1;
}

.visit-video .video-container {
  max-width: 1060px;
  margin: 20px auto;
}

.training-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

.training-section .page-title__text {
  padding: 40PX 0 20PX;
}

.training-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.training-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.pic-interactive-wrapper {
  margin-bottom: 25px;
  width: 100%;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s ease-out;
}
.pic-interactive-wrapper.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.training-des-area {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.training-des-area.animate-in {
  opacity: 1;
  transform: translateY(0);
}














.main-image-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 15px;
  aspect-ratio: 450 / 330;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(41, 67, 124, 0.8);
  color: white;
  font-size: 18px;
  line-height: 1.2em;
  text-align: center;
  padding: 5px 10px;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
}

.thumbnail-s-image {
  flex: 1;
  height: 0;
  padding-bottom: calc(100% / 3 - 7px);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}

.thumbnail-s-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.training-des-area {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex: 1;
  min-height: 200px;
  width: 100%;
}

.training-blue-back {
  position: absolute;
  right: 0;
  top: 0;
  width: 88%;
  height: 100%;
  background-color: #ebeff9;
  border-radius: 0 0 0 35px;
  z-index: -1;
}

.training-yellow-back {
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 45%;
  height: 5px;
  background-color: #caac58;
  z-index: -2;
}

.training-desc-title {
  font-family: "Noto Serif TC", serif;
  color: #53689b;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 10px;
  line-height: 1em;
}

.training-desc-text {
  color: #595757;
  font-size: 14px;
  line-height: 1.6em;
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 20px;
}


/*  768px以上  */

@media (min-width: 768px) {

  body {
    margin-top: 25px;
  }

  .page-content__text {
    font-size: 22px;
  }

  .hidden-mobile {
    display: block;
  }

  .breadcrumb {
    max-width: 1600px;
    margin: 0 auto;
  }

  .breadcrumb__list {
    gap: 4px;
  }

  .breadcrumb__link,
  .breadcrumb__item--current {
    font-size: 15px;
  }

  .breadcrumb__link img {
    height: 15px;
  }

  .breadcrumb__item:not(:last-child)::after {
    font-size: 15px;
    margin-left: 4px;
  }

  .page-title__container {
    margin-top: -15px;
  }

  .vision-container {
    flex-wrap: nowrap;
    padding: 15px 15PX 0 15PX;
  }

  .vision-card__title-1 {
    order: 0;
    width: 16%;
  }

  .vision-card__title-2 {
    order: 2;
    width: 16%;
  }

  .vision-card__image-1 {
    order: 0;
    width: 38%;
    margin-bottom: 0;
    align-self: stretch;
  }

  .vision-card__image-2 {
    order: 3;
    width: 38%;
    margin-bottom: 0;
    align-self: stretch;
  }

  .vision-card__text-1 {
    order: 0;
    align-self: stretch;
    justify-content: center;
    margin-left: 30px;
    padding-left: 30px;
    margin-right: calc(-50vw + 50%);
    padding-right: calc(50vw - 50%);
    flex-direction: column;
    display: flex;
  }

  .vision-card__text-2 {
    order: 1;
    align-self: stretch;
    justify-content: center;
    margin-left: 30px;
    padding-left: 30px;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    flex-direction: column;
    display: flex;
  }

  .vision-card__title-1 h2,
  .vision-card__title-2>h2 {
    line-height: 1em;
    font-size: clamp(60px, 5vw, 110px);
  }

  .vision-card__title-1>h2 br,
  .vision-card__title-2>h2 br {
    display: inline-block;
  }

  .vis-color-80::before {
    content: '的';
    font-size: clamp(60px, 5vw, 110px);
    opacity: 0;
  }

  .history-section .page-content__text {
    max-width: 100%;
  }

  .history-section .page-content__text br {
    display: inline-block;
  }

  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 22px;
    margin-bottom: 60px;
    text-align: right;
  }

  .timeline-item:not(:first-child) {
    margin-top: -250px;
  }

  .timeline-image {
    max-width: 420px;
  }

  .timeline-content {
    margin-bottom: 40px;
  }

  .timeline-content:last-child {
    margin-bottom: 20px;
  }

  .timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 22px;
    padding-right: 0;
    text-align: left;
    transform: translateY(5px);
  }

  .timeline-item:nth-child(even).animate-in {
    transform: translateY(0);
  }

  .timeline-item::after {
    width: 8px;
    margin: 0;
    background: #29437c;
    border-radius: 4px;
    z-index: 1;
    top: 11px;
    right: -4px;
    left: auto;
  }

  .timeline-item:not(:last-child)::after {
    bottom: -80px;
  }

  .timeline-item:last-child::after {
    bottom: 0;
  }

  .timeline-item:nth-child(even)::after {
    left: -4px;
    right: auto;
  }

  .timeline-item::before {
    left: auto;
    right: -10px;
    top: 9px;
    width: 21px;
    height: 21px;
    background: #caac5a;
    border: 3px solid white;
    z-index: 10;
  }

  .timeline-item:nth-child(even)::before {
    left: -11px;
    right: auto;
  }

  .timeline-item.animate-in:not(:last-child)::after {
    opacity: 1;
    transform: translateY(0);
    height: calc(100% + 80px);
  }

  .timeline-item.animate-in:last-child::after {
    opacity: 1;
    transform: translateY(0);
    height: 100%;
  }

  .timeline-item-year {
    font-size: 70px;
  }

  .timeline-item-title {
    font-size: 1.4rem;
  }

  .timeline-item-text {
    font-size: 22px;
  }

  .timeline-item:nth-child(odd) .timeline-item-year {
    opacity: 0;
    transform: translateY(5px);
  }

  .timeline-item:nth-child(even) .timeline-item-year {
    opacity: 0;
    transform: translateY(5px);
  }

  .timeline-item.animate-in .timeline-item-year {
    opacity: 1;
    transform: translateY(0);
  }

  .about-team-section .news-chinese-text br,
  .about-team-section .news-english-text br {
    display: inline-block;
  }

  .about-team-section {
    height: 1000px;
    max-height: 1000px;
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-top: 130px;
    margin-bottom: 80px;
  }

  .structure__img {
    max-width: 1000px;
    margin: 0 auto;
  }

  .corporate-image {
    height: 180px;
  }

  .corporate-item-title,
  .exchange-item-title {
    font-size: 22px;
  }

  .honors-carousel {
    padding: 0;
  }

  .partner-logo img {
    height: 50px;
  }

  .partners-logos {
    justify-content: center;
    gap: 20px;
    max-width: 1600px;
    padding: 0 15px;
    margin: 0 auto;
  }


  .partner-logo img {
    height: 60px;
  }

  .partners-section {
    padding: 0;
  }

  .trip-section {
    flex-direction: row;
    align-items: stretch;
    max-height: 630px;
    max-width: 1600px;
    margin: 40px auto;
    flex-wrap: wrap;
  }

  .trip-gallery {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .visited-map {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    overflow: hidden;
  }

  .flourish-embed {
    height: 100% !important;
    min-height: 100% !important;
  }

  .flourish-embed iframe {
    height: 100% !important;
    min-height: 100% !important;
  }


  .visited-map-title {
    font-size: 28px;
  }

  .world-map-iframe {
    height: calc(100vh - 150px);
    min-height: 400px;
  }

  .swiper-button-prev {
    left: 20px;
  }

  .swiper-button-next {
    right: 20px;
  }

  .trip-gallery-text {
    text-align: left;
    margin-left: 40px;
  }

  .trip-swiper .swiper-slide {
    padding: 0 30px;
  }

  .swiper-button-prev {
    left: 30px;
  }

  .swiper-button-next {
    right: 30px;
  }

  .visit-video .video-container {
    margin: 40px auto;
  }

  .training-section {
    margin-bottom: -40px;
  }

  .exchange-title {
    margin-bottom: 40px;
  }

  .training-section .page-title__text {
    padding: 60PX 40PX;
  }

  .training-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .training-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .training-card:nth-child(1) {
    padding-right: 30px;
    border-right: 1px solid #d5d5d5;
    padding-bottom: 100px;
  }

  .training-card:nth-child(2) {
    padding-left: 30px;
    padding-right: 30px;
    border-right: 1px solid #d5d5d5;
    padding-bottom: 100px;
  }

  .training-card:nth-child(3) {
    padding-left: 30px;
    padding-bottom: 100px;
  }

  .main-image-title {
    font-size: 22px;
    padding: 5px 15px;
  }

  .training-desc-title {
    font-size: 88px;
  }

  .training-desc-text {
    font-size: 20px;
  }

  .training-des-area {
    flex: 1;
  }

  .pic-interactive-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-image-container {
    width: 100%;
  }

  .thumbnail-container {
    width: 100%;
  }

  .training-des-area {
    width: 100%;
  }

  .thumbnail-s-image {
    flex: 1;
    height: 0;
    padding-bottom: calc(100% / 3 - 7px);
    flex: none;
    width: calc(33.333% - 7px);
  }

  .thumbnail-s-image img {
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* 超大螢幕 1921px+*/

@media (min-width: 1921px) {
  .about-team-section {
    max-height: 900px;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
    background-position: center center;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
  }
}