﻿@charset "UTF-8";



/* modal ------------------------------------------------*/
.modal {
	display: none;
}

.modal-overlay {
	position: fixed;
	z-index: 9999;
	top: 0px;
	height: 100%;
	width: 100%;
	display: none;
	background: rgba(0, 0, 0, 0.65);
}

.modal-content {
	position: fixed;
	z-index: 10000;
	margin: auto;
	left: 20px;
	right: 20px;
	top: 27%;
/*	height: 440px;
	margin-top: -220px;*/
	max-width: 680px;
	background: rgb(255, 255, 255);
	box-sizing: border-box;
	border: 5px solid #d18309;
	padding: 10px;
	border-radius: 8px;
}


@media screen and (min-width: 751px) {/*PC用*/
.modal-content {
	position: fixed;
	z-index: 10000;
	margin: auto;
	left: 20px;
	right: 20px;
	top: 25%;
	height: 440px;
/*	margin-top: -220px;*/
	max-width: 580px;
	background: rgb(255, 255, 255);
	box-sizing: border-box;
	border: 1px solid #d18309;
	padding: 10px;
	border-radius: 8px;
}
}

.modal-content .sp-close {
	position: absolute;
	top: 4px;
	right: 4px;
	display: inherit;
}

h2.modal-title {
	color:#bb4029;
	margin-top: 4px;
	margin-bottom: 4px;
	text-align: center;
	font-size: 3.2rem;
}



@media screen and (min-width: 751px) {/*iPad用*/
h2.modal-title {
	margin-top: 4px;
	margin-bottom: 4px;
	text-align: center;
	font-size: 2.0rem;
}
}

.modal-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
    padding: 10px 20px;
}
.modal-footer div {
	max-width: 295px;
	margin: auto;
}
.modal-footer p {
	margin: 0;
}

.modal-main {
	width: 100%;
	height: 300px;
	margin: auto;
}

.modal-main-liden {
	width: 100%;
	margin: auto;
}

.modal-loading {
	position: absolute;
	top: 50%;
	margin-top: -24px;
	left: 0;
	right: 0;
	text-align: center;
	background-image: url(https://cdn1.n-kishou.co.jp/image/common/icon_load.gif);
	background-size: 15.5px 15.5px;
	background-position: center 4px;
	background-repeat: no-repeat;
	padding-top: 24px;
	color: #585858;
	font-size: 14px;
	font-weight: 700;
}


/* close button */
.sp-close {
	position: fixed;
	z-index: 9999;
	top: 20px;
	right: 320px;
	display: none;
	width: 35px;
	height: 35px;
}

.sp-close .sp-close-inner {
	position: relative;
	display: block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	background: rgb(255, 255, 255);
	transition: opacity 0.2s;
	border-radius: 100%;
}

.sp-close .sp-close-inner::before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.sp-close .sp-close-inner::after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.sp-close .sp-close-inner::after,
.sp-close .sp-close-inner::before {
	position: absolute;
	top: 17px;
	left: 8.5px;
	display: block;
	width: 17px;
	height: 1.5px;
	content: "";
	background: #d16209;
}


/* tutorial-modal --------------------------------------*/
#tutorial-modal .modal-content {
	height: 815px;
	margin-top: -110px;
	padding: 10px 20px;
}

#tutorial-modal .modal-main {
	margin-top: 10px;
	color: #585858;
	line-height: 1.75;
	font-weight: 400;
	height: auto;
}

#tutorial-modal .modal-main img{
	width: 630px;
	height: 540px;
}

@media screen and (min-width: 751px) {/*iPad用*/
	#tutorial-modal .modal-content {
		height: 540px;
		width: 450px;
		margin-top: -80px;
		padding: 10px 15px;
		font-size: 1.8rem;
	}
	#tutorial-modal .modal-main img{
		height: 340px;
	}
}

