@charset "UTF-8";

/*--------------------------------------------------------------------
about.html
equipment.html
works.css
--------------------------------------------------------------------*/


/*------------about---------------------------------------------------------------*/
#about ul {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 25px;
}
#about ul li { width: calc((100% - 15px * 3) / 4); }
#about .flex400 p + p,
#about ul li p + p {
	margin-top: 0.25em;
	text-align: center;
}
@media (max-width: 860px) {
	#about ul li { width: calc((100% - 15px * 2) / 3); }
}
@media (max-width: 640px) {
	#about ul li { width: calc((100% - 15px) / 2); }
}


/*------------equipment---------------------------------------------------------------*/
#equipment #equPhoto ul {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
}
#equipment #equPhoto ul li { width: calc((100% - 25px * 2) / 3); }


#equipment table tr th { text-align: center; }
#equipment table tr:first-of-type th:last-of-type { border-right: 0 none; }
#equipment table tr:not(:first-of-type) th {
	width: auto;
	background-color: transparent;
	vertical-align: middle;
	text-align: left;
	font-weight: normal;
	color: var(--co-black);
}
#equipment table tr td {
	border: 1px solid var(--co-gray30);
	vertical-align: middle;
	text-align: center;
}
#equipment table tr td:last-of-type { border-right: 0 none; }

@media (max-width: 780px) {
	#equipment #equPhoto ul li { width: calc((100% - 25px) / 2); }
	article .ScrollBar {
		width: 100%;
		white-space: nowrap;
		overflow: auto;
	}
	article .ScrollBar::before {
		display: block;
		content: "横へタップして全体を確認できます。";
		margin-bottom: 0.5em;
		font-weight: bold;
		color: var(--co-red);
	}
	article .ScrollBar table tr th,
	article .ScrollBar table tr td {
		display: table-cell;
		width: auto;
		margin: 0;
		padding: 5px 10px;
		border-top: 1px solid var(--co-gray30);
		border-bottom: 1px solid var(--co-gray30);
	}
}