@charset "UTF-8";
/*working-environment*/


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


/*-----　worksytle-data ------ */
#worksytle-data {
	padding-top: 20px;
	padding-bottom: 60px;
}
.workstyle__inner {
  max-width: 1024px;
  margin: 20px auto;
}

.workstyle__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;/*20px*/
  list-style: none;
  padding: 0;
  margin: 0;
}

.workstyle__card {
  background-color: rgba(252, 227, 229, .4);
  border: 1px solid rgba(234, 109, 128, .4);
  border-radius: 8px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-sizing: border-box;
}

/* デスクトップでは2列分を使うワイドカード */
.workstyle__card--wide {
  grid-column: span 2;
  justify-content: center;
}

.workstyle__flex-box {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  gap: 20px;
  margin-top: 16px;
}

.workstyle__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.workstyle__value {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
@media screen and (min-width: 768px) {/*PCの文字位置調整*/
	.top__space64 {
		padding-top: 64px;
	}
	.top__space32 {
		padding-top: 32px;
	}
}
.workstyle__num {
  font-size: 4rem;/*64px*/
  font-weight: bold;
  line-height: 1;
	letter-spacing: 0.03em;
}
.workstyle__num-small {
  font-size: 3rem;/*48px*/
}

.workstyle__num--blue {
  color: var(--sub-color);
}
.workstyle__num--pink {
  color: var(--main-color);
}

.workstyle__unit {
  font-size: 1.25rem;
  font-weight: bold;
  margin-left: 4px;
}

.workstyle__note {
  font-size: .8rem;
  color: var(--base2-color);
  margin: 12px 0 0 0;
  text-align: left;
  line-height: 1.4;
  width: 100%;
}

.workstyle__img-wrap {
  width: 280px;/*200px*/
  aspect-ratio: 5 / 3;
  border-radius: 4px;
  overflow: hidden;
/*  background-color: var(--base4-color);*/
  flex-shrink: 0;
}
/* カード下部に幅広く配置される画像用のモディファイア */
.workstyle__img-wrap--full {
  width: 100%;
  max-width: 220px;/*240px*/
  margin-top: auto; /* カード内の要素下部に押し下げる */
}
.workstyle__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*スマホ2列*/
@media screen and (max-width: 767px) {
  .workstyle__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* スマホではワイド幅を解除し、他のカードと同じ1列幅に
  .workstyle__card--wide {
    grid-column: span 1;
  } */
  .workstyle__flex-box {
    flex-direction: column;
    gap: 16px;
  }
	.workstyle__card {
	  padding: 20px 12px 20px;
	}
  .workstyle__num {
    font-size: 3rem;
  }
  .workstyle__num-small {
    font-size: 1.5rem;
  }
  .workstyle__title {
    font-size: 1rem;
  }
  .workstyle__unit {
    font-size: 1rem;
  }
	.workstyle__img-wrap {
		width: 100%; /* スマホ時は縦並びになるため全幅へ */
		max-width: 280px; /* 大きくなりすぎないように制限 */
	  }
	  .workstyle__img-wrap--full {
		max-width: 100%; /* スマホはカード幅に合わせる */
	  }
}


/*---- welfare -----*/
#welfare {
	background: linear-gradient(0deg, #C4EEFA 0%, #CBF0FB 11.87%, #F1FBFE 80%);
	padding-top: 60px;
	padding-bottom: 80px;
}
.welfare__inner {
  max-width: 1024px;
  margin-inline: auto;
}

.welfare__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.welfare__item {
  display: flex; /* 高さを揃えるためのFlexbox */
}

.welfare__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--white-color);
  border-radius: 12px;
  padding: 32px;
  box-sizing: border-box;
  gap: 16px;
}
.welfare__card-title {
  font-size: 1.25rem;
  color: var(--main-color);
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}
.welfare__card-title span.text-sm {
  font-size: 1rem;	
}

.welfare__card-text {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.welfare__card-img-wrap {
  margin-top: auto; /* テキスト量が異なっても画像をカード下部に揃える */
  width: 100%;
}

.welfare__card-img-wrap {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--base4-color);
}

.welfare__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* スマホ時は1列に変更 */
@media screen and (max-width: 767px) {
  .welfare__list {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  .welfare__card {
    padding: 24px; /* スマホ時はカード内の余白を少し狭める */
  }
}


/*----- facility -----*/
#facility {
	padding-top: 60px;
	padding-bottom: 60px;
	background: url("../img/bg_page1.jpg") no-repeat top center;
}

.facility-foot {
	margin-top: 80px;
}

.facility-sns {
	max-width: 800px;
	margin-inline: auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	gap: 3rem;
	border-radius: 12px;
	border: 1px solid var(--main-color);
	background: var(--white-color);
	padding: 1rem 2rem;
}
.facility-sns__image {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}
.facility-sns__image p {
	font-size: .9rem;
	line-height: 1.4;
}

@media screen and (max-width: 600px) {
	#facility {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.facility-foot {
		margin-top: 40px;
	}
	.facility-sns {
		gap: 1rem;
		padding: 1rem 1.5rem 1.5rem;
	}
}