@charset "UTF-8";

main p {
  font-size: 16px;
  margin: 0;
  color: #222;
}

section {
  margin-bottom: 30px;
}

.section_title {
  background-color: rgba(244,106,30,.1);
  border-left: 5px solid #f46a1e;
  margin-bottom: 20px;
  padding: 22px;
  font-size: 18px;
}

.title__img {
  display: block;
  margin-bottom: 20px;
  width: 100%;
}

.sponsor {
  display: inline;
}
.sponsor img {
  width: 100px;
  margin-right: 5px;
}
.sponsor a {
  color: #e64b78;
  text-decoration: underline;
}

.navi {
  margin-bottom: 40px;
  border: 2px solid #f46a1e;
  padding: 20px;
  border-radius: 10px;
}
.navi h5 {
  color: #f46a1e;
  font-size: 13px;
  margin-bottom: 8px;
}
.navi h5:before {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f107";
  margin-right: 5px;
}
.navi ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.navi ul:not(:last-child) {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(244,106,30,.3);
}
.navi ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #eee;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #000;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  transition: all .2s;
}
.navi ul li a:hover {
  background-color: rgba(244,106,30,.1);
}
.navi ul li a.selected {
  background-color: #f46a1e;
  border-color: #f46a1e;
  color: #fff;
  position: relative;
}
.navi ul li a.selected:before {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f00c";
  font-size: 1em;
  position: absolute;
  left: 8px;
  color: #fff;
}

.notice {
  display: block;
  text-align: right;
  margin-bottom: 30px;
}

.gallery_set {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px 20px;
}

.gallery__item {
  position: relative;
}
.gallery__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #222;
}
.gallery__item a:hover {
  color: #e64b78;
  text-decoration: none;
}
.gallery__item a img {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  box-shadow: 3px 3px 3px 0 rgba(0,0,0,.2);
}
.gallery__item a p {
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
  line-height: 1.4;
}
.gallery__item a p.name {
  font-size: 15px;
  font-weight: 700;
}
.gallery__item.vertical img {
  width: 80%;
}

.gallery_set .bronze:after,.gallery_set .gold:after,.gallery_set .kasaku:after,.gallery_set .silver:after {
  width: 40px;
  height: 20px;
  line-height: 20px;
  border-radius: 3px;
  position: absolute;
  top: -10px;
  left: -10px;
  display: block;
  color: #fff;
  font-size: 11px;
  box-shadow: 2px 2px 2px 0 rgba(0,0,0,.2);
  border: 1px solid #fff;
  text-align: center;
}

.gallery_set .gold:after {
  content: "金賞";
  background-color: #bb9f00;
}
.gallery_set .silver:after {
  content: "銀賞";
  background-color: #959595;
}
.gallery_set .bronze:after {
  content: "銅賞";
  background-color: #8d5502;
}
.gallery_set .kasaku:after {
  content: "佳作";
  background-color: #f46a1e;
}
@media (max-width:600px){
  .navi {
    padding: 15px;
  }
  .navi ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery_set {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px 10px;
  }
  .gallery__item a p {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .gallery__item a p.name {
    font-size: 13px;
  }}
