:root {
  /*主色輔色 改色*/
  --main-color: #ff8a00;
  --sub-color: #ff4d2c;
  --sub2-color: #bbaaea;

  /*勿動*/
  --white-color: #fff;
  --black-color: #1e1e1e;
}
.forpc {
  display: block;
}
.forphone {
  display: none !important;
}

p {
  font-size: 1.15rem;
  font-weight: 400;
}
.text-lg {
  font-size: 1.35rem;
}
.text-sm {
  font-size: 1rem;
}

/* nav ---------- */
.navbar {
  background-color: #000000db;
}
.nav-item a {
  color: var(--white-color);
  font-size: 1rem;
  line-height: 1;
}
.nav-item a:hover {
  color: var(--white-color);
}
.btn-ticket {
  background-color: var(--sub-color);
  color: var(--white-color);
  border-radius: 2rem;
  padding: 0.75rem 1rem !important ;
}
.btn-ticket:hover,
nav .btn-ticket:focus {
  background-color: var(--main-color);
  color: var(--white-color);
}
nav .nav-link {
  margin-top: 0;
  margin-bottom: 0;
}
nav .mainlogo {
  display: flex;
  align-items: center;
}
nav .mainlogo img {
  max-width: 128px;
  text-align: left;
}
nav .mainlogo img.school {
  max-width: 180px;
}
@media (max-width: 768px) {
  .forpc {
    display: none !important;
  }
  .forphone {
    display: block !important;
  }
  nav .navbar-collapse {
    display: flex;
  }
  nav .navbar-collapse .navbar-nav {
    width: 100%;
  }
  nav .nav-item {
    justify-content: center;
  }
  .nav-item a {
    font-size: 1rem;
    line-height: 1rem;
    padding: 1.25rem 0;
  }
  .nav-item a .sm-txt,
  .nav-item p .sm-txt {
    font-size: 13px;
  }
  .navbar-toggler,
  .navbar-toggler:focus,
  .navbar-toggler:active {
    padding: 2px;
    border: 0px;
  }
  nav .mainlogo img {
    max-width: 72px;
  }
  nav .mainlogo img.school {
    max-width: 100px;
  }
  nav .mainlogo .navbar-brand {
    margin-right: 6px;
  }
}

/* main ---------- */
.main-bg {
  background-image: url(../../images/bg1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: -1;
  background-position: center;
}
#main .main-title {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 1100px;
}
.main-title2 {
  position: absolute;
  top: 28%;
  left: -10px;
  width: 300px;
  padding: 0;
}
#main h4 {
  color: #ffffff;
  margin-top: 1rem;
  font-weight: 400;
  margin-bottom: 2rem;
}
.unit-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: rgb(0, 0, 0);
  text-align: center;
}
@media (max-width: 1400px) {
  .main-title2 {
    top: 25%;
    left: -10%;
  }
}

@media (max-width: 990px) {
  .main-title2 {
    top: 20%;
    left: -15%;
    width: 250px;
  }
}
@media (max-width: 768px) {
  #main .main-title {
    margin: 0 auto;
  }
  #main .main-sub-title {
    font-size: 48px;
  }
  #main h4 {
    font-size: 1rem;
  }
  #main h5 {
    color: #ffffff;
    margin-top: 1rem;
    font-weight: 400;
    margin-bottom: 2rem;
  }
  .unit-title h2 {
    font-size: 1.55rem;
  }
  .main-title2 {
    top: 2.5rem;
    left: -2rem;
    width: 38%;
    max-width: 220px;
    padding: 0;
  }
}

/* slogan ---------- */
#slogan {
  background: linear-gradient(to right, #7dcbb1, #f3d07e, #eb6b48);
  color: var(--black-color);
}

/* time ---------- */
#time {
  color: #fff;
  background-color: #000000c9;
  width: 100%;
}
#time .flex-l {
  background-color: #1e1e1e;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  align-items: center;
}
#time .flex-r {
  flex-basis: 35%;
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
}
#time .flex h6.word {
  padding: 0 1rem;
}

