/**
 * _component.scss
 */
/* mixin
--------------------------------------------------*/
/**
 * warunaiwa-gallery.scss
 */
#warunaiwa-gallery {
  /* #header */
  /* PC
  --------------------------------------------------*/
  /* #galleryArea */
  /* TB
  --------------------------------------------------*/
  /* SP
  --------------------------------------------------*/
}
#warunaiwa-gallery .gNav > ul > li.warunaiwa a,
#warunaiwa-gallery .gNav > ul > li.warunaiwa .label {
  border-bottom-color: #0018c0;
}
#warunaiwa-gallery #galleryArea .lead {
  font-size: 20px;
  line-height: 1.7;
  text-align: center;
}
#warunaiwa-gallery #galleryArea .account {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}
#warunaiwa-gallery #galleryArea .account dd {
  margin-top: 10px;
}
#warunaiwa-gallery #galleryArea .account dd a {
  display: inline-block;
  position: relative;
  padding-left: 60px;
  color: #000000;
  line-height: 50px;
  text-decoration: none;
}
#warunaiwa-gallery #galleryArea .account dd a:before, #warunaiwa-gallery #galleryArea .account dd a:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background-image: url(../imgs/instagram.svg);
  background-repeat: no-repeat;
}
#warunaiwa-gallery #galleryArea .account dd a:before {
  background-color: #0018c0;
  background-position: center -50px;
}
#warunaiwa-gallery #galleryArea .account dd a:after {
  background-color: #ffffff;
  background-position: center top;
  opacity: 0;
}
.noTouch #warunaiwa-gallery #galleryArea .account dd a:hover {
  text-decoration: underline;
}
.noTouch #warunaiwa-gallery #galleryArea .account dd a:hover:before {
  opacity: 0;
}
.noTouch #warunaiwa-gallery #galleryArea .account dd a:hover:after {
  opacity: 1;
}
#warunaiwa-gallery #galleryArea .list {
  zoom: 1;
  margin: 60px auto 60px;
}
#warunaiwa-gallery #galleryArea .list:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}
#warunaiwa-gallery #galleryArea .list > li {
  overflow: hidden;
  float: left;
  width: 235px;
  height: 235px;
  margin: 20px 0 0 20px;
}
#warunaiwa-gallery #galleryArea .list > li:nth-child(4n+1) {
  margin-left: 0;
}
#warunaiwa-gallery #galleryArea .list > li:nth-child(1), #warunaiwa-gallery #galleryArea .list > li:nth-child(2), #warunaiwa-gallery #galleryArea .list > li:nth-child(3), #warunaiwa-gallery #galleryArea .list > li:nth-child(4) {
  margin-top: 0;
}
#warunaiwa-gallery #galleryArea .list > li a {
  display: block;
  position: relative;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.84;
  text-decoration: none;
}
#warunaiwa-gallery #galleryArea .list > li a .thumbnail {
  padding-bottom: 100%;
}
#warunaiwa-gallery #galleryArea .list > li a .text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 24, 192, 0.7);
  opacity: 0;
  -webkit-transition: all 0.3s ease-in 0s;
  -moz-transition: all 0.3s ease-in 0s;
  -o-transition: all 0.3s ease-in 0s;
  -ms-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
}
#warunaiwa-gallery #galleryArea .list > li a .text .inner {
  display: table;
  width: 100%;
  height: 100%;
}
#warunaiwa-gallery #galleryArea .list > li a .text .inner dl {
  display: table-cell;
  padding: 20px;
  text-align: center;
  vertical-align: middle;
}
#warunaiwa-gallery #galleryArea .list > li a .text .inner dl dt {
  margin-bottom: 15px;
}
.noTouch #warunaiwa-gallery #galleryArea .list > li a:hover .text {
  opacity: 1;
}
@media only screen and (max-width: 1095px) {
  #warunaiwa-gallery #galleryArea .list {
    width: 745px;
  }
  #warunaiwa-gallery #galleryArea .list > li:nth-child(4n+1) {
    margin-left: 20px;
  }
  #warunaiwa-gallery #galleryArea .list > li:nth-child(3n+1) {
    margin-left: 0;
  }
  #warunaiwa-gallery #galleryArea .list > li:nth-child(4) {
    margin-top: 20px;
  }
}
@media only screen and (max-width: 841px) {
  #warunaiwa-gallery #galleryArea .list {
    width: 510px;
  }
  #warunaiwa-gallery #galleryArea .list > li:nth-child(3n+1) {
    margin-left: 20px;
  }
  #warunaiwa-gallery #galleryArea .list > li:nth-child(2n+1) {
    margin-left: 0;
  }
  #warunaiwa-gallery #galleryArea .list > li:nth-child(3) {
    margin-top: 20px;
  }
}
@media only screen and (max-width: 767px) {
  #warunaiwa-gallery {
    /* #galleryArea */
  }
  #warunaiwa-gallery #galleryArea .lead {
    font-size: 15px;
    line-height: 1.6;
  }
  #warunaiwa-gallery #galleryArea .account {
    font-size: 13px;
  }
  #warunaiwa-gallery #galleryArea .account dd a {
    padding-left: 50px;
    line-height: 40px;
    text-decoration: none;
  }
  #warunaiwa-gallery #galleryArea .account dd a:before, #warunaiwa-gallery #galleryArea .account dd a:after {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    -moz-background-size: 40px 120px;
    -o-background-size: 40px 120px;
    -webkit-background-size: 40px 120px;
    background-size: 40px 120px;
  }
  #warunaiwa-gallery #galleryArea .account dd a:before {
    background-position: center -40px;
  }
  #warunaiwa-gallery #galleryArea .list {
    width: auto;
    max-width: 640px;
    margin: 40px auto 30px;
  }
  #warunaiwa-gallery #galleryArea .list > li {
    float: none;
    width: auto;
    height: auto;
    margin-top: 30px !important;
    margin-left: 0 !important;
  }
  #warunaiwa-gallery #galleryArea .list > li:first-child {
    margin-top: 0 !important;
  }
  #warunaiwa-gallery #galleryArea .list > li a {
    color: #000000;
    font-size: 13px;
    line-height: 1.34;
  }
  #warunaiwa-gallery #galleryArea .list > li a .text {
    position: static;
    height: auto;
    background: none;
    opacity: 1;
  }
  #warunaiwa-gallery #galleryArea .list > li a .text .inner {
    display: block;
    height: auto;
  }
  #warunaiwa-gallery #galleryArea .list > li a .text .inner dl {
    display: block;
    margin-top: 10px;
    padding: 0;
    text-align: right;
  }
  #warunaiwa-gallery #galleryArea .list > li a .text .inner dl dt {
    margin-bottom: 0;
  }
  #warunaiwa-gallery #galleryArea .list > li a .text .inner dl dd {
    display: none;
  }
}
