@charset "UTF-8";

@media screen and (min-width: 1080px) {

  /*ギャラリー*/
  div.thumbs {
    width: 710px;
    margin: 0 0 85px 0;
    display: flex;
    justify-content: space-between;
  }

  p.waku {
    width: 596px;
    height: 596px;
    margin: 0;
    border: 1px solid #a9a9a9;
  }

  ul.thumbs {
    width: 102px;
    padding: 0;
    list-style: none;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }

  li.thumbs {
    width: 100px;
    height: 100px;
    border: 1px solid #999999;
    background: #f0f0f0;
    cursor: pointer;
  }
  /*流れ*/
  div.how {
    width: 710px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    background: url(../image/arrow_bottom.png) no-repeat bottom center;
  }

  div.how img {
    width: 180px;
    height: 180px;
  }

  p.category {
    width: 515px;
    font-size: 1.6rem;
  }

  div.how_b {
    width: 710px;
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
  }

  div.how_b img {
    width: 180px;
    height: 180px;
  }
}

@media screen and (max-width: 1079px) {

  /*ギャラリー*/
  div.thumbs {
    width: 100%;
    margin: 0 0 15% 0;
    padding: ;
    box-sizing: border-box;
  }

  div.thumbs img {
    vertical-align: bottom;
  }

  p.waku {
    width: 100%;
    height: auto;
    margin: 0 0 2% 0;
    border: 1px solid #a9a9a9;
    box-sizing: border-box;
  }

  #bigphoto {
    width: 100%;
    height: auto;
  }

  ul.thumbs {
    display: flex;
    padding: ;
    list-style: none;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
  }

  li.thumbs {
    flex: 0 0 25%;
    position: relative;
    float: left;
    margin-right: 2%;
    margin-bottom: 2%;
    border: 1px solid #999999;
    background: #f0f0f0;
  }

  li.thumbs1 {
    flex: 0 0 25%;
    position: relative;
    margin-bottom: 2%;
    border: 1px solid #999999;
    background: #f0f0f0;
  }

  li.thumbs img {
    width: 100%;
    height: auto;
  }

  li.thumbs1 img {
    width: 100%;
    height: auto;
  }
  /*流れ*/
    div.how {
    width: 100%;
    margin-bottom: 6%;
    padding-bottom: 4%;
    background: url(../image/arrow_bottom.png) no-repeat bottom center;
    background-size: contain;
    box-sizing: border-box;
  }

  div.how img {
    width: 50%;
    height: auto;
    padding: 0 0 0.5% 0;
  }

  p.category {
    padding: ;
    font-size: 1.6rem;
  }

  div.how_b {
    width: 100%;
        margin-bottom: 20%;
  }

  div.how_b img {
    width: 50%;
    height: auto;
    padding: 0 0 0.5% 0;
  }
}