.c-header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

@media screen and (max-width: 900px) {
  .c-header {
    display: none;
  }
}

.c-header__logo {
  margin: 0 0 0 50px;
  width: 10%;
}

.l-comment_head {
  position: relative;
  background: url(../img/special/gallery/bg_title-gallery.jpg);
  padding: 89px 0;
}

@media screen and (max-width: 900px) {
  .l-comment_head {
    background: url(../img/special/gallery/bg_title-gallery_sp.jpg);
    padding: 77px 0 75px;
  }
}

.l-comment_head__txt {
  margin: 0 auto;
  width: 606px;
}

@media screen and (max-width: 900px) {
  .l-comment_head__txt {
    width: 84%;
  }
}

@media screen and (max-width: 900px) {
  .l-in__content {
    width: 92%;
  }
}

.p-gallery {
  padding: 80px 0 0;
}

@media screen and (max-width: 900px) {
  .p-gallery {
    padding: 40px 0 5px;
  }
}

.p-gallery__contents {
  padding: 23px 0 30px;
  background: url(../img/special/gallery/bg.jpg) repeat-y left top/100% auto;
}

@media screen and (max-width: 900px) {
  .p-gallery__contents {
    padding: 0;
  }
}

.p-gallery__contents-block {
  position: relative;
}

.p-gallery__contents-block:nth-of-type(2) {
  margin-top: -5.2%;
}

@media screen and (max-width: 900px) {
  .p-gallery__contents-block:nth-of-type(2) {
    margin-top: -24.2%;
  }
}

