@charset "utf-8";

table.open-counter {
	width: 100%;
	margin-bottom: 50px;
}
table.open-counter thead th {
	text-align: center;
}

table.open-counter tbody tr td:nth-child(1),
table.open-counter tbody tr td:nth-child(3) {
	width: 8.5em;
}
@media only screen and (max-width: 1079px){
  table.open-counter,
  table.open-counter tbody,
  table.open-counter tbody tr,
  table.open-counter tbody tr th,
  table.open-counter tbody tr td {
	display: block;
  }
  table.open-counter thead {
	display: none;
  }
  table.open-counter tbody tr {
	border-bottom: 5px solid #D5DDD9;
	margin-bottom: 30px;
	padding: 10px 10px 30px;
  }
  table.open-counter tbody tr th,
  table.open-counter tbody tr td {
	width: auto!important;
	border: none;
	line-height: 2.0;
  }
  table.open-counter tbody tr td::before {
	width: 6.5em;
	margin-right: 10px;
	white-space: nowrap;
	display: inline-block;
	background: #063;
	border-radius: 5px;
	text-align: center;
	line-height: 1.0;
	padding: 0.55em 0.5em 0.45em;
	color: #FFF;
  }
  table.open-counter tbody tr td:nth-child(1)::before {
	content: "見積依頼日";
  }
  table.open-counter tbody tr td:nth-child(2)::before {
	content: "件名";
  }
  table.open-counter tbody tr td:nth-child(3)::before {
	content: "見積決定日";
  }
  table.open-counter tbody tr td:nth-child(4)::before {
	content: "契約相手方";
  }
  table.open-counter tbody tr td:nth-child(5)::before {
	content: "契約金額(円)";
  }
  table.open-counter tbody tr td:nth-child(6)::before {
	content: "備考";
  }
  table.open-counter tbody tr.non-content td::before {
	display: none;
  }
}
