@charset "utf-8";
/* ---------------------------------- **
		Modal Window
** ---------------------------------- */
#layer_board_area {
	display: none;
	position: fixed;
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 3vw;
    overflow-y: auto;
    box-sizing: border-box; /*スクロールバーを非表示*/
    -ms-overflow-style: none; /*スクロールバーを非表示*/
    scrollbar-width: none; /*スクロールバーを非表示*/
    z-index: 90000;
}
#layer_board_area::-webkit-scrollbar {
	display:none; /*スクロールバーを非表示*/
}
.layer_board_bg {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	cursor: pointer;
	background: rgba(165,222,153,0.6);
	z-index: 90000;
}
/* --modalWindow ポップアップ部分-- */
.layer_board {
	display: none;
	position: relative;
	width: 80%;
	max-width: 800px;
	margin: 3em auto;
	border-radius: 5px;
	box-sizing: border-box;
	background: #fff;
	z-index: 90010;
	border-radius: 15px;
}

.layer_board.shortLayer {
	margin: 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

/* --modalWindow バツ(閉じる)ボタン-- */
.layer_board .mdl_btn_close.circle_btn {
	position: absolute;
	top: -35px;
	right: -35px;
	width: 70px;
	height: 70px;
	background-color: #fff;
	background-image: url("btn_close.png");
	background-repeat: no-repeat;
	background-size: 18px;
	background-position: 50%;
	border-radius: 50%;
	transition: .15s;
	cursor: pointer;
	border: 1px solid rgba(0,162,154,0.5);
}

.layer_board .mdl_btn_close.circle_btn:hover {
	opacity: 0.7;
}

.layer_board .mdl_btn_close.circle_btn:before{
	content: "";
	width: 2px;
	height: 35px;
	position: absolute;
	display: block;
	background-color: #22C19B;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	transform: rotate(45deg);
}

.layer_board .mdl_btn_close.circle_btn:after{
	content: "";
	width: 2px;
	height: 35px;
	position: absolute;
	display: block;
	background-color: #22C19B;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	transform: rotate(-45deg);
}

/* --↑必須なのはここまで↑-- */

/* --modalWindow タイトル部分-- */
.layer_borad_title {
	font-size: 200%;
	font-weight: 200;
	color: #ED344E;
}
/* --modalWindow コンテンツ部分-- */
.layer_borad_content {
	margin: 1em auto 1.5em;
}
/* --modalWindow 四角ボタン-- */
.layer_board .square_btn {
	display: block;
    position: relative;
    width:160px;
    margin: 0 auto;
    padding: 10px;
    border:2px solid #111;
    border-radius: 2px;
    font-size: 1.2em;
    font-weight: 300;
    color: #111;
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none;
    transition: .15s;
}
.layer_board .square_btn:hover {
	background: #111;
	color: #fff;
}

@media screen and (max-width:480px) {
	.layer_board {
		width: 95%;
		margin: 3em auto;
		padding: 0;
	}
	.layer_board .mdl_btn_close.circle_btn {
		width: 50px;
		height: 50px;
		background-size: 14px;
		top: -25px;
		right: -10px;
		border: 1px solid #ccc;
	}

	.layer_board .mdl_btn_close.circle_btn:before{
		height: 25px;
	}

	.layer_board .mdl_btn_close.circle_btn:after{
		height: 25px;
	}
}

.modal_message{
	overflow: hidden;
	border-radius: 15px;
}

.modal_message .message{
	width: 100%;
	float: left;
	padding: 50px;
}

.modal_message .message .title{
	font-size: 1.6rem;
	margin-bottom: 30px;
	font-weight: bold;
	line-height: 1.4em;
}

.modal_message .message .text{
	font-size: 1.1rem;
	line-height: 1.5em;
	width: 85%;
	margin: auto;
}

.modal_message .message .text .modal_contact_btn{
	width: 80%;
	margin: 20px auto 0;
	background-color: #00A29A;
	border-radius: 5px;
	transition: all 0.3s ease;
}

.modal_message .message .text .modal_contact_btnc:hover{
	opacity: 0.7;
}

.modal_message .message .text .modal_contact_btn a{
	color: #fff;
	font-weight: bold;
	display: block;
	position: relative;
	padding: 15px 0;
	text-decoration: none;
}

.modal_message .message .text .modal_contact_btn a:after{
	content: "";
	width: 10px;
	height: 10px;
	display: block;
	position: absolute;
	right: 20px;
	top: 0;
	bottom: 0;
	margin: auto;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}

.modal_message .image{
	width: 300px;
	height: 395px;
	float: right;
	background-image: url(../img/info/message_image.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}


@media screen and (max-width:480px) {

	.modal_message .message{
		width: 100%;
		padding: 10%;
	}

	.modal_message .message .text{
		width: 100%;
	}

	.modal_message .message .text .modal_contact_btn{
		width: 100%;
	}

	.modal_message .message .title{
		margin-bottom: 20px;
		font-size: 1.5rem;
	}

}

