@charset "UTF-8";

/*--------------------------------------------------------------------
company.html
company.css
--------------------------------------------------------------------*/

/*----------#idea----------------------------------------*/
#idea section {
	padding: 70px 80px;
	background-color: var(--color-navy);
	color: var(--color-white);
}
#idea h3 {
	display: flex;
	align-items: center;
	padding: 0;
	text-align: left;
	font-weight: normal;
	color: var(--color-white);
}
#idea h3 span {
	position: relative;
	margin-left: 1em;
	font-size: 0.5em;
	font-weight: normal;
	color: var(--color-white);
}
#idea h3 span::before,
#idea h3 span::after { content: "－"; }
#idea h3 span::before { margin-right: 1em; }
#idea h3 span::after { margin-left: 1em; }
#idea h4 {
	text-align: left;
	font-family: var(--mincho);
	font-size: 2.75em;
	font-weight: bold;
	color: var(--color-white);
}
#idea p {
	font-size: 1.125em;
	font-weight: bold;
}

@media (max-width: 979px) {
	#idea section { padding: 30px 15px; }
	#idea h3 span { padding: 0 1.5em; }
	#idea h3 span::before,
	#idea h3 span::after {
		position: absolute;
		top: 50%;
		transform: var(--transformY);
	}
	#idea h3 span::before {
		margin-right: 0;
		left: 0;
	}
	#idea h3 span::after {
		margin-left: 0;
		right: 0;
	}
	#idea h4 { font-size: 2em; }
}


/*----------#representative----------------------------------------*/
#representative section {
	display: flex;
	justify-content: space-between;
	flex-flow: row-reverse;
}
#representative .grePho { width: 500px; }
#representative .greTxt {
	display: flex;
	flex-direction: column;
	width: 460px;
}
#representative .greTxt p { text-indent: 1em; }
#representative .greTxt dl {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	margin-top: auto;
}
#representative .greTxt dl * {
	font-family: var(--mincho);
	font-weight: bold;
}
#representative .greTxt dl dd {
	margin-left: 0.25em;
	font-size: 1.5em;
}

@media (max-width: 979px) {
	#representative section { display: block; }
	#representative .grePho { width: 100%; }
	#representative .greTxt {
		width: 100%;
		margin-top: 1em;
	}
}

/*----------#profile----------------------------------------*/
#profile table ol { counter-reset: number 0; }
#profile table ol li::before {
	margin-right: 0.5em;
	counter-increment: number 1;
	content: "[" counter(number) "]";
}
#profile table dl {
	display: flex;
	gap: 1em;
}
#profile table dl dd { flex: 1; }

@media (max-width: 979px) {
	#profile table #licence dl { display: block; }
	#profile table #licence dl:not(:first-of-type) { margin-top: 0.5em; }
	#profile table #organization ul li {
		padding-left: 1.3em;
		text-indent: -1.3em;
	}
	#profile table #organization ul li::before {
		padding-right: 0.3em;
		content: "〇";
	}
}

/*----------#history----------------------------------------*/
#history table tr th { width: 15%; }
#history ul {
	display: flex;
	flex-wrap: wrap;
}
#history ul li:not(:last-of-type)::after {
	margin: 0 1em;
	content: "/";
}
#history #founPic { position: relative; }
#history #founPic #Pic {
	position: absolute;
	bottom: 1px;
	right: 0;
	z-index: 2;
}
#history #founPic + table { border-top: 0 none; }

@media (max-width: 979px) {
	#history table tr th { width: 100%; }
	#history #founPic #Pic {
		position: relative;
		max-width: 210px;
		margin: 1em auto;
	}
	#history #founPic + table { border-top: 1px solid var(--color-sil30); }
}


/*----------#founded----------------------------------------*/
#founded p { text-indent: 1em; }
#founded dl {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	margin-top: auto;
}
#founded dl * {
	font-family: var(--mincho);
	font-weight: bold;
}
#founded dl dd {
	margin-left: 0.25em;
	font-size: 1.5em;
}
