@charset "utf-8";
/* CSS Document */
.modal-window {
background: rgba(0,0,0,0.4);
-webkit-transform: translate(0, 100%);
-moz-transform: translate(0, 100%);
-o-transform: translate(0, 100%);
-ms-transform: translate(0, 100%);
transform: translate(0, 100%);
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
opacity: 0;
line-height: 1.3;
}
.modal-window:target {
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-o-transform: translate(0, 0);
-ms-transform: translate(0, 0);
transform: translate(0, 0);
opacity: 1;
}

.modal-window .modal-inner {
	position: absolute;
	top: 100px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 20;
	width: 80%;
	max-width: 700px;
	overflow: hidden;
	border-radius: 10px;
	box-sizing: border-box;
	padding: 40px;
	background: #fff;
	-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
.modal-window .modal-inner p {
padding: 0 20px;
}
.modal-window .modal-close {
display: block;
text-indent: -100px;
overflow: hidden;
}
.modal-window .modal-close:before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
}
.modal-window .inner-close{
	position: absolute;
	right: 0;
	top: 15px;
}
.modal-window .inner-close .material-icons{
	font-size: 34px !important;
	color: #333;
}
.modal-window {
-webkit-transition: opacity 0.4s;
-o-transition: opacity 0.4s;
transition: opacity 0.4s;
}

/*googleカスタム検索用*/
.gsc-input-box {
    border: none!important;
}
.gsc-input{
	border-collapse: separate;
	overflow: hidden;
}
td#gs_tti50,
div#___gcse_1{
    border: 5px solid #eee;
    padding: 20px 40px 20px 30px;
	box-sizing: border-box;
    border-radius: 40px !important;
	border-collapse: separate;
}
.cse .gsc-search-button-v2,
.gsc-search-button-v2{
    padding: 18px 21px!important;
    border: none!important;
    border-radius: 0!important;
    -moz-border-radius:  0!important;
    -webkit-border-radius: 0!important;
    border-color: none!important;
    background-color: none!important;
    background-image: none!important;
    background: none!important;
    position: absolute;
    right: 30px;
    bottom: 3px
}
.gsib_b{
	display: none;
}
.under_3col_side .gsc-search-button-v2{
    right: 18px;
}
#___gcse_1 .gsc-search-button-v2{
    bottom: -17px;
}
.gsc-search-button-v2 svg {
    fill: #aaa!important;
    width: 25px;
    height: 25px;
}
td.gsc-search-button{
    position: relative;
    width: 0;
}
.slabel {
    padding-left: 20px;
    margin-bottom: 10px;
}
.gsc-search-box-tools .gsc-search-box .gsc-input{
    padding-right: 0;
}


@media screen and (max-width: 999px){
	.modal-window .modal-inner {
		top: 50%;
		transform: translate(-50%,-50%);
	}
	/*googleカスタム検索用*/
	td#gs_tti50,
	div#___gcse_1{
		padding: 20px 20px 20px 30px;
	}
	.cse .gsc-search-button-v2,
	.gsc-search-button-v2{
		padding: 18px 21px!important;
		border: none!important;
		border-radius: 0!important;
		-moz-border-radius:  0!important;
		-webkit-border-radius: 0!important;
		border-color: none!important;
		background-color: none!important;
		background-image: none!important;
		background: none!important;
		position: absolute;
		right: 10px;
		bottom: 10px
	}
}
@media screen and (min-width: 0px) and (max-width: 600px){
	.modal-window .modal-inner {
		top: 40%;
		width: 90%;
		padding: 40px 20px;
	}
}