@charset "utf-8";
/* CSS Document */

img {
	vertical-align: bottom;
}

/*testのみ*/
#bargain_header img,
#bargain_bn_list img{
	width: 100%;
}

/*testのみ*/

.search_link{
	width: 240px;
	text-align: center;
	margin: 0 auto 2em;
}

.search_link a{
	display: block;
	color: #3EA9E4;
	text-decoration: none;
	position: relative;
	background-image: linear-gradient(176deg, #abc4fa, #bef3ea);
	margin-top: 1em ;
	padding: 1px;
	border-radius: 10px;
}

.search_link a span{
	display: block;
	padding:0.5em 2em 0.5em 1em;
	background: #ffffff;
	border-radius: 9px;
}

.search_link a span::after{
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
	transform: rotate(-135deg);
	top: 50%;
	position: absolute;
	margin-top: -7px;
	margin-left: 10px;
	display: inline-block;
	width: 8px;
	height: 8px;
	content: "";
	border: solid 0px #3EA9E4;
	border-width: 1px 0px 0px 1px;
}


input[type="submit"],
select{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.search_category li dd select{
	border-radius: 0;
	box-sizing: border-box;
	margin: 0;
	padding-right: 1em;
	position: relative;
}

.search_category li dd{
	position: relative;
}

select::-ms-expand {
	display: none;
}

.search_category li dd::after{
		-webkit-transform: rotate(-135deg);
		-moz-transform: rotate(-135deg);
		-ms-transform: rotate(-135deg);
		-o-transform: rotate(-135deg);
		transform: rotate(-135deg);
		top: 50%;
		right: 10px;
		position: absolute;
		margin-top: -7px;
		margin-left: 10px;
		display: inline-block;
		width: 8px;
		height: 8px;
		content: "";
		border: solid 0px #3EA9E4;
		border-width: 1px 0px 0px 1px;
}

#shoplist_box a{
	text-decoration: none;
	color:inherit;
}

#shoplist_box a:hover{
	opacity: 0.8;
}

/*-------------------------------*/
/*ヘッダー部分*/
#bargain_header{
	margin-bottom: 0;
}

#bargain_bn_list{
	margin-bottom: 2em;
}

#bargain_bn_list li{
	margin-bottom: 0.5em;
}

#bargain_bn_list li:last-child{
	margin-bottom: 0;
}

/*-------------------------------*/

/*-------------------------------*/
/*フォーム部分*/

#result{
	margin-bottom: 1em;
}

#result li span{
	display: inline-block;
}

#result li #type::before{
	content: "検索条件：";
	display: inline-block;
}

#result li #total::before{
	content: "検索結果：";
	display: inline-block;
}

#result li #total::after{
	content: "件";
	display: inline-block;
}

/*名前検索*/
#form_box{
	width:100%;
	border: 1px solid #cccccc;
	margin: 0 auto 2em;
	padding: 20px;
	border-radius: 10px;
}

#form_box dt{
	font-weight: bold;
}

#form_box .search_name{
	position: relative;
	margin-bottom: 2em;
	padding-bottom: 2em;
}

#form_box .search_name:before{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 1px;
	margin: 0 auto;
	text-align: center;
	background:#cccccc;
}

#form_box .search_name form{
	overflow: hidden;
	width: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
}


.search_name dt{
	width: 18%;
	margin-right: 2%;
	padding: 0.5em;
	box-sizing: border-box;
}

.search_name dd{
	width: 80%;
}

