@charset "UTF-8";
@font-face {
  font-family: "Myriad Pro";
  font-weight: 100;
  src: url(../font/myriad-pro/myriad_pro_light.otf);
}

@font-face {
  font-family: "Myriad Pro";
  src: url(../font/myriad_pro_light.woff) format("woff");
}

@font-face {
  font-family: "Myriad Pro";
  font-weight: bold;
  src: url(../font/myriad-pro/myriad_pro_bold.ttf) format("truetype");
}

/* TRANSITION */
/* TRANSFORM */
/* ANIMATION */
/* SCROLLBAR */
/* ----------Extend---------- */
/*background*/
* {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  outline: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#hd {
  /* ----------RESET---------- */
  width: 100%;
  min-width: 320px;
  position: relative;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}

#hd ul,
#hd li {
  margin: 0;
  line-height: normal;
  list-style: none;
  font-size: inherit;
}

#hd img {
  border: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#hd section p {
  margin-bottom: 0;
}

#hd input,
#hd textarea,
#hd keygen,
#hd select,
#hd a,
#hd a:active,
#hd a:hover,
#hd a:focus {
  outline: none;
}

#hd input::-moz-focus-inner,
#hd button::-moz-focus-inner,
#hd select::-moz-focus-inner {
  border: 0;
  outline: 0;
}

#hd select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

#hd input[type="search"],
#hd input[type="search"]:hover,
#hd input[type="search"]:focus,
#hd input[type="search"]:active {
  -webkit-appearance: none;
}

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

#hd button,
#hd input[type="submit"],
#hd input[type="reset"] {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font: inherit;
}

#hd table {
  border-collapse: collapse;
}

#hd {
  /* ----------TEXT----------- */
  font-size: 16px;
  color: #000000;
  font-family: "Myriad Pro", "微軟正黑體", sans-serif;
  background-color: #fff;
  /* ----------RWD----------------------- */
}

#hd h1,
#hd .h1,
#hd h2,
#hd .h2,
#hd h3,
#hd .h3,
#hd h4,
#hd .h4,
#hd h5,
#hd .h5,
#hd h6,
#hd .h6,
#hd a,
#hd p,
#hd b,
#hd small {
  font: inherit;
  color: inherit;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1.3px;
  margin: 0;
  padding: 0;
}

#hd h1,
#hd .h1 {
  font-size: 3.2rem;
}

#hd h2,
#hd .h2 {
  font-size: 3rem;
}

#hd h3,
#hd .h3 {
  font-size: 3rem;
}

#hd h4,
#hd .h4 {
  font-size: 1.2rem;
}

#hd h5,
#hd .h5 {
  font-size: 1.1rem;
}

#hd h6,
#hd .h6 {
  font-size: 1.1rem;
}

#hd p,
#hd .p {
  font-size: 1.25rem;
  letter-spacing: 0.3px;
}

#hd a {
  font-size: 1.25rem;
  display: inline-block;
  text-decoration: none;
}

#hd small,
#hd .small {
  font-size: 0.88rem;
}

#hd b,
#hd strong {
  font-weight: bolder;
}

#hd .class_title {
  margin: 10px 0;
  padding-left: 10px;
  position: relative;
  font-weight: bold;
  color: #a77752;
  line-height: 1.1;
}

#hd .class_title::before {
  content: "";
  width: 4px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  background-color: #a77752;
}

#hd .ls1 {
  letter-spacing: 1px;
}

#hd .ls2 {
  letter-spacing: 2px;
}

#hd .ls3 {
  letter-spacing: 3px;
}

#hd .ls4 {
  letter-spacing: 4px;
}

#hd .ls5 {
  letter-spacing: 5px;
}

#hd .ls6 {
  letter-spacing: 6px;
}

#hd .ls7 {
  letter-spacing: 7px;
}

#hd .ls8 {
  letter-spacing: 8px;
}

#hd .ls9 {
  letter-spacing: 9px;
}

#hd .ls10 {
  letter-spacing: 10px;
}

#hd .txt-red {
  color: #fa0000;
}

#hd .txt-gold {
  color: #d4ae81;
}

#hd .txt-white {
  color: #ffffff;
}

#hd .txt-lightgrey {
  color: #a8a8a8;
}

#hd .txt-grey {
  color: #8e8e8e;
}

#hd .txt-normal {
  color: #4d4d4d;
}

#hd .txt-darkgrey {
  color: #222222;
}

#hd .txt-black {
  color: #000000;
}

