/* タブレット */
@media (max-width:1024px) {

	body {
		margin-bottom: 100px;
	}
	header {
		box-shadow: 0 2px 1px #d9d9d9;
	}

	h2 {
		line-height: 1;
		padding-top: 0;
	}

	#id_main {
		margin-top: 15px;
	}

	.cont {
		padding: 15px;
		margin: 0 15px;
	}

	.sns_icon {
		padding-right: 10px;
		display: block;
		bottom: 60px;
		top: auto;
		left: 0;
		width: 100%;
		margin: 0 0 10px 10px;
		font-size: 80%;
		color: #666;
		z-index: 3;
	}

	.sns_icon span {
		display: block;
		font-weight: bold;
		padding: 0;
		color: #fff;
	}

	.sns_icon ul {
		height: auto;
		margin: 10px 0 10px 0;
		width: 100%;
	}

	.sns_icon ul li {
		display: inline-block;
		width: 18.5%;
		float: left;
		margin: 0 0 0 0.5%;
		border: 2px solid #fff;
	}
	
	.sns_icon ul li div {
		width: 100%;
		height: 100%;
		border-radius: 0;
		padding: 0;
		background: none;
	/*	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
	*/
	}
	.sns_icon ul li a {
		display: block;
		text-align: center;
		width: auto;
		height: auto;
		padding: 5px 0;
		border-radius: 0;
		background-image: none;
	}
	.sns_icon ul li a span {
		display: inline-block;
		font-weight: bold;
		color: #fff;
		padding: 8px 10px 5px 3px;
	}

	.sns_icon ul li a img {
		display: inline;
		width: 30px;
		height: auto;
		vertical-align: middle;
	}

	.kakaku, .chinryou {
		margin: 15px 10px 10px 0;
	}
/*
	.bukken_img ul li, .shuuhen_img ul li {
		height: 210px;
	}
*/
	.bukken_detail_sect table tr.p_style,
	.shuuhen_img table tr.p_style {
		display: table-row;
	}

	.bukken_detail_sect table tr.m_style,
	.shuuhen_img table tr.m_style,
	#id_tel_inq .tbl .cell #tel_call {
		display: none;
	}

	#id_tel_inq .tbl,
	#id_tel_inq .tbl .cell {
		display: block;
	}

	#id_tel_inq .tbl .cell:first-child {
/*		background: #F5F0E0;
		padding: 15px;*/
	}

	#id_tel_inq .tbl .cell:first-child p {
		font-weight: bold;
	}

	#id_tel_inq .tbl .cell.p_style {
		margin-top: 10px;
	}

	#id_mail_inq .tbl .tbl_th {
		width: 25%;
	}

	#inq_area, #id_overlay {
		display: none;
	}
	
	#id_osusume_list {
		margin-top: 20px;
	}

	#id_add_rec h2 {
		margin-top: 0;
		font-size: 140%;
	}

	#id_overlay {
		display: block;
		position: fixed;
		width: 100%;
		height: 100px;
		background: #000;
		z-index: 2;
		bottom: 54px;
		opacity: 0.8;
	}

	#id_overlay.no_sns {
		display: block;
	}

	#page-top {
		bottom: 64px;
	}
}

@media (max-width:800px) {
	.m_style {
		display: block;
	}

	.base .p_style {
		display: block;
	}

	.base .m_style {
		display: none;
	}

	h2 {
		font-size: 160%;
		font-weight: bold;
		padding: 0 ;
		margin-bottom: 0;
		line-height: 1.2;
	}
	h3 {
		font-size: 140%;
	}
	.kakaku, .chinryou {
		font-size: 200%;
	}

	.setsubi {
		padding: 10px;
	}

	table tr th, table tr td {
		padding: 10px;
	}

	.bukken_detail_sect table tr.m_style th,
	.shuuhen_img table tr.m_style th {
		width: 120px;
	}

	.bukken_detail_sect table tr.m_style td,
	.shuuhen_img table tr.m_style td {
		width: auto;
	}
	.bukken_detail_l,
	.bukken_detail_r {
		float: none;
		width: 100%;
	}
	.bukken_detail_r {
		margin-top: -1px;
	}
	.bukken_detail_r table {
		margin-top: 0;
	}
	.bukken_img .tbl .cell:first-child,
	.shuuhen_img .tbl .cell:first-child {
		width: 66%;
	}

	.shuuhen_img .tbl .cell:first-child span.title {
		font-size: 110%;
	}

	.bukken_img .cell:first-child p,
	.shuuhen_img .cell:first-child p {
		margin-right: 11.5%;
	}

	.bukken_img .tbl .cell:first-child img,
	.shuuhen_img .tbl .cell:first-child img {
		max-width: 97%;
	}

	.bukken_img ul li, .shuuhen_img ul li {
		width: 41%;
	}

	.bukken_img ul li img, .shuuhen_img ul li img {
		width: 86%;
	}

	#id_shuuhen ul li:nth-child(even) {
	    margin-right: 0;
	}
	#id_shuuhen ul li:nth-child(odd) {
	    margin: 10px 10px 10px 0;
	}

	#inq_confirm {
		display: none;
		position: absolute;
		width: 80%;
	}
	
	#inq_confirm strong {
		font-size: 120%;
	}

	#inq_confirm .tbl {
		width: 100%;
	}
	#inq_confirm .tbl,
	#inq_confirm .tbl .tbl_th,
	#inq_confirm .tbl .tbl_td {
		background: none;
	}

	#inq_confirm .tbl .tbl_tr {
		background: #E1F4FD;
	}
	#inq_confirm .tbl .tbl_tr:nth-child(2n) {
		background: none;
	}

	#inq_confirm .tbl .tbl_th {
		border: none;
	}

	#inq_confirm .tbl .tbl_td {
		width: auto;
	}

	#id_mail_inq button#confirm_btn {
