.works-hide {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  -o-transition-property: transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* l-main__visual============================================== */

.l-main__body {
  max-width: 1000px;
  width: 100%;
}

/* .l-main__sitename {
  margin: 90px auto 0;
} */

.l-main__sitename {
  max-width: 620px;
}

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

  .l-main__body {
    max-width: 650px;
  }

  .l-main__sitename {
    max-width: 600px;
  }

}


/* works============================================== */

.p-top-works {
  width: 100%;
  margin: 120px auto 0;
}

.w-anchor {
  margin-top: -80px;
  padding-top: 80px;
  display: inline-block;
}

.p-top-works__index {
  width: 320px;
  margin: 0 0 0 14px;
}

.p-top-works__unit {
  margin: 12px auto 0;
}

.p-top-works__lst {
  width: calc(100% / 3);
  margin-bottom: 0;
}

.is-hidden {
  display: none;
  opacity: 0;
}

.is-show {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.link-btn {
  margin: 80px auto 0;
}

#project .link-btn {
  width: 190px;
  margin-top: 200px;
}

#project .btn-label {
  width: 33px;
}

.gallery-lst-11__swiper,
.gallery-lst024__swiper,
.gallery-lst034__swiper {
  flex-wrap: wrap;
}

.p-page-project__gallery-iphone .gallery-lst034__swiper-lst {
  width: calc((100% - 30px) / 3);
}



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

  /* .p-page-project__gallery-iphone .swiper-wrapper {
    display: block;
  } */

  .gallery-lst-11__swiper,
  .gallery-lst024__swiper,
  .gallery-lst034__swiper {
    flex-wrap: inherit;
  }

  .p-page-project__gallery-iphone .gallery-lst {
    max-width: 285px !important;
    margin: 0 auto 30px;
  }

  .p-page-project__gallery-iphone .gallery-lst.swiper-slide-next,
    .p-page-project__gallery-iphone .gallery-lst.swiper-slide-prev {
    width: 100%;
    opacity: 0.2;
    -webkit-transition: 0.7s cubic-bezier(0.55, 0.05, 0.22, 0.99);
    transition: 0.7s cubic-bezier(0.55, 0.05, 0.22, 0.99);
  }

}

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

  .p-top-works {
    margin: 50px auto 0;
  }

  .w-anchor {
    margin-top: -40px;
    padding-top: 40px;
  }

  .p-top-works__index {
    width: 216px;
    margin: 0px auto 65px;
  }

  .p-page-project__gallery-iphone .swiper-wrapper {
    display: flex;
  }

  .p-top-works__unit .swiper-wrapper {
    flex-wrap: inherit;
  }

  .p-top-works__lst {
    width: calc(100% / 2);
  }

  .link-btn {
    margin: 65px auto 0;
  }

}


/* member============================================== */

.p-top-member {
  max-width: 1000px;
  width: 100%;
  margin: 190px auto 0;
}

.p-top-member__body {
  max-width: 1000px;
  width: 100%;
}

.p-top-member__index {
  width: 320px;
  margin: 0;
}

.p-top-member__thumb {
  margin-top: 18px;
}

.p-top-member__unit {
  max-width: 880px;
  margin: 28px auto 0;
}

.member-lst {
  width: calc((100% - 25px) / 3);
}

.member-name {
  width: 280px;
  position: static;
}

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

  .p-top-member {
    width: 100%;
  }

  .p-top-member__body {
    max-width: 650px;
    width: 100%;
    padding: 0 2vw;
  }

  .p-top-member__unit {
    max-width: 100%;
  }

  .member-name {
    max-width: 190px;
    width: 100%;
  }

}

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

  .p-top-member {
    margin: 74px auto 0;
    padding: 0;
  }

  .p-top-member__body {
    padding: 0;
  }

  .p-top-member__index {
    width: 256px;
    margin: 0 auto;
  }

  .p-top-member__thumb {
    margin-top: 30px;
  }

  .p-top-member__unit {
    margin: 40px auto 0;
  }

  .p-top-member__unit-inner {
    display: flex;
  }

  .member-lst {
    width: calc((100% - 10px) / 3);
  }

  .member-name {
    max-width: 136px;
  }

}


/* pagetop============================================== */

.l-top-page__top {
  width: 50px;
  position: relative;
  /* margin: 190px 40px 0 0; */
  margin: 50px 40px 0 0;
  float: right;
}

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

  .l-top-page__top {
    padding: 0;
    float: unset;
    margin: 60px auto 0;
  }

}

/* sns============================================== */

.p-sns{
  left: 50%;
  width: 45px;
  margin: 160px auto 0;
}
@media screen and (max-width: 420px) {
  .sp-reverse{
    display: flex;
    flex-direction: column-reverse;
  }
  .p-sns{
    margin-top: 30px;
    width: 33px;
  }
}

/* contact============================================== */

