@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Noto Sans TC", sans-serif;
  line-height: 1;
}

body {
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: transparent;
  color: inherit;
  border: none;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.icon {
  max-width: 100%;
  max-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: min(200px, 26vw);
  padding: min(40px, 5.2vw) min(50px, 6.51%);
  background: #fff;
}
header .logo {
  width: min(50px, 6.51%);
}
header .menu {
  font-size: 15px;
  color: #000;
}
header .menu .active {
  color: #a1846c;
  cursor: default;
}
header .menu-item {
  display: inline-block;
  margin-left: 20px;
  transition: all 0.3s ease;
}
header .menu-item:hover {
  color: #a1846c;
  transition: all 0.3s ease;
}

article .work-list {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  flex-wrap: wrap;
  margin-bottom: 5vh;
}
article .work-list .btn {
  display: block;
  color: #000;
  margin: min(10px, 0.667vw) min(25px, 1.6675vw);
  font-size: min(17px, 2vw);
}
article .work-list .btn.active {
  color: #a1846c;
  cursor: default;
}
article.work.web .delicate {
  background: #e9e5de;
  padding: 70px 0;
  padding-left: calc(50% - 691px);
}
@media (max-width: 1500px) {
  article.work.web .delicate {
    padding-left: calc(50% - 46.067vw);
  }
}
article.work.web .delicate .title {
  position: relative;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 55px;
  font-size: min(24px, 1.6008vw);
  color: #7f6c63;
}
article.work.web .delicate .title::after {
  width: min(40px, 2.668vw);
  height: 0.18em;
  content: "";
  position: absolute;
  background: #7f6c63;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
article.work.web .delicate .item {
  width: min(414px, 27.6138vw);
  height: min(302px, 20.1434vw);
  display: inline-block;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: solid 1px #ccc8c2;
}
article.work.web .delicate .item:nth-of-type(3n - 1), article.work.web .delicate .item:nth-of-type(3n) {
  margin: 0 min(70px, 4.669vw) min(40px, 2.668vw) 0;
}
article.work.web .delicate .item:nth-of-type(3n - 2) {
  margin-bottom: min(40px, 2.668vw);
}
article.work.web .delicate .item .pr-img {
  position: absolute;
}
article.work.web .delicate .item .pr-img.width-all {
  width: 100%;
}
article.work.web .delicate .item .pr-img.height-all {
  height: 77.15%;
}
article.work.web .delicate .item .pr-img {
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(1);
  transition: all 0.3s ease;
}
article.work.web .delicate .item .info {
  width: 100%;
  height: 22.85%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  background: #fff;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  color: #000;
  text-align: left;
  padding: 4% 5%;
  color: #4c4542;
}
article.work.web .delicate .item .info .pr-name {
  font-size: min(16.8px, 1.12056vw);
}
article.work.web .delicate .item .info .pr-date {
  font-size: min(12px, 0.8004vw);
}
article.work.web .delicate .item:hover .board {
  width: 100%;
  height: 77.15%;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
}
article.work.web .delicate .item:hover .board .icon {
  width: min(40px, 2.668vw);
  height: min(40px, 2.668vw);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  border-radius: 50%;
  background: #fff;
  bottom: 8%;
}
article.work.web .delicate .item:hover .board .icon img {
  max-width: 50%;
  max-height: 50%;
}
article.work.web .delicate .item:hover .board .icon.zoom {
  right: 5%;
}
article.work.web .delicate .item:hover .board .icon.link {
  right: 19%;
}
article.work.web .delicate .item:hover .pr-img {
  transform: translateX(-50%) scale(1.1);
  transition: all 0.3s ease;
}
article.work.web .projects {
  padding: 70px 0;
  padding-left: calc(50% - 691px);
}
@media (max-width: 1500px) {
  article.work.web .projects {
    padding-left: calc(50% - 46.067vw);
  }
}
article.work.web .projects .title {
  position: relative;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 24px;
  margin-bottom: 55px;
  font-size: min(24px, 1.6008vw);
  color: #7f6c63;
}
article.work.web .projects .title::after {
  width: min(40px, 2.668vw);
  height: 0.18em;
  content: "";
  position: absolute;
  background: #7f6c63;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
article.work.web .projects .item {
  width: min(414px, 27.6138vw);
  height: min(302px, 20.1434vw);
  display: inline-block;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: solid 1px #ccc8c2;
}
article.work.web .projects .item:nth-of-type(3n - 1), article.work.web .projects .item:nth-of-type(3n) {
  margin: 0 min(70px, 4.669vw) min(40px, 2.668vw) 0;
}
article.work.web .projects .item:nth-of-type(3n - 2) {
  margin-bottom: min(40px, 2.668vw);
}
article.work.web .projects .item .pr-img {
  position: absolute;
}
article.work.web .projects .item .pr-img.width-all {
  width: 100%;
}
article.work.web .projects .item .pr-img.height-all {
  height: 77.15%;
}
article.work.web .projects .item .pr-img {
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(1);
  transition: all 0.3s ease;
}
article.work.web .projects .item .info {
  width: 100%;
  height: 22.85%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  background: #fff;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  color: #000;
  text-align: left;
  padding: 4% 5%;
  color: #4c4542;
}
article.work.web .projects .item .info .pr-name {
  font-size: min(16.8px, 1.12056vw);
}
article.work.web .projects .item .info .pr-date {
  font-size: min(12px, 0.8004vw);
}
article.work.web .projects .item:hover {
  transition: all 0.3s ease;
}
article.work.web .projects .item:hover .board {
  width: 100%;
  height: 77.15%;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
}
article.work.web .projects .item:hover .board .icon {
  width: min(40px, 2.668vw);
  height: min(40px, 2.668vw);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  border-radius: 50%;
  background: #888;
  bottom: 8%;
  transition: all 0.3s ease;
}
article.work.web .projects .item:hover .board .icon img {
  max-width: 50%;
  max-height: 50%;
}
article.work.web .projects .item:hover .board .icon.zoom {
  right: 5%;
}
article.work.web .projects .item:hover .board .icon.link {
  right: 19%;
}
article.work.web .projects .item:hover .board .icon:hover {
  background: #fff;
  transition: all 0.3s ease;
}
article.work.web .projects .item:hover .pr-img {
  transform: translateX(-50%) scale(1.1);
  transition: all 0.3s ease;
}
article.work.web .projects .item.loading {
  background: #ccc8c2;
}
article.work.web .projects .item.loading .loading {
  width: 200%;
  height: 200%;
  position: absolute;
  animation: loading 5s linear infinite;
  background: linear-gradient(145deg, transparent, transparent, #fff, transparent, transparent);
  background-size: 100% 100%;
}
article.work.web.insert {
  padding: 2rem min(150px, 10.005vw);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
article.work.web.insert .bread {
  position: absolute;
  top: 0;
  left: min(150px, 10.005vw);
}
article.work.web.insert .bread a, article.work.web.insert .bread span {
  font-weight: 500;
  font-size: 1rem;
  display: inline-block;
  margin: 0 min(10px, 0.667vw);
}
article.work.web.insert .bread span {
  color: #a1846c;
}
article.work.web.insert .product-main {
  padding-right: min(70px, 4.669vw);
  width: min(700px, 46.69vw);
}
article.work.web.insert .product-main .pr-img {
  width: 100%;
}
article.work.web.insert .product-main p {
  font-size: min(20px, 1.334vw);
  font-weight: bold;
  margin: min(20px, 1.334vw) 0 min(10px, 0.667vw) 0;
}
article.work.web.insert .product-main > a {
  display: inline-block;
  font-size: min(15px, 1.0005vw);
}
article.work.web.insert .product-main .pr-content {
  font-size: min(17px, 1.1339vw);
  margin: min(25px, 1.6675vw) 0 min(50px, 3.335vw) 0;
  line-height: 1.5;
}
article.work.web.insert .product-main .pr-target a {
  display: inline-block;
  padding: min(5px, 0.3335vw) min(10px, 0.667vw);
  margin: 0 min(10px, 0.667vw) min(10px, 0.667vw) 0;
  font-size: min(15px, 1.0005vw);
  border-radius: min(10px, 0.667vw);
  border: 1px solid #000;
  background-color: #fff;
}
article.work.web.insert .product-about {
  width: min(400px, 26.68vw);
}
article.work.web.insert .product-item {
  display: inline-block;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  width: min(400px, 26.68vw);
  height: min(225.12px, 15.015504vw);
}
article.work.web.insert .product-item img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
article.work.web.insert .product-item img.width-all {
  width: calc(100% + 2px);
}
article.work.web.insert .product-item img.height-all {
  height: calc(100% + 2px);
}
article.work.web.insert .product-item .board {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.6);
  color: #fee;
  width: 100%;
  padding: min(10px, 0.667vw);
  position: absolute;
  left: 0;
  bottom: 0;
  top: 100%;
  opacity: 0;
  transition: all 0.3s ease;
}
article.work.web.insert .product-item:hover .board {
  top: 0;
  opacity: 1;
  transition: all 0.3s ease;
}
article.posting {
  text-align: center;
}
article.posting h1 {
  margin-bottom: 5vh;
}
article.posting [data-work=web] {
  padding-bottom: 10vh;
  margin-top: 10vh;
  text-align: center;
}
article.posting [data-work=web] .form-control {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(800px, 53.36vw);
  margin: 0 auto 5vh auto;
  font-size: min(20px, 1.334vw);
}
article.posting [data-work=web] .form-control * {
  font-size: inherit;
}
article.posting [data-work=web] .form-control textarea {
  width: min(500px, 33.35vw);
  resize: vertical;
}
article.posting [data-work=web] .form-control.form-target {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
article.posting [data-work=web] .form-control.form-target input[type=text] {
  display: block;
  margin-bottom: 0.5em;
}
article.posting [data-work=web] .form-control.form-target label {
  position: relative;
  padding-left: 2em;
  padding-right: 1em;
  line-height: 2;
  cursor: pointer;
  display: inline-flex;
  margin-bottom: 0.5em;
}
article.posting [data-work=web] .form-control.form-target label:last-of-type {
  margin-bottom: 1em;
}
article.posting [data-work=web] .form-control.form-target label::before {
  width: 1.4em;
  height: 1.4em;
  box-sizing: border-box;
  content: " ";
  position: absolute;
  top: 0.3em;
  left: 0;
  display: block;
  border: 0.2em solid #90989a;
  border-radius: 0.6em;
  z-index: -1;
}
article.posting [data-work=web] .form-control.form-target label, article.posting [data-work=web] .form-control.form-target label::before {
  transition: all 0.25s ease;
}
article.posting [data-work=web] .form-control.form-target input[type=checkbox] {
  display: none;
}
article.posting [data-work=web] .form-control.form-target input[type=checkbox]:checked + label {
  padding-left: 1em;
  color: #0f5229;
}
article.posting [data-work=web] .form-control.form-target input[type=checkbox]:checked + label::before {
  width: 100%;
  height: 2em;
  top: 0;
  background: #b7e6c9;
  border-color: #2cbc63;
}
article.posting [data-work=web] .form-label {
  display: block;
  width: min(250px, 16.675vw);
  text-align: right;
  margin-right: min(25px, 1.6675vw);
  padding-top: 0.2em;
}
article.posting [data-work=web] .form-input {
  text-align: left;
  width: min(500px, 33.35vw);
  padding-left: min(25px, 1.6675vw);
  font-size: 0.9em;
}
article.posting [data-work=web] .form-input input[type=text], article.posting [data-work=web] .form-input select {
  display: inline-block;
  border: 0.1em solid #556;
  border-radius: 0.3em;
  padding: 0.25em 0.5em;
}
article.posting [data-work=web] .form-input select {
  margin-right: 0.5em;
  width: 5em;
}
article.posting [data-work=web] .form-input select:last-of-type {
  margin-left: 1em;
}
article.posting [data-work=web] #drop {
  background: #555;
  border: 5px dashed #252525;
  overflow: hidden;
  height: min(450.24px, 30.031008vw);
}
article.posting [data-work=web] #drop.highlight {
  background: #999;
}
article.posting [data-work=web] #drop.active {
  border: none;
}
article.posting [data-work=web] #drop input {
  display: none;
}
article.posting [data-work=web] #drop [for=fileElem] {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  text-align: center;
  color: #ccc;
}
article.posting [data-work=web] #drop [for=fileElem] .icon {
  width: 40%;
}
article.posting [data-work=web] #drop #preview {
  position: relative;
  width: 100%;
  height: 100%;
}
article.posting [data-work=web] #drop #preview img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
article.posting [data-work=web] #drop #preview img.width-all {
  width: calc(100% + 1px);
}
article.posting [data-work=web] #drop #preview img.height-all {
  height: calc(100% + 1px);
}
article.posting [data-work=web] .pr-top [for=pr-level] {
  position: relative;
  padding-left: 2em;
  padding-right: 1em;
  line-height: 2;
  cursor: pointer;
  display: inline-flex;
}
article.posting [data-work=web] .pr-top [for=pr-level]::before {
  width: 1.4em;
  height: 1.4em;
  box-sizing: border-box;
  content: " ";
  position: absolute;
  top: 0.3em;
  left: 0;
  display: block;
  border: 0.2em solid #90989a;
  border-radius: 0.6em;
  z-index: -1;
}
article.posting [data-work=web] .pr-top [for=pr-level], article.posting [data-work=web] .pr-top [for=pr-level]::before {
  transition: all 0.25s ease;
}
article.posting [data-work=web] .pr-top input[type=checkbox] {
  display: none;
}
article.posting [data-work=web] .pr-top input[type=checkbox]:checked + label {
  padding-left: 1em;
  color: #0f5229;
}
article.posting [data-work=web] .pr-top input[type=checkbox]:checked + label::before {
  width: 100%;
  height: 2em;
  top: 0;
  background: #b7e6c9;
  border-color: #2cbc63;
}
article.posting [data-work=web] .pr-top .pr-level {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: min(50px, 3.335vw);
  background: #fff;
  box-shadow: 0 0 0 999vw rgba(0, 0, 0, 0.5);
  width: min(1200px, 80.04vw);
  text-align: center;
}
article.posting [data-work=web] .pr-top .pr-level .item {
  width: min(310.5px, 20.71035vw);
  height: min(226.5px, 15.10755vw);
  display: inline-block;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: solid 1px #ccc8c2;
  transition: all 0.3s ease;
}
article.posting [data-work=web] .pr-top .pr-level .item.half-opacity {
  opacity: 0.5;
  transition: all 0.3s ease;
}
article.posting [data-work=web] .pr-top .pr-level .item:nth-of-type(3n - 1), article.posting [data-work=web] .pr-top .pr-level .item:nth-of-type(3n + 1) {
  margin: 0 min(52.5px, 3.50175vw) min(30px, 2.001vw) 0;
}
article.posting [data-work=web] .pr-top .pr-level .item:nth-of-type(3n) {
  margin-bottom: min(30px, 2.001vw);
}
article.posting [data-work=web] .pr-top .pr-level .item .pic {
  position: absolute;
}
article.posting [data-work=web] .pr-top .pr-level .item .pic.width-all {
  width: calc(100% + 2px);
}
article.posting [data-work=web] .pr-top .pr-level .item .pic.height-all {
  height: calc(77.15% + 2px);
}
article.posting [data-work=web] .pr-top .pr-level .item .pic {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
article.posting [data-work=web] .pr-top .pr-level .item .info {
  width: 100%;
  height: 22.85%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  background: #fff;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  color: #000;
  text-align: left;
  padding: 4% 5%;
  color: #4c4542;
}
article.posting [data-work=web] .pr-top .pr-level .item .info .pr-name {
  font-size: min(12.6px, 0.84042vw);
}
article.posting [data-work=web] .pr-top .pr-level .item .info .pr-date {
  font-size: min(9px, 0.6003vw);
}
article.posting [data-work=web] .pr-top .pr-level .check {
  position: absolute;
  display: inline-block;
  color: #fff;
  background: #6963ff;
  padding: min(8px, 0.5336vw);
  border-radius: min(5px, 0.3335vw);
  left: 50%;
  transform: translateX(-50%);
  bottom: min(30px, 2.001vw);
}
article.posting [data-work=web] input[type=submit] {
  display: inline-block;
  padding: min(10px, 0.667vw);
  background: #7f6c63;
  color: #efdcd3;
  font-weight: bold;
  font-size: min(25px, 1.6675vw);
  margin-top: 5vh;
  border: none;
  cursor: pointer;
  border-radius: min(5px, 0.3335vw);
}

.copyright {
  text-align: center;
  font-size: min(15px, 1.0005vw);
  padding: min(15px, 1.0005vw);
}

[role=alert] {
  position: fixed;
  right: 0;
  bottom: 0;
  color: #f00;
  font-size: min(10px, 0.667vw);
}

.form {
  padding: 10vh 0;
  text-align: center;
}
.form-control {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(800px, 53.36vw);
  margin: 0 auto 5vh auto;
  font-size: min(20px, 1.334vw);
}
.form-control * {
  font-size: inherit;
}
.form-label {
  display: block;
  width: min(250px, 16.675vw);
  text-align: right;
  margin-right: min(25px, 1.6675vw);
}
.form-input {
  text-align: left;
  width: min(500px, 33.35vw);
  padding-left: min(25px, 1.6675vw);
  font-size: 0.9em;
}
.form-input input {
  display: inline-block;
  border: 0.1em solid #556;
  border-radius: 0.3em;
  padding: 0.25em 0.5em;
}
.form-input input[type=text] {
  width: min(400px, 26.68vw);
}
.form input[type=submit] {
  display: inline-block;
  padding: min(10px, 0.667vw);
  background: #7f6c63;
  color: #efdcd3;
  font-weight: bold;
  font-size: min(25px, 1.6675vw);
  margin-top: 5vh;
  border: none;
  cursor: pointer;
  border-radius: min(5px, 0.3335vw);
}

#admin {
  position: fixed;
  right: 5vh;
  bottom: 5vh;
  z-index: 999;
}
#admin .btn.logout {
  display: inline-block;
  margin-left: min(50px, 3.335vw);
}
#admin .icon {
  width: min(50px, 3.335vw);
}

@keyframes loading {
  from {
    top: -200%;
    left: -200%;
  }
  to {
    top: 100%;
    left: 100%;
  }
}