@charset "utf-8";

body {
    position: relative;
    left: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

#upload_form {
  width: 95%;
  margin: 30px auto 10px;
  padding: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #666;
  box-shadow: 0px 5px 0px rgba(0,0,0,0.8);
  color: #fff;
  box-sizing: border-box;
  font-size: 14px;
  text-align: center;
}

#upload_form h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

#upload_form form {
  min-height: 180px;
  padding: 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #fff;
}

#upload_form dl dt {
  display: block;
  margin: 0 0 5px;
  padding: 3px 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 12px;
  color: #fff;
  font-weight: bold;
}


#upload_form dl dd .ctg_title {
  display: block;
  margin: 0 0 5px;
  padding: 3px 10px;
  background: #BBB;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  text-align: left;
}

#upload_form dl dd .ctg_title.title1 {background:#332288}
#upload_form dl dd .ctg_title.title2 {background:#88CCEE}
#upload_form dl dd .ctg_title.title3 {background:#44AA99}
#upload_form dl dd .ctg_title.title4 {background:#117733}
#upload_form dl dd .ctg_title.title5 {background:#999933}
#upload_form dl dd .ctg_title.title6 {background:#DDCC77}
#upload_form dl dd .ctg_title.title7 {background:#FF4B00}
#upload_form dl dd .ctg_title.title8 {background:#CC6677}
#upload_form dl dd .ctg_title.title9 {background:#882255}
#upload_form dl dd .ctg_title.title10 {background:#AA4499}
#upload_form dl dd .ctg_title.title11 {background:#BBB}

#upload_form dl dd {
  margin: 0 0 10px;
}

#upload_form dl dd:last-child {
  margin: 0;
}

#upload_form dl dd .ctg_list1,
#upload_form dl dd .ctg_list2,
#upload_form dl dd .ctg_list3,
#upload_form dl dd .ctg_list4,
#upload_form dl dd .ctg_list5,
#upload_form dl dd .ctg_list6,
#upload_form dl dd .ctg_list7,
#upload_form dl dd .ctg_list8,
#upload_form dl dd .ctg_list9,
#upload_form dl dd .ctg_list10,
#upload_form dl dd .ctg_list11 {
  margin-bottom: 5px;
  text-align: left;
}

#upload_form dl dd .ctg_list1 label,
#upload_form dl dd .ctg_list2 label,
#upload_form dl dd .ctg_list3 label,
#upload_form dl dd .ctg_list4 label,
#upload_form dl dd .ctg_list5 label,
#upload_form dl dd .ctg_list6 label,
#upload_form dl dd .ctg_list7 label,
#upload_form dl dd .ctg_list8 label,
#upload_form dl dd .ctg_list9 label,
#upload_form dl dd .ctg_list10 label,
#upload_form dl dd .ctg_list11 label {
  color: #000;
  font-size: 12px;
}

#upload_form dl select {
  display:block;
  width: 50%;
  margin: 0 auto;
  padding: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
  border: solid 1px #666;
    background: transparent;
  font-size: 14px;
}

#drag-drop-area {
  color: #ccc;
  margin: 0 0 20px;
  padding: 30px 0;
  border-style: dashed;
  border-width: 2px;
  line-height: 2;
  text-align: center;
  cursor: pointer;
}

.drag-and-drop-area-over {
  border-color: #eee;
}

.drag-and-drop-area-over span {
  display: inline!important;
  opacity: 0.2;
}

.drag-and-drop-area-out {
  border-color: #ccc;
}

.drag-and-drop-area-out span {
  display: inline!important;
  opacity: 1;
}

#fake_text_box {
  width: 100%;
  border: none;
  text-align: center;
}

#upload_form button {
        width: 50%;
        margin: 0 0 3px 3px;
        padding: 8px 0;
        background: #c30000;
        box-shadow: 0px 3px 0px rgba(120,0,0,1);
        transition: all .2s ease;
        border: none;
        border-radius: 3px;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
}

#upload_form button:hover {
        margin: 3px 0 0 3px;
        box-shadow: 0px 0px 0px rgba(120,0,0,1);
}

#main {
    min-height: 1000px;
    text-align: left;
    font-size: 0;
}

.category-btn {
  margin: 0 0 5px;
  text-align: center;
  font-size: 0;
}

