@charset "utf-8";
#secondpage {
	background-color: #e8e9f1;
}
#mainvisual {
	background-color: #e8e9f1;
	padding-top: 10em;
	padding-bottom: 5em;
	background-image: url("../../img/pic003.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	overflow: hidden;
}
#mainvisual:after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(32, 37, 56, 0.75);
	pointer-events: none;
}
#mainvisual h1 {
	font-size: 2.5em;
	letter-spacing: 0.16em;
	text-align: left;
	padding-bottom: 1em;
	font-feature-settings: "palt";
	position: relative;
	z-index: 2;
	font-weight: 700;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	color: #FFF;
}
#mainvisual h1:before {
	content: "";
	width: calc((100vw - 1200px) / 2);
	height: 2px;
	display: block;
	position: absolute;
	left: 0;
	bottom: 0px;
	background-color: #cc2a3e;
	transform: translate(-100%, 0);
}
#mainvisual h1:after {
	content: "";
	width: 4.5em;
	height: 2px;
	display: block;
	position: absolute;
	left: 0;
	bottom: 0px;
	background-color: #cc2a3e;
}
.w920 {
	max-width: 920px;
	margin: 0 auto;
}
.w1200 {
	max-width: 1200px;
	margin: 0 auto;
}
.indexLink {
	max-width: 1200px;
	margin: 0 auto;
}
.indexLink ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
	padding: 3em 0;
	margin: 0;
	list-style: none;
}
.indexLink ul li {
	flex: 1 1 12em;
}
.indexLink ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 1em 0;
	text-decoration: none;
	color: #202538;
	font-weight: 600;
	letter-spacing: 0.04em;
	transition:
		color 0.25s ease, transform 0.25s ease;
}
/* 下ライン */
.indexLink ul li a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: rgba(32, 37, 56, 0.15);
	transition:
		background-color 0.25s ease, transform 0.25s ease;
}
/* hover */
.indexLink ul li a:hover {
	color: #2c3ca0;
	transform: translateY(-2px);
}
.indexLink ul li a:hover::after {
	background: #2c3ca0;
}
.sBox {
	padding-top: 2em;
	padding-bottom: 2em;
}
.sBox:last-child {
	padding-bottom: 6em;
}
.sBox h2 {
	font-size: 2em;
	font-weight: 700;
	position: relative;
	line-height: 1em;
	margin-top: 2em;
	margin-bottom: 2em;
	color: #202538;
	padding-left: 1em;
}
.sBox h2:before {
	position: absolute;
	content: "";
	width: 0.3em;
	height: 0.3em;
	background: #cc2a3e;
	left: 0;
	top: 0;
	transform: translate(0, 0.15em);
}
.sBox .engH2 {
	font-size: 5em;
	color: #202538;
	font-weight: 700;
	position: relative;
}
.sBox .w920 .engH2:before {
	content: "";
	background: #5c5d65;
	height: 100%;
	width: calc((100vw - 920px) / 2);
	position: absolute;
	left: 0;
	top: 0;
	transform: translate(calc(-100% - 0.5em), 0);
	display: block;
}
.sBox .w920 .engH2:after {
	content: "";
	background: #2c3ca0;
	height: 100%;
	width: calc((100vw - 920px) / 2);
	position: absolute;
	left: 0;
	top: 0;
	transform:
		translate(calc(-100% - 0.5em), 0) scaleX(0);
	display: block;
	transform-origin: left top;
	transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.sBox .w920 .engH2.show:after {
	transform:
		translate(calc(-100% - 0.5em), 0) scaleX(1);
}
.sBox .message p {
	line-height: 2;
	letter-spacing: 0.04em;
	font-size: 1rem;
	font-weight: 400;
	color: #1a1a24;
	margin-bottom: 1em;
}
.sBox .message p:last-child {
	margin-bottom: 0px;
}
.sBox .message p.name {
	font-size: 0.8em;
	text-align: right;
}
.sBox .message p.name span {
	font-size: 2em;
	display: block;
}
table {
	width: 100%;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	background: #e8e9f1;
	margin-top: 3em;
	margin-bottom: 4em;
	display: block;
	/*padding: 1em 2em;*/
	position: relative;
	z-index: 20;
	color: #202538;
}
table * {
	z-index: 7;
	position: relative;
}
table tbody {
	display: table;
	width: 100%;
	max-width: 920px;
	border-collapse: separate;
	border-spacing: 0em 1em;
	margin-bottom: 0.5em;
}
table tr {}
table th, table td {
	padding: 1em;
}
table th {
	/*border-bottom:1px #cc2a3e solid;*/
	background: #192557;
	color: #FFF;
	white-space: nowrap;
	font-weight: 700;
	letter-spacing: 0.2em;
}
table td {
	border-bottom: 1px #192557 solid;
	line-height: 1.5em;
}
table span {
	display: inline-block;
	padding-right: 0.5em;
}
.history {
	padding: 6em 0;
}
.historyList {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3em;
	padding-left: 2em;
}
/* 縦ライン */
.historyList::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 100%;
	background: #2c3ca0;
}
.historyItem {
	display: grid;
	grid-template-columns: 15em 1fr;
	gap: 2em;
}

