/* =========================
   Health Management Page
========================= */
.profile-title {
	padding-bottom: 2rem;
	padding-top:7rem;
	position: relative;
	text-align: center;
}

.profile-title h1 {
	color: #f62837;
	font-size: 3rem;
	font-weight: 700;
    margin: 0;
}

.profile-title span {
	color: #f62837;
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 2;
}

.health-page {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px 90px;
    box-sizing: border-box;
  }

.health-section {
  margin-bottom: 70px;
}

.health-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  border-left: 5px solid #f62837;
  padding-left: 16px;
  margin-bottom: 28px;
  line-height: 1.5;
}

.health-box,
.message-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 34px 38px;
  line-height: 2;
  font-size: 15px;
}

.health-box p,
.message-box p {
  margin: 0 0 1.4em;
}

.health-box p:last-child,
.message-box p:last-child {
  margin-bottom: 0;
}

.message-name {
  text-align: right;
  margin-top: 28px !important;
  font-weight: 500;
}

/* 1〜6 リスト */
.health-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ddd;
}

.health-list li {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid #ddd;
}

.health-list li > span {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: #f2f4f7;
  border: 1px solid #ccc;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.health-list h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #333;
}

.health-list p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  color: #555;
}

/* 推進体制画像 */
.health-chart {
  border: 1px solid #ddd;
  background: #fff;
  padding: 30px;
  text-align: center;
}

.health-chart img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* SP */
@media screen and (max-width: 768px) {
  .health-page {
    padding: 40px 18px 70px;
  }

  .health-section {
    margin-bottom: 54px;
  }

  .health-section h2 {
    font-size: 21px;
    padding-left: 13px;
    margin-bottom: 22px;
  }

  .health-box,
  .message-box {
    padding: 24px 20px;
    font-size: 14px;
    line-height: 1.9;
  }

  .health-list li {
    gap: 14px;
    padding: 22px 0;
  }

  .health-list li > span {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .health-list h3 {
    font-size: 16px;
  }

  .health-list p {
    font-size: 14px;
  }

  .health-chart {
    padding: 18px;
  }

  .message-name {
    text-align: left;
  }
}

/*sp*/
@media screen and (max-width: 769px) {

  .profile-title {
    padding-bottom: 0.375rem;
    padding-top: 3.75rem;
  }
  
  .profile-title h1 {
    font-size: 1.7rem !important;
  }
  
  .profile-title span {
    font-size: 1rem;
    line-height: normal;
    margin-top: 0.625rem;
  }
}

/* ====== ① iPad（768–1024px）最適化 ====== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* タイトル */
  .profile-title {
    padding-top: calc(4.5rem + 8px);
    padding-bottom: 0.5rem;
  }
  .profile-title h1 { font-size: 2.4rem; }
  .profile-title span { font-size: 1.1rem; line-height: 1.8; }
}
