* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
  font-weight: bold !important;
  color: #000000;
}

a:hover {
  opacity: 0.8;
}

a.ckeditorLink {
  color: #000000 !important;
}

a.ckeditorLink:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

img {
  width: 100%;
  max-width: 100%;
}

.font-xl {
  font-size: 30px !important;
  letter-spacing: normal;
  line-height: normal;
}

.font-l {
  font-size: 25px !important;
  letter-spacing: normal;
  line-height: normal;
}

.font-m {
  font-size: 18px !important;
  letter-spacing: normal;
  line-height: normal;
}

.font-s {
  font-size: 16px !important;
  letter-spacing: normal;
  line-height: normal;
}

.font-xs {
  font-size: 12px !important;
  letter-spacing: normal;
  line-height: normal;
}

.regulations {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100dvh;
  background-image: url("../images/bg.png");
  overflow: hidden;
}

@media only screen and (max-width: 830px) {
  .regulations {
    overflow: visible;
    height: auto;
  }
}
.regulations .container {
  display: inline-block;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 830px) {
  .regulations .container {
    height: auto;
  }
}
.regulations .container > ul {
  margin: 0;
  padding: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}
.regulations .container > ul > li {
  width: 18%;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li {
    width: 30%;
  }
}
.regulations .container > ul > li .link-box {
  padding: 0;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  height: 100dvh;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li .link-box {
    height: 600px;
  }
}
.regulations .container > ul > li .link-box .part {
  overflow: hidden;
  display: inline-block;
  height: 50%;
  float: right;
}

.regulations .container > ul > li .link-box .part a {
  padding: 4.2%;
  position: relative;
  height: 100%;
  display: inline-block;
  color: #ffffff;
  line-height: 27px;
  letter-spacing: 2px;
  font-size: 20px;
  font-weight: 500;
  float: right;
}

.regulations .container > ul > li .link-box .part a.disabled {
  pointer-events: none;
}

.regulations .container > ul > li .link-box .part a span {
  position: absolute;
  right: 55px;
  bottom: 55px;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  font-family: system-ui;
  font-weight: 400;
  z-index: 1;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li .link-box .part a span {
    bottom: 30px;
    right: 30px;
  }
}
.regulations .container > ul > li .link-box .part a span.des {
  -webkit-writing-mode: horizontal-tb;
  -ms-writing-mode: lr-tb;
  writing-mode: horizontal-tb;
  word-break: break-word;
  left: 55px;
  width: 12vw;
  letter-spacing: 0;
}

@media only screen and (max-width: 1440px) {
  .regulations .container > ul > li .link-box .part a span.des {
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;
  }
}
@media screen and (max-height: 765px) {
  .regulations .container > ul > li .link-box .part a span.des {
    width: 15vh;
  }
}
@media only screen and (max-width: 830px) {
  .regulations .container > ul > li .link-box .part a span.des {
    padding-right: 2.2%;
    left: 30px;
    width: 100%;
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: lr-tb;
    writing-mode: horizontal-tb;
  }
}
.regulations .container > ul > li .link-box .part a span.des p {
  display: inline;
  font-family: "Noto Serif TC", serif;
}