.p-gallery__contents-block:nth-of-type(even) .p-gallery__contents-label {
  -webkit-clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

.p-gallery__contents-block:nth-of-type(odd) .p-gallery__contents-label {
  -webkit-clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.p-gallery__contents-label {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: -webkit-clip-path 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
  transition: clip-path 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
  transition: clip-path 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s, -webkit-clip-path 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.is-scrolled .p-gallery__contents-label {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%) !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%) !important;
}

.p-gallery__contents-deco-item {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.p-gallery__contents-deco-item:nth-of-type(1) {
  transition-delay: 0.1s;
}

.p-gallery__contents-deco-item:nth-of-type(2) {
  transition-delay: 0.2s;
}

.p-gallery__contents-deco-item:nth-of-type(3) {
  transition-delay: 0.3s;
}

.p-gallery__contents-deco-item:nth-of-type(4) {
  transition-delay: 0.4s;
}

.p-gallery__contents-deco-item:nth-of-type(5) {
  transition-delay: 0.5s;
}

.p-gallery__contents-deco-item:nth-of-type(6) {
  transition-delay: 0.6s;
}

.p-gallery__contents-deco-item:nth-of-type(7) {
  transition-delay: 0.7s;
}

.p-gallery__contents-deco-item:nth-of-type(8) {
  transition-delay: 0.8s;
}

.p-gallery__contents-deco-item:nth-of-type(9) {
  transition-delay: 0.9s;
}

.p-gallery__contents-deco-item:nth-of-type(10) {
  transition-delay: 1s;
}

.p-gallery__contents-deco-item:nth-of-type(11) {
  transition-delay: 1.1s;
}

.p-gallery__contents-deco-item:nth-of-type(12) {
  transition-delay: 1.2s;
}

.p-gallery__contents-deco-item:nth-of-type(13) {
  transition-delay: 1.3s;
}

.p-gallery__contents-deco-item:nth-of-type(14) {
  transition-delay: 1.4s;
}

.p-gallery__contents-deco-item:nth-of-type(15) {
  transition-delay: 1.5s;
}

.p-gallery__contents-deco-item:nth-of-type(16) {
  transition-delay: 1.6s;
}

.p-gallery__contents-deco-item:nth-of-type(17) {
  transition-delay: 1.7s;
}

.p-gallery__contents-deco-item:nth-of-type(18) {
  transition-delay: 1.8s;
}

.p-gallery__contents-deco-item:nth-of-type(19) {
  transition-delay: 1.9s;
}

.p-gallery__contents-deco-item:nth-of-type(20) {
  transition-delay: 2s;
}

.is-scrolled .p-gallery__contents-deco-item {
  opacity: 1;
  transform: scale(1);
}

.p-gallery__contents-deco-item img {
  width: 100%;
}

.p-gallery__contents-sticker-item {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.p-gallery__contents-sticker-item:nth-of-type(1) {
  transition-delay: 0.1s;
}

.p-gallery__contents-sticker-item:nth-of-type(2) {
  transition-delay: 0.2s;
}

.p-gallery__contents-sticker-item:nth-of-type(3) {
  transition-delay: 0.3s;
}

.p-gallery__contents-sticker-item:nth-of-type(4) {
  transition-delay: 0.4s;
}

.p-gallery__contents-sticker-item:nth-of-type(5) {
  transition-delay: 0.5s;
}

.p-gallery__contents-sticker-item:nth-of-type(6) {
  transition-delay: 0.6s;
}

.p-gallery__contents-sticker-item:nth-of-type(7) {
  transition-delay: 0.7s;
}

.p-gallery__contents-sticker-item:nth-of-type(8) {
  transition-delay: 0.8s;
}

.p-gallery__contents-sticker-item:nth-of-type(9) {
  transition-delay: 0.9s;
}

.p-gallery__contents-sticker-item:nth-of-type(10) {
  transition-delay: 1s;
}

.p-gallery__contents-sticker-item:nth-of-type(11) {
  transition-delay: 1.1s;
}

.p-gallery__contents-sticker-item:nth-of-type(12) {
  transition-delay: 1.2s;
}

.p-gallery__contents-sticker-item:nth-of-type(13) {
  transition-delay: 1.3s;
}

.p-gallery__contents-sticker-item:nth-of-type(14) {
  transition-delay: 1.4s;
}

.p-gallery__contents-sticker-item:nth-of-type(15) {
  transition-delay: 1.5s;
}

.p-gallery__contents-sticker-item:nth-of-type(16) {
  transition-delay: 1.6s;
}

.p-gallery__contents-sticker-item:nth-of-type(17) {
  transition-delay: 1.7s;
}

.p-gallery__contents-sticker-item:nth-of-type(18) {
  transition-delay: 1.8s;
}

.p-gallery__contents-sticker-item:nth-of-type(19) {
  transition-delay: 1.9s;
}

.p-gallery__contents-sticker-item:nth-of-type(20) {
  transition-delay: 2s;
}

.is-scrolled .p-gallery__contents-sticker-item {
  opacity: 1;
  transform: scale(1);
}

.p-gallery__contents-sticker-item img {
  width: 100%;
}

.p-gallery__contents-main-item {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.p-gallery__contents-main-item:nth-of-type(1) {
  transition-delay: 0.1s;
}

.p-gallery__contents-main-item:nth-of-type(2) {
  transition-delay: 0.2s;
}

.p-gallery__contents-main-item:nth-of-type(3) {
  transition-delay: 0.3s;
}

.p-gallery__contents-main-item:nth-of-type(4) {
  transition-delay: 0.4s;
}

.p-gallery__contents-main-item:nth-of-type(5) {
  transition-delay: 0.5s;
}

.p-gallery__contents-main-item:nth-of-type(6) {
  transition-delay: 0.6s;
}

.p-gallery__contents-main-item:nth-of-type(7) {
  transition-delay: 0.7s;
}

.p-gallery__contents-main-item:nth-of-type(8) {
  transition-delay: 0.8s;
}

.p-gallery__contents-main-item:nth-of-type(9) {
  transition-delay: 0.9s;
}

.p-gallery__contents-main-item:nth-of-type(10) {
  transition-delay: 1s;
}

.p-gallery__contents-main-item:nth-of-type(11) {
  transition-delay: 1.1s;
}

.p-gallery__contents-main-item:nth-of-type(12) {
  transition-delay: 1.2s;
}

.p-gallery__contents-main-item:nth-of-type(13) {
  transition-delay: 1.3s;
}

.p-gallery__contents-main-item:nth-of-type(14) {
  transition-delay: 1.4s;
}

.p-gallery__contents-main-item:nth-of-type(15) {
  transition-delay: 1.5s;
}

.p-gallery__contents-main-item:nth-of-type(16) {
  transition-delay: 1.6s;
}

.p-gallery__contents-main-item:nth-of-type(17) {
  transition-delay: 1.7s;
}

.p-gallery__contents-main-item:nth-of-type(18) {
  transition-delay: 1.8s;
}

.p-gallery__contents-main-item:nth-of-type(19) {
  transition-delay: 1.9s;
}

.p-gallery__contents-main-item:nth-of-type(20) {
  transition-delay: 2s;
}

.is-scrolled .p-gallery__contents-main-item {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (min-width: 901px) {
  .p-gallery__contents-main-item:nth-of-type(3) {
    position: relative;
  }
}

@media screen and (max-width: 900px) {
  .p-gallery__contents-main-item:first-of-type {
    position: relative;
  }
}

.p-gallery__contents-main-item .p-in-image img {
  width: 100%;
}