#time .btn-ticket {
  margin: 0 0.8rem;
  width: 72px;
  font-size: 1.25rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  font-weight: 600;
  height: 72px;
  justify-content: center;
}
#time .flex h5.word {
  padding: 0 1rem;
}
#time input {
  background-color: #1e1e1e;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  max-width: 80px;
  line-height: 1;
  margin: 0 0.8rem;
}
#time .time-w {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  padding: 10px 0.5rem;
}

@media (max-width: 992px) {
  #time .flex h5.word {
    padding: 0 0.3rem;
  }
  #time input {
    font-size: 2rem;
    margin: 0 0.3rem;
  }
  #time .time-w {
    font-size: 2rem;
    padding: 10px 0.3rem;
  }
}

@media (max-width: 768px) {
  #time {
    position: fixed;
    bottom: 0;
    z-index: 99;
    padding: 0;
  }
  #time .flex-l {
    flex-basis: 100%;
    padding: 0.5rem 0;
    flex-wrap: wrap;
    margin: 0;
    border-radius: 0;
    justify-content: center;
  }
  #time .flex-r {
    display: none;
  }
  #time .flex-l h5 {
    width: 100%;
  }
  #time input {
    margin: 0 0rem;
    font-size: 1.5rem;
    padding: 4px 8px;
  }
  #time form p {
    margin: 0 0rem;
    font-size: 0.5rem;
  }
  #time form > div {
    margin: 0;
  }
  #time .btn-ticket {
    padding: 6px 12px !important;
  }
}

/*--第二屏--*/
#worried {
  position: relative;
  background-position: center 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: linear-gradient(0deg, #f8f9fa, rgb(236 63 67));
  padding: 1rem;
}
.main-title {
  color: var(--main-color);
  font-size: 5.8rem;
  line-height: 1.25;
  font-weight: 600;
}
.main-title-sub {
  color: var(--sub-color);
}
.main-txt {
  color: var(--black-color);
  padding: 2rem;
}
.main-txt .txt_sty01 {
  background-color: var(--main-color);
  color: var(--white-color);
  padding: 0.5px 5px;
}
.item {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 1rem;
}
/* suitable ---------- */
.suitable_box {
  background: url("../../images/bg4.jpg");
  background-size: cover;
  background-color: #000000ff;
  width: 30%;
  padding: 24px 1rem;
  border-radius: 16px;
  color: #fff;
}
.suitable_item {
  width: 33.3333%;
}
.mt-n3 {
  margin-top: -1.5rem;
}
.class-gorgeous {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.suitable_eng {
  font-weight: bold;
  color: #ffffff;
  -webkit-text-stroke: 1px #ffffff3b;
  -webkit-text-fill-color: transparent;
  font-size: 2.25rem;
  font-family: SF Pro TC, SF Pro Display, SF Pro Icons, PingFang TC,
    Noto Sans TC, Helvetica Neue, Helvetica, Arial, sans-serif;
}
.suitable_ch {
  font-size: 2rem;
  border-bottom: 3px solid #73ffa8;
  margin-bottom: 8px;
  color: #73ffa8;
}

/* hlight3 */
#hlight3 {
  background-color: #000000;
  background-image: url(../../images/bg3.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#hlight3 .hlight-carousel img {
  object-fit: cover;
  object-position: center;
}
#hlight3 .hlight-carousel {
  position: relative;
}
#hlight3 .owl-theme .owl-nav {
  position: absolute;
  bottom: 0;
  right: 0;
}
#hlight3 h2 {
  color: #f0dba8;
}
#hlight3 h5 {
  margin-bottom: 1rem;
}

.question .h5 {
  font-size: 1.15rem;
}

.article-geous {
  background-color: #f9c79ae6;
  padding: 10px 20px 6px;
  border-radius: 0 30px 30px 30px;
  margin-left: -20%;
}
.article-geous1 {
  background-color: #f2eea8d4;
  padding: 10px 20px 6px;
  border-radius: 30px 30px 0 30px;
  margin-right: -20%;
}
.article-geous2 {
  background-color: #9ae89be3;
  padding: 10px 20px 6px;
  border-radius: 30px 30px 30px 0px;
  margin-left: 6%;
}