.historyItem dt {
	display: grid;
	grid-template-columns: 1fr 2.5em; /* 年号 | 月 */
	align-items: start;
	gap: 1em;

	font-weight: 700;
	color: #192557;
	letter-spacing: 0.05em;
}

.historyItem .date {
	white-space: nowrap;
	transform: translateY(0.23em);
}

.historyItem .month {
	width: 2.5em;
	text-align: right;
	white-space: nowrap;
	transform: translateY(0.23em);
}

.historyItem dd {
	margin: 0;
	line-height: 2;
	color: #1a1a24;
}
.pictBlock_RB {
	float: right;
	max-width: 15em;
	padding: 0 0 1em 1em;
}
.rinen {
	padding: 2em 8% 4em 8%;
	border-bottom: #192557 solid 1px;
	margin-bottom: 4em;
}
.rinen.fadein.show {
	animation: 1.5s ease-in-out 0s 1 forwards fadein;
}
.rinen ul {
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2.8em;
}
.rinen li {
	position: relative;
	padding-left: 1em;
	color: #192557;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.8;
}
.rinen li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 1px;
	height: 0.38em;
	background: #cc2a3e;
}
.rinen .ulAnimation li {
	transition:
		opacity 1.5s ease, transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.rinenIn {
	padding-bottom: 4em;
}
.rinenIn li {
	margin-top: 1em;
}
.rinenIn li h3 {
	font-size: 1.8em;
	color: #2c3ca0;
	font-weight: bold;
	position: relative;
	margin-bottom: 0.5em;
}
/* 事業内容 */
.intro {
	margin: 2em auto 1em;
}
#lineup .lineup-item {
	display: grid;
	grid-template-columns: 36% 1fr;
	gap: 40px;
	align-items: center;
	/*margin-top: 48px;*/
}
#lineup .lineup-item-img {
	background: #eef7fb;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