.search_name dd.submit{
	width: 30%;
	background-image: linear-gradient(176deg, #abc4fa, #bef3ea);
	margin-top: 1em ;
	padding: 1px;
	border-radius: 10px;
}

.search_name dd.submit:hover{
	opacity: 0.8;
}

.search_name dd:nth-child(2) input{
	border:2px solid #eeeeee;
	background: #eeeeee;
	width: 100%;
	padding: 0.5em;
	border-radius: 10px;
	box-sizing: border-box;
}

.search_name dd:nth-child(2) input:focus{
	background: none;
	outline: 0;
}

.search_name dd.submit input{
	cursor: pointer;
	background: #ffffff;
	color: #3EA9E4;
	width: 100%;
	padding: 0.5em;
	border-radius: 9px;
	box-shadow: none;
	border: none;
}

/*カテゴリ検索*/
.search_category{
	position: relative;
	margin-bottom: 2em;
	padding-bottom: 2em;
}

.search_category:before{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 1px;
	margin: 0 auto;
	text-align: center;
	background:#cccccc;
}

.search_category li{
	margin-bottom: 1em;
}

.search_category li dd{
	vertical-align: top;
}

.search_category li dt{
	box-sizing: border-box;
}

.search_category li dd{
	background-image: linear-gradient(176deg, #abc4fa, #bef3ea);
	padding: 1px;
	box-sizing: border-box;
}

.search_category li dd select{
	background: #ffffff;
	color: #3EA9E4;
	width: 100%;
	padding: 0.5em 2em 0.5em 0.5em;
	border:none;
}

.search_category li dd select{
	cursor: pointer;
}

.search_category li select:focus{
	outline: 0;
}

.search_category li:last-child{
	width: 30%;
	background-image: linear-gradient(176deg, #abc4fa, #bef3ea);
	margin: 0 ;
	padding: 1px;
	border-radius: 10px;
	box-sizing: border-box;
}

.search_category li input{
	cursor: pointer;
	background: #ffffff;
	color: #3EA9E4;
	width: 100%;
	padding: 0.5em;
	border-radius: 9px;
	box-shadow: none;
	border: none;
}

.search_category li:last-child:hover{
	opacity: 0.8;
}

/*全店舗表示*/

.search_reset form{
	text-align: center;
}

.search_reset p{
	width: 30%;
	background-image: linear-gradient(176deg, #abc4fa, #bef3ea);
	margin: 1em auto 0;
	padding: 1px;
	border-radius: 10px;
	box-sizing: border-box;
}

.search_reset p:hover{
	opacity: 0.8;
}

.search_reset p input{
	cursor: pointer;
	background: #ffffff;
	color: #3EA9E4;
	width: 100%;
	padding: 0.5em;
	border-radius: 9px;
	box-shadow: none;
	border: none;
}

/*--------------------------------*/

/*-------------------------------*/
/*ショップリスト*/
table {
	border: 1px solid #ccc;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
	table-layout: fixed;
	width: 100%;
}
table tr {
	border: 1px solid #ddd;
}
table th,
table td {
	padding: 0.5em;
	text-align: center;
	vertical-align: top;
	box-sizing: border-box;
}
/*-------------------------------*/

/*-------------------------------*/
/*ショップリスト*/
.annotation{
	margin-top: 2em;
}

.annotation li{
	padding-left: 1em;
	position: relative;
}

.annotation li:before{
	content: "●";
	position: absolute;
	top: 0;
	left: 0;
}

/*-------------------------------*/
/*-------------------------------*/
/*トップへ戻る*/
#pagetop{
	display: none;
	position: fixed;
	right: 20px;
	bottom: 20px;
}

#pagetop a{
    background-image: linear-gradient(176deg, #abc4fa, #bef3ea);
    border-radius: 20px;
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
}

#pagetop a::before{
	content: "";
    width: 10px;
    height: 10px;
    border: 2px solid;
    border-color: #ffffff #ffffff transparent transparent;
    transform: rotate(-45deg);
    display: block;
    top: 16px;
    left: 13px;
    position: absolute;
}
/*-------------------------------*/
@media screen and (min-width: 769px) {
	
	#bargain_header{
		margin-bottom: 2em;
	}
	
	#bargain_header a{
		text-decoration: none;
		display: block;
	}
	
	#bargain_header a:hover{
		opacity: 0.8;
	}
	
	#bargain_header span{
		display: block;
		color: #ffffff;
		width: 100%;
		padding: 1em 3em 1em 1em;
		font-size: 1.25em;
		background: #e20022;
		text-align: right;
		position: relative;
	}
	
	#bargain_header span::after {
		-webkit-transform: rotate(-135deg);
		-moz-transform: rotate(-135deg);
		-ms-transform: rotate(-135deg);
		-o-transform: rotate(-135deg);
		transform: rotate(-135deg);
		top: 50%;
		position: absolute;
		margin-top: -7px;
		margin-left: 10px;
		display: inline-block;
		width: 8px;
		height: 8px;
		content: "";
		border: solid 0px #ffffff;
		border-width: 1px 0px 0px 1px;
	}
	
	#bargain_bn_list li a:hover{
		opacity: 0.8;
	}
	
	#bargain_bn_list li.split_left,
	#bargain_bn_list li.split_right{
		width: 495px;
		display: inline-block;
	}
	
	#bargain_bn_list li.split_left{
		margin-right: 5px;
	}
	
	.search_link a:hover{
		opacity: 0.8;
	}

	
	#link_flag,
	#form_detail{
		display: block;
		margin-top: -118px;
		padding-top: 118px;
	}
