
.financeall-modalCover {
    position: fixed;
    top: 0; left: 0;
    z-index: 10000; /* header z-index is 9999 */
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.financeall-modalActive {
    opacity: 1;
    pointer-events: auto;
}

.financeall-modalClose {
    position: absolute;
    top: -50px; right: -10px;
    width: 50px; height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.financeall-modalClose::before,
.financeall-modalClose::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 2px;
  background: white;
  transform-origin: center;
}

.financeall-modalClose::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.financeall-modalClose::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 768px){ /* SP */

.financeall-modalWrap {
    position: relative;
    width: 90%;
    height: auto;
    display: block;
    background-color: #fff;
}

.financeall-modalContent {
    position: relative;
    width: 100%;
    max-height: 70vh;
    display: block;
    overflow-y: auto;
    padding: 20px;
}

}
@media screen and (min-width: 769px){ /* PC */

.financeall-modalWrap {
    position: relative;
    width: 50%;
    height: auto;
    display: block;
    background-color: #fff;
}

.financeall-modalContent {
    position: relative;
    width: 100%;
    max-height: 70vh;
    display: block;
    overflow-y: auto;
    padding: 30px;
}

}
