@charset "UTF-8";
/* animate.css 動畫 ------------------------------------- */
@import url("https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* 清除浮動 */
.clearfix {
  *zoom: 1; /*For IE 6&7 only*/
}
.clearfix::before, .clearfix::after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

/* 清除圖片底部的空白 */
img,
svg,
iframe {
  vertical-align: middle;
  border: none;
  outline: none;
}

figure {
  margin: 0;
}

/* 自定義的通用樣式 */
.root {
  position: relative;
  margin: 0 auto;
  color: #525357;
  background-color: white;
  background-repeat: repeat;
}

.debug {
  border: 1px solid red;
}

.full {
  width: 100%;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

/*
-----------------------------------------------------------------
* font-family ：設定全站使用的字體家族。                            *
* font-size   ：設定基礎字體大小，常用於計算 rem 或 em 單位。         *
* line-height ：設定基礎行高，影響文字的閱讀舒適度。                  *
* font-weight ：設定全站預設的字體粗細。                            *
* color       ：設定文字的基礎顏色。                               *
-----------------------------------------------------------------
*/
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", arial, sans-serif;
}

:focus {
  outline: 0;
}

html, body {
  padding: 0;
  height: 100%;
  color: #0f1419;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", arial, sans-serif;
  font-size: 16px;
  word-wrap: break-word;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

/*
-----------------------------------------------------------------
* h1~h6 的標題                                                   *
-----------------------------------------------------------------
*/
h1 {
  font-size: 40px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 20px;
}

/*
-----------------------------------------------------------------
* 取消預設的斜體字                                                 *
-----------------------------------------------------------------
*/
i,
em,
cite,
dfn,
var,
address {
  font-style: normal;
}

/*
-----------------------------------------------------------------
* 等寬字設定                                                      *
-----------------------------------------------------------------
*/
code,
pre,
samp,
kbd,
var {
  font-family: "Source Code Pro", monospace;
}

/*
-----------------------------------------------------------------
* A 連結                                                         *
-----------------------------------------------------------------
*/
a {
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
a:link {
  color: #004a99;
}
a:visited {
  color: #004a99;
}
a:hover {
  color: #2563eb;
}

sup {
  font-size: 1.2em;
  top: -0.33em;
  right: 0.09em;
}

/* 漢堡與關閉按鈕（桌面預設隱藏）------------------------------ */
.menu-icon,
.close-icon {
  display: none;
  position: absolute;
  right: 0.75em;
  top: 3vw;
  padding: 0.4em 0.55em;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
  color: #2563eb;
  background-color: white;
  border-radius: 50%;
  z-index: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

/* 主選單（桌面橫排） */
ul.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
ul.menu > li {
  position: relative;
}
ul.menu > li > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 1.5em;
  text-decoration: none;
  color: white;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
ul.menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* 子選單：桌面 hover 展開 */
ul.sub-menu {
  overflow: hidden;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 210px;
  opacity: 0;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
}
ul.sub-menu li a {
  display: block;
  padding: 0.6em 1.5em;
  color: #666;
  text-decoration: none;
  -webkit-transition: padding-left 0.3s ease-in-out, color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  transition: padding-left 0.3s ease-in-out, color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
ul.sub-menu li a:hover {
  padding-left: 2em;
  color: #2563eb;
  background-color: #f9f9f9;
}

/* 
 * ......................................................... *
 * 手機版 
 * 手機版的尺寸變動時，選單的 menu-2.js 也要跟著改。
 * const mq = window.matchMedia("(max-width: 900px)");
 * ......................................................... *
 */
@media (max-width: 1030px) {
  ul.menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: #02123b;
    padding-top: 60px;
    overflow-y: auto;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    will-change: transform;
  }
  ul.menu.open {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  ul.menu > li {
    border-bottom: 1px solid #444;
  }
  ul.menu > li > a {
    height: unset;
  }
  body.menu-no-anim .menu {
    -webkit-transition: none;
    transition: none;
  }
  .menu-icon {
    display: block;
  }
  .close-icon {
    display: block;
  }
  ul.sub-menu {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    background-color: unset;
    border-radius: unset;
    border: unset;
    -webkit-box-shadow: unset;
            box-shadow: unset;
    -webkit-transform: none;
            transform: none;
    -webkit-transition: unset;
    transition: unset;
  }
}
header ul.menu {
  gap: 1.5em;
}
header.active ul.menu {
  gap: 1em;
}
@media (min-width: 0) {
  header.active ul.menu > li > a {
    padding: 10px;
    height: 100%;
  }
}
@media (min-width: 1031px) {
  header.active ul.menu > li > a {
    padding: 0.5em 1em;
    color: #1349a6;
    height: initial;
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(3em);
    border-radius: 1em;
  }
}
@media (min-width: 1030px) {
  header.active {
    height: 80px;
  }
}

/* fixed-btn 設定 ---------------------------------------- */
.fixed-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1em;
  position: fixed;
  bottom: 2em;
  right: 1em;
  opacity: 1;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  z-index: 10;
}
.fixed-btn.active {
  opacity: 0;
}
.fixed-btn.active li.fixed-item {
  -webkit-transform: scale(0);
          transform: scale(0);
}

li.fixed-item {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 50%;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
li.fixed-item:nth-child(1) {
  width: 120px;
  height: 120px;
  background-color: #e0a3ff;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
li.fixed-item:nth-child(2) {
  width: 70px;
  height: 70px;
  background-color: #e0a3ff;
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}
li.fixed-item a img {
  width: 100%;
}

/* KV 區塊的三組 Banner ----------------------------------- */
.kv__banners-list {
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1em;
  width: 100%;
}
@media (min-width: 0) {
  .kv__banners-list {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 600px) {
  .kv__banners-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 800px) {
  .kv__banners-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kv__banner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5em;
  color: white;
  text-decoration: none;
  line-height: 1.5;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.kv__banner-picture {
  padding: 0.5em 0.75em;
  width: 100%;
  text-align: center;
  background-color: rgba(171, 231, 251, 0.8);
  backdrop-filter: blur(1em);
  border-radius: 1em;
}
.kv__banner-picture img {
  max-width: 279px;
  width: 100%;
}

.kv__banner-title {
  text-align: center;
  font-size: 0.875em;
}
.kv__banner-title span {
  display: block;
}

/* KV 區塊的三組 Banner 的動畫設定 -------------------------- */
.kv__banners-list .kv__banner .kv__banner-picture,
.kv__banners-list .kv__banner .kv__banner-title {
  /* 初始化的時候預設隱藏該元件 */
  opacity: 0;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.kv__banners-list.active .kv__banner .kv__banner-picture,
.kv__banners-list.active .kv__banner .kv__banner-title {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}
.kv__banners-list.active .kv__banner:nth-child(1) .kv__banner-picture {
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.kv__banners-list.active .kv__banner:nth-child(1) .kv__banner-title {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
.kv__banners-list.active .kv__banner:nth-child(2) .kv__banner-picture {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
.kv__banners-list.active .kv__banner:nth-child(2) .kv__banner-title {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}
.kv__banners-list.active .kv__banner:nth-child(3) .kv__banner-picture {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
.kv__banners-list.active .kv__banner:nth-child(3) .kv__banner-title {
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}

/* 主視覺 ------------------------------------------------- */
/* 用英文力轉出未來力 --------------------------------------- */
.kv {
  color: white;
  font-size: 1.5em;
  background-color: #02123b;
  background-image: url(../images/kv/kv-bg.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
}

.kv__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
  margin: 0 auto;
  padding: 1em 1em 2em 1em;
  max-width: 1200px;
}

/* 主視覺 ------------------------------------------------- */
.kv__picture {
  max-width: 771px;
}
.kv__picture img {
  width: 100%;
}
@media (min-width: 0) {
  .kv__picture {
    padding-top: 3em;
  }
}
@media (min-width: 600px) {
  .kv__picture {
    padding: 0;
  }
}

/* 網站標題 ----------------------------------------------- */
@media (min-width: 0) {
  .site-logo {
    max-width: 573px;
  }
  .site-logo img.desktop {
    display: none;
  }
  .site-logo img.mobile {
    display: block;
  }
}
@media (min-width: 600px) {
  .site-logo {
    max-width: 1079px;
  }
  .site-logo img.desktop {
    display: block;
  }
  .site-logo img.mobile {
    display: none;
  }
}
.site-logo img {
  width: 100%;
}

/* KV 區塊的文案 ------------------------------------------- */
.kv__content {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  line-height: 1.75;
  opacity: 0;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.kv__content.active {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

/* 兒童美語的分類 ------------------------------------------ */
ul.kv2__childs {
  display: grid;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 2.5em 1em;
  margin: 0;
  padding: 1em 0 0 0;
  list-style: none;
  max-width: 1200px;
  width: 100%;
  z-index: 2;
}
@media (min-width: 0) {
  ul.kv2__childs {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    -webkit-box-pack: initial;
        -ms-flex-pack: initial;
            justify-content: initial;
  }
}
@media (min-width: 700px) {
  ul.kv2__childs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  ul.kv2__childs {
    grid-template-columns: repeat(2, minmax(0, 450px));
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
ul.kv2__childs li.kv2__child-item:nth-child(1) {
  -webkit-transition-delay: 0;
          transition-delay: 0;
}
ul.kv2__childs li.kv2__child-item:nth-child(2) {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
ul.kv2__childs li.kv2__child-item:nth-child(3) {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
ul.kv2__childs li.kv2__child-item:nth-child(4) {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}

li.kv2__child-item {
  opacity: 0;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
li.kv2__child-item.active {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.kv2__child-content {
  padding: 0 1em 1em 1em;
  background-color: #ffccb7;
  border-radius: 1.25em 1.25em 0 0;
}

.kv2__child-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0.25em 0.5em 0.35em;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 900;
  background-color: rgba(29, 143, 99, 0.8);
  border-radius: 5px;
  -webkit-transform: translateY(-0.75em) rotate(-7deg);
          transform: translateY(-0.75em) rotate(-7deg);
}
.kv2__child-title::before {
  content: "";
  position: absolute;
  top: -26px;
  width: 102px;
  height: 26px;
  background-image: url(../images/kv2/flag-1.png);
  background-repeat: no-repeat;
}

.kv2__child-description {
  padding: 0;
  color: #1349a6;
}

.kv2__child-words {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
  padding: 0.5em 0 0 0;
  color: #1349a6;
  font-size: 0.85em;
}
.kv2__child-words em {
  padding: 0.15em 0.25em 0.25em;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  color: #cf6132;
  background-color: white;
  border-radius: 5px;
}

.kv2__child-type {
  padding: 0.5rem 1rem;
  font-size: 0.85em;
  background-color: #ef7d4d;
  border-radius: 0 0 1.25em 1.25em;
}

/* 國高中及英檢 -------------------------------------------- */
ul.kv2__students {
  display: grid;
  gap: 2em 0.5em;
  margin: 0;
  padding: 1em;
  list-style: none;
  max-width: 1500px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(0.75em);
  border-radius: 1.5em;
  border: 1px solid white;
  -webkit-box-shadow: 0 20px 10px -15px rgba(0, 0, 0, 0.05);
          box-shadow: 0 20px 10px -15px rgba(0, 0, 0, 0.05);
  z-index: 2;
}
@media (min-width: 0) {
  ul.kv2__students {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    -webkit-box-pack: initial;
        -ms-flex-pack: initial;
            justify-content: initial;
  }
}
@media (min-width: 700px) {
  ul.kv2__students {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  ul.kv2__students {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

li.kv2__student-item {
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
li.kv2__student-item:nth-child(1) {
  -webkit-transform: translateX(-100px);
          transform: translateX(-100px);
}
li.kv2__student-item:nth-child(2) {
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
}
li.kv2__student-item:nth-child(3) {
  -webkit-transform: translateX(100px);
          transform: translateX(100px);
}
li.kv2__student-item.active {
  opacity: 1;
}
li.kv2__student-item.active:nth-child(1) {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
li.kv2__student-item.active:nth-child(2) {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
li.kv2__student-item.active:nth-child(3) {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}

.kv2__student-content {
  padding: 0 1em 1em 1em;
  background-color: #ffb7f9;
  border-radius: 1.25em 1.25em 0 0;
}

.kv2__student-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0.25em 0.5em 0.35em;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 900;
  background-color: rgba(61, 29, 143, 0.8);
  border-radius: 5px;
  -webkit-transform: translateY(-0.75em) rotate(-7deg);
          transform: translateY(-0.75em) rotate(-7deg);
}
.kv2__student-title::before {
  content: "";
  position: absolute;
  top: -26px;
  width: 102px;
  height: 26px;
  background-image: url(../images/kv2/flag-2.png);
  background-repeat: no-repeat;
}

.kv2__student-description {
  padding: 0;
  color: #4e13a6;
}

.kv2__student-words {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
  padding: 0.5em 0 0 0;
  color: #4e13a6;
  font-size: 0.85em;
}
.kv2__student-words em {
  padding: 0.15em 0.25em 0.25em;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  color: #cf6132;
  background-color: white;
  border-radius: 5px;
}

.kv2__student-type {
  padding: 0.5rem 1rem;
  font-size: 0.85em;
  background-color: #ef4dda;
  border-radius: 0 0 1.25em 1.25em;
}

/* 四個Banners -------------------------------------------- */
ul.kv2-banners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5em;
  margin: 0;
  padding: 1em;
  list-style: none;
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(1.25em);
  border-radius: 1em;
  border: 1px solid white;
  -webkit-box-shadow: 0 20px 10px -15px rgba(0, 0, 0, 0.05);
          box-shadow: 0 20px 10px -15px rgba(0, 0, 0, 0.05);
  z-index: 2;
}
@media (min-width: 0) {
  ul.kv2-banners {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
@media (min-width: 700px) {
  ul.kv2-banners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  ul.kv2-banners {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

li.kv2-banner_item {
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
li.kv2-banner_item:nth-child(1) {
  -webkit-transform: translateX(-100px);
          transform: translateX(-100px);
}
li.kv2-banner_item:nth-child(2) {
  -webkit-transform: translateX(-50px);
          transform: translateX(-50px);
}
li.kv2-banner_item:nth-child(3) {
  -webkit-transform: translateX(50px);
          transform: translateX(50px);
}
li.kv2-banner_item:nth-child(4) {
  -webkit-transform: translateX(100px);
          transform: translateX(100px);
}
li.kv2-banner_item.active {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
li.kv2-banner_item.active:nth-child(1) {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
li.kv2-banner_item.active:nth-child(2) {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
li.kv2-banner_item.active:nth-child(3) {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
li.kv2-banner_item.active:nth-child(4) {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
li.kv2-banner_item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.25em;
  padding: 0.5em;
  color: #797a80;
  font-size: 1.25rem;
  text-decoration: none;
  background-color: rgb(255, 255, 255);
  border-radius: 1em;
  border: 1px solid white;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
li.kv2-banner_item a:hover {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

.kv2-banner_item-picture img {
  width: 100%;
  border-radius: 0.65em;
}

.kv2-banner_item-icon {
  margin-top: -1.25em;
}

/* 主視覺 ------------------------------------------------- */
/* 空中美語幼兒到高中學習藍圖 -------------------------------- */
.kv2 {
  color: white;
  font-size: 1.5em;
  background-color: #b3dcea;
  background-image: url(../images/kv2/kv2-bg.jpg);
  background-position: center top;
  background-repeat: no-repeat;
}

.kv2__container {
  overflow: hidden;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2em;
  margin: 0 auto;
  padding: 3em 1em 0;
}

/* 網站標題 ----------------------------------------------- */
@media (min-width: 0) {
  .site-logo-2 {
    max-width: 585px;
  }
  .site-logo-2 img.desktop {
    display: none;
  }
  .site-logo-2 img.mobile {
    display: block;
  }
}
@media (min-width: 600px) {
  .site-logo-2 {
    max-width: 936px;
  }
  .site-logo-2 img.desktop {
    display: block;
  }
  .site-logo-2 img.mobile {
    display: none;
  }
}
.site-logo-2 img {
  width: 100%;
}

/* KV2 區塊的文案 ------------------------------------------- */
.kv2__content {
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
  line-height: 1.75;
  opacity: 0;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.kv2__content.active {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

/* 小女孩 -------------------------------------------------- */
.girl {
  position: absolute;
  top: 28em;
  left: calc(50% - 230px);
  max-width: 446px;
  z-index: 1;
  opacity: 0;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 0) {
  .girl {
    display: none;
  }
}
@media (min-width: 1080px) {
  .girl {
    display: initial;
  }
}
.girl.active {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}
.girl img {
  width: 100%;
}

/* 男學生 -------------------------------------------------- */
.boy-student {
  position: absolute;
  max-width: 356px;
  opacity: 0;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}
@media (min-width: 700px) {
  .boy-student {
    top: 56em;
    left: 50%;
  }
}
@media (min-width: 1080px) {
  .boy-student {
    top: 32em;
    left: calc(50% + 520px);
  }
}
.boy-student.active {
  -webkit-transform: scale(1);
          transform: scale(1);
}
@media (min-width: 0) {
  .boy-student.active {
    opacity: 0;
  }
}
@media (min-width: 700px) {
  .boy-student.active {
    opacity: 1;
  }
}

/* Youtube 的容器 ---------------------------------------- */
.movie {
  background-color: #b3dcea;
  background-repeat: no-repeat;
  background-position: center bottom;
}
@media (min-width: 0) {
  .movie {
    background-image: url(../images/movie/movie-bg-m.png);
  }
}
@media (min-width: 600px) {
  .movie {
    background-image: url(../images/movie/movie-bg.png);
  }
}

@media (min-width: 0) {
  .movie__container {
    padding: 3em 1em 1em;
  }
}
@media (min-width: 600px) {
  .movie__container {
    padding: 3em 1em;
  }
}

.youtube-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.youtube {
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%;
  width: 100%;
  height: 0;
  border-radius: 2em;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* booking 表單設定 --------------------------------------- */
.booking {
  background-color: #02123b;
  background-repeat: no-repeat;
  background-position: center bottom;
}
@media (min-width: 0) {
  .booking {
    background-image: url(../images/booking/booking-bg-m.png);
  }
}
@media (min-width: 600px) {
  .booking {
    background-image: url(../images/booking/booking-bg.png);
    background-size: initial;
  }
}

.booking__container {
  margin: 0 auto;
  max-width: 1200px;
}
@media (min-width: 0) {
  .booking__container {
    padding: 0 1em 50vw 1em;
  }
}
@media (min-width: 600px) {
  .booking__container {
    padding: 0 1em 5em 1em;
  }
}

.booking__title {
  margin: 0 auto;
  padding: 3em 0 2em;
  max-width: 726px;
}
.booking__title img {
  width: 100%;
}

.booking__form {
  padding: 2em;
  height: 520px;
  background-color: #f8f08b;
  border-radius: 2em;
}
@media (min-width: 0) {
  .booking__form {
    padding: 2em 1em;
  }
}
@media (min-width: 600px) {
  .booking__form {
    padding: 2em;
  }
}

/* Header 的設定 ------------------------------------------ */
header {
  position: fixed;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 1em;
  margin: 0 auto;
  padding: 0 1em;
  width: 1900px;
  z-index: 10;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 0) {
  header {
    padding: 0;
  }
}
@media (min-width: 600px) {
  header {
    padding: 1em;
    background-color: initial;
  }
}
header .b-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}

.logo {
  visibility: hidden;
}
@media (min-width: 0) {
  .logo {
    padding: 1em 0.5em;
  }
  .logo img {
    width: 40vw;
  }
}
@media (min-width: 600px) {
  .logo {
    padding: 0;
    max-width: 200px;
  }
  .logo img {
    width: 100%;
  }
}

/* 兒童美語LOGO ----------------------------------------- */
.kids-logo {
  position: fixed;
  top: 0;
  margin: 0 auto;
  padding: 0 1em;
  z-index: 20;
}

.b-order {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

/* footer .................................. */
footer {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 2em 1em;
  color: white;
  width: 100%;
  background-color: #02123b;
  z-index: 5;
}
@media (min-width: 0) {
  footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1em;
  }
}
@media (min-width: 620px) {
  footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1em;
  }
}
@media (min-width: 1160px) {
  footer {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 4em;
  }
}
footer a {
  text-decoration: none;
}
footer h3,
footer h4 {
  margin: 0;
  padding: 0;
}
footer h3 {
  font-size: 1.5625em;
  color: #ffd24f;
}
@media (min-width: 0) {
  footer h3 span {
    display: block;
    text-align: center;
  }
}
@media (min-width: 620px) {
  footer h3 span {
    display: unset;
    text-align: unset;
  }
}
@media (min-width: 0) {
  footer h4 {
    font-size: 1.25em;
  }
}
@media (min-width: 620px) {
  footer h4 {
    font-size: 1.75em;
  }
}

/* 公司、各分區電話 .......................... */
.company-telephone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (min-width: 0) {
  .company-telephone {
    gap: 1em;
  }
}
@media (min-width: 620px) {
  .company-telephone {
    gap: 0.5em;
  }
}

.telephone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1em;
}

/* 北、中、南分區 ........................... */
.local-zone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.25em;
}
.local-zone em {
  padding: 0.15em 0.35em;
  color: #02123b;
  font-style: normal;
  background-color: #ffd24f;
  border-radius: 1em;
}
.local-zone a {
  color: white;
}
@media (min-width: 0) {
  .local-zone {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .local-zone a {
    font-size: 0.75em;
  }
}
@media (min-width: 620px) {
  .local-zone {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .local-zone a {
    font-size: 1em;
  }
}

/* 全台分校及平台........................... */
.branch-platform {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 0) {
  .branch-platform {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.5em;
  }
}
@media (min-width: 620px) {
  .branch-platform {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 1em;
  }
}

.branch,
.platform {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-left: 1em;
  border-left: 5px solid white;
}
@media (min-width: 0) {
  .branch,
  .platform {
    gap: 0;
    padding-left: 0;
    border-left-width: 0;
    text-align: center;
  }
  .branch .footer-url,
  .platform .footer-url {
    display: none;
  }
}
@media (min-width: 620px) {
  .branch,
  .platform {
    gap: 0.5em;
    padding-left: 1em;
    border-left-width: 5px;
    text-align: unset;
  }
  .branch .footer-url,
  .platform .footer-url {
    display: unset;
  }
}
.branch a,
.platform a {
  color: white;
}

* {
  font-weight: 500;
}

.root {
  position: relative;
  margin: 0 auto;
  max-width: 1920px;
  width: 100%;
}