/* モーダルCSS */
.modalArea {
	display: none;
	position: fixed;
	z-index: 999999;
	/*サイトによってここの数値は調整 */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modalBg {
	width: 100%;
	height: 100%;
	background-color: rgba(30, 30, 30, 0.9);
}

.modalWrapper {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin: auto;
	transform: translateY(-50%);
	width: 90%;
	max-width: 24rem;
	max-height: 80vh;
	padding: 0;
	background-color: #000;
}

.modalContents {
	max-height: 80vh;
	overflow: auto;
	padding: 2em 1em 0 1em;
}

.modalContents h1 {
	text-align: left;
	font-family: 'Hind', sans-serif;
	font-size: 6vw;
	line-height: 1.4;
	font-weight: 500;
	color: #FF0000;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

.modalContents .ph {
	margin: 1em 0 3em 0;
	padding: 0 0 0 0;
}

.modalContents .ph img {
	width: 100%;
	height: auto;
}

.modalContents h2 {
	text-align: left;
	font-family: 'Hind', sans-serif;
	font-size: 5vw;
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #FFF;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

.modalContents table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0 0 0 0;
}

.modalContents table tr {
	border-bottom: solid 1px #888;
}
.modalContents table th, 
.modalContents table td {
	vertical-align: top;
	text-align: left;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 3vw;
	font-weight: 400;
	line-height: 1.4;
	color: #FFF;
	padding: 1em 0;
}
.modalContents table th {
	white-space: nowrap;
	-ms-word-break: keep-all;
	word-break: keep-all;
}
.modalContents table td {
	padding-left: 1em;
}

.modalContents table td p {
	margin: 0 0 .5em 0;
	padding: 0 0 0 0;
}
.modalContents .size_box {
	margin: 1.5em auto;
}
.modalContents .size_box .size {
	display: none;
	position: relative;
}
.modalContents .size_box .size img {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*
.modalContents .size_box {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
margin: 4em 0 0 0;
padding: 0 0 0 0;

}
.modalContents .size_box .size01 {
	width: 100%;
}

.modalContents .size_box .size02 {
	width: 100%;
	text-align: left;
	padding: 3em 0 0 0;
}

.modalContents .size_box .size01 img {
	width: 100%;
	max-width: 12rem;
	height: auto;
}

.modalContents .size_box .size02 img {
	width: 100%;
	max-width: 5.6rem;
	height: auto;
}
*/
.modalContents ul.remarks {
	margin: 4em 0 0 0;
	padding: 0 0 0 0;
}

.modalContents ul.remarks li {
	list-style: none;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 3.2vw;
	line-height: 1.4;
	font-weight: 300;
	margin: 0 0 .5em 0;
	padding: 0 0 0 20px;
	position: relative;
}

.modalContents ul.remarks li::before {
	content: '※';
	display: inline-block;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.closeModal {
	position: absolute;
	top: 3rem;
	right: 1rem;
	cursor: pointer;
	display: inline-block;
	vertical-align: middle;
	color: #FFF;
	line-height: 1;
	width: 3em;
	height: 0.1em;
	background: currentColor;
	border-radius: 0.1em;
	transform: rotate(45deg);
}

.closeModal::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: inherit;
	border-radius: inherit;
	transform: rotate(90deg);
}

.closeModal::after {
	position: absolute;
	top: -24px;
	left: 0;
	transform: rotate(45deg);
	content: '';
	width: 5em;
	height: 5em;
	display: block;
}

@media screen and ( max-width: 767px ) {
	.modalContents .size_box .size_sp {
		display: block;
	}
}

@media (min-width: 768px) {
	.modalWrapper {
		position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		margin: auto;
		transform: translateY(-50%);
		width: 90%;
		max-width: 24rem;
		padding: 0;
		background-color: #000;
	}

	.modalContents {
		max-height: 24rem;
		overflow: auto;
		padding: 2em 3em 0 3em;
	}

	.modalContents h1 {
		text-align: left;
		font-family: 'Hind', sans-serif;
		font-size: .9rem;
		line-height: 1.4;
		font-weight: 500;
		color: #FF0000;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
	}

	.modalContents .ph {
		margin: 1em 0 3em 0;
		padding: 0 0 0 0;
	}

	.modalContents .ph img {
		width: 100%;
		height: auto;
	}

	.modalContents h2 {
		text-align: left;
		font-family: 'Hind', sans-serif;
		font-size: .6rem;
		line-height: 1.4;
		font-weight: 500;
		letter-spacing: 2px;
		color: #FFF;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
	}

	.modalContents table {
		width: 100%;
		border: 0;
		border-collapse: collapse;
		margin: 0 0 0 0;
	}

	.modalContents table tr {
		border-bottom: solid 1px #888;
	}

	.modalContents table th {
		vertical-align: top;
		text-align: left;
		font-family: 'Noto Sans JP', sans-serif;
		font-size: .5rem;
		line-height: 1.4;
		letter-spacing: 1px;
		color: #FFF;
		font-weight: 300;
		padding: 1em 0 1em 0;
	}

	.modalContents table td {
		vertical-align: top;
		text-align: left;
		font-family: 'Noto Sans JP', sans-serif;
		font-size: .5rem;
		line-height: 1.4;
		letter-spacing: 1px;
		color: #FFF;
		font-weight: 300;
		padding: 1em 0 1em 0;
	}

	.modalContents table td p {
		margin: 0 0 .5em 0;
		padding: 0 0 0 0;
	}

	.modalContents .size_box .size_pc {
		display: block;
	}
/*
	.modalContents .size_box {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		align-items: center;
		margin: 7em 0 0 0;
		padding: 0 0 0 0;
	}

	.modalContents .size_box .size01 {
		width: 60%;
	}

	.modalContents .size_box .size02 {
		width: 40%;
		text-align: right;
		padding: 0 0 0 0;
	}

	.modalContents .size_box .size01 img {
		width: 100%;
		max-width: 13rem;
		height: auto;
	}

	.modalContents .size_box .size02 img {
		width: 100%;
		max-width: 5.6rem;
		height: auto;
	}
*/
	.modalContents ul.remarks {
		margin: 0;
		padding: 0 0 0 0;
	}

	.modalContents ul.remarks li {
		list-style: none;
		font-family: 'Noto Sans JP', sans-serif;
		font-size: .5rem;
		line-height: 1.4;
		font-weight: 300;
		margin: 0 0 .5em 0;
		padding: 0 0 0 1em;
		position: relative;
	}

	.modalContents ul.remarks li::before {
		content: '※';
		display: inline-block;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;

	}

	.closeModal {
		position: absolute;
		top: 2.5em;
		right: 1.44rem;
		cursor: pointer;
		display: inline-block;
		vertical-align: middle;
		color: #FFF;
		line-height: 1;
		width: 3em;
		height: 0.1em;
		background: currentColor;
		border-radius: 0.1em;
		transform: rotate(45deg);
		font-size: 0.6em;
	}

	.closeModal::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: inherit;
		border-radius: inherit;
		transform: rotate(90deg);
	}

	.closeModal::after {
		position: absolute;
		top: -24px;
		left: 0;
		transform: rotate(45deg);
		content: '';
		width: 5em;
		height: 5em;
		display: block;
	}

}