/*==========================================================
  ENVIRONMENT PAGE - キャリアパス / マルチ画像
==========================================================*/
/* キャリアパス図のみ：先輩メッセージ見出しと同体裁 */
:is(#environment, #history).under main .under_box_blue h6 {
  font-size: 29px;
  padding-left: 12px;
  margin: 0 0 40px;
  font-weight: bold;
  letter-spacing: 0.03em;
  line-height: 1.6em;
  position: static;
  color: #fff;
}

/* キャリアパスイメージ：青背景テーブル体裁の横並びボックス */
:is(#environment, #history).under main .env_career_list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

:is(#environment, #history).under main .env_career_list > li {
  margin: 0;
  padding: 25px 24px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
:is(#environment, #history).under main .env_career_term {
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
:is(#environment, #history).under main .env_career_list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:is(#environment, #history).under main .env_career_list ul li {
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}
:is(#environment, #history).under main .env_career_list ul li:last-child {
  margin-bottom: 0;
}

/* インタビュー：交互セクションと同じ枠内に2枚をcoverで密着 */
:is(#environment, #history).under main .under_h4_img .env_img_multi {
  display: flex;
  overflow: hidden;
  aspect-ratio: 650 / 365;
  box-shadow: 30px 14px 40px rgba(0, 0, 0, 0.1);
}
:is(#environment, #history).under main .under_h4_img .env_img_multi picture {
  flex: 1 1 50%;
  min-width: 0;
  height: 100%;
  display: block;
}
:is(#environment, #history).under main .under_h4_img .env_img_multi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: none;
  border-radius: 0;
}

/* 社員インタビューボタン：折り返し防止 */
:is(#environment, #history).under main .env_interview_btn a {
  width: 360px;
  white-space: nowrap;
}

@media (min-width: 751px) {
	:is(#environment, #history).under main .env_career_list.col3 {grid-template-columns: repeat(3, 1fr);}
}
@media (max-width: 1100px) {
  :is(#environment, #history).under main .env_career_list, :is(#environment, #history).under main .env_career_list.col3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 750px) {
  :is(#environment, #history).under main .under_box_blue h6 {
    font-size: 20px;
    margin-bottom: 28px;
  }
  :is(#environment, #history).under main .env_career_list, :is(#environment, #history).under main .env_career_list.col3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  :is(#environment, #history).under main .env_career_list > li {
    padding: 20px 22px;
  }
  :is(#environment, #history).under main .env_career_term {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  :is(#environment, #history).under main .under_h4_img .env_img_multi {
    aspect-ratio: 650 / 365;
    box-shadow: 15px 7px 20px rgba(0, 0, 0, 0.1);
  }
  :is(#environment, #history).under main .env_interview_btn a {
    width: 100%;
    max-width: 360px;
  }
}

/* 会社保険制度：各枠の見出し色（サイトのメインカラー） */
#environment.under main .c_main {
  color: var(--mcolor);
}
