// modal用のmoduleを記述（例）

.fancybox-slide--iframe .fancybox-content {
	background: $black !important;
}

.modal__about {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	margin: 0 auto;
	padding: 80px 0;
	z-index: 9000;
	overflow-y: scroll;
	box-sizing: border-box;
	display: none;
	/*display: flex;*/
	justify-content: center;
	align-items: center;
	.modal__about__bg {
		top: 0;
		left: 0;
		position: fixed;
		background: rgba(0, 0, 0, 0.8);
		width: 100%;
		height: 100%;
		@include z-index(mainbg);
	}
	.modal__about__inner {
		width: 80%;
		max-width: 900px;
		max-height: 92%;
		margin: 0 auto;
		padding: 50px 24px;
		overflow-y: scroll;
		background: $white;
		box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
		@media screen and (max-width: 767px) {
			width: 92%;
			max-width: 92%;
			max-height: 96%;
			padding: 50px 4%;
		}
	}
	.modal__about__col {
		position: relative;
		width: 100%;
		margin: 0 auto;
		line-height: 150%;
		@media screen and (max-width: 767px) {
		}
	}
	.modal__about__col__h3 {
		position: relative;
		margin: 0 auto 34px;
		padding: 0;
		font-size: 2.4em;
		font-weight: 600;
		@include z-index(articlelink);
		@media screen and (max-width: 767px) {
			margin: 0 auto 24px;
			font-size: 2.4em;
		}
	}
	.modal__about__col__txt {
		width: 90%;
		margin: 0 auto;
		color: $black;
		text-align: center;
		font-size: 1.6em;
		line-height: 200%;
		@media screen and (max-width: 767px) {
			width: 98%;
			font-size: 1.5em;
		}
		img {
			margin: 0 auto;
			width: 70%;
			max-width: 400px;
			height: auto;
			border: 1px solid $white;
			display: block;
		}
		.box {
			margin: 0 0 20px;
			padding: 24px;
			font-size: 1.6rem;
			text-align: left;
			border: 1px solid $black;
			&:last-child {
				margin: 0;
			}
		}
		.modal__about__col__h4 {
			margin: 0 0 14px;
			padding: 0;
			font-size: 1.7rem;
			color: $black;
		}
	}
	.modal__about__close {
		position: fixed;
		top: 0;
		right: 0;
		width: 50px;
		height: 50px;
		cursor: pointer;
		background: $primary;
		border: none;
		@include fadeinout;
		&:hover {
			background: $gray;
		}
		span {
			position: absolute;
			left: 0;
			right: 0;
			margin: 0 auto;
			width: 60%;
			height: 2px;
			background: $white;
			border-radius: 4px;
			display: inline-block;
			transition: all 0.4s;
			box-sizing: border-box;
			&:nth-of-type(1) {
				top: 20px;
				transform: translateY(4px) rotate(-315deg);
			}
			&:nth-of-type(2) {
				opacity: 0;
			}
			&:nth-of-type(3) {
				bottom: 20px;
				transform: translateY(-4px) rotate(315deg);
			}
		}
	}
}

.modal__about__com__h3 {
	text-indent: 0 !important;
	font-size: 2.4em;
	font-weight: 700;
	line-height: 140%;
}
