﻿
/* モーダルウィンドウ */
.modal-window {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40%;
	max-width: 800px;
	height: auto;
	border-radius: 5px;
	z-index: 11;
}
@media screen and (max-width:767px) {
	.modal-window {
		width: 100%;
	}
}

/* 閉じるボタン */
.button-close {
	position: absolute;
	top: 0;
    right: 0;
    cursor: pointer;
    transform: translate(50%,0);
	border: none;
	background-color: transparent;
}
.button-close--inner {
	transform: rotate(45deg);
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	line-height: 1;
	width: 2.5em;
	height: 0.4em;
	background: currentColor;
	border-radius: 0.1em;
}
.button-close--inner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: inherit;
	border-radius: inherit;
	transform: rotate(90deg);
	transition: 1.0s;
}
.button-close:hover .button-close--inner {
	color: #000;
}
@media screen and (max-width:767px) {
	.button-close {
		right: 30px;
	}
	.button-close--inner {
		width: 2.0em;
		height: 0.2em;
	}
}

/* オーバーレイ */
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	z-index: 10;
}


.no_scroll {
	overflow: hidden;
}

.js-caption {
	text-align: center;
	margin-top: 15px;
	font-size: 1.25rem;
	font-weight: 700;
	padding: 10px 0;
	background-color: #ffffff;
    background-image: linear-gradient(45deg, #f9eae380 25%, transparent 25%, transparent 75%, #f9eae380 75%), linear-gradient(45deg, #f9eae380 25%, transparent 25%, transparent 75%, #f9eae380 75%);
    background-position: 20px 20px, 27px 27px;
    background-size: 14px 14px;
}

@media screen and (max-width:767px) {
	.js-caption {
		font-size: 4.0vw;
	}
}