#hd .txt-silver {
  display: inline-block;
  padding-bottom: 5px;
  color: #ffffff;
  background: #ffffff;
  background: -webkit-linear-gradient(left, #ffffff 0%, #777777 30%, #ffffff 60%, #777777 90%);
  background: -o-linear-gradient(left, #ffffff 0%, #777777 30%, #ffffff 60%, #777777 90%);
  background: -webkit-gradient(linear, left top, right top, from(#ffffff), color-stop(30%, #777777), color-stop(60%, #ffffff), color-stop(90%, #777777));
  background: linear-gradient(to right, #ffffff 0%, #777777 30%, #ffffff 60%, #777777 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#hd .txt-link {
  text-decoration: underline;
}

#hd .txt-thin {
  font-weight: 100;
}

#hd .txt-light {
  font-weight: 300;
}

#hd .txt-regular {
  font-weight: 400;
}

#hd .txt-medium {
  font-weight: 500;
}

#hd .txt-bold {
  font-weight: bold;
}

#hd .txt-left {
  text-align: left;
}

#hd .txt-right {
  text-align: right;
}

#hd .txt-center {
  text-align: center;
}

#hd .txt-family-eb {
  font-family: "EB Garamond", "Noto Serif TC", "Noto Serif SC";
}

#hd .lh-l {
  line-height: 2.2;
}

@media screen and (max-width: 1440px) {
  #hd h1,
  #hd .h1 {
    font-size: 2.8rem;
  }
  #hd h2,
  #hd .h2 {
    font-size: 2rem;
  }
  #hd h3,
  #hd .h3 {
    font-size: 2rem;
  }
  #hd h4,
  #hd .h4 {
    font-size: 1rem;
  }
}

@media screen and (max-width: 1023px) {
  #hd h1,
  #hd .h1 {
    font-size: 2.5rem;
  }
  #hd h3,
  #hd .h3 {
    font-size: 1.6rem;
  }
  #hd p,
  #hd .p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  #hd h1,
  #hd .h1 {
    font-size: 2.2rem;
  }
  #hd h3,
  #hd .h3 {
    font-size: 1.4rem;
  }
  #hd p,
  #hd .p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 425px) {
  #hd h1,
  #hd .h1 {
    font-size: 1.8rem;
  }
}

#hd {
  /* ----------BLOCK---------- */
  /* ----------RWD----------------------- */
}

#hd .fleft {
  float: left;
}

#hd .fright {
  float: right;
}

#hd .cf:after {
  content: "";
  display: table;
  clear: both;
}

#hd .row {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
}

#hd .w800,
#hd .w900,
#hd .w1000,
#hd .w1200,
#hd .w1300,
#hd .w1400 {
  width: 80%;
  margin: 0 auto;
}

#hd .w800 {
  max-width: 800px;
}

#hd .w900 {
  max-width: 900px;
}

#hd .w1000 {
  max-width: 1000px;
}

#hd .w1200 {
  max-width: 1200px;
}

#hd .w1300 {
  max-width: 1300px;
}

#hd .w1400 {
  max-width: 1400px;
}

#hd .col100,
#hd .col90,
#hd .col80,
#hd .col75,
#hd .col70,
#hd .col66,
#hd .col60,
#hd .col50,
#hd .col40,
#hd .col33,
#hd .col30,
#hd .col25,
#hd .col20,
#hd .col15,
#hd .col05 {
  display: inline-block;
  vertical-align: top;
}

#hd .col100 {
  width: 100%;
}

#hd .col90 {
  width: 90%;
}

#hd .col80 {
  width: 80%;
}

#hd .col75 {
  width: 75%;
}

#hd .col70 {
  width: 70%;
}

#hd .col66 {
  width: 66.6666%;
}

#hd .col60 {
  width: 60%;
}

#hd .col50 {
  width: 50%;
}

#hd .col50:nth-child(odd) {
  margin-left: 0px;
}

#hd .col40 {
  width: 40%;
}

#hd .col30 {
  width: 30%;
}

#hd .col33 {
  width: 33.3333%;
}

#hd .col25 {
  width: 25%;
}

#hd .col20 {
  width: 20%;
}

#hd .col15 {
  width: 15%;
}

#hd .col05 {
  width: 05%;
}

#hd .ib-middle {
  display: inline-block;
  vertical-align: middle;
}

#hd .ib-top {
  display: inline-block;
  vertical-align: top;
}

#hd .main_padding {
  padding: 5% 0;
}

#hd .main_padding-b {
  padding-bottom: 5%;
}

#hd .main_padding-t {
  padding-top: 5%;
}

#hd .main_margin {
  margin: 5% 0;
}

#hd .main_margin-b {
  margin-bottom: 5%;
}

#hd .main_margin-t {
  margin-top: 5%;
}

