/* 繝｢繝ｼ繝繝ｫ繧帝幕縺上�繧ｿ繝ｳ */
.modal-open{
  top: 50%;
  left: 50%;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #000;
  border: none;
  cursor: pointer;
}@charset "utf-8";

/* 繝｢繝ｼ繝繝ｫ縺ｨ閭梧勹縺ｮ謖�ｮ� */
.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 999;
}

/* 繝｢繝ｼ繝繝ｫ縺ｮ謫ｬ莨ｼ隕∫ｴ�縺ｮ謖�ｮ� */
.modal:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* 繧ｯ繝ｩ繧ｹ縺瑚ｿｽ蜉�縺輔ｌ縺滓凾縺ｮ謖�ｮ� */
.modal.is-show,
.modal.is-active{
  opacity: 1;
  visibility: visible;
}

/* 繝｢繝ｼ繝繝ｫ蜀��縺ｮ謖�ｮ� */
.modal-container{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 800px;
  width: 90%;
}

/* 繝｢繝ｼ繝繝ｫ繧帝哩縺倥ｋ繝懊ち繝ｳ縺ｮ謖�ｮ� */
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  color: #000;
  /* background: #000; */
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
}

/* 繝｢繝ｼ繝繝ｫ縺ｮ繧ｳ繝ｳ繝�Φ繝�Κ蛻��謖�ｮ� */
.modal-content{
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}

/* 繝｢繝ｼ繝繝ｫ縺ｮ繧ｳ繝ｳ繝�Φ繝�Κ蛻��繝�く繧ｹ繝医�謖�ｮ� */
.modal-content p{
  margin: 30px;
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .modal-content p{
    margin: 0;
  }
}