.category-btn .button {
  display: inline-block;
  margin: 10px 5px;
  background: #696969;
  border-radius: 3px;
  box-shadow: 0px 3px 0px rgba(0,0,0,0.7);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
  box-sizing: border-box;
  vertical-align: bottom;
  cursor: pointer;
}
.category-btn .button a {
  display: block;
  padding: 10px 13px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

/*
.bgctg1{
  background: #f85032;
}

.bgctg2{
  background: #3690f0;
}

.bgctg3{
  background: #a1d54f;
}

.bgctg4{
  background: #eee;
}

.bgctg5{
  background: #f8b500;
}

.bgctg6{
  background: #c71585;
}
*/

.hbtn0 {
        margin: 10px 5px 7px!important;
        box-shadow: none!important;
        background: #d20000!important;
}

.hbtn1 {
        margin: 10px 5px 7px!important;
        box-shadow: none!important;
        background: #f85032!important;
}

.hbtn2 {
        margin: 10px 5px 7px!important;
        box-shadow: none!important;
        background: #3690f0!important;
}

.hbtn3 {
        margin: 10px 5px 7px!important;
        box-shadow: none!important;
        background: #a1d54f!important;
}

.hbtn4 {
        margin: 10px 5px 7px!important;
        box-shadow: none!important;
        background: #eee!important;
}

.hbtn5 {
        margin: 10px 5px 7px!important;
        box-shadow: none!important;
        background: #f8b500!important;
}

.hbtn6 {
        margin: 10px 5px 7px!important;
        box-shadow: none!important;
        background: #c71585!important;
}

.category-btn .button:nth-child(1):hover{
  background: #d20000;
}

.category-btn .button:nth-child(2):hover{
  background: #f85032;
}

.category-btn .button:nth-child(3):hover{
  background: #3690f0;
}

.category-btn .button:nth-child(4):hover{
  background: #a1d54f;
}

.category-btn .button:nth-child(5):hover{
  background: #eee;
}

.category-btn .button:nth-child(6):hover{
  background: #f8b500;
}

.category-btn .button:nth-child(7):hover{
  background: #c71585;
}

.category-btn .button:hover {
  margin: 10px 5px 7px;
  background: #ff8a00;
  box-shadow: none;
}

.category-btn .button.active {
  background: #6dc100;
}

#tag-category-btn {
  width: 95%;
  max-width: 800px;
  margin: 0 auto 10px;
  padding: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #35ab93;
  box-shadow: 0px 5px 0px rgba(37,124,107,1);
  color: #fff;
  box-sizing: border-box;
  font-size: 14px;
  text-align: center;
}

#tag-category-btn dt {
  cursor: pointer;
  background: url(../images/tags_menu_off.png) no-repeat 97% center;
}

#tag-category-btn dt.active {
  background: url(../images/tags_menu_on.png) no-repeat 97% center;
}

#tag-category-btn dd {
  display: none;
}

#tag-category-btn .tag_ctg_ttl {
  display: block;
  width: 150px;
  margin: 10px auto;
  padding: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #fff;
  color: #35ab93;
}

#tag-category-btn .tags_list li {
  display: inline-block;
  margin: 5px;
  border: solid 1px #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#tag-category-btn .tags_list li a {
  display: block;
  padding: 5px 10px;
  color: #fff;
  transition: all .2s ease;
}

#tag-category-btn .tags_list li a:hover {
  color: #35ab93;
  background: #fff;
}

#mybox {
  margin: 10px;
  padding: 0 0 15px;
  border-radius: 5px;
  background: #333;
}

#mybox h4 {
  padding: 10px 0;
  color: #eee;
  text-align: center;
}

#mybox_inner {
  font-size: 0;
}

#mybox_inner input[type="checkbox"]{
  display: none;
}

#mybox_inner label {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: #000;
  color: #00ebd2;
  font-size:18px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}

#mybox_inner label i {
  line-height: 30px;
}

#mybox_inner input[type="checkbox"]:checked + label {
  color: #f31414;
  animation: squash 0.5s ease-in-out infinite;
  animation-iteration-count: 1;
}

#mybox_inner .square-thumb {
    position: relative;
    display: inline-block;
    width: calc((100% - 80px)/8) !important;
    margin: 0 5px 10px !important;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    border: solid 3px #eee;
    background: #000;
    overflow: hidden;
}

#mybox button {
  display: block;
  margin: 0 auto;
  padding: 10px;
  background: #eee;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}


.square-thumb {
    position: relative;
    display: inline-block;
    width: calc((100% - 80px)/8) !important;
    margin: 0 5px 10px !important;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    border: solid 3px #eee;
    background: #000;
    overflow: hidden;
}

