footer#footer {
    background: #fff;
}

footer#footer .footer_frame {
    background: #fff;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
}

footer#footer .footer_frame div.cr {
    text-align: center;
    padding-left: 70px;
}

footer#footer .footer_frame div.cr small {
    font-size: 1.5rem;
    letter-spacing: .08rem;
}

footer#footer .footer_frame div.cr a {
    transition: .3s;
}

footer#footer .footer_frame div.cr a:hover {
    opacity: .7;
}

footer#footer .footer_frame div.cr img {
    display: inline-block;
    max-width: 175px;
    margin: 0 auto 10px;
}

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

    footer#footer .footer_frame {
        height: 83px;
    }

    footer#footer .footer_frame div.cr {
        padding: 0 20px;
        width: 100%;
    }

    footer#footer .footer_frame div.cr small {
        font-size: 1.1rem;
        letter-spacing: 0;
    }
}

/*    footlink    */

#fadecontents {
    width: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transition: .3s;
}

#footlink {
	text-align: center;
	margin:0 0 10px 10px;
	width: auto;
    transition: .3s;
    display: flex;
	width: 300px;
}
#footlink img {
	width: 64px;
	height: auto;
}
#footlink div:nth-child(4) img {
	width: 100px;
}
#footlink div {
	background: #fff;
	border-radius: 5px;
	border: 1px solid #fff;
	box-shadow:	0px 0px 7px 2px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 0px 7px 2px rgba(0,0,0,0.1);
	-webkit-box-shadow:0px 0px 7px 2px rgba(0,0,0,0.1);
	margin: 10px 3px;
}
#footlink div a {
	display: block;
	float: left;
	margin: 5px 0;
	padding: 0 5px;
	transition: .4s;
}
#footlink div a:hover {
	opacity: .7;
}

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

    #footlink {
	   margin:0 0 0 5px;
    }

    #footlink img {
	   width: 48px;
    }

    #footlink div:nth-child(4) img {
	   width: 75px;
    }

    #footlink div {
	   margin-left: 1px; 
    }

    #footlink div a {
	   padding: 0 3px;
    }
}

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


    #footlink img {
	   width: 48px;
    }

    #footlink div:nth-child(4) img {
	   width: 75px;
    }

    #footlink div {
	   margin-left: 0; 
    }
}



/*    pagetop    */

#pagetop {
    right: 0;
}

#pagetop span a {
    background: #db5a75;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 62px;
    border-radius: 8px 8px 0 0;
    font-size: 2rem;
    line-height: 1;
    transition: .3s;
    margin-right: 5px;
}

#pagetop span a:after {
    content: url("../img/common/pagetop_icn.png");
    padding-left: 10px;
}

#pagetop ul {
    display: none;
}

@media only screen and (max-width: 1079px) {
    #wrapper {
        background: url("../img/common/foot_bg.png") no-repeat center bottom !important;
        background-size: 1079px 122px !important;
        padding: 0 0 70px;
    }
    
    #pagetop span a {
        width: 110px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    #pagetop span a:after {
        content: url("../img/common/pagetop_icn_sp.png");
        padding-left: 5px;
    }
}

@media only screen and (max-width: 480px) {
    
    #pagetop span a {
        width: 90px;
        font-size: 1.2rem;
    }
    
    #pagetop span a:after {
        content: url("../img/common/pagetop_icn_sp.png");
        padding-left: 3px;
    }
}

@media only screen and (max-width: 360px) {
    
    #pagetop {
        padding: 0 5px;
    }
    
    #pagetop span a {
        width: 80px;
    }
    
    #pagetop span a:after {
        content: url("../img/common/pagetop_icn_sp.png");
        padding-left: 1px;
    }
}



.preload * {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-ms-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
}