#lineup .lineup-item-img img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
#lineup .lineup-item-text h3 {
	margin: 0 0 1em;
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.1em;
}
#lineup .lineup-item-text p {
	margin: 0 0 0.8em;
	line-height: 1.8;
}
#lineup .lineup-item-text p:last-child {
	margin-bottom: 0;
}
#quality .quality-item p {
	margin: 0 0 0.8em;
	line-height: 1.8;
}
#quality .quality-item img {
	display: block;
	width: 50%;
	margin: 3em auto 0;
}
#equipment .equipment-table-wrap {
	overflow-x: auto;
}
#equipment .equipment-table {
	width: 100%;
	max-width: 920px;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 1em;
	margin-top: 0;
}
#equipment .equipment-table thead {
	display: table;
	width: 100%;
}
#equipment .equipment-table thead tr {
	display: table-row;
	width: 100%;
	background: #10245a;
}
#equipment .equipment-table th, #equipment .equipment-table td {
	display: table-cell;
	text-align: left;
	vertical-align: middle;
}
#equipment .equipment-table tbody td {
	border-bottom: 1px #20253826 solid;
}
#equipment .equipment-table th {
	font-weight: 700;
	white-space: nowrap;
}
#equipment .equipment-table th:nth-child(1), #equipment .equipment-table td:nth-child(1) {
	width: 35%;
}
#equipment .equipment-table th:nth-child(2), #equipment .equipment-table td:nth-child(2) {
	width: 28%;
}
#equipment .equipment-table th:nth-child(3), #equipment .equipment-table td:nth-child(3) {
	width: 29%;
}
#equipment .equipment-table th:nth-child(4), #equipment .equipment-table td:nth-child(4) {
	width: 8%;
	text-align: right;
}
/*
------------------------------------------------------------*/
@media screen and (max-width:1200px) {
	#mainvisual h1:before {
		width: 2em;
	}
	.indexLink ul {
		flex-wrap: nowrap;
		padding-left: 2em;
		padding-right: 2em;
	}
	.indexLink ul li {
		flex: 1;
		letter-spacing: 0;
	}
	.w1200 {
		padding-left: 2em;
		padding-right: 2em;
	}
}
@media screen and (max-width:1024px) {
	#mainvisual {
		padding-left: 2em;
		padding-right: 2em;
	}
	.w920 {
		padding-left: 2em;
		padding-right: 2em;
	}
	.sBox .w920 .engH2:before {
		width: 2em;
		transform: translate(calc(-100% - 0.2em), 0);
	}
	.sBox .w920 .engH2:after {
		width: 2em;
		transform:
			translate(calc(-100% - 0.2em), 0) scaleY(0);
	}
	.sBox .w920 .engH2.show:after {
		transform:
			translate(calc(-100% - 0.2em), 0) scaleY(1);
	}
}
@media screen and (max-width:767px) {
	.indexLink ul {
		gap: 0.5em;
		flex-wrap: wrap;
	}
	.indexLink ul#companynav li {
		width: calc((100% - 0.5em * 1) / 2);
		flex: none;
	}
	table {
		width: 100%;
	}
	table thead {
		display: none;
	}
	table tr {
		display: block;
		margin-bottom: 1.5em;
		border-bottom: 1px solid #ddd;
	}
	table th, table td {
		display: block;
		width: 100%;
	}
	/* 事業内容 */
	.intro p {
		font-size: 1.1em;
		line-height: 1.8;
		margin-bottom: 1em;
	}
	#lineup .lineup-item {
		grid-template-columns: 1fr;
		gap: 2em;
	}
	#lineup .lineup-item-img {
		aspect-ratio: 16 / 10;
	}
	#lineup .lineup-item-text p {
		line-height: 1.9;
	}
	#quality .quality-item img {
		width: 100%;
		margin: 3em auto 0;
	}
	/*
	#equipment .equipment-table th:nth-child(1), #equipment .equipment-table td:nth-child(1) {
		width: 33%;
	}
	#equipment .equipment-table th:nth-child(2), #equipment .equipment-table td:nth-child(2) {
		width: 25%;
	}
	#equipment .equipment-table th:nth-child(3), #equipment .equipment-table td:nth-child(3) {
		width: 25%;
	}
	#equipment .equipment-table th:nth-child(4), #equipment .equipment-table td:nth-child(4) {
		width: 15%;
		text-align: right;
	}
	#equipment .equipment-table tbody tr {
		display: block;
		margin-bottom: 1.5em;
		border-bottom: none;
	}
	*/
	#equipment .equipment-table {
		table-layout: auto;
	}

	#equipment .equipment-table thead {
		display: none;
	}

	#equipment .equipment-table,
	#equipment .equipment-table tbody,
	#equipment .equipment-table tr {
		display: block;
		width: 100%;
	}

	#equipment .equipment-table td {
		display: block;
	}

	#equipment .equipment-table tbody tr {
	display: grid;
	grid-template-columns: 1.2fr 1.2fr auto;
	column-gap: 1em;
	padding: 1em 0;
	border-bottom: 1px solid #20253826;
}

	/* 機械名 */
	#equipment .equipment-table tbody td:nth-child(1) {
		grid-column: 1 / 4;
		width: 100%;
		font-weight: 700;
		color: #10245a;
		line-height: 1.5;
		margin-bottom: 0.5em;
		padding: 0;
		border-bottom: none;
	}

	/* 下段 */
	#equipment .equipment-table tbody td:nth-child(2),
	#equipment .equipment-table tbody td:nth-child(3),
	#equipment .equipment-table tbody td:nth-child(4) {
		width: auto;
		min-width: 0;
		padding: 0;
		border-bottom: none;
	}

	#equipment .equipment-table tbody td:nth-child(2)::before {
		content: "メーカー";
		display: block;
		color: #777;
		font-size: 0.85em;
		margin-bottom: 0.15em;
	}

	#equipment .equipment-table tbody td:nth-child(3)::before {
		content: "型番";
		display: block;
		color: #777;
		font-size: 0.85em;
		margin-bottom: 0.15em;
	}

	#equipment .equipment-table tbody td:nth-child(4)::before {
		content: "台数";
		display: block;
		color: #777;
		font-size: 0.85em;
		margin-bottom: 0.15em;
	}
}
/* 仕事紹介 */
#secondpage:has(#mei-works) {
	background-color: #FFF;
}
.sBox .message p.works-catch {
	font-size: 2em;
	color: #2c3ca0;
	font-weight: bold;
	line-height: 1;
	margin-bottom: 1em;
}
.card-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 2em 0 1em;
}
.card {
	flex: 1;
	background-color: #fff;
	border: 1px solid rgba(221, 221, 221, 0.80);
	padding: 1em 25px;
	border-radius: 0.3em;
	box-shadow: 0 4px 20px rgba(25, 37, 87, .04);
}
.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 15px;
	background: #2c3ca0;
	border-radius: 0.3em 0.3em 0 0;
}
.card-number {
	font-size: 3em;
	font-weight: bold;
	color: #2c3ca0;
	margin-bottom: 10px;
}
.card-title {
	position: relative;
	font-weight: bold;
	font-size: 1.5em;
	line-height: 1.4;
	padding-left: 0.5em;
}
.card-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 4px;
	height: 1.1em;
	background: #cc2a3e;
	border-radius: 999px;
}
.card-text {
	margin-top: 15px;
	line-height: 1.6;
	font-size: 1rem;
}
#workflow .card-container {
	gap: 40px;
}
.flow-card, .flow-card2 {
	position: relative;
	background-color: #fff;
	border: 1px solid rgba(221, 221, 221, 0.80);
	border-radius: 0.3em;
	padding: 40px 20px 25px;
	text-align: center;
	margin-bottom: 15px;
	box-shadow: 0 4px 20px rgba(25, 37, 87, .04);
}
.flow-card {
	flex: 1;
}
.flow-card2 {
	flex-basis: calc((100% - 20px * 2) / 3);
}
.flow-card::after, .flow-card2::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
	width: 20px;
	height: 20px;
	border-top: 5px solid #999;
	border-right: 5px solid #999;
}
.flow-card::after {
	right: -25px;
}
.flow-card2::after {
	left: -40px;
}
.flow-card:last-child::after {
	display: none;
}
.flow-number {
	position: absolute;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 50px;
	background-color: #2c3ca0;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.2em;
	margin: 0;
}
.flow-title {
	font-weight: bold;
	font-size: 1.5rem;
	margin-bottom: 15px;
}
.job-section {
	margin: 50px 0;
}
.job-title {
	font-size: 1.8em;
	color: #2c3ca0;
	font-weight: bold;
	margin-bottom: 30px;
	position: relative;
	padding-bottom: 10px;
}
.job-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 2px;
	background-color: #cc2a3e;
}
.job-content {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}
.job-image {
	flex: 0 0 45%;
}
.job-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 3 / 2;
}
.job-description {
	flex: 1;
}
.job-main-text {
	line-height: 1.8;
	margin-bottom: 1em;
}
.voice-card {
	background-color: #f4f7f9;
	padding: 1rem 1.5em;
	border-radius: 0.3em;
}
.voice-label {
	color: #202538;
	font-weight: bold;
	font-size: 1.25em;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #202538;
	display: block;
}
.voice-text {
	line-height: 1.7;
	margin: 0;
	font-size: 1rem;
}
.sBox .message p.li-title {
	color: #2c3ca0;
	position: relative;
	padding-left: 0.5em;
	margin-bottom: 0;
	font-weight: bold;
}
.li-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 4px;
    height: 1.1em;
    background: #cc2a3e;
    border-radius: 999px;
}
#job-descriptions p.button {
	padding-top: 1em;
	text-align: right;
}
#job-descriptions p.button a {
	display: inline-block;
	border: 1px #3e445c solid;
	position: relative;
	padding: 0.8em 1.3em;
	padding-right: 4em;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	border-radius: 0.2em;
	color: #192557;
}
#job-descriptions p.button a:after {
	content: "";
	background: #2c3ca0;
	width: 1.55em;
	height: 1.55em;
	position: absolute;
	right: 0.6em;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 1.1em;
	background-image: url(../img/yazirushi.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 0.9em 0.9em;
	border-radius: 0.1em;
}
p.button {
	padding-top: 1em;
}
p.button a {
	display: inline-block;
	border: 1px #3e445c solid;
	position: relative;
	padding: 0.8em 1.3em;
	padding-right: 5em;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1em;
	border-radius: 0.2em;
	color: #192557;
	/*すりガラス*/
	background: rgba(255, 255, 255, 0.82);
	transition:
		transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
p.button a:after {
	content: "";
	background: #2c3ca0;
	width: 1.55em;
	height: 1.55em;
	position: absolute;
	right: 0.6em;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 1.1em;
	background-image: url("../img/yazirushi.svg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 0.9em 0.9em;
	border-radius: 0.1em;
}
p.button a:hover {
	transform: translateY(-0.15em);
	background: rgba(255, 255, 255, 0.92);
	box-shadow:
		0 0.5em 1.5em rgba(0, 0, 0, 0.12);
	border-color: #2c3ca0;
}
p.button a:after {
	transition:
		transform 0.3s ease, background 0.3s ease;
}
p.button a:hover:after {
	transform: translate(0.2em, -50%);
	background-color: #192557;
}
@media only screen and (max-width:768px) {
	.job-image img {
		aspect-ratio: 3 / 4;
		max-height: 350px;
	}
	.historyItem {
		grid-template-columns: 1fr;
		gap: 0.4em;
		align-items: center;
	}

	.historyItem dt {
		font-size: 0.95rem;
		display: block;
	}
	.historyItem dt .date{
		font-size: 1.2em;
		display: block;
		width: 100%;
		transform: translateY(0);
	}
	.historyItem dt .date.nonedate{
		display: none;
	}
	.historyItem dt .month{
		display: inline-block;
		width: 3em;
		text-align: left;
		transform: translateY(0);
		margin-left: 1em;
	}
	.historyItem dd {
		line-height: 1.8;
		margin-left: 1em;
	}
}
/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px) {}
/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px) {
	.card-container {
		flex-direction: column;
	}
	#workflow .card-container:last-child {
		padding: 0;
	}
	.flow-card, .flow-card2 {
		padding: 40px 30px 25px;
	}
	.flow-card::after, .flow-card2::after {
		display: none;
	}
	.job-content {
		flex-direction: column;
	}
	.job-image {
		width: 100%;
	}
	.job-image img {
		aspect-ratio: 4 / 3;
	}
	.historyList{
		gap:1.5em;
	}
	.historyItem .date{
		margin-bottom: 0.5em;
	}
	/*.historyItem {
	padding-bottom: 1.2em;
	border-bottom: 1px solid rgba(25,37,87,0.08);
}*/
}
@media (orientation: landscape) and (max-height: 450px) {}

span.cb{
	display: inline-block;
}