@charset "UTF-8";
/* =============================================
   福利厚生 / Case Study（採用 下層ページ）
   ・イントロ（見出し＋リード＋写真コラージュ）
   ・ケーススタディ（テキスト＋写真＋氏名）
============================================= */
/* =============================================
   イントロ（誰にでも働きやすい職場を目指して）
============================================= */
.welfare-intro {
  position: relative;
  padding-top: 3.4285714286rem;
  padding-bottom: 3.4285714286rem;
  background-color: #f4f4f4;
  overflow: hidden;
}

/* 背景写真（ごく薄く敷く装飾） */
.welfare-intro__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.welfare-intro__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 上下を背景色になじませるグラデーション */
.welfare-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(180deg, rgb(244, 244, 244) 0%, rgba(244, 244, 244, 0) 15%, rgba(244, 244, 244, 0) 85%, rgb(244, 244, 244) 100%);
}

.welfare-intro__inner {
  position: relative;
  z-index: 2;
}

/* 見出し ＋ リード */
.welfare-intro__head {
  display: flex;
  flex-direction: column;
  gap: 1.1428571429rem;
}

.welfare-intro__ttl {
  font-family: "Figtree", sans-serif, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: #333;
}

.welfare-intro__lead {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.625;
  letter-spacing: 0;
  color: #333;
}

/* 写真コラージュ */
.welfare-intro__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8571428571rem;
  margin-top: 2.2857142857rem;
}

.welfare-intro__photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.welfare-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   ケーススタディ（テキスト ＋ 写真 ＋ 氏名）
============================================= */
.case-study {
  display: flex;
  flex-direction: column;
}

.case-study__item {
  display: flex;
  flex-direction: column;
  gap: 1.4285714286rem;
  padding-bottom: 2.8571428571rem;
  border-bottom: 1px solid #dadada;
}

.case-study__item:not(:first-child) {
  margin-top: 2.8571428571rem;
}

/* テキスト側 */
.case-study__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #333;
}

.case-study__head {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.case-study__ttl {
  font-family: "Figtree", sans-serif, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: #333;
}

.case-study__date {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #333;
}

.case-study__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #333;
}

.case-study__text {
  line-height: 1.625;
}

/* 写真側 */
.case-study__figure {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.case-study__img {
  margin: 0;
  width: 100%;
  aspect-ratio: 520/380;
  overflow: hidden;
}

.case-study__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study__name {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: right;
  color: #333;
}

.case-study__name-role {
  font-size: 1rem;
}

.case-study__name-person {
  display: inline-block;
  font-size: 1.25rem;
}

/* =============================================
   ブレイクポイント
============================================= */
@media screen and (min-width: 768px) {
  .case-study__item {
    flex-direction: row;
    gap: 3.75rem;
  }
  .case-study__body {
    flex: 1 1 0;
    min-width: 0;
  }
  .case-study__figure {
    flex: 0 0 27.5rem;
    max-width: 27.5rem;
  }
  .welfare-intro::before {
    background-image: linear-gradient(180deg, rgb(244, 244, 244) 0%, rgba(244, 244, 244, 0) 30%, rgba(244, 244, 244, 0) 85%, rgb(244, 244, 244) 100%);
  }
  .welfare-intro__gallery {
    display: block;
    position: relative;
    aspect-ratio: 1294/394;
    margin-top: 3.75rem;
  }
  .welfare-intro__photo {
    position: absolute;
    aspect-ratio: auto;
  }
  .welfare-intro__photo--1 {
    left: 0;
    top: 7.87%;
    width: 24.96%;
    height: 64.21%;
  }
  .welfare-intro__photo--3 {
    left: 28.05%;
    top: 27.92%;
    width: 17%;
    height: 72.08%;
  }
  .welfare-intro__photo--4 {
    left: 48.15%;
    top: 0;
    width: 20.79%;
    height: 68.27%;
  }
  .welfare-intro__photo--2 {
    left: 72.02%;
    top: 20.05%;
    width: 27.97%;
    height: 56.09%;
  }
}
@media screen and (min-width: 992px) {
  .welfare-intro {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .welfare-intro::before {
    background-image: linear-gradient(180deg, rgb(244, 244, 244) 0%, rgba(244, 244, 244, 0) 45%, rgba(244, 244, 244, 0) 85%, rgb(244, 244, 244) 100%);
  }
  .welfare-intro__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .welfare-intro__ttl {
    flex-shrink: 0;
    font-size: 2.375rem;
    line-height: 1.2105;
  }
  .welfare-intro__lead {
    flex: 0 1 43.125rem;
    max-width: 43.125rem;
  }
  .case-study__item {
    gap: 3.75rem;
    padding-bottom: 4.6875rem;
  }
  .case-study__item:not(:first-child) {
    margin-top: 5rem;
  }
  .case-study__figure {
    flex: 0 0 32.5rem;
    max-width: 32.5rem;
  }
  .case-study__ttl {
    font-size: 1.75rem;
    line-height: 1.642;
  }
}