@charset "utf-8";

/* -------------------------------------------------- */
/* PC*/
/* -------------------------------------------------- */
#messageImg {
	padding-bottom: 30px;
}

#messageImg img {
	max-width: 100%;
	height: auto;
}

#message{
	word-wrap: break-word;
	line-height: 1.8;
}

#message p:not(:last-child) {
	padding-bottom: 1em;
}

#message .name {
	text-align: right;
}

#aboutus2 table {
	width: 100%;
}

#aboutus2 th {
	padding: 20px;
	margin-bottom: 10px;
	background: #fff8fc;
	font-weight: bold;
	text-align: center;
	border-bottom: 10px #FFF solid;
	vertical-align: middle;
}

#aboutus2 td {
	padding: 20px;
	margin-bottom: 10px;
	background: #f7f7f7;
	border-bottom: 10px #FFF solid;
	vertical-align: middle;
}

#aboutus3 {
	padding-bottom: 70px;
}

.historyWrap {
	position: relative;
}

.historyWrap::after {
	content: "";
	width: 1px;
	height: 100%;
	background: #ae4081;
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	top: 0;
	left: 145px;
}

.history {
	border-bottom: 1px solid #eee;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.history:first-child {
	border-top: 1px solid #eee;
}

.year {
	padding: 20px 40px 20px 20px;
	color: #ae4081;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.year .en {
	font-size: 4rem;
	font-style: italic;
}

.event {
	padding: 30px 0;
}

.event li {
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	position: relative;
}

.event li:last-child {
	margin-bottom: 0;
}

.event li::before {
	content: "";
	width: 10px;
	height: 10px;
	background: #ae4081;
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	top: 50%;
	left: -25px;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	border-radius: 16px;
}

.event .month {
	width: 5.7em;
	color: #ae4081;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.event .month .en {
	font-size: 2.2rem;
}

.event .detail {
	flex: 1;
	max-width: 400px;
	font-size: 1.5rem;
}

/* 経営理念 */

#philosophyTxt {
	font-size: 3rem;
	font-weight: bold;
	text-align: center;
}


#qualityPolicyList {
	
}

#qualityPolicyList li {
	position: relative;
	padding: 0 0 0 20px;
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

#qualityPolicyList li:last-child {
	margin-bottom: 0;
}

#qualityPolicyList li::before {
	color: #ae4081;
	font-size: 1.8rem;
	margin-top: -2px;
}

#qualityPolicyList li span {
	flex: 1;
}

#qualityPolicyList li:nth-child(1)::before {
	content: "①";
}

#qualityPolicyList li:nth-child(2)::before {
	content: "②";
}

#qualityPolicyList li:nth-child(3)::before {
	content: "③";
}

#qualityPolicyList li:nth-child(4)::before {
	content: "④";
}

#qualityPolicyList li:nth-child(5)::before {
	content: "⑤";
}



/* -------------------------------------------------- */
/* TAB(調整) */
/* -------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {

}
/* -------------------------------------------------- */
/* SP(調整) */
/* -------------------------------------------------- */
@media screen and (max-width: 767px) {
	#aboutus2 th {
		padding: 10px 3%;
		margin-bottom: 0;
		background: #fff8fc;
		font-weight: bold;
		text-align: center;
		border-bottom: none;
		display: block;
	}

	#aboutus2 td {
		padding: 20px 3%;
		display: block;
		border-bottom: none;
	}

	.history {
		flex-direction: column;
		align-items: flex-start;
	}

	.year {
		padding: 20px 0 15px 0;
		line-height: 1;
	}

	.event {
		padding: 0 0 20px 0;
	}

	.event li::before {
		display: none;
	}

	.historyWrap::after {
		display: none;
	}
}