@charset "utf-8";
/* CSS Document */
@import url('reset.min.1.2.css');
/*.clear{ height:0; clear:both; font-size:0em!important;}*/

html {
  font-size: 18px;
} /*預設整個網站的字體大小，一定要寫在html裡面才有效*/
body {
  margin: 0;
  padding: 0;
  background: #fef9d1;
  line-height: 1.85rem;
  color: #212121;
}
body,
td,
th {
  font-family: /*"Microsoft YaHei",*/ '思源黑體 TW', 'Maven Pro', 'Droid Sans', 'Myriad Pro', Helvetica, Verdana, Geneva, sans-serif;
}
* {
  /*font-size:1em;*/ /*chrome*/
  -webkit-box-sizing: border-box; /*firefox*/
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#background {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -100;
}

img {
  width: 100%;
  height: auto;
}
a {
  width: 100%;
  height: 100%;
  display: block;
}
a:hover {
  cursor: pointer;
  line-height: 0;
}

/*像素比例尺*/
/*.ruler{ height:18px; background:url(../images/ruler.png) no-repeat left top; position: fixed; top:0; right:0; bottom:0; left:0; z-index:9999; display:none; }*/

/* ---- particles.js container ---- */

#particles-js {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  position: absolute;
}

.wrapper {
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
}
.all {
  width: 100%;
  height: auto;
  background: url('../images/bg.jpg') no-repeat top;
  margin: 0 auto;
  position: relative;
  /* background-size: cover; */
}
.content {
  width: 100%;
  max-width: 1500px;
  height: auto;
  margin: 0 auto;
  position: relative;
}
/*LOGO+下方選單*/
.logo {
  width: 40%;
  height: auto;
  max-width: 571px;
  margin: 0 auto;
  top: 1.3rem;
  position: relative;
  z-index: 88;
}
.logo a {
  background: url('../images/logo.png') no-repeat top;
  background-size: cover;
  transition: all 0.5s;
  -webkit-transition: -webkit-transform all 0.5s;
}
.logo a:hover {
  filter: brightness(120%);
  transition: all 0.25s ease-in-out;
}

.btn {
  width: auto;
  height: auto;
  margin: 0 auto;
  top: 6%;
  left: 12%;
  position: absolute;
  z-index: 99;
}
.btn ul {
  width: 100%;
  height: auto;
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  -ms-flex-direction: row;
  list-style: none;
}
.btn ul il {
  width: 25%;
  height: auto;
}
.btn_men,
.btn_dl,
.btn_home,
.btn_fb {
  width: 100%;
  height: auto;
  max-width: 95px;
}
.btn_men a {
  background: url('../images/btn_001.png') no-repeat;
  background-size: 100%;
}
.btn_men a:hover {
  background: url('../images/btn_001_b.png') no-repeat;
  background-size: contain;
  transition: all 0.25s ease-in-out;
  scale: 1.05;
}

.btn_dl a {
  background: url('../images/btn_002.png') no-repeat;
  background-size: 100%;
}
.btn_dl a:hover {
  background: url('../images/btn_002_b.png') no-repeat;
  background-size: contain;
  transition: all 0.25s ease-in-out;
  scale: 1.05;
}

.btn_home a {
  background: url('../images/btn_003.png') no-repeat;
  background-size: 100%;
}
.btn_home a:hover {
  background: url('../images/btn_003_b.png') no-repeat;
  background-size: contain;
  transition: all 0.25s ease-in-out;
  scale: 1.05;
}

.btn_fb a {
  background: url('../images/btn_004.png') no-repeat;
  background-size: 100%;
}
.btn_fb a:hover {
  background: url('../images/btn_004_b.png') no-repeat;
  background-size: contain;
  transition: all 0.25s ease-in-out;
  scale: 1.05;
}

/*活動選單*/
.icon {
  width: 40%;
  height: auto;
  margin: 0 auto;
  top: -5rem;
  position: relative;
  right: -10%;
  z-index: 100;
}
.icon ul {
  width: 100%;
  height: auto;
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  -ms-flex-direction: row;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  justify-content: center;
  -ms-justify-content: center;
}
.icon ul li {
  width: 33%;
  height: auto;
}

.icon_001 {
  width: 100%;
  height: auto;
  max-width: 183px;
}
.icon_001 a {
  background: url('../images/icon_001.png') no-repeat bottom;
  background-size: 100%;
}
.icon_001 a:hover {
  background: url('../images/icon_001_b.png') no-repeat;
  background-size: cover;
}

