/* --------- popup --------- */

ul.popup {
	clear: both;
	width: 820px;
	margin: 0 auto;
	padding: 50px 0 0 0;
}
#modal-content {
	text-align: left;
	color: #333;
	width: 0;
	margin: 0 auto;
	padding: 30px 0;
	top: 100px !important;
	left: 10% !important;
	border: 3px solid #FF7364;
	background-color: rgba(255,255,255,1);
	position: fixed;
	overflow: visible;
	display: none;
	-webkit-overflow-scrolling: touch;
	z-index: 31000;
}

#modal-content1,
#modal-content2 {
	display: none;
}

#modal-content::-webkit-scrollbar { /* スクロールバー全体 */
    width: 5px;
}

#modal-content::-webkit-scrollbar-thumb { /* スクロールバーのある部分 */
    background: #EA5710;
    border-radius: 100px;
}

#modal-content::-webkit-scrollbar-track-piece:start { /* スクロールバーが表示されてない部分（前） */
	background-color: rgba(0,0,0,0);
}

#modal-content::-webkit-scrollbar-track-piece:end { /* スクロールバーが表示されてない部分（後ろ） */
	background-color: rgba(0,0,0,0);
}

#modal-content p {
	line-height: 180%;
	margin: 0 0 15px 0;
}

#modal-content h2 {
	font-size: 160%;
	color: #FF7364;
	margin: 0 0 15px 0;
}

#modal-overlay {
	z-index: 30000;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba(0,0,0,0.75);
}

#modal-content .itembtn a {
	display: block;
	font-size: 180%;
	text-align: center;
	line-height: 135%;
	color: #FFF;
	text-decoration: none;
	padding: 20px 0 18px 0;
	margin: 50px auto 0 auto;
	width: 600px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-bottom-width: 4px;
	background: #6DBE84;
	border-bottom: 3px solid #47A060;
}

#modal-content .itembtn a:hover {
	color: #FFF;
	transition: 0.5s;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-bottom-width: 4px;
	background: #47A060;
	border-bottom: 3px solid #347646;
}

#modal-content .itembtn a em {
	display: block;
	font-size: 80%;
	color: inherit;;
}

/* --------- popup --------- */

#modal-content ul {
	display: flex;
	flex-flow: wrap;
	justify-content: center;
}
#modal-content ul li {
	width: 360px;
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	position: relative;
}
#modal-content ul.modal-col2 li:first-child {
	margin-right: 60px;
}
#modal-content ul.modal-col2 li:nth-child(2) {
	margin-left: 60px;
}
#modal-content ul.modal-col2 li:first-child::after {
	content: '';
	dispay: block;
	width: 3px;
	height: 100%;
	background: #FF7364;
	position: absolute;
	top: 0;
	right: -60px;
	z-index: 100;
}
#modal-content ul li p {
	font-size: 18px !important;
	margin: 0 auto 60px;
	width: 80%;
}
.itembtn-01,
.itembtn-02 {
	margin-top: auto;
}
.itembtn-01 a {
	border: solid 2px #e36a65;
	border-radius: 20px;
	width: 360px;
	height: 90px;
	box-sizing: border-box;
	display: flex;
	font-size: 16px;
	color: #e36a65;
	letter-spacing: 0.05em;
	line-height: 1.6;
	text-align: center;
	align-items: center;
	position: relative;
	justify-content: center;
	/*padding-left: 50px;*/
}
.itembtn-02 a {
	border: solid 2px #e36a65;
	border-radius: 20px;
	width: 360px;
	height: 75px;
	box-sizing: border-box;
	display: flex;
	font-size: 16px;
	color: #e36a65;
	letter-spacing: 0.05em;
	line-height: 1.6;
	text-align: center;
	align-items: center;
	position: relative;
	justify-content: center;
	/*padding-left: 50px;*/
}
.itembtn-03 a {
	border: solid 2px #e36a65;
	border-radius: 20px;
	width: 360px;
	height: 75px;
	box-sizing: border-box;
	display: flex;
	font-size: 16px;
	color: #e36a65;
	letter-spacing: 0.05em;
	line-height: 1.6;
	text-align: center;
	align-items: center;
	position: relative;
	justify-content: center;
	margin-top: 15px;
	/*padding-left: 50px;*/
}
.itembtn-01 a:hover,
.itembtn-02 a:hover,
.itembtn-03 a:hover {
	background: #e36a65;
	color: #fff;
}
.itembtn-01 a:before,
.itembtn-02 a:before,
.itembtn-03 a:before{
	content: "";
	background-image: url("https://www.aixia.jp/images/kenkoukan/yobou-arrow.png");
	background-size: contain;
	width: 20px;
	height: 20px;
	display: block;
	position: absolute;
	left: 15px;
	top: 35px;
}
/*
.itembtn-01 a:after {
	content: "";
	background-image: url("https://www.aixia.jp/images/kenkoukan/yobou-btn-01.png");
	background-size: cover;
	width: 60px;
	height: 101px;
	display: block;
	position: absolute;
	right: 10px;
	bottom: 6px;
}
.itembtn-02 a:after {
	content: "";
	background-image: url("https://www.aixia.jp/images/kenkoukan/yobou-btn-02.png");
	background-size: cover;
	width: 60px;
	height: 101px;
	display: block;
	position: absolute;
	right: 10px;
	bottom: 6px;
}
*/
#modal-content._new {
	width: 990px;
	top: calc( 50% - 187px ) !important;
	left: calc( 50% - 495px ) !important;
	height: auto;
}

ul.popup._wide .button-link1{
	width: 508px;
	float: none;
	margin-left: auto;
	margin-right: auto;
}
@media screen and (min-width:751px) {
	._sp {
		display: none;
	}
}
/*@media screen and (max-width:980px) {
	#modal-content .modal-col2 {
		width: 90%;
		margin-top: -160px;
		margin-left: 0;
		top: 50% !important;
		left: 10% !important;
		padding: 30px 0;
		border: 3px solid #FF7364;
		background-color: rgba(255,255,255,1);
		position: fixed;
		overflow: auto;
		height: auto;
		box-sizing: border-box;
	}
}*/
@media screen and (max-width:960px) {
	#modal-content._new {
		width: 90%;
		top: 10% !important;
		left: 5% !important;
		padding: 5%;
		height: auto;
		box-sizing: border-box;
	}
	#modal-content ul.modal-col2 li:first-child,
	#modal-content ul.modal-col2 li:nth-child(2) {
		margin: 0;
		padding: 0;
	}
	#modal-content ul.modal-col2 li:first-child::after {
		display: none;
	}
	#modal-content ul.modal-col2 li:first-child {
		border-right: none;
		border-bottom: 3px solid #FF7364;
		margin-bottom: 30px;
	}
	#modal-content ul.modal-col2 li {
		width: 100%;
		padding: 30px 0 30px 0;
		box-sizing: border-box;
	}
	#modal-content ul.modal-col2 li:first-child{
		padding: 0 0 30px 0;
	}
	.itembtn-01 a,
	.itembtn-02 a,
	.itembtn-03 a{
		width: 100%;
		height: 90px;
		padding-left: 0;
		font-size: 14px;
		justify-content: center;
	}
	.itembtn-01 a:after,
	.itembtn-02 a:after,
	.itembtn-03 a:after{
		display: none;
	}
	#modal-content ul li p {
		font-size: 16px !important;
		margin: 0 auto 30px;
		width: 90%;
	}
	ul.popup._wide .button-link1{
	width: 100%;
	}
}
