﻿@charset "UTF-8";
@import url("reset.css");
/* 解除邊框與padding限制 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基本設定 */
html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  position: relative;
  font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: none;
  background: linear-gradient(315deg, rgb(155, 22, 19) 3%, rgb(130, 0, 0) 38%, rgb(215, 35, 60) 68%, rgb(255, 25, 25) 98%);
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
  background-attachment: fixed;
}

@keyframes gradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

h1 {
  position: absolute;
  display: block;
  width: clamp(152px, 18vw, 190px);
  height: clamp(168px, 20vw, 210px);
  top: clamp(0px, 25vw, 30px);
  left: clamp(10px, 4.8vw, 50px);
}
h1 a {
  display: block;
  width: clamp(152px, 18vw, 190px);
  height: clamp(168px, 20vw, 210px);
  background: url(../images/logo.png) no-repeat;
  background-size: 100% auto;
  text-indent: -9999px;
  margin: 0;
  transition: all 0.2s linear;
}
h1 a:hover {
  transform: scale(1.2);
}
h1 a img {
  width: 100%;
}

#BANNER_Hank {
  background: url(../images/Hank.png) no-repeat;
  background-size: clamp(350px, 50vw, 520px) auto;
  background-position: clamp(150px, 15vw, 150px) 0;
  margin: 0 auto;
  max-width: 1200px;
  min-height: clamp(630px, 70vw, 720px);
}
@media all and (min-width: 576px) and (max-width: 767px) {
  #BANNER_Hank {
    background-size: clamp(400px, 42vw, 450px) auto;
    background-position: clamp(250px, 35vw, 400px) -10px;
  }
}

.slogantext01 {
  position: absolute;
  left: clamp(0px, 50vw, 680px);
  top: clamp(0px, 2.5vw, 30px);
}
@media all and (max-width: 767px) {
  .slogantext01 {
    position: relative;
    left: 0;
    top: 15px;
  }
}
.slogantext01 img {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.slogan {
  position: absolute;
  left: clamp(10px, 18vw, 200px);
  top: clamp(450px, 47vw, 480px);
}
@media all and (min-width: 992px) and (max-width: 1199px) {
  .slogan {
    left: clamp(0px, 25vw, 30px);
    top: clamp(400px, 50vw, 520px);
  }
}
@media all and (min-width: 768px) and (max-width: 991px) {
  .slogan {
    left: clamp(0px, 15vw, 20px);
    top: clamp(400px, 45vw, 480px);
  }
}
@media all and (max-width: 767px) {
  .slogan {
    left: clamp(0px, 25vw, 30px);
    top: clamp(200px, 24vw, 250px);
  }
}
.slogan img {
  width: 100%;
  max-width: 501px;
}
@media all and (min-width: 992px) and (max-width: 1199px) {
  .slogan img {
    max-width: 450px;
  }
}
@media all and (min-width: 768px) and (max-width: 991px) {
  .slogan img {
    max-width: clamp(320px, 48vw, 500px);
  }
}

.adv_frame {
  float: right;
  display: block;
  width: 550px;
  height: 375px;
  padding-top: clamp(300px, 32vw, 350px);
  padding-right: clamp(30px, 14vw, 150px);
}
@media all and (min-width: 992px) and (max-width: 1199px) {
  .adv_frame {
    padding-right: clamp(30px, 5vw, 60px);
  }
}
@media all and (min-width: 768px) and (max-width: 991px) {
  .adv_frame {
    width: 400px;
    height: 300px;
    padding-right: clamp(15px, 2.5vw, 30px);
    padding-top: clamp(280px, 37vw, 380px);
  }
}
@media all and (max-width: 767px) {
  .adv_frame {
    float: none;
    margin: 0px auto 0;
    width: 90%;
    height: auto;
    padding: clamp(450px, 45vw, 500px) 10px 0px;
  }
}
@media all and (max-width: 420px) {
  .adv_frame {
    width: 100%;
    height: auto;
    padding-top: clamp(420px, 44vw, 450px);
  }
}

/* Video container */
.video-container {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0px;
  left: 0px;
}

/* 選單 */
#MAIN_NAV {
  display: block;
  width: calc(100% - 20px);
  margin: 40px 10px 0px;
  text-align: center;
}
@media all and (max-width: 767px) {
  #MAIN_NAV {
    margin-top: 100px;
  }
}

