@charset "utf-8";

/* CSS Document */

@media screen and (max-width: 480px) {
  body .other-row.row .rank {
    position: absolute;
    top: -40px;
    left: -2px;
    z-index: 99;
    font-size: 36px;
  }
}
@media screen and (max-width: 770px) {
  .top-row.row {
    display: grid;
    grid-template-columns: auto auto;
    margin-bottom: 32px;
  }
  .top-row.row .rank {
    position: absolute;
    top: -44px;
    left: -30px;
    z-index: 99;
    font-size: 68px;
  }

  .top-row.row .ahead {
    position: relative;
    width: 90%;
    margin: auto;
  }
  .top-row.row .ahead img {
    max-height: 350px;
  }

  .other-row.row {
    display: grid;
    grid-template-columns: auto auto auto;
    row-gap: 32px;
    margin-top: 20px;
  }

  .other-row.row .rank {
    position: absolute;
    top: -42px;
    left: -4px;
    z-index: 99;
    font-size: 36px;
    min-width: auto;
  }

  .other-row.row .behind {
    position: relative;
    width: 90%;
    margin: auto;
  }

  /* .other-row {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-items: center;
    gap: 4px;
    margin-top: auto;
    margin-bottom: 12px;
  }
  .item-box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
  } */
}

@media screen and (min-width: 771px) {
  .top-row.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 12px;
    width: min(64%, 500px);
  }
  .other-row.row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    gap: 4px;
    margin-top: auto;
    margin-bottom: 12px;
  }
  .item-box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
  }
}

body {
  background: black;
  margin: 0;
  padding: 0;
  font-family: "Noto Serif TC", serif;
  color: #222222;
  text-decoration: none;
  letter-spacing: 2px;
}

a {
  color: #cb3817;
  text-decoration: none;
}

/* menuBar */
.menu-bar {
  position: fixed;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, #1f0b02 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 999;
  top: 0;
}

.menu-container {
  max-width: 1920px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: top;
  margin: 0 auto;
  padding: 0 32px;
}

