@charset "UTF-8";
.drawer {
  display: none;
}
nav {
  display: none;
}

#photobook .photo_book{
  width: 100%;
  height: 100%;
  padding-top: 66.6%; /* calc(画像高さ3023 ÷ 画像横幅4032 × 100%) */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.modal-photo{
  width: 100%;
  height: 100%;
  padding-top: 66%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
}

#photobook .header-photo {
  width: 100%;
  height: 0;
  padding-top: 26.11979166666667%;
  background: #ffffff url("../img/feature2021winter/header.png") no-repeat center center;
  background-size: cover;
}

/* ホバー時のアニメーション */
.circle {
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.circle::after {
  background: #0000005e;
  border-radius: 50%;
  content: "";
  display: block;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 100%;
  height: 0;
  z-index: -1;
  transform: translateY(-50%) scale(0);
  transition: opacity .5s, transform 0s;
  transition-delay: 0s, .4s;
}
.photo_book.circle:hover {
  color: #fff;
}
.photo_book.circle:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(2);
  transition-delay: 0s;
  transition: opacity .8s, transform .6s ease-in-out;
}

/* モーダルの中身 */

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__container {
  background-color: #fff;
  width: 50vw;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.modal__header {
  align-items: center;
  background-color: #6187c8;
  color: #fff;
  font-size: 1.2em;
  padding: 8px;
  margin: 0;
  width: 100%;
}

.modal_header_small_font {
  font-size: 0.7em;
}

.modal__header a {
  color: #fff !important;
  text-decoration: none !important;
}

.modal__close {
  background: transparent;
  border: 1;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

.modal__content img{
  width: auto;
  height: 100%;
}

.modal__btn:focus, .modal__btn:hover {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.modal-button {
  background-color: #bfd1ea;
  border-radius: 20px;
  padding: 5px;
  margin: 10px;
  text-align: center;
}

.photo-title {
  color: #bd4a48;
  font-size: 1.6em;
  margin: 5px;
}



/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

/* スマホ */
@media only screen and (max-width: 750px) {
  #photobook .header-photo {
    width: 100%;
    height: 0;
    padding-top: 77.4%;
    background: #ffffff url("../img/feature2021winter/header-sp.png") no-repeat center center;
    background-size: cover;
  }

  main .text-center {
    position: relative;
  }

  .drawer {
    display: initial;
    background-color: white;
    position: fixed;
    top: 80px;
    left: 0;
    font-size: 2.5rem;
    z-index: 51;
  }

  .drawer:hover {
    cursor: pointer;
  }

  nav {
    display: initial;
  }

  .menu {
      width: 70%;
      height: 100%;
      background: rgb(255, 255, 255);
      color: rgb(77, 77, 77);
      position: fixed;
      padding-top: 150px;
      transform: translate(-100%);
      transition: 0.3s ease-out;
      z-index: 50;
    }
  .menu button {
    margin-bottom: 10px;
  }
  .menu.open {
      transform: translate(0);
      transition: 0.3s ease-out;
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .hash-tag {
    display: none;
  }

  .modal__container {
    width: 80vw;
  }
}
