@charset "utf-8";

/* ---------- ヘッダー ---------- */

@media screen and (min-width: 768px) {
	.header_flex_child_2 li:nth-of-type(1)::before {
		content: "";
		position: absolute;
		top: -15px;
		left: 50%;
		transform: translate(-50%, 0%);
		display: inline-block;
		width: 12px;
		height: 12px;
		background-image: url(../img/top/triangle.png);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}
}

/* ---------- あいさつ ---------- */

.message {
	width: 90%;
	margin: 0 auto;
	padding-top: 10%;
}

.message_title {
	margin-top: 5%;
	text-align: center;
	font-size: 4rem;
	color: #d4edff;
}

.message_title_sub {
	font-size: 0.4em;
	color: #000;
}

.message_text {
	margin: 5% 0 0;
	line-height: 1.5;
	letter-spacing: 0.1em;
}

@media screen and (min-width: 425px) {}

@media screen and (min-width: 768px) {
	.message {
		display: flex;
		flex-direction: row-reverse;
		align-items: stretch;
		width: 100%;
		margin: 0 auto;
		padding-top: 10%;
	}

	.message_inner_1 {
		width: 50%;
	}

	.message_inner_2 {
		width: 50%;
	}

	.message_title {
		position: relative;
		margin: -2% 0 0;
		font-size: 5.6rem;
	}

	.message_title_sub {
		font-size: 0.2em;
	}

	.message_text {
		width: 90%;
		margin: 5% auto 0;
		padding-left: 10%;
		font-size: 0.6rem;
	}
}

@media screen and (min-width: 1024px) {
	.message_title {
		font-size: 7.4rem;
	}

	.message_text {
		font-size: 0.8rem;
	}
}

@media screen and (min-width: 1440px) {
	.message_title {
		font-size: 10.6rem;
	}

	.message_text {
		font-size: 1rem;
	}
}

@media screen and (min-width: 1920px) {
	.message_title {
		font-size: 14rem;
	}

	.message_text {
		font-size: 1.4rem;
	}
}

/* ---------- 共通 - 会社概要 事業内容 施工実績 ---------- */

.category_wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 48px;
	width: 90%;
	margin: 10% auto 0;
}

.category {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.category_title {
	font-size: 2rem;
}

.title_bar {
	position: relative;
	width: fit-content;
	margin: 0 auto;
	padding-left: 42px;
}

.title_bar::before {
	content: "";
    position: absolute;
    top: 50%;
	left: 0;
    transform: translate(0%, -50%);
    display: block;
    width: 36px;
    height: 1px;
    background-color: #000;
}

.detail {
	position: relative;
	padding: 5%;
	width: 100%;
	height: 80px;
	border: 1px solid #000;
}

.detail_inner {
	width: 85%;
	height: 100%;
	margin: 0 auto 0 0;
	border-right: 2px solid #000;
}

.detail_inner::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(0%, -50%);
    display: inline-block;
    width: 20px;
    height: 6px;
    background: linear-gradient(to bottom, #000 0%, #000 100%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
    clip-path: polygon(0 36.5%, 68.3% 36.5%, 68.3% 0, 100% 50%, 68.3% 100%, 68.3% 63.5%, 0 63.5%);
}

.detail_text {
	position: absolute;
	top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
	font-size: 1.2rem;
}

@media screen and (min-width: 425px) {}

@media screen and (min-width: 768px) {
	.category_wrap {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 16px;
	}

	.category_wrap > * {
		width: calc(100% / 3);
	}

	.title_bar {
		padding-left: 36px;
		font-size: 1.4rem;
	}

	.title_bar::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		transform: translate(0%, -50%);
		width: 28px;
		height: 1px;
	}

	.detail {
		padding: 5%;
		height: 50px;
	}

	.detail_inner {
		width: 85%;
		height: 100%;
		margin: 0 auto 0 0;
		border-right: 2px solid #000;
	}

	.detail_inner::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 12px;
		transform: translate(0%, -50%);
		display: inline-block;
		width: 20px;
		height: 6px;
		background: linear-gradient(to bottom, #000 0%, #000 100%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
		clip-path: polygon(0 36.5%, 68.3% 36.5%, 68.3% 0, 100% 50%, 68.3% 100%, 68.3% 63.5%, 0 63.5%);
	}

	.detail_text {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		font-size: 1rem;
	}
}

@media screen and (min-width: 1024px) {}

@media screen and (min-width: 1440px) {
	.title_bar {
		padding-left: 48px;
		font-size: 2.4rem;
	}

	.title_bar::before {
		width: 36px;
	}

	.detail {
		padding: 3%;
		height: 60px;
	}

	.detail_inner {}

	.detail_inner::after {
		content: "";
		position: absolute;
        top: 50%;
        right: 24px;
        transform: translate(0%, -50%);
	}

	.detail_text {
		font-size: 1.2rem;
	}
}

@media screen and (min-width: 1920px) {}