#hd .header-top {
  position: relative;
}

#hd .header-top::before {
  content: "";
  display: block;
  height: 78px;
  position: relative;
}

@media screen and (max-width: 768px) {
  #hd .w800,
  #hd .w900,
  #hd .w1000,
  #hd .w1200,
  #hd .w1300,
  #hd .w1400 {
    width: 90%;
  }
  #hd .main_padding {
    padding: 50px 0;
  }
  #hd .main_padding-b {
    padding-bottom: 50px;
  }
  #hd .main_padding-t {
    padding-top: 50px;
  }
  #hd .main_margin {
    margin: 50px 0;
  }
  #hd .main_margin-b {
    margin-bottom: 50px;
  }
  #hd .main_margin-t {
    margin-top: 50px;
  }
}

#hd {
  /* ----------FORM----------- */
  /*radio&checkbox樣式覆蓋*/
}

#hd input[type="text"],
#hd input[type="email"],
#hd input[type="password"],
#hd textarea,
#hd select {
  width: 100%;
  margin: 7px 0px;
  border: 1px solid #8e8e8e;
  background-color: #faf9f8;
  padding: 7px;
  letter-spacing: 0px;
  -webkit-box-shadow: none;
          box-shadow: none;
}

#hd input[type="text"]:focus,
#hd input[type="email"]:focus,
#hd input[type="password"]:focus,
#hd textarea:focus {
  border-color: #a77752;
}

#hd input[type="text"]:-moz-read-only,
#hd input[type="email"]:-moz-read-only,
#hd input[type="password"]:-moz-read-only,
#hd textarea:-moz-read-only {
  box-shadow: none;
  border: 1px solid #8e8e8e;
  background-color: #f5f2f0;
}

#hd input[type="text"]:read-only,
#hd input[type="email"]:read-only,
#hd input[type="password"]:read-only,
#hd textarea:read-only {
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 1px solid #8e8e8e;
  background-color: #f5f2f0;
}

#hd select {
  padding: 7px;
  border-radius: 5px;
  border-radius: 1px;
  border: 1px solid #8e8e8e;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("../img/icon/down_b.svg") no-repeat calc(100% - 10px) center transparent;
  background-size: 10px;
  background-color: #fafdfd;
  text-align: center;
}

#hd option {
  text-align: center;
}

#hd label.select {
  display: inline-block;
  width: 100%;
  height: 100%;
  position: relative;
}

#hd label.select:before {
  content: "";
  display: block;
  width: 50px;
  height: 27px;
  background: #ffffff;
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 2px;
  margin: auto 0;
  pointer-events: none;
}

#hd label.select:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 7px 0 7px;
  border-color: #003979 transparent transparent transparent;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto 0;
  pointer-events: none;
}

#hd ::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #ccc;
}

#hd :-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #ccc;
  opacity: 1;
}

#hd ::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #ccc;
  opacity: 1;
}

#hd :-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #ccc;
}

#hd ::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #ccc;
}

#hd input[type="radio"]:not(old),
#hd input[type="checkbox"]:not(old) {
  width: 0;
  margin: 0;
  font-size: 0;
  opacity: 0;
  pointer-events: none;
  display: none;
}

#hd input[type="radio"]:not(old) + label,
#hd input[type="checkbox"]:not(old) + label {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  vertical-align: middle;
  margin: 7px 0px;
  margin-right: 10px;
  cursor: pointer;
  letter-spacing: 0;
}

#hd input[type="radio"]:not(old) + label > span,
#hd input[type="checkbox"]:not(old) + label > span {
  display: inline-block;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 3px 8px 3px 5px;
  position: relative;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #cccccc;
  vertical-align: middle;
  cursor: pointer;
}

#hd input[type="checkbox"]:not(old) + label > span {
  border-radius: 0;
}

#hd input[type="radio"]:not(old):checked + label > span:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50px;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  background: #debe98;
}

#hd input[type="checkbox"]:not(old):checked + label > span:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 0;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  background: #debe98;
}

/* ----------ANIMATION------ */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes showContent {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}

@keyframes showContent {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes fadeInFromDown {
  from {
    opacity: 0;
    -webkit-transform: translateY(50%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@keyframes fadeInFromDown {
  from {
    opacity: 0;
    -webkit-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes arrow_v {
  0% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
  50% {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  100% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}

@keyframes arrow_v {
  0% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
  50% {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  100% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}

@-webkit-keyframes arrow_h {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(-15px);
            transform: translateX(-15px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes arrow_h {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  50% {
    -webkit-transform: translateX(-15px);
            transform: translateX(-15px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@-webkit-keyframes twinkle_img {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes twinkle_img {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