.icon_002 {
  width: 100%;
  height: auto;
  max-width: 183px;
}
.icon_002 a {
  background: url('../images/icon_003.png') no-repeat bottom;
  background-size: 100%;
}
.icon_002 a:hover {
  background: url('../images/icon_003_b.png') no-repeat;
  background-size: cover;
}

.icon_003 {
  width: 100%;
  height: auto;
  max-width: 183px;
}
.icon_003 a {
  background: url('../images/icon_004.png') no-repeat bottom;
  background-size: 100%;
}
.icon_003 a:hover {
  background: url('../images/icon_004_b.png') no-repeat;
  background-size: cover;
}

.icon_004 {
  width: 100%;
  height: auto;
  max-width: 183px;
}
.icon_004 a {
  background: url('../images/icon_006.png') no-repeat bottom;
  background-size: 100%;
}
.icon_004 a:hover {
  background: url('../images/icon_006_b.png') no-repeat;
  background-size: cover;
}

.icon_005 {
  width: 100%;
  height: auto;
  max-width: 183px;
}
.icon_005 a {
  background: url('../images/icon_005.png') no-repeat bottom;
  background-size: 100%;
}
.icon_005 a:hover {
  background: url('../images/icon_005_b.png') no-repeat;
  background-size: cover;
}

.icon_006 {
  width: 100%;
  height: auto;
  max-width: 183px;
}
.icon_006 a {
  background: url('../images/icon_002.png') no-repeat bottom;
  background-size: 100%;
}
.icon_006 a:hover {
  background: url('../images/icon_002_b.png') no-repeat;
  background-size: cover;
}

/*角色*/
.role {
  width: 100%;
  height: auto;
  position: relative;
  margin: 0 auto; /*top: -5rem;*/
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  -ms-flex-direction: row;
  list-style: none;
}
.txt {
  width: 40%;
  height: auto;
  max-width: 865px;
  min-height: 470px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.role_l {
  width: 32%;
  height: auto;
  left: 8%;
  position: absolute;
  bottom: -36%;
}
.rolr_r {
  width: 22%;
  height: auto;
  right: 15%;
  position: absolute;
  top: -50%;
}

.flsah {
  animation-name: slide;
  animation-iteration-count: infinite;
  animation-duration: 3s;
}
.Slide {
  position: relative; /* 要能改 top 必須 relative/absolute */
  animation: slide 2s infinite;
}
/* ✅ 動畫：上下浮動 */
/* 上下浮動動畫 */
@keyframes slide {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.5rem);
  }
}

.flsah {
  animation: slide 3s infinite ease-in-out;
}

.Shiny {
  animation-name: Bright;
  animation-iteration-count: infinite;
  animation-duration: 3s;
}
/* ✅ 動畫：閃亮 */
@keyframes Bright {
  0%,
  100% {
    filter: brightness(100%);
  }
  50% {
    filter: brightness(115%);
  }
}

/*版權*/
.co {
  width: 100%;
  height: auto;
  max-width: 1920px;
  background: url('../images/co_bg.png') no-repeat center;
  position: absolute;
  margin: 0 auto;
}
.co_l {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  text-align: center;
  position: relative;
  margin: 0 auto;
}
.co_s {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: none;
  text-align: center;
  position: relative;
  margin: 0 auto;
}

/*top*/
.btn_top_block {
  width: 97%;
  position: fixed;
  bottom: 8rem;
  z-index: 9999;
  max-width: 1150px;
  animation: pageIn 1s;
  animation-delay: 0.5s;
  animation-fill-mode: both;
  -webkit-animation: pageIn 1s;
  -webkit-animation-delay: 0.5s;
  -webkit-animation-fill-mode: both;
}

#btn_top {
  width: 8%;
  position: absolute;
  right: 3rem;
}

#btn_top a {
  width: 90px;
  height: 80px;
  background: url(../images/top.png) no-repeat left top / 100% auto;
  display: block;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
}

#btn_top a:hover {
  -webkit-animation: headShake 2s;
  animation: headShake 2s;
  filter: brightness(135%);
}

/*頁面開始*/
.page {
  width: 100%;
  height: auto;
  max-width: 1000px;
  position: relative;
  margin: 0 auto;
  top: -3rem;
  margin-bottom: 3rem;
}
.p_top {
  width: 100%;
  height: auto;
}
.p_content {
  width: 100%;
  height: auto;
  background: url('../images/p_in_co.png') repeat-y top;
  background-size: 100% auto;
}
.p_title {
  width: 45%;
  height: auto;
  margin: 0 auto;
  position: relative;
  top: -2rem;
}
.p_bottom {
  width: 100%;
  height: auto;
}

