/*------------------------------------------------------------
	レイヤーボード（POP UP）
------------------------------------------------------------*/

.flex-box {
	display: flex;
	flex-wrap: wrap;
}

/*
.one-half {
	width: 100%;
	background: #fff;
}
*/

/*------------------------------------------------------------
	レイヤーボード（FLOATING WIDGET）
------------------------------------------------------------*/

.layer_board {
	position: absolute;
	box-sizing: border-box;
}

.layer_board {
	display: none;
    background: #fff;
    padding: 8px;
    width: 92vw;
    height: auto;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 5vw;
    margin: auto;
    z-index: 10000;
	box-shadow: 0 5px 10px rgba(0,0,0,.3);
}

.layer_board img {
	display: block;
	margin: 0 auto;
}

.layer_board a.btn_close {
	background: #000;
	width: 30px;
	height: 30px;
    font-weight: 500;
	line-height: 30px;
	text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 30px;
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
}

@media only screen and (min-width: 813px) {

	.layer_board { 
		width: 416px;
		bottom: 40px;
		left: 40px;
		right: auto;
		box-shadow: 0 5px 10px rgba(0,0,0,.3);
	}
	
	.layer_board img {
		margin: 0 auto;
	}
	
	.layer_board a.btn_close {   
		top: -13px;
		right: -15px;
	}
	
	.layer_board a.btn_close:hover {
		background: #346556;
	}
	
}


/*------------------------------------------------------------
	レイヤーボード（メルマガ登録フォーム）
------------------------------------------------------------*/

#form-float.layer_board {
 	padding: 0;
 }
 
@media only screen and (min-width: 813px) {
	 
	 #form-float.layer_board {
	 	width: 550px;
	 }
	 
}

#form-float .form-board .left-photo {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	width: 100%;
	height: 150px;
	box-sizing: border-box;
}

@media only screen and (min-width: 813px) {
	
	#form-float .form-board .left-photo {
		width: 250px;
		height: auto;
	}

}


#form-float .form-board .right-form {
	width: 100%;
	padding: 8px 20px 5px 20px;
	box-sizing: border-box;
}

#form-float .form-board .right-form p {
	font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	color: #000;
	margin-bottom: 7px;
	text-align: center;
}

@media only screen and (min-width: 813px) {
	
	#form-float .form-board .right-form {
		width: calc(100% - 250px);
		padding: 20px 25px 18px 25px;
	}
	
	#form-float .form-board .right-form p {
		font-size: 14px;
		line-height: 2;
		margin-bottom: 15px;
	}
	
}


#form-float fieldset input[type="text"] {
	max-width: 100%;
	width: 100%;
	font-size: 16px;
	margin-bottom: 10px;
	padding: 10px;
	box-sizing: border-box;
	background: #f1f1f1;
	border: 1px solid #ddd;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

#form-float fieldset input[type="text"]:focus {
  background: #e4eae8;
  border: 1px solid #346556; /*フォーカス時と同じ太さに*/
	
}

#form-float fieldset button {
	background: #000;
	width: 100%;
	font-size: 14px;
	line-height: 40px;
	color: #fff;
	border: none;
	cursor: pointer;
	margin-bottom: 5px;
}

@media only screen and (min-width: 813px) {
	
	#form-float fieldset input[type="text"] {
		width: 100%;
		font-size: 13px;
	}
	
	#form-float fieldset button {
		line-height: 34px;
		margin-bottom: 10px;
	}
	
	#form-float fieldset button:hover {
		background: #346556;
	}

}

#form-float .follow-us {
	text-align: center;
}

#form-float .follow-us dt {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: #666;
	margin-right: 10px;
	position: relative;
	top: -2.5px;
}

#form-float .follow-us dd {
	display: inline-block;
	font-size: 18px;
	margin-right: 10px;
}

#form-float .follow-us dd:last-child {
	margin-right: 0;
}

#form-float .follow-us dd a {
	color: #1c1c1c;
}





#video-float.layer_board {
	width: 380px;
 	padding: 0;
 }

.layer_board video {
	width: 100%;
}


#video-float.layer_board a.button {
	display: block;
	background: #009143;
	width: auto;
    max-width: calc(100% - 36px);
	height: auto;
	font-size: 13px;
	font-weight: 500;
    line-height: 38px;
	text-decoration: none;
	color: #fff;
	text-align: center;
    margin: 8px auto 16px;
    border-radius: 2px;
    border: none;
}

#video-float.layer_board a.button:hover {
	opacity: 0.9;
}

#video-float.layer_board a.button i {
	font-weight: 300;
}


@media only screen and (min-width: 813px) {
	
	
}




