@charset "utf-8";
/* CSS Document */
.staffcode_container {
	display: flex;
	flex-wrap: wrap;
}
.modal__trigger {
	cursor: pointer;
}
/* モーダル本体 */
.modal__wrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
}
.modal__layer {
	height: 100%;
	background: rgba(50, 50, 50, .85);
	cursor: pointer;
}
.modal__container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(calc(100% - 40px), 1000px);
	height: calc(100% - 40px);
	padding: 20px;
	background: #fff;
}
.modal__inner {
	position: relative;
	overflow-y: scroll;
	height: calc(100% - 10px);
	padding: 50px 0;
}
/* モーダルを閉じるボタン */
.modal__close {
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	background: rgba(50, 50, 50, 1);
	cursor: pointer;
	transition: opacity .6s;
	position: fixed;
}
.modal__close:hover {
	opacity: .6;
}
.modal__close:before,
.modal__close:after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 1px;
	background: #fff;
	content: '';
}
.modal__close:before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.modal__close:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.modal_link a {
    text-decoration: underline;
    font-size: 18px;
    line-height: 1.8;
}
.modal_link h3 {
    border: 1px solid #666;
    padding: 10px;
    font-weight: normal;
    font-size: large;
    text-align: center;
}

@media screen and (max-width: 750px) {
	.modal-body {
		width: 95%;
	}
	.box div {
	}
	.staffcode_container div {
		width: calc(100% / 2 - 10px);
		padding: 5px;
	}
    .modal_link {
        margin-bottom: 100px;
    }
}

@media screen and (min-width:751px) and (max-width: 1024px) {
	.box div {
        width: 500px;
        margin-right: 50px;
	}
	.staffcode_container div {
		width: calc(100% / 3 - 20px);
		padding: 10px;
	}
    .modal__content {
        display: flex;
    }
}

@media screen and (min-width: 1025px) {
	.box div {
        width: 600px;
        margin-right: 50px;
	}
	.staffcode_container div {
		width: calc(100% / 3 - 40px);
		padding: 10px;
	}
    .modal__content {
        display: flex;
    }
}