@charset "utf-8";

/*
		base
	 1. heading
	 2. header
	 3. hNav
	 4. container
	 5. footer
	 6. fNav

———————————————————- */


/* heading */

.contentsWrap>h2 {
	font-size: 14px;
	padding-top: 50px;
	position: relative;
	margin-bottom: 25px;
}

.contentsWrap>h2:before {
	content: '';
	position: absolute;
	left: 0;
	top: 42px;
	background-repeat: no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
}

.contentsWrap>h3 {
	color: #333;
	font-size: 30px;
	margin-bottom: .5em;
}

.contentsWrap>h5 {
	width: 100%;
	color: #FFF;
	font-size: 18px;
	text-align: center;
	margin-bottom: .5em;
	background: #333;
	padding: 5px 0;
}


/* header */

header {
	width: 100%;
}

header>.up {
	width: 100%;
	height: 58px;
	border-bottom: 8px solid #B19408;
}

header>.down {
	width: 100%;
	height: 50px;
	background: #D9D9D9;
}

header .inner {
	width: 1000px;
	margin: 0 auto;
}

header h1 {
	width: 660px;
	padding-top: 25px;
	margin: 0 auto;
}

header h1>a {
	font-size: 14px;
	color: #000;
}

header .hNav {
	width: 548px;
	margin-top: 7px;
}

header .hNav>ul {
	width: 100%;
}

header .hNav>ul>li {
	text-align: center;
	padding: 0 15px;
	height: 35px;
	line-height: 35px;
	position: relative;
}

header .hNav>ul>li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 35px;
	background: #999;
}

header .hNav>ul>li:last-child:after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: 1px;
	height: 35px;
	background: #999;
}

header .hNav>ul>li>a {
	color: #000;
	font-size: 12px;
}

header .down .inner p.mincho {
	padding-top: 5px;
}


/* container */

.container {
	width: 1000px;
	margin: 0 auto;
}


/* contentsWrap */

.contentsWrap {
	width: 100%;
	margin-bottom: 45px;
}


/*telWrap*/

.telWrap {
	height: 80px;
	border: 1px solid #999;
	background: #ffffff;
	background: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
	background: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
}

.telWrap a {
	width: 100%;
	height: 100%;
	display: block;
	-webkit-background-size: contain;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50%;
}


/* bannerWrap */

.bannerWrap {
	width: 100%;
}

.bannerWrap>.banner1 {
	background-image: url(../img/banner01.png);
	background-position: 50%;
}

.bannerWrap>.banner2 {
	background-image: url(../img/banner02.png);
	background-position: 50%;
}


/* footer */

footer {
	width: 100%;
	background: #301904;
}

footer>.inner {
	width: 1000px;
	position: relative;
	margin: 0 auto;
	padding-bottom: 10px;
}

.footLogo>img {
	margin: 0 auto;
	padding-top: 10px;
}

.copy {
	padding-top: 10px;
	width: 100%;
	color: #FFF;
	text-align: center;
	font-size: 12px;
}


/* footUpNav */

.footUpNav {
	position: absolute;
	width: 965px;
	height: 15px;
	left: 17px;
	top: -170px;
}

.footUpNav>li {
	padding: 0 10px;
	font-size: 14px;
	border-right: 1px solid #000;
}

.footUpNav>li:first-child {
	border-left: 1px solid #000;
}

.footUpNav>li>a {
	color: #000;
}


/* footNav */

.footNav>ul>li>a {
	color: #FFF;
}


/* PC */

@media screen and (min-width: 980px) {
	/* formBtnPc */
	.formBtnPc {
		width: 340px;
	}
	.formBtnPc>div {
		width: 163px;
		height: 40px;
		text-align: center;
		margin-top: 5px;
	}
	.formBtnPc>div:first-child {
		background: #6D080F;
	}
	.formBtnPc>div:last-child {
		background: #1B1464;
	}
	.formBtnPc>div>a {
		display: block;
		font-size: 22px;
		line-height: 40px;
		color: #FFF;
	}
	/* formBtnSp */
	.formBtnSp {
		display: none;
	}
	/* bannerWrap */
	.bannerWrap {
		margin-bottom: 10px;
	}
	.bannerWrap>div {
		margin-bottom: 40px;
		height: 180px;
	}
	/* telWrap */
	.telWrap {
		margin-bottom: 210px;
	}
	.telWrap a {
		background-image: url(../img/tel.png);
		background-repeat: no-repeat;
		background-position: 50%;
	}
	/* footer */
/*
	footer>.inner:before {
		position: absolute;
		content: '【サービス付き高齢者向け住宅】 くみのき苑堺北';
		width: 400px;
		height: 60px;
		background-image: url(../img/footUp01.png);
		background-repeat: no-repeat;
		top: -54px;
		left: 0;
		padding-top: 35px;
		padding-left: 115px;
		font-size: 12px;
	}
*/
	footer>.inner:after {
		position: absolute;
		content: '';
		width: 228px;
		height: 140px;
		background-image: url(../img/footUp02.png);
		background-repeat: no-repeat;
		top: -140px;
		right: 0;
	}
	/* footNav */
	.footNav {
		width: 517px;
		padding-top: 20px;
		margin-left: 483px;
		margin-bottom: 45px;
	}
	.footNav>ul {
		position: relative;
		border-left: 1px dotted #666;
		padding: 0 20px;
	}
	.footNav>ul:first-child {
		border-left: none;
		width: 148px;
	}
	.footNav>ul>li {
		padding: .2em 0px;
	}
	.footNav>ul>li>a {
		font-size: 12px;
	}
	.footLogo {
		position: absolute;
		width: 370px;
		height: 80px;
		left: 0;
		top: 30px;
	}
	.footLogo a {
		font-size: 12px;
		color: #FFF;
	}
}


