.img_block img {
     display: block;
     margin:auto;
}
th {
white-space: nowrap;
}


.form-check-label{
	margin-right: 30px;
}

.img_block {
	margin-bottom: 20px;
}

.img-thumbnail {
	height: 250px !important;
	width: 200px;
	object-fit: cover;
/*
	max-width: 200px;
	height: auto;
*/
}

.formtitle {
	display: block;
	padding: 10px;
	font-weight: bold;
	color: #4c2bc2;
	border-bottom: 3px solid #B4D0F5;
	background: #fbf9f9;
}

/*formの修正
-----------------------------------------------------*/
#check_list {
	display: flex;
	flex-wrap: wrap;
}


.form-check {
/*
	display: inline;
*/
	padding: 0;
	margin: 10px;
	box-sizing: border-box;
}

.form-check-label {
	cursor: pointer;
	position: relative;
	border-radius: 5px;
	border: 2px solid #7574D0;
	padding: 8px;
}

#check_list .form-check-label {
	width: 100%;
}

.form-check-label:hover {
	background: #A4CCE3;
}

.form-check-input:checked ~ .form-check-label {
	background: #A4CCE3;
}


input[type="checkbox"], input[type="radio"] {
	position: static !important;
	margin: 0 !important;
	width: 1.2rem;
	height: 1.2rem;
	vertical-align: text-bottom;
}

#searchtable {
}
/*
#searchtable  tbody tr:nth-child(4n+3) {
	background-color: rgba(0,0,0,.05);
}
*/

/*スマホ詳細ボタン
#searchtable  tbody tr:nth-child(6n+4) {
	background-color: rgba(0,0,0,.05);
}

#searchtable  tbody tr:nth-child(6n+5) {
	background-color: rgba(0,0,0,.05);
}
*/

/*スマホ詳細名前など*/
#searchtable  tbody tr:nth-child(4n+3) {
	background-color: rgba(0,0,0,.05);
}

/*スマホ詳細ボタン*/
#searchtable  tbody tr:nth-child(4n+4) {
	background-color: rgba(0,0,0,.05);
}


/*フッター
-----------------------------------------------------*/
.footarea {
	margin-top: 30px;
	background: #CCCCCC;
}

.footarea a {
	display: table;
	margin: auto;
}

.footarea p {
	background: #fff;
	text-align: center;
}


/*ヘッダー
-----------------------------------------------------*/

.nav-head {
	background:#e3f2fd url("./img/nav-head-bk2.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	padding: 30px 20px;
}


.nav-head a {
	text-align: center;
	display: table;
	margin: auto;
	font-weight: bold;
}




@media only screen and (min-width: 768px), print {
	.nav-head {
		padding: 30px 20px;
		background-position: center 66%;
	}

	.nav-head a {
		font-size: 2.0rem;
	}

	.pc-only {
		display: block;
	} 

	.sp-only {
		display: none;
	} 

	.table-pc-only {
		display: table-cell;
	}

	.table-sp-only {
		display: none;
	}

	#check_list .form-check {
		width: calc((100% / 4) - 20px);
	}

}

@media only screen and (max-width: 768px) {
	.nav-head {
		padding: 15px 10px;
		background-position: center;
	}

	.nav-head a {
		font-size: 1.3rem;
	}

	.col-sm-12 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/*検索一覧テーブル
	-----------------------------------------------------*/
	#searchtable  tbody th{
/*
		white-space: normal;
		width: 7rem;
		font-size: 1.1rem;
		text-align: center;
*/
}

#searchtable  tbody th span {
/*
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	min-height: 4rem;
	text-orientation: upright; 
*/
}
	.table-pc-only {
		display: none;
	}

.table-sp-only {
		display: table-row;
	}

	.table-sp-only a {
		margin: auto;
		display: table;
	}

	#check_list .form-check {
		width: calc((100% / 2) - 20px);
	}


	.pc-only {
		display: none;
	} 


	.sp-only {
		display: block;
	} 
	
	

}



/*form
--------------------------------------------*/
/* input全体に指定する場合は以下 */
.formarea input{
    -webkit-appearance: none;
}

.trade-form-list {
	margin-bottom: 3rem;
}

.trade-form-list dl {
	border-bottom:2px solid #CCC;
}

.trade-form-list dt {
	box-sizing:border-box;
	border-top:2px solid #CCC;
	border-left:none;
	font-weight:bold;
}

.trade-form-list dt span {
  border: 1px solid #F00;
  color: #FF0000;
  padding: 3px 7px;
  margin-left: 14px;
}

.trade-form-list dd {
	box-sizing:border-box;
	text-align:left;
	margin:0 !important;
}

.trade-form-list dd fieldset {
	border:none;
}

.trade-form-list dd input[type="text"],
.trade-form-list dd input[type="email"],
.trade-form-list dd textarea,
.trade-form-list dd input[type="tel"]{
	padding:5px;
	width:99%;
	border:2px solid #999;
}
.trade-form-list dd label {
	display:inline-block;
	padding:5px;
	margin-right:20px;
	cursor:pointer;
}


/* checkbox + radio ----------------------------------------------*/
.trade-form-list input[type="radio"] {
  opacity:0;
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
}

.trade-form-list input[type="radio"]:focus + span::before {
  border-color: #0bd;
}

.trade-form-list input[type="radio"] + span::before {
  display: inline-block;
  content: '';
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid #ccc;
  border-radius: 5px;
  margin: 0 0.5rem -0.5rem 0;
}


.trade-form-list input[type="radio"] + span::before {
  border-radius: 100% !important;
}

.trade-form-list input[type="radio"]:checked + span::before {
  border-width: 2px;
  background:#0F0;
}


pre {
	/* CSS3 */
	white-space: pre-wrap;
}
p.btn-set{
	text-align:center;
	margin-top:1em;
}
p.btn-set input{
	padding:1em 2em;
}


@media only screen and (min-width: 768px), print {

.trade-form-list dl {
	display: flex;
	flex-wrap: wrap;
}

.trade-form-list dt {
	width:30%;
	padding:20px;
}

.trade-form-list dd {
	border-top:2px solid #CCC;
	width:70%;
	padding:15px;
}

}

@media only screen and (max-width: 768px) {

.trade-form-list dt {
	padding:15px 0 10px 0;
}

.trade-form-list dd {
	padding:0 15px 15px 15px;
}

}