.menu a {
  position: relative;
  display: inline-block;
  background-color: #eee;
  width: calc(16.6666666667% - 24px);
  height: 38px;
  line-height: 38px;
  color: #cb223b;
  font-size: 20px;
  text-align: center;
  border-radius: 10px;
  margin: 5px 10px;
  font-weight: bold;
  letter-spacing: 2px;
  font-style: italic;
  transition: transform 0.3s ease;
  vertical-align: middle;
}
@media all and (max-width: 767px) {
  .menu a {
    width: calc(33.333% - 24px);
    margin: 5px 10px;
  }
}
@media all and (max-width: 575px) {
  .menu a {
    width: calc(50% - 24px);
    margin: 5px 10px;
  }
}
.menu a:first-child {
  margin-left: 0px;
}
@media all and (max-width: 767px) {
  .menu a:first-child {
    margin-left: 10px;
  }
}
@media all and (max-width: 575px) {
  .menu a:first-child {
    margin-left: 10px;
  }
}
.menu a:last-child {
  margin-right: 0px;
}
@media all and (max-width: 767px) {
  .menu a:last-child {
    margin-right: 10px;
  }
}
@media all and (max-width: 575px) {
  .menu a:last-child {
    margin-right: 10px;
  }
}
.menu a:hover {
  box-shadow: 0px 0px 5px rgba(51, 51, 51, 0.2);
  transform: scale(1.1);
  background-color: #cb223b;
  color: #fff;
}

.mainshinebtn {
  position: relative;
  font-size: 24px !important;
  font-weight: bold !important;
  background-color: #fed48b !important;
  height: 60px !important;
  line-height: 60px !important;
}
.mainshinebtn::before {
  position: absolute;
  content: "";
  background: url(../images/slogabn_02s1.png) no-repeat;
  background-size: cover;
  width: 140px;
  height: 80px;
  top: -80px;
}
@media all and (min-width: 992px) and (max-width: 1199px) {
  .mainshinebtn::before {
    width: 120px;
    height: 60px;
    top: -60px;
  }
}
@media all and (min-width: 768px) and (max-width: 991px) {
  .mainshinebtn::before {
    width: 100px;
    height: 60px;
    top: -60px;
  }
}
@media all and (max-width: 420px) {
  .mainshinebtn::before {
    width: 120px;
    height: 60px;
    top: -60px;
  }
}
.mainshinebtn:hover {
  background-color: #cb223b !important;
}

.shinebtn {
  animation: shineanime 1s infinite alternate;
}
.shinebtn:hover {
  color: #cb223b !important;
}

@keyframes shineanime {
  from {
    background-color: #eee;
  }
  to {
    background-color: #fed48b;
  }
}
.socialsite {
  width: 100%;
  text-align: left;
  height: 50px;
  margin: 10px 0px;
}
@media all and (max-width: 767px) {
  .socialsite {
    padding-right: 10px;
  }
}
.socialsite a {
  margin: 0px 5px;
}
.socialsite a img:hover {
  filter: alpha(opacity=50);
  /* IE */
  -moz-opacity: 0.5;
  /* Moz + FF */
  opacity: 0.5;
}

/* 頁尾 */
.wave {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1000% 1000% 0 0;
  position: fixed;
  width: 200%;
  height: 12em;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 18s linear reverse infinite;
  opacity: 0.8;
}
.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: wave 20s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes wave {
  2% {
    transform: translateX(1);
  }
  25% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(-50%);
  }
  75% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(1);
  }
}
.footer {
  position: relative;
  max-width: 905px;
  margin: 15px auto 0px;
  color: #ffffff;
  border-radius: 10px;
  font-size: 15px;
  line-height: 25px;
  padding: 40px 15px 30px 15px;
}
@media all and (max-width: 575px) {
  .footer {
    padding: 15px 10px 0px 10px;
    line-height: 25px;
  }
}
.footer .logoicon_1 {
  position: relative;
  padding-left: 40px;
}
.footer .logoicon_1:before {
  position: absolute;
  left: 0px;
  bottom: -5px;
  width: 33px;
  height: 57px;
  content: url(../images/logo_1.png);
}
.footer .logoicon_2 {
  position: relative;
  padding-left: 55px;
}
.footer .logoicon_2:before {
  position: absolute;
  left: 0px;
  bottom: -5px;
  width: 50px;
  height: 43px;
  content: url(../images/logo_2.png);
}

.footerimgr {
  text-align: right;
  max-width: 905px;
  margin: 10px auto 0px;
}

/* 清除float */
.clearfix {
  clear: both;
  height: 0;
  font-size: 1px;
  line-height: 0;
}/*# sourceMappingURL=style.css.map */