footer #idp {
	border-top:5px solid #efefef;
	border-bottom:5px solid #efefef;
	padding:20px;
	text-align:center;
}
footer #idp > div {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}
footer #idp p {
	font-size:1.4rem;
}
#foot {
	background:#efefef;
}

#fmenu {
	background:#ffffff;
}
#fmenu ul {
	max-width:1200px;
	margin:0 auto;
	padding:15px;
	
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	font-size:1.2rem;
}
#fmenu ul li:not(:last-child) {
	margin-right:1em;
	padding-right:1em;
	border-right:1px solid #ccc;
}
#fmenu ul li a {
	line-height:1em;
}
#footer {
	width:calc(100% - 60px);
	max-width:1200px;
	margin:0 auto;
	padding:30px 0;
	box-sizing:border-box;
	position:relative;
}
#footer > div#addr {
	width:100%;
	margin-bottom:30px;
}
#footer > div#addr > p {
	width:100%;
	text-align:center;
	font-size:1.5rem;
	line-height:1.3em;
	margin-bottom:1.5em;
	font-weight:900;
}
#footer > div#addr > dl:last-child {
	margin-left:30px;
	padding-left:30px;
	border-left:1px solid #999;
}
#footer > div:first-child > dl dt {
	font-size:1.4rem;
	font-weight:900;
	margin-bottom:0.3em;
}
#footer > div:first-child > dl dd {
	font-size:1.3rem;
	line-height:1.5em;
}
#footer > div#addr br.sp {
	display:none;
}
#footer #fbnr {
	max-width:840px;
	margin:0 auto 30px;
}
#footer #fbnr a > img {
	box-shadow:1px 1px 2px rgba(0,0,0,.3);
	width:100%;
}
#footer #fbnr a:not(:last-child) {
	margin-right:10px;
}


#foot .copy {
	width:100%;
	text-align:center;
	font-size:1.2rem;
}



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

footer #idp {
	padding:15px;
}
#fmenu ul {
	max-width: 53em;
	padding:15px 15px 10px;
}
#fmenu ul li {
	margin-bottom:0.5em;
}
#fmenu ul li:nth-child(3) {
	margin-right:0;
	padding-right:0;
	border:none;
}
#footer > div#addr {
	max-width:500px;
	margin:0 auto 15px;
}
#footer > div#addr > dl:last-child {
	margin-left:0;
	padding-left:0;
	border-left:none;
}
#footer > div:first-child > dl dd {
	margin-bottom:1em;
}

}

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

#footer {
	width:calc(100% - 40px);
}
#footer > div#addr {
	margin-bottom:15px;
}
#footer > div#addr > p {
	font-size:1.3rem;
	margin-bottom:1.0em;
}
#footer > div:first-child > dl dt {
	font-size:1.2rem;
}
#footer > div:first-child > dl dd {
	font-size:1.2rem;
}

}


@media screen and (max-width:640px){
footer #idp {
	padding:10px;
}
footer #idp > div {
	margin-bottom:5px;
}
footer #idp > p {
	font-size:1.3rem;
}
#fmenu ul {
	max-width: 20em;
	padding:10px 10px 5px;
}
#fmenu ul li:first-child,
#fmenu ul li:nth-child(2),
#fmenu ul li:nth-last-child(2) {
	margin-right:0;
	padding-right:0;
	border:none;
}
#fmenu ul li a {
	line-height:1em;
}
#footer {
	padding:20px 0;
}
#footer > div#addr {
	margin-bottom:5px;
}
#footer > div#addr > p {
	margin-bottom:1.0em;
}
#footer > div:first-child > dl dd {
	font-size:1.2rem;
}
#footer #fbnr {
	max-width:200px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	margin:0 auto 20px;
}
#footer #fbnr a > img {
	box-shadow:1px 1px 2px rgba(0,0,0,.3);
}
#footer #fbnr a:not(:last-child) {
	margin-right:0;
	margin-bottom:10px;
}
#footer #fbnr a:last-child {
	width:60%;
}


#foot .copy {
	width:100%;
	text-align:center;
	font-size:1.2rem;
}

}

@media screen and (max-width:480px){
	
#footer > div#addr br.sp {
	display:inline;
}
	
}