.profile-title {
	padding-bottom: 0.5625rem;
	padding-top: 8.3125rem;
	position: relative;
	text-align: center;
}

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

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

.profile-company {
	margin-inline: auto;
	padding-bottom: 8.4375rem;
	padding-top: 1.1875rem;
}

.profile-company__items {
	border-top: 1px solid #000;
	display: flex;
	flex-direction: column;
	margin-inline: auto;
	width: 51.0625rem;
}

.profile-company-item {
	border-bottom: 1px solid #000;
	display: flex;
}

.profile-company-item__left {
	background: #d9d9d9;
	box-sizing: border-box;
	flex: 1 1 272px;
	padding-bottom: 1.375rem;
	padding-left: 2.25rem;
	padding-right: 2.25rem;
	padding-top: 1.3125rem;
}

.profile-company-item__left-title {
	color: #000;
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.1875;
}

.profile-company-item__right {
	background: #fff;
	box-sizing: border-box;
	display: flex;
	flex: 1 1 545px;
	flex-direction: column;
	gap: 2.1875rem;
	justify-content: center;
	padding-bottom: 1.375rem;
	padding-left: 2.75rem;
	padding-right: 2.75rem;
	padding-top: 1.3125rem;
}

.profile-company-item__right-content-wrapper {
	display: flex;
	flex-direction: column;
	gap: 1.9375rem;
}

.profile-company-item__right-title {
	display: inline-block;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Meiryo", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1875;
}

.profile-company-item__right-description {
	display: inline-block;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Meiryo", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.1875;
}

.profile-company__point-in-time {
	display: block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.1875;
	margin-inline: auto;
	margin-top: 0.75rem;
	text-align: right;
	width: 51.0625rem;
}

.profile-licenses {
	margin-inline: auto;
	padding-bottom: 8.4375rem;
}

.profile-licenses__title {
	display: inline-block;
	font-size: 1.7rem;
	font-weight: 400;
	line-height: 1.2083333333;
}

.profile-licenses__subtitle {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.1875;
	margin-top: 3.375rem;
}

.profile-licenses__items {
	border-top: 1px solid #000;
	display: flex;
	flex-direction: column;
	margin-inline: auto;
	margin-top: 2.5625rem;
	width: 51.0625rem;
}

.profile-licenses-item {
	border-bottom: 1px solid #000;
	display: flex;
}

.profile-licenses-item__left {
	background: #d9d9d9;
	box-sizing: border-box;
	flex: 1 1 272px;
	padding-bottom: 1.375rem;
	padding-left: 2.25rem;
	padding-right: 2.25rem;
	padding-top: 1.3125rem;
}

.profile-licenses-item__left-title {
	color: #000;
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.1875;
}

.profile-licenses-item__left-title em {
	font-style: normal;
	font-weight: 700;
}

.profile-licenses-item__right {
	background: #fff;
	box-sizing: border-box;
	display: flex;
	flex: 1 1 545px;
	flex-direction: column;
	gap: 0.1875rem;
	justify-content: flex-start;
	padding-bottom: 1.375rem;
	padding-left: 2.75rem;
	padding-top: 1.3125rem;
}

.profile-licenses-item__right-description {
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.1875;
}

.profile-licenses-item__right-image-wrapper {
	display: flex;
	gap: 0.625rem;
}

.profile-licenses-item__right-image.--health {
	height: 4.25rem;
	width: 5.125rem;
}

.profile-licenses-item__right-image.--Q-Board {
	height: 5.0625rem;
	width: 5.625rem;
}

.profile-licenses-item__right-image img {
	height: 100%;
	width: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}

.profile-licenses-support {
	margin-inline: auto;
	padding-bottom: 8.4375rem;
}

.profile-licenses-support__subtitle {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.1875;
}

.profile-licenses-support__items {
	border-top: 1px solid #000;
	display: flex;
	flex-direction: column;
	margin-inline: auto;
	margin-top: 2.5625rem;
	width: 51.0625rem;
}

.profile-licenses-support-item {
	border-bottom: 1px solid #000;
	display: flex;
}

.profile-licenses-support-item__left {
	background: #d9d9d9;
	box-sizing: border-box;
	flex: 1 1 272px;
	padding-bottom: 1.375rem;
	padding-left: 2.25rem;
	padding-right: 2.25rem;
	padding-top: 1.3125rem;
}

.profile-licenses-support-item__left-title {
	color: #000;
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.1875;
}

.profile-licenses-support-item__left-title em {
	font-style: normal;
	font-weight: 700;
}