/* SP */

@media screen and (max-width: 980px) {
	.contentsWrap>h3 {
		padding-left: 10px;
		font-size: 16px;
	}
	/* heading */
	.contentsWrap>h2 {
		font-size: 9px;
		padding-top: 1.5em;
		margin-bottom: 15px;
	}
	.contentsWrap>h2:before {
		top: 1em;
		left: 10px;
	}
	.contentsWrap>h5 {
		font-size: 14px;
		text-align: left;
		padding: 2px 10px;
	}
	/* header */
	header>.up {
		height: 2.5em;
	}
	header>.down,
	.formBtnPc {
		display: none;
	}
	header .inner {
		width: 100%;
	}
	header h1 {
		width: 100%;
		padding-top: 0;
		padding-left: 10px;
		font-size: 10px;
	}
	header .hNav {
		display: none;
	}
	/* formBtnSp */
	.formBtnSp>div {
		width: 46%;
		text-align: center;
		margin: 2%;
	}
	.formBtnSp>div:first-child {
		background: #6D080F;
	}
	.formBtnSp>div:last-child {
		background: #1B1464;
	}
	.formBtnSp>div>a {
		display: block;
		font-size: 11px;
		height: 3em;
		line-height: 3em;
		color: #FFF;
	}
	/* container */
	.container {
		width: 100%;
	}
	.contentsWrap {
		margin-bottom: 25px;
	}
	/* bannerWrap */
	.bannerWrap {
		width: 100%;
		margin-bottom: 10px;
	}
	.bannerWrap>div {
		margin-bottom: 15px;
		-webkit-background-size: contain;
		background-size: contain;
		background-repeat: no-repeat;
	}
	/*telWrap*/
	.telWrap {
		margin-bottom: 50px;
	}
	.telWrap a {
		background-image: url(../img/sp_tel.png);
	}
	/* footer */
	footer>.inner {
		width: 100%;
	}
	.mNav {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		background: #E4E4E4;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 9999;
		padding: 40px 0;
		display: none;
	}
	footer {
		margin-top: 0px;
	}
	/* footUpNav */
	.footUpNav {
		position: relative;
		width: 100%;
		height: auto;
		left: 0;
		top: 0;
		border-bottom: 1px dashed #CCC;
	}
	.footUpNav>li {
		width: 100%;
		font-size: 16px;
		border-right: none;
		padding: 5px 10px;
	}
	.footUpNav>li:first-child {
		border-left: none;
	}
	.footUpNav>li:last-child {
		padding-bottom: 1em;
	}
	/* footNav */
	.footNav {
		width: 100%;
		height: auto;
	}
	.footNav>ul {
		position: relative;
	}
	.footNav>ul:first-child {
		width: 100%;
		padding-top: 1em;
	}
	.footNav>ul:nth-child(2):before,
	.footNav>ul:nth-child(3):before {
		content: '';
		position: absolute;
		width: 1px;
		height: 80px;
		background: #656565;
		top: 0;
		left: -15px;
	}
	.footNav>ul:nth-child(2) {
		width: 100%;
		height: auto;
	}
	.footNav>ul:nth-child(3) {
		width: 100%;
	}
	.footNav>ul>li {
		font-size: 16px;
		padding: 5px 10px;
	}
	.footNav>ul>li>a {
		font-size: 16px;
		color: #333;
	}
	.footLogo {
		width: 50%;
		margin: 0 auto;
		padding: 5px 0;
	}
	.footLogo a {
		font-size: 12px;
		color: #FFF;
	}
}


/* 縦長の場合 */

@media only screen and (max-width: 980px) and (orientation: portrait) {
	/* header */
	header>.inner {
		height: 25px;
	}
	header h1 {
		height: 25px;
		line-height: 25px;
	}
	.mNav {
		width: 80vw;
	}
	/* formBtnSp */
	.formBtnSp {
		width: 100%;
	}
	/* bannerWrap */
	.bannerWrap>div {
		height: 25vh;
	}
	.bannerWrap>.banner1 {
		background-image: url(../img/sp_banner01.png);
	}
	.bannerWrap>.banner2 {
		background-image: url(../img/sp_banner02.png);
	}
	/*telWrap*/
	.telWrap {
		height: 10vh;
	}
}


/* 横長の場合 */

@media only screen and (max-width: 980px) and (orientation: landscape) {
	/* header */
	header>.inner {
		height: 30px;
	}
	header h1 {
		height: 30px;
		line-height: 30px;
	}
	.mNav {
		width: 50vw;
	}
	/* formBtnSp */
	.formBtnSp {
		width: 80%;
		margin: 0 auto;
	}
	/* bannerWrap */
	.bannerWrap>div {
		width: 80%;
		margin: 0 auto 15px;
		height: 26vh;
	}
	/*telWrap*/
	.telWrap {
		width: 80%;
		margin: 0 auto 50px;
		height: 17vh;
	}
}