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

.modal {
    display: none; /* 初期状態では表示しない */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(30,30,30,0.7); /* 背景を少し暗く */
}
.nocloseModal {
    display: none; /* 初期状態では表示しない */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(30,30,30,0.7); /* 背景を少し暗く */
}

.modal-content {
    background-color: #fefefe;
    margin: 8% auto;
    padding: 24px;
    border: 1px solid #888;
    max-width: 680px;
}
.modal-search {
    background-color: #fefefe;
    height: auto;
    min-height: calc(100vh - 8%);
    margin: 15% auto 0;
    padding: 24px;
    border: 1px solid #888;
    max-width: 680px;
}
.modal-content h1 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: bold;
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    line-height: 24px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.md-btn-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 8px;
}
.md-flex-between {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

/*iosスタイル*/
@media (max-width: 480px) {
    .modal-content {
        margin: 15% 8%;
    }
    .modal-search {
        margin-top: 15%;
    }
}