.p-top-contact {
  width: 100%;
  position: relative;
  /* margin: 280px auto 0; */
  margin: 100px auto 0;
  background-color: #f1f1f1;
  padding: 30px 0 40px 0;
}

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

  .p-top-contact {
    margin: 40px auto 0;
  }

}


/* page-member============================================== */

.p-page-member__index {
  width: 320px;
  margin: 0px 0 30px;
}

.member-name-en01 {
  width: 210px;
  margin-bottom: 10px;
}

.member-name-en02 {
  width: 313px;
  margin-bottom: 10px;
}

.member-name-en03 {
  width: 246px;
  margin-bottom: 10px;
}

.member-name-en04 {
  width: 164px;
  margin-bottom: 10px;
}

.member-name-en05 {
  width: 215px;
  margin-bottom: 10px;
}

.member-name-en06 {
  width: 188px;
  margin-bottom: 10px;
}

.member-name-en07 {
  width: 213px;
  margin-bottom: 10px;
}

.member-name-en08 {
  width: 218px;
  margin-bottom: 10px;
}

.member-name-en09 {
  width: 227px;
  margin-bottom: 10px;
}

.member-profilename__inner .member-name {
  width: 360px;
}

.member-position {
  font-weight: normal;
}

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

  .p-page-member {
    margin: 70px auto 0;
    padding: 0;
  }
  
  .p-page-member__index {
    display: block;
    width: 230px;
    margin: 0;
  }

  .member-profile {
    max-width: 380px;
    margin: 30px auto;
    padding: 0 20px;
  }

  .js-scrool__anime.active .js-scrool__anime-inner {
    display: grid;
  }
  
  .member-name {
    max-width: 100%;
  }

  .member-position {
    margin-top: 0;
  }

  .p-member__unit {
    padding: 0 20px;
  }

  .p-member-lst {
    width: calc((100% - 10px) / 2);
  }

  #member .link-btn {
    margin: 80px auto 40px;
  }

}


/* project============================================== */

.p-page-project {
  max-width: 1043px;
  width: 100%;
  padding: 0 40px;
}

.project-credit {
  width: 1000px;
}

.project-label {
  font-size: 1.5rem;
}

.p-page-project__gallery {
  margin: 120px auto 0;
}

.gallery-lst {
  width: calc((100% - 30px) / 2);
  margin-bottom: 30px;
}

.gallery-lst-14__width {
  max-width: 285px;
  width: 100%;
  margin-bottom: 40px;
}

.gallery-lst-30__width {
  max-width: 285px;
  width: 100%;
}

.sp-show {
  display: none;
}

.gallery-lst024__slide {
  margin-bottom: 60px;
}

.column-three {
  width: calc((100% - 30px) / 3);
}

.size-wide {
  width: 100%;
}

.p-page-project__gallery .gallery-lst img {
  -webkit-transition: .6s cubic-bezier(0.55, 0.05, 0.22, 0.99);
  transition: .6s cubic-bezier(0.55, 0.05, 0.22, 0.99);
}

.p-page-project__gallery-iphone .gallery-lst img {
  -webkit-transition: .6s cubic-bezier(0.55, 0.05, 0.22, 0.99);
  transition: .6s cubic-bezier(0.55, 0.05, 0.22, 0.99);
}

.hover .p-page-project__gallery .gallery-lst img:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.hover .p-page-project__gallery-iphone .gallery-lst img:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.gallery-lst__inner.hover-none img:hover {
  cursor: initial;
  transform: none !important;
}

.gallery-lst__inner a {
  position: relative;
  display: block;
}

.gallery-lst__inner a::before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 6px solid #fff;
  width: 60px;
  height: 60px;
  z-index: 1;
  pointer-events: none;
}

.gallery-lst__inner a::after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
  border-width: 15px 0 15px 25px;
  pointer-events: none;
}

.add-shadow {
  box-shadow: 11px 12px 22px 0px rgb(0 0 0 / 28%);
  /* filter: drop-shadow(11px 12px 26px rgba(0, 0, 0, 20%)); */
  border-radius: 14px;
}

.gallery-lst__inner>.gallery-lst-text {
  margin-top: 20px;
}

.gallery-lst-text {
  font-size: 1.3rem;
  margin-top: -10px;
  margin-bottom: 40px;
}

.manga-txt {
  margin-left: 16%;
}

