@charset "utf-8";

/* 健康経営ページ
----------------------------------------------------- */
.hm-mainbox {
  background-color: #fbecee;
  padding: 60px 25px;
  border-radius: 30px;
}
.hm-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #333;
}
.hm-title {
	font-family: 'GothamBook', "Noto Sans JP", sans-serif;
	font-size: clamp(0.938rem, 0.804rem + 0.6vw, 1.25rem);
	color: #0054a7;
	margin-bottom: 40px;
	line-height: 1.6;
	font-weight: 400;
}
.hm-title span {
	font-weight: 700;
	font-size: clamp(1.25rem, 1.143rem + 0.48vw, 1.5rem);
}
.main-hm h2 + p {
  padding-top: 20px;
}
h2.hm-title + p {
  font-size: clamp(0.938rem, 0.75rem + 0.83vw, 1.375rem);
  color: #0054a7;
  font-weight: 600;
  text-align: center;
  line-height: 1.9;
}
h2.hm-title + p br.sp-br {
	display: none;
}
.hm-wrapper > h3 {
  margin-top: 60px;
  color: #0054a7;
  font-size: 1rem;
}
.hm-wrapper > h3 span {
  display: block;
  margin-top: 1em;
  color: #333;
}
.hm-wrapper > h3 br.sp-br {
	display: none;
}
.hm-wrapper > h3 + p {
  margin-top: 1.2em;
  font-size: 0.875rem;
  text-align: left;
}
.hm-wrapper .top-msg {
  background-color: #fff;
  padding: 40px 50px;
  border-radius: 20px;
  margin: 40px 0 0;
}
.hm-wrapper .top-msg h3 {
  margin: 0 0 1em;
  font-size: 1.375rem;
}
.hm-wrapper .top-msg p {
  text-align: left;
  margin: 0 0 30px;
}
.hm-wrapper .top-msg .signature {
  display: block;
  text-align: right;
  font-size: 1.125rem;
}
.excellent-company-certification {
	max-width: 900px;
	margin: 20px auto 0;
	background: #fdecef;
	border-radius: 20px;
	padding: 0;
	box-sizing: border-box;
}
.cert-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}
.cert-left h3 {
	position: absolute;
	inset: 40px 0 auto;
	text-align: center;
	color: #0054a7;
	font-weight: 700;
	font-size: clamp(1rem, 0.893rem + 0.48vw, 1.25rem);
	margin: 0;
	z-index: 1;
	pointer-events: none;
}
.cert-left {
	flex: 1;
	padding: 80px 0 40px 0; /* ↑ヘッドライン分の余白を確保 */
}
.cert-left p {
	margin: 0;
	color: #333;
	font-size: clamp(0.875rem, 0.821rem + 0.24vw, 1rem);
	line-height: 1.9;
	text-align: left;
}
.cert-left span {
	color: #0054a7;
	text-decoration: underline;
}
.cert-right {
	width: 260px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 40px 0 40px auto;
	margin-left: 20px;
}
.cert-right img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}
@media (max-width: 768px) {
	.cert-inner {
		flex-direction: column;
		align-items: center;
		gap: 24px;
		padding: 30px 0 60px;
	}
	.cert-left {
		padding: 0;
	}
	.cert-left h3 {
		position: static;
		inset: auto;
		text-align: center;
		margin-bottom: 1em;
		pointer-events: auto;
	}
	.cert-right {
		margin: 0;
		width: 70%;
	}
}

.health-attempt h3.health-management-subttl {
	border: 1px solid #0054a7;
	border-radius: 9999px;
	display: block;
	padding: 6px 30px;
	font-size: clamp(1rem, 0.786rem + 0.95vw, 1.5rem);
	color: #0054a7;
	margin-bottom: 20px;
}
.health-attempt h3.health-management-subttl + p.taisei {
	color: #0054a7;
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 30px;
}
.health-attempt > div:first-of-type {
	width: 100%;
	margin: 0 0 80px;
}
.health-attempt h4 {
	margin: 0 0 25px;
	font-size: clamp(1rem, 0.893rem + 0.48vw, 1.25rem);
	color: #0054a7;
}
.health-attempt h4 + p {
	font-weight: 600;
	margin-bottom: 30px;
}
.health-attempt > div > picture {
	width: 100%;
	margin: 0 0 100px;
}
.health-attempt > picture {
	width: 100%;
	margin: 0 0 60px;
}

.health-attempt picture:nth-of-type(6) {
	margin: 0 0 60px;
}
.health-attempt h4:last-of-type {
	margin: 0 0 20px;
}
.health-attempt p:last-of-type {
	font-weight: 600;
	font-size: clamp(0.875rem, 0.821rem + 0.24vw, 1rem);
}
.health-attempt p br.sp-br {
	display: none;
}
.health-attempt p:last-of-type br.sp-br {
	display: none;
}
@media (max-width: 768px) {
	h2.hm-title + p br {
		display: none;
	}
	h2.hm-title + p br.sp-br {
		display: block;
	}
	.hm-wrapper .top-msg {
		padding: 30px 20px;
		border-radius: 14px;
	}
}
@media (max-width: 480px) {
	main.main-hm {
		padding: 0;
	}
	.hm-mainbox {
		border-radius: 0;
	}
	.hm-wrapper > h3 br.sp-br {
		display: block;
	}
	.hm-wrapper .top-msg {
		padding: 30px 30px;
		border-radius: 14px;
	}
	.hm-wrapper .top-msg h3 {
		font-size: 1rem;
	}
	.hm-wrapper .top-msg p {
		font-size: 0.875rem;
	}
	.hm-wrapper .top-msg .signature {
		font-size: 1rem;
	}
	.health-attempt p br.sp-br {
		display: block;
	}
	.health-attempt p:nth-of-type(2) {
		font-size: 0.9375rem;
	}
	.health-attempt p:last-of-type br {
		display: none;
	}
	.health-attempt p:last-of-type br.sp-br {
		display: block;
	}
}






/* ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
会社概要、企業理念の追加cssは130行目あたりから追加願います。
----------------------------------------------------*/