@media (max-width: 768px) {
  .suitable_box {
    width: 100%;
  }
}

/* suitable ---------- */
#suitable {
  padding: 3% 1rem 8%;
  background: linear-gradient(180deg, #0000008c, #000000, #182350, #4b91b4);
}
/* suitable ---------- */
#suitable1 {
  background-color: #ffad4d;
}
/* photo ---------- */
/* #photo{
    padding-top: 0rem;
    padding-bottom: 0rem;
    background: url(../../images/照片.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
} */
#photo .background {
  background: url("../../images/照片.png");
  background-size: cover;
  -webkit-background-size: cover;
  background-position: center;
  background-position-x: 50%;
  background-position-y: 50%;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  z-index: -1;
}
#photo h2 {
  color: #ffffff;
  text-shadow: black 0.1em 0.1em 0.2em;
  text-align: center;
}
#recommend2 {
  background: url("../../images/bg3.jpg");
  background-size: cover;
  background-position: center;
  background-color: #000000ff;
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: multiply;
  padding: 5% 1rem;
}

#recommend2 h4 {
  text-align: center;
  position: absolute;
  left: 4px;
  top: -28px;
  padding: 8px 16px;
  transition: 0.25s;
  font-size: 1.35rem;
  color: var(--main-color);
  background: var(--black-color);
}
#recommend2 .btn-a {
  width: 100%;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 600;
  padding: 16px 12px;
  color: var(--black-color);
  background: linear-gradient(90deg, #7dcbb1, #f3d07e, #eb6b48);
  cursor: pointer;
  text-align: center;
  border: none;
  border-radius: 0;
  background-size: 100% 100%;
  transition: all 0.4s ease-in-out;
}
#recommend2 .btn-a:hover {
  background: var(--main-color);
  color: var(--white-color);
}
#recommend2 .image-link {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  overflow: hidden;
}

#recommend2 .image-link img {
  object-fit: cover;
}

#recommend2 .image-link:hover {
  transform: translateY(-1rem);
  transition: all 0.25s linear;
  border-top: 6px solid var(--white-color);
}

/*agenda ---------- */

/* 課綱／議程[論壇式] */
#agenda7 {
  background: linear-gradient(90deg, #79abcb, #ffffffbd, #599fc7, #4670a9eb);
}

#agenda7 h6 span.hashtag {
  padding: 3px 10px;
  background-color: #f2f2f2;
  border: 1px solid #1e1e1e;
  color: #1e1e1e;
  /* border-radius: 100px; */
}

#agenda7 .time {
  font-weight: 300;
  font-size: 1.5rem;
}

#agenda7 .sub-title {
  background-color: #de3c2f;
  padding: 5px 15px 5px 5px;
  color: #fff;
}

#agenda7 .title {
  color: var(--black-color);
  padding: 4px 8px;
  margin-top: 1rem;
  background: linear-gradient(to right, #eeab5b, #60a2c9, #ffffff00);
  margin: 8px 0;
}
#agenda7 p.text-md {
  border-bottom: #eeab5b 3px solid;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
}
#agenda7 .text-sm {
  font-weight: 400;
}
#agenda7 .sub-title.color2 {
  background-color: #2b48b3;
  padding: 5px 15px 5px 5px;
  color: #fff;
}

#agenda7 .title.color2 {
  color: var(--black-color);
  padding: 6px 8px;
  margin-top: 1rem;
  background: linear-gradient(to right, #03d3c0, #83eb57, #edff00);
}

