body {
  overflow-x: hidden;
  font-size: 1rem;
  font-family: 'Noto Sans TC', sans-serif;
  margin-top: 97px;
  position: relative;
  z-index: -2;
}

:focus {
  outline: 3px dashed var(--yellow);
}

::-moz-selection {
  background-color: var(--blue-9);
  color: var(--light);
}
::selection {
  background-color: var(--blue-9);
  color: var(--light);
}

::-webkit-scrollbar {
  background: transparent;
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--blue-7);
  border-radius: 20px;
  padding: 0 1px;
}

h1,
h2,
h3,
h4 {
    font-weight: bold;
}

h1 {
  font-size: 1.6rem;
  color: var(--blue-9);
  margin: 1rem 0;
}

h2 {
    font-size: 1.6rem;
    color: var(--blue-9);
    margin: 1rem 0;
}

h3 {
  font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}

p {
  line-height: 2;
}

a.guide-brick {
  display: none;
}

a.btn {
  display: inline-block;
  padding: .5rem 2.4rem;
  border-radius: 3rem;
  color: var(--light);
  background: var(--blue-9);
}

select {
  appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

.container {
  width: calc(100% - 400px);
  margin: 0 auto;
}

/* back 按鈕 */
a.back {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  transition: .2s ease;
  filter: opacity(.6);
}

a.back:hover {
  transition: .2s ease;
  filter: opacity(1);
}

/* more 查看更多 按鈕 */
a.more {
  color: var(--blue-7);
  padding: .5rem 1rem;
  border-bottom: 1px solid var(--blue-7);
  display: inline-block;
  position: relative;
  right: -90%;
  top: -2rem;
  transition: .2s linear;
}

a.more::before {
  content: '';
  position: absolute;
  background: url(../image/paper-plan.png) no-repeat;
  width: 50px;
  height: 50px;
  background-size: 20px;
  right: -3rem;
  top: -.5rem;
  transition: .2s linear;
}

a.more:hover::before {
  transition: .2s linear;
  transform: translate(1rem, -1rem);
}

figure.image img {
  width: 100%;
}

/* 前臺 h1 */
h1.front {
  color: var(--dark);
  font-weight: normal;
  letter-spacing: .6rem;
  display: inline-block;
  padding: .5rem 2.5rem;
  margin-bottom: 2rem;
  border-radius: 3rem;
  border: 1px solid var(--blue-5);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

h1.front::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background: url(../image/paper-plan.png) no-repeat;
  background-size: 40px;
  top: -1rem;
  right: -4rem;
}

h2.front {
    color: var(--dark);
    font-weight: normal;
    letter-spacing: .6rem;
    display: inline-block;
    padding: .5rem 2.5rem;
    margin-bottom: 2rem;
    border-radius: 3rem;
    border: 1px solid var(--blue-5);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

    h2.front::before {
        content: '';
        position: absolute;
        width: 50px;
        height: 50px;
        background: url(../image/paper-plan.png) no-repeat;
        background-size: 40px;
        top: -1rem;
        right: -4rem;
    }

h3.front {
    color: var(--blue-8);
    font-weight: normal;
    margin-bottom: 1rem;
}

/* style rwd ------------------------------------ */
@media screen and (max-width: 768px) {
  body {
    margin-top: 90px;
  }
  .container {
    width: calc(100% - 100px);
  }
  a.more {
    right: -80%;
  }
}
@media screen and (max-width: 375px) {

  .container {
    width: calc(100% - 20px);
  }
  a.more {
    right: -55%;
  }
  h1 {
    font-size: 1.2rem;
  }
h2 {
    font-size: 1.2rem;
}
}

/* menu */

#menu {
  width: 100%;
  padding: 1.5rem 3rem;
  background: var(--blue-5);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  position: fixed;
  top: 0;
  z-index: 111;
  transition: .2s ease;
}

#menu.scroll {
  padding: .5rem 3rem;
  filter: drop-shadow(0px 3px 8px #39375841);
  transition: .2s;
  background: #acdcffaa;
}

#menu .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#menu ul {
  display: flex;
  gap: 1.4rem;
}

#menu ul a {
  color: var(--dark);
  transition: .2s ease-in-out;
  position: relative;
}

#menu ul a.page::before {
  content: '';
  position: absolute;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--light);
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
}

#menu ul a:hover {
  transition: .2s ease;
  transform: scale(1.1);
}

#menu h1 {
  margin: 0;
}

#menu h2 {
    margin: 0;
}

