@charset "UTF-8";
.banner {
  position: relative;
  display: block;
  width: 100%;
  height: 21.5vw;
  top: -5.25vw;
  left: 0;
  margin-bottom: -2.25vw;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.banner .txt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  top: 12vw;
  left: 24vw;
  transition: all 0.75s ease-in;
  animation-name: bannerStart;
  animation-duration: 1.25s;
  animation-iteration-count: 1;
  z-index: 3;
}
.banner .txt .title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: 1vw;
  color: #ffffff;
  order: 1;
}
.banner .txt .title h3 {
  font-size: 2vw;
}
.banner .txt .body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.95vw;
  letter-spacing: 0.125vw;
  padding-left: 1vw;
  color: #ffffff;
  order: 3;
}
.banner .txt:after {
  content: "";
  width: 1px;
  padding: 1.75vw 0;
  background-color: #ffffff;
  order: 2;
}

.banner:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 1s ease-in-out;
}

.banner.noMask:after {
  display: none;
}

.pageBody {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 75%;
  margin: 5vw auto 2vw;
}
.pageBody > .left {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 17.5%;
  padding-right: 2.5vw;
  order: 1;
}
.pageBody > .left .btn-left-nav,
.pageBody > .left .btn-school-nav {
  display: none;
}
.pageBody > .left #leftNav {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.pageBody > .left #leftNav li {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 1vw;
}
.pageBody > .left #leftNav li a {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: calc(100% - 1.9vw);
  font-size: 0.95vw;
  padding: 0.5vw 0.95vw;
  transition: all 0.25s ease-in-out;
  border-bottom: 2px solid rgba(112, 112, 112, 0.39);
  color: #000000;
}
.pageBody > .left #leftNav li a:before {
  content: "";
  position: absolute;
  width: 0.45vw;
  height: 0.65vw;
  left: 0;
  background-image: url("/images/school/icon_arrow_right.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.pageBody > .left #leftNav li a.active {
  color: #a79654;
}
.pageBody > .left #leftNav li a:hover {
  color: #a79654;
  border-bottom-color: #a79654;
}
.pageBody > .left #leftNav li:first-child {
  margin-top: 0;
}
.pageBody > .right,
.pageBody > .fullPage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 75%;
  padding-left: 5vw;
  order: 2;
}
.pageBody > .right > .title,
.pageBody > .fullPage > .title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  height: max-content;
  margin-bottom: 1vw;
}
.pageBody > .right > .title > h1,
.pageBody > .fullPage > .title > h1 {
  font-size: 1.25vw;
  font-weight: bold;
  letter-spacing: 0.125vw;
}
.pageBody > .right > .title > h3,
.pageBody > .fullPage > .title > h3 {
  font-size: 0.65vw;
  color: #878787;
}
.pageBody > .right > .content,
.pageBody > .fullPage > .content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1.25vw;
}
.pageBody > .fullPage {
  width: 100%;
}

