@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+TC:wght@100..900&display=swap");
:root {
  --header-height: 104px;
  --header-height-mb: 72px;
  --footer-height: 104px;
}

@keyframes overlay_zoomin {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 80%;
  }
}
@keyframes reveal {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes round {
  0% {
    clip-path: inset(100% 100% 100% 100%);
    opacity: 0;
  }
  25% {
    clip-path: inset(0 0 50% 50%);
    opacity: 0;
  }
  50% {
    clip-path: inset(50% 50% 0 0);
    opacity: 0;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes fade_in {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
@keyframes slide_learn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide_job {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(23%);
    opacity: 1;
  }
}
@keyframes slide_enjoy {
  0% {
    transform: translateX(90%);
    opacity: 0;
  }
  100% {
    transform: translateX(46%);
    opacity: 1;
  }
}
@keyframes slide_learn {
  0% {
    transform: translateX(30%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}
@keyframes slide_vision {
  0% {
    transform: translateX(90%);
  }
  100% {
    transform: translateX(46%);
  }
}
@keyframes slide_belief {
  0% {
    transform: translateX(90%);
  }
  100% {
    transform: translateX(46%);
  }
}
@keyframes concept {
  0% {
    width: 100%;
  }
  100% {
    width: 90%;
  }
}
@keyframes hd_scale {
  0% {
    height: 48dvh;
  }
  100% {
    height: 43dvh;
  }
}
@keyframes hd_mb_scale {
  0% {
    height: 350px;
  }
  100% {
    height: 190px;
  }
}
@keyframes slide_up {
  0% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}
@keyframes fly_to_cart {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}
@keyframes title_slide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes modal {
  from {
    transform: translateY(-40%);
    top: 50%;
  }
  to {
    transform: translateY(-50%);
    top: 50%;
  }
}
.swiper {
  position: relative;
}
.swiper .swiper-pagination-bullet-active {
  background-color: white;
}
.swiper .swiper-slide {
  aspect-ratio: 12.8/7;
  position: relative;
}
.swiper .swiper-slide .swiper-img {
  border-radius: 80px;
}
.swiper .swiper-slide .blur {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  z-index: 5;
}
.swiper .swiper-slide .blur img {
  background-color: rgba(255, 229, 180, 0.3);
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  filter: blur(5px);
}
.swiper .good-life {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 2rem;
  width: 25%;
  z-index: 10;
}

.swiper-pagination {
  margin-bottom: 3rem;
}

.purpose-container {
  position: relative;
}

.lifestyle {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 650px;
  z-index: 5;
}

.underline-1, .underline-2 {
  position: absolute;
  right: -100px;
  animation: reveal 1.5s ease forwards;
  z-index: 5;
}

.underline-1 {
  width: 690px;
  top: -85px;
}

.underline-2 {
  top: -25px;
  width: 450px;
}

.purpose {
  position: relative;
}
.purpose .purpose-text {
  text-align: center;
  background-color: white;
}
.purpose .purpose-text p {
  margin: 0;
  line-height: 1.8;
}
.purpose .purpose-slogan {
  font-weight: 500;
  color: rgb(255, 115, 0);
  text-align: center;
  position: relative;
  margin: 1rem 0 0 5rem;
}
.purpose .purpose-slogan .slogan-text {
  position: absolute;
  top: 25%;
  margin-left: 3rem;
}
.purpose .purpose-slogan p {
  margin: 0;
  line-height: 1.8;
}

.circle-pc, .concept-clip {
  stroke: rgb(255, 115, 0);
  stroke-width: 2;
  fill: rgb(255, 115, 0);
  clip-path: url(#clip-fill);
}

.circle-mb, .concept-clip-mb {
  stroke: rgb(255, 115, 0);
  stroke-width: 2;
  fill: rgb(255, 115, 0);
  clip-path: url(#clip-fill-mb);
}

.concept-round-mb {
  display: none;
}

/* 初始 clipRect 完全遮住 fill */
#clip-rect.animate, #clip-rect-mb.animate {
  animation: fillUp 1s ease forwards;
}

@keyframes fillUp {
  0% {
    y: 200;
  }
  100% {
    y: 0;
  }
}
.purpose-pc {
  display: flex;
  align-items: end;
  margin: 5rem auto;
  padding: 3rem 0;
}
.purpose-pc .purpose-text {
  position: absolute;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
  animation: slide_up 0.8s ease forwards;
  border-radius: 40px;
  padding: 2rem 2rem 2rem 20rem;
  z-index: 1;
}
.purpose-pc .purpose-text p {
  margin: 0;
  line-height: 1.8;
}
.purpose-pc .purpose-slogan {
  font-size: 20px;
}
.purpose-pc .purpose-img {
  width: 430px;
  position: relative;
  z-index: 5;
}

.purpose-mb {
  display: none;
  background-color: white;
  border-radius: 80px;
  position: relative;
  padding: 3rem 1rem;
  margin: 10rem auto 5rem auto;
  max-width: 335px;
}
.purpose-mb .purpose-title {
  position: absolute;
  width: 120px;
  top: -10%;
}
.purpose-mb .purpose-slogan {
  margin: 3rem 0 1rem 0;
  position: relative;
}
.purpose-mb .slogan-p {
  font-size: 14px;
  position: absolute;
  top: 25%;
  left: 15%;
}
.purpose-mb .purpose-img {
  width: 208px;
  margin: auto;
}

.index-title {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.index-title .learn-title {
  width: 250px;
}
.index-title .lesson-title {
  width: 150px;
}
.index-title .separate {
  flex: 1;
  height: 1px;
  border-top: 1px dashed rgb(255, 115, 0);
}

.learn {
  margin: 5rem auto;
}
.learn .learn-group {
  margin: 3rem 0;
  overflow-x: hidden;
}
.learn .learn-item {
  width: 60%;
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}
.learn .learn-img {
  width: 25%;
}
.learn .learn-text {
  width: 75%;
}
.learn .learn-text h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}
.learn .learn-text p {
  line-height: 1.8;
  margin: 0;
}
.learn .life, .learn .job, .learn .enjoy {
  transform: translateX(90%);
  opacity: 0;
}

.life.show {
  animation: slide_learn 0.8s ease forwards;
}

.job.show {
  animation: slide_job 0.8s ease forwards;
}

.enjoy.show {
  animation: slide_enjoy 0.8s ease forwards;
}

.course {
  margin-bottom: 3rem;
}
.course .course-group {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.course .campaign-date {
  top: 2%;
  left: 3%;
}
.course .campaign-item {
  text-decoration: none;
  color: black;
  border-radius: 40px;
  padding: 1.5rem;
  width: calc((100% - 4rem) / 3);
}
.course .campaign-item h4 {
  font-size: 24px;
  font-weight: 500;
}
.course .campaign-item h5 {
  margin: 0;
}
.course .campaign-item:hover {
  background-color: white;
}
.course .campaign-item:hover .campaign-img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.course .campaign-btn {
  text-align: center;
}
.course .campaign-btn a {
  display: inline-flex;
  border-radius: 30px;
  border: 1px rgb(255, 115, 0) solid;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  color: rgb(255, 115, 0);
}
.course .campaign-btn a:hover {
  background-color: rgba(255, 115, 0, 0.1);
}

@media (max-width: 1023px) and (min-width: 768px) {
  .lifestyle {
    width: 300px;
    top: -150px;
    right: 0;
  }
  .underline-1 {
    top: -130px;
    right: 0;
    width: 310px;
  }
  .underline-2 {
    top: -100px;
    right: 0;
    width: 210px;
  }
  .purpose-pc {
    display: none;
  }
  .learn .learn-item {
    width: 70%;
    gap: 2rem;
  }
  .course .course-group {
    gap: 0;
  }
  .purpose-mb {
    display: block;
  }
}
@media (max-width: 767px) {
  .concept-round-mb {
    display: block;
  }
  .concept-round {
    display: none;
  }
  .swiper .swiper-slide .blur {
    display: none;
  }
  .swiper .swiper-slide .swiper-img {
    border-radius: 50px;
  }
  .swiper .good-life {
    display: none;
  }
  .swiper-pagination {
    display: none;
  }
  .learn .learn-item {
    width: 100%;
  }
  .learn .life, .learn .job, .learn .enjoy {
    overflow-x: hidden;
    transform: translateX(10%);
  }
  .life.show, .job.show, .enjoy.show {
    animation: slide_learn 0.8s ease forwards;
  }
  .course .carousel {
    overflow-x: hidden;
  }
  .course .course-group {
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 0.5rem;
  }
  .course .campaign-item {
    flex: 0 0 290px;
    width: 320px;
  }
  .course .campaign-item .campaign-img {
    aspect-ratio: 4/3;
  }
  .lifestyle {
    width: 300px;
    top: -150px;
    right: -10px;
  }
  .underline-1 {
    top: -130px;
    right: -10px;
    width: 310px;
  }
  .underline-2 {
    top: -100px;
    right: -10px;
    width: 210px;
  }
  .purpose-pc {
    display: none;
  }
  .purpose-mb {
    display: block;
  }
  .index-title {
    gap: 1rem;
  }
  .index-title .learn-title {
    width: 210px;
  }
  .index-title .lesson-title {
    width: 113px;
  }
  .learn .learn-img {
    width: 30%;
  }
  .learn .learn-text p {
    display: none;
  }
  .learn .learn-text h3 {
    margin-bottom: 0;
  }
  .learn .learn-item {
    margin-bottom: 1rem;
    gap: 1rem;
  }
  .learn .learn-container {
    margin-bottom: 2em;
  }
}
.contact-container {
  min-height: calc(100dvh - var(--header-height) - var(--footer-height));
  display: grid;
  place-items: center;
  margin: 5rem auto;
}

.contact {
  display: flex;
  gap: 2rem;
}
.contact .title-mb {
  display: none;
}
.contact .contact-item {
  background-color: white;
  border-radius: 50px;
  padding: 3rem;
}
.contact .qrcode-item {
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}
.contact .qrcode-item .qrcode {
  width: 80px;
  aspect-ratio: 1/1;
}
.contact .qrcode-item .qrcode-text {
  line-height: 1.8;
}
.contact .qrcode-item .qrcode-text p {
  margin: 0;
  font-size: 14px;
}
.contact .contact-form {
  padding: 5rem 5rem 3rem 5rem;
  background-color: white;
  border-radius: 50px;
}
.contact .contact-form .content .content-title {
  color: rgb(173, 181, 189);
}
.contact .contact-form .content label, .contact .contact-form .content textarea {
  width: 100%;
}
.contact .contact-form .content textarea {
  height: 100px;
}
.contact .contact-form .clear {
  color: rgb(255, 115, 0);
  background-color: white;
}
.contact .contact-form .clear:hover {
  background-color: rgba(255, 115, 0, 0.1);
}
.contact .contact-form .send {
  color: white;
  background-color: rgb(255, 115, 0);
}
.contact .contact-form .send:hover {
  background-color: rgb(239, 108, 0);
}
.contact .contact-form .clear, .contact .contact-form .send {
  border-radius: 30px;
  border: 1px rgb(255, 115, 0) solid;
  width: 50%;
  padding: 0.8rem;
  font-weight: 600;
}

.info-item {
  border-bottom: 1px solid rgb(222, 226, 230);
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column-reverse;
}
.info-item .info-title {
  font-size: 14px;
  line-height: 20px;
}
.info-item .info-box {
  width: 100%;
  outline: 0;
  border: none;
  padding: 0.5rem 1rem;
}
.info-item .info-box::-moz-placeholder {
  color: rgb(173, 181, 189);
}
.info-item .info-box::placeholder {
  color: rgb(173, 181, 189);
}
.info-item .info-box:focus + .info-title {
  opacity: 1;
  color: rgb(70, 130, 180);
}
.info-item .info-box:not(:-moz-placeholder) + .info-title {
  opacity: 1;
}
.info-item .info-box:not(:placeholder-shown) + .info-title {
  opacity: 1;
}
.info-item:focus-within {
  border-bottom: 2px rgb(70, 130, 180) solid;
}
.info-item:has(.info-box:not(:-moz-placeholder)) {
  border-bottom: 1px rgb(70, 130, 180) solid;
}
.info-item:has(.info-box:not(:placeholder-shown)) {
  border-bottom: 1px rgb(70, 130, 180) solid;
}

@media (max-width: 767px) {
  .contact-container {
    margin: 0 auto 2rem auto;
  }
  .contact {
    flex-direction: column;
  }
  .contact .contact-item {
    padding: 1.5rem;
  }
  .contact .contact-form {
    padding: 2rem 1rem 1.5rem 1rem;
  }
  .contact .title-mb {
    display: block;
    width: 180px;
    margin: 0 auto 2rem auto;
  }
  .contact .title-pc {
    display: none;
  }
}
.checkout {
  min-height: calc(100dvh - var(--header-height) - var(--footer-height));
}
.checkout .checkout-process {
  color: rgb(126, 126, 126);
  display: flex;
  justify-content: center;
  line-height: 1.2;
  background-color: rgba(222, 226, 230, 0.3);
  padding: 1rem;
  border-radius: 30px;
}
.checkout .process-item {
  display: flex;
  align-items: center;
}
.checkout .active {
  color: rgb(70, 130, 180);
}
.checkout .step {
  font-size: 20px;
  margin-right: 0.5rem;
}
.checkout .arrow {
  font-size: 20px;
}
.checkout .checkout-content {
  display: flex;
  justify-content: space-between;
  gap: 5rem;
  margin: 3rem 0;
}
.checkout .checkout-content .order-container {
  width: 35%;
}
.checkout .checkout-content .order-container h6 {
  font-weight: 500;
  margin-bottom: 1rem;
}
.checkout .checkout-content .order-container .order-info {
  color: rgb(126, 126, 126);
}
.checkout .checkout-content .order-container .order-item {
  border-bottom: 1px rgb(222, 226, 230) solid;
  font-size: 14px;
  line-height: 1.5;
}
.checkout .checkout-content .order-container .hidden-info {
  display: none;
}
.checkout .checkout-content .order-container .lesson {
  cursor: pointer;
  margin: 0.5rem 0;
}
.checkout .checkout-content .order-container .lesson p {
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* 限制顯示 2 行 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;
  margin: 0;
}
.checkout .checkout-content .order-container .expand {
  color: rgb(222, 226, 230);
}
.checkout .checkout-content .order-container .expand:hover {
  color: rgb(255, 115, 0);
}
.checkout .checkout-content .order-container .sum {
  justify-content: end;
}
.checkout .checkout-content .order-container .sum p {
  margin-top: 0.8rem;
  margin-bottom: 0;
}
.checkout .checkout-content .order-container .sum .sum-title {
  font-weight: 500;
  margin-right: 1.5rem;
}
.checkout .checkout-content .order-container .sum .total-price {
  font-weight: 600;
  color: rgb(255, 115, 0);
}
.checkout .checkout-content .order, .checkout .checkout-content .attend-info, .checkout .checkout-content .checkout-item {
  background-color: white;
  padding: 3rem;
  border-radius: 80px;
}
.checkout .checkout-content .attend-info {
  width: 65%;
}
.checkout .checkout-content .attend-info h4 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.checkout .checkout-content .attend-info .payment {
  border: none;
  border-bottom: 1px solid rgb(222, 226, 230);
  margin-bottom: 2rem;
  color: rgb(173, 181, 189);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23999999' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}
.checkout .checkout-content .attend-info .payment option {
  color: black;
}
.checkout .checkout-content .checkout-btn, .checkout .checkout-content .pay-btn {
  background-color: rgb(255, 115, 0);
  color: white;
  text-align: center;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  line-height: 1.8;
}
.checkout .checkout-content .checkout-btn:hover, .checkout .checkout-content .pay-btn:hover {
  background-color: rgb(239, 108, 0);
}
.checkout .checkout-content .checkout-btn {
  padding: 0.7rem 2.3rem;
}
.checkout .checkout-content .pay-btn {
  padding: 0.7rem 3.5rem;
}
.checkout .checkout-content input[type=checkbox] {
  display: none;
}
.checkout .checkout-content .check {
  color: rgb(255, 115, 0);
}
.checkout .checkout-content .checkout-item {
  width: 100%;
  display: flex;
  gap: 3rem;
  margin-bottom: 1rem;
}
.checkout .checkout-content .checkout-item:last-child {
  margin-bottom: 0;
}
.checkout .checkout-content .checkout-item .lesson-info {
  width: 40%;
}
.checkout .checkout-content .checkout-item .lesson-info .campaign-date {
  top: -3%;
  left: -3%;
}
.checkout .checkout-content .checkout-item .lesson-info h6 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}
.checkout .checkout-content .checkout-item .same-info {
  cursor: pointer;
  margin: 1rem 0 1.5rem 0;
  display: inline-flex;
}
.checkout .checkout-content .checkout-item .same-info .bi-square {
  color: rgb(173, 181, 189);
}
.checkout .checkout-content .checkout-item .participants-info {
  width: 60%;
}
.checkout .checkout-content .checkout-item .participants-info h4 {
  font-size: 24px;
  font-weight: 500;
}

.complete-container {
  max-width: 767px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  height: calc(100dvh - var(--header-height) - var(--footer-height));
}

.complete {
  text-align: center;
}
.complete .complete-img {
  width: 50%;
  margin: 0 auto;
}
.complete h2 {
  font-size: 32px;
  font-weight: 500;
  margin: 1rem 0;
}
.complete p {
  margin: 0;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .checkout .checkout-process .process-text {
    display: none;
  }
  .checkout .checkout-process .active .process-text {
    display: block;
  }
  .checkout .checkout-process .active .step {
    margin-right: 0.5rem;
  }
  .checkout .step {
    margin-right: 0;
  }
  .checkout .checkout-content {
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0 3rem 0;
  }
  .checkout .checkout-content .order-container, .checkout .checkout-content .attend-info {
    width: 100%;
  }
  .checkout .checkout-content .order-container h6 {
    font-size: 20px;
  }
  .checkout .checkout-content .order, .checkout .checkout-content .attend-info, .checkout .checkout-content .checkout-item {
    border-radius: 40px;
    padding: 2rem 1rem;
  }
  .checkout .checkout-content .attend-info h4 {
    font-size: 20px;
    margin-bottom: 0.5rem;
  }
  .checkout .checkout-content .checkout-item {
    flex-direction: column;
    gap: 1rem;
  }
  .checkout .checkout-content .checkout-item .lesson-info, .checkout .checkout-content .checkout-item .participants-info {
    width: 100%;
  }
  .checkout .checkout-content .checkout-item .lesson-info h4, .checkout .checkout-content .checkout-item .participants-info h4 {
    font-size: 20px;
  }
  .checkout .checkout-content .checkout-item .lesson-info h6, .checkout .checkout-content .checkout-item .participants-info h6 {
    margin: 0 0 0.5rem 0;
  }
  .checkout .checkout-content .checkout-item .lesson-info p, .checkout .checkout-content .checkout-item .participants-info p {
    font-size: 14px;
  }
  .checkout .checkout-content .checkout-item .lesson-info {
    display: flex;
    gap: 1rem;
    border-bottom: 1px rgb(222, 226, 230) solid;
    padding-bottom: 1rem;
    margin: 0;
  }
  .checkout .checkout-content .checkout-item .lesson-info .campaign-date {
    display: none;
  }
  .checkout .checkout-content .checkout-item .lesson-info .campaign-img-container {
    width: 40%;
  }
  .checkout .checkout-content .checkout-item .lesson-info .campaign-img-container img {
    border-radius: 20px;
  }
  .checkout .checkout-content .checkout-item .same-info {
    margin: 0.5rem 0;
  }
  .checkout .checkout-content .pay-btn, .checkout .checkout-content .checkout-btn {
    width: 100%;
  }
}
.page .page-item.active .page-link {
  background-color: rgb(255, 115, 0);
  border-color: rgb(255, 115, 0);
  color: white;
}
.page .page-item.active .page-link:hover {
  background-color: rgb(239, 108, 0);
}
.page .page-link {
  color: black;
  background-color: transparent;
  border-color: transparent;
  border-radius: 50% !important;
  margin: 0 0.5rem;
  text-align: center;
  width: 40px;
  height: 40px;
}
.page .page-link:hover {
  color: black;
  background-color: white;
  border-color: white;
}

.news-hd {
  background-image: url("../images/header-bg/news-hd.png");
  height: 48dvh;
  background-size: cover;
  background-position: bottom;
  position: relative;
  animation: hd_scale 0.8s ease forwards;
  animation-delay: 0.3s;
}
.news-hd .news-hd-img-1, .news-hd .news-hd-img-2, .news-hd .news-hd-img-3 {
  position: absolute;
}
.news-hd .news-hd-img-1 {
  width: 325px;
  bottom: -35%;
  left: 10%;
}
.news-hd .news-hd-img-2 {
  width: 169px;
  top: 30%;
  right: 10%;
}

.news {
  margin: 3rem 0;
  position: relative;
}
.news .news-side-img-1, .news .news-side-img-2 {
  position: absolute;
  width: 200px;
}
.news .news-side-img-1 {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.news .news-side-img-2 {
  bottom: -10%;
}
.news .news-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.news .news-item, .news .news-item-newest {
  text-decoration: none;
  color: black;
  margin-bottom: 2rem;
}
.news .news-item:hover .news-img, .news .news-item-newest:hover .news-img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.news .news-item:hover .title, .news .news-item-newest:hover .title {
  color: rgb(255, 115, 0);
}
.news .news-item-newest {
  width: calc((100% - 2rem) / 2);
}
.news .news-item-newest .title {
  font-size: 24px;
}
.news .news-item {
  width: calc((100% - 4rem) / 3);
}
.news .news-item .title {
  font-size: 20px;
  font-weight: 500;
}
.news .news-img {
  aspect-ratio: 10/7;
}
.news .news-img img {
  border-radius: 50px;
}
.news .news-text {
  margin-top: 1rem;
}
.news .subtitle, .news .title {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制顯示 2 行 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;
  margin: 0;
}
.news .title {
  line-height: 1.5;
}
.news .subtitle {
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .news-hd .news-hd-img-1 {
    width: 250px;
  }
}
@media (max-width: 767px) {
  .news-hd {
    height: 350px;
    animation: hd_mb_scale 0.8s ease forwards;
    animation-delay: 0.3s;
  }
  .news-hd header {
    display: none;
  }
  .news-hd .news-hd-img-2, .news-hd .news-hd-img-3 {
    display: none;
  }
  .news-hd .news-hd-img-1 {
    width: 135px;
  }
  .news .news-group {
    gap: 1rem;
  }
  .news .news-item, .news .news-item-newest {
    width: 100%;
    margin-bottom: 0;
  }
  .news .news-item .title, .news .news-item-newest .title {
    font-size: 20px;
  }
  .news .subtitle {
    display: none;
  }
  .news .news-side-img-1, .news .news-side-img-2 {
    display: none;
  }
}
.news-header {
  opacity: 0.5;
  filter: blur(3px);
  position: absolute;
  top: var(--header-height);
  width: 100%;
  height: 418px;
  background-size: 100%;
}
.news-header .detail-curve {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-image: url("../images/bg.png");
  background-size: 15%;
  background-color: rgb(249, 249, 249);
  height: 70px;
  -webkit-mask: url("../images/curve-fixed.png");
  mask: url("../images/curve-fixed.png");
  -webkit-mask-size: cover;
  mask-size: cover;
}

.person {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 70px;
}

.airplane-1 {
  position: absolute;
  width: 230px;
  bottom: 5%;
  right: 0;
}

.airplane-2 {
  position: absolute;
  width: 290px;
  bottom: -5%;
  left: -25%;
  z-index: 1;
}

.news-detail {
  position: relative;
  z-index: 1;
  margin: 5rem 0;
}
.news-detail .content {
  margin: 1rem;
}
.news-detail .content-img {
  aspect-ratio: 10/7;
  cursor: pointer;
}
.news-detail .content-img img {
  border-radius: 50px;
}
.news-detail .title {
  margin: 3rem 0 1rem 0;
  font-size: 36px;
  font-weight: 500;
}
.news-detail .paragraph {
  line-height: 1.8;
  font-size: 18px;
}
@media (max-width: 767px) {
  .news-detail .title {
    font-size: 32px;
  }
}

.img-browser {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 100;
  padding: 3rem 2rem;
  border-radius: 20px;
  animation: zoom_in 0.8s ease forwards;
  display: none;
}
.img-browser .img-scrollbar {
  max-height: 80dvh;
  overflow-y: auto;
  padding: 0 1rem;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
.img-browser .img-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.img-browser .img-scrollbar::-webkit-scrollbar-track {
  margin: 5rem;
  background: gray;
  border-radius: 10px;
}
.img-browser .img-scrollbar::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
  border: 3px solid white;
}
.img-browser .browser-item {
  margin-bottom: 1rem;
}
.img-browser .browser-item:last-child {
  margin-bottom: 0;
}
.img-browser .browser-item img {
  width: 100%;
  height: 100%;
}
.img-browser .browser-esc {
  position: absolute;
  color: white;
  font-size: 28px;
  cursor: pointer;
  right: 0;
  top: 0;
  margin: 1rem;
}
@media (max-width: 767px) {
  .img-browser {
    padding: 2rem 1rem;
  }
  .img-browser .browser-esc {
    font-size: 24px;
    margin: 0.5rem;
  }
}

@media (max-width: 767px) {
  .news-header {
    top: var(--header-height-mb);
    height: 190px;
  }
  .airplane-2 {
    width: 158px;
  }
  .person, .airplane-1 {
    display: none;
  }
  .news-detail .paragraph {
    font-size: 16px;
  }
}
.campaign {
  display: flex;
  gap: 5rem;
  margin: 3rem 0;
}
.campaign .side-nav {
  width: 20%;
}
.campaign .side-nav .side-list {
  background-color: white;
  border-radius: 50px;
  padding: 1rem 4rem;
}
.campaign .side-nav .side-list li {
  line-height: 1.8;
  cursor: pointer;
  list-style-type: none;
  margin: 0.5rem 0;
}
.campaign .side-nav .side-list li:hover {
  color: rgb(255, 115, 0);
}
.campaign .side-nav .side-list .active {
  color: rgb(255, 115, 0);
  list-style-type: disc;
}
.campaign .side-nav .side-list.fixed {
  position: fixed;
  top: 10%;
}
.campaign .side-nav-mb {
  display: none;
  overflow-x: hidden;
}
.campaign .side-nav-mb ul {
  display: flex;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0;
  align-items: center;
}
.campaign .side-nav-mb ul li {
  list-style-type: none;
  margin-right: 0.5rem;
  line-height: 1.8;
  border-radius: 30px;
  padding: 0.3rem 0.5rem;
  color: rgba(255, 115, 0, 0.6);
  border: 1px rgba(255, 115, 0, 0.6) solid;
  flex-shrink: 0;
}
.campaign .side-nav-mb ul li:last-child {
  margin-right: 0;
}
.campaign .side-nav-mb ul .active {
  background-color: rgb(255, 115, 0);
  color: white;
}
.campaign .side-nav-mb .scroll {
  color: white;
  position: sticky;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  border: none;
  border-radius: 50%;
  text-align: center;
  width: 24px;
  height: 24px;
  aspect-ratio: 1/1;
  background-color: rgba(255, 115, 0, 0.6);
}
.campaign .side-nav-mb .hidden {
  display: none;
}
.campaign .side-nav-mb .bi-chevron-right {
  right: 0;
}
.campaign .side-nav-mb .bi-chevron-left {
  left: 0;
}
.campaign .campaign-content {
  width: 80%;
}
.campaign .campaign-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  text-decoration: none;
  color: black;
}
.campaign .campaign-item .campaign-img {
  width: 40%;
}
.campaign .campaign-item .campaign-date {
  top: 0;
  left: -3%;
}
.campaign .campaign-item .location {
  margin: 0.5rem 0;
}
.campaign .campaign-item:hover {
  transform: translateY(-5px);
}
.campaign .campaign-item:hover .campaign-img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.campaign .campaign-item:hover h4 {
  color: rgb(255, 115, 0);
}
.campaign .campaign-select {
  justify-content: end;
}
.campaign .campaign-select .form-select {
  width: auto;
  border-radius: 30px;
  border: none;
}

.campaign-item {
  position: relative;
  margin: 1rem 0;
}
.campaign-item .campaign-img {
  aspect-ratio: 3/2;
  cursor: pointer;
}
.campaign-item .campaign-img img {
  border-radius: 80px;
}
.campaign-item .campaign-info {
  width: 60%;
  padding: 1rem;
}
.campaign-item .hashtag {
  display: inline-flex;
  color: rgb(255, 115, 0);
  background-color: rgba(255, 115, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 14px;
}
.campaign-item .campaign-date {
  position: absolute;
  z-index: 10;
  background-color: rgb(255, 115, 0);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
}
.campaign-item .campaign-date p {
  color: white;
  margin: 0;
}
.campaign-item .campaign-date p:nth-child(2) {
  font-weight: 500;
  font-size: 22px;
}
.campaign-item h4, .campaign-item h5 {
  font-size: 24px;
  font-weight: 500;
  margin: 1rem 0;
}
.campaign-item h4 {
  line-height: 1.5;
}
.campaign-item h5 {
  color: rgb(255, 115, 0);
}

.campaign-hd {
  background-image: url("../images/header-bg/campaign-hd.png");
  height: 48dvh;
  background-size: cover;
  background-position: bottom;
  position: relative;
  animation: hd_scale 0.8s ease forwards;
  animation-delay: 0.3s;
}
.campaign-hd .campaign-hd-img-1, .campaign-hd .campaign-hd-img-2, .campaign-hd .campaign-hd-img-3 {
  position: absolute;
}
.campaign-hd .campaign-hd-img-1 {
  width: 175px;
  bottom: 0;
  left: 15%;
}
.campaign-hd .campaign-hd-img-2 {
  width: 60px;
  top: 50%;
  left: 10%;
}
.campaign-hd .campaign-hd-img-3 {
  width: 87px;
  top: 40%;
  right: 15%;
}

.detail-header {
  background-image: url("../images/header-bg/campaign-detail.png");
  height: 38dvh;
  background-size: 100%;
  position: relative;
}
.detail-header .detail-curve {
  position: absolute;
  bottom: -1%;
  width: 100%;
  background-image: url("../images/bg.png");
  background-size: 15%;
  background-color: rgb(249, 249, 249);
  height: 100px;
  -webkit-mask: url("../images/curve-fixed.png");
  mask: url("../images/curve-fixed.png");
  -webkit-mask-size: cover;
  mask-size: 100%;
}
.detail-header .detail-hd-img {
  position: absolute;
  bottom: 0;
  right: 15%;
  width: 20%;
  max-width: 267px;
}

.campaign-detail {
  display: flex;
  gap: 5rem;
  margin: 3rem 0;
  border-radius: 50% 0 50% 0;
}
.campaign-detail p {
  line-height: 1.8;
  font-size: 18px;
}
.campaign-detail .attend-btn {
  background-color: rgb(255, 115, 0);
  color: white;
  text-align: center;
  padding: 1rem 0;
  border-radius: 30px;
  font-weight: 600;
  line-height: 1.8;
  cursor: pointer;
}
.campaign-detail .attend-btn:hover {
  background-color: rgb(239, 108, 0);
}
.campaign-detail .detail-title {
  width: 15%;
  margin: 1rem 0;
}
.campaign-detail .campaign-item {
  width: 30%;
}
.campaign-detail .campaign-item .hashtag {
  margin-top: 1rem;
}
.campaign-detail .campaign-item .campaign-date {
  top: -2%;
  left: -5%;
}
.campaign-detail .campaign-info {
  width: 70%;
}
.campaign-detail .info-section {
  margin-bottom: 4rem;
}
.campaign-detail .info-section h6 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}
.campaign-detail .info-section .teacher-photo {
  width: 120px;
  height: 120px;
  aspect-ratio: 1/1;
  margin-right: 1rem;
}
.campaign-detail .info-section .teacher-photo img {
  border-radius: 50%;
}
.campaign-detail .info-section .map {
  aspect-ratio: 4/3;
}
.campaign-detail .info-section ol {
  line-height: 1.8;
  font-size: 18px;
}

.flying-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  background: rgb(255, 165, 154);
  border-radius: 50%;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 0 10px rgb(255, 165, 154);
  opacity: 0;
}

.fly-animation {
  animation: fly_to_cart 0.8s ease-in-out forwards;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .detail-header {
    height: 200px;
    width: 100%;
  }
  .detail-header .detail-curve {
    height: 30px;
  }
}
@media (max-width: 767px) {
  .campaign-hd {
    height: 350px;
    animation: hd_mb_scale 0.8s ease forwards;
    animation-delay: 0.3s;
  }
  .campaign-hd header {
    display: none;
  }
  .campaign-hd .campaign-hd-img-1 {
    width: 80px;
    left: 5%;
  }
  .campaign-hd .campaign-hd-img-2 {
    width: 37px;
    left: auto;
    top: auto;
    bottom: 20%;
    right: 10%;
    transform: scaleX(-1);
  }
  .campaign-hd .campaign-hd-img-3 {
    display: none;
  }
  .campaign {
    display: block;
  }
  .campaign .side-nav {
    display: none;
  }
  .campaign .side-nav-mb {
    display: block;
  }
  .campaign .campaign-content {
    width: 100%;
  }
  .campaign .campaign-select {
    justify-content: start;
  }
  .campaign .campaign-item {
    gap: 0;
    align-items: start;
  }
  .campaign .campaign-item h4, .campaign .campaign-item h5 {
    font-size: 16px;
    margin: 0.25rem 0;
  }
  .campaign .campaign-item .campaign-info {
    width: 55%;
    padding: 1rem 0 0 1rem;
  }
  .campaign .campaign-item .campaign-date {
    width: 50px;
    height: 50px;
  }
  .campaign .campaign-item .campaign-date p:nth-child(1) {
    font-size: 12px;
  }
  .campaign .campaign-item .campaign-date p:nth-child(2) {
    font-weight: 500;
    font-size: 16px;
  }
  .campaign .campaign-item .campaign-img {
    width: 45%;
    margin-top: 1rem;
  }
  .campaign .campaign-item .campaign-img img {
    border-radius: 30px;
  }
  .campaign .campaign-item .time {
    display: none;
  }
  .campaign .campaign-item .location {
    font-size: 14px;
    margin: 0.25rem 0;
  }
  .campaign .campaign-item .hashtag {
    font-size: 12px;
    padding: 0.25rem 0.9rem;
  }
  .detail-header {
    height: 130px;
    width: 100%;
    position: absolute;
    top: var(--header-height-mb);
  }
  .detail-header .detail-hd-img {
    display: none;
  }
  .detail-header .detail-curve {
    height: 30px;
  }
  .campaign-detail {
    flex-direction: column;
    gap: 2rem;
  }
  .campaign-detail .campaign-item, .campaign-detail .campaign-info {
    width: 100%;
  }
  .campaign-detail .detail-title {
    width: 25%;
  }
  .campaign-detail .info-section {
    margin-bottom: 2rem;
  }
  .campaign-detail .info-section .teacher-photo {
    width: 80px;
    height: 80px;
  }
  .campaign-detail .info-section ol {
    font-size: 16px;
  }
  .campaign-detail p {
    font-size: 16px;
  }
}
.concept .concept-header {
  background-image: url("../images/concept/concept-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 80px;
  margin: auto;
  aspect-ratio: 2/1;
  display: grid;
  place-content: center;
  width: 100%;
  animation: concept 0.8s ease forwards;
  animation-delay: 0.5s;
  position: relative;
  z-index: 3;
}
.concept .concept-header .title-img {
  width: 70%;
  margin: auto;
}
.concept .concept-group {
  margin: 6rem auto;
}
.concept .concept-item {
  align-items: center;
  position: relative;
  margin: 2rem auto;
  max-width: 670px;
}
.concept .concept-item .concept-img {
  position: relative;
}
.concept .concept-item .concept-img .vision-img, .concept .concept-item .concept-img .belief-img {
  width: 200px;
  border-radius: 80px;
}
.concept .concept-item .concept-img .vision-img {
  background-color: rgb(255, 165, 154);
}
.concept .concept-item .concept-img .belief-img {
  background-color: rgb(70, 130, 180);
}
.concept .concept-item .concept-img .component {
  position: absolute;
  width: 160px;
}
.concept .concept-item .vision, .concept .concept-item .belief {
  align-items: center;
}
.concept .concept-item .belief .component {
  bottom: 25%;
  left: -40%;
}
.concept .concept-item .vision .component {
  bottom: 30%;
  right: -50%;
}
.concept .concept-item .content-belief, .concept .concept-item .content-vision {
  width: 60%;
  line-height: 1.8;
  margin: 0;
  flex-grow: 1;
}
.concept .concept-item .content-belief {
  padding: 0 6rem 0 2rem;
}
.concept .concept-item .content-vision {
  padding: 0 2rem 0 8rem;
}
.concept .concept-item .line-vision, .concept .concept-item .line-belief {
  position: absolute;
  opacity: 0;
}
.concept .concept-item .line-vision.show, .concept .concept-item .line-belief.show {
  animation: reveal 1.5s ease forwards;
}
.concept .concept-item .line-belief.show {
  animation-delay: 0.3s;
}
.concept .concept-item .line-vision {
  bottom: 0;
}
.concept .concept-item .line-belief {
  bottom: -10%;
}

.curve {
  background-image: url("../images/concept/yellow-curve.png");
  height: 100px;
  background-size: cover;
}

.feature {
  background-color: rgb(255, 229, 180);
  padding: 3rem;
}
.feature .feature-en {
  width: 80%;
  margin: auto;
}
.feature .feature-zh {
  width: 50%;
  margin: 1rem auto 3rem auto;
}
.feature .feature-group {
  display: flex;
  gap: 2rem;
  padding: 3rem 0;
  margin: 0 auto;
}
.feature .feature-item {
  position: relative;
}
.feature .feature-item p {
  margin: 1rem 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
}
.feature .feature-title {
  position: absolute;
  width: 80%;
  top: -10%;
  left: -10%;
}
.feature .circle-select {
  margin: 1rem auto 3rem auto;
  position: relative;
}
.feature .circle-select .circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  opacity: 0;
  width: 100%;
  padding-bottom: 1.5rem;
  animation: fade_in 0.8s ease forwards;
}
.feature .circle-select p {
  color: rgb(255, 115, 0);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}

#circle {
  stroke-dasharray: 1522;
  animation: dash 1s ease-in-out forwards;
}

@keyframes dash {
  from {
    stroke-dashoffset: 1522;
  }
}
@media (max-width: 767px) {
  .feature {
    padding: 1rem;
  }
  .feature .feature-group {
    flex-direction: column;
    gap: 3rem;
  }
  .feature .circle-select {
    max-width: 327px;
  }
  .feature .circle-select p {
    font-size: 18px;
  }
  .feature .circle-select .circle-text {
    max-width: 320px;
    padding-left: 1rem;
  }
  .curve {
    height: 15px;
  }
  .concept {
    overflow-x: hidden;
  }
  .concept .concept-group {
    margin: 3rem auto;
  }
  .concept .concept-header .title-img {
    width: 60%;
  }
  .concept .concept-item {
    padding-bottom: 1rem;
    max-width: 335px;
  }
  .concept .concept-item .content-belief, .concept .concept-item .content-vision {
    padding: 0;
  }
  .concept .concept-item .concept-img, .concept .concept-item .content-belief, .concept .concept-item .content-vision {
    width: 100%;
  }
  .concept .concept-item .vision, .concept .concept-item .belief {
    gap: 1rem;
  }
  .concept .concept-item .vision {
    flex-direction: column;
  }
  .concept .concept-item .vision .concept-img {
    display: flex;
    justify-content: flex-end;
  }
  .concept .concept-item .vision .component {
    bottom: 10%;
    right: auto;
    left: 5%;
  }
  .concept .concept-item .belief {
    flex-direction: column-reverse;
  }
  .concept .concept-item .belief .component {
    left: auto;
    right: 5%;
    bottom: 5%;
  }
  .concept .concept-item .line-belief {
    bottom: 0;
  }
}
body {
  font-family: "Inter", sans-serif !important;
  background-size: 15%;
  background-image: url("../images/bg.png") !important;
  background-color: rgb(249, 249, 249) !important;
  overflow-x: hidden;
}

img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 50px #fff inset;
  -webkit-text-fill-color: #223148;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 2rem 5rem;
}
header .logo {
  width: 162px;
}
header .logo img {
  -o-object-fit: contain;
     object-fit: contain;
}
header .nav-bar {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0 1rem;
  list-style-type: none;
  gap: 1rem;
}
header .nav-bar li {
  padding: 0.5rem 0.8rem;
  border-radius: 30px;
}
header .nav-bar li a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}
header .nav-bar li:hover {
  background-color: rgba(255, 115, 0, 0.1);
}
header .header-btn {
  width: 24px;
  cursor: pointer;
}
header .menu-esc, header .menu-btn {
  display: none;
}

.cart-btn {
  position: relative;
}
.cart-btn .circle {
  position: absolute;
  top: 0;
  right: -20%;
  color: white;
  background-color: rgb(250, 128, 113);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  justify-content: center;
  display: none;
}
.cart-btn .circle.show {
  display: flex;
}

.header-title {
  display: grid;
  place-content: center;
  height: calc(43dvh - var(--header-height));
}
.header-title .title-img {
  width: 80%;
  margin: 0 auto 5rem auto;
  text-align: center;
}

.header-mb {
  display: none;
}

.menu {
  display: none;
  position: absolute;
  width: 100%;
  background-image: url("../images/bg.png");
  background-color: rgb(249, 249, 249);
  background-size: 50%;
  z-index: 20;
  padding-top: 1rem;
  height: calc(100dvh - var(--header-height-mb));
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.menu .nav-list {
  list-style-type: none;
  margin: 2rem 0;
  padding: 0;
}
.menu .nav-list li {
  margin-bottom: 1rem;
}
.menu .nav-list a {
  text-decoration: none;
  color: black;
  font-size: 20px;
}
.menu .nav-bar {
  background-color: white;
  border-radius: 80px;
  padding: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.menu .menu-media {
  justify-content: center;
  margin: 1rem auto;
  gap: 2rem;
}
.menu .media {
  width: 30px;
}

footer {
  background-color: rgb(255, 229, 180);
}
footer .footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 8rem;
  align-items: center;
}
footer .footer .footer-logo {
  width: 162px;
}
footer .footer .footer-logo-mb {
  display: none;
}
footer .footer .media-group {
  display: flex;
  gap: 1rem;
}
footer .footer .media {
  width: 24px;
  position: relative;
}
footer .footer .media:hover .icon-base {
  opacity: 0;
}
footer .footer .media:hover .icon-hover {
  opacity: 1;
}
footer .footer .icon-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
footer .footer-text-mb {
  text-align: center;
  padding-bottom: 1rem;
  font-size: 12px;
  display: none;
}

.custom-container {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  min-height: calc(100dvh - var(--header-height) - var(--footer-height));
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  background-color: black;
  animation: overlay_zoomin 0.8s ease forwards;
  display: none;
}

input.datepicker {
  position: relative;
  z-index: 1;
}

.ui-widget-header {
  background: rgb(255, 115, 0) !important;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-state-hover {
  background: white !important;
  color: rgb(255, 115, 0) !important;
}

.ui-datepicker .ui-icon {
  background-image: none !important;
}

.ui-datepicker-month, .ui-datepicker-year {
  border: none;
  background: transparent;
  color: white;
}
.ui-datepicker-month option, .ui-datepicker-year option {
  color: black;
}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
  top: 30% !important;
  color: white;
}
.ui-datepicker .ui-datepicker-prev span:hover, .ui-datepicker .ui-datepicker-next span:hover {
  color: rgb(255, 115, 0);
}

.ui-datepicker td span, .ui-datepicker td a {
  text-align: center !important;
}

.ui-datepicker th {
  font-weight: 500 !important;
}

.cart {
  display: none;
  position: absolute;
  top: var(--header-height);
  right: 0;
  z-index: 15;
  border-radius: 80px;
  background-color: white;
  padding: 2.5rem;
  width: 33%;
  max-width: 500px;
  margin: 1rem;
  overflow-y: hidden;
}
.cart h3 {
  font-size: 24px;
  font-weight: 500;
}
.cart .cart-esc {
  font-size: 20px;
  color: black;
  cursor: pointer;
}
.cart .cart-list {
  margin-top: 2rem;
}
.cart .cart-scrollbar {
  overflow-y: auto;
  max-height: 290px;
  padding-right: 2rem;
}
.cart .cartclear {
  margin-top: 3rem;
  text-align: center;
  display: none;
}
.cart .cartclear p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}
.cart .cartclear .clear-img {
  width: 180px;
  margin: 0 auto 1rem auto;
}
.cart .course-btn {
  display: block;
  text-decoration: none;
  color: rgb(255, 115, 0);
  border: 1px rgb(255, 115, 0) solid;
  text-align: center;
  padding: 0.8rem 0;
  margin-top: 2rem;
  border-radius: 30px;
  font-weight: 600;
  line-height: 1.8;
  cursor: pointer;
}
.cart .course-btn:hover {
  background-color: rgba(255, 115, 0, 0.1);
}
.cart .cart-item {
  border-bottom: 1px rgb(222, 226, 230) solid;
  padding-top: 1rem;
}
.cart .cart-item .img-container {
  width: 35%;
  margin-right: 1rem;
}
.cart .cart-item .cart-img {
  aspect-ratio: 3/2;
}
.cart .cart-item .cart-img img {
  border-radius: 30px;
}
.cart .cart-item .lesson-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* 限制顯示 2 行 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;
  margin: 0 0.25rem 0.25rem 0;
}
.cart .cart-item .lesson-info {
  color: rgb(126, 126, 126);
  font-size: 14px;
}
.cart .cart-item .counter {
  justify-content: end;
}
.cart .cart-item .lesson-price {
  color: rgb(255, 115, 0);
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
  margin: 0;
}
.cart .sum {
  justify-content: end;
}
.cart .sum p {
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-size: 20px;
}
.cart .sum .sum-title {
  font-weight: 500;
  margin-right: 1.5rem;
}
.cart .sum .total-price {
  font-weight: 600;
  color: rgb(255, 115, 0);
}
.cart .attend-btn {
  display: block;
  text-decoration: none;
  background-color: rgb(255, 115, 0);
  color: white;
  text-align: center;
  padding: 0.8rem 0;
  margin-top: 2rem;
  border-radius: 30px;
  font-weight: 600;
  line-height: 1.8;
  cursor: pointer;
}
.cart .attend-btn:hover {
  background-color: rgb(239, 108, 0);
}

.counter {
  gap: 0.1rem;
}
.counter .plus, .counter .minus {
  font-size: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.counter .plus:hover, .counter .minus:hover {
  color: rgb(255, 115, 0);
}
.counter .number {
  background-color: transparent;
  border: none;
  width: 25%;
  flex-shrink: 0;
  flex-grow: 0;
}

.delete {
  color: rgb(126, 126, 126);
  cursor: pointer;
}
.delete:hover {
  color: rgb(255, 115, 0);
}

.modal {
  height: 90dvh !important;
  display: grid;
  place-content: center;
  top: 50%;
  animation: modal 0.3s ease forwards;
}

.modal-dialog {
  transition: none !important;
  max-width: 1000px !important;
}

.modal-header {
  border-bottom: none !important;
  padding: 1rem 1rem 0 1rem !important;
}

.modal-body {
  padding: 1rem 2rem 2rem 2rem !important;
}

.next-btn, .last-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  margin: 0.5rem;
  cursor: pointer;
}
.next-btn:hover, .last-btn:hover {
  color: rgb(255, 115, 0);
}

.next-btn {
  right: 0;
}

.last-btn {
  left: 0;
}

.modal-item {
  display: none;
  aspect-ratio: 3/2;
}

.active {
  display: block;
}

@media (max-width: 1024px) and (min-width: 768px) {
  header {
    padding: 2rem;
  }
  header .nav-bar {
    margin: 0;
    gap: 0;
  }
  header .nav-bar li {
    font-size: 14px;
  }
  footer .footer {
    padding: 2rem 5rem;
  }
}
@media (max-width: 767px) {
  body {
    background-size: 50%;
  }
  header {
    padding: 1rem;
  }
  header .nav-bar {
    display: none;
  }
  header .menu-btn {
    display: block;
  }
  .menu {
    top: var(--header-height-mb);
  }
  .header-title {
    height: 190px;
  }
  .header-title .title-img {
    width: 60%;
    margin: 0 auto 1rem auto;
  }
  .header-mb {
    display: flex;
  }
  footer .footer {
    padding: 1rem;
  }
  footer .footer .footer-logo {
    display: none;
  }
  footer .footer .footer-logo-mb {
    display: block;
    width: 122px;
  }
  footer .footer-text {
    display: none;
  }
  footer .footer-text-mb {
    display: block;
  }
  .cart {
    display: none;
    width: 100%;
    top: var(--header-height-mb);
    padding: 1rem;
    margin: 0;
    border-radius: 0;
    height: calc(100dvh - var(--header-height-mb));
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .cart h3 {
    font-size: 20px;
    margin: 0;
  }
  .cart .cart-list {
    margin-top: 1rem;
  }
  .cart .cart-item .lesson-name, .cart .cart-item .lesson-price {
    font-size: 16px;
  }
  .cart .cart-item .lesson-info {
    font-size: 12px;
  }
  .cart .cart-item .img-container {
    margin-right: 0.5rem;
    width: 40%;
  }
  .cart .cart-item .cart-img img {
    border-radius: 20px;
  }
  .counter .plus, .counter .minus {
    font-size: 16px;
  }
  .modal-header {
    padding: 0.5rem 1rem 0 1rem !important;
  }
  .modal-body {
    padding: 0.5rem 1rem 1rem 1rem !important;
  }
}/*# sourceMappingURL=all.css.map */