@charset "utf-8";

    /* モーダルのスタイル */
    .modal {
      display: none; /* 初期は非表示 */
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
  background-color: rgba(29,30,87,0.85);
      justify-content: center;
      align-items: center;
	  z-index: 1999;
	  transition: opacity 0.5s ease;
    }
    .modal-content {
	position: relative;
      background-color: transparent;
      padding: 0;
	  z-index: 2000;
    }
  .m_b_img {
  width: auto;
  max-width: 600px;
  height: auto;
  max-height: 600px;
  line-height: 1px;
  }
    #trigger {
	/*
      margin-top: 1200px;
      height: 100px;
      background: #ffcc00;
      text-align: center;
      line-height: 100px;
      font-size: 20px;
      font-weight: bold;*/
    }
  
  /**** close button ****/
  .toggle_btn {
  display: block;
      position: absolute;
  top: -30px;
  right: 0px;
  width: 50px;
  height: 30px;
  cursor: pointer;
  z-index: 2001;
}
.toggle_btn span {
  display: block;
  position: absolute;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: #FFF;
  border-radius: 4px;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
  -webkit-transform: translateY(80px) rotate(-160deg);
  transform: translateY(10px) rotate(-160deg);
}
.toggle_btn span:nth-child(2) {
  bottom: 4px;
  -webkit-transform: translateY(-80px) rotate(160deg);
  transform: translateY(-10px) rotate(160deg);
}


@media screen and (max-width:460px){

  .m_b_img {
  width: auto;
  max-width: 95vw;
  height: auto;
  max-height: none;
  line-height: 1px;
  }
}
