/*
* anniversary.css
*
*/
/* --------------------------------
Anniversary
-------------------------------- */
@media (min-width: 768px) {
  .anniversary__wrap {
    padding-bottom: 15.6%;
  }
  .anniversary .section {
    margin: 7.8% 0 0;
  }
  .section h2 {
    float: left;
    width: 45%;
    font-size: 1rem;
    line-height:0;
    margin-left: 5%;
  }
  .section .body {
    float: left;
    width: 45%;
    margin: 0 5% 0 0;
  }
  .message.section h2 img {
    width: 80%;
  }
  .anniversary .mainvisual {
    width: 100%;/*背景色を横幅いっぱいに広げる*/
    text-align: center;
    margin: auto;
    background: #fff;/*余白の背景色*/
  }
  .anniversary .mainvisual video, .anniversary .mainvisual iframe {
    width: 100%;
    max-width: 1250px;
    height: 50vw;
    max-height: 650px;
  }
  .section .body p {
    letter-spacing: .08em;
    line-height: 2.53;
  }
  .section .body p span {
    font-weight: bold;
  }
  .anniversary__txtBox {
    margin: 117px auto 0;
    max-width: 689px;
  }
  .anniversary__txtBox p {
    font-size: 15px;
    line-height: 2.46;
    text-align: center;
    margin-top: 46px;
  }
  .anniversary .js-modal-movie {
    display: block;
    position: relative;
    overflow: hidden;
  }
  .anniversary .js-modal-movie img {
    transition: .3s;
  }
  .anniversary .js-modal-movie:hover img {
    opacity: .8;
    transform:scale(1.05);
  }
  .anniversary .js-modal-movie:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: url(/assets/img/works/common/icon_movie.svg) no-repeat center;
    background-size: 9.12%;
    filter: drop-shadow(0px 0px 5px rgba(160, 160, 160, 0.7));
  }
  .anniversary__gallery {
    display: flex;
    justify-content: space-between;
    position: relative;
  }
  .anniversary__gallery__left {
    width: 49.6%
  }
  .anniversary__gallery__left img {
    object-fit: cover;
    height: 41.5vw;
    max-height: 576px;
  }
  .anniversary__gallery__right {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 50%;
  }
  .anniversary__gallery__right a {
    width: 32.8%;
  }
  .anniversary__gallery__right a:nth-child(-n + 6) {
    margin-bottom: .8%;
  }
  .anniversary__gallery__right a img {
    object-fit: cover;
    height: 13.6vw;
    max-height: 189px;
  }
  h2.anniversary__ttl {
    font-size: 44px;
    line-height: 1.8;
    letter-spacing: .08em;
    margin-top: -0.7em;
  }
  h2.anniversary__ttl small {
    display: inline-block;
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .page.anniversary.is_last {
    padding-bottom: 40%;
  }
  .anniversary .section {
    margin: 7.8% 0 0;
  }
  .section h2 {
    padding: 0 0 4%;
  }
  .message.section h2 img {
    width: 100%;
  }
  .anniversary .mainvisual {
    position: relative;
    left: -8%;
    width: 116%;
  }
  .anniversary .mainvisual video {
    width: 100%;
    height: 55vw;
  }
  .anniversary .mainvisual a {
    padding-top: 56.25%;
    position: relative;
  }
  .anniversary .mainvisual iframe {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
  }
  .section .body p {
    line-height: 2.53;
  }
  .section .body p span {
    font-weight: bold;
  }
  .anniversary__txtBox {
    margin: 60px auto 0;
    width: 100%;
  }
  .anniversary__txtBox img {
    width: 60%;
  }
  .anniversary__txtBox p {
    font-size: 3.2vw;
    line-height: 2.33;
    margin-top: 36px;
  }
  .anniversary .js-modal-movie {
    display: block;
    position: relative;
  }
  .anniversary .js-modal-movie:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: url(/assets/img/works/common/icon_movie.svg) no-repeat center;
    background-size: 12%;
  }
  .anniversary__gallery__right {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 0.8%;
  }
  .anniversary__gallery__right a {
    width: 32.8%;
  }
  .anniversary__gallery__right a:nth-child(-n + 6) {
    margin-bottom: .8%;
  }
  .anniversary__gallery__right a img {
    object-fit: cover;
    height: 28vw;
  }
  h2.anniversary__ttl {
    font-size: 29px;
    letter-spacing: .08em;
    line-height: 1.8;
  }
  h2.anniversary__ttl small {
    display: inline-block;
    font-size: 14px;
  }
  h2.anniversary__ttl small.is_small {
    font-size: 10px;
  }
}

