/* モーダル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: 650px;
    padding: 10px 30px;

    background-color: #F2F2F2;
    color: gray;

    border-radius: 8px;
}

.closeModal {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;

    font-size: 1.5rem;

}


/* 以下ボタンスタイル */
xbutton {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #282828;
    border-radius: 2px;
    cursor: pointer;
}

#xopenModal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
}

.modalContents {
    text-align: center;
}

.modalContents p {
    font-size: 1.5rem;
    text-align: left;
}

.modalContents img {
    max-width: 300px;
    xmargin: auto;
}

.modalContents a {
    color: gray;
    text-decoration: none;
}

.messageWrapper {
    max-width: 900px;
    padding:0px;
    width: 100%;
    background-color:transparent;
}

.messageImg {
    max-width: 900px;
}