/*モーダルを開くボタン*/
.modal-open{
    /*display: inline-block;*/
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 80%);
    overflow: auto;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
    z-index: 999;
    opacity: 0;
}

/*モーダル本体の擬似要素の指定*/
.modal-container:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.is-active{
    opacity: 1;
    visibility: visible;
}

/*モーダル枠の指定*/
.modal-body {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    max-width: 1160px;
    width: 90%;
	margin: 20px auto;
}

/*モーダルを閉じるボタンの指定*/
.modal-close{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/*モーダル内のコンテンツの指定*/
.modal-content {
    background: #fff;
}

.modal-title{
	background: linear-gradient(to bottom, #9cadc8, #1e4682);
	padding: 0;
	min-height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-bottom: 5px;
}

.modal-content h3 {
	color: #fff;
	font-size: 3.6rem;
	font-size: clamp(2.4rem, 2.344vw + 0.6rem, 3.6rem);
	font-weight: 700;
	line-height: 1.1;
}

.modal-content h3 span {
	font-size: 2rem;
	font-size: clamp(1.8rem, 0.391vw + 1.5rem, 2rem);
	font-weight: 400;
}

.modal-content h3.fs24,
.modal-content h3.fs24 span {
	font-size: 2.4rem;
	font-size: clamp(2rem, 0.781vw + 1.4rem, 2.4rem);
	font-weight: 700;
	line-height: 1.4;
}

.modal-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	margin: 0 auto;
	padding: 50px;
}
.modal-flex-txt {
	text-align: left;
	width: 55%;
	margin: 0 auto;
}

.modal-flex-txt h4 {
	font-size: 2rem;
	font-size: clamp(1.8rem, 0.391vw + 1.5rem, 2rem);
	font-weight: 700;
	margin-bottom: 20px;
}
.modal-flex-txt p {
	font-size: 1.8rem;
	font-size: clamp(1.6rem, 0.391vw + 1.3rem, 1.8rem);
	font-weight: 400;
	line-height: calc(30/18);
	margin-bottom: 0 !important;	
}

.modal-bdrbox{
	border: 1px solid #000;
	padding: 10px;
	margin-top: 20px;
}

.modal-bdrbox p{
	font-size: clamp(1.4rem, 0.391vw + 1.1rem, 1.6rem);
}

.modal-bdrbox small{
	display: block;
	font-size: clamp(1.4rem, 0.391vw + 1.1rem, 1.6rem);
	font-size: clamp(1.2rem, 0.391vw + 0.9rem, 1.4rem);
	font-weight: 400;
	line-height: 1.4;
	margin-top: 10px;
}

.modal-flex-img {
	width: 40%;
	margin: 0 auto;
}
.modal-flex-img img {
}
.modal-flex-img .btn {
	margin-top: 30px;
}

.modal-flex-img .modal-btn {
	max-width: 360px;
	font-size: 2rem;
	font-size: clamp(1.8rem, 0.391vw + 1.5rem, 2rem);
	font-weight: 500;
	padding: 20px;
}

@media screen and (max-width: 768px) {
	.modal-flex-txt {
		width: 100%;
		margin-bottom: 30px;
	}
	
	.modal-flex-img {
		width: 100%;
	}
}

@media screen and (max-width: 480px) {
	.modal-flex {
		padding: 20px 20px 50px;
	}
	
	.modal-flex-img .modal-btn {
		padding: 15px;
	}
}
	
	
	