@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

input, button {
  font-family: "微軟正黑體", Arial;
}

::-webkit-input-placeholder {
  color: #fff;
}

input::-moz-placeholder {
  color: #fff;
}

input::-moz-placeholder {
  color: #fff;
}

:-ms-input-placeholder {
  color: #fff;
}

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

.message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.message .close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.message.active {
  z-index: 999;
  opacity: 1;
  visibility: visible;
}

.message span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  max-width: 300px;
  text-align: center;
  padding: 20px 30px;
  border-radius: 60px;
  color: #3a280e;
  background: rgba(255, 255, 255, 0.8);
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 50;
}

nav ul li {
  color: #1c36fb;
}

@media screen and (min-width: 768px) {
  html,
  body {
    font-family: "微軟正黑體", Arial;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background: url(../img/web_tgservice_bg.jpg) center no-repeat;
    background-size: cover;
    overflow: hidden;
  }
  .swith {
    display: none;
  }
  nav {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    line-height: 40px;
    text-align: right;
    z-index: 999;
    display: none;
  }
  nav.active {
    display: block;
  }
  nav ul {
    display: block;
  }
  nav ul li {
    position: relative;
    /* width: 140px; */
    margin: 0 5px;
    font-weight: bold;
    display: inline-block;
  }
  nav ul li a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    padding: 0 30px;
    text-align: center;
    display: block;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  nav ul li ul {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    -webkit-transform-origin: 0 0;
            transform-origin: 0 0;
    -webkit-transform: translateX(-50%) scaleY(0);
            transform: translateX(-50%) scaleY(0);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  nav ul li ul li {
    width: 100%;
    margin: 3px 0 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    border-top: 3px solid rgba(52, 31, 12, 0);
  }
  nav ul li ul li a {
    color: #3a280e;
    padding: 0 0 3px;
  }
  nav ul li ul li:last-child {
    border-radius: 0 0 10px 10px;
  }
  nav ul li:hover a {
    color: #3a280e;
  }
  nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(-50%) scaleY(1);
            transform: translateX(-50%) scaleY(1);
  }
  nav ul li:hover ul li a {
    color: #3a280e;
  }
  nav ul li:hover ul li:hover {
    border-top: 3px solid #341f0c;
  }
  .title {
    position: relative;
    width: 100%;
    height: 45%;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
  }
  .title span {
    position: absolute;
    left: 50%;
    bottom: 0;
    font-size: 7vw;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .mask {
    position: relative;
    width: 100%;
    height: 55%;
    background: rgba(33, 23, 8, 0.7);
    display: block;
  }
  .mask .login {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 80%;
    max-width: 300px;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    z-index: 10;
  }
  .mask .login input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
  }
  .mask .login .account {
    line-height: 30px;
    padding: 5px 10px 5px 50px;
    background: url(../img/web_tgservice_user_ic.png) 15px center no-repeat;
    background-size: auto 25px;
    border-bottom: 1px solid #fff;
  }
  .mask .login .password {
    position: relative;
    margin-top: 10px;
    line-height: 30px;
    padding: 5px 40px 5px 50px;
    background: url(../img/web_tgservice_password_ic.png) 15px center no-repeat;
    background-size: auto 25px;
    border-bottom: 1px solid #fff;
  }
  .mask .login .password button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    border: none;
    background: url(../img/web_tgservice_question_btn.png) center no-repeat;
    background-size: cover;
    outline: none;
  }
  .mask .login .login_btn {
    width: 100%;
    border: none;
    background: #fff;
    color: #3a280e;
    font-size: 15px;
    font-weight: bold;
    line-height: 40px;
    border-radius: 30px;
    margin-top: 40px;
    outline: none;
  }
  .mask .relogin {
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    max-width: 300px;
    text-align: center;
    opacity: 0;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
    z-index: -1;
    visibility: hidden;
  }
  .mask .relogin.active {
    top: 10px;
    opacity: 1;
    z-index: 10;
    visibility: visible;
  }
  .mask .relogin span {
    color: #fff;
    font-weight: bold;
    margin: 30px auto;
    display: block;
  }
  .mask .relogin .relogin_btn {
    width: 100%;
    border: none;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 40px;
    border-radius: 30px;
    margin-top: 40px;
    outline: none;
  }
}