/*		display: none;*/
	}

	#inq_area, #id_overlay,
	#id_mail_inq button#confirm_btn_mobile {
		display: block;
	}

	#inq_area {
		display: none;
	}

}

@media (max-width:768px) {

	.ryoukin_summary dt {
		width: 60px;
		clear: both;
		float: left;
		margin-top: -1px;
	}

	.ryoukin_summary dd {
		width: 50%;
		float: left;
		margin-top: -1px;
	}
	.staff_comment dl dt img {
		max-width: 120px;
	}

	#id_overlay {
		display: block;
	}
}

/* iPhone5 */
/*@media(max-width:414px) {*/
@media(max-width:767px) {

	body {
		margin-bottom: 95px;
	}

	.base .p_style {
		display: none;
	}

	.base .m_style {
		display: block;
	}

	.sns_icon ul li a img {
		display: none;
	}

	h1 {
		font-size: 150%;
	}

	h2 {

	}

	.base .summary .cell:nth-child(2) {
		display: none;
	}

	span.shurui {
		font-size: 80%;
		margin: 0 0 10px;
	}

	.tab li {
		width: 45%;
		margin-bottom: 10px;
	}

	.bukken_img span {
		display: block;
		text-align: right;
		margin-bottom: 5px;
		font-size: 90%;
	}

	.bukken_img span.title {
		margin-top: 5px;
		text-align: center;
		padding: 5px 0;
		line-height: 1.4;
		font-size: 110%
	}

	.bukken_img p {
		text-align: center;
	}

	.bukken_img ul li,
	.bukken_img ul li div {
		height: auto;
	}

	.shuuhen_img .swiper-slide span {
		display: block;
		text-align: right;
		margin-bottom: 5px;
	}

	.bukken_img img,
	.shuuhen_img .swiper-slide img {
		max-width: 99.9%;
		max-height: 260px;
		margin-bottom: 5px;
	}

	.shuuhen_img .swiper-slide div,
	.shuuhen_img .swiper-slide p {
		text-align: center;
	}
	.shuuhen_img .swiper-slide p {
		margin-top: 10px;
	}
	.shuuhen_img .swiper-slide div.title {
		margin: 0 0 10px;
		padding: 5px 0;
		background: #eee;
		line-height: 1.4;
		font-size: 90%;
	}
	.shuuhen_img .swiper-slide div strong {
	}

	#googleMap {
		height: 250px;
	}

	.other_shuuhen {
		margin-top: 20px;
	}

	.bukken_img ul li img {
		max-width: 80%;
		max-height: 90px;
	}

	.bukken_detail_sect table tr.p_style,
	.other_shuuhen tr.p_style {
		display: none;
	}

	.bukken_detail_sect table tr.m_style,
	.other_shuuhen tr.m_style {
		display: table-row;
	}

	#id_tel_inq .tbl,
	#id_tel_inq .tbl .cell {
		display: block;
	}

	#id_tel_inq .tbl .cell #tel,
	#id_tel_inq .tbl .cell:nth-child(2) p {
/*		display: none;*/
	}

	#id_tel_inq .tbl .cell #tel_call {
		display: block;
		width: 100%;
		text-align: center;
		box-shadow: 0 2px 1px #d9d9d9;
		border-radius: 5px;
		color: #fff;
		font-size: 180%;
		font-weight: bold;
		margin: 0 auto 15px;
		text-decoration: none;
		line-height: 74px;
		background: #51C225;
		border: 1px solid #51C225;
		border-bottom: 3px solid #379812;
	}

	#id_tel_inq .tbl .cell #tel_call span {
		display: inline-block;
		width: auto;
		height: 100%;
		background: url(/img/tel.png) no-repeat;
		background-position: left center;
		padding-left: 50px;
		background-size: 45px;
	}

	#id_tel_inq .tbl .cell:nth-child(2) {
		margin-top: 15px;
	}

	#id_mail_inq h3 {
		margin-top: 0;
	}

	#id_mail_inq .tbl,
	#id_mail_inq .tbl .tbl_tr,
	#id_mail_inq .tbl .tbl_th,
	#id_mail_inq .tbl .tbl_td {
		display: block;
		width: auto;
		border: none;
	}

	#id_mail_inq .tbl .tbl_th {