.p-page-project__gallery-iphone {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.gallery-lst004__width,
.gallery-lst011__width,
.gallery-lst024__width,
.gallery-lst034__width {
  max-width: 870px;
}

.border-radius {
  border-radius:15px
}

.mt {
  margin-top: 25px;
}

.mt0 {
  margin-top: 0;
}

.p-page-project .swiper-pagination {
  margin-top: 0;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  border-radius: 100%;
}

.pc-display-none-block {
  display: none;
}

/* .movie {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

/* .yt-movie-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.yt-movie-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.yt-movie-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
} */

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

  .p-page-project__details {
    margin: 30px auto 0;
    padding: 0 15px;
  }

  .p-page-project {
    padding: 0;
  }

  .p-page-project__gallery {
    margin: 25px auto 0;
  }

  .gallery-lst {
    width: 100%;
  }

  .gallery-lst-14__width {
    margin: 0 auto 40px;
  }

  .gallery-lst-30__width {
    max-width: 100%;
  }

  .sp-show {
    display: block;
  }

  .gallery-lst-text {
    margin-left: 15px;
  }

  .p-page-project .swiper-pagination {
    display: block;
    left: 0;
    width: 100%;
    bottom: -10px;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
  }

  .column-one {
    width: 285px;
    margin: 0 auto;
  }

  .manga-txt {
    margin-left: 40%;
  }

}

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

  .gallery-lst {
    margin-bottom: 20px;
  }

  .column-one {
    width: 238px !important;
  }

  .manga-txt {
    margin-left: 31%;
  }

  .pc-display-none-block {
    display: block;
    margin: 25px auto 0;
  }

  .sp-display-none-block {
    display: none;
  }

}


/* movie-modal===========*/

#gallery-modal-overlay {
  background-color: rgb(255 255 255 / 90%);
}

#gallery-modal-content {
  max-width: 800px;
  width: 100%;
}

.swiper-container {
  padding-bottom: 60px;
}

/* .modal-content-swiper-slide {
  height: 450px !important;
} */

/* 閉じるボタンのカスタマイズ */
.close-link {
  position: absolute;
  z-index: 2;
  top: -65px;
  right: -5px;
  width: 30px;
  height: 30px;
  display: inline-block;
  overflow: hidden;
  border: none;
  background: transparent;
  cursor: pointer;
}

.close-link::before,
.close-link::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #000;
  border-radius: 5px;
  margin-top: -6px;
}

.close-link::before {
  transform: rotate(45deg);
}

.close-link::after {
  transform: rotate(-45deg);
}

/* 矢印の画像指定をやめる */
.swiper-button-prev,
.swiper-button-next {
  top: 95%;
  width: 20px;
  height: 40px;
  background-image: none;
}

/* 矢印の左右位置 */
.swiper-button-prev {
  left: 40%;
}

.swiper-button-next {
  right: 40%;
}

/* 矢印を擬似要素でカスタマイズ */
.swiper-button-prev:after,
.swiper-button-next:after {
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  bottom: 0;
  content: "";
  margin: auto;
  top: 0;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
}

.swiper-button-prev:after {
  transform: rotate(-135deg);
}

.swiper-button-next:after {
  transform: rotate(45deg);
}

.gallery-modal-swiper-pagination {
  display: block;
  font-size: 14px;
  font-weight: bold;
  top: 93%;
  position: absolute;
  text-align: center;
  -webkit-transition: .3s opacity;
  -o-transition: .3s opacity;
  transition: .3s opacity;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.modal-video.modal-video-mp4 {
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease-out;
}

.modal-video.modal-video-mp4.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-video-mp4 .modal-video-movie-wrap {
  transform: translate(0, 50px);
}

.modal-video.modal-video-mp4.is-active .modal-video-movie-wrap {
  transform: translate(0, 0);
  transition: transform .3s ease-out;
}

.modal-video-mp4 .modal-video-movie-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

  #gallery-modal-content {
    max-width: 580px;
    width: 100%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    top: 93%;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    width: 15px;
    height: 15px;
  }

  .gallery-modal-swiper-pagination {
    top: 91%;
  }

}

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

  #gallery-modal-content {
    max-width: 380px;
    width: 100%;
  }

  .close-link {
    top: -80px;
    width: 25px;
    height: 25px;
  }

  .swiper-button-prev,
  .swiper-button-next{
    top: 88%;
  }

  .swiper-button-prev {
    left: 35%;
  }

  .swiper-button-next {
    right: 35%;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    width: 10px;
    height: 10px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
  }

  .gallery-modal-swiper-pagination {
    left: 0;
    top: 84%;
  }
}

.modal-video {
  background-color: rgb(255 255 255 / 90%);
  cursor: initial;
}

.modal-video-body {
  overscroll-behavior: contain;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: none;
}

.modal-video-body::before,
.modal-video-body::after {
  content: "";
  width: 1px;
  height: calc(100vh + 1px);
  display: flex;
}

.modal-video-body::-webkit-scrollbar {
    display: none;
  }

.modal-video-close-btn {
  width: 30px;
  height: 30px;
  top: -30px;
  right: -5px;
  cursor: pointer;
}

.modal-video-close-btn:before,
.modal-video-close-btn:after {
  height: 3px;
  background: #000;
}

/* :host(audio),
:host(video.media-document.audio),
* {
  --inline-controls-bar-height: 100% !important;
} */

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

  .modal-video-close-btn {
    top: -30px;
  }

}

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

  .modal-video-close-btn {
    width: 25px;
    height: 25px;
    top: -25px;
  }

}
