@charset "UTF-8";

@media screen and (min-width: 897px)  {

	.thanx_about{
		padding: 90px 0 60px;
	}
	.thanx_about p{
		text-align: center;
		line-height: 2;
		padding-bottom: 30px;
	}
	.thanx_contact{
		margin-bottom: 90px;
		background: url(../img/ray_img.jpg) no-repeat top center;
		border-top: 0;
		border-bottom: 0;
	}
	.thanx_contact .inner{
		padding: 25px 0;
	}
	.contact .txt {
    line-height: 1.5;
	}
}

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

	.thanx_about{
		padding: 80px 0 60px;
	}
	.thanx_about p{
		text-align: center;
		line-height: 2;
		padding-bottom: 30px;
	}
	.thanx_contact{
		margin-bottom: 80px;
		background: url(../img/ray_img.jpg) no-repeat top center;
		border: none;
	}
	.thanx_contact .inner{
		padding: 25px 0;
	}
	.thanx_contact .txt{
		color: #333;
	}
}


@media screen and (max-width: 580px) {
	.thanx_contact {
    background: url(../img/ray_img_sp.png) repeat-y bottom center;
    background-size: 90%;
    width: 100%;
    height: auto;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
	}
	.thanx_contact:before {
    content: "";
    background: url(../img/ray_img_sp_top.png) no-repeat top center;
    background-size: 90%;
    width: 100%;
    height: 20px;
    display: block;
	}
	.thanx_contact:after {
    content: "";
    background: url(../img/ray_img_sp_bottom.png) no-repeat bottom center;
    background-size: 90%;
    width: 100%;
    height: 10px;
    display: block;
	}
}

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

	.thanx_about{
		padding: 40px 2% 10px;
	}

	.thanx_contact .inner{
		padding: 15px 0;
	}
	.thanx_contact{
		margin-bottom: 30px;
	}
}