.profile-licenses-support-item__right {
	background: #fff;
	box-sizing: border-box;
	display: flex;
	flex: 1 1 545px;
	flex-direction: column;
	gap: 0.1875rem;
	justify-content: flex-start;
	padding-bottom: 1.375rem;
	padding-left: 2.75rem;
	padding-top: 1.3125rem;
}

.profile-licenses-support-item__right-image-wrapper {
	display: flex;
	gap: 0.625rem;
}

.profile-licenses-support-item__right-image {
	height: 3.375rem;
	width: 5.125rem;
}

.profile-licenses-support-item__right-image img {
	height: 100%;
	width: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}

.profile-licenses-support-item__right-description {
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.1875;
}
/*sp*/
@media screen and (max-width: 769px) {

.profile-title {
	padding-bottom: 0.375rem;
	padding-top: 3.75rem;
}

.profile-title h1 {
	font-size: 2rem;
}

.profile-title span {
	font-size: 1rem;
	line-height: normal;
	margin-top: 0.625rem;
}

.profile-company {
	padding-bottom: 3.75rem;
}

.profile-company__items {
	border-top: none;
	width: 20.9375rem;
}

.profile-company-item {
	border-bottom: none;
	flex-direction: column;
}

.profile-company-item__left {
	flex: 1;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
	text-align: left;
}

.profile-company-item__right {
	flex: 1;
	margin-bottom: 0.625rem;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	text-align: left;
}

.profile-company__point-in-time {
	margin-top: 0;
	width: 20.9375rem;
}

.profile-licenses {
	padding-bottom: 3.75rem;
}

.profile-licenses__title {
	font-size: 1.3rem;
}

.profile-licenses__subtitle {
	font-size: 1rem;
}

.profile-licenses__items {
	border-top: none;
	width: 20.9375rem;
}

.profile-licenses-item {
	border-bottom: none;
	flex-direction: column;
}

.profile-licenses-item__left {
	flex: 1;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	text-align: left;
}

.profile-licenses-item__right {
	flex: 1;
	margin-bottom: 0.625rem;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	text-align: left;
}

.profile-licenses-support {
	padding-bottom: 3.75rem;
}

.profile-licenses-support__subtitle {
	font-size: 1rem;
}

.profile-licenses-support__items {
	border-top: none;
	width: 20.9375rem;
}

.profile-licenses-support-item {
	border-bottom: none;
	flex-direction: column;
}

.profile-licenses-support-item__left {
	flex: 1;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	text-align: left;
}

.profile-licenses-support-item__right {
	flex: 1;
	margin-bottom: 0.625rem;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	text-align: left;
}
}
/* PC（デフォルト）：スペースを表示、改行なし */
.sp-br::before {
content: "　";
  display: inline;
}

/* SP（768px以下）：改行に変更 */
@media screen and (max-width: 768px) {
  .sp-br::before {
    content: "";   /* スペース削除 */
  }
  .sp-br {
    display: block; /* 改行にする */
  }
}

@media screen and (max-width: 769px) {
  .profile-licenses-support-item__right-image {
    width: 7rem;     
    height: 4.5rem;
    flex: 0 0 auto; 
  }
  .profile-licenses-support-item__right-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  /* 並びの間隔も広げたい場合（任意） */
  .profile-licenses-support-item__right-image-wrapper {
    gap: 1rem;
	  flex-direction: column;
  }
}

/* ====== ① 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; }

  /* 共通横幅（固定51.0625rem → 流体） */
  .profile-company__items,
  .profile-licenses__items,
  .profile-licenses-support__items,
  .profile-company__point-in-time {
    width: min(90vw, 48rem);
  }

  .profile-company { padding-bottom: 5.5rem; padding-top: 1rem; }
  .profile-licenses,
  .profile-licenses-support { padding-bottom: 5.5rem; }

  /* 行の密度を少し高める */
  .profile-company-item,
  .profile-licenses-item,
  .profile-licenses-support-item {
    gap: 0; /* Flexの行間は使わない */
  }

  /* 左右カラムのバランスをやや可変に */
  .profile-company-item__left,
  .profile-licenses-item__left,
  .profile-licenses-support-item__left {
    flex: 0 0 220px;       /* 272px → 220px に詰める */
    padding: 1rem 1.25rem;
  }

  .profile-company-item__right,
  .profile-licenses-item__right,
  .profile-licenses-support-item__right {
    flex: 1 1 auto;        /* 545pxの想定から可変に */
    padding: 1rem 1.75rem; /* 2.75rem → 1.75rem */
    gap: 1.25rem;
  }

  .profile-company-item__right-content-wrapper { gap: 1.25rem; }

  /* タイポ微調整（読みやすさ優先で等幅維持） */
  .profile-company-item__left-title,
  .profile-licenses-item__left-title,
  .profile-licenses-support-item__left-title,
  .profile-company-item__right-title,
  .profile-company-item__right-description,
  .profile-licenses-item__right-description,
  .profile-licenses-support-item__right-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* 画像群：iPadでは横並びでwrap */
  .profile-licenses-item__right-image-wrapper,
  .profile-licenses-support-item__right-image-wrapper {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  /* 画像サイズをやや揃えて安定表示 */
  .profile-licenses-item__right-image.--health { width: 5rem; height: 4rem; }
  .profile-licenses-item__right-image.--Q-Board { width: 5.5rem; height: 4.6rem; }
  .profile-licenses-support-item__right-image { width: 5.5rem; height: 3.6rem; }

  /* 右下の注記幅 */
  .profile-company__point-in-time {
    text-align: right;
    margin-top: 0.75rem;
  }
}