#agenda7 .agenda-CTA:hover {
  transform: scale(1.05);
  transition: 0.05s linear;
}
.recommend-box {
  margin: 12px 0;
  font-size: 1.1rem;
  line-height: 1.75;
}
.recommend-box h5 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 12px auto;
}
.recommend-box img {
  border: 1px solid #fff;
  border-radius: 0 30px 30px 30px;
}
.agenda-video {
  border-radius: 12px;
  border: 1px solid #fff;
  aspect-ratio: 16 / 9;
}
.agenda-video img {
  border-radius: 12px;
  box-shadow: 4px 6px 16px #3c4c5b3f;
}

@media (max-width: 768px) {
  #agenda .agenda-info {
    order: 1;
  }

  #agenda7 .agenda-video {
    order: 2;
  }

  .article-geous {
    margin-left: 0%;
  }
  .article-geous1 {
    margin-right: 0%;
  }
  .article-geous2 {
    margin-left: 0%;
  }
}

/*speaker ---------- */

/* 講師陣容 */
#speaker {
  background-color: #d7c9fd;
}
#speaker .teacher {
  background-color: #f6f3f6;
}

/* infomation ---------- */
/* 課程資訊－一般B */
#infomation3 {
  background: linear-gradient(116deg, #24eddd91, #222, #ff400591);
  color: var(--white-color);
}
#infomation3 .co-qa {
  color: var(--main-color);
}
#infomation3 .btn-sold .sold01 {
  background: linear-gradient(116deg, #152559, #ff4005, #244872);
  padding: 1.5rem 1rem;
  border-radius: 10px;
  border: 1px solid #fff;
  color: var(--white-color);
  border-radius: 0 30px 30px 30px;
}
#infomation3 .btn-sold .hotsold {
  background: #ff4005;
  padding: 1.5rem;
  margin-top: 0;
  border-radius: 10px;
  color: white;
  border-radius: 0 30px 30px 30px;
}
#infomation3 .btn-sold .sold-normal {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  color: var(--black-color);
  border-radius: 0 30px 30px 30px;
}
#infomation3 .btn-sold .sold-normal:hover,
#infomation3 .btn-sold .sold-normal:focus,
#infomation3 .btn-sold .hotsold:hover,
#infomation3 .btn-sold .hotsold:focus,
#infomation3 .btn-sold .sold01:hover,
#infomation3 .btn-sold .sold01:focus {
  background: linear-gradient(145deg, #244872, #152559, #ff4005);
  transition: 0.5s;
  color: var(--white-color);
  border: 1px solid #fff;
}

#infomation3 .btn-sold .sold-out {
  background: var(--white-color);
  padding: 1.5rem;
  border-radius: 3px;
  color: var(--black-color);
  position: relative;
  filter: opacity(0.5);
}
#infomation3 .btn-sold .sold-out::before {
  content: "SOLD OUT";
  position: absolute;
  top: calc(50% - 18px);
  left: calc(50% - 50px);
  padding: 6px 12px;
  background-color: #ff5c16;
  color: var(--white-color);
  transform: rotate(-20deg);
}
#infomation3 .btn-ticket {
  background-color: var(--main-color);
  color: var(--white-color);
  border: solid 2px var(--main-color);
  border-radius: 2rem;
  padding: 0.8rem 3.5rem !important ;
  line-height: 2rem;
  font-size: 1.25rem;
}
#infomation3 .btn-ticket:hover,
#infomation2 .btn-ticket:focus {
  background-color: #ff5c16;
  color: var(--white-color);
  border: solid 2px #ff5c16;
}

/* Marquee ---------- */
#Marquee {
  position: relative;
  background-image: url(../../images/bg2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  overflow: hidden;
  min-height: 630px;
  color: #e7d0b7;
}
#Marquee h5 {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: 300;
  font-size: 1.15rem;
}
#Marquee h3 {
  margin-top: 2rem;
}
.pic-en {
  font-size: 6rem;
  color: #bbaaea;
  opacity: 0.8;
  font-weight: 700;
  font-family: "Noto Serif TC", serif;
  mix-blend-mode: difference;
  letter-spacing: -2px;
  position: absolute;
  top: 50%;
  right: 10%;
  text-align: right;
  line-height: 1.1;
  display: flex;
  width: 100%;
  filter: blur(0.15rem);
  writing-mode: tb;
}
.pic-en2 {
  font-size: 5rem;
  color: #bbaaea;
  opacity: 0.8;
  font-weight: 700;
  font-family: "Noto Serif TC", serif;
  mix-blend-mode: difference;
  letter-spacing: -2px;
  position: absolute;
  top: 50%;
  right: 15%;
  text-align: right;
  line-height: 1.1;
  display: flex;
  width: 100%;
  filter: blur(0.3rem);
  writing-mode: tb;
}
.marquee-content {
  font-family: "Noto Serif TC", serif;
  display: inline-block;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}