.regulations .container > ul > li .link-box .part a:hover span {
  color: #DD5C82;
  font-weight: 500;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.regulations .container > ul > li .link-box .part a:hover img {
  opacity: 0;
}

.regulations .container > ul > li .link-box .part a:hover img.hover {
  opacity: 1;
}

.regulations .container > ul > li .link-box .part img {
  height: 100%;
  width: auto;
  max-width: unset;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.regulations .container > ul > li .link-box .part img.hover {
  padding: 4.2%;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  z-index: -1;
}

.regulations .container > ul > li .link-box .part:nth-child(2) a span {
  top: 55px;
  bottom: auto;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li .link-box .part:nth-child(2) a span {
    top: 30px;
  }
}
@media only screen and (max-width: 830px) {
  .regulations .container > ul > li .link-left {
    width: 70%;
  }
}
.regulations .container > ul > li.main-content {
  padding: 80px 0 0 0;
  width: 64%;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li.main-content {
    padding: 0 20px;
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
}
.regulations .container > ul > li.main-content .title {
  margin-bottom: 50px;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li.main-content .title {
    margin-top: 40px;
  }
}
.regulations .container > ul > li.main-content .title img {
  height: 200px;
  width: auto;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li.main-content .title img {
    height: auto;
    max-width: 100%;
  }
}
.regulations .container > ul > li.main-content .content {
  height: calc(100% - 330px);
  max-width: 100%;
  overflow-x: hidden;
}

@media only screen and (max-width: 1179px) {
  .regulations .container > ul > li.main-content .content {
    max-height: calc(100% - 370px);
  }
}
@media only screen and (max-width: 1280px) {
  .regulations .container > ul > li.main-content .content {
    height: calc(100% - 350px);
  }
}
@media only screen and (max-width: 830px) {
  .regulations .container > ul > li.main-content .content {
    overflow-x: visible;
    max-height: unset;
  }
}
.regulations .container > ul > li.main-content .content > ul {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: simp-chinese-informal;
  height: calc(100% + 400px);
  width: 100%;
  max-height: 690px;
}

@media only screen and (max-width: 1599px) {
  .regulations .container > ul > li.main-content .content > ul {
    height: auto;
    max-height: 180%;
  }
}
@media only screen and (max-width: 1179px) {
  .regulations .container > ul > li.main-content .content > ul {
    max-height: 300%;
  }
}
@media only screen and (max-width: 830px) {
  .regulations .container > ul > li.main-content .content > ul {
    margin-bottom: 20px;
    max-height: unset;
    height: auto;
  }
}
@media only screen and (max-width: 1024px) {
  .regulations .container > ul > li.main-content .content > ul {
    max-height: 1300px;
  }
}
@media screen and (max-height: 855px) {
  .regulations .container > ul > li.main-content .content > ul {
    max-height: 1000px;
  }
}
@media screen and (max-height: 765px) {
  .regulations .container > ul > li.main-content .content > ul {
    max-height: 820px;
  }
}
@media only screen and (max-width: 1280px) and (max-height: 765px) {
  .regulations .container > ul > li.main-content .content > ul {
    max-height: 1000px;
  }
}
.regulations .container > ul > li.main-content .content > ul:after {
  content: "";
  position: absolute;
  right: calc(50% + 5px);
  width: 1px;
  height: 100%;
  background-color: #B3B3B3;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li.main-content .content > ul:after {
    background: transparent;
  }
}
.regulations .container > ul > li.main-content .content > ul > li {
  padding-right: 80px;
  margin-bottom: 10px;
  margin-left: 33px;
  width: 50%;
  color: #4d4d4d;
  font-size: 1.5rem;
  line-height: 22px;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li.main-content .content > ul > li {
    padding-right: 20px;
    margin-left: 30px;
    width: 100%;
  }
}
.regulations .container > ul > li.main-content .content > ul > li:marker {
  font-family: system-ui;
}

.regulations .container > ul > li.main-content .content > ul > li > ul {
  padding-left: 15px;
  list-style: decimal;
}

.regulations .container > ul > li.main-content .content > ul > li > ul > li ul {
  margin-bottom: 10px;
  padding-left: 0;
}

.regulations .container > ul > li.link-left .link-box .part {
  float: left;
}

.regulations .container > ul > li.link-left .link-box .part a {
  float: unset;
}

.regulations .container > ul > li.link-left .link-box .part a span {
  right: auto;
  left: 55px;
}

@media only screen and (max-width: 830px) {
  .regulations .container > ul > li.link-left .link-box .part a span {
    left: 30px;
  }
}
.regulations #footer {
  margin: 0 auto;
  position: absolute;
  display: inline-block;
  bottom: 20px;
  left: 50%;
  width: 1180px;
  max-width: calc(100% - 360px);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

@media only screen and (max-width: 830px) {
  .regulations #footer {
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
    left: 0%;
    bottom: 0;
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@media only screen and (max-width: 830px) {
  .regulations #footer {
    max-width: 100%;
  }
}
.regulations #footer p {
  margin: 0;
  font-size: 12px;
  text-align: center;
  color: #999999;
}