.square-thumb a {
  display: block;
  line-height: 0;
}

.square-thumb .copy_btn {
    position: absolute;
    top:4px;
    right: 4px;
    padding: 2px 3px;
    border: none;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background: #7d7d7d;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    z-index: 9998;
}

.banner_box {
  padding: 0!important;
}

.banner_box svg {
  color: #fff;
  background: #000;
  border-radius: 3px;
}

.banner_box img {
    display: block;
    max-width: 600px;
    width: auto;
}

.banner_box .btn-good {
  position: fixed;
  right: 30px;
  bottom: 15px;
  background: rgba(0,0,0,0.7);
  padding: 5px 10px 3px;
  border-radius: 5px;
}

.price_label {
  position: absolute;
  top: 15px;
  left: -25px;
  display: block;
  width: 110px;
  padding: 3px 0;
  background: #ff9416;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  transform: rotate(-45deg);
  z-index: 9999;
}

.copy_btn_d {
    padding: 2px 3px;
    border: none;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background: #7d7d7d;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
}

.square-thumb img {
    width: 100%;
    height: 18vw;
    object-fit: cover;
    object-position: top center;
}

.comingsoon {
     margin: 0 0 10px;
     text-align: center;
}

#bnr_form_area {
    padding: 10px;
    z-index: 9999999;
    box-sizing: border-box;
    background: #35ab93;
    box-shadow: 3px 0px 0px rgba(37,124,107,1);
}

#form_btn {
     position: absolute;
     top: 10px;
     right: -67px;
     padding: 10px;
     background: #35ab93;
     color: #fff;
     font-size: 12px;
     line-height: 15px;
     -webkit-border-top-right-radius: 4px;
     -webkit-border-bottom-right-radius: 4px;
     -moz-border-radius-topright: 4px;
     -moz-border-radius-bottomright: 4px;
     border-top-right-radius: 4px;
     border-bottom-right-radius: 4px;
     box-shadow: 0px 3px 0px rgba(37,124,107,1);
     cursor: pointer;
     z-index: 99999999;
}

#bnr_form {
    position: relative;
    max-width: 700px;
    margin: 0 auto 20px;
    padding: 10px 20px;
    background: #ccc;
    font-size: 12px;
    color: #eee;
    border-radius: 10px;
}

#bnr_form span,
#bnr_form input,
#bnr_form select,
#bnr_form textarea {
     display: block;
     width: 100%;
     padding: 5px;
     font-size: 14px;
     box-sizing: border-box;
}

#bnr_form dt {
  margin: 10px 0 5px;
  padding: 5px;
  background: #eee;
  color: #fff;
  font-size: 14px;
  text-align: left;
}

#bnr_form dd {
  padding: 0 0 10px;
}

#bnr_form textarea {
     min-height: 100px;
}

#bnr_form .textArea {
     min-height: 250px;
}

#bnr_form select {
  width: 100%;
  padding: 10px;
}

#bnr_form input[type="submit"] {
    position: relative;
    display: inline-block;
    margin: 10px 0;
    padding: 0.5em;
    text-decoration: none;
    color: #FFF;
    background: #fd9535;/*背景色*/
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: solid 2px #d27d00;/*少し濃い目の色に*/
    border-radius: 4px;/*角の丸み*/
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0px 2px 0px rgba(0,0,0,0.19);
}

#bnr_form input[type="submit"]:disabled {
    background: #bbb;/*背景色*/
    border-bottom: solid 2px #555;/*少し濃い目の色に*/
}

#bnr_form input[type="submit"]:active {
    border-bottom: solid 2px #fd9535;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
    text-shadow: none;
}

#bnr_form input[type="submit"]:disabled:active {
    border-bottom: solid 2px #555;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
    text-shadow: none;
}

.bnr_info {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background: rgba(255,255,255,0.8);
}