.pageChange {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5vw;
  width: 100%;
  margin-top: 1vw;
}
.pageChange,
.pageChange * {
  box-sizing: border-box;
}
.pageChange__text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75vw;
  min-width: 0;
}
.pageChange__text a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5vw;
  font-size: 1vw;
  line-height: 1.2;
  padding: 0.35vw 1.25vw;
  color: #231815;
  border: 1px solid #c4c4c4;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.5s ease;
}
.pageChange__text a:hover {
  color: #af884d;
  border-color: #af884d;
}
.pageChange__pager {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pageChange__pager li {
  display: flex;
  align-items: center;
}
.pageChange__pager li a,
.pageChange__pager li .lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2vw;
  min-height: 2.2vw;
  font-size: 1vw;
  line-height: 1;
  padding: 0.35vw 0.75vw;
  margin-right: 0.5vw;
  color: #231815;
  border: 1px solid #c4c4c4;
  text-decoration: none;
  transition: 0.5s ease;
}
.pageChange__pager li a:hover {
  color: #af884d;
  border-color: #af884d;
}
.pageChange__pager li.active a {
  color: #af884d !important;
  border-color: #af884d !important;
}
.pageChange__pager li:last-child a,
.pageChange__pager li:last-child .lock {
  margin-right: 0;
}
.pageChange .lock {
  color: rgba(35, 24, 21, 0.15) !important;
  border-color: rgba(35, 24, 21, 0.15) !important;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 15vw;
    background-color: #c8bf6a;
    border-radius: 50px;
  }
  .banner {
    height: auto;
    min-height: 52vw;
    height: 81.5vw;
    top: 0;
    margin-bottom: 0;
  }
  .banner .txt {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    left: auto;
    top: auto;
    width: 100%;
    padding: 10vw 6vw;
    transition: all 0.75s ease-in;
  }
  .banner .txt .title {
    align-items: flex-start;
    width: 100%;
    padding-right: 0;
  }
  .banner .txt .title h3 {
    font-size: 9.5vw;
    font-weight: bold;
    line-height: 1.15;
  }
  .banner .txt .body {
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    font-size: 4.25vw;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin: 4vw 0 0;
    padding-left: 4vw;
    border-left: 1px solid #ffffff;
  }
  .banner .txt:after {
    content: initial;
  }
  .pageBody {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 8vw;
    padding: 0 5vw;
  }
  .pageBody > .left {
    width: 100%;
    padding: 0;
  }
  .pageBody > .left .btn-left-nav,
  .pageBody > .left .btn-school-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    padding: 3.5vw 12vw 3.5vw 4vw;
    margin: 6vw auto 4vw;
    font-size: 4.25vw;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    border: 1px solid #707070;
    border-radius: 50px;
    color: #231815;
    background-color: #ffffff;
    overflow: visible;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }
  .pageBody > .left .btn-left-nav:after,
  .pageBody > .left .btn-school-nav:after {
    content: "";
    position: absolute;
    width: 3.25vw;
    height: 2.125vw;
    right: 5.5vw;
    top: 50%;
    margin-top: -1.0625vw;
    background-image: url("/images/school/icon_arrow_down.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease-in-out;
    z-index: 2;
    pointer-events: none;
  }
  .pageBody > .left .btn-left-nav.active:after,
  .pageBody > .left .btn-school-nav.active:after {
    transform: rotate(180deg);
  }
  .pageBody > .left #leftNav {
    display: none;
    width: 100%;
    max-height: 0;
    margin: 0 0 4vw;
    list-style: none;
    padding: 0;
    border-radius: 25px;
    transition: all 0.5s ease-in-out;
    border: 2px solid rgba(167, 150, 84, 0);
    overflow: hidden;
  }
  .pageBody > .left #leftNav li {
    margin-top: 0;
    list-style: none;
  }
  .pageBody > .left #leftNav li a {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    font-size: 4.25vw;
    padding: 3.5vw 4vw;
    border-bottom: 1px solid rgba(112, 112, 112, 0.15);
    color: #231815;
    text-decoration: none;
  }
  .pageBody > .left #leftNav li a:before {
    display: none;
  }
  .pageBody > .left #leftNav li a.active {
    color: #3b3b3b;
    background-color: #ececdc;
  }
  .pageBody > .left #leftNav li a:hover {
    color: #a79654;
    border-bottom-color: #a79654;
  }
  .pageBody > .left #leftNav li:first-child {
    margin-top: 0;
  }
  .pageBody > .left #leftNav li:first-child a.active {
    border-radius: 23px 23px 0 0;
  }
  .pageBody > .left #leftNav li:last-child a {
    border-bottom: 0;
  }
  .pageBody > .left #leftNav li:last-child a.active {
    border-radius: 0 0 23px 23px;
  }
  .pageBody > .left #leftNav.active {
    display: block;
    max-height: 200vw;
    border-color: rgb(167, 150, 84);
    overflow: hidden;
  }
  .pageBody > .right,
  .pageBody > .fullPage {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .pageBody > .right > .title,
  .pageBody > .fullPage > .title {
    width: 100%;
    margin: 2vw 0 5vw;
    padding: 0;
  }
  .pageBody > .right > .title > h1,
  .pageBody > .fullPage > .title > h1 {
    font-size: 6.5vw;
    letter-spacing: 0.1em;
    line-height: 1.3;
  }
  .pageBody > .right > .title > h1.smaller,
  .pageBody > .fullPage > .title > h1.smaller {
    font-size: 5.75vw !important;
  }
  .pageBody > .right > .title > h3,
  .pageBody > .fullPage > .title > h3 {
    font-size: 3.25vw;
    margin-top: 1.5vw;
  }
  .pageBody > .right > .content,
  .pageBody > .fullPage > .content {
    width: 100%;
    margin: 0 0 6vw;
  }
  .pageBody .pageChange {
    display: flex;
    flex-direction: column;
    gap: 4vw;
    width: 100%;
    margin: 0 0 8vw;
    padding: 0;
  }
  .pageBody .pageChange__text {
    display: none;
  }
  .pageBody .pageChange__pager {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2vw;
  }
  .pageBody .pageChange__pager li a,
  .pageBody .pageChange__pager li .lock {
    font-size: 3.5vw;
    min-width: 9vw;
    min-height: 9vw;
    padding: 2vw 2.5vw;
    margin-right: 0;
  }
}
.banner {
  background-image: url("/images/school/banner.jpg");
}

