@charset "utf-8";
/* CSS Document */
/* =========================================
   h1-item
========================================= */
#h1-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;

	padding: 4rem 2rem;
	text-align: center;
}

#h1-item img {
	display: block;
	width: min(70%, 300px);
	height: auto;
}

#h1-item h1 {
	margin: 0;
	font-size: 2.8rem;
	line-height: 1.4;
}


/* =========================================
   section common
========================================= */
#profile,
#philosophy,
#history {
	padding: 4rem 2rem;
}

/* h2 before画像 */
#profile h2,
#philosophy h2,
#history h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin: 0 auto 3rem;
	font-size: 1.8rem;
	line-height: 1.4;
	text-align: center;
}

#profile h2::before,
#philosophy h2::before,
#history h2::before {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	background: url("/assets/images/common/mark.png") no-repeat center / contain;
}


/* =========================================
   profile
========================================= */
.profile-item {
	max-width: 1000px;
	margin: 0 auto;
}

.profile-item dl {
	margin: 0;
}

.profile-item dt,
.profile-item dd {
	margin: 0;
	text-align: left;
}

.profile-item dt {
	margin-top: 2rem;

	font-size: 1.5rem;
	font-weight: bold;
}

.profile-item dt:first-child {
	margin-top: 0;
}

.profile-item dd {
	margin-top: 0.5rem;
	padding-bottom: 2rem;

	font-size: 1.5rem;
	line-height: 1.8;

	border-bottom: 1px solid #ccc;
}

.profile-item a {
	text-decoration: underline;
}

.division + .division {
	margin-top: 1rem;
}


/* =========================================
   philosophy
========================================= */
#philosophy {
	text-align: center;
}

#philosophy p {
	margin: 0;

	font-size: 2.4rem;
	font-weight: bold;
	line-height: 2;

	text-align: center;
}


/* =========================================
   history
========================================= */
.history-item {
	max-width: 1000px;
	margin: 0 auto;
}

.history-item dl {
	margin: 0;
}

.history-item dt,
.history-item dd {
	margin: 0;
	text-align: left;
}

.history-item dt {
	margin-top: 2rem;

	font-size: 1.5rem;
	font-weight: bold;
}

.history-item dt:first-child {
	margin-top: 0;
}

.history-item dd {
	margin-top: 0.5rem;
	padding-bottom: 2rem;

	font-size: 1.5rem;
	line-height: 1.8;

	border-bottom: 1px solid #ccc;
}
/* かつ一の沿革を強調 */
.history-item dt:has(+ dd.highlight),
.history-item dd.highlight {
	background: rgba(255, 255, 255, 0.08);
	color: #b3261e;
	font-weight: bold;
}

/* 日付 */
.history-item dt:has(+ dd.highlight) {
	padding: 1.2rem 0 0.4rem ;
	margin-top: 0;
}

/* 内容 */
.history-item dd.highlight {
	padding: 0.4rem 0 1.2rem;
	margin-top: 0;
}



/* 沿革注釈 */
#history > p {
	max-width: 1000px;
	margin: 1rem auto 0;

	font-size: 1.3rem;
	line-height: 1.6;
	text-align: right;
}
/* =========================================
   tablet
========================================= */
@media screen and (min-width: 768px) {

	/* -------------------------
	   h1-item
	------------------------- */
	#h1-item {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 5rem;

		padding: 5rem 3rem;
		text-align: left;
	}

	#h1-item img {
		width: 280px;
	}

	#h1-item h1 {
		font-size: 3.6rem;
	}


	/* -------------------------
	   section
	------------------------- */
	#profile,
	#philosophy,
	#history {
		padding: 6rem 3rem;
	}

	#profile h2,
	#philosophy h2,
	#history h2 {
		margin-bottom: 4rem;
		font-size: 3rem;
	}
	#profile h2::before,
	#philosophy h2::before,
	#history h2::before {
		width: 40px;
		height: 40px;
	}

	/* -------------------------
	   profile
	------------------------- */
	.profile-item dl {
		display: grid;
		grid-template-columns: 180px 1fr;
	}

	.profile-item dt,
	.profile-item dd {
		margin: 0;
		padding: 1.8rem 0;

		border-bottom: 1px solid #ccc;
	}

	.profile-item dt {
		padding-right: 2rem;
		font-size: 1.6rem;
	}

	.profile-item dd {
		font-size: 1.6rem;
	}


	/* -------------------------
	   philosophy
	------------------------- */
	#philosophy p {
		font-size: 3.2rem;
		line-height: 2;
	}


	/* -------------------------
	   history
	------------------------- */
	.history-item dl {
		display: grid;
		grid-template-columns: 230px 1fr;
	}

	.history-item dt,
	.history-item dd {
		margin: 0;
		padding: 1.6rem 0;

		border-bottom: 1px solid #ccc;
	}

	.history-item dt {
		padding-right: 2rem;
		font-size: 1.5rem;
	}

	.history-item dd {
		font-size: 1.5rem;
	}
	.history-item dt:has(+ dd.highlight),
	.history-item dd.highlight {
		padding-top: 1.6rem;
		padding-bottom: 1.6rem;
	}

	.history-item dt:has(+ dd.highlight) {
		padding-left: 0;
	}

	.history-item dd.highlight {
		padding-left: 0;
	}

}


/* =========================================
   PC
========================================= */
@media screen and (min-width: 1024px) {

	#h1-item {
		gap: 8rem;
	}

	#h1-item img {
		width: 320px;
	}

	#h1-item h1 {
		font-size: 4rem;
	}

	#philosophy p {
		font-size: 3.6rem;
	}

}
