@charset "UTF-8";


/* ------------------------------------------------------------
	footer call
------------------------------------------------------------ */

.footer-call {
    display: none;
}

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

    .footer-call {
        width: 100vw;
        display: block;
        background: rgba(34, 34, 34, 0.9);
        position: fixed;
        bottom: 0;
        color: white;
    }
    .footer-call:after {
        content: '';
        display: block;
        height: 0;
        clear: both;
    }

    .footer-call p {
        display: block;
        color: white;
        width: 70vw;
        margin: 0;
        padding: 2.8vw 5vw 0;
        font-size: 4vw;
        line-height: 1.3;
        float: left;
        font-family: "Kozuka Gothic Pr6N", sans-serif;
        transition: 0s;
    }

    .footer-call p span {
        color: white;
        font-size: 0.75em;
    }

    .footer-call .icon-call {
        display: block;
        height: 15vw;
        width: 20vw;
        background: #000;
        float: right;
        transition: 0s;
        color: white;
    }

    .footer-call .icon-call img {
        display: block;
        margin: 0 auto;
        margin-top: 2vw;
        width: 7vw;
        height: auto;
        color: white;
    }

    #footer {
        margin-bottom: 15vw;
    }

    #topcontrol {
        bottom: 20vw !important;
    }
}


/* ------------------------------------------------------------
	modal
------------------------------------------------------------ */

.mfp-abitare .mfp-content {
	max-width: 540px;
	background: #fff;
	padding: 50px;
	height: 250px;
}


@media only screen and (max-width: 767px) {
	.mfp-abitare .mfp-content {
		width: calc(100% - 20px);
		padding: 10px;
		height: auto;
	}
}


/* ajax-loading追加 */
.mfp-ajax-cur .mfp-container:after {
	display: block;
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin: -25px auto 0 auto;
	width: 50px;
	height: 50px;
	background: url('/loop/wp-content/themes/abitare_loop/images/ajax-loading.gif') 9px 9px no-repeat rgba(0, 0, 0, 0.7);
	border-radius: 10px;
	z-index: 1042;
}

.mfp-container.loaded:after {
	display: none !important;
}


/* start state */
.my-mfp-zoom-in .mfp-content {
	opacity: 0;

	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;

	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .mfp-content {
	opacity: 1;
	width: calc(100% - 20px);

	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .mfp-content {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);

	opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
	opacity: 0;
}

/* ------------------------------------------------------------
	fade
------------------------------------------------------------ */

/* overlay at start */
.mfp-fade.mfp-bg {
	opacity: 0;

	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
    width: auto;

	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

/* ------------------------------------------------------------
	pager
------------------------------------------------------------ */
a.page-numbers {
    color: #777;
}

a.next.page-numbers,
a.prev.page-numbers {
    font-size: 0.8em;
}

a.page-numbers {
    background: none;
    border: none;
}

.pager .current {
    border: none;
}
