.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;
}

.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 }

/* 2025 */
#gallery2025 { margin: 0 auto }
#gallery2025 .archives ul { margin:0; padding:0 0 0 152px; list-style:none }
#gallery2025 .archives ul li {
  float: left;
  height: 44px;
  margin-right: 12px;
}
#gallery2025 .archives ul li:last-child { margin-right: 0 }
#gallery2025 .archives ul li a {
  display: block;
  text-indent: -99999px;
  overflow: hidden;
  height: 40px;
  background-repeat: no-repeat;
  font-variant-position: 0 0;
}
#gallery2025 #gallery { margin-bottom: 20px }
#gallery2025 #gallery .thumbnail { display: flex; justify-content: space-around; flex-wrap: wrap }
#gallery2025 #gallery .thumbnail::before{
  content:"";
  display: block;
  width:calc(1040px / 3);
  order:1;
}
#gallery2025 #gallery .thumbnail::after{
  content:"";
  display: block;
  width:calc(1040px / 3);
}
#gallery2025 #gallery .thumbnail .thumb { width:calc(1040px / 3); overflow: hidden }
#gallery2025 #gallery .thumbnail .thumb img { width: auto; max-width: 100%; -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) }
#gallery2025 #gallery .thumbnail .thumb a { display: block; width: 100% }
#gallery2025 #gallery .thumbnail .thumb a:hover img {-webkit-transform: scale(1.1);transform: scale(1.1);}
#gallery2025 #gallery .thumbnail .thumb a {
  position: relative;
  display: block;
  outline: none;
  transition: all .2s;
  background-repeat: no-repeat;
  background-position: center;
}

/* 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; min-height: 85px; max-width: 960px; color: #333; box-sizing: border-box }
.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 }


/*
==================================================
～1040
==================================================
*/
@media screen and ( max-width:1040px) {
  .year { font-size: 125% }
  .mfp-title { padding-right: 0 }
/*～1040 END*/
}
/*
==================================================
～670
==================================================
*/
@media screen and ( max-width:670px ){
  .mfp-bottom-bar { padding: 10px }
/*～670 END*/
}