/* モーダルCSS */
.modalArea {
  display: none;
  position: fixed;
  z-index: 10; /*サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
    width: 70%;
    max-width: 600px;
    padding: 1.5em 2em;
    background-color: #fff;
}

.closeModal {
position: absolute;
top: 0.4rem;
right: 0.4rem;
cursor: pointer;
font-size: 26px;
}
#openModal {
display: block;
}
.note_modal{
cursor: pointer;
font-size: 13px;
color: #a21a1a;
transition: 0.3s;
text-decoration: underline;
}
.note_modal:hover{
opacity: 0.6;
transition: 0.3s;
}
.modalContents {
}
.modalContents h4{
font-size: 18px;
color: #a21a1a;
line-height: 1.4;
padding-bottom:0.6em;
}
.modalContents p{
font-size: 14px;
line-height: 1.6;
}
.modalContents p strong{
font-weight: bold;
color: #1f50ac;
}

@media screen and (min-width: 0px) and (max-width: 768px) {

.modalWrapper {
    width: 90%;
}
.modalContents h4{
font-size: 16px;
}
.modalContents p{
font-size: 14px;
}

}