@charset "utf-8";
body.modal_active{
	position: relative;
	height: 100vh;
}
.modal_bg{
	display: none;
	background-color: rgba(255,213,61,0.9);
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	content: "";
	z-index: 15;
}
.modal_item{
	display: none;
	/* background-color: rgba(255,213,61,0.9); */
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100vh;
	margin: auto;
	font-size: 16px;
	z-index: 9990;
	font-weight: normal;
}
.modal_item_out{
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: auto;
}
.modal_item_wrap{
	position: relative;
	background-color: #fff;
	/* top: 60px; */
	/* position: absolute;
	top: 50%;
	left: 50%; */
	width: 980px;
	max-width: 88%;
	padding: 10px 100px 60px;
	margin: 0 auto;
	transform: translateY(60px);
	/* transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%); */
}
.green .modal_item_wrap{
	background: url(/special/tobira/images/modal_ico_green.svg),#fff;
	background-size: 370px 160px;
	background-repeat: no-repeat;
	background-position: 0 0;
}
.blue .modal_item_wrap{
	background: url(/special/tobira/images/modal_ico_blue.svg),#fff;
	background-size: 370px 160px;
	background-repeat: no-repeat;
	background-position: 0 0;
}
.orange .modal_item_wrap{
	background: url(/special/tobira/images/modal_ico_orange.svg),#fff;
	background-size: 370px 160px;
	background-repeat: no-repeat;
	background-position: 0 0;
}


.modal_item h2{
	margin: 160px 0 100px;
	font-size: 35px;
	line-height: 1.4;
	font-feature-settings: "palt";
}
#modal_item16.modal_item h2{
	margin-bottom: 170px;
}
.modal_item.green h2{
	color: #39B54A;
}
.modal_item.blue h2{
	color: #29ABE2;
}
.modal_item.orange h2{
	color: #F15A24;
}
.modal_img{
	position: absolute;
	top: 30px;
	right: 40px;
}
.modal_item h3{
	margin-bottom: 40px;
	font-size: 30px;
	font-weight: normal !important;
	line-height: 1.5;
}

.modal_item p{
	clear: both;
	margin: 0 0 40px;
}

.modal_link{
	display: inline-block;
}
.modal_link li{
	list-style-type: none;
}
.modal_link a{
	display: block;
	background: url(/special/tobira/images/arw_ico.svg) 90% 50% no-repeat;
	background-size: 8px 10px;
	position: relative;
	border: solid 1px #000;
	padding: 12px 70px 12px 15px;
	font-size: 14px;
}
.modal_link a:hover{
	background-color: rgba(255,213,61,1);
	text-decoration: none;
}


.modal_close_btn{
	position: absolute;
	top: -25px;
	right: -25px;
}



@media screen and (min-width: 768px) and (max-width: 1280px) {
/*画面幅が768px～1280px（タブレット専用スタイル）*/
.modal_item_wrap{
	transform: translateY(80px);
}

}/*タブレット End*/






@media screen and (max-width: 767px) {
/*画面幅が767px以下（スマホ専用スタイル）*/
.modal_item{
	/* background-color: rgba(255,213,61,0.9); */
	height: inherit;
	font-size: 13px;
}
.modal_item_wrap{
	text-align: center;
	background-size: 185px 80px;
	height: inherit;
	padding: 10px 8% 30px;
	margin: 0;
	transform: translateY(40px);
	/* transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%); */
}
.green .modal_item_wrap{
	background: url(/special/tobira/images/modal_ico_green.svg),#fff;
	background-size: 185px 80px;
	background-repeat: no-repeat;
	background-position: 0 0;
}
.blue .modal_item_wrap{
	background: url(/special/tobira/images/modal_ico_blue.svg),#fff;
	background-size: 185px 80px;
	background-repeat: no-repeat;
	background-position: 0 0;
}
.orange .modal_item_wrap{
	background: url(/special/tobira/images/modal_ico_orange.svg),#fff;
	background-size: 185px 80px;
	background-repeat: no-repeat;
	background-position: 0 0;
}
.modal_item h2{
	text-align: left;
	margin: 0 0 25px;
	font-size: 18px;
}
#modal_item16.modal_item h2{
	margin-bottom: 25px;
}
.modal_item h3{
	margin-bottom: 25px;
	font-size: 20px;
}
.modal_img{
	display: inline-block;
	position: relative;
	top: inherit;
	right: inherit;
	width: 60%;
	height: auto;
	margin: 20px auto;
}

.modal_item p{
	clear: both;
	text-align: left;
	margin: 0 0 2em;
}

.modal_link{
	display: inline-block;
	text-align: left;
	width: 100%;
}
.modal_link a{
	background: url(/special/tobira/images/arw_ico.svg) 94% 50% no-repeat;
	background-size: 8px 10px;
	padding: 12px 36px 12px 15px;
}


.modal_close_btn{
	top: -2%;
	right: -8px;
	width: 46px;
	height: 46px;
}
.modal_close_btn img{
	width: 100%;
	height: auto;
}


}/*スマホ End*/