.logo img {
  width: 160px;
  height: 28.5px;
  padding-top: 24px;
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.nav-bar {
  display: flex;
  justify-content: end;
  align-items: top;
}

.nav {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 0 24px;
  transition: 0.2s;
  cursor: pointer;
  padding: 16px 16px 24px;
  background: url(../images/yellow-arrow.svg) #e6b04c no-repeat;
  background-position: top -20px left 48px;
  clip-path: polygon(100% 0%, 100% 70%, 50% 100%, 0% 70%, 0% 0%);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
}

.nav:hover {
  background-position: top 0px left 48px;
}

.nav.active {
  background-position: top 0px left 48px;
}

.social-media-btn {
  width: 24px;
  height: 24px;
  margin: 20px 0 0 24px;
  background-size: 100%;
  background-repeat: no-repeat;
  transition: 0.2s;
}

.fb {
  background-image: url("../images/icon-fb.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.line {
  background-image: url("../images/icon-line.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.x {
  background-image: url("../images/icon-x.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.plurk {
  background-image: url("../images/icon-plurk.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.threads {
  background-image: url("../images/icon-threads.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.fb-m {
  background-image: url("../images/icon-fb-m.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.line-m {
  background-image: url("../images/icon-line-m.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.x-m {
  background-image: url("../images/icon-x-m.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.plurk-m {
  background-image: url("../images/icon-plurk-m.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.threads-m {
  background-image: url("../images/icon-threads-m.svg");
  filter: brightness(0) saturate(55%) invert(60%) sepia(65%) saturate(2000%)
    hue-rotate(15deg) brightness(95%) contrast(100%);
}

.social-media-btn:hover {
  transform: scale(1.15);
}

/* menu-m */

.menu-m-button {
  width: 36px;
  height: 36px;
  padding: 24px 0;
  box-sizing: border-box;
  display: none;
}

.menu-m-icon {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 6px;
  background-color: #fcd37b;
}

.menu-m {
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.98);
  position: fixed;
  z-index: 9999;
  display: none;
}

.close {
  position: absolute;
  top: 0;
  right: 24px;
}

.close .deg-45 {
  transform: rotate(45deg);
  margin-top: 10px;
}

.close .deg-315 {
  transform: rotate(315deg);
  margin-top: -10px;
}

.menu-list {
  width: 80%;
  margin: 0 auto;
  list-style-type: none;
  padding: 0;
  margin-top: 60px;
  color: #ffffff;
  letter-spacing: 4px;
}

/* .menu-list a {
    color: #ffffff;
} */

.menu-item {
  text-align: center;
  font-size: 26px;
  padding: 16px;
  font-weight: 700;
}
.menu-item img {
  width: min(50%, 220px);
}
.menu-item-s {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 22px;
  padding: 32px 7%;
  font-weight: 400;
}

.menu-item-s a {
  margin: 0 5% 10%;
}

/* kv */
.kv-pc {
  max-width: 2130px;
  margin: 0 auto;
}

.kv-pc img {
  display: block;
}

.kv-m {
  display: none;
}

/* content */
.section {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-image: url(../images/main-bg.jpg);
  background-position: top center;
  background-repeat: repeat-y;
  background-attachment: fixed;
  background-size: 2130px;
  overflow: hidden;
  display: none;
}

.section-title {
  margin: auto;
  text-align: center;
  margin-bottom: 48px;
}

.space {
  margin-right: 20px;
}

.orange {
  /* background: url(../images/wave-orange.svg) repeat-x top left;
    color: rgba(255, 162, 121, 0.8); */
  color: #f7ca6e;
}

.purple {
  /* background: url(../images/wave-purple.svg) repeat-x top left; 
    color: rgba(158, 116, 244, 0.80);*/
  color: #f7ca6e;
}

.pink {
  /* background: url(../images/wave-pink.svg) repeat-x top left;
    color: rgba(249, 156, 209, 0.80); */
  color: #f7ca6e;
}

.blue {
  /* background: url(../images/wave-blue.svg) repeat-x top left;
    color: rgba(97, 196, 253, 0.80); */
  color: #f7ca6e;
}

.green {
  /* background: url(../images/wave-green.svg) repeat-x top left; 
    color: rgba(106, 232, 195, 0.80);*/
  color: #f7ca6e;
}

.yellow {
  /* background: url(../images/wave-yellow.svg) repeat-x top left;
    color: rgba(248, 201, 93, 0.80); */
  color: #f7ca6e;
}

.department {
  width: 100%;
  height: auto;
  background-size: auto 270px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-bottom: 64px;
  padding: 0 5%;
  margin: 0 auto 80px;
}

.heading {
  width: 100%;
  /* color: #ffffff; */
  text-align: center;
  font-weight: 600;
  display: inline-flex;
  justify-content: space-between;
  padding: 0px 0 40px;
  align-items: end;
}

.dept-title {
  font-size: 56px;
  letter-spacing: 8px;
  text-shadow: 0px 0px 10px rgba(180, 6, 6, 0.3);
  display: flex;
  align-items: center;
}

.dept-title p {
  margin: 0;
}

.dept-title img {
  /* width: 70px; */
  height: 65px;
  margin-right: 16px;
}

.decorate-text {
  text-align: right;
  /*font-size: 21px;
     font-family: 'Sarabun', sans-serif; */
  opacity: 0.3;
  border-top: 1px solid #f7ca6e;
  width: 65%;
}

.font-md {
  font-size: 40px;
}

.light-weight {
  font-weight: 200;
}

/* ranking-area */

.content-area {
  display: flex;
  justify-content: space-between;
  /* gap: 1%;
    border-left: solid 1px #222222;
    border-right: solid 1px #222222; */
}

/* .border {
    width: 2%;
    height: auto;
    border-top: solid 1px #222222;
    border-bottom: solid 1px #222222;

} */

.content-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.row {
  display: flex;
  justify-content: space-around;
}

.ranking-align {
  height: auto;
  display: flex;
  /* font-family: 'Gloock', serif; */
  font-family: "Ledger", serif;
  font-weight: 400;
  font-style: normal;
  /* -webkit-text-stroke: 1.5px rgba(34, 34, 34, 0.8); */
}

.ranking-align img {
  box-shadow: 4px 4px 16px 5px rgba(184, 172, 145, 0.4);
  margin-top: 0px;
  transition: 0.2s;
  aspect-ratio: 1 / 1.43;
  border: solid 2px #f7ca6e;
  border-radius: 10px;
}

.ranking-align:hover img {
  transform: translateY(-12px);
}

.rank {
  overflow: hidden;
  text-align: right;
}

.ahead {
  font-size: 80px;
  align-items: flex-start;
}

.ahead .rank {
  min-width: 74px;
  padding-left: 1%;
}

.ahead img {
  width: 98%;
  height: 98%;
  max-height: 270px;
}

.behind {
  font-size: 50px;
  letter-spacing: -1px;
  align-items: flex-start;
}

.behind .rank {
  min-width: 38px;
  padding-left: 0;
  padding-right: 1%;
}

.behind img {
  width: 98%;
  height: 98%;
  max-height: 190px;
}

.row-inner {
  display: flex;
  justify-content: space-around;
  gap: 2%;
  flex-wrap: wrap;
}

.inner {
  font-size: 56px;
}

.inner img {
  width: 176px;
  height: 250px;
}

.inner-page .ranking-align {
  flex-direction: column;
  color: #f7ca6e;
}

.inner-page .rank {
  text-align: left;
}

.page-btn {
  width: 100%;
  font-size: 24px;
  padding: 10px 0;
  background-color: #f7ca6e;
  color: #cb3817;
  text-align: center;
  font-weight: 900;
  letter-spacing: 4px;
  cursor: pointer;
  transition: 0.2s;
  width: 99%;
  margin: 8px auto 0;
  border: solid 2px #bb8a38;
  border-radius: 10px;
}

.page-btn:hover {
  background-color: #33333300;
  color: #f7ca6e;
}

.back img {
  transform: rotate(180deg);
  margin-right: 16px;
}

/* years */

.years {
  margin-bottom: 48px;
}

.years-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.btn-box {
  width: 30%;
  height: 200px;
  border-radius: 15px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.year-btn {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  -webkit-text-stroke: 1.5px rgba(34, 34, 34, 0.8);
  font-family: "Sarabun", sans-serif;
  font-weight: 800;
  font-size: 90px;
}
.bg-24 {
  background-image: url(../images/event-24.jpg);
  margin-bottom: 40px;
}

.bg-23 {
  background-image: url(../images/event-23.jpg);
  margin-bottom: 40px;
}

.bg-22 {
  background-image: url(../images/event-22.jpg);
  margin-bottom: 40px;
}

.bg-21 {
  background-image: url(https://static.papy.com.tw/storage/app/media/topics/images/event528-320x200-c1.jpg);
  margin-bottom: 40px;
}

.bg-20 {
  background-image: url(https://static.papy.com.tw/storage/app/media/topics/images/event317-320x200-c1.jpg);
  margin-bottom: 40px;
}

.bg-19 {
  background-image: url(https://static.papy.com.tw/storage/app/media/topics/images/event-190-320x200-c1.jpg);
  margin-bottom: 40px;
}

.bg-18 {
  background-image: url(https://static.papy.com.tw/storage/app/media/topics/images/event-100-320x200-c2.jpg);
  margin-bottom: 40px;
}

.bg-17 {
  background-image: url(https://static.papy.com.tw/storage/app/media/topics/images/event-100-320x200-c1.jpg);
  margin-bottom: 40px;
}

.color {
  background-color: rgb(28 21 16 / 80%);
  transition: 0.2s;
  backdrop-filter: blur(5px);
  border: 1px solid rgb(233 181 84);
}

.color:hover {
  background-color: rgb(28 21 16 / 75%);
  backdrop-filter: blur(3px);
}

/* grading-area */
.table-box {
  border-radius: 10px;
  border: 2px solid #efb75a;
  background: rgba(65, 21, 4, 0.6);
  display: flex;
  width: 1461px;
  padding: 50px 80px;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.table,
.table-tr {
  display: flex;
  color: #efb75a;
  font-family: Gen Jyuu Gothic MONOSPACE;
  gap: 10px;
  width: 100%;
}

.tableHead {
  text-align: center;
  background-color: #efb75a;
  color: #411504;
  border-radius: 50px;
  margin-right: 10px;
  padding: 3px 20px;
  display: grid;
  place-items: center;
}

.trHead {
  color: #fff;
  border-radius: 3px;
  border: 1px solid #e4aa48;
  padding: 5px 20px;
  text-align: center;
  width: 50%;
  display: grid;
  place-items: center;
}

.trP {
  color: #fff;
  padding: 5px 20px;
  text-align: center;
  width: 50%;
  margin: 10px;
  display: grid;
  place-items: center;
}

.text-center {
  text-align: center;
}

.bottom-banner img {
  display: block;
  margin: 0 auto;
  max-width: 1560px;
}

.footer {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 auto;
  padding: 16px 5%;
  background-color: #222222;
  color: #fff;
  font-family: "Noto Sans TC", sans-serif;
}

.m-show {
  display: none;
}

.mask-warp {
  position: relative;
}

.blur-img {
  filter: blur(3px);
}

.mask {
  width: 100%;
  height: 92%;
  position: absolute;
  top: -2px;
  left: 0;
  background: url(../images/mask.png);
  background-size: cover;
  z-index: 98;
  transition: 0.2s;
  display: block;
  border-radius: 15px;
}

.ranking-align:hover .mask {
  transform: translateY(-12px);
}

.behind .mask {
  height: 98%;
}

#gotop {
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: url(../images/gotop.svg) top center no-repeat;
  background-size: 100%;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  transition: 0.5s;
  z-index: 9999;
}

#gotop.show {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  opacity: 1;
}

@media screen and (max-width: 1440px) {
  .nav {
    font-size: 18px;
    background-position: top -20px left 44px;
  }

  .nav:hover {
    background-position: top 0px left 44px;
  }

  .nav.active {
    background-position: top 0px left 44px;
  }

  .section {
    background-size: 1920px;
  }

  .department {
    background-size: auto 200px;
  }

  .dept-title {
    font-size: 48px;
  }

  .font-md {
    font-size: 32px;
  }

  .heading {
    padding: 60px 0 32px;
  }

  .inner {
    font-size: 40px;
  }

  .footer {
    font-size: 14px;
  }
}

@media screen and (max-width: 1279px) {
  .container {
    width: 90%;
    max-width: none;
  }

  .decorate-text {
    width: 65%;
  }

  .year-btn img {
    width: 280px;
  }
}

@media screen and (max-width: 1140px) {
  .inner img {
    width: 140px;
    height: 200px;
  }

  .decorate-text {
    width: 60%;
  }

  .year-btn img {
    width: 250px;
  }
}

@media screen and (max-width: 991px) {
  .menu-bar {
    background: linear-gradient(
      180deg,
      #1f0b02 0%,
      #1f0b0200 75%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .logo img {
    width: 135px;
    height: 24px;
  }

  .nav-bar {
    display: none;
  }

  .menu-m-button {
    display: block;
  }

  .menu-container {
    padding: 0 24px;
  }

  .social-media-btn {
    width: 40px;
    height: 40px;
    margin: auto;
  }

  /* .kv-pc {
        padding-top: 60px;
    } */

  .space {
    margin-right: 16px;
  }

  .department {
    background-size: auto 140px;
  }

  .decorate-text {
    width: 60%;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .heading {
    padding: 24px 0 24px;
  }

  .dept-title {
    font-size: 36px;
  }

  .dept-title img {
    /* width:46.5px; */
    height: 50px;
  }

  .font-md {
    font-size: 24px;
  }

  .content-box {
    gap: 16px;
  }

  .ahead {
    font-size: 72px;
  }

  .ahead .rank {
    min-width: 40px;
  }

  .behind {
    font-size: 38px;
  }

  /* .behind img {
        width: 98%;
        height: 98%;
        max-height: 270px;
    } */
  .behind .rank {
    min-width: 28px;
  }

  .page-btn {
    font-size: 18px;
  }

  .page-btn img {
    width: auto;
    height: 16px;
  }

  .container {
    margin: 0 auto 60px;
  }

  /* .btn-box {
        height: 140px;
    } */

  .year-btn img {
    width: 200px;
  }

  .bg-23,
  .bg-22,
  .bg-21,
  .bg-20,
  .bg-19,
  .bg-18 {
    margin-bottom: 24px;
  }

  .inner {
    font-size: 36px;
  }

  .inner img {
    width: 105px;
    height: 150px;
  }

  #gotop {
    display: none;
  }

  .table-box {
    padding: 50px 60px;
  }

  .table {
    display: contents;
  }

  .table p,
  .table-tr p {
    margin: 6px;
  }
}

@media screen and (max-width: 770px) {
  .kv-pc {
    display: none;
  }

  .kv-m {
    display: block;
    background-color: #1a0900;
  }

  .decorate-text {
    display: none;
  }

  .section-title img {
    width: 50%;
    height: 50%;
  }

  /* .heading {
        justify-content: center;
    } */

  .dept-title img {
    width: 13%;
    height: 13%;
  }

  .dept-title {
    font-size: 50px;
  }

  .font-md {
    font-size: 33px;
  }

  .row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 3%;
  }

  .ranking-align {
    margin-bottom: 16px;
  }

  .btn-box {
    width: 45%;
  }

  .ahead {
    width: 45%;
  }

  .behind {
    width: 45%;
    font-size: 72px;
  }

  .behind img {
    max-height: 270px;
  }

  .behind .rank {
    min-width: 54px;
  }

  .page-btn {
    font-size: 24px;
    margin: 0 auto 0;
    width: 85%;
  }

  .row-inner {
    gap: 0;
  }

  .inner {
    width: 30%;
    align-items: center;
  }

  .inner img {
    width: 98%;
    height: 98%;
    max-height: 190px;
  }

  .ranking-align:hover img {
    margin-top: 0px;
  }

  .year-btn {
    font-size: 48px;
  }

  .ahead .mask {
    height: 96%;
  }

  .behind .mask {
    height: 99%;
  }

  .table-box {
    padding: 40px 40px;
  }
}

@media screen and (max-width: 576px) {
  .pc-show {
    display: none;
  }

  .m-show {
    display: block;
  }

  .border {
    display: none;
  }

  .content-area {
    justify-content: center;
    border: 0;
  }

  .content-box {
    width: 100%;
  }

  .space {
    margin-right: 8px;
  }

  .dept-title {
    font-size: 38px;
    letter-spacing: 6px;
  }

  .dept-title img {
    width: 50px;
    height: 50px;
    margin-right: 8px;
    margin-left: 8px;
  }

  .font-md {
    font-size: 25px;
  }

  .department {
    background-size: auto 120px;
  }

  .ahead {
    font-size: 76px;
    width: 68%;
  }

  .ahead .rank {
    min-width: 36px;
  }

  .behind {
    font-size: 56px;
    width: 48%;
  }

  .ahead img,
  .behind img {
    max-height: 230px;
  }

  .behind .rank {
    min-width: 36px;
  }

  .ranking-align {
    margin-bottom: 0;
    justify-content: space-around;
  }

  .content-box {
    gap: 12px;
  }

  .container {
    margin: 0 auto 32px;
  }

  .btn-box {
    width: 45%;
    height: 120px;
    border-radius: 16px;
  }

  .year-btn {
    border-radius: 16px;
    font-size: 40px;
  }

  .bg-22,
  .bg-21,
  .bg-20 {
    margin-bottom: 16px;
  }

  .row-inner {
    justify-content: space-between;
  }

  .inner {
    font-size: 26px;
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 490px) {
  .inner .rank {
    width: 100%;
  }

  .menu-item-s {
    padding: 32px 0;
  }

  .social-media-btn {
    width: 36px;
    height: 36px;
  }

  /* .container {
        width: 90%;
    } */

  .btn-box {
    width: 100%;
    height: 220px;
    border-radius: 16px;
  }

  .year-btn img {
    width: 300px;
  }

  .table-box {
    padding: 30px 20px;
  }
}
