@charset "UTF-8";
/* ===================================================================
  use photogallery
=================================================================== */
/*---------------------------------------------------------------------------*/
@media screen and (min-width: 769px), print {
  /* ===================================================================
  use pc
=================================================================== */
  
  .photogallery_conte {
    margin-bottom: 50px;
  }
  .photogallery_conte h2 {
    font-size: 3rem;
    padding: 40px 0;
    text-align: center;
  }
  .photogallery_conte h2 span {
    padding: 40px 0;
    text-align: center;
    position: relative;
  }
  .photogallery_conte h2 span::after {
    content: "";
    display: inline-block;
    position: absolute;
    left: -30px;
    top: 22px;
    background: url("../common/images/stripe.png") no-repeat;
    width: 65px;
    height: 100%;
    z-index: -1;
  }
/*
  .photogallery_conte h2 {
    font-size: 3rem;
    padding: 40px 0 40px 30px;
    background: url("../common/images/stripe.png") no-repeat 44% center;
    margin: 0 auto;
    text-align: center;
  }
*/
  .photogallery_conte h3 {
    width: 1190px;
    margin: 0 auto;
  }
  .photogallery_conte .contents {
    padding-top: 0;
  }
  .photogallery_conte ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 1190px;
    margin: 0 auto 20px;
  }
  .photogallery_conte ul li {
    box-sizing: border-box;
    width: 230px;
    height: 230px;
    margin-bottom: 10px;
  }
  .photogallery_conte ul li img {
    width: 100%;
    height: 100%;
  }
  .photogallery_conte ul li a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    background-size: cover;
    border: 4px solid #000;
    outline: none;
    transition: all .1s;
  }
  .photogallery_conte ul li a::before,
  .photogallery_conte ul li a::after {
    position: absolute;
    z-index: 2;
    content: '';
    width: 0;
    height: 0;
    border: 4px solid transparent;
  }
  .photogallery_conte ul li a::before {
    top: -4px;
    left: -4px;
  }
  .photogallery_conte ul li a::after {
    bottom: -4px;
    right: -4px;
  }
  .photogallery_conte ul li a:hover {
    color: #3be5ae;
  }
  .photogallery_conte ul li a:hover::before,
  .photogallery_conte ul li a:hover::after {
    width: 100%;
    height: 100%;
  }
  .photogallery_conte ul li a:hover::before {
    border-bottom-color: #e4007f;
    border-left-color: #e4007f;
    transition: height .2s, width .2s .2s;
  }
  .photogallery_conte ul li a:hover::after {
    border-top-color: #1d2088;
    border-right-color: #1d2088;
    transition: height .2s, width .2s .2s;
  }
  
}

@media screen and (max-width: 768px) {
  /* ===================================================================
  use sp
=================================================================== */
  .photogallery_conte {
    padding: 3vw 0 0;
  }
  .photogallery_conte h2 {
    font-size: 3rem;
    text-align: center;
    padding: 3vw 0;
  }
  .photogallery_conte h2 span {
    text-align: center;
    position: relative;
    padding: 1vw 0;
  }
  .photogallery_conte h2 span::after {
    content: "";
    display: inline-block;
    position: absolute;
    left: -30px;
    width: 65px;
    height: 100%;
    background: url("../common/images/stripe.png") no-repeat;
    background-size: auto 100%;
    z-index: -1;
  }
  .photogallery_conte h3 {
    width: 96%;
    margin: 0 auto;
  }
/*
  .photogallery_conte h2 {
    font-size: 3rem;
    line-height: 4rem;
    background: url("../common/images/stripe.png") no-repeat 26% center;
    background-size: auto 4rem;
    padding-left: 1rem;
    margin: 0 auto 6vw;
    text-align: center;
  }
*/
  .photogallery_conte ul {
    width: 96%;
    margin: 0 auto 4vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .photogallery_conte ul li {
    box-sizing: border-box;
    width: 49%;
    height: 42vw;
    margin-bottom: 3vw;
  }
  .photogallery_conte ul li img {
    width: 100%;
    height: 100%;
  }
  .photogallery_conte ul li a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    background-size: cover;
    border: 4px solid #000;
    outline: none;
    transition: all .1s;
  }
  .photogallery_conte ul li a::before,
  .photogallery_conte ul li a::after {
    position: absolute;
    z-index: 2;
    content: '';
    width: 0;
    height: 0;
    border: 4px solid transparent;
  }
  .photogallery_conte ul li a::before {
    top: -4px;
    left: -4px;
  }
  .photogallery_conte ul li a::after {
    bottom: -4px;
    right: -4px;
  }
}
