.__modal-content {
	position: fixed;
	display: none;
	z-index: 1000;
	width: 100%;
	margin: 0;
	padding: 35px 20px 10px;
	background: none;
	color: rgba(0,0,0,1.0);
	
	top: 0;
	left: 0;
	height: 100%;
	overflow-y: auto;
}

.__modal-content p {
	margin:0;
	padding:0;
}

.modal-overlay {
	z-index: 100;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba(0,0,0,1.0);
}

.modal-open {
	color: rgba(255,255,255,1.0);
	transition: 0.2s all
}

.modal-open:hover {
	cursor: pointer;
	color: rgba(255,255,255,0.75);
}

.modal-close {
	position: fixed;
	top: 35px;
	right: 35px;
}
.modal-close img {
	width: 50px;
	height: 50px;
	transition: 0.3s all;
}
.modal-close:hover {
	cursor: pointer;
}
.modal-close:hover img {
	transform: rotate(180deg);
}


/*----------------------------------
** modal
----------------------------------*/
.__modal-wrap {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	color: rgba(255,255,255,1.0);
}
.__modal-nav {
	width: 65%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 120px;
	font-family: 'Graduate', cursive;
	text-align: center;
}
.__modal-nav:last-child {
	margin-bottom: 0;
}
.__modal-nav a {
	color: rgba(255,255,255,1.0);
	text-decoration: none;
}
.__modal-nav a:hover {
	color: rgba(255,255,255,1.0);
	text-decoration: underline;
}

.__modal-nav h4 {
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 35px;
}
.__modal-nav h4 span {
	padding-left: 1em;
	padding-right: 1em;
	border-left: 1px solid rgba(255,255,255,1.0);
	border-right: 1px solid rgba(255,255,255,1.0);
}

/* 検索 */
.__modal-nav input[type=text] {
	background: rgba(240,240,240,1.0) url(../img/ic-search.svg) 5px center no-repeat;
	background-size: 17px auto;
	border: none;
	padding: 5px 5px 5px 28px;
}
.__modal-nav input[type=submit] {
	background: rgba(255,255,255,1.0);
	border: 1px solid rgba(255,255,255,1.0);
	padding: 7px 1em;
	font-family: 'Graduate', cursive;
	transition: 0.2s all;
	margin-left: 7px;
}
.__modal-nav input[type=submit]:hover {
	background: rgba(0,0,0,1.0);
	border: 1px solid rgba(255,255,255,1.0);
	color: rgba(255,255,255,1.0);
	padding: 7px 1em;
	font-family: 'Graduate', cursive;
}

/* CATEGORY, MENU */
.__modal-nav .__cats,
.__modal-nav .__menu{
	list-style: none;
	letter-spacing: -0.4em;
	margin: 0;
	padding: 0;
}
.__modal-nav .__cats li,
.__modal-nav .__menu li {
	letter-spacing: normal;
	display: inline-block;
	margin-left: 7px;
	margin-right: 7px;
	font-size: 18px;
	font-family: 'Graduate', cursive;
}

/* COMPANY */
.__modal-nav h2,
.__modal-nav h3,
.__modal-nav .__tx {
	margin-top: 0;
	margin-bottom: 30px;
}
.__modal-nav h2 img {
	width: auto;
	height: 35px !important;
}
.__modal-nav h3 img {
	width: auto;
	height: 45px;
}
.__modal-nav .__tx img {
	width: auto;
	height: 10px;
}



/*--------------------------------------
**
** スマホ
**
--------------------------------------*/
@media (max-width: 640px) {
	.__modal-content {
		position: fixed;
		display: none;
		z-index: 1000;
		width: 100%;
		margin: 0;
		padding: 15px;
		/*border:2px solid rgba(170,170,170,1.0);*/
		background: rgba(0,0,0,1.0);
		color: rgba(255,255,255,1.0);
	}

	.__modal-content p {
		margin:0;
		padding:0;
	}

	.modal-overlay {
		z-index:1;
		display:none;
		position:fixed;
		top:0;
		left:0;
		width:100%;
		height:120%;
		background-color:rgba(0,0,0,1.0);
	}

	.modal-open {
		color: rgba(255,255,255,1.0);
	}
	.modal-open:hover {
		cursor: pointer;
		color: rgba(255,255,255,0.75);
	}

	.modal-close {
		position: fixed;
		top: 20px;
		right: 20px;
	}
	.modal-close img {
		width: 30px;
		height: 30px;
		transition: 0.3s all;
	}
	
	/*----------------------------------
	** modal
	----------------------------------*/
	/*----------------------------------
	** modal
	----------------------------------*/
	.__modal-wrap {
		width: 100%;
		margin-top: 60px;
		margin-left: auto;
		margin-right: auto;
		color: rgba(255,255,255,1.0);
	}
	.__modal-nav {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 0px;
		margin-bottom: 120px;
		font-family: 'Graduate', cursive;
		text-align: center;
	}
	.__modal-nav:last-child {
		margin-bottom: 0;
	}
	.__modal-nav a {
		color: rgba(255,255,255,1.0);
		text-decoration: none;
	}
	.__modal-nav a:hover {
		color: rgba(255,255,255,1.0);
		text-decoration: underline;
	}

	.__modal-nav h4 {
		font-size: 14px;
		margin-top: 0;
		margin-bottom: 35px;
	}
	.__modal-nav h4 span {
		padding-left: 1em;
		padding-right: 1em;
		border-left: 1px solid rgba(255,255,255,1.0);
		border-right: 1px solid rgba(255,255,255,1.0);
	}
	
	/* 検索 */
	.__modal-nav input[type=text] {
		background: rgba(240,240,240,1.0) url(../img/ic-search.svg) 5px center no-repeat;
		background-size: 17px auto;
		border: none;
		padding: 5px 5px 5px 28px;
		margin-bottom: 15px;
	}
	.__modal-nav input[type=submit] {
		background: rgba(255,255,255,1.0);
		border: 1px solid rgba(255,255,255,1.0);
		padding: 7px 1em;
		font-family: 'Graduate', cursive;
		transition: 0.2s all;
		margin-left: 0;
	}
	.__modal-nav input[type=submit]:hover {
		background: rgba(0,0,0,1.0);
		border: 1px solid rgba(255,255,255,1.0);
		color: rgba(255,255,255,1.0);
		padding: 7px 1em;
		font-family: 'Graduate', cursive;
	}

	/* CATEGORY, MENU */
	.__modal-nav .__cats,
	.__modal-nav .__menu {
		list-style: none;
		letter-spacing: -0.4em;
		margin: 0;
		padding: 0;
	}
	.__modal-nav .__cats li,
	.__modal-nav .__menu li {
		letter-spacing: normal;
		display: inline-block;
		margin-bottom: 15px;
		font-size: 18px;
		font-family: 'Graduate', cursive;
	}
	__modal-nav .__menu li {
		margin-left: 7px;
		margin-right: 7px;
	}
	.__modal-nav .__cats {
		text-align: left;
	}
	.__modal-nav .__cats li {
		margin-left: 1.5%;
		margin-right: 1.5%;
		width: 47%;
		text-align: left;
	}

	/* COMPANY */
	.__modal-nav h2,
	.__modal-nav h3,
	.__modal-nav .__tx {
		margin-top: 0;
		margin-bottom: 30px;
	}
	.__modal-nav h2 img {
		width: auto;
		height: 35px;
	}
	.__modal-nav h3 img {
		width: auto;
		height: 45px;
	}
	.__modal-nav .__tx img {
		width: auto;
		height: 10px;
	}
}