.bnr_info .title {
  width: 100%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.bnr_info .title a {
  color: #eee;
  transition: all .5s ease;
}

.bnr_info .title a:hover {
  color: #35ab93;
}

.tags {
  padding: 3px 3px 1px;
  font-size: 0;
}

.tags li {
  display: inline-block;
  position: relative;
  max-width: 17%;
  z-index: 9990;
  margin: 0 0 5px 5px;
  padding: 1px 5px;
  font-size: 10px;
  background: #35ab93;
  border-radius: 2px;
}

.tags a {
  display: block;
  width: 100%;
  /*! padding: 2px 5px; */
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.taglink {
  display: inline-block;
  padding: 2px 5px;
  margin: 5px 5px 0 0;
  background:#fff;
  color:#eee!important;
  border-radius: 3px;
}

.more_detail {
  background:#eee;
}

.more_detail a {
  display: block;
  padding: 2px 10px;
  font-size: 10px;
  color: #eee;
  text-align: right;
}

/*
.copybtn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px;
  background: #eee;
  border: none;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  z-index: 9999999;
}
*/

.bnrid {
    color:#fff;
    font-size: 12px;
    padding: 5px;
}

.hidden {
  display: none!important;
}

.secret_txt {
  display: none;
}

.search-area {
  width: 95%;
  max-width: 800px;
  margin: 20px auto 10px;
  padding: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #d20000;
  box-shadow: 0px 5px 0px rgba(120,0,0,1);
  color: #fff;
  box-sizing: border-box;
  font-size: 14px;
  text-align: center;
}

.search-area input {
  width: 90%;
  margin: 5px 0;
  padding: 5px;
  font-size: 16px;
  text-align: center;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: none;
  box-sizing: border-box;
  box-shadow: 0px 2px 0px inset rgba(0,0,0,0.2);
}

.other_ttl {
  background: #6f0083!important;
}

.radio_list {
  font-size: 0;
}

.radio_list li {
  display: inline-block;
  margin: 0 10px;
  font-size: 16px;
}

.radio_list li input,
.radio_list li label {
  display: inline-block!important;
}

.radio_list li input {
  width: auto!important;
  margin: 0 5px 0 0;
}



.btn-good,
.btn-good2{
    display: inline-block;
    margin: 6px 0 0;
    padding: 0 8px;
    cursor: pointer;
    color:#fff;
    font-size: 20px;
}
.btn-good:after,
.btn-good2:after {
  content:"Good!";
  font-size: 16px;
  font-weight: bold;
  vertical-align: 2px;
}
.btn-good:hover,
.btn-good2:hover{
    color: #ffca14;
}
.active{
    color: #ffca14;
    animation: squash 0.5s ease-in-out infinite;
    animation-iteration-count: 1;
}
.btn-good .active,
.btn-good2 .active{
    color: #ffca14;
}

@keyframes squash {
  0% {transform: scale(1) translate(0, 0);}
  30% {transform: scale(.8, .8) translate(0, 0);}
  60% {transform: scale(1) translate(0, 0);}
  80% {transform: scale(.9, .9) translate(0, 0);}
  100% {transform: scale(1) translate(0, 0);}
}

.good-count{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 6px 0 0;
    padding: 6px 8px 0;
    cursor: pointer;
    background: #333;
    color:#ffca14;
    font-size: 13px;
    font-weight: bold;
}

.good-count i {
  margin: 0 5px 0 0;
    font-size: 18px;
}

.good-count.active{
    color: #ffca14;
    animation: squash 0.5s ease-in-out infinite;
    animation-iteration-count: 1;
}

.good-count span {
  vertical-align: 1px;
}

.award {
  position: absolute;
  bottom: 0;
  right: 7px;
}

.gold {
  margin: 0 0 0 5px;
  font-size: 16px;
  color: #ffba00;
}

.silver {
  margin: 0 0 0 5px;
  font-size: 16px;
  color: #b5b5b5;
}

.username {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  padding: 2px;
  color: #ffba00;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  background: rgba(0,0,0,0.8);
}


.sort {
  /*width: 54%;*/
  width: 45%;
  max-width: 545px;
  /*margin: 0 auto 20px;*/
  margin: 120px auto 20px;
  padding: 10px 0;
  background: #696969;
  border-radius: 3px;
  box-shadow: 0px 3px 0px rgba(0,0,0,0.7);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
  box-sizing: border-box;
  vertical-align: bottom;
  cursor: pointer;
}

.sort:hover {
        /*margin: 9px auto 17px;*/
        margin: 129px auto 17px;
        background: #1f1c1c;
        box-shadow: 0px 0px 0px rgba(120,0,0,1);
}

.sort.active {
        /*margin: 9px auto 17px;*/
        margin: 120px auto 17px;
        background: #1f1c1c;
        box-shadow: 0px 0px 0px rgba(120,0,0,1);
}

#iine_score {
        width: 1024px;
        margin: 20px auto;
}

#iine_score h2 {
  padding: 10px 0;
  font-size: 18px;
  text-align: center;
}

