@import url(../fonts/flaticon/flaticon.css);
@import url(../css/revise.css);

:root {
  --red: #891a20;
  --blue: #075ca9;
  --ink: #252525;
  --shadow: 0 8px 24px #291c1833;
}
.grecaptcha-badge {
  visibility: hidden;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto;
}
body {
  font-family: "Noto Sans TC", Arial, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.7;
}
main {
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
.pc {
  display: block;
}
.mb {
  display: none;
}
.section1 {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #ddd;
}
.hero-slides,
.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  opacity: 0;
  transition: opacity 1.2s;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide img {
  object-fit: cover;
}
.hero-decor {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 55%;
  height: 100%;
}
.hero-decor img {
  width: 100%;
  height: 100%;
}
.hero-content {
  position: absolute;
  z-index: 3;
  left: clamp(28px, 5vw, 110px);
  top: 45%;
  width: 30%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-badge {
  position: absolute;
  z-index: 4;
  top: 0;
  left: clamp(28px, 5vw, 110px);
  width: clamp(92px, 8.5vw, 146px);
  height: auto;
}
.hero-title,
.hero-title img,
.hero-promise {
  width: 100%;
}
.hero-promise {
  margin: 24px 0 30px;
}
.hero-event {
  position: absolute;
  z-index: 4;
  left: clamp(28px, 5vw, 110px);
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  width: 33%;
  min-height: 142px;
  padding: 24px 36px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: 0.25s;
}
.hero-event:hover {
  transform: translateY(-4px);
}
.hero-event small,
.hero-event strong {
  display: block;
  line-height: 1.45;
}
.hero-event small {
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 500;
  color: var(--red);
}
.hero-event strong {
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 600;
  color: #202020;
  letter-spacing: 0.02em;
}
.hero-event .hero-time,
.hero-event small:last-child {
  color: #4b4b4b;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.event-calendar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}
.event-calendar svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-event .event-calendar .cls-2 {
  fill: #891a20 !important;
}
.hero-event .event-calendar .cls-1 {
  fill: #fff !important;
}
.calendar-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border: 3px solid var(--red);
  border-radius: 50%;
  flex: none;
}
.calendar-icon:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 14px;
  height: 11px;
  border: 2px solid var(--red);
  border-top-width: 5px;
}
.section2 {
  padding: 70px 0 120px;
}
.section2-inner {
  width: 80%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.section2-logo {
  width: 50%;
  margin: auto;
}
.down-mark {
  display: block;
  width: 12px;
  height: 12px;
  margin: 20px auto 40px;
  border: solid var(--red);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.section2-inner > .box {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--red);
  box-shadow: var(--shadow);
}
.event-photo {
  padding-left: 5%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-info {
  padding: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}
.info-row {
  display: flex;
  gap: 22px;
  align-items: center;
}
.round-icon {
  background: #fff;
  width: 48px;
  height: 48px;
  border: 0;
}
.section2-calendar,
.map-icon {
  display: block;
  padding: 0;
  background: transparent;
}
.section2-calendar svg,
.map-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.section2-calendar .cls-2 {
  fill: #fff !important;
}
.section2-calendar .cls-1 {
  fill: #891a20 !important;
}
.map-icon .cls-2 {
  fill: #fff !important;
}
.map-icon .cls-1 {
  fill: #891a20 !important;
  stroke: #891a20 !important;
}
.info-row p {
  flex: 1;
}
.info-row small,
.info-row .info-value,
.info-row em {
  display: block;
}
.venue-map-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.venue-map-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.info-row small {
  opacity: 0.75;
}
.info-row .info-value {
  font-size: 24px;
}
.info-row em {
  font-style: normal;
  font-size: 18px;
}
.address-map-icon {
  display: inline-block;
  width: 0.75em;
  height: 1em;
  margin: 0 0.25em;
  vertical-align: -0.1em;
}
.info-row + .info-row {
  padding-top: 30px;
  border-top: 1px solid #ffffff59;
}
.pin-icon {
  position: relative;
  border-radius: 50%;
}
.pin-icon:before {
  content: "";
  position: absolute;
  left: 17px;
  top: 11px;
  width: 14px;
  height: 18px;
  border: 3px solid var(--red);
  border-radius: 12px 12px 12px 0;
  transform: rotate(-45deg);
}
.primary-btn {
  display: flex;
  justify-content: center;
  gap: 18px;
  width: 240px;
  margin: 35px auto 110px;
  padding: 13px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 10px #aaa;
}
.brief {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 8%;
}
.brief h2 {
  margin-bottom: 38px;
}
.brief h2 img {
  width: 90%;
  height: auto;
}
.brief p {
  margin-top: 20px;
}
.brief-photo {
  position: relative;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  height: 100%;
}
.brief-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.section3 {
  background: #fafafa;
}
.campus-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1920/698;
  overflow: hidden;
}
.campus-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s;
}
.campus-slide.is-active {
  opacity: 1;
}
.campus-wordmark {
  position: absolute;
  z-index: 2;
  left: 10%;
  top: 30%;
  width: 22.5%;
}
.school-intro {
  width: 90%;
  max-width: 1120px;
  margin: 60px auto;
  text-align: center;
}
.school-intro h2 {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.55;
  color: var(--red);
  margin-bottom: 34px;
}
.school-intro p {
  margin: 22px 0;
}
.features-track {
  position: relative;
}
.features-scene {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #f8f8f8;
}
.features-scene::before,
.features-scene::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 35%;
  width: 100px;
  height: 50%;
  border-radius: 50%;
  background: var(--red);
}
.features-scene::before {
  left: -70px;
}
.features-scene::after {
  right: -70px;
}
.features-scene .school-intro {
  position: relative;
  z-index: 1;
}
.features-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  padding: 0 0 60px 0;
  overflow: hidden;
}
.features-sticky {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.feature-stage {
  position: relative;
  width: min(64%, 930px);
  display: grid;
  gap: 30px;
}
.feature-card {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: visible;
}
.feature-number {
  position: absolute;
  z-index: 3;
  left: clamp(-125px, -8vw, -82px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(78px, 8vw, 126px);
  color: var(--red);
  font-weight: 600;
  text-align: center;
  line-height: 1;
}
.feature-copy {
  position: relative;
  z-index: 2;
  padding: 42px 30px 42px 52px;
}
.feature-copy h3 {
  font-size: clamp(20px, 1.8vw, 27px);
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-copy p {
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 500;
  line-height: 1.75;
}
.feature-image {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  border-radius: 0 24px 24px 0;
}
.feature-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.85) 25%,
    rgba(255, 255, 255, 0) 100%
  );
}
.feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reservation {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #a00;
  color: #fff;
}
.reservation-visual {
  position: relative;
  overflow: hidden;
  background: var(--red);
}
.reservation-visual > .reservation-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.reservation-copy {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, 0);
}
.reservation-copy img {
  display: block;
  width: 100%;
  height: auto;
}
.reservation-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(76%, 580px);
  min-width: 0;
  margin: auto;
}
#myform,
.form-grid,
.form-grid label,
.session-options {
  min-width: 0;
}
#myform {
  width: 100%;
}
.form-logo {
  width: 75%;
  margin: 0 auto 12% auto;
}
.form-grid {
  display: grid;
  gap: 15px;
}
.form-grid label {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
}
.form-grid input,
.form-grid select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 42px;
  border: 0;
  padding: 8px 12px;
  background: #fff;
  color: #333;
  font: inherit;
}
.form-grid select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--red) 50%),
    linear-gradient(135deg, var(--red) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 18px,
    calc(100% - 12px) 18px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.session-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  border: 0;
  margin: 16px 0 0;
  padding: 0;
  min-width: 0;
}
.session-label {
  color: #fff;
}
.session-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.session-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
  font-size: 16px;
}
.session-options input {
  appearance: none;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid #fff;
  border-radius: 2px;
  background: transparent;
  position: relative;
}
.session-options input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-grid label,
.session-label {
  font-weight: 500;
}
.reg_btn {
  display: block;
  margin: 36px auto 16px auto;
  min-width: 180px;
  border: 0;
  border-radius: 30px;
  background: #fff;
  color: var(--red);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 40px;
  cursor: pointer;
}
.reg_btn:disabled {
  opacity: 0.5;
}
.msgerror {
  min-height: 28px;
  text-align: center;
  color: #ffe099;
}
.input-error {
  outline: 3px solid #ffd45b;
}
@media (max-width: 1499px) {
  .section2-inner {
    max-width: 1100px;
  }
  .feature-stage {
    width: min(68%, 900px);
  }
  .feature-card {
    min-height: 260px;
  }
  .reservation-form-wrap {
    width: min(82%, 540px);
  }
}
/* Compact spacing for short desktop screens. */
@media (min-width: 1024px) and (max-height: 750px) {
  .features-scene .school-intro {
    flex-shrink: 0;
    margin: 60px auto 20px auto;
  }
  .features-scene .school-intro h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .features-scene .school-intro p {
    font-size: 16px;
    margin: 12px 0;
  }
  .features-shell {
    height: auto;
    padding-bottom: 60px;
  }
  .feature-copy {
    padding: 24px 20px 24px 40px;
  }
}
@media screen and (width < 1024px),
  screen and (width < 1100px) and (height > 650px) {
  .section1 {
    min-height: 680px;
  }
  .hero-decor {
    width: 100%;
    height: 77%;
  }
  .hero-content {
    left: 50%;
    top: 30%;
    width: 60%;
    transform: translate(-50%, -50%);
  }
  .hero-badge {
    left: 7%;
    width: 115px;
  }
  .hero-promise {
    margin: 14px 0 18px;
  }
  .hero-event {
    left: auto;
    right: -1%;
    bottom: auto;
    top: 48%;
    width: 55%;
    min-height: 130px;
    padding: 15px 20px;
    gap: 14px;
  }
  .hero-event strong {
    font-size: 20px;
  }
  .hero-event small {
    font-size: 14px;
  }
  .event-calendar {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .section2 {
    padding: 45px 0 80px;
  }
  .section2-logo {
    width: 70%;
  }
  .section2-inner {
    width: 80%;
  }
  .section2-inner > .box {
    width: 90%;
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 10px;
  }
  .event-photo {
    height: 270px;
    padding-left: 0;
  }
  .event-info {
    padding: 24px 20px;
    gap: 20px;
  }
  .info-row + .info-row {
    padding-top: 20px;
  }
  .info-row .info-value {
    font-size: 18px;
  }
  .info-row em {
    font-size: 14px;
  }
  .primary-btn {
    margin: 24px auto 70px;
    font-size: 18px;
    width: 190px;
  }
  .brief {
    width: 88%;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .brief h2 img {
    width: 85%;
    height: auto;
    margin: 5% auto 5% 0;
  }
  .brief-copy {
    margin-bottom: 5%;
  }
  .brief p {
    font-size: 16px;
  }
  .brief-photo {
    height: 300px;
  }
  .campus-slider {
    aspect-ratio: 1.35;
  }
  .campus-wordmark {
    width: 38%;
  }
  .school-intro {
    margin: 25px auto 55px;
  }
  .school-intro p {
    font-size: 14px;
  }
  .features-track {
    height: auto;
  }
  .features-scene {
    position: relative;
    height: auto;
    padding: 16px 0;
    justify-content: center;
  }
  .features-scene .school-intro {
    width: 80%;
    margin: 5% auto;
  }
  .features-scene .school-intro p {
    line-height: 1.55;
  }
  .features-shell {
    height: auto;
    padding: 30px 0;
  }
  .features-scene::before,
  .features-scene::after {
    width: 76px;
    height: 50%;
    top: 35%;
  }
  .features-scene::before {
    left: -60px;
  }
  .features-scene::after {
    right: -60px;
  }
  .feature-stage {
    width: 75%;
    height: auto;
    display: grid;
    gap: 24px;
  }
  .feature-card {
    min-height: 0;
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    transition: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    border-radius: 15px;
  }
  .feature-number {
    left: -50px;
    top: 50%;
    font-size: 58px;
  }
  .feature-copy {
    min-width: 0;
    padding: 24px 12px 24px 28px;
  }
  .feature-copy h3 {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .feature-copy p {
    font-size: 13px;
  }
  .feature-image {
    min-height: 180px;
    border-radius: 0 15px 15px 0;
  }
  .feature-image img {
    position: absolute;
    inset: 0;
  }
  .reservation {
    grid-template-columns: minmax(0, 1fr);
  }
  .reservation-visual {
    height: 600px;
  }
  .reservation-copy {
    top: 7.5%;
    left: 50%;
    width: 65%;
  }
  .reservation-form-wrap {
    width: 75%;
    padding: 60px 0;
  }
  .form-grid label {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .session-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }
  .session-options {
    gap: 8px 14px;
  }
  .form-logo {
    margin-bottom: 25px;
  }
}
@media (max-width: 539px) {
  .pc {
    display: none;
  }
  .mb {
    display: block;
  }
  .section1 {
    min-height: 640px;
    height: calc(100svh + 100px);
  }
  .hero-decor {
    height: 70%;
  }
  .hero-content {
    width: 75%;
  }
  .hero-badge {
    left: 7%;
    width: 70px;
  }
  .hero-event {
    top: 45%;
    width: 65%;
    min-height: 90px;
    padding: 12px 15px;
    gap: 12px;
  }
  .hero-event strong {
    font-size: 18px;
  }
  .hero-event small {
    font-size: 13px;
  }
  .event-calendar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .section2 {
    padding: 38px 0 65px;
  }
  .section2-inner {
    width: 100%;
  }
  .section2-logo {
    width: 80%;
  }
  .down-mark {
    margin-bottom: 30px;
  }
  .event-photo {
    height: 235px;
  }
  .event-info {
    padding: 20px 16px;
  }
  .info-row {
    gap: 12px;
  }
  .round-icon {
    width: 42px;
    height: 42px;
  }
  .brief {
    width: 92%;
    gap: 24px;
  }
  .brief p {
    font-size: 14px;
  }
  .brief-photo {
    height: 270px;
  }
  .features-track {
    height: auto;
  }
  .features-scene {
    position: relative;
    height: auto;
    padding: 10px 0;
  }
  .features-scene::before {
    left: -66px;
  }
  .features-scene::after {
    right: -66px;
  }
  .features-scene .school-intro {
    width: 90%;
    margin-bottom: 10px;
  }
  .features-scene .school-intro h2 {
    font-size: 16px;
    text-align: left;
    margin-bottom: 5%;
  }
  .features-scene .school-intro p {
    font-size: 13px;
    line-height: 26px;
    text-align: left;
  }
  .features-shell {
    padding: 22px 0;
  }
  .feature-stage {
    width: 84%;
    gap: 24px;
  }
  .feature-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }
  .feature-number {
    position: static;
    transform: none;
    text-align: left;
    padding: 20px 20px 0;
    font-size: 40px;
  }
  .feature-copy {
    padding: 10px 20px 20px;
  }
  .feature-copy h3 {
    font-size: 18px;
  }
  .feature-copy p {
    font-size: 12px;
    line-height: 1.55;
  }
  .feature-image {
    min-height: 0;
    border-radius: 0 0 15px 15px;
  }
  .feature-image img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .feature-image::before {
    inset: 0 0 auto;
    width: 100%;
    height: 28%;
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
  }
  .reservation-visual {
    height: 520px;
  }
  .reservation-form-wrap {
    width: 88%;
    padding: 48px 0;
  }
  .form-grid label,
  .session-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .session-options {
    gap: 6px 10px;
  }
}
.line-contact {
  position: fixed;
  z-index: 99998;
  right: 20px;
  bottom: 162px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #06c755;
  color: #fff;
  font: 700 14px/1 Arial, sans-serif;
  box-shadow: 0 3px 10px #0002;
}
.line-contact,
.primary-btn,
.reg_btn,
#scrollUp {
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.primary-btn span {
  transition: transform 0.25s ease;
}
.hero-event:focus-visible,
.line-contact:focus-visible,
.primary-btn:focus-visible,
.reg_btn:focus-visible,
#scrollUp:focus-visible {
  outline: 3px solid #d7aa58;
  outline-offset: 5px;
}
@media (hover: hover) and (pointer: fine) {
  .line-contact:hover {
    background: #05ad4a;
    transform: translateY(-3px);
  }
  .primary-btn:hover {
    background-color: #a3232b;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #291c1840;
  }
  .primary-btn:hover span {
    transform: translateX(4px);
  }
  .reg_btn:not(:disabled):hover {
    background-color: #fff4e3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px #51000040;
  }
  #scrollUp:hover {
    transform: translateY(-3px);
  }
}
.primary-btn:active,
.reg_btn:not(:disabled):active {
  transform: translateY(1px);
}
.reg_btn:disabled {
  cursor: wait;
}
.animations-pending .wow {
  visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .wow {
    visibility: visible !important;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