/*-------------------------------*/
/*フォーム部分*/
/*カテゴリ検索*/
	
	.search_category li{
		width: 49%;
		margin-bottom: 1em;
	}
	
	.search_category form,
	.search_category li dl{
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: center;
		justify-content: center;
	}
	
	.search_category li:nth-child(2){
		margin-left: 2%;
		vertical-align: top;
	}
	
	.search_category li.fuku{
		width: 49%;
		margin-right: 51%;
	}
	
	.search_category li dt{
		width: 18%;
		padding: 0.5em;
	}

	.search_category li dd{
		margin-left: 2%;
		width: 80%;
	}
	
/*-------------------------------*/
/*-------------------------------*/
/*ショップリスト*/
	table th:nth-child(1){
		width: 8em;
	}
	table th:nth-child(3){
		width: 14em;
	}
	
	table th:nth-child(6){
		width: 8em;
	}
	
	table td:nth-child(3){
		color:#e20022;
	}
	table td:nth-child(4),
	table td:nth-child(5){
		text-align: left;
		font-size: 0.9em;
	}
/*-------------------------------*/
}

@media screen and (max-width: 768px) {
/*-------------------------------*/
/*ヘッダー部分*/

	#bargain_header span{
		display: none;
	}
	
	
	#form_box{
		padding: 0 0.5em 1em;
	}
	
/*-------------------------------*/

	
	#link_flag,
	#form_detail{
		display: block;
		margin-top: -57px;
		padding-top: 57px;
	}
	
	.search_name dt{
		width: 100%;
		margin-right: 0%;
		padding: 0.5em;
		box-sizing: border-box;
		margin-bottom: 0em;
	}

	.search_name dd{
		width: 100%;
	}
	
	.search_category li{
		width: 49%;
		margin-bottom: 1em;
	}
	
	.search_category form{
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: center;
		justify-content: center;
	}
	
	.search_category li:nth-child(2){
		margin-left: 2%;
		vertical-align: top;
	}
	
	.search_category li.fuku{
		width: 100%;
	}
	
	.search_category li dt{
		margin-bottom: 0.5em;
	}
	
	.search_name dd.submit,
	.search_category li:last-child,
	.search_reset p{
		width:240px;
	}
	
	.search_category li:last-child{
	}
	
	.search_name dd.submit input,
	.search_category li input,
	.search_reset p input,
	.search_category select{
		border: transparent 1px solid;
		margin: 0;
		box-sizing: border-box;
	}
	
	
/*-------------------------------*/
/*ショップリスト*/
	#bargain{
		width: 96%;
		margin: 0 auto;
	}
	
	table {
		border: none;
	}
	
	table thead {
		display: none;
	}
	table tr {
		display: block;
		margin-bottom: 1em;
		position: relative;
		border: 2px solid #dddddd;
	}
	table td {
		border-bottom: 1px solid #dddddd;
		display: block;
		text-align: left;
		padding: 1em 1em 1em 2em;
	}
	
	table td:nth-child(1){
		width: 3em;
		padding: 0;
		position: absolute;
		top: 0.5em;
		left: 1em;
		border-bottom: none;
	}
	
	table td:nth-child(2){
		padding-left: 4em;
		font-size: 1.25em;
	}
	
	table td:last-child{
		border-bottom: none;
		margin-bottom: 0;
	}
	
	table td:nth-child(3){
		color: #e20022;
	}
	
	table td:before {
		content: attr(aria-label);
		display: block;
		text-indent: -1em;
		font-weight: bold;
		color: #444444;
	}
	
	table td:nth-child(1):before,
	table td:nth-child(2):before{
		content: none;
	}
/*-------------------------------*/
}
