@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;400;500;700&display=swap");
body {
  margin: 0;
  font-family: 'Noto Serif TC', serif;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.container {
  max-width: 1140px;
  width: 95%;
  margin: auto;
}

ul,
ol {
  margin: 0;
}

ol {
  list-style-type: none;
}

ul li,
ol li {
  margin: 12px 0;
}

a {
  text-decoration: none;
  display: inline-block;
  color: #132533;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h2,
h3,
h4 {
  line-height: 1.7em;
}

h2 {
  margin: 20px 0;
  letter-spacing: 2px;
  display: inline-block;
  position: relative;
  left: 20px;
  font-size: 24px;
  padding: 12px;
  color: #1d62c3;
  font-family: 'Noto Serif TC', serif;
}

@media (min-width: 991px) {
  h2 {
    font-size: 30px;
  }
}

h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -10px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 16px;
  height: 1px;
  background-color: #1d62c3;
}

h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 16px;
  height: 1px;
  background-color: #1d62c3;
}

h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 22px;
}

@media (min-width: 991px) {
  h3 {
    font-size: 24px;
  }
}

p {
  line-height: 2;
}

img {
  width: 100%;
}

.bs {
  -webkit-box-shadow: 0 8px 10px rgba(62, 62, 62, 0.2);
          box-shadow: 0 8px 10px rgba(62, 62, 62, 0.2);
}

.link-btn {
  display: block;
  font-size: 16px;
  line-height: 40px;
  width: 40px;
  text-align: center;
  background-color: #1d62c3;
  border-radius: 50vh;
}

section {
  padding: 60px 0;
}

.btn-check:focus + .btn,
.btn:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0;
          box-shadow: 0 0 0;
}

.btn {
  border-radius: 4px;
  padding: 8px 12px;
  color: white;
}

.btn:hover {
  color: white;
}

.btn.swim {
  background-color: #1d62c3;
}

.btn.wake {
  background-color: #ff561c;
}

#loading {
  z-index: 99999;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #F8FAFE;
}

#loading span {
  text-align: center;
  position: absolute;
  left: 50%;
  top: 40%;
  list-style-type: 3px;
  font-size: 32px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: #ff561c;
}

#loading span small {
  margin-top: 12px;
  display: block;
  font-size: 20px;
}

#loading .wave {
  width: 200vw;
  height: 200vw;
  background-color: #95BAEF;
  position: absolute;
  bottom: -180vw;
  left: -50%;
  border-radius: 42%;
  opacity: 0.1;
  -webkit-transform: rotate(0);
          transform: rotate(0);
  -webkit-animation: rotate 20s infinite;
          animation: rotate 20s infinite;
}

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

#loading .wave:nth-child(1) {
  opacity: 0.2;
  left: -35%;
  -webkit-animation: rotate 25s infinite;
          animation: rotate 25s infinite;
}

#loading .wave:nth-child(2) {
  opacity: 0.3;
  left: -65%;
  -webkit-animation: rotate 30s infinite;
          animation: rotate 30s infinite;
}

