/* ------------------------------
 width: all
------------------------------ */
main section.s01 .wrapper {
  width: 1000px;
  margin: 0 auto;
}

main section.s01 .wrapper .dl01 {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

main section.s01 .wrapper .dl01 .dt {
  width: 501px;
}

main section.s01 .wrapper .dl01 dd {
  width: 499px;
}

main section.s01 .wrapper .dl01 dd a {
  display: block;
  text-decoration: none;
}

main section.s01 .wrapper .dl01 dd a img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}

main section.s02 {
  margin-top: 50px;
}

main section.s02 .wrapper {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}

main section.s02 .wrapper .gallerylist {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-height: 1000px;
  overflow: hidden;
}

main section.s02 .wrapper .gallerylist.opened {
  max-height: none;
}

main section.s02 .wrapper .gallerylist li {
  width: 25%;
  border-right: 1px solid #fff;
  position: relative;
  margin-top: 1px;
  background-color: #000;
}

main section.s02 .wrapper .gallerylist li:hover {
  cursor: pointer;
}

main section.s02 .wrapper .gallerylist li:hover .photobox {
  opacity: .5;
}

main section.s02 .wrapper .gallerylist li .photobox {
  width: 249px;
  height: 249px;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

main section.s02 .wrapper .gallerylist li .photobox .photo {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  -o-object-position: 50% 50%;
  object-position: 50% 50%;
}

main section.s02 .wrapper .largephotobox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  padding-top: 100px;
  display: none;
  z-index: 10000000;
}

main section.s02 .wrapper .largephotobox .box03 {
  display: inline-block;
  position: relative;
}

main section.s02 .wrapper .largephotobox .box03 .photo {
  display: block;
  max-width: 100%;
  max-height: 600px;
}

main section.s02 .wrapper .largephotobox .box03 p {
  text-align: center;
  font-size: 17px;
  color: #fff;
  line-height: 30px;
  margin-top: 15px;
  padding: 10px 60px;
}

main section.s02 .wrapper .largephotobox .box03 .prev {
  width: 40px;
  display: block;
  position: fixed;
  top: 50%;
  margin-top: -20px;
  left: 40px;
  z-index: 100000;
}

main section.s02 .wrapper .largephotobox .box03 .prev:hover {
  cursor: pointer;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
  opacity: .6;
}

main section.s02 .wrapper .largephotobox .box03 .next {
  width: 40px;
  display: block;
  position: fixed;
  top: 50%;
  margin-top: -20px;
  right: 40px;
  z-index: 100000;
}

main section.s02 .wrapper .largephotobox .box03 .next:hover {
  cursor: pointer;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
  opacity: .6;
}

main section.s02 .wrapper .largephotobox .box03 .close {
  width: 50px;
  display: block;
  position: fixed;
  right: 40px;
  bottom: 40px;
}

main section.s02 .wrapper .largephotobox .box03 .close:hover {
  opacity: .5;
  cursor: pointer;
}

main section.s02 .btn_more {
  font-size: 17px;
  line-height: 18px;
  text-align: center;
  width: 120px;
  border: 1px solid #000;
  padding: 10px 0;
  cursor: pointer;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
  margin: 50px auto 0;
}

main section.s02 .btn_more:hover {
  opacity: .6;
}

main section.s02 .bnr02 {
  width: 1000px;
  display: block;
  margin: 130px auto 0;
}

main section.s02 .bnr02 img {
  width: 100%;
  display: block;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  main section.s01 .wrapper {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
  }
  main section.s01 .wrapper .dl01 {
    display: block;
  }
  main section.s01 .wrapper .dl01 .dt {
    width: 100%;
  }
  main section.s01 .wrapper .dl01 dd {
    max-width: 100%;
    margin: 0 auto;
  }
  main section.s01 .wrapper .dl01 dd a {
    display: block;
    text-decoration: none;
  }
  main section.s01 .wrapper .dl01 dd a img {
    width: 100%;
    display: block;
  }
  main section.s02 {
    margin-top: 30px;
    padding: 0 20px;
  }
  main section.s02 .wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
  }
  main section.s02 .wrapper .gallerylist {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-height: calc(150vw - 60px);
    overflow: hidden;
  }
  main section.s02 .wrapper .gallerylist.opened {
    max-height: none;
  }
  main section.s02 .wrapper .gallerylist li {
    width: 50%;
    border-right: 1px solid #fff;
    position: relative;
    margin-top: 1px;
    background-color: #000;
  }
  main section.s02 .wrapper .gallerylist li:hover {
    cursor: pointer;
  }
  main section.s02 .wrapper .gallerylist li:hover .photobox {
    opacity: .5;
  }
  main section.s02 .wrapper .gallerylist li .photobox {
    width: 100%;
    height: calc(50vw - 20px);
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
  main section.s02 .wrapper .gallerylist li .photobox .photo {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
  }
  main section.s02 .wrapper .largephotobox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 30px 30px 0;
    display: none;
  }
  main section.s02 .wrapper .largephotobox .box03 {
    display: inline-block;
    position: relative;
  }
  main section.s02 .wrapper .largephotobox .box03 .photo {
    display: block;
    max-width: 100%;
  }
  main section.s02 .wrapper .largephotobox .box03 p {
    text-align: center;
    font-size: 14px;
    color: #fff;
    line-height: 20px;
    margin-top: 10px;
    padding: 10px 50px;
  }
  main section.s02 .wrapper .largephotobox .box03 .prev {
    width: 30px;
    display: block;
    left: 15px;
    margin-top: -15px;
  }
  main section.s02 .wrapper .largephotobox .box03 .next {
    width: 30px;
    display: block;
    right: 15px;
    margin-top: -15px;
  }
  main section.s02 .wrapper .largephotobox .box03 .close {
    width: 40px;
    display: block;
    right: 20px;
    bottom: 40px;
  }
  main section.s02 .wrapper .largephotobox .box03 .close:hover {
    opacity: .5;
    cursor: pointer;
  }
  main section.s02 .btn_more {
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    width: 100px;
    border: 1px solid #000;
    padding: 7px 0;
    cursor: pointer;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    margin: 35px auto 0;
  }
  main section.s02 .btn_more:hover {
    opacity: .6;
  }
  main section.s02 .bnr02 {
    width: 100%;
    display: block;
    margin: 70px auto 0;
  }
  main section.s02 .bnr02 img {
    width: 100%;
    display: block;
  }
}