.school {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.school ul {
  position: relative;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}
.school ul li {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2vw;
}
.school ul li .img {
  position: relative;
  width: 45%;
  margin-bottom: 1.25vw;
}
.school ul li .itemBody {
  width: 52.5%;
  display: flex;
  flex-direction: column;
}
.school ul li .itemBody .txt {
  position: relative;
  width: 100%;
}
.school ul li .itemBody .txt h1 {
  display: -webkit-box;
  font-size: 1vw;
  font-weight: bold;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.school ul li .itemBody .txt h1 a {
  color: #000000;
}
.school ul li .itemBody .txt .space {
  display: block;
  width: 100%;
  height: 1px;
  margin: 1vw 0;
  background-color: rgba(112, 112, 112, 0.39);
}
.school ul li .itemBody .txt p {
  display: -webkit-box;
  font-size: 0.85vw;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #383838;
}
.school ul li .itemBody .tags {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0.5vw 0;
}
.school ul li .itemBody .tags a {
  font-size: 0.85vw;
  margin-right: 0.125vw;
  color: #C1ADAD;
}
.school ul li .itemBody > a {
  width: max-content;
  font-size: 0.85vw;
  padding: 0.45vw 0.65vw;
  border: 1px solid #707070;
  color: #707070;
  transition: all 0.25s ease-in-out;
}
.school ul li .itemBody > a:hover {
  background-color: #707070;
  color: #FFFFFF;
}

.schoolDetail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}
.schoolDetail > .tags {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 0.75vw;
  margin-bottom: 0.25vw;
}
.schoolDetail > .tags a {
  font-size: 0.75vw;
  margin-right: 0.25vw;
  color: #C1ADAD;
}
.schoolDetail > .title {
  width: 100%;
}
.schoolDetail > .title h1 {
  font-size: 1.15vw;
  font-weight: bold;
  color: #4A4340;
}
.schoolDetail > .title h3 {
  font-size: 0.75vw;
  color: #AAAAAA;
}
.schoolDetail > .contents {
  position: relative;
  display: block;
  width: 30%;
  margin: 1.25vw 0;
}
.schoolDetail > .contents > h1 {
  font-size: 0.95vw;
  color: #716639;
  padding-bottom: 0.5vw;
}
.schoolDetail > .contents > ul {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 2.25vw);
  font-size: 0.8vw;
  padding: 0.75vw;
  background-color: #FFFEF8;
  border: 3px solid #A79654;
  border-radius: 5px;
  color: #71601F;
  list-style: none;
}
.schoolDetail > .contents > ul > li {
  position: relative;
  width: 100%;
}
.schoolDetail > .contents > ul > li > a {
  display: block;
  color: #71601F;
  padding: 0.25vw 0;
}
.schoolDetail > .contents > ul > li > ul {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 90%;
  margin-left: 7.5%;
  color: #71601F;
}
.schoolDetail > .contents > ul > li > ul > li {
  position: relative;
  width: 100%;
}
.schoolDetail > .contents > ul > li > ul > li > a {
  display: block;
  color: #71601F;
  padding: 0.25vw 0;
}
.schoolDetail > .txt {
  width: 100%;
  max-width: 100%;
  margin-top: 1.5vw;
  overflow-x: hidden;
  word-wrap: break-word;
}
.schoolDetail > .txt * {
  margin: revert;
  padding: revert;
  border: revert;
  font: revert;
  font-size: revert;
  vertical-align: revert;
  max-width: 100%;
}
.schoolDetail > .txt img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
}
.schoolDetail > .txt table {
  max-width: 100%;
}
.schoolDetail > .txt ol, .schoolDetail > .txt ul {
  list-style: revert;
}
.schoolDetail > .txt a {
  color: #A79654 !important;
  font-weight: bold !important;
}
.schoolDetail > .txt iframe {
  width: 100%;
  max-width: 100%;
  height: 30vw;
}
.schoolDetail > .share {
  width: 100%;
  margin: 3.5vw 0 0;
}
.schoolDetail > .share ul {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 15%;
  margin-left: auto;
}
.schoolDetail > .share ul li {
  position: relative;
  display: flex;
  width: 28.5714285714%;
  justify-content: center;
}
.schoolDetail > .share .btn-fb {
  background-image: url("/images/school/icon_fb.svg");
}
.schoolDetail > .share .btn-line {
  background-image: url("/images/school/icon_line.svg");
}
.schoolDetail > .share .btn-link {
  background-image: url("/images/school/icon_sharelink.svg");
}
.schoolDetail > .share .btn-fb,
.schoolDetail > .share .btn-line,
.schoolDetail > .share .btn-link {
  display: flex;
  width: 1.4vw;
  height: 1.4vw;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.btn-backpage {
  display: block;
  width: max-content;
  font-size: 0.85vw;
  margin: 2vw auto 1vw;
  padding: 0.25vw 0.95vw;
  border-radius: 50px;
  color: #FFFFFF;
  background-color: #A79654;
  border: 1px solid #A79654;
  transition: all 0.25s ease-in-out;
}

.btn-backpage:hover {
  background-color: #FFFFFF;
  color: #A79654;
  border: 1px solid #A79654;
}

@media (max-width: 768px) {
  .school {
    width: 100%;
  }
  .school ul {
    flex-direction: column;
    width: 100%;
  }
  .school ul li {
    flex-direction: column;
    width: 100%;
    margin-bottom: 10vw;
    padding-bottom: 8vw;
    border-bottom: 1px solid rgba(112, 112, 112, 0.25);
  }
  .school ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .school ul li .img {
    width: 100%;
    margin: 0 0 4vw;
  }
  .school ul li .img a {
    display: block;
  }
  .school ul li .img img {
    display: block;
    width: 100%;
    height: auto;
  }
  .school ul li .itemBody {
    width: 100%;
    margin: 0;
  }
  .school ul li .itemBody .txt {
    width: 100%;
    margin: 0;
  }
  .school ul li .itemBody .txt h1 {
    font-size: 4.5vw;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }
  .school ul li .itemBody .txt .space {
    margin: 3.5vw 0;
  }
  .school ul li .itemBody .txt p {
    font-size: 3.5vw;
    line-height: 1.6;
    -webkit-line-clamp: 4;
  }
  .school ul li .itemBody .tags {
    display: none;
  }
  .school ul li .itemBody > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5vw;
    padding: 2.75vw 6vw;
    margin: 5vw auto 0;
  }
  .school ul li .itemBody > a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
  }
  .school ul li .itemBody > a:hover {
    background-color: initial;
    color: initial;
  }
  .schoolDetail {
    width: 100%;
  }
  .schoolDetail > .tags {
    margin-bottom: 2vw;
  }
  .schoolDetail > .tags a {
    font-size: 3.5vw;
    margin-right: 0.25vw;
    color: #C1ADAD;
  }
  .schoolDetail > .title {
    width: 100%;
  }
  .schoolDetail > .title h1 {
    font-size: 5vw;
    font-weight: bold;
    line-height: 1.4;
  }
  .schoolDetail > .title h3 {
    font-size: 3.25vw;
    margin: 1.5vw 0 5vw;
  }
  .schoolDetail > .contents {
    width: 100%;
    max-width: 100%;
    margin: 1.25vw 0 4vw;
  }
  .schoolDetail > .contents > h1 {
    font-size: 4.75vw;
    padding-bottom: 1.125vw;
  }
  .schoolDetail > .contents > ul {
    width: calc(100% - 4vw);
    font-size: 3.95vw;
    padding: 2vw;
  }
  .schoolDetail > .contents > ul > li > a {
    padding: 2vw 0;
  }
  .schoolDetail > .contents > ul > li > ul > li > a {
    padding: 2vw 0;
  }
  .schoolDetail > .txt {
    width: 100%;
    margin: 0.5vw 0;
  }
  .schoolDetail > .txt img {
    width: 100% !important;
  }
  .schoolDetail > .txt iframe {
    height: 50vw;
  }
  .schoolDetail > .share {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 6vw 0 0;
  }
  .schoolDetail > .share ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 2vw;
  }
  .schoolDetail > .share ul li {
    width: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .schoolDetail > .share .btn-fb,
  .schoolDetail > .share .btn-line,
  .schoolDetail > .share .btn-link {
    width: 8.5vw;
    height: 8.5vw;
  }
  .btn-backpage {
    font-size: 2.95vw;
    margin: 5vw auto 2.5vw;
    padding: 1.5vw 5vw;
  }
}
@media (min-width: 769px) {
  article.main .pageBody > .left,
  article.main .pageBody > .left *,
  article.main .pageBody > .left ::before,
  article.main .pageBody > .left ::after {
    box-sizing: content-box;
  }
}
/*
 * hub sub 的 .banner 使用 top: -5.25vw，是為了與「全站 menu 在 main 內」疊在一起。
 * 全站 basic.html_base：header 在 main 外，取消負 offset。
 */
article.main > .banner {
  top: 0;
  margin-top: 0;
  margin-bottom: 0;
}
article.main > .banner .txt {
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  article.main .banner,
  article.main .pageBody,
  article.main .pageBody *,
  article.main .school,
  article.main .school *,
  article.main .schoolDetail,
  article.main .schoolDetail * {
    box-sizing: border-box;
  }
  article.main > .banner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    top: 0;
    background-image: url("/images/school/banner.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  article.main > .banner .txt {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: 10vw 6vw;
  }
  article.main .pageBody > .left #leftNav a {
    color: #231815 !important;
    text-decoration: none !important;
  }
}

/*# sourceMappingURL=school.css.map */
