@charset "UTF-8";

/*----------------------------------
Title : shopplan.css
For   : setting shopplan layout
----------------------------------*/

/* -------------------------------------------------------------------
figure modal box
------------------------------------------------------------------- */
.figure-modal-wrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-top: 80px;
	z-index: 4000;
	background-color: #6283A9;
}

.figure-modal-wrapper .row {
	margin: 0 20px;
}

.modal-close-button {
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	width: 55px;
  height: 70px;
	background-color: #000;
}
.modal-close-button::after {
	position: absolute;
	top: calc(50% - 15px);
	right: calc(50% - 15px);
	width: 30px;
  height: 30px;
	content: "";
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M6 6L 24 24M24 6L6 24'/%3E%3C/svg%3E");
}

.figure-modal-wrapper h3 {
	margin-bottom: 25px;
	text-align: center;
	color: #fff;
}

.figure-modal-wrapper img.display_image {
	width: 100%;
	height: auto;
	margin-bottom: 25px;
}

.figure-modal-wrapper p {
	color: #fff;
}

@media (min-width: 991px) {
	.figure-modal-wrapper {
		padding-top: 110px;
	}

	.figure-modal-wrapper .row {
		margin: 0 12%;
	}

	.figure-modal-wrapper h3 {
		text-align: left;
	}

	.figure-modal-wrapper p {
		margin-top: 50px;
	}
}

.figure-modal-box {
	position: relative;
	margin-bottom: 50px;
}

.figure-modal-box figure {
	position: relative;
}

.figure-modal-box figure img {
	width: 100%;
}

.figure-modal-box figcaption {
	display: none;
}

.figure-modal-box button {
	overflow: hidden;
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 45px;
	height: 45px;
	outline: none;
	color: #fff;
  border: 0;
	text-indent: 200%;
	white-space: nowrap;
	border-radius: 45px;
  background-color: #6B8CB2;
}

.figure-modal-box button:hover {
	opacity: .8;
}

.figure-modal-box button::before {
	position: absolute;
	top: calc(50% - 10px);
	left: calc(50% - 10px);
	width: 19px;
	height: 19px;
	content: "";
	background-image: url("../img/icon_detail.svg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

@media (min-width: 768px) {
	.figure-modal-box button {
		width: 180px;
		padding-left: 15px;
		text-indent: 0;
	}

	.figure-modal-box button::before {
		left: 30px;
	}
}
