body {
  position: relative;
  width: 100%;
  font-family: "Noto Sans TC", "Roboto", sans-serif;
  color: #383838;
  background-color: #FFFFFF;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  line-height: 1.8;
}

section {
  width: 100%;
  position: relative;
  padding: 0;
  box-sizing: border-box;
}

@keyframes parent-tab-image {
  0% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(-6px);
  }

  40% {
    transform: translateY(-6px);
  }

  60% {
    transform: translateY(0);
  }

  80% {
    transform: translateY(-6px);
  }

  to {
    transform: translateY(0);
  }
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hide {
  display: none !important;
}

:hover,
a:hover {
  transition: all .3s ease-in-out;
  text-decoration: none !important;
}

:focus {
  outline: none;
}

a {
  color: #4D4D4D;
  cursor: pointer;
}

a:hover {
  color: #1A8F67;
}

h1,
h2 {
  margin: 0;
  padding: 0;
}

p {
  font-size: .875rem;
  line-height: 1.8;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

ul li {
  list-style: none;
  padding: 0;
}

ul li::marker {
  font-weight: bold;
}

em {
  font-style: normal;
}

button {
  border: none;
  cursor: pointer;
}

button.defult {
  cursor: default;
}

button:focus {
  outline: none;
}

input[type="text"],
input[type="password"],
textarea,
select {
  color: #000;
  outline: none;
  border: 0px solid #dddddd;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select {
  box-shadow: none;
  border: 0px solid #ffffff;
}

::placeholder {
  color: #6a6a6a;
  opacity: 1;
}

::-webkit-scrollbar {
  width: 5px;
  opacity: 0.4;
}

::-webkit-scrollbar-track {
  background: rgb(241, 241, 241, 0.1);
}

::-webkit-scrollbar-thumb {
  height: 1px;
  background: #cacaca;
}

::-webkit-scrollbar-thumb:hover {
  height: 1px;
  background: #cacaca;
}

/* banner */
section.banner {
  position: relative;
  z-index: 0;
  margin-top: 0px;
}

section.content {
  position: relative;
  padding: 50px 0;
}

section.content .titleA {
  width: 100%;
  max-width: 1400px;
  margin: 0;
  position: relative;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

section.content .titleA h2 {
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: 700;
  color: #000000;
}

section.content .titleA p {
  font-size: 1.06rem;
  color: #484848;
}

section.content .titleA h3 {
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  line-height: normal;
  color: #fff;
  font-weight: bold;
  font-family: "Roboto";
  padding: 4px 12px;
  background: rgb(26, 143, 103);
  background: linear-gradient(225deg, rgba(26, 143, 103, 1) 0%, rgba(52, 198, 136, 1) 100%);
  border-radius: 30vw;
}

.wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

section.content .wrapper {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0px 3.4vw;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* h-news */
section.h-news {
  background: #FBFDFA;
}

section.h-news .wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

section.h-news .block {
  position: relative;
  height: auto;
  min-height: 320px;
}

section.h-news .block ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 360px;
}

section.h-news .news li .pic {
  display: none;
}

.news-bg {
  width: 100%;
  max-width: 385px;
  position: absolute;
  bottom: 50px;
  left: -68px;
}

@media(max-width:1520px) {
  .news-bg {
    width: 100%;
    max-width: 325px;
    position: absolute;
    bottom: 50px;
    left: -8px;
  }
}

@media(max-width:960px) {
  section.h-news .block {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  section.h-news .block ul {
    padding: 0;
  }

  .news-bg {
    position: relative;
    margin: 0 auto;
    bottom: auto;
    left: auto;
  }
}

@media(max-width:640px) {
  section.h-news .block ul {
    grid-template-columns: 1fr;
  }
}

/* h-highlights */
section.h-highlights {
  background: #FFF9F4;
}

section.h-highlights .wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

section.h-highlights .block {
  display: grid;
  gap: 40px;
  grid-template-columns: 550px auto;
  align-items: stretch;
}

.news {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-news {
  padding: 15px 15px 20px 15px;
  gap: 17px;
  background: #FFF4D8;
  cursor: pointer;
}

.news li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  cursor: pointer;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.main-news .pic {
  overflow: hidden;
}

.news li .pic {
  width: 100%;
  max-width: 165px;
  height: 102px;
  display: flex;
  overflow: hidden;
}

.main-news .pic img,
.news li .pic img {
  object-fit: cover;
  transform: scale(1);
  transition: all .3s ease-in-out;
}

.main-news:hover .pic img,
.news li:hover .pic img {
  object-fit: cover;
  transform: scale(1.02);
}

.main-news .txt,
.news li .txt {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.main-news .txt h2,
.news li .txt h2 {
  font-size: 1rem;
  font-weight: bold;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  color: #484848;
  margin-bottom: 0;
}

.main-news:hover .txt h2,
.news li:hover .txt h2 {
  color: #1A8F67;
}

.main-news .txt p,
.news li .txt p {
  font-size: .875rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.main-news .txt .info,
.news li .txt .info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.main-news .txt span.dot,
.news li .txt span.dot {
  width: 20px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center center;
  background-image: url("../images/icon-dot.svg");
  margin-top: 4px;
}

.btm-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  /* margin-top: 10px; */
}

.btm-group span {
  font-family: "Roboto";
  color: #D6AE00;
}

a.more {
  padding: 2px 14px;
  color: #1A8F67;
  transition: all .3s ease-in-out;
}

a.more:hover {
  background: #1A8F67;
  padding: 2px 14px;
  color: #fff;
}

@media(max-width:1180px) {
  section.h-highlights .block {
    grid-template-columns: 1fr;
  }
}

@media(max-width:640px) {
  section.h-highlights .block {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .news li {
    flex-direction: column;
  }

  .news li .pic {
    max-width: 100%;
    height: auto;
  }
}

/* block */
.item-box {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  background: #F7F7F7;
  /* box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.16); */
}

.item-box .top-info {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.item-box .top-info img {
  /* border-radius: 6px 6px 0px 0px;
  transform: scale(1);
  transition: all .3s ease-in-out; */
}

/* .item-box:hover .top-info img {
  transform: scale(1.02);
} */
section.content .item-box .titleA {
  background: #Fff;
}

section.content .item-box .titleA h2 {
  font-size: 1.5rem;
  line-height: 1.8;
  font-weight: bold;
  color: #000000;
}

.item-box .titleA h3 {
  height: auto;
  line-height: 1.3125;
}

.item-box .btm-info {
  padding: 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-box .btm-info ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-box .btm-info ul li a {
  font-size: 1.2rem;
  font-weight: bold;
  padding-left: 24px;
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: left center;
  background-image: url("../images/icon-link.svg");
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.item-box .btm-info h2 {
  margin-bottom: 0;
}

.item-box .btm-info h2 a {
  font-size: 1.2rem;
  font-weight: bold;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

/* h-service */
.h-service .wrapper .block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .h-service .wrapper .block {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .h-service .wrapper .block {
    grid-template-columns: 1fr;
  }
}

/* 每張卡片等高 + 圖片區固定比例 */
.item-box .top-info {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  /* 3:2 比例，自己調整：75%=4:3, 56.25%=16:9 */
  overflow: hidden;
  /* background: #000; */
}

.item-box .pointSlider {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.item-box .slick-slide,
.item-box .slide__image {
  height: 100%;
}

.item-box .slide__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.item-box .btm-info p a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

@media(max-width:1024px) {
  .h-service .wrapper .block {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }
}

@media(max-width:640px) {
  .item-box .btm-info {
    padding: 12px;
  }

  .item-box .btm-info ul li a {
    font-size: .875rem;
  }

  .item-box .btm-info ul {
    gap: 5px;
  }
}

.page-list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px auto;
  font-size: .875rem;
}

.page-list div {
  display: flex;
  align-items: center;
}

.page-list span.line {
  width: 1px;
  height: 13px;
  background: #000000;
  margin: 0px 10px;
  display: inline-flex;
}

.page-list a.return {
  color: #2E5D72;
}

.page-list a.return:hover {
  color: #000;
}

.page-list a.return span {
  margin-right: 2px;
}

/* footer */
footer {
  width: 100%;
  height: auto;
  color: #FFFFFF;
  background: #5A5A5A;
  box-sizing: border-box;
  text-align: center;
  padding: 28px 0;
}

footer .wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 15px;
}

footer .wrapper .foot {
  width: auto;
  display: flex;
  align-items: center;
}

footer .wrapper .foot ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

footer .wrapper .foot ul li {
  line-height: normal;
}

footer .wrapper .foot ul li a {
  color: #eaeaea;
  font-size: .93rem;
  line-height: normal;
  border-right: 1px solid #fff;
  padding-right: 8px;
  white-space: nowrap;
}

footer .wrapper .foot ul li:last-child a {
  border-right: 0px solid #fff;
}

footer .wrapper .foot.btm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

footer .wrapper .foot img {
  width: 100%;
  max-width: 30px;
}

footer .wrapper .foot:last-child p {
  text-align: left;
  font-size: .875rem;
  color: #fff;
}

.footinfo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footinfo .info {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 8px;
}

.footinfo .info p {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  color: #fff;
}

.footinfo .info p img {
  width: 16px;
  height: 16px;
}

@media (max-width: 1320px) {

  footer .wrapper,
  footer .wrapper .foot ul {
    flex-wrap: wrap;
    text-align: center;
  }

  footer .wrapper .foot ul {
    justify-content: center;
    gap: 8px;
  }

  footer .wrapper .foot ul li a {
    font-size: .93rem;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 14px 0;
  }

  footer .wrapper .foot ul li a {
    font-size: .78rem;
  }

  footer .wrapper .foot img {
    width: 100%;
    max-width: 24px;
  }

  footer .wrapper .foot:last-child p {
    font-size: .68rem;
  }

  footer .wrapper .foot.btm {
    gap: 4px;
    padding: 0px 10px;
  }

  .footinfo .info {
    flex-direction: column;
    gap: 4px;
  }

  .footinfo .info p {
    font-size: .93rem;
  }
}

/* gotop */
.btn-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: none;
  width: auto;
  text-align: center;
  color: #000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.btn-top .bg {
  width: 45px;
  height: 55px;
  background-size: contain;
  background-image: url("../images/gotop.svg");
  background-repeat: no-repeat;
  background-position: center 10px;
  transition: all .3s ease-in-out;
}

.btn-top:hover .bg {
  background-position: center 0px;
}

/* fixed list */
.s-info-right {
  position: fixed;
  right: 1%;
  bottom: 8%;
  z-index: 1;
  animation: pulse 1s infinite;
}

.s-info-right p {
  font-size: 1rem;
  text-align: center;
  color: #fff;
  background: #869BA0;
  border-radius: 8px 8px 0px 0px;
}

.s-info-right a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto;
}

.s-info-right.gobtm {
  bottom: 8%;
}

@media (max-width: 500px) {
  .s-info-right {
    right: 2%;
    bottom: 4%;
  }

  .s-info-right.gobtm {
    bottom: 4%;
  }
}

/* page */
.c-page .txt-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #212517;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.c-page .txt-box.txt-teacher {
  display: grid;
  justify-content: inherit;
  gap: 40px;
}

.c-page .txt-box .pic {
  margin-right: 40px;
}

.c-page .txt-box .word p {
  font-size: 1rem;
}

.c-page .txt-box .pic {
  flex: 1.26;
}

.c-page .txt-box .pic div {
  margin-bottom: 20px;
}

.c-page .txt-box .pic div:last-child {
  margin-bottom: 0;
}

.c-page .pic b {
  width: 100%;
  display: block;
  text-align: center;
  font-size: .875rem;
  margin-top: 12px;
  color: #869BA0;
}

.c-page .txt-box .block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #F2F3EE;
  color: #212517;
  border-radius: 8px;
  padding: 38px;
}

.c-page .txt-box .block .title {
  width: 100%;
  color: #579F89;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.c-page .txt-box .block .title span {
  color: #928642;
  margin-left: 5px;
}

.c-page .txt-box .block ul {
  flex: 3;
  margin-right: 40px;
}

.c-page .txt-box .block ul li {
  margin-left: 16px;
  padding-left: 16px;
  list-style: decimal;
  line-height: 2;
}

.c-page .news li a .pic {
  width: 100%;
  max-width: 100px;
  flex: 1;
  margin-right: 14px;
}

.c-page .news li a p {
  flex: 3;
}

.c-page .news li a .pic img {
  border-radius: 4px;
}

@media(max-width:840px) {
  .c-page .txt-box {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .c-page .txt-box .pic {
    margin-right: 0px;
  }

  .c-page .pic {
    margin-bottom: 20px;
  }

  .c-page .news li a .pic {
    margin-bottom: 0;
  }

  .c-page .txt-box .block {
    padding: 20px;
    flex-direction: column;
  }

  .c-page .txt-box .block ul {
    margin-right: 0;
    margin-bottom: 20px;
  }

}

.contact-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-box .info {
  width: 100%;
  margin-right: 40px;
  flex: 1;
}

.contact-box .info p {
  line-height: 2;
}

.contact-box .info iframe {
  margin: 20px auto;
}

.contact-box form {
  width: 100%;
  flex: 1;
}

ul.contact {
  background: #fafafa;
  padding: 20px 38px;
}

ul.contact b {
  font-size: 1.2rem;
  margin-bottom: 26px;
  display: inline-block;
}

ul.contact p {
  font-size: .93rem;
  flex: 1;
}

ul.contact li {
  display: flex;
  margin-bottom: 20px;
}

ul.contact .input {
  background: #fff;
  border: 1px solid #dedede;
  flex: 4;
}

ul.contact li.must_r .input {
  flex: 2;
  margin-right: 10px;
}

@media(max-width:1180px) {
  ul.contact li.must_r .input {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .contact-box .info iframe {
    height: 300px !important;
  }
}

ul.contact input[type="button"],
ul.contact input[type="submit"] {
  width: 40%;
  height: 46px;
  border-radius: 4px;
  background: #579F89;
  color: #fff;
  border: 0px;
  margin: 30px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

ul.contact input[type="button"]:hover,
ul.contact input[type="submit"]:hover {
  background: #2E5D72;
}

ul.contact .input input,
ul.contact .input textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 0px;
}

@media(max-width:1180px) {

  ul.contact li,
  .contact-box {
    flex-direction: column;
  }

  .contact-box .info {
    margin-right: 0px;
  }

  ul.contact {
    padding: 18px;
  }

  ul.contact li p {
    margin-bottom: 4px;
  }
}

/* News */
.left-menu {
  width: 100%;
  flex: 4;
  margin-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.left-menu ul li a {
  width: 100%;
  display: flex;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eaeaea;
}

.left-menu ul li.on a {
  color: #579F89;
  font-weight: bold;
}

@media(max-width:840px) {
  .left-menu {
    margin-right: 0;
    margin-bottom: 0px;
  }
}

.page {
  width: 100%;
}

.result-box .result-title h2 {
  font-size: 1.5rem;
  color: #212517;
  margin-bottom: 32px;
}

.result-box .result-title h2 b {
  color: #759242;
}

.product-big,
.small-pic {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.small-pic {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  justify-content: flex-start;
}

.product-big .product-pic {
  width: 39%;
}

.product-big .product-info {
  width: 56%;
}

.small-pic .item,
.small-pic img {
  width: 94px;
  height: 94px;
  min-width: 94px;
  margin-right: 7px;
  object-fit: contain;
}

.product-info .title {
  font-size: 1.5rem;
}

.product-info .info {
  font-size: 1.125rem;
  border-bottom: 1px dotted #707070;
  padding: 20px 0;
  color: #212517;
}

.product-info .info span {
  color: #5A5A5A;
}

@media(max-width:1200px) {

  .product-big .product-pic,
  .product-big .product-info {
    width: 100%;
  }
}

@media(max-width:960px) {

  .product-big {
    flex-wrap: wrap;
  }

  .product-pic {
    margin-bottom: 20px;
  }

  .result-box .result-title h2 {
    margin-bottom: 10px;
  }
}

dl.page {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px auto 20px;
  gap: 10px;
}

dl.page dd {
  padding: 0px 8px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #dadada;
}

dl.page dd.active {
  background: #579f89;
}

dl.page dd.active a {
  color: #fff;
}

.aniLogo {
  -webkit-animation: aniLogo 1.5s infinite;
  animation: aniLogo 1.5s infinite;
}

@keyframes aniLogo {
  0% {
    background-position-y: 0px;
    transform: scale(1);
  }

  50% {
    background-position-y: 5px;
    transform: scale(1.01);
  }

  100% {
    background-position-y: 0px;
    transform: scale(1);
  }
}

@media(max-width:1500px) {
  .slick-dots {
    padding: 5px 0px;
  }

  .slide img {
    height: 40vw;
    object-fit: cover;
  }

  section.content {
    position: relative;
    padding: 30px 0;
  }
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: #eaeaea;
}

.marquee .full_container {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  width: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
  white-space: nowrap;
  margin: 0 auto;
}

.marquee-content p {
  flex: 0 0 100%;
  margin: 0;
  padding: 10px;
  text-align: left;
}

.marquee-content {
  animation: marquee linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media(max-width:768px) {
  .marquee-content p {
    font-size: 14px;
  }
}

.block-Ctype {
  display: grid !important;
  grid-template-columns: 1fr 5fr;
  gap: 40px;
}

.block .word {
  width: 100%;
  display: flex;
  align-items: baseline;
  flex-direction: column;
  gap: 16px;
}

.block .word h1,
.left-menu h1 {
  color: #000;
  font-size: 1.5rem;
  margin-bottom: 0 !important;
}

.block .word h2 {
  color: #1A8F67;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.block .word h4 {
  color: #579F89;
  font-size: 1.25rem;
  margin-bottom: 0;
}

.block .word .img {
  display: flex;
  gap: 12px;
}

.block .word p.hasimg,
.block .word .hasimg {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.block .word p.hasimg.group,
.block .word .hasimg.group {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
}

.block .word p.hasimg img,
.block .word .hasimg img {
  width: 100%;
  min-width: 400px;
  max-width: 400px;
}

.block .word ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block .word ul li {
  list-style: disc;
  margin-left: 12px;
}

.block .word ul li ol {
  margin: 12px 0;
}

.block .word ul li ol li {
  list-style: square;
  margin-left: 16px;
  padding: 4px 0;
  color: #383838
}

.block .word table {
  border-collapse: collapse;
  width: 100%;
}

.block .word table,
.block .word table tr td,
.block .word table tr th {
  border: 1px solid #dcdcdc;
}

.block .word table tr td,
.block .word table tr th {
  padding: 4px 8px;
}

.block .word table tr th {
  background: #f9f9d7;
}

.tabContainer {
  width: 100%;
}

.tabs {
  width: 100%;
  display: flex;
  border-bottom: 1px solid #ddd;
}

.tab-button {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
  border-radius: 8px 8px 0 0;
}

.tab-button:hover {
  background: #e0e0e0;
}

.tab-button.active {
  background: #579F89;
  color: #fff;
}

.tab-content {
  display: none;
  padding: 16px;
  background: #fff;
  border-radius: 0 0 8px 8px;
}

.block .word .tab-content h2 {
  margin-bottom: 12px;
}

.block .word .tab-content ul {
  gap: 4px;
  margin: 12px 0;
}

.tab-content.active {
  display: block;
}

.tab-content table td {
  padding: 4px;
}

.tab-content table td b {
  white-space: nowrap;
}

@media(max-width:1024px) {
  .block-Ctype {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media(max-width:768px) {

  .block .word p.hasimg,
  .block .word .hasimg {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .block .word p.hasimg img,
  .block .word .hasimg img {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    margin: 0 auto;
  }

  .tab-button {
    width: 100%;
  }
}

@media(max-width:500px) {

  .block .word .img.two,
  .block .word .img.three {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* RightMenu */
.floatingButtonWrap {
  position: fixed;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  z-index: 99999;
  display: block;
}

.floatingButtonInner {
  position: relative;
}

.floatingButton {
  display: flex;
  width: 50px;
  height: 250px;
}

.floatingButton a {
  position: relative;
  opacity: 1;
  transition: all 0.4s;
  display: block;
  width: 50px;
  height: 160px;
  text-align: center;
  background: #057500;
  color: #fff !important;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  cursor: pointer;
  z-index: 1000;
  gap: 2px 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

.floatingButton a i {
  display: none;
}

.floatingButton.open,
.floatingButton:hover,
.floatingButton:focus,
.floatingButton:active {
  opacity: 1;
  color: #fff;
}

.floatingButton a i {
  transition: all 0.4s;
  transform: rotate(0deg);
  font-weight: bold;
  font-size: 1.25rem;
}

.floatingButton.rotate a {
  border-radius: 0px 0px 6px 6px;
}

.floatingButton.rotate a i {
  transform: rotate(180deg);
}

/* tabs */
.floatingButtonWrap ul li::marker {
  content: "";
}

.floatingButtonWrap .tabAll {
  position: fixed;
  top: 0px;
  right: -60px;
  height: 250px;
}

.floatingButtonWrap .tabs {
  display: none;
  padding: 0;
  margin: 0;
}

.floatingButtonWrap .tabs li {
  list-style: unset;
  display: grid;
  gap: 2px;
}

.floatingButtonWrap .tabs li a {
  width: 60px;
  height: 60px;
  background: #333 !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #3f3f3f;
  line-height: 1.4;
  font-size: 1.06rem;
  cursor: pointer;
}

.floatingButtonWrap .tabs li:last-child a {
  border-bottom: 0px solid #a9a9a9;
}

.floatingButtonWrap ul.tabs li:hover a,
.floatingButtonWrap ul.tabs li.current a {
  background: #eaab18 !important;
  color: #222 !important;
}

.floatingButtonWrap .tabs li a i {
  font-size: 1.6rem;
}

.floatingButtonWrap .tab-content {
  display: none;
  background: #ededed;
  padding: 14px 20px;
  position: absolute;
  right: 0px;
  top: 0px;
  padding-right: 70px;
  z-index: 99;
  width: 480px;
  height: auto;
  min-height: 250px;
  max-height: 480px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.floatingButtonWrap .tab-content.current {
  display: inherit;
}

.floatingButtonWrap .tab-content ul {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.floatingButtonWrap .tab-content ul li {
  list-style: unset;
}

.floatingButtonWrap .tab-content ul li a {
  width: 100%;
  color: #383838;
  font-size: 1.06rem;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  display: flex;
  margin-bottom: 5px;
  padding-bottom: 5px;
  white-space: nowrap;
}

.floatingButtonWrap .tab-content ul li ol {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.floatingButtonWrap .tab-content ul li ol li {
  display: flex;
  gap: 4px;
  align-items: center;
}

.floatingButtonWrap .tab-content ul li ol li a {
  font-size: 1rem;
  text-align: left;
  font-weight: normal;
  border-bottom: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

@media(max-width:500px) {
  .floatingButtonWrap .tab-content {
    max-width: 326px;
    padding: 14px 30px 14px 14px;
  }

  .floatingButtonWrap .tab-content ul {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .floatingButtonWrap .tab-content ul li a {
    font-size: 1.06rem;
  }

  .floatingButtonWrap .tab-content ul li ol li a {
    font-size: .93rem;
  }

  .floatingButton,
  .floatingButton a {
    width: 40px;
  }
}

.list-type {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.list-type li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.list-type li span {
  font-family: "Roboto";
  color: #D6AE00;
}

.list-type li a {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}

.list-type li:last-child a {
  border-bottom: 0px solid #e8e8e8;
}

.info ul li p.activitiess {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  justify-content: flex-start;
}

.info ul li p.activitiess img {
  height: 100%;
  object-fit: cover;
}

@media(max-width:768px) {

  .info ul li p.activitiess {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info ul {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.info ul li {
  width: 100%;
  position: relative;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #dcdcdc;
}

.info ul li:last-child {
  border-bottom: 0px solid #dcdcdc;
}

.info ul li a h4 {
  position: relative;
  color: #1c1c1c;
  transition: .3s linear;
}

.info ul li a h4:hover {
  color: #417a7f;
}

.info ul.list-type li a h4 {
  padding-left: 20px;
  font-size: 18px;
}

.info ul.list-type li a h4::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #417a7f;
}

.info ul li a.more {
  display: inline-flex;
  padding: 6px;
  background: #579F89;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  font-size: 16px;
}

.info ul li a.more:hover {
  color: #fff !important;
  background: #417a7f;
}

.info ul h4 {
  font-size: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.info ul li p,
.info ul li .detail span {
  font-size: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  margin: 6px 0;
}

.info ul li .detail span {
  -webkit-line-clamp: 3;
}

.info ul li span {
  display: flex;
  color: #727272;
  font-size: 16px;
  margin-bottom: 6px;
}

.info.typeC {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.info.typeC .teacher_title {
  position: relative;
  font-size: 1.25rem;
  font-weight: bold;
  padding-left: 16px;
}

.info.typeC .teacher_title::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #417a7f;
}

.info ul.teachers li {
  display: grid;
  grid-template-columns: 150px 2fr;
  gap: 20px;
  /* border: 0px; */
}

.info ul.teachers li a {
  display: grid;
  gap: 10px;
  text-align: center;
  align-items: stretch;
}

.info ul.teachers li a img {
  width: 100%;
  max-width: 150px;
  height: auto;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  object-position: top;
}

.info ul.teachers li .detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}

.info ul.teachers li .detail .txt p {
  display: flex;
  font-size: 14px;
}

.info ul.teachers li a.more {
  max-width: 120px;
}

@media(max-width:500px) {
  .info ul.teachers li {
    grid-template-columns: 120px 2fr;
  }
}

/* 排版 */
.top-level {
  text-align: center;
  padding-bottom: 60px;
}

.org .main-container {
  position: relative;
}

.main-hline {
  height: 1px;
  background: #999;
  width: 68%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.main-container .flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dept {
  text-align: center;
  flex: 1;
  min-width: 280px;
}

.dept-connect {
  height: 80px;
  width: 1px;
  background: #999;
  margin: 0 auto;
}

.sub-level {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.dept-clinical .sub-level {
  grid-template-columns: repeat(2, 1fr);
}

.sub-level.column {
  flex-direction: column;
  gap: 20px;
}

.deep-level {
  display: grid;
  align-items: flex-start;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vline {
  height: 60px;
  width: 1px;
  background: #999;
}

/* 從學院連到主線 */
.top-to-main {
  position: absolute;
  top: -60px;
  left: 50%;
  width: 1px;
  height: 60px;
  background: #999;
  transform: translateX(-54%);
  z-index: 2;
}

.org {
  max-width: 100%;
  margin: 0px auto 40px;
}

.org .box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-radius: 3px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  font-weight: bold;
  margin: 4px;
  background: #fff;
  white-space: nowrap;
  position: relative;
  text-align: center;
}

.deep-level .group .box {
  width: 100%;
}

.org .box a {
  color: inherit;
  text-decoration: none;
  display: block;
  white-space: wrap;
  font-weight: 400;
}

.org .box a:hover {
  text-decoration: underline;
  opacity: 0.9;
  color: #fff;
}

/* 層級顏色 */
.org .l1 {
  background: #417a7f;
  color: #fff;
  font-size: 1.25em;
}

.org .l2 {
  background: #007554;
  color: #fff;
}

.org .l3 {
  background: #87b686;
  color: #fff;
}

.org .l4 {
  background: rgb(187, 112, 4, .8);
  color: #fff;
  font-weight: 500;
}

@media (max-width:1280px) {
  .main-container .flex {
    grid-template-columns: 1fr;
  }

  .main-hline {
    display: none;
  }

  .loginInfo {
    display: grid;
    justify-content: center;
  }

  .loginInfo .info {
    max-width: unset;
    min-width: 375px;
  }
}

@media (max-width:768px) {
  .main-container .flex {
    grid-template-columns: 1fr;
  }

  .top-to-main {
    display: none;
  }

  .top-level {
    padding-bottom: 0px;
  }

}

table.class_page {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

table.class_page,
table.class_page td,
table.class_page th {
  border: 0px;
}

table.class_page td {
  padding: 4px !important;
}

table.class_page td font {
  display: flex;
  gap: 12px;
}

table.class_page td font a,
table.class_page td font b {
  font-size: 14px;
}

center input.goback {
  padding: 12px 20px;
  background: #e3e3e4;
  color: #777;
  outline: unset;
  border: 0px;
  border-radius: 8px;
  font-size: 1.16rem;
  margin: 12px auto 36px;
}