/* -----------------------------
	20251125 お知らせモーダル
-------------------------------- */
.modal-2__wrap input {
    display: none;
}

.modal-2__open-label,
.modal-2__close-label {
    cursor: pointer;
}

.modal-2__open-label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin:0 auto;
    padding: 15px 0;
    border: none;
    background-color: #f8eaea;
    color: #f20505;
    font-weight: 600;
    font-size: 1.6rem;
}

.modal-2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-2__open-input:checked + label + input + .modal-2 {
    display: block;
    animation: modal-2-animation .6s;
}

.modal-2__content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 650px;
    background-color: #fefefe;
    z-index: 2;
    border-radius: 5px;
}

.modal-2__close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.6;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.3em;
}

.modal-2__content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 39px 45px 40px;
}

.modal-2__content p {
	text-align: center;
	line-height: 1.8;
	font-size: 1.6rem;
}

.modal-2__content p span.red {
	color: #f20505;
}

.modal-2__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-2-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*TOPのみ表示*/
.top #header-news {
	display: block!important; /*通常コメントアウト*/
	/*display: none!important;*/
}

/*通常コメントアウト*/
.top .nav > ul .menu {
	top: 153px;
}
/*通常コメントアウト end*/


@media screen and (max-width: 768px) {
	/*通常コメントアウト*/
	.top .sp-gnav-btn {
        top: 30px;
    }
	.top .sp-gnav-btn.active {
		top: 0;
	}
	/*通常コメントアウト end*/
	
    .modal-2__open-label {
        max-width: 100%;
        padding: 8px 0;
		font-size: 1.5rem;
    }

    .modal-2__close-label {
        top: -17px;
        right: -4%;
    }

    .modal-2__content-wrap {
        width: 90vw;
    }

    .modal-2__content {
        padding: 30px 20px 30px;
        max-width: 100%;
    }
	
	.modal-2__content p {
		text-align: left;
		line-height: 1.5;
		font-size: 1.5rem;
	}
	
}