a.menu-dot {
  display: none;
}
/* menu rwd ------------------------------- */
@media screen and (max-width:768px) {
  #menu {
    padding: 1rem 3rem;
  }
  #menu h1 {
    font-size: 1.2rem;
  }
    #menu h2 {
        font-size: 1.2rem;
    }
}
@media screen and (max-width: 768px) {
  a.menu-dot {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
  }
  a.menu-dot img {
    width: 6px;
  }
  #menu {
    padding: 0rem;
    height: 57px;
    width: 100vw;
    border-radius: 0;
  }
  #menu .row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
  }
  /* #menu .col:first-child {
    margin-left: 1rem;
    display: none;
    transition: .2s ease;
  } */
  #menu .col:first-child.open {
    display: inline-block;
    transition: .2s ease;
    background: var(--light);
    width: 100vw;
    margin-left: 0;
    padding: 1rem;
    filter: drop-shadow(12px 8px 4px #00000032);
  }
  #menu .col:last-child {
    padding: 1rem;
  }
  #menu h1 {
    font-size: 1rem;
  }
    #menu h2 {
        font-size: 1rem;
    }
  #menu ul {
    flex-direction: column;
  }
  #menu.scroll {
    padding: 0;
  }
  #menu.scroll .col:first-child.open {
    transform: translateY(-16px);
  }
}

/* 【前臺】menu */
#f-menu {
  position: fixed;
  z-index: 111;
  width: 100%;
  height: 50px;
  top: 0;
}

#f-menu.scroll {
  height: 30px;
  filter: drop-shadow(0px 2px 3px #00000034);
}

#f-menu.scroll .row {
  padding: 0 3rem;
  background: #ffffffd1;
}

#f-menu.scroll .row::before {
  opacity: 0;
  transition: .2s ease;
}

#f-menu .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .3rem 3rem;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  background: var(--light);
  position: relative;
  width: 95vw;
  margin: 0 auto;
}

#f-menu .row::before {
  content: '';
  position: absolute;
  background: var(--blue-5);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  top: 0;
  left: -2.5vw ;
  width: 100vw;
  height: 100px;
  z-index: -1;
  transition: .2s ease;
}

#f-menu .f-ul {
  display: flex;
  gap: 2rem;
}

#f-menu a {
  color: var(--dark);
  transition: .2s linear;
  position: relative;
}

#f-menu a:hover {
  transition: .2s linear;
  transform: scale(1.1);
}

a.menu-toggle {
  display: none;
}

#menu a,
#menu.grey a {

}

#f-menu a.page::before,
#menu a.page::before {
  content: '';
  position: absolute;
  width: .5rem;
  height: .5rem;
  background: var(--blue-6);
  border-radius: 50%;
  bottom: -.5rem;
  left: 50%;
  transform: translateX(-50%);
}

#menu a.page::before,
#menu.grey a.page::before {
  width: 0.3rem;
  height: 0.3rem;
  bottom: -0.5rem;
}



/* f-menu rwd ----------------------------------*/
@media screen and (max-width: 768px) {
  a.menu-toggle {
    display: block;
    position: fixed;
    left: 47%;
    top: 9px;
    width: 60px;
    height: 60px;
    z-index: 122;
    transform: rotate(-90deg) translateX(-50%);
    background: linear-gradient(to left, transparent 40%, var(--light) 40%, var(--light) 100%);
    border-radius: 50%;
  }
  a.menu-toggle img {
    width: 15px;
    transform: translate(10px, 18px);
  }
  #f-menu .row,
  #f-menu .f-ul {
    flex-direction: column;
    align-items: center;
  }
  #f-menu.scroll .row {
    background: var(--light);
  }
  #f-menu .col:first-child {
    order: 2;
    display: none;
    transition: .2s ease-in;
  }
  #f-menu .row.open {
    padding-bottom: 2rem;
  }
  #f-menu .col:first-child.open {
    transition: .2s ease-in;
    display: block;
  }
  #f-menu .col:last-child {
    order: 1;
  }
  a.menu-toggle.open {
    top: 400px;
    transform: rotate(90deg) translateX(-50%);
    background: linear-gradient(to right, transparent 40%, var(--light) 40%, var(--light) 100%);
  }
  a.menu-toggle.open img {
    transform: translate(27px, 18px);
  }
}

@media screen and (max-width: 500px) {
  #f-menu h1 {
    font-size: 1.1rem;
  }
    #f-menu h2 {
        font-size: 1.1rem;
    }
  #f-menu .row {
    padding: .3rem;
    margin: 0;
    width: 100%;
  }
  #f-menu .row::before {
    width: 105%;
  }

  #f-menu.scroll .row {
    padding: 0 ;
  }
  #f-menu.scroll .row.open {
    padding-bottom: 2rem;
  }
  #f-menu .row::before {
    height: 80px;
  }
  a.menu-toggle {
    left: 43%;
    top: -7px;
  }
  a.menu-toggle.open {
    top: 353px;
  }
}


/* footer */
.logo {
  width: 2.5rem;
}

footer {
  background: var(--blue-9);
}

footer h1 {
  color: var(--light);
}
footer h2 {
    color: var(--light);
}

footer .row {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

@media screen and (max-width: 375px) {
  footer h1 {
    font-size: 1rem;
  }
footer h2 {
    font-size: 1rem;
}
  footer .row {
    flex-direction: column;
    gap: 0;
  }
  footer .container {
    width: calc(100% - 85px);
  }
}