.p_txt {
  width: 80%;
  height: auto;
  margin: 0 auto;
}
.p_txt_l {
  width: auto;
  height: 50px;
  display: block;
  max-width: 800px;
  margin: 0.5rem auto;
}
/* .p_txt_s {
  width: 100%;
  height: auto;
  display: none;
} */
.p1_img {
  width: 80%;
  height: auto;
  margin: 0 auto;
}
.p6_img {
  width: 80%;
  height: auto;
  margin: 1rem auto;
}
.p6_img ul {
  width: 100%;
  height: auto;
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  -ms-flex-direction: row;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  justify-content: center;
  -ms-justify-content: center;
}
.p6_img ul li {
  width: 50%;
  height: auto;
}
.p_b_c {
  font-weight: 600;
  color: #8c4800;
  font-size: 1.2rem;
}
.p_txt_r {
  color: #ff0004;
  font-size: 0.9rem;
}

/*表格設定P4*/
.p03_form {
  width: 80%;
  height: auto;
  margin: 0 auto;
  font-size: 0.8em;
}

.p4_icon img {
  max-width: 32px;
}
.p03_form thead {
  color: #ffffff;
  font-weight: bold;
  background-color: #cbb1eb;
  word-break: keep-all;
}
.p03_form tbody tr {
  color: #424242;
  padding: 2rem;
  background-color: #fff;
}
.p03_form tbody tr td {
  line-height: 2rem;
  border: 1px #00000088 solid;
  padding: 5px;
  text-align: center;
}
.p03_form thead tr td {
  line-height: 2rem;
  border: 1px #00000088 solid;
  padding: 5px;
  text-align: center;
}
.p03_form tr td:nth-of-type(1) {
  width: 15%;
}
.p03_form tr td:nth-of-type(2) {
  width: 5%;
}
.p03_form tr td:nth-of-type(3) {
  width: 5%;
}
.p03_form tr td:nth-of-type(4) {
  width: 30%;
}
.p03_form tr td:nth-of-type(5) {
  width: 45%;
}

.p03_form tr:nth-child(3),
.p03_form tr:nth-child(4) {
  background-color: #c7c7c7;
}
.p03_form tr:nth-child(5),
.p03_form tr:nth-child(6) {
  background-color: #f8d8ef;
}
.p03_form tr:nth-child(7),
.p03_form tr:nth-child(8) {
  background-color: #d9f8d8;
}
.p03_form tr:nth-child(9),
.p03_form tr:nth-child(10) {
  background-color: #faf8cd;
}
.p03_form tr:nth-child(11),
.p03_form tr:nth-child(12) {
  background-color: #f8e3bd;
}
.p03_form tr:nth-child(13),
.p03_form tr:nth-child(14) {
  background-color: #c9fcf1;
}
.p03_form tr:nth-child(15),
.p03_form tr:nth-child(16) {
  background-color: #e1f8ff;
}
.p03_form tr:nth-child(18),
.p03_form tr:nth-child(17) {
  background-color: #f8ebff;
}

/*表格設定P6*/
.p6_form {
  width: 100%;
  height: auto;
  background-color: #e1dffe;
  border: 1px #000 solid;
  border-radius: 15px;
  padding: 1rem;
  margin: 0 auto;
}
.p_txt p {
  text-align: left;
}
.p6_form ul li p {
  line-height: 1.3rem;
}
.p6_form ul {
  width: 100%;
  height: auto;
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  -ms-flex-direction: row;
  list-style: none;
}
.p6_form ul li {
  width: 50%;
  height: auto;
  color: #000;
  line-height: 1.3em;
  padding: 2.5%;
}
.p6_form ul li:nth-child(2) {
  border-left: 1px solid #000;
}
.p6_txt_im {
  width: 65%;
  height: auto;
  margin: 0 auto;
}
.p_2_txt {
  font-weight: 400;
  color: #00028a;
  font-size: 1rem;
  line-height: 2rem;
}

@media screen and (max-width: 1600px) {
  .all {
    background-position-x: 51%;
    background-size: 160%;
  }
  .logo {
    width: 37%;
  }
  .txt {
    width: 37%;
  }
  .role_l {
    width: 29%;
    bottom: -26%;
  }
  .rolr_r {
  }

  .co {
    margin-top: -4rem;
  }
}

