@charset "UTF-8";
/*kaigobu介護部*/


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


/*----- philosophy -----*/
.philosophy_principles_wrap {
	background: #F1FBFE;
    background: linear-gradient(0deg, #C4EEFA 0%, #F1FBFE 70%, #FFF 100%);
}

#philosophy {
	padding-top: 60px;
	padding-bottom: 72px;
}

.philosophy__inner {
	background: var(--white-color);
	border-radius: 12px;
	border: 1px solid var(--sub-color);
	padding: 2rem 3rem;
}
.philosophy__inner p {
	font-size: 1.7rem;
	letter-spacing: 0.03em;
	line-height: 1.7;
	color: var(--accent2-color);
	text-align: center;
}

@media (max-width: 600px) {
	#philosophy {
		padding-bottom: 40px;
	}
	.philosophy__inner {
		padding: 1.5rem 1.2rem;
	}
	.philosophy__inner p {
		font-size: 1.3rem;
		letter-spacing: 0;
		line-height: 1.6;
		text-align: left;
	}
}


/*----- efforts_wrap -----*/
#efforts_wrap {
	padding-top: 60px;
	padding-bottom: 60px;
}

.efforts {
}

/* --- 各取り組み --- */
.effort {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
	#efforts_wrap {
		padding-top: 80px;
		padding-bottom: 80px;
	}
  .effort {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
	margin-bottom: 40px;
  }
}

.effort__content {
  flex: 1;
}
.effort__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-block-start: 0;
  margin-block-end: 1.5rem;
  padding-block-end: 0.75rem;
  border-bottom: 2px solid var(--sub-color);
}

/* 本文 */
.effort__text {
  line-height: 1.8;
  /*margin-block-start: 0;*/
  margin-block-end: 1.25rem;
}

.effort__text:last-child {
  margin-block-end: 0;
}

.effort__figure {
  margin: 0;
  flex-shrink: 0;
  width: 100%;
}
@media (min-width: 768px) {
  .effort__figure {
    width: 40%;
    margin-block-start: 0.5rem; /* タイトル高さとの微調整 */
  }
}

.effort__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  background-color: var(--base4-color);
  border-radius: 12px;
}

@media (max-width: 768px) {
	.effort__figure.sp_none {
		display: none;
	}
}


/*news_award*/
.news_award {
}
.news_award__inner {
	margin-top: 12px;
	border-radius: 12px;
	padding: 3rem 4rem;	
    background-color: rgba(252, 227, 229, .4);
    border: 1px solid rgba(234, 109, 128, .4);
}
.news_award__inner h3 {
	text-align: center;
}
@media (max-width: 600px) {
	.news_award__inner {
		padding: 2rem 1.4rem;	
	}
}

.news_award__inner p {
	margin-bottom: 20px;
}
.news_award__inner p span img {
	margin-bottom: 5px;
	max-width: 15px;
}


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

.eucation__inner {
	margin-bottom: 40px;
}
.education__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.education__body {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  #education{
		padding-top: 80px;
		padding-bottom: 80px;
	 	background: url("../img/bg_page1.jpg") no-repeat bottom center;
	}
  .education__content {
    gap: 60px;
  }
  .education__body {
    /*flex: 1;*/
	  max-width: 80%;
  }
}



/*kaigo_flow*/
#kaigo_flow {
	padding-top: 60px;
	padding-bottom: 40px;
    background: linear-gradient(200deg,rgba(241, 251, 254, .9) 30%, rgba(196, 238, 250, .9) 100%);
	margin-bottom: 40px;
}

.schedule {
	padding-top: 20px;
	padding-bottom: 20px;
}

.schedule__inner {
/*  max-width: 1024px;
  margin: 0 auto;*/
  display: grid;
  gap: 3rem; /* スマホ時のカード間の余白 */
}

@media (min-width: 768px) {
	#kaigo_flow {
		padding-top: 80px;
		padding-bottom: 60px;
		margin-bottom: 80px;
	}
  .schedule__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.schedule-card {
  --theme-color: #222;
  display: flex;
  flex-direction: column;
}

/* モディファイア：日勤（ピンク系）と夜勤（ブルー系） */
.schedule-card--day {
  --theme-color: #EA6D80;
}
.schedule-card--night {
  --theme-color: #0068B6;
}

.schedule-card__header {
  display: flex;
}

/* タイトル部分 */
.schedule-card__title {
  background-color: var(--theme-color);
  color: var(--white-color);
  margin: 0;
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
}

/* 白背景 */
.schedule-card__body {
  background-color:var(--white-color);
  border-radius: 0 8px 8px 8px;
  padding: 2rem 1.2rem 2rem 1rem;
}
@media (min-width: 768px) {
  .schedule-card__body {
    padding: 3rem 2.2rem;
  }
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 時間、ドット＆線 */
.timeline__item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.2rem;
  position: relative;
}
.timeline__item:last-child {
  padding-bottom: 0;
}

/* 時間部分の固定幅とスタイル */
.timeline__time {
  flex: 0 0 3.5rem; /* 幅を固定して線の位置を安定させる */
  text-align: right;
  color: var(--theme-color);
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ドットと線 */
.timeline__node {
  position: relative;
  width: 12px;
  display: flex;
  justify-content: center;
}

/* ドット */
.timeline__node::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--theme-color);
  margin-top: 0.4rem; /* テキストの1行目と高さを揃える */
  position: relative;
  z-index: 2;
}

/* 下に伸びる直線 */
.timeline__node::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: -2rem; /* padding-bottomと同じ値で次のドットまで繋ぐ */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background-color: var(--theme-color);
  z-index: 1;
}
.timeline__item:last-child .timeline__node::after {
  display: none;
}

/* 業務内容テキスト */
.timeline__content {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
   /*padding-top: 0.125rem; 時間やドットとテキストのベースライン微調整 */
}
/* タスクごとの改行をpタグの余白で */
.timeline__content p {
  margin: 0 0 0.15rem;
}
.timeline__content p:last-child {
  margin-bottom: 0;
}

