@charset "UTF-8";
@font-face {
  font-family: MyCustomFont;
  src: local("Microsoft JhengHei"), local("微軟正黑體");
}
/* 英文數字專用 */
@font-face {
  font-family: MyCustomFont; /* 同樣的 font-family */
  unicode-range: U+00-7F, U+00C0-U+00FF, U+2150-U+2169;  /* ASCII,羅馬數字*/
  src: local(Verdana), local(Geneva), local(Arial), local(Helvetica);
}
/* 日文假名專用 */
@font-face {
  font-family: MyCustomFont;            /* 同樣的 font-family */
  unicode-range: U+3040-30FF;           /* Hiragana, Katakana */
  src: local("MS PGothic"), /* OS X */ local(Meiryo);                   /* Windows Vista+ */
}
body{
	font-family: MyCustomFont, sans-serif;
  font-size: 100%;
  color: #333;
  -webkit-text-size-adjust: none;
  background: url(../images/bg.png) no-repeat center top;
  overflow-y: auto;
  overflow-x: hidden;
}
select {
    position: relative;
    font-family: MyCustomFont, sans-serif;
    font-size: 100%;
}
#wrap{
  position: relative;
  width: 100%;
}
#CoverBox{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #FFF;
    z-index: 2;
}
/*--------Loading--------*/
#CoverBox:after {
    position: absolute;
    content: "";
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #0da0b2; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*--------Loading--------*/
/* ############################################## */
.mainBar {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 30px;
  text-align: center;
}

.mainBar ul{
  position: relative;
  display: inline-block;
}

.mainBar ul li{
  position: relative;
  width: 290px;
  float: left;
  display: block;
  background-color: rgba(255, 255, 255, 0.3);
  font-size: 1.8em;
  line-height: 1.2em;
  font-weight: bold;
  color: #b5cef1;
  text-align: center;
  padding: 13px 0;
  border-radius: 8px;
}
.mainBar ul li:only-child{
  width: 390px;
}
.mainBar ul li.act {
  color: #ffcc00;
}
.mainBar ul li:not(:first-child) {
  margin-left: 5px;
}
.mainBar ul::before {
  position: absolute;
  content: url(../images/mainBar01.png);
  top: 50%;
  right: calc(100% + 20px);
  transform: translateY(-50%);
}

.mainBar ul::after {
  position: absolute;
  content: url(../images/mainBar02.png);
  top: 50%;
  left: calc(100% + 20px);
  transform: translateY(-50%);
}
.mainBar ul li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.mainBar ul li a:hover {
  text-decoration: underline;
}

/* ################################################ */
.mainContent {
  position: relative;
  width: 100%;
  margin-top: 30px;
}
/* ################################################ */

.contentBox {
  position: relative;
  border-top: 8px solid #ffffff;
  border-bottom: 8px solid #ffffff;
  padding: 40px 0;
  
}
.contentBox::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../images/divBg.png) no-repeat center top;
  opacity: 0.7;
}

/* ################################################ */
@media (max-width: 999px) {
  .mainBar ul li{
    width: 200px;
  }
  .mainBar ul li:only-child{
    width: 390px;
  }
}

