@charset "UTF-8";
@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: "Microsoft JhengHei", "微軟正黑體", arial, sans-serif;
}

:focus {
  outline: 0;
}

html, body {
  padding: 0;
  height: 100%;
  color: #0f1419;
  font-family: "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;
}

.content {
  overflow: hidden;
  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;
  gap: 2em;
  padding: 6em 0 0 0;
  width: 100%;
}

/* 大標題 .................................... */
.big-title {
  position: relative;
  margin: 0 auto;
  max-width: 608px;
  z-index: 3;
}
.big-title img {
  width: 100%;
}
@media (min-width: 0) {
  .big-title {
    padding: 0 1em 5em 1em;
  }
}
@media (min-width: 800px) {
  .big-title {
    padding: 0 1em 0 1em;
  }
}

/* 灑紙片 ................................... */
.paper {
  position: absolute;
  top: 0;
  margin: 0 auto;
  max-width: 730px;
  z-index: 3;
}
.paper img {
  width: 100%;
}

/* 活動文案 ................................ */
.description {
  position: relative;
  padding: 1em;
  max-width: 600px;
  font-size: 1.5em;
  color: #ffd24f;
  text-align: center;
  font-weight: bold;
  line-height: 1.35;
  background-color: #011a17;
  border: 8px solid #6cffff;
  border-radius: 1.25em;
  z-index: 3;
}
.description em {
  color: white;
}

/*  外星生物 & peter & yuma ............................ */
.object {
  position: relative;
  height: 100%;
  width: 100%;
}

.yuma {
  position: absolute;
  z-index: 1;
  -webkit-animation: fly 1s infinite;
          animation: fly 1s infinite;
}
.yuma img {
  width: 100%;
}
@media (min-width: 0) {
  .yuma {
    top: -31em;
    width: 220px;
    left: calc(50% - 90px);
  }
}
@media (min-width: 352px) {
  .yuma {
    top: -27em;
    width: 220px;
    left: calc(50% - 90px);
  }
}
@media (min-width: 424px) {
  .yuma {
    top: -24.5em;
    width: 220px;
    left: calc(50% - 90px);
  }
}
@media (min-width: 800px) {
  .yuma {
    width: 250px;
    left: calc(50% + 290px);
    top: -22em;
  }
}

.left-4,
.left-3,
.left-2,
.left-1,
.right-3,
.right-2,
.right-1 {
  position: absolute;
  bottom: 0;
}
.left-4 img,
.left-3 img,
.left-2 img,
.left-1 img,
.right-3 img,
.right-2 img,
.right-1 img {
  width: 100%;
}

.left-1 {
  -webkit-animation: fly 1.675s infinite;
          animation: fly 1.675s infinite;
  bottom: -110px;
  left: calc(50% - 835px);
}
@media (min-width: 0) {
  .left-1 {
    width: 260px;
    bottom: -70px;
    left: calc(50% - 200px);
  }
}
@media (min-width: 550px) {
  .left-1 {
    width: 415px;
    bottom: -110px;
    left: calc(50% - 390px);
  }
}
@media (min-width: 800px) {
  .left-1 {
    bottom: -110px;
    left: calc(50% - 835px);
  }
}

.left-2 {
  -webkit-animation: fly 1.35s infinite;
          animation: fly 1.35s infinite;
  bottom: -190px;
  left: calc(50% - 1220px);
}

.left-3 {
  -webkit-animation: fly 1s infinite;
          animation: fly 1s infinite;
}
.left-3::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-animation: eye2 1s infinite;
          animation: eye2 1s infinite;
}
@media (min-width: 0) {
  .left-3 {
    display: none;
  }
}
@media (min-width: 800px) {
  .left-3 {
    display: unset;
    bottom: -170px;
    left: calc(50% - 670px);
  }
}

@-webkit-keyframes eye2 {
  0% {
    background-image: none;
  }
  80% {
    background-image: none;
  }
  82% {
    background-image: url(../images/object/left-3-2.png);
  }
  100% {
    background-image: none;
  }
}

@keyframes eye2 {
  0% {
    background-image: none;
  }
  80% {
    background-image: none;
  }
  82% {
    background-image: url(../images/object/left-3-2.png);
  }
  100% {
    background-image: none;
  }
}
@media (min-width: 0) {
  .left-4 {
    width: 380px;
    bottom: -140px;
    left: calc(50% - 290px);
  }
}
@media (min-width: 550px) {
  .left-4 {
    width: 503px;
    bottom: -40px;
    left: calc(50% - 820px);
  }
}