.anniversary__footer {
  display: none;
}

/* --------------------------------
  magnific-popup
-------------------------------- */
.mfp-fade.mfp-bg {
  opacity: 0.001;
  transition: all 0.3s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  max-width: 1200px;
  opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

.mfp-bg {
  background-color: #000;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #000;
}

.mfp-figure:after {
  display: none;
}

.mfp-img {
  opacity: 0;
  -webkit-animation: fadeIn 0.15s cubic-bezier(0.25, 0.25, 0.75, 0.75) forwards;
          animation: fadeIn 0.15s cubic-bezier(0.25, 0.25, 0.75, 0.75) forwards;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  right: 0;
}

.mfp-iframe-holder .mfp-close,
.mfp-image-holder .mfp-close {
  display: flex;
  top: 40px;
  right: -60px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: transparent;

  justify-content: center;
  align-items: center;
}
.mfp-iframe-holder .mfp-close:before,
.mfp-iframe-holder .mfp-close:after,
.mfp-image-holder .mfp-close:before,
.mfp-image-holder .mfp-close:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  border-radius: 2px;
  width: 1.6px;
  height: 20px;
  background-color: #fff;
}
@media (max-width: 767.98px) {
  .mfp-iframe-holder .mfp-close:before,
  .mfp-iframe-holder .mfp-close:after,
  .mfp-image-holder .mfp-close:before,
  .mfp-image-holder .mfp-close:after {
    height: 5.33333vw;
  }
  .mfp-iframe-holder .mfp-close,
  .mfp-image-holder .mfp-close {
    top: -30px;
    right: -20px;
  }
  .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    width: calc(100% - 40px);
  }
}
.mfp-iframe-holder .mfp-close:before,
.mfp-image-holder .mfp-close:before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.mfp-iframe-holder .mfp-close:after,
.mfp-image-holder .mfp-close:after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.mfp-iframe-holder .mfp-close {
  top: 0;
}
@media (max-width: 767.98px) {
  .mfp-iframe-holder .mfp-close {
    top: -60px;
    right: 0;
  }
}

.gallery-arrow {
  display: block;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  width: 50px;
  height: 200px;
  cursor: pointer;
  transition: opacity 0.4s 0.3s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
.mfp-ready .gallery-arrow {
  opacity: 1;
}
.mfp-removing .gallery-arrow {
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
.gallery-arrow i {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.gallery-arrow i:after {
  content: "";
  display: block;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  width: 100%;
  height: 100%;
}
.gallery-arrow:hover.gallery-arrow-left i {
  -webkit-animation: arrow_move_to_left 0.35s 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
          animation: arrow_move_to_left 0.35s 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.gallery-arrow:hover.gallery-arrow-right i {
  -webkit-animation: arrow_move_to_right 0.35s 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
          animation: arrow_move_to_right 0.35s 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.gallery-arrow.gallery-arrow-left i:after {
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}
.gallery-arrow.gallery-arrow-right i:after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.mfp-container {
  padding-right: 60px;
  padding-left: 60px;
}
@media (max-width: 767.98px) {
  .mfp-container {
    padding: 0;
  }
}

.mfp-counter {
  display: none;
}

/* --------------------------------
  Javascript
-------------------------------- */
@media (min-width: 768px) {
  .js-stickyNavWrap {
    width: 100%;
  }
  .js-stickyNavWrap.is-fixed {
    position: fixed;
  }
  .js-stickyNavWrap.is-bottomFixed {
    position: absolute;
    left: 0;
  }
}

@media (max-width: 767.98px) {
  .js-modal-gallery {
    /* pointer-events: none; */
  }
}