@media screen and (max-width: 767px) {
  html,
  body {
    font-family: "微軟正黑體", Arial;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background: url(../img/mob_tgservice_bg.jpg) center no-repeat;
    background-size: cover;
    overflow: hidden;
  }
  .swith {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: url(../img/mob_tgservice_menu_btn.png) center no-repeat;
    background-size: cover;
    border: none;
    outline: none;
    display: block;
    z-index: 999;
  }
  nav {
    position: absolute;
    bottom: -100%;
    left: 3%;
    width: 94%;
    background: rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: 15px 15px 0 0;
    padding: 0 15px;
    z-index: 999;
    visibility: hidden;
    -webkit-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
  }
  nav.active {
    bottom: 0;
    visibility: visible;
  }
  nav ul {
    display: block;
    overflow: auto;
  }
  nav ul li {
    font-weight: bold;
    display: block;
  }
  nav ul li:last-child a {
    border-bottom: none;
  }
  nav ul li a {
    position: relative;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    line-height: 40px;
    padding: 0 10px;
    border-bottom: 1px solid #3a280e;
    display: block;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  nav ul li a::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 10px;
    width: 17px;
    height: 10px;
    background: url(../img/mob_tgservice_open_btn.png) center no-repeat;
    background-size: cover;
  }
  nav ul li ul {
    width: 100%;
    visibility: hidden;
    height: 0;
    -webkit-transform-origin: center 0;
            transform-origin: center 0;
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    overflow: auto;
  }
  nav ul li ul li {
    width: 100%;
    margin: 3px 0 0;
    padding: 0;
    display: block;
  }
  nav ul li ul li a {
    color: #3a280e;
    border: none;
  }
  nav ul li ul li a::after {
    content: none;
  }
  nav ul li ul li:last-child {
    border-radius: 0 0 10px 10px;
  }
  nav ul li.active > a {
    color: #3a280e;
    border-bottom: 1px solid #3a280e;
  }
  nav ul li.active > a::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 10px;
    width: 17px;
    height: 10px;
    background: url(../img/mob_tgservice_close_btn.png) center no-repeat;
    background-size: cover;
  }
  nav ul li.active ul {
    height: 84px;
    -webkit-transform-origin: center 0;
            transform-origin: center 0;
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    visibility: visible;
  }
  nav ul li.active ul li a {
    background: none;
  }
  nav ul li.active ul li a::after {
    content: none;
  }
  nav ul li.active ul li:last-child a {
    border-bottom: 1px solid #3a280e;
  }
  nav ul li:last-child.active ul li:last-child a {
    border-bottom: none;
  }
  .title {
    position: relative;
    width: 100%;
    height: 38%;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
  }
  .title span {
    position: absolute;
    left: 50%;
    bottom: 0;
    font-size: 13vw;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .mask {
    position: relative;
    width: 100%;
    height: 62%;
    background: rgba(33, 23, 8, 0.7);
    display: block;
  }
  .mask .login {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 70%;
    max-width: 300px;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    z-index: 10;
  }
  .mask .login input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
  }
  .mask .login .account {
    line-height: 30px;
    padding: 5px 10px 5px 50px;
    background: url(../img/web_tgservice_user_ic.png) 15px center no-repeat;
    background-size: auto 25px;
    border-bottom: 1px solid #fff;
  }
  .mask .login .password {
    position: relative;
    margin-top: 10px;
    line-height: 30px;
    padding: 5px 40px 5px 50px;
    background: url(../img/web_tgservice_password_ic.png) 15px center no-repeat;
    background-size: auto 25px;
    border-bottom: 1px solid #fff;
  }
  .mask .login .password button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    border: none;
    background: url(../img/web_tgservice_question_btn.png) center no-repeat;
    background-size: cover;
    outline: none;
  }
  .mask .login .login_btn {
    width: 100%;
    border: none;
    background: #fff;
    color: #3a280e;
    font-size: 15px;
    font-weight: bold;
    line-height: 40px;
    border-radius: 30px;
    margin-top: 40px;
    outline: none;
  }
  .mask .relogin {
    position: absolute;
    top: 0px;
    left: 50%;
    width: 70%;
    max-width: 300px;
    text-align: center;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    opacity: 0;
    -webkit-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
    z-index: -1;
    display: block;
  }
  .mask .relogin.active {
    top: 10px;
    opacity: 1;
    z-index: 10;
  }
  .mask .relogin span {
    color: #fff;
    font-weight: bold;
    margin: 10px auto;
    display: block;
  }
  .mask .relogin .relogin_btn {
    width: 100%;
    border: none;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 40px;
    border-radius: 30px;
    margin-top: 40px;
    outline: none;
  }
}
/*# sourceMappingURL=style.css.map */