.marquee-content2 {
  font-family: "Noto Serif TC", serif;
  display: inline-block;
  white-space: nowrap;
  animation: marquee2 30s linear infinite;
}

#Marquee .cta-group {
  font-family: "Noto Serif TC", serif;
  background: var(--sub-color);
  color: var(--white-color);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 24px;
  margin-top: 1rem;
  display: inline-block;
}
#Marquee .cta-group:hover {
  background: #ff6a00;
  color: var(--white-color);
  transition: 0.2s all linear;
}

@keyframes marquee2 {
  0% {
    transform: translateY(-15%);
  }

  100% {
    transform: translateY(-115%);
  }
}
@keyframes marquee {
  0% {
    transform: translateY(-10%);
  }

  100% {
    transform: translateY(-110%);
  }
}

@media (max-width: 768px) {
  #Marquee {
    min-height: 770px;
  }
  #Marquee h3 {
    font-size: 21px;
    line-height: 2rem;
  }
  #Marquee h5 {
    font-size: 16px;
    font-weight: 400;
    line-height: 2rem;
  }
  .pic-en {
    font-size: 6rem;
    writing-mode: unset;
    top: 84%;
    filter: blur(0.25rem);
  }
  .pic-en2 {
    font-size: 3rem;
    writing-mode: unset;
    top: 81%;
    filter: blur(0.05rem);
  }
  @keyframes marquee2 {
    0% {
      transform: translateX(-15%);
    }

    100% {
      transform: translateX(-115%);
    }
  }
  @keyframes marquee {
    0% {
      transform: translateX(0%);
    }

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

/* More ---------- */
#More {
  background-color: #ffad4c;
  background-image: url(../../images/bg\ 1.svg);
  background-repeat: no-repeat;
  background-size: cover;
}
#More .more-img-box {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
#More a {
  background: var(--sub-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
  position: relative;
}
#More a.unload {
  background: #606060;
  padding: 0.5rem;
  border-radius: 0.5rem;
  position: relative;
}
#More a h5 {
  color: var(--white-color);
}
#More .more-img-box img {
  object-fit: cover;
  filter: brightness(0.75);
}
#More a:hover .more-img-box img {
  transform: scale(1.05);
  transition: 0.25s all linear;
  filter: brightness(1);
}
#More a::after {
  position: absolute;
  content: "podcast";
  top: 0;
  left: 0;
  background: var(--sub-color);
  color: var(--white-color);
  padding: 3px 6px;
  border-radius: 0.5rem;
  font-size: 1.25rem;
}
#More a.article::after {
  position: absolute;
  content: "article";
  top: 0;
  left: 0;
  background: var(--sub-color);
  color: var(--white-color);
  padding: 3px 6px;
  border-radius: 0.5rem;
  font-size: 1.25rem;
}

/* Q&A ---------- */
#qna {
  background: #1e1e1e;
  color: var(--white-color);
}
#qna li p {
  color: #dddddd;
}
#qna a {
  color: #ff8a00;
}
/*footer改色 ---------- */

#footer {
  width: 100%;
  background-color: #2e4b77;
  color: var(--white-color);
  padding: 2% 1rem 5%;
}

#footer .scrolltop {
  background: var(--sub-color);
  color: var(--white-color);
  opacity: 0.9;
}

/* @media (max-width: 768px) {
  #footer {
    padding: 18px 0 120px 0;
  }
} */
