﻿@charset "utf-8";

/* -----------------------------------------
	footer
----------------------------------------- */
.footer_container {
	width: 100%;
}

.footer_container > .contentsWrapper {
	max-width: 970px;
	width: 100%;
	margin: 0 auto;
	padding: 0 10px;
}


@media screen and (max-width: 1550px) {
	#toppage #mainContents.s_open .footer_container > .contentsWrapper {
		max-width: 970px;
		width: auto;
		margin: 0 auto 0 280px;
		padding: 0 10px;
	}
}


.footer_heading {
	font-size: 2.0rem;
	text-align: center;
	color: #333333;
	margin-bottom: 60px;
}

/*----------------------------------
関連サービス
------------------------------------*/
#jre_mtd_footer {
	position: relative;
	width: 100%;
	background: #333;
	color: #fff;
}
#jre_mtd_footer a,
#jre_mtd_footer a:link,
#jre_mtd_footer a,
#jre_mtd_footer a:visited {color: #fff;}

#jre_mtd_footer #jre_footer_in {
	max-width: 970px;
	width: 100%;
	margin: 0 auto;
	padding: 80px 10px 0;
}

#jre_mtd_footer #jre_footer_in .topLink_sp {
	display: none;
}

#jre_mtd_footer #jre_footer_in .footer_top {
	display: flex;
	flex-wrap: wrap;
}

#jre_mtd_footer #jre_footer_in .footer_top .footer_top_link {
	max-width: 290px;
	width: 32%;
	margin-right: 2%;
	margin-bottom: 50px;
}
#jre_mtd_footer #jre_footer_in .footer_top .footer_top_link:nth-child(3n) {
	margin-right: 0;
}

#jre_mtd_footer #jre_footer_in .footer_top .link_genre {
	font-size: 1.8rem;
	border-bottom: 1px solid #444;
	padding-bottom: 15px;
}

#jre_mtd_footer #jre_footer_in .footer_bottom {
	padding-top: 30px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}


#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link {
	max-width: 525px;
	width: 55%;
	display: flex;
	flex-wrap: wrap;
}
#jre_mtd_footer #jre_footer_in .topLink_pc {
	max-width: 290px;
	width: 33%;
}
#jre_mtd_footer #jre_footer_in .topLink_pc a {
	display: block;
	background: #333;
	border: 1px solid #999;
	padding: 10px;
	text-align: center;
	position: relative;
}

#jre_mtd_footer #jre_footer_in .topLink_pc a:hover {
	text-decoration: none;
}

#jre_mtd_footer #jre_footer_in .topLink_pc a:after {
	content: "";
	display: block;
	background: url(/material/img/ico_link.svg) no-repeat;
	background-size: contain;
	width: 6px;
	height: 10px;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 10px;
}

#jre_mtd_footer #jre_footer_in .My_JR {
	width: 100%;
}

#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link li + li {
	border-left: 1px solid #fff;
	padding-left: 15px;
	margin-left: 15px;
	margin-bottom: 10px;
}

#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link li a {
	font-size: 1.2rem;
}

#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link02 {
	width: 100%;
	display: flex;
	padding: 30px 0;
	justify-content: center;
}
#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link02 > li:not(:last-child) {
	margin-right: 30px;
}

#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link02 > li a {
	color: #999;
	font-size: 1.2rem;
}

#jre_mtd_footer .copy {
	background: #222;
	color: #999;
	font-size: 1.0rem;
	text-align: center;
	padding: 10px 0;
}


@media screen and (max-width: 1550px) {
	#toppage #mainContents.s_open #jre_mtd_footer #jre_footer_in {
		max-width: 970px;
		width: auto;
		margin: 0 auto 0 280px;
	}
}


@media screen and (max-width: 750px){

	.footer_container {
		width: 100%;
	}

	.footer_container > .contentsWrapper {
		max-width: 100%;
		width: 100%;
		margin: 0 auto;
		padding: 0 4%;
	}


	.footer_heading {
		margin-bottom: 8%;
	}
    
	/*----------------------------------
	関連サービス
	------------------------------------*/
	#jre_mtd_footer {
		position: relative;
		width: 100%;
		background: #333;
		color: #fff;
	}

	#jre_mtd_footer #jre_footer_in {
		max-width: 100%;
		width: 100%;
		margin: 0 auto;
		padding: 5% 4% 0;
	}

	#jre_mtd_footer #jre_footer_in .topLink_sp {
		display: block;
		margin-bottom: 5%;
	}
	#jre_mtd_footer #jre_footer_in .topLink_sp a {
		display: block;
		background: #333;
		border: 1px solid #999;
		padding: 3%;
		text-align: center;
		position: relative;
	}

	#jre_mtd_footer #jre_footer_in .topLink_sp a:after {
		content: "";
		display: block;
		background: url(/material/img/ico_link.svg) no-repeat;
		background-size: contain;
		width: 6px;
		height: 10px;
		position: absolute;
		top: 0;
		bottom: 0;
		margin: auto;
		right: 3%;
	}


	#jre_mtd_footer #jre_footer_in .footer_top {
		display: block;
		padding: 0;
	}

	#jre_mtd_footer #jre_footer_in .footer_top .footer_top_link {
		max-width: 100%;
		width: 100%;
		margin-right: 0;
		margin-bottom: 0;
	}

	#jre_mtd_footer #jre_footer_in .footer_top .link_genre {
		font-size: 1.4rem;
		border-bottom: 1px solid #444;
		padding: 4% 3%;
		margin-bottom: 0;
	}
    
	#jre_mtd_footer #jre_footer_in .footer_bottom {
		border-top: none;
		margin-top: 0;
		padding-top: 5%;
		display: block;
	}


	#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link {
		max-width: 100%;
		width: 100%;
		display: block;
		padding: 0 3%;
	}
	#jre_mtd_footer #jre_footer_in .topLink_pc{
		display: none;
	}
	#jre_mtd_footer #jre_footer_in .My_JR {
		padding: 0 3%;
		margin-top: 5%;
	}

	#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link li + li {
		border-left: none;
		padding-left: 0;
		margin-left: 0;
		margin-bottom: 0;
	}

	#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link li:not(:last-child) {
		margin-bottom: 5%;
	}

	#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link02 {
		width: 100%;
		display: block;
		padding: 8% 3% 5%;
	}
	#jre_mtd_footer #jre_footer_in .footer_bottom .footer_bottom_link02 > li:not(:last-child) {
		margin-right: 0;
		margin-bottom: 3%;
	}

	#jre_mtd_footer .copy {
		background: #222;
		color: #999;
		font-size: 1.0rem;
		text-align: center;
		padding: 1% 0;
	}
}


/*----------------------------------
印刷時スタイル
------------------------------------*/

@media print {
	#jre_mtd_footer .footer_container,
	#jre_mtd_footer #jre_footer_in{
		display: none;
	}
}
