

/*モーダルを開くボタン*/
.modal-open{
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 50px;
  font-weight: bold;
  color: #fff;
  background: #000;
  margin: auto;
  cursor: pointer;
  transform: translate(-50%,-50%);
}
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
  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;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
/*モーダル枠の指定*/
.modal-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 500px;
  width: 90%;
}
div.modal-content h1{
font-size: 140%;
border-bottom: 2px #84C7F1 solid;
color: #006699;
font-weight: bold;
}
div.modal-content p{
padding: 10px 0 15px;
font-size: 120%;

}
/*モーダルを閉じるボタンの指定*/
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -40px;
  right: -9px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
  background: #e2f4ff;
  text-align: left;
  padding:30px;
}
div.btn{
float: left;
width: 50%;
}
.c_f::after {
  content: "";
  display: block;
  clear: both;
} 
div.modal-content p.sub_ttl{
font-size: 125%;
font-weight: bold;
padding: 40px 0 0;
border-bottom: 2px #84C7F1 solid;
}
.qr_are{
text-align: center;
padding-top: 15px;
}
.qr_are div{
float: left;
width: 50%;
}
.qr_are div p{
padding:0 0 0 15px;
text-align: left!important;
}
@media (max-width: 767px) {
.modal-body img{
width: 100%;
}
div.btn{
float: none;
width: 100%;
padding-bottom: 15px;
}
.btn_area{
text-align: center;
}
div.modal-content p.sub_ttl{
padding: 20px 0 0;
}
}