/* =============nav============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-size: cover;
  background: white;
  -webkit-box-shadow: 0 2px 4px rgba(128, 128, 128, 0.262);
          box-shadow: 0 2px 4px rgba(128, 128, 128, 0.262);
}

.navbar h1 {
  margin-left: 16px;
}

.navbar h1 a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  line-height: 16px;
}

.navbar h1 a span {
  color: gainsboro;
}

.navbar h1 a span.swim {
  color: #1d62c3;
}

.navbar h1 a span.wake {
  color: #ff561c;
}

.navbar h1 a small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 300;
}

.navbar .navbar-toggler {
  color: transparent;
}

.navbar .navbar-toggler i {
  color: gray;
}

.navbar .navbar-collapse {
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.navbar .navbar-collapse .navbar-nav {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.navbar .navbar-collapse .navbar-nav {
  margin-left: auto;
}

.navbar .navbar-collapse .navbar-nav .nav-link {
  text-align: center;
  color: gray;
  margin: 12px;
  padding: 10px;
}

#banner {
  position: relative;
  padding: 80px 0;
  background: url("../image/banner/bg.jpg") no-repeat center/cover, #c0c0c0;
  background-blend-mode: overlay;
}

@media (min-width: 768px) {
  #banner {
    background-attachment: fixed;
  }
}

#banner .carousel {
  position: relative;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  border-radius: 20px;
  width: 95%;
}

#banner .carousel img {
  border-radius: 20px;
  width: 100%;
  height: 50vh;
  -o-object-fit: cover;
  object-fit: cover;
}

#banner .img-content {
  padding: 20px;
  margin-top: 20px;
}

#banner .img-content p {
  font-size: 20px;
  letter-spacing: 5px;
  font-style: italic;
}

#swim,
#wake {
  background-color: #F8FAFE;
}

#swim .about,
#swim .class,
#swim .process,
#wake .about,
#wake .class,
#wake .process {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  #swim .about,
  #swim .class,
  #swim .process,
  #wake .about,
  #wake .class,
  #wake .process {
    margin-bottom: 60px;
  }
}

@media (min-width: 991px) {
  #swim .about,
  #swim .class,
  #swim .process,
  #wake .about,
  #wake .class,
  #wake .process {
    margin-bottom: 80px;
  }
}

#swim p,
#wake p {
  margin: 20px 0;
  font-size: 15px;
  color: #0D2A54;
}

@media (min-width: 991px) {
  #swim p,
  #wake p {
    font-size: 18px;
  }
}

#swim img,
#wake img {
  width: 70%;
}

#swim .class-box,
#wake .class-box {
  padding: 20px;
  background-color: white;
  border: 1px solid #95BAEF;
  border-bottom: 4px solid #95BAEF;
  border-radius: 50px 0 50px 0;
}

#swim .class-box h3,
#wake .class-box h3 {
  color: #95BAEF;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  letter-spacing: 5px;
  line-height: 2.8;
}

#swim .class-box ul li,
#wake .class-box ul li {
  color: #0D2A54;
}

#swim .process .link-btn,
#wake .process .link-btn {
  font-size: 18px;
  background-color: transparent;
  color: #95BAEF;
  border: 1px solid;
}

#swim .process h3,
#wake .process h3 {
  color: #95BAEF;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  letter-spacing: 5px;
  line-height: 2.8;
}

#swim .process ol,
#wake .process ol {
  padding-left: 20px;
  list-style-type: none;
  border-left: 1px solid #95BAEF;
}

#swim .process ol li,
#wake .process ol li {
  color: #0D2A54;
}

#swim .process ol li span,
#wake .process ol li span {
  margin-right: 10px;
  font-size: 18px;
  color: #95BAEF;
  display: block;
}

#swim .process ol li h4,
#wake .process ol li h4 {
  font-size: 18px;
  font-weight: 400;
}

#swim .activity .container,
#wake .activity .container {
  max-width: unset;
}

#swim .activity .youtube,
#wake .activity .youtube {
  margin-top: 100px;
}

#swim .activity .youtube h3,
#wake .activity .youtube h3 {
  background-color: #FF9D7C;
  color: white;
  line-height: 2;
  display: inline-block;
  width: 100%;
  position: relative;
  padding: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

#swim .activity .youtube h3 small,
#wake .activity .youtube h3 small {
  display: block;
  font-size: 14px;
}

#swim .activity .youtube .video-box,
#wake .activity .youtube .video-box {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

#swim .activity .youtube .video-box iframe,
#wake .activity .youtube .video-box iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#swim .activity .multiple-items,
#wake .activity .multiple-items {
  margin: 10px;
}

#swim .activity .multiple-items .slick-next,
#swim .activity .multiple-items .slick-prev,
#wake .activity .multiple-items .slick-next,
#wake .activity .multiple-items .slick-prev {
  width: 40px;
  line-height: 40px;
}

#swim .activity .multiple-items .activity-box a,
#wake .activity .multiple-items .activity-box a {
  margin: 20px;
  display: block;
  height: 30vh;
}

#swim .activity .multiple-items .activity-box a img,
#wake .activity .multiple-items .activity-box a img {
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  width: 100%;
  background-color: white;
  padding: 10px;
}

#swim .slick-dots li button:before,
#wake .slick-dots li button:before {
  color: #95BAEF;
}

#swim .slick-dots li.slick-active button:before,
#wake .slick-dots li.slick-active button:before {
  color: #95BAEF;
}

#swim .slick-dots,
#wake .slick-dots {
  bottom: -50px;
}

#swim .slick-prev,
#wake .slick-prev {
  z-index: 10;
}

#swim .slick-next,
#wake .slick-next {
  z-index: 10;
}

#swim .slick-next:before,
#swim .slick-prev:before,
#wake .slick-next:before,
#wake .slick-prev:before {
  color: #95BAEF;
}

#wake {
  background-color: #FFFBFA;
}

#wake h2 {
  color: #ff561c;
}

#wake h2::before, #wake h2::after {
  background-color: #ff561c;
}

#wake .class-box {
  border-radius: 0 50px 0 50px;
  border: 1px solid #FF9D7C;
  border-bottom: 4px solid #FF9D7C;
}

#wake .class-box h3 {
  color: #FF9D7C;
}

#wake .class-box ul li {
  color: #240800;
}

#wake .process .link-btn {
  color: #FF9D7C;
}

#wake .process h3 {
  color: #FF9D7C;
}

#wake .process ol {
  border-left: 1px solid #FF9D7C;
}

#wake .process ol li {
  color: #240800;
}

#wake .process ol li span {
  color: #FF9D7C;
}

#wake p {
  color: #240800;
}

#wake .slick-dots li button:before {
  color: #FF9D7C;
}

#wake .slick-dots li.slick-active button:before {
  color: #FF9D7C;
}

#wake .slick-next:before,
#wake .slick-prev:before {
  color: #FF9D7C;
}

#contact {
  position: relative;
  background: url(../image/contact/bg.jpg) left top/cover;
}

@media (min-width: 768px) {
  #contact {
    background-attachment: fixed;
  }
}

#contact .container {
  max-width: unset;
}

#contact .swim {
  height: 100%;
  background-color: #dce8face;
  padding: 20px;
}

#contact .swim .contact-content h3,
#contact .swim .contact-content ul li {
  color: #1d62c3;
}

#contact .swim .contact-content h3 a,
#contact .swim .contact-content ul li a {
  color: #0D2A54;
}

#contact .wake {
  height: 100%;
  background-color: #ffcdbdb9;
  padding: 20px;
}

#contact .wake .contact-content h3,
#contact .wake .contact-content ul li {
  color: #ff561c;
}

#contact .wake .contact-content h3 a,
#contact .wake .contact-content ul li a {
  color: #240800;
}

#contact img {
  width: 140px;
  -o-object-fit: contain;
  object-fit: contain;
}

#contact ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#contact ul li {
  margin-bottom: 30px;
  font-size: 14px;
}

#contact ul li a {
  display: block;
  margin: 0;
  margin-top: 4px;
  font-size: 16px;
}

#contact .contact-content a:hover i {
  margin-left: 16px;
}

#contact ul li a i {
  margin-left: 8px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#contact ul li span {
  display: block;
  padding-left: 2rem;
  margin-top: 4px;
}

#contact ul li i {
  margin-right: 1rem;
  width: 16px;
  line-height: 16px;
}

#contact .contact-content {
  padding: 10px 20px;
}

footer {
  padding-top: 40px;
  padding-bottom: 80px;
  background-color: #ededed;
}

footer p,
footer a {
  margin: 0;
  font-size: 14px;
  color: #000;
  text-align: center;
}

.quick-link-l {
  z-index: 99;
  position: fixed;
  bottom: 100px;
  right: 0;
}

.quick-link-l .link-btn {
  background: gray;
  color: white;
  font-size: 16px;
  width: 100px;
  height: 100px;
  line-height: 60px;
  border-radius: 50% 0 0 50%;
  -webkit-box-shadow: 0 2px 4px rgba(128, 128, 128, 0.4);
          box-shadow: 0 2px 4px rgba(128, 128, 128, 0.4);
}

.quick-link-l .link-btn:hover {
  background-color: #ededed;
  color: gray;
}

.quick-link-l .link-btn:hover i {
  color: gray;
}

.quick-link-l .link-btn span {
  margin-left: 10px;
}

.quick-link-l .link-btn i {
  display: block;
  margin-left: 10px;
  font-size: 20px;
}

.quick-link-s {
  z-index: 99;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  -webkit-box-shadow: 0 -2px 4px rgba(128, 128, 128, 0.262);
          box-shadow: 0 -2px 4px rgba(128, 128, 128, 0.262);
}

.quick-link-s .link-btn {
  font-size: 16px;
  line-height: 30px;
  width: 100%;
  color: gray;
  text-align: center;
  background-color: unset;
  padding: 8px 0;
  float: left;
  margin: 0;
}

.quick-link-s .link-btn i {
  margin: auto;
}

@media (min-width: 768px) {
  #banner .img-content p {
    font-size: 40px;
  }
}

@media screen and (min-width: 991px) {
  .navbar h1 a:hover,
  .navbar .navbar-collapse .navbar-nav .nav-link:hover,
  footer #contact a:hover,
  #banner a:hover,
  footer a:hover {
    -webkit-filter: brightness(0.7);
            filter: brightness(0.7);
  }
  #contact .link-btn:hover,
  .link-btn:hover {
    background-color: #1d62c3;
    cursor: pointer;
  }
  #contact .link-btn:hover i,
  .link-btn:hover i {
    color: white;
  }
  #banner a.scroll:hover {
    color: white;
    font-size: 16px;
  }
  section:not(:first-child) {
    padding: 80px 0;
  }
  #banner {
    position: relative;
    padding-top: 120px;
  }
  #banner .carousel {
    position: relative;
    left: unset;
    -webkit-transform: unset;
            transform: unset;
    margin-left: 20px;
    width: 60%;
  }
  #banner .carousel img {
    border-radius: 20px;
    width: 100%;
    height: 70vh;
    -o-object-fit: cover;
    object-fit: cover;
  }
  #banner .img-content {
    padding: 0 20px;
    width: 35%;
  }
  #banner .img-content p {
    font-size: 32px;
    font-style: italic;
  }
  #swim img.logo,
  #wake img.logo {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  #swim .link-btn:hover,
  #wake .link-btn:hover {
    background-color: #95BAEF;
    color: white;
  }
  #swim .class-box,
  #wake .class-box {
    padding: 40px 80px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #swim .class-box:hover,
  #wake .class-box:hover {
    border-radius: 0;
  }
  #swim .class-box h3,
  #wake .class-box h3 {
    line-height: 3.5;
  }
  #swim .process h3,
  #wake .process h3 {
    -webkit-writing-mode: unset;
        -ms-writing-mode: unset;
            writing-mode: unset;
    letter-spacing: unset;
    width: 18%;
    text-align: center;
  }
  #swim .process ol,
  #wake .process ol {
    width: 82%;
  }
  #swim .process ol > li,
  #wake .process ol > li {
    width: 33.3333%;
    padding: 0 40px;
  }
  #swim .process ol > li:not(:last-child),
  #wake .process ol > li:not(:last-child) {
    position: relative;
    margin-right: 40px;
  }
  #swim .process ol > li:not(:last-child):after,
  #wake .process ol > li:not(:last-child):after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    right: -20px;
  }
  #swim .process ol > li h4,
  #wake .process ol > li h4 {
    font-size: 18px;
    font-weight: 400;
  }
  #swim .activity .youtube,
  #wake .activity .youtube {
    margin-top: 160px;
  }
  #swim .activity .youtube h3,
  #wake .activity .youtube h3 {
    color: #FF9D7C;
    background-color: transparent;
    -webkit-transform: unset;
            transform: unset;
    left: unset;
    -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
            writing-mode: vertical-lr;
    letter-spacing: 5px;
    text-align: center;
    font-size: 48px;
    width: 20%;
    line-height: 2.6;
    padding: 0 100px;
    margin-bottom: 0;
  }
  #swim .activity .youtube h3 small,
  #wake .activity .youtube h3 small {
    display: block;
    font-size: 18px;
  }
  #swim .activity .youtube .video-box,
  #wake .activity .youtube .video-box {
    margin-left: auto;
    width: 70%;
    padding-bottom: calc(56.26% / 10 * 7);
  }
  #swim .activity .youtube .video-box iframe,
  #wake .activity .youtube .video-box iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
  #swim .activity .multiple-items .activity-box a,
  #wake .activity .multiple-items .activity-box a {
    height: 40vh;
  }
  #swim .process ol > li:after {
    background: url(../image/right-arrow.png) no-repeat center/contain;
  }
  #wake .link-btn:hover {
    background-color: #FF9D7C;
    color: white;
  }
  #wake .process ol > li {
    width: 25%;
    padding: 0 20px;
  }
  #wake .process ol > li:after {
    background: url(../image/right-arrow2.png) no-repeat center/contain;
  }
  #contact {
    padding: 140px 0;
  }
  #contact .swim {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #contact .swim:hover {
    background-color: #DCE8FA;
  }
  #contact .wake {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #contact .wake:hover {
    background-color: #FFCEBD;
  }
}
/*# sourceMappingURL=style.css.map */