@charset "UTF-8";
/*staff_voice*/


/*page-header　他の指定はstyle.css*/
.page-header {
  background-image: url("../img/bg_pagetitle.jpg");
  background-size: cover;
  background-position: center bottom;
}


/*----- comments ------*/
#comments {
	padding-top: 20px;
	padding-bottom: 40px;
}

.employee-voice {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* 各記事のレイアウト） */
.employee-voice__item {
  display: grid;
  gap: 1.5rem;
  padding: 3rem 0;
  border-bottom: 1px dashed var(--base3-color);
}
.employee-voice__item:last-child {
  border-bottom: none;
}

/* 768px以上（PCサイズ）2カラム */
@media (min-width: 768px) {
  .employee-voice__item {
    /* テキスト可変幅、画像は最大320pxの固定比率ベースに */
    grid-template-columns: 1fr minmax(240px, 320px);
    gap: 3rem;
  }
  .employee-voice__figure {
    align-self: end;
  }
}

/* コンテンツエリア */
.employee-voice__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 職種バッジ */
.employee-voice__badge {
  display: inline-block;
  color: var(--white-color);
  padding: 0.25rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.employee-voice__badge--nurse {
  background-color: var(--main-color);
}
.employee-voice__badge--caregiver {
  background-color: var(--accent2-color);
}

/* 見出し */
.employee-voice__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 1rem;
  line-height: 1.4;
}

/* 職員情報 */
.employee-voice__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.employee-voice__info-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.25rem;
}
.employee-voice__info-term {
  margin-right: -1rem; /* 「：」の前を詰める調整用 */
}

/* 本文エリア */
.employee-voice__text {
}
.employee-voice__text p {
	font-size: 1.1rem;
	line-height: 1.8;
  	margin: 0 0 1rem;
}
.employee-voice__text p:last-child {
  margin-bottom: 0;
}

/* 画像エリア：アスペクト比を保ちレイアウトシフト防止 */
.employee-voice__figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--base4-color);
}
.employee-voice__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {/*似顔絵ない場合のスマホ*/
	.employee-voice__figure.sp_none {
		display: none;
	}
}
@media (max-width: 600px) {
	.employee-voice__title {
	    font-size: 1.25rem;
		line-height: 1.6;
	}
	.employee-voice__text p {
		font-size: 1rem;
	}
}


/*new-comments*/
#new-comments {
	padding-top: 60px;
	padding-bottom: 20px;
    background: linear-gradient(90deg, #C4EEFA 0%, #CBF0FB 11.87%, #F1FBFE 80%);
	margin-bottom: 40px;
}

.new-voices {
	padding-top: 40px;
	padding-bottom: 40px;
}
.new-voices__inner {
}

.new-voices__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.new-voices__card {
  background-color: var(--white-color);
  border-radius: 12px;
  padding: 0 1.5rem 2rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
	#new-comments {
		padding-top: 80px;
		padding-bottom: 60px;
		margin-bottom: 80px;
	}
  .new-voices__card {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding: 0 3rem 3rem 2rem;
    align-items: center;
  }
}


.new-voices__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.new-voices__figure {
  margin: -3.5rem 0 1.25rem; /* 上にマイナスのマージンをかけて引き上げる */
  width: 140px;
  position: relative;
  z-index: 1;
}
.new-voices__img {
  width: 100%;
  height: auto;
  display: block;
}

/* 職員情報 */
.new-voices__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

/* スマホ：項目を適切に折り返させる */
.new-voices__info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1rem;
  row-gap: 0.25rem;
}

.new-voices__item--nurse .new-voices__info {
  color: var(--main-color);
}
.new-voices__item--caregiver .new-voices__info {
  color: var(--accent2-color);
}

.new-voices__comment {
 	font-size: 1.1rem;
	font-weight: 500;
 line-height: 1.8;
}
@media (min-width: 768px) {
  .new-voices__comment {
    padding-top: 3.5rem; 
  }
}
.new-voices__text {
  margin: 0;
}