/* —— ①-補足：小さめiPad（768–820px）はさらにキュッと —— */
@media screen and (min-width: 768px) and (max-width: 820px) {
  .profile-title h1 { font-size: 2.2rem; }
  .profile-title span { font-size: 1.05rem; }

  .profile-company__items,
  .profile-licenses__items,
  .profile-licenses-support__items,
  .profile-company__point-in-time {
    width: min(92vw, 44rem);
  }

  .profile-company-item__left,
  .profile-licenses-item__left,
  .profile-licenses-support-item__left {
    flex-basis: 200px;     /* さらに詰める */
    padding: 0.9rem 1rem;
  }
  .profile-company-item__right,
  .profile-licenses-item__right,
  .profile-licenses-support-item__right {
    padding: 0.9rem 1.4rem;
    gap: 1rem;
  }
  .profile-company-item__right-title,
  .profile-company-item__right-description,
  .profile-licenses-item__right-description,
  .profile-licenses-support-item__right-description {
    font-size: 0.93rem;
    line-height: 1.5;
  }
}

/* ====== ② 小さめタブレット（375–767px）最適化 ====== */
@media screen and (min-width: 375px) and (max-width: 767px) {

  /* タイトルをSPより少しだけ大きく（小タブ差別化） */
  .profile-title {
    padding-top: 4.25rem;
    padding-bottom: 0.5rem;
  }
  .profile-title h1 { font-size: 2.2rem; }
  .profile-title span { font-size: 1.05rem; line-height: 1.6; }

  /* 固定幅 → 流体幅へ（可読性と左右余白を確保） */
  .profile-company__items,
  .profile-licenses__items,
  .profile-licenses-support__items,
  .profile-company__point-in-time {
    width: min(92vw, 40rem) !important; /* 20.9375rem を上書き */
  }

  /* カードの内側余白を少し増やして詰まりを回避 */
  .profile-company-item__left,
  .profile-licenses-item__left,
  .profile-licenses-support-item__left {
    padding: 0.75rem 0.9rem !important;
  }
  .profile-company-item__right,
  .profile-licenses-item__right,
  .profile-licenses-support-item__right {
    padding: 0.9rem 0.9rem !important;
    gap: 0.9rem;
  }

  /* タイポ微調整：SPよりほんの少しだけ大きく */
  .profile-company-item__left-title,
  .profile-licenses-item__left-title,
  .profile-licenses-support-item__left-title,
  .profile-company-item__right-title,
  .profile-company-item__right-description,
  .profile-licenses-item__right-description,
  .profile-licenses-support-item__right-description {
    font-size: 0.97rem;
    line-height: 1.55;
  }

  /* ラベルの強調は維持 */
  .profile-licenses-item__left-title em,
  .profile-licenses-support-item__left-title em { font-weight: 700; }

  /* 画像群：小タブでは横並び＋wrap（SPでcolumn指定を上書き） */
  .profile-licenses-support-item__right-image-wrapper {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }
  .profile-licenses-support-item__right-image {
    width: 6.25rem;  /* 100px → ちょい拡大 */
    height: 4rem;
  }

  /* セクション余白の最適化 */
  .profile-company,
  .profile-licenses,
  .profile-licenses-support {
    padding-bottom: 3.25rem;
    padding-top: 1rem;
  }

  /* 右下注記 */
  .profile-company__point-in-time {
    margin-top: 0.5rem;
    text-align: right;
  }
}