.selectbox {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 100%;
}
.selectbox::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #535353;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
  pointer-events: none;
  transform: rotate(0deg) translateY(0%);
  top: 40%;
}
.selectbox select {
  appearance: none;
  width: 100%;
  height: 2.8em;
  padding: .4em calc(.8em + 30px) .4em .8em;
  border: 1px solid #d0d0d0;
  border-radius: 25px;
  background-color: #fff;
  color: #333;
  font-size: 1em;
  cursor: pointer;
}

.contents {
  padding: 0 20px;
  width:auto;
  float:none;
}
.contents .contents-inner {
  width: auto;
  background: none;
  padding: 10px 0 30px 0;
}
.contents .contents-inner h1 { margin: 0; }
div.registration-history { border-top: none; }

.monthLink2017 { background: url(/game/gallery/image/2017/playbackgallery2017.jpg) no-repeat; width: 900px; margin: 0 auto; }
.monthLink2017 .archives ul { margin:0; padding:0 0 0 109px; list-style:none; }
.monthLink2017 .archives ul li {
  float: left;
  width: 130px;
  height: 50px;
  margin-right: 2px;
}
.monthLink2017 .archives ul li:last-child { margin-right: 0; }
.monthLink2017 .archives ul li a {
  display: block;
  font-size: 20px;
  line-height: 50px;
  font-weight: bold;
  text-align: center;
  color: #FFF;
  background-color: #034F5A;
}
.monthLink2017 .archives ul li.on a { background-color: #07C6E0; }
.monthLink2017 .archives ul li a:hover { background-color: #07C6E0; text-decoration: none; }
.simplegallery {
  background-color: #000000;
  margin: 0 auto 80px;
  width: 900px;
  height: auto;
  overflow: hidden;
}
.simplegallery .content {
  position: relative;
  overflow: hidden;
  background: url(/game/gallery/image/2017/playbackgalleryBg.jpg);
  height: 524px;
  padding: 40px 0 0 0;
  text-align: center;
  color: #FFF;
  font-size: 16px;
  line-height: 1.5;
}
.simplegallery .content p { color: #3DE1F9; font-weight: bold; }
.simplegallery .content img { width: 680px; margin-bottom: 15px; }
.simplegallery .thumbnail { margin-left: 10px; }
.simplegallery .thumbnail .thumb {
  float: left;
  width: 168px;
  height: 105px;
  margin: 0 10px 10px 0;
  cursor: pointer;
}
.simplegallery .thumbnail .thumb img { border: 1px solid #05A7BE; width: 166px; }
.simplegallery .thumbnail .thumb:nth-child(5n) { margin-right: 0; }

/* 2020 */
#gallery2020 { width: 940px; margin: 0 auto; }
.monthLink2020 { background: url(/game/gallery/image/2020/playbackgallery2020.jpg) no-repeat; margin-bottom: 20px; }
#gallery2020 .archives ul { margin:0; padding:0 0 0 152px; list-style:none; }
#gallery2020 .archives ul li {
  float: left;
  width: 140px;
  height: 44px;
  margin-right: 12px;
}
#gallery2020 .archives ul li:last-child { margin-right: 0; }
#gallery2020 .archives ul li a {
  display: block;
  text-indent: -99999px;
  overflow: hidden;
  width: 140px;
  height: 40px;
  background-repeat: no-repeat;
  font-variant-position: 0 0;
}
#gallery2020 .archives ul li:nth-child(1) a {background-image: url(/game/gallery/image/2020/month6.png);}
#gallery2020 .archives ul li:nth-child(2) a {background-image: url(/game/gallery/image/2020/month7.png);}
#gallery2020 .archives ul li:nth-child(3) a {background-image: url(/game/gallery/image/2020/month8.png);}
#gallery2020 .archives ul li:nth-child(4) a {background-image: url(/game/gallery/image/2020/month9.png);}
#gallery2020 .archives ul li:nth-child(5) a {background-image: url(/game/gallery/image/2020/month10.png);}
#gallery2020 .archives ul li.on:nth-child(1) a,
#gallery2020 .archives ul li:nth-child(1) a:hover {background-image: url(/game/gallery/image/2020/month6-on.png);}
#gallery2020 .archives ul li.on:nth-child(2) a,
#gallery2020 .archives ul li:nth-child(2) a:hover {background-image: url(/game/gallery/image/2020/month7-on.png);}
#gallery2020 .archives ul li.on:nth-child(3) a,
#gallery2020 .archives ul li:nth-child(3) a:hover {background-image: url(/game/gallery/image/2020/month8-on.png);}
#gallery2020 .archives ul li.on:nth-child(4) a,
#gallery2020 .archives ul li:nth-child(4) a:hover {background-image: url(/game/gallery/image/2020/month9-on.png);}
#gallery2020 .archives ul li.on:nth-child(5) a,
#gallery2020 .archives ul li:nth-child(5) a:hover {background-image: url(/game/gallery/image/2020/month10-on.png);}

#gallery2020 #gallery { margin-bottom: 20px; }
#gallery2020 #gallery .thumbnail .thumb { float: left; width: 300px; overflow: hidden; }
#gallery2020 #gallery .thumbnail .thumb img { width: 300px;-webkit-transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) }
#gallery2020 #gallery .thumbnail .thumb a { display: block; width: 300px; height: 187px; }
#gallery2020 #gallery .thumbnail .thumb a:hover img {-webkit-transform: scale(1.1);transform: scale(1.1);}
#gallery2020 #gallery .thumbnail .thumb a:hover::after { opacity: 1;-webkit-transform: scale(1);transform: scale(1)}

#gallery2020 #gallery .thumbnail .thumb a {
  position: relative;
  display: block;
  outline: none;
  transition: all .2s;
  background-repeat: no-repeat;
  background-position: center;
}
#gallery2020 #gallery .thumbnail .thumb a::before,
#gallery2020 #gallery .thumbnail .thumb a::after {
  position: absolute;
  z-index: 2;
  content: '';
  width: 0;
  height: 0;
  border: 4px solid transparent;
}
#gallery2020 #gallery .thumbnail .thumb a::before {
  top: -11px;
  left: -8px;
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
}
#gallery2020 #gallery .thumbnail .thumb a::after {
  bottom: -16px;
  right: 0;
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
}
#gallery2020 #gallery .thumbnail .thumb a:hover::before,
#gallery2020 #gallery .thumbnail .thumb a:hover::after { width: 308px; height: 195px; }
#gallery2020 #gallery .thumbnail .thumb a:hover::before {
  border-bottom-color: #00adff;
  border-left-color: #00adff;
  transition: height .3s, width .3s .3s;
}
#gallery2020 #gallery .thumbnail .thumb a:hover::after {
  border-top-color: #00adff;
  border-right-color: #00adff;
  transition: height .3s, width .3s .3s;
}

/* magnific-popup.js */
.mfp-bg { background-color: #000; }
img.mfp-img { padding: 40px 0 85px; }
.mfp-bottom-bar { margin-top: -85px; background-color: #FFF; padding: 20px; height: 85px; width: 680px; color: #333; }
.mfp-title { color: #333; font-size: 16px; font-weight: bold; }
.mfp-figure small { color: #333; font-size: 18px; font-weight: normal; margin-top: 10px; line-height:28px; }


/* NAV  */
.flexBox.nav { font-family: brothers, sans-serif; font-weight: 700; font-style: normal; margin-bottom: 20px; }
.flexBox.nav .year { font-size: 40px; color: #131E55; width: 15%; line-height: 1.4; }
.bg-horizon-list { width: 85%; }
.bg-horizon-list ul li a { font-size: 20px; }
.bg-horizon-list ul li.on a {
    text-decoration: none;
    background-color: #003579;
    border-top-color: #E5001B;
}