@charset "UTF-8";

html,
body {
  width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: '微軟正黑體', 'Malgun Gothic', Dotum, Tahoma, sans-serif;
  background-color: #111111;
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

* {
  margin: 0px;
  padding: 0px;
}

img {
  max-width: 100%;
  height: auto;
}

:focus {
  outline: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
  outline: none;
}

button:focus {
  outline: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* 調整navbar */
.logo {
  display: none;
}

/* header */
#header {
  position: relative;
  background: url(../image/fudo_main.jpg) no-repeat 50% 0;
  background-size: cover;
  height: 100vh;
  padding-top: 50px;
}

#header .title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2vh;
  z-index: 7;
}

/* header */

/* sidebar */
.fixedBox {
  position: fixed;
  top: 10%;
  right: 2%;
  padding: 0;
  overflow: hidden;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: 1s all;
}

.fixedBox img {
  margin: 1vh 0;
}

.fixedBox a:nth-of-type(1):hover,
.fixedBox a:nth-of-type(2):hover {
  filter: hue-rotate(-20deg) contrast(1.4);
}

.fixedBox button:hover {
  filter: brightness(1.5);
}

.fixedBox>a,
.fixedBox button,
.sideBtn ul>li>a {
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.btn-on {
  position: absolute;
  z-index: 99;
  background-color: #000;
  outline: none;
  bottom: 0;
  right: -50px;
  top: 50%;
  transform: translateY(-50px);
  width: 50px;
  height: 100px;
  border-radius: 0 50px 50px 0;
  border: solid 1px #888179;
  border-width: 1px 1px 1px 0px;
  transition: .6s all;
}

.btn-on:hover {
  -webkit-filter: brightness(130%);
  filter: brightness(130%);
}

.sideBtn {
  position: fixed;
  z-index: 999;
  height: 100%;
  background-color: #000000b0;
  padding: 6vh 1vw 0 1vw;
  border-right: solid 1px #888179;
  text-align: center;
  transition: 1s all;
}

.sideBtn ul {
  padding: 0;
  margin-top: 6vh;
  list-style: none;
}

.sideBtn ul>li {
  margin: 10px 0;
}

.sideBtn ul>li>a {
  display: block;
  padding: 0;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
}

.sideBtn ul>li>a:hover,
.sideBtn ul>li>a:focus,
.sideBtn ul>li>a.active {
  outline: none;
  filter: brightness(1.5);
}

.btn-on img {
  transition: 1s all;
}

.btn-on.open img {
  transform: rotate(-180deg);
}

.sideBtn.off {
  transform: translateX(-100%);
}

/* sidebar */
#contents button,
.fixedBox button {
  position: relative;
  background: transparent;
  border: none;
}

#contents {
  background: transparent url(../image/fudo_bg.jpg) repeat 50% 0;
  background-size: cover !important;
  position: relative;
  z-index: 2;
  padding: 0 2rem 150px;
  overflow: hidden;
  text-align: center;
}

#contents button p {
  color: #cdb06f;
  position: absolute;
  top: 46%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: bolder;
}

#contents button p:hover {
  color: #ffffff;
}

.fudoflex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10vh;
}

.fudoflex:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.fudoflex:nth-of-type(odd)>div:nth-of-type(2)>img {
  margin-left: -50%;
  margin-bottom: 2rem;
}

.fudoflex:nth-of-type(even)>div:nth-of-type(2) img {
  margin-right: -30%;
  margin-bottom: 2rem;
}

.fudobox {
  max-width: 800px;
  background: url(../image/fudo_boxbg.jpg) repeat top;
  border: solid 1px #46362c;
  box-shadow: inset 0px 0px 10px 4px #000;
  padding: 2vw;
}

.fudobox table {
  border-collapse: collapse;
  width: 100%;
  margin: 3vh 0;
}

.fudobox table,
.fudobox table th,
.fudobox table td {
  text-align: center;
  border: 1px solid #552323;
  padding: 8px;
}

.fudobox table th {
  color: #ee462a;
  font-size: 1.2rem;
}

.fudobox table td:first-child {
  width: 30%;
}

.fudobox ul {
  padding-left: 10px;
  /* Modifier Letter Minus Sign */
  list-style-type: "\2212";
  text-align: left;
  line-height: 2rem;
}

/* 文字敘述 */
.txtBox p {}

.note {
  color: #e14546;
}

/* 文字敘述 */

/* modal */
button.close {
  opacity: 1;
  position: absolute;
  right: 0;
  width: 70px;
  height: 70px;
  font-size: 70px;
  font-weight: lighter;
  color: #dd671f;
  text-shadow: none;
  overflow: hidden;
  cursor: pointer;
  border: solid 1px #dd671f;
  border-radius: 70px;
  z-index: 9;
}

button.close:hover {
  opacity: 1;
  background-color: #dd671f;
  color: #000000;
}

button.close span {
  display: block;
  margin-top: -6px;
}

.modal-dialog {
  opacity: 0;
}

.show .modal-dialog {
  opacity: 1;
  transition: all .5s ease-in-out;
}

/* modal */

@media (max-width: 1440px) {

  .fudoflex:nth-of-type(odd)>div:nth-of-type(2)>img,
  .fudoflex:nth-of-type(even)>div:nth-of-type(2) img {
    margin: auto;
  }

}

@media (max-width: 1030px) {
  .fudoflex {
    margin-bottom: 1rem;
  }
}

@media (max-width: 850px) {
  .fudoflex:nth-of-type(odd) {
    flex-direction: row;
  }

  .fudoflex {
    display: block;
    margin-top: 4rem;
  }
}

@media (max-width: 480px) {
  .fixedBox img {
    width: 20vw;
  }

  .sideBtn ul {
    margin-top: 0vh;
  }

  .fudobox {
    font-size: 14px;
  }

  button.close {
    width: 50px;
    height: 50px;
    font-size: 50px;
  }

}