﻿/* モーダル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(255, 255, 255, 0.8);
}

.modalWrapper {
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 80%;
    padding: 20px 30px;
    background-color: #fff;
    font-size: 15px;
    overflow-x: auto;
    box-shadow: 0 0 6px var(--basecolor);
    border-radius: 12px;
}

.closeModal {
	position: absolute;
	top: 0.5rem;
	right: 1rem;
	cursor: pointer;
}
modalContents .title {
    text-align: center;
    font-size: 20px !important;
    line-height: 2;
    font-weight: bold;
    font-family: var(--mincho);
}
.modalContents>a {
	display: block;
	width: 148px;
	height: 36px;
	font-size: 16px;
	margin: 0 auto;
	line-height:36px 
	}
.modalContents .btn {
		width: 42% !important;
		font-size: 16px !important;
    border-radius: 4px;
    height: auto;
    font-size: 20px;
    padding: 10px;
    font-weight: bold;
	}
	.modalContents .title{
    text-align: center;
    font-weight: bold;
    font-size: 20px !important;
    font-family: var(--mincho);
    line-height: 2;
	}
	.modalContents .action{
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
	}
	.modalContents .btn.btn-ok{
		background:var(--basecolor);
		font-size:16px;
	}
	
	@media screen and (max-width: 767px) {
		.modalWrapper{
			    padding: 16px;
		}
.modalContents .btn {
		width: 42% !important;
			font-size: 14px !important;
		}
			.modalContents .title{
    text-align: center;
    font-weight: bold;
			font-size: 18px !important;
		}
	}