/* Peter ......................................... */
.right-1::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-animation: eye3 1.05s infinite;
          animation: eye3 1.05s infinite;
}
@media (min-width: 0) {
  .right-1 {
    display: none;
  }
}
@media (min-width: 800px) {
  .right-1 {
    display: unset;
    max-width: 567px;
    right: calc(50% - 1150px);
    bottom: -110px;
  }
}

@-webkit-keyframes eye3 {
  0% {
    background-image: none;
  }
  80% {
    background-image: none;
  }
  82% {
    background-image: url(../images/object/right-1-2.png);
  }
  100% {
    background-image: none;
  }
}

@keyframes eye3 {
  0% {
    background-image: none;
  }
  80% {
    background-image: none;
  }
  82% {
    background-image: url(../images/object/right-1-2.png);
  }
  100% {
    background-image: none;
  }
}
/* YUMA .......................................... */
.right-2 {
  -webkit-transform-origin: left bottom;
          transform-origin: left bottom;
  -webkit-animation: fly 1s infinite;
          animation: fly 1s infinite;
}
.right-2::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-animation: eye 1s infinite;
          animation: eye 1s infinite;
}
@media (min-width: 0) {
  .right-2 {
    max-width: 300px;
    right: 50%;
    bottom: -100px;
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
}
@media (min-width: 550px) {
  .right-2 {
    max-width: 250px;
    right: calc(50% + 100px);
    bottom: -130px;
  }
}
@media (min-width: 800px) {
  .right-2 {
    max-width: 318px;
    right: calc(50% - 480px);
    bottom: -180px;
  }
}

@-webkit-keyframes fly {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-1em);
            transform: translateY(-1em);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fly {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-1em);
            transform: translateY(-1em);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes eye {
  0% {
    background-image: none;
  }
  10% {
    background-image: url(../images/object/right-2-2.png);
  }
  20% {
    background-image: none;
  }
  100% {
    background-image: none;
  }
}
@keyframes eye {
  0% {
    background-image: none;
  }
  10% {
    background-image: url(../images/object/right-2-2.png);
  }
  20% {
    background-image: none;
  }
  100% {
    background-image: none;
  }
}
/* 右側外星人 ...................................... */
.right-3 {
  -webkit-animation: fly 0.875s infinite;
          animation: fly 0.875s infinite;
}
@media (min-width: 0) {
  .right-3 {
    width: 420px;
    right: calc(50% - 380px);
    bottom: -130px;
  }
}
@media (min-width: 550px) {
  .right-3 {
    width: 550px;
    right: calc(50% - 520px);
    bottom: -140px;
  }
}
@media (min-width: 800px) {
  .right-3 {
    right: calc(50% - 880px);
    bottom: -160px;
  }
}

/* 三本書及預約試讀的按鈕 .................... */
.book-button {
  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: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  gap: 2em;
  position: relative;
  padding: 0 1em 1em 1em;
  width: 100%;
  z-index: 3;
}
@media (min-width: 0) {
  .book-button {
    padding: 0 1em 17em 1em;
  }
}
@media (min-width: 550px) {
  .book-button {
    padding: 0 1em 2em 1em;
  }
}

.book-group {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: grid;
  gap: 2em;
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
}
@media (min-width: 0) {
  .book-group {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
@media (min-width: 550px) {
  .book-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 800px) {
  .book-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.book-item {
  padding: 0.75em 0.75em 1.25em 0.75em;
  width: 100%;
  text-decoration: none;
  font-weight: bold;
  border-radius: 1.875em;
  -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;
}
@media (min-width: 820px) {
  .book-item:hover {
    -webkit-transform: scale(1.225);
            transform: scale(1.225);
  }
}
.book-item.item-1 {
  background-color: #ff8e7b;
  -webkit-box-shadow: 0 -7px 2px #901313 inset;
          box-shadow: 0 -7px 2px #901313 inset;
}
.book-item.item-1 .book-content {
  -webkit-box-shadow: 0 -7px 2px #d2605c inset, 0 3px 2px #901313;
          box-shadow: 0 -7px 2px #d2605c inset, 0 3px 2px #901313;
}
.book-item.item-1 strong {
  color: #901313;
  font-size: 1.875em;
}
.book-item.item-2 {
  background-color: #a0e365;
  -webkit-box-shadow: 0 -7px 2px #1b6022 inset;
          box-shadow: 0 -7px 2px #1b6022 inset;
}
.book-item.item-2 .book-content {
  -webkit-box-shadow: 0 -7px 2px #9eda69 inset, 0 3px 2px #1b6022;
          box-shadow: 0 -7px 2px #9eda69 inset, 0 3px 2px #1b6022;
}
.book-item.item-2 strong {
  color: #1b6022;
  font-size: 1.875em;
}
.book-item.item-3 {
  background-color: #b071ff;
  -webkit-box-shadow: 0 -7px 2px #331975 inset;
          box-shadow: 0 -7px 2px #331975 inset;
}
.book-item.item-3 .book-content {
  -webkit-box-shadow: 0 -7px 2px #bc85fd inset, 0 3px 2px #331975;
          box-shadow: 0 -7px 2px #bc85fd inset, 0 3px 2px #331975;
}
.book-item.item-3 strong {
  color: #331975;
  font-size: 1.875em;
}

.book-content {
  position: relative;
  padding: 0.75em 0.75em 1em 0.75em;
  height: 100%;
  text-align: center;
  background-color: white;
  border-radius: 1.35em;
}

.book-img {
  position: absolute;
  left: calc(50% - 75px);
  margin: -2.5em auto 0;
  max-width: 115px;
}
.book-img img {
  width: 100%;
}

.obj {
  position: absolute;
}
@media (min-width: 0) {
  .obj {
    right: 0.75em;
    margin: -3em auto 0;
  }
}
@media (min-width: 550px) {
  .obj {
    right: unset;
    left: calc(50% + 20px);
    margin: -3.5em auto 0;
  }
}

.chat {
  position: relative;
  margin: 0 auto;
  padding-top: 2em;
  max-width: 185px;
  z-index: 1;
}
.chat img {
  width: 100%;
}

/* 預約試讀 ............................... */
a.reserve {
  position: relative;
  margin: 0 auto;
  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;
  color: #011a17;
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-size: clamp(2.5em, 6vw, 4em);
  text-decoration: none;
  background-color: #ffcb32;
  border-radius: 0.45em;
  -webkit-transition: -webkit-box-shadow 0.3s ease-in-out;
  transition: -webkit-box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  -webkit-animation: shine 1s infinite;
          animation: shine 1s infinite;
}
a.reserve::before {
  content: "";
  position: absolute;
  top: calc(50% - 19px);
  left: 0.25em;
  width: 31px;
  height: 38px;
  background-image: url(../images/btn-left.png);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-animation: leftFlag 0.3s infinite;
          animation: leftFlag 0.3s infinite;
}
a.reserve::after {
  content: "";
  position: absolute;
  top: calc(50% - 19px);
  right: 0.25em;
  width: 31px;
  height: 38px;
  background-image: url(../images/btn-right.png);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-animation: rightFlag 0.3s infinite;
          animation: rightFlag 0.3s infinite;
}
@media (min-width: 0) {
  a.reserve {
    padding: 0.325em 0.85em 0.55em 0.85em;
    width: 100%;
  }
}
@media (min-width: 550px) {
  a.reserve {
    padding: 0.125em 1em 0.35em 1em;
    width: unset;
  }
}

@-webkit-keyframes leftFlag {
  0% {
    left: 0.25em;
  }
  50% {
    left: 0.35em;
  }
  100% {
    left: 0.25em;
  }
}

@keyframes leftFlag {
  0% {
    left: 0.25em;
  }
  50% {
    left: 0.35em;
  }
  100% {
    left: 0.25em;
  }
}
@-webkit-keyframes rightFlag {
  0% {
    right: 0.25em;
  }
  50% {
    right: 0.35em;
  }
  100% {
    right: 0.25em;
  }
}
@keyframes rightFlag {
  0% {
    right: 0.25em;
  }
  50% {
    right: 0.35em;
  }
  100% {
    right: 0.25em;
  }
}
@-webkit-keyframes shine {
  0% {
    -webkit-box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 10px 0.2em -8px #00e0c8;
            box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 10px 0.2em -8px #00e0c8;
  }
  50% {
    -webkit-box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 0 0.5em #00e0c8;
            box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 0 0.5em #00e0c8;
  }
  100% {
    -webkit-box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 10px 0.2em -8px #00e0c8;
            box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 10px 0.2em -8px #00e0c8;
  }
}
@keyframes shine {
  0% {
    -webkit-box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 10px 0.2em -8px #00e0c8;
            box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 10px 0.2em -8px #00e0c8;
  }
  50% {
    -webkit-box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 0 0.5em #00e0c8;
            box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 0 0.5em #00e0c8;
  }
  100% {
    -webkit-box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 10px 0.2em -8px #00e0c8;
            box-shadow: 0 -7px 2px #945c0c inset, 0 0 1em #006d62, 0 10px 0.2em -8px #00e0c8;
  }
}
/* UFO ................................................ */
.ufo-path {
  overflow: hidden;
  position: absolute;
  top: 0;
  padding-top: 1em;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.ufo {
  margin: 0 auto;
  max-width: 200px;
  -webkit-animation: ufoFly 2s infinite;
          animation: ufoFly 2s infinite;
}
.ufo img {
  width: 100%;
  -webkit-animation: ufoFlash 0.3s ease-in-out infinite;
          animation: ufoFlash 0.3s ease-in-out infinite;
}

@-webkit-keyframes ufoFly {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(15em) rotate(-10deg);
            transform: translateX(15em) rotate(-10deg);
  }
  50% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  75% {
    -webkit-transform: translateX(-15em) rotate(10deg);
            transform: translateX(-15em) rotate(10deg);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes ufoFly {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(15em) rotate(-10deg);
            transform: translateX(15em) rotate(-10deg);
  }
  50% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  75% {
    -webkit-transform: translateX(-15em) rotate(10deg);
            transform: translateX(-15em) rotate(10deg);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@-webkit-keyframes ufoFlash {
  0% {
    -webkit-filter: drop-shadow(0 0 1em #6cffff);
            filter: drop-shadow(0 0 1em #6cffff);
  }
  50% {
    -webkit-filter: drop-shadow(0 0 3em #6cffff);
            filter: drop-shadow(0 0 3em #6cffff);
  }
  100% {
    -webkit-filter: drop-shadow(0 0 1em #6cffff);
            filter: drop-shadow(0 0 1em #6cffff);
  }
}
@keyframes ufoFlash {
  0% {
    -webkit-filter: drop-shadow(0 0 1em #6cffff);
            filter: drop-shadow(0 0 1em #6cffff);
  }
  50% {
    -webkit-filter: drop-shadow(0 0 3em #6cffff);
            filter: drop-shadow(0 0 3em #6cffff);
  }
  100% {
    -webkit-filter: drop-shadow(0 0 1em #6cffff);
            filter: drop-shadow(0 0 1em #6cffff);
  }
}
/* modal-content 內的樣式 ............................. */
.modal-content {
  overflow-y: auto;
  line-height: 1.35;
  width: 100%;
  height: 98%;
  border-radius: 10px;
}
.modal-content u {
  font-weight: bold;
  text-decoration: none;
}
.modal-content.color-1 .modal-title {
  color: #970c0c;
  border-bottom-color: #ffc1bf;
}
.modal-content.color-1 figcaption {
  font-weight: bold;
  color: #970c0c;
}
.modal-content.color-1 u {
  color: #ef6f5a;
}
.modal-content.color-2 .modal-title {
  color: #1b6022;
  border-bottom-color: #bceb93;
}
.modal-content.color-2 figcaption {
  font-weight: bold;
  color: #1b6022;
}
.modal-content.color-2 u {
  color: #60a125;
}
.modal-content.color-3 .modal-title {
  color: #331975;
  border-bottom-color: #d7b8ff;
}
.modal-content.color-3 figcaption {
  font-weight: bold;
  color: #331975;
}
.modal-content.color-3 u {
  color: #883ce7;
}

.modal-title {
  padding: 0.75em 1em;
  text-align: center;
  line-height: 1.15;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.modal-title h2,
.modal-title h3 {
  margin: 0;
  padding: 0;
}
.modal-title h2 {
  font-size: 1.75em;
}
.modal-title h3 {
  font-size: 1.25em;
}

.modal-des {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1em;
  padding: 1em;
}

.modal-class-des {
  font-size: 1.375em;
  text-align: justify;
}
.modal-class-des > strong {
  display: inline-block;
  margin-right: 0.125em;
  padding: 0.125em 0.35em 0.1em 0.35em;
  background-color: #ffd24f;
  border-radius: 5px;
}
.modal-class-des em {
  font-style: none;
  color: #970c0c;
}

.modal-grid {
  display: grid;
  padding: 0;
}
.modal-grid .modal-grid-item {
  position: relative;
}
.modal-grid .modal-grid-item h5 {
  font-size: 23px;
}
.modal-grid .modal-grid-item::before {
  display: inline-block;
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  padding: 0.25em 0.5em;
  background-color: #ffd24f;
  border-radius: 10px;
  z-index: 1;
}
.modal-grid .modal-grid-item:nth-child(1)::before {
  content: "Topic One";
}
.modal-grid .modal-grid-item:nth-child(2)::before {
  content: "Topic Two";
}
.modal-grid .modal-grid-item:nth-child(3)::before {
  content: "Topic Three";
}
@media (min-width: 0) {
  .modal-grid.two {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .modal-grid.two .modal-grid-item {
    padding: 2em 0;
  }
  .modal-grid.two .modal-grid-item:nth-child(1) {
    border-top: 1px solid #bceb93;
  }
  .modal-grid.two .modal-grid-item:nth-child(2) {
    border-top: 1px solid #bceb93;
  }
  .modal-grid.two .modal-grid-item.n-1:nth-child(1) {
    border-top: 1px solid #ffc1bf;
  }
  .modal-grid.two .modal-grid-item.n-1:nth-child(2) {
    border-top: 1px solid #ffc1bf;
  }
}
@media (min-width: 600px) {
  .modal-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modal-grid.two .modal-grid-item {
    padding: 0 0.75em;
  }
  .modal-grid.two .modal-grid-item:nth-child(1) {
    border-top: none;
    border-right: 1px solid #bceb93;
  }
  .modal-grid.two .modal-grid-item:nth-child(2) {
    border-top: none;
  }
  .modal-grid.two .modal-grid-item.n-1 {
    padding: 0 0.75em;
  }
  .modal-grid.two .modal-grid-item.n-1:nth-child(1) {
    border-top: none;
    border-right: 1px solid #ffc1bf;
  }
  .modal-grid.two .modal-grid-item.n-1:nth-child(2) {
    border-top: none;
  }
}
@media (min-width: 0) {
  .modal-grid.three {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .modal-grid.three .modal-grid-item {
    padding: 2em 0;
  }
  .modal-grid.three .modal-grid-item:nth-child(1) {
    border-top: 1px solid #d7b8ff;
  }
  .modal-grid.three .modal-grid-item:nth-child(2) {
    border-top: 1px solid #d7b8ff;
  }
  .modal-grid.three .modal-grid-item:nth-child(3) {
    border-top: 1px solid #d7b8ff;
  }
}
@media (min-width: 600px) {
  .modal-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modal-grid.three .modal-grid-item {
    padding: 0 0.75em;
  }
  .modal-grid.three .modal-grid-item:nth-child(1) {
    border-top: none;
    border-right: 1px solid #d7b8ff;
  }
  .modal-grid.three .modal-grid-item:nth-child(2) {
    border-top: none;
  }
  .modal-grid.three .modal-grid-item:nth-child(3) {
    border-top: none;
  }
}
@media (min-width: 900px) {
  .modal-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .modal-grid.three .modal-grid-item:nth-child(1) {
    border-right: 1px solid #d7b8ff;
  }
  .modal-grid.three .modal-grid-item:nth-child(2) {
    border-right: 1px solid #d7b8ff;
  }
}

.grid-item-pic {
  width: 100%;
}
.grid-item-pic img {
  width: 100%;
  border-radius: 1em 1em 0 0;
}
.grid-item-pic figcaption {
  padding: 0.5em 1em;
  text-align: center;
  font-size: 1.25em;
  line-height: 1.1;
  background-color: #eee;
  border-radius: 0 0 1em 1em;
}
.grid-item-pic figcaption h5 {
  margin: 0;
  padding: 0;
}
.grid-item-pic figcaption span {
  font-size: 0.85em;
}

.modal-note {
  padding-top: 1rem;
  font-size: 1.25em;
}

/* 上下兩欄的 layout.......................... */
.layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0;
  background-color: #011a17;
  background-image: url(../images/bg-top.png);
  background-repeat: no-repeat;
  background-position: top left;
}
.layout .content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

/* header .................................. */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 5;
}

.header-container {
  margin: 0 auto;
  padding: 0 1em;
  max-width: 1200px;
  width: 100%;
}

.logo {
  display: block;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 0) {
  .logo {
    width: 70px;
  }
}
@media (min-width: 550px) {
  .logo {
    width: 100px;
  }
}
.logo img {
  width: 100%;
}

/* 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: #00130f;
  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: #00130f;
  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;
}

/* jQuery Modal ............................ */
body {
  background-color: #011a17;
}