/* タブレット */
@media(max-width:1024px) {
	h2 {
		font-size: 130%;
		line-height: 1.4;
		margin: 15px 0;
	}

	.search_area {
		margin: 0 15px;
	}
}

/* iPhone6 */
@media(max-width:767px) {
/*
	.cont {
		margin: 0 0 30px;
		padding: 15px;
	}
*/
	.p_style {
		display: none;
	}

	.caption {
		clear: both;
		padding-top: 10px;
	}

	.type_m,
	.select_style,
	.caption span {
		display: block;
	}

	.type_m strong {
		float: left;
		line-height: 30px;
	}

	.type_m .ensen_btn,
	.type_m .add_btn {
		border: 1px solid #FAF5E4;
		border-bottom: 3px solid #E6DCB7;
		background: #FAF5E4;
		line-height: 30px;
		width: 150px;
		font-size: 90%;
		color: #9E720A;

		display: inline-block;
		cursor: pointer;
		padding-top: 3px;
		text-align: center;
/*		box-shadow: 0 2px 1px #d9d9d9;*/
		border-radius: 5px;
		font-weight: bold;
		margin: 0;
		text-decoration: none;
	}

	#id_select,
	#id_main_cond {
		display: none;
	}
	.search_select {
		border: 1px solid #ECD999;
	}

	.search_select li,
	.search_select li:first-child,
	.search_select li:hover,
	.search_select li.act_tab {
		display: block;
		text-align: left;
		line-height: 40px;
		padding: 10px;
		margin: 0;
		font-size: 100%;
		font-weight: normal;
		border-top: 1px solid #ECD999;
		background: url(../../img/pc/megane.png) no-repeat, #FAF5E4;
		background-position: right center;
		background-size: 40px;
	}
	.search_select li:first-child {
		border-top: none;
	}

	#id_main .tbl, #id_main .tbl_tr, #id_main .tbl_th, #id_main .tbl_td,
	#id_cond .tbl, #id_cond .tbl_tr, #id_cond .tbl_th, #id_cond .tbl_td,
	#id_search_kodawari_cond_select .tbl, #id_search_kodawari_cond_select .tbl_tr, #id_search_kodawari_cond_select .tbl_th, #id_search_kodawari_cond_select .tbl_td {
		display: block;
	}

	#id_cond .tbl_td {
		padding-bottom: 10px;
	}

	#id_main .tbl, #id_cond .tbl, #id_search_kodawari_cond_select .tbl,
	#id_main .tbl_tr, #id_cond .tbl_tr, #id_search_kodawari_cond_select .tbl_tr,
	#id_main .tbl_th, #id_cond .tbl_th, #id_search_kodawari_cond_select .tbl_th {
		width: auto !important;
		line-height: 1;
	}

	#id_main .tbl .tbl_td ul li,
	#id_cond .tbl .tbl_td ul li {
		display: block;
		width: auto;
	}

	#id_cond .tbl .tbl_td ul li {
		display: inline-block;
		padding: 5px;
		width: 30%;
		border: 1px solid #ddd;
		margin-bottom: 5px;
	}

	#id_cond .tbl .tbl_td ul#other_hiyou li {
		width: 30%;
		margin: 0 0 5px 0 !important;
	}

	#id_ensen .tbl .tbl_th, #id_ensen .tbl .tbl_td,
	#id_add .tbl .tbl_th, #id_add .tbl .tbl_td {
		padding: 0;
	}

	#id_ensen .tbl .tbl_th,
	#id_add .tbl .tbl_th,
	#id_cond .tbl .tbl_th {
		line-height: 1;
		font-weight: bold;
		padding: 10px;
		font-size: 120%;
	}

	#id_ensen .tbl .tbl_td ul li,
	#id_add .tbl .tbl_td ul li {
		padding: 10px;
		border-top: 1px solid #dbdbdb;
	}

	#id_ensen .tbl .tbl_th a,
	#id_ensen .tbl .tbl_td ul li a,
	#id_add .tbl .tbl_th a,
	#id_add .tbl .tbl_td ul li a {
		display: inline-block;
		margin-left: 5px;
	}

	#id_main .tbl_tr, #id_cond .tbl_tr,
	#id_ensen .tbl .tbl_td ul li:first-child,
	#id_add .tbl .tbl_td ul li:first-child {
		border-top: none;
	}

	/* 検索ボタン */
	#id_p_btn_area {
		height: 80px;
		position: fixed;
		z-index: 1000;
		bottom: 0;
	}
	#p_btn_area {
		position: fixed;
		height: 70px;
		width: 100%;
		z-index: 1200;
		text-align: center;
		bottom: 54px;
	}
	#p_btn_area button {
		width: 100px;
		line-height: 50px;
		font-size: 100%;
		box-shadow: 0 2px 1px #333;
	}
	#p_overlay {
		position: fixed;
		width: 100%;
		height: 85px;
		background: #000;
		z-index: 1100;
		bottom: 54px;
		opacity: 0.8;
	}

	.btn {
		display: none;
	}

	#page-top {
		bottom: 150px;
	}
}

/* iPhone5-6 */
@media(max-width:414px) {
	#id_cond .tbl .tbl_td ul li,
	#id_cond .tbl .tbl_td ul#other_hiyou li {
		width: 45%;
	}
}

/* iPhone5 */
@media(max-width:375px) {
	#id_cond .tbl .tbl_td ul li {
		width: 42%;
	}

	#id_cond .tbl .tbl_td ul.chintai_shubetsu li:nth-child(3),
	#id_cond .tbl .tbl_td ul#other_hiyou li {
		width: 90.6%;
		margin-bottom: 5px !important;
	}
}