@media screen and (max-width: 1100px) {
  .all {
    background-position-x: 51%;
    background-size: 258%;
  }

  .logo {
    width: 50%;
  }
  .btn {
    width: 50%;
  }
  .role {
    top: -3rem;
  }
  .txt {
    width: 55%;
    margin-top: 3rem;
    margin-bottom: 8rem;
  }
  .role_l {
    width: 34%;
    left: 2%;
    bottom: 6%;
  }
  .rolr_r {
    width: 28%;
    right: 0%;
    top: 2%;
  }

  .btn ul {
    flex-direction: column;
  }
  .btn {
    top: 6%;
    left: 5%;
  }

  .p_txt_l {
    height: 40px;
  }
}
@media screen and (max-width: 640px) {
  /*主視覺區塊*/
  .all {
    background: url('../images/bg_s.jpg') no-repeat;
    background-size: 100%;
  }
  .logo {
    width: 60%;
    top: 0;
  }
  .btn {
    top: 2%;
    left: 2%;
  }
  .icon {
    width: 100%;
    top: -1.5rem;
    right: 0;
  }
  .btn ul il {
    width: 50%;
  }
  /*角色*/
  .role {
    top: 0;
  }
  .role_l {
    width: 50%;
    height: auto;
    left: 0%;
    position: absolute;
    top: 3rem;
  }
  .rolr_r {
    width: 40%;
    height: auto;
    right: 0%;
    position: absolute;
    top: -2rem;
  }
  .txt {
    width: 100%;
    margin-top: 25rem;
    min-height: 0;
    margin-right: 1.5rem;
    margin-bottom: 0;
  }

  .p_txt_l {
    height: auto;
    width: 100%;
  }

  /*版權*/
  .co {
    background: url('../images/co_bg_640.png') no-repeat top center;
    background-size: 100% auto;
    margin-top: 0;
  }
  .co_l {
    display: none;
  }
  .co_s {
    display: block;
    padding-top: 0.5rem;
  }

  /*頁面開始*/

  .page {
    top: 0rem;
  }

  .p_title {
    width: 80%;
    height: auto;
    margin: 0 auto;
    position: relative;
    top: -0.5rem;
  }
  /* .p_txt_l {
    display: none;
  }
  .p_txt_s {
    display: block;
  } */
  .p6_img ul li {
    width: 80%;
    height: auto;
  }
  .p6_form {
    width: 100%;
  }
  .p6_form ul {
    display: block;
  }
  .p6_form ul li {
    width: 100%;
    height: auto;
    color: #000;
    line-height: 1em;
  }
  .p6_form ul li:nth-child(2) {
    border-left: 0px;
    border-top: 1px solid #000;
  }
  .p6_txt_im {
    width: 90%;
    height: auto;
  }

  .p03_form {
    width: 80%;
    border: none;
    font-size: 0.8em;
  }
  .p03_form thead {
    display: none;
  }
  .p03_form tbody {
    display: block;
  }
  .p03_form tbody tr {
    border: 1px solid #fff;
    display: block;
  }
  .p03_form td {
    padding: 0;
    border: 1px solid #fff;
    display: block;
    text-align: left;
  }
  .p03_form tbody tr {
    padding: 0;
  }

  .p03_form tbody tr td {
    padding: 0;
    line-height: 1.3rem;
    text-align: left;
  }
  .p4_icon img {
    max-width: 32px;
  }

  .p03_form tbody > tr > td:nth-of-type(1)::before {
    content: '名稱';
  }
  .p03_form tbody > tr > td:nth-of-type(2)::before {
    content: '類型';
  }
  .p03_form tbody > tr > td:nth-of-type(4)::before {
    content: '拍圖';
    display: block;
    width: 100%;
  } /* 斷行處理*/
  .p03_form tbody > tr > td:nth-of-type(3)::before {
    content: 'Icon';
  }
  .p03_form tbody > tr > td:nth-of-type(5)::before {
    content: '功能詳細描述';
    display: block;
    width: 100%;
  }

  .p03_form tbody > tr > td:nth-of-type(1) {
    width: 100%;
  }
  .p03_form tbody > tr > td:nth-of-type(2) {
    width: 100%;
  }
  .p03_form tbody > tr > td:nth-of-type(4) {
    width: 100%;
  }
  .p03_form tbody > tr > td:nth-of-type(3) {
    width: 100%;
  }
  .p03_form tbody > tr > td:nth-of-type(5) {
    width: 100%;
  }

  .p03_form tbody td:last-of-type::before {
    border-bottom: 0;
  }

  .p03_form tbody td:last-of-type::before {
    border-bottom: 0;
  }
  .p03_form tbody td::before {
    width: 32%;
    margin-right: 0.7rem;
    background: #377e93;
    color: #fff;
    text-align: center;
    display: inline-block;
    border-bottom: 1px solid #fff;
  }
  .p03_form tbody td:last-of-type::before {
    border-bottom: 0;
  }
}
