@charset "UTF-8";
main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse; /*變更排列方向*/
  /* 跑馬燈 */
}
main .marquee_region {
  line-height: 40px;
  letter-spacing: 1px;
  margin: 6px 0;
  border-radius: 50px;
  color: #fff;
  background-color: #404040;
}
main > h2 {
  width: 100%;
  color: #7f5600;
  font-weight: normal;
  text-align: center;
  font-size: 1.8em;
  line-height: 2.4em;
  margin-bottom: 0.5em;
  height: 70px;
  background-image: url("/ks/images/line.png");
  background-position: center bottom;
  background-repeat: no-repeat;
}
main nav {
  width: 30%;
}
main nav li {
  list-style: none;
  width: 95%;
  height: 85px;
  margin: 0 auto 10px auto;
}
main nav li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: center;
      align-content: center;
  font-size: 1em;
  text-decoration: none;
  text-align: center;
  line-height: 1.2em;
  color: #7a7a7a;
  height: 100%;
  width: 100%;
  border-radius: 50px;
  /*border-top: 1px solid #e9e9e9;*/
  background-image: -webkit-gradient(linear, left top, right top, from(#f2f2f2), to(#e4e4e4));
  background-image: linear-gradient(left, #f2f2f2 0%, #e4e4e4 100%);
}
main nav li a span {
  width: 100%;
  text-align: center;
  font-size: 85%;
  color: #424242;
}
main nav li a:hover, main nav li a.hover {
  color: #651d1a;
  background-image: -webkit-gradient(linear, left top, right top, from(#ffdbce), to(#ffeee5));
  background-image: linear-gradient(left, #ffdbce 0%, #ffeee5 100%);
}
main article {
  width: 70%;
}
main article > h2 {
  font-size: 1.2em;
  line-height: 2.5em;
  font-weight: normal;
  text-align: center;
  color: #651d1a;
  font-weight: bold;
  background-image: -webkit-gradient(linear, left top, right top, from(#ffdbce), to(#ffeee5));
  background-image: linear-gradient(left, #ffdbce 0%, #ffeee5 100%);
}