#iine_score table {
  width: 100%;
  border-collapse: collapse;
  border: solid 1px #000;
}

#iine_score table th.sort {
  box-shadow: none;
  border-radius: 0;
}

#iine_score table th.sort.active {
  animation: none;
}

#iine_score table th,
#iine_score table td {
   padding: 5px 0;
  border: solid 1px #000;
   font-size: 14px;
}

#iine_score table td {
  text-align: center;
}

#iine_score table th:nth-child(1){
  width: 20%;
}

#iine_score table th:nth-child(2){
  width: 20%;
}

#iine_score table th:nth-child(3){
  width: 20%;
}

#iine_score table th:nth-child(4){
  width: 20%;
}

#iine_score table th:nth-child(5){
  width: 20%;
}




#js-show-popup1 {
  display: block;
  /*width: 54%;*/
  max-width: 545px;
  width: 45%;
  margin: 0 auto 10px;
  padding: 10px 0;
  background: #696969;
  border-radius: 3px;
  box-shadow: 0px 3px 0px rgba(0,0,0,0.7);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
  box-sizing: border-box;
  vertical-align: bottom;
  cursor: pointer;
}

#js-show-popup1:hover {
        margin: 9px auto 7px;
        background: #1f1c1c;
        box-shadow: 0px 0px 0px rgba(120,0,0,1);
}

#js-show-popup1.active {
        margin: 9px auto 17px;
        background: #1f1c1c;
        box-shadow: 0px 0px 0px rgba(120,0,0,1);
}

.spopup{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: .6s;
}
.spopup.is-show {
  opacity: 1;
  visibility: visible;
}
.spopup-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 80%;
  max-width: 100%;
  padding: 25px;
  background-color: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  z-index: 2;
  max-height: 600px;
  overflow: auto;
}
.spopup-inner img {
  width: 100%;
}
.close-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}
.close-btn i {
  font-size: 20px;
  color: #eee;
}
.black-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
  z-index: 1;
  cursor: pointer;
}
.spop_dl {
  overflow: auto;
	max-height: 550px;
	padding: 10px;
}
.spop_dl dt {
  margin: 0 0 10px;
  color:#057ea6;
  font-size: 1.2rem;
}
.spopup:nth-child(3) dt,
.spopup:last-child dt {
  color:#ef2476;
}

.spopup:nth-child(3) h4,
.spopup:last-child h4 {
  padding: 10px 0;
  color: #ef2476;
  font-weight: 500;
}

.spopup:nth-child(3) li,
.spopup:last-child li {
	margin: 5px 0;
}

.spopup:nth-child(3) li:before,
.spopup:last-child li:before {
  content: "◆";
  color: #ef2476;
}

.ctg_name {
  display: block;
  padding: 5px 0;
  color: #eee;
}
.member_score_bg{
  background: #696969;
  color: #fff;
}
#iine_score table td.avgood{
   display: none;
}


/*アーカイブ機能*/
#archive {
    margin: 20px auto;
}

.nav {
    display: flex;
    width: 100%;
    justify-content: center;
}

.nav>li {
    position: relative;
    width: 120px;
    border-right: 1px solid #eee;
}
.nav>li.has-sub{
    font-weight: bold;
}
.nav>li.has-sub .sub li a{
    font-weight: normal;
}
.nav>li:first-child {
    border-left: 1px solid #eee;
}

.nav {
    flex-flow: row wrap;
    cursor: pointer;
}

.nav a {
    display: block;
    line-height: 1;
    z-index: 1;
    padding: 3px 0;
    font-size: 16px;
    color: #eee;
    text-align: center;
}

.sub {
    display: none;
    position: absolute;
    left: 0;
    top: 24px;
    width: 100%;
    z-index: 3;
}

.sub>li>a {
    font-size: 16px;
    color: #fff;
    line-height: 1.75;
    background-color: #333;
}

.sub>li>a:hover {
    background-color: #000;
    opacity: 1;
}

.has-sub:first-of-type .sub li:nth-of-type(1),
.has-sub:first-of-type .sub li:nth-of-type(2),
.has-sub:first-of-type .sub li:nth-of-type(3),
.has-sub:first-of-type .sub li:nth-of-type(4),
.has-sub:first-of-type .sub li:nth-of-type(5),
.has-sub:first-of-type .sub li:nth-of-type(6) {
    display: none;
}