/*		background: #74591D;
		color: #fff;
*/		background: #27ADE7;
		font-size: 140%;
		font-weight: bold;
	}

	#id_mail_inq .tbl .tbl_td {
		padding: 15px 0;
	}
	#id_mail_inq .tbl #id_inq li {
		display: block;
		width: auto;
		margin-right: 0;
	}

	#id_mail_inq .tbl #id_contact li {
		width: 42%;
	}

	#inq_area {
		display: block;
		text-align: center;
		width: 100%;
		position: fixed;
		bottom: 54px;
		z-index: 3;
	}

	#inq_area img {
		position: relative;
		bottom: -52px;
		right: -40%;
		width: 80px;
	}

	#inq_area p {
		height: 50px;
		background: url(/img/tap.png) no-repeat, #fc0;
		background-size: 35px;
		background-position: center center;
	}
	#inq_area p span {
		line-height: 50px;
		font-weight: bold;
		color: #fff;
		font-size: 120%;
		text-shadow: 0 1px 2px #C49C00;
	}

	#inq_area div {
		padding: 20px 0;
	}

	#inq_area .inq_btn, #inq_area .favorite_btn {
		float: none;
		box-shadow: none;
		line-height: 50px;
		display: inline-block;
		padding: 0;
		width: 43%;
	}

	#inq_area .inq_btn span {
		display: inline-block;
		line-height: 40px;
		background: url(/img/tel.png) no-repeat, #51C225;
		background-position: left center;
		background-size: 30px;
		width: auto;
		padding-left: 34px;
	}

	#inq_area .inq_btn span:after {
		content: "をかける";
	}

	#id_overlay {
		height: 96px;
		background: #000;
		opacity: 0.8;
		position: fixed;
		bottom: 54px;
		width: 100%;
		z-index: 2;
	}

	#id_inq_content h3 span {
		display: inline;
	}

	#inq_area .share_btn {
		height: 55px;
		font-weight: bold;
		font-size: 100%;
		background: #fff;
		border: 1px solid #fff;
		border-bottom: 3px solid #eee;
	}

	#inq_area .share_btn span {
		display: inline-block;
		line-height: 40px;
		padding-left: 35px;
		background: url(/img/sns/share_icon.png) no-repeat;
		background-size: 30px;
		background-position: left center;
		color: #464646;
	}

	#inq_area .share_btn span:before {
		content: "SNSで";
	}

	#inq_area .inq_btn {
		height: 55px;
		background: url(/img/tel.png) no-repeat, #51C225;
		border: 1px solid #51C225;
		border-bottom: 3px solid #379812;
		background-position: center center;
		background-size: 40px;
		padding-left: 0;
	}

	#inq_area .inq_btn span {
/*		display: none;*/
	}

	#page-top {
		bottom: 158px;
	}
	footer {
		margin-bottom: 150px;
	}
}

/*@media (max-width:414px) {*/
@media (max-width:736px) {
	.sns_icon {
		position: static;
		float: none;
		display: block;
		width: auto;
		margin: 0 0 10px 0;
		padding: 0 10px;
	}

	.sns_icon span {
		display: block;
		line-height: 1;
		margin-right: 0;
		color: #464646;
	}

	.sns_icon ul {
		margin: 10px 0 10px 0;
	}

	.sns_icon ul li {
		width: 44px;
		margin-right: 10px;
		border: none;
	}

	.sns_icon ul li:first-child {
		margin-left: 0;
	}

	.sns_icon ul li div {
		border-radius: 25px;
		padding: 3px;
		background: #fff;
	}

	.sns_icon ul li a {
		width: 44px;
		height: 44px;
		border-radius: 22px;
		padding: 0;
		background-position: center center;
	}

	.sns_icon ul li .hatena_back a {
		background: url(/img/sns/social_hatena_bg.png) no-repeat, #008fde;
		background-position: center 5px;
		background-size: 35px;
	}

	.sns_icon ul li .facebook_back a {
		background: url(/img/sns/social_facebook_bg.png) no-repeat, #305097;
		background-position: center 5px;
		background-size: 35px;
	}

	.sns_icon ul li .twitter_back a {
		background: url(/img/sns/social_twitter_bg.png) no-repeat, #55acee;
		background-position: center 5px;
		background-size: 35px;
	}

	.sns_icon ul li .google_back a {
		background: url(/img/sns/social_google_bg.png) no-repeat, #db4a39;
		background-position: center 5px;
		background-size: 35px;
	}

	.sns_icon ul li .line_back a {
		background: url(/img/sns/social_line_bg.png) no-repeat, #5ae628;
		background-position: center 0;
		background-size: 45px;
	}

	.sns_icon ul li a span {
		display: none;
	}

}
@media (max-width:320px) {
	#inq_area .share_btn span:before {
		content: "SNS";
	}


	#inq_area .inq_btn span:after {
		content: "する";
	}

	#inq_area img {
		right: -40%;
		width: 60px;
	}
}
