/**
 * 働き方 ページスタイル
 * recruit-workstyle.css
 */

/* ========== 共通設定 ========== */
.recruit-workstyle {
  background-color: transparent;
}

/* ========== イントロセクション ========== */
.rw-intro {
  padding: 140px 0 50px;
}

.rw-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.rw-intro__content {
  flex: 0 0 auto;
}

.rw-intro__title {
  font-family: var(--recruit-font-family);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--recruit-primary);
  margin-bottom: 40px;
}

.rw-intro__title span {
  display: block;
}

.rw-intro__text {
  font-family: var(--recruit-font-family);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 370px;
}

.rw-intro__image {
  flex: 1 1 auto;
  max-width: 617px;
  min-width: 0;
  overflow: hidden;
}

.rw-intro__image img {
  width: 100%;
  height: 416px;
  object-fit: cover;
  display: block;
}

/* ========== 区切り線 ========== */
.rw-divider-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
}

.rw-divider {
  height: 1px;
  background-color: var(--recruit-primary);
}

/* ========== 働く環境セクション ========== */
.rw-workplace {
  padding: 100px 0 80px;
}

.rw-workplace__header {
  max-width: 1280px;
  margin: 0 auto 50px;
  padding: 0 100px;
}

.rw-workplace__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
}

.rw-workplace__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.rw-workplace__card {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rw-workplace__card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.rw-workplace__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rw-workplace__card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rw-workplace__card-label {
  font-family: var(--recruit-font-family);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
  text-transform: uppercase;
}

.rw-workplace__card-title {
  font-family: var(--recruit-font-family);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-text);
}

.rw-workplace__card-text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
  margin-top: 10px;
}

/* ========== 働き方・制度セクション ========== */
.rw-systems {
  padding: 80px 0;
}

.rw-systems__header {
  max-width: 1280px;
  margin: 0 auto 50px;
  padding: 0 100px;
}

.rw-systems__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
}

.rw-systems__lead {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 30px;
}

.rw-systems__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.rw-systems__card {
  background: var(--color-white);
  border-radius: 0;
  border-right: 1px solid #0064FF;
  padding: 40px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.rw-systems__card:last-child {
  border-right: none;
}

.rw-systems__card-title {
  font-family: var(--recruit-font-family);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--recruit-primary);
  text-align: center;
}

.rw-systems__card-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border-medium);
}

.rw-systems__card-text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
}

/* ========== 働き方の考え方セクション ========== */
.rw-approach {
  padding: 80px 0 100px;
}

.rw-approach__header {
  max-width: 1280px;
  margin: 0 auto 50px;
  padding: 0 100px;
}

.rw-approach__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
}

.rw-approach__lead {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 30px;
}

.rw-approach__cards {
  display: flex;
  gap: 45px;
  align-items: flex-start;
}

.rw-approach__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
}

.rw-approach__card-icon {
  width: 144px;
  height: 100px;
}

.rw-approach__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rw-approach__card-title {
  font-family: var(--recruit-font-family);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
  text-align: center;
}

.rw-approach__card-text {
  font-family: var(--recruit-font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--color-text);
}

.rw-approach__divider {
  width: 1px;
  background-color: #0064FF;
  flex-shrink: 0;
  align-self: stretch;
}

/* ========== レスポンシブ（タブレット） ========== */
@media (max-width: 1023px) {
  .rw-intro {
    padding: 60px 0 40px;
  }

  .rw-intro__inner {
    padding: 0 50px;
    flex-direction: column;
    gap: 40px;
  }

  .rw-intro__title {
    font-size: 44px;
  }

  .rw-intro__title span {
    display: inline;
    white-space: nowrap;
  }

  .rw-intro__text {
    max-width: 100%;
  }

  .rw-intro__image {
    max-width: 100%;
  }

  .rw-intro__image img {
    height: auto;
    object-fit: initial;
  }

  .rw-divider-wrapper {
    padding: 0 50px;
  }

  .rw-workplace {
    padding: 60px 0;
  }

  .rw-workplace__header {
    margin-bottom: 50px;
    padding: 0 50px;
  }

  .rw-workplace__inner {
    padding: 0 50px;
  }

  .rw-workplace__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .rw-systems {
    padding: 60px 0;
  }

  .rw-systems__header {
    margin-bottom: 50px;
    padding: 0 50px;
  }

  .rw-systems__inner {
    padding: 0 50px;
  }

  .rw-systems__cards {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rw-systems__card {
    border-right: none;
    border-bottom: 1px solid #0064FF;
  }

  .rw-systems__card:last-child {
    border-bottom: none;
  }

  .rw-approach {
    padding: 60px 0 80px;
  }

  .rw-approach__header {
    margin-bottom: 50px;
    padding: 0 50px;
  }

  .rw-approach__inner {
    padding: 0 50px;
  }

  .rw-approach__cards {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }

  .rw-approach__divider {
    width: 100%;
    height: 1px;
  }
}

/* ========== レスポンシブ（スマートフォン） ========== */
@media (max-width: 767px) {
  .rw-intro {
    padding: 40px 0 30px;
  }

  .rw-intro__inner {
    padding: 0 20px;
    gap: 30px;
  }

  .rw-intro__title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .rw-intro__title span {
    display: inline;
    white-space: nowrap;
  }

  .rw-intro__text {
    font-size: 14px;
  }

  .rw-intro__text br {
    display: none;
  }

  .rw-divider-wrapper {
    padding: 0 20px;
  }

  .rw-workplace {
    padding: 40px 0;
  }

  .rw-workplace__header {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .rw-workplace__inner {
    padding: 0 20px;
  }

  .rw-workplace__cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rw-workplace__card {
    gap: 20px;
  }

  .rw-workplace__card-title {
    font-size: 20px;
  }

  .rw-workplace__card-title br {
    display: none;
  }

  .rw-workplace__card-text {
    font-size: 14px;
  }

  .rw-systems {
    padding: 40px 0;
  }

  .rw-systems__header {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .rw-systems__inner {
    padding: 0 20px;
  }

  .rw-systems__lead {
    font-size: 14px;
  }

  .rw-systems__card {
    padding: 30px 20px;
  }

  .rw-systems__card-title {
    font-size: 22px;
  }

  .rw-systems__card-text {
    font-size: 14px;
  }

  .rw-approach {
    padding: 40px 0 60px;
  }

  .rw-approach__header {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .rw-approach__inner {
    padding: 0 20px;
  }

  .rw-approach__lead {
    font-size: 14px;
  }

  .rw-approach__cards {
    gap: 30px;
  }

  .rw-approach__card-icon {
    width: 100px;
    height: 70px;
  }

  .rw-approach__card-title {
    font-size: 18px;
  }

  .rw-approach__card-text {
    font-size: 14px;
    text-align: center;
  }
}
