@charset "utf-8";
/* CSS Document */


/* モバイル*/


.modal_wrap input {
  display: none;
}

.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}



.modal_content {
  display: flex;
  align-self: center;
  align-content: center;
  width: 105%;
  padding: 12px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transform: translateY(-100%);
  transition: 0.5s;
  border-radius: 20px;
  border: 1px solid #FFFFFF;
}

.close_button {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 26px;
  cursor: pointer;
  font-family: "じゅん 501", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W6", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", Sans-serif, "A-OTF じゅん Pro 501";
}

.modal_wrap input:checked ~ .modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.modal_wrap input:checked ~ .modal_overlay .modal_content {
  transform: translateY(20px);
}

.open_button {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 26px;
  margin: auto;
  color: #FFFFFF;
  font-family: "じゅん 501", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W6", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", Sans-serif, "A-OTF じゅん Pro 501";
  cursor: pointer;
  background-color: #9c8363;
  border-radius: 26px;
  padding-top: 0px;
  padding-right: 16px;
  padding-bottom: 0px;
  padding-left: 16px;
}


.open_button:hover {
  opacity: 0.6;
  transition: background-color 1s ease 0.5s;
  -webkit-transition: background-color 1s ease 0.5s;
  -moz-transition: background-color 1s ease 0.5s;
  -ms-transition: background-color 1s ease 0.5s;
  -o-transition: background-color 1s ease 0.5s;
  color: #FFFFFF;
  background-color: #f3c400;
}


 
/* タブレットレイアウト : 481 px ～ 768 px。モバイルレイアウトからスタイルを継承。 */

@media only screen and (min-width: 481px) {
.modal_content {
  display: flex;
  align-self: center;
  width: 95%;
  padding: 12px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transform: translateY(-100%);
  transition: 0.5s;
  border-radius: 10;
  border: 1px solid #FFFFFF;
}
}


/* デスクトップレイアウト : 769 px ～最大 1232 px。モバイルレイアウトとタブレットレイアウトからスタイルを継承。*/
 
@media screen and (min-width: 769px) {
  
.modal_content {
  display: flex;
  align-self: center;
  width: 66%;
  padding: 12px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transform: translateY(-100%);
  transition: 0.5s;
  border-radius: 10;
  border: 1px solid #FFFFFF;
}
  
  
}
