/* 働く環境についてページのスタイル - 職種紹介ページと同様のレイアウト */

:root {
  --color-dark-blue: #1a4a7a;
  --color-light-blue: #99C1D5;
  --color-accent-yellow: #caf880;
  --color-white: #ffffff;
  --color-text-dark: #333333;
  --color-text-gray: #666666;
}

.recruit-workstyle-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  background-color: var(--color-white);
}

.container {
  width: 100%;
  text-align: left;
}

.recruit-workstyle-section .container {
  width: 100%;
  margin: 0 auto;
}

/* ページタイトルセクション */
.workstyle-page-title-section {
  margin-bottom: 80px;
}

/* anchor.phpと同じデザインのナビゲーション */
.flex-col3 > * {
  width: 30.33%;
  margin-right: 3%;
  margin-bottom: 3%;
}

@media screen and (max-width: 767px) {
  .flex-col3 > * {
    width: 100%;
    margin-bottom: 16px;
    margin-right: 0;
  }

  .anchor-btn:not(:last-child) {
    margin-bottom: 8px;
  }
}

.workstyle-page-title-section .inner {
  width: 90%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1080px) {
  .workstyle-page-title-section .inner {
    width: 90%;
  }
}

@media screen and (max-width: 767px) {
  .workstyle-page-title-section .inner {
    width: 86%;
  }
}

.anchor-btn a {
  position: relative;
  line-height: 1;
  z-index: 1;
  display: block;
  padding: 28px 88px 28px 40px;
  border-radius: 0;
  width: 100%;
  max-width: 320px;
  color: #0B2C5E;
  border: 1px solid #0B2C5E;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .anchor-btn a {
    max-width: 100%;
    padding: 18px 44px 18px 16px;
    font-size: 14px;
  }
}

.anchor-btn a::before {
  content: '';
  position: absolute;
  top: calc(50% - 24px);
  right: 20px;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: solid #0B2C5E 1px;
  background: #fff;
  transition: all .4s ease-out;
}

@media screen and (max-width: 767px) {
  .anchor-btn a::before {
    top: calc(50% - 16px);
    width: 32px;
    height: 32px;
  }
}

.anchor-btn a:hover:before {
  background: #0B2C5E;
  transition: all .4s ease-out;
}

.btn-business a {
  border: none;
  border-bottom: 1px solid #0B2C5E;
  text-align: left;
}

.btn-business a::after {
  content: '';
  position: absolute;
  top: 42%;
  right: 37px;
  display: block;
  width: 11px;
  height: 14px;
  background-repeat: no-repeat;
  transform: rotate(-90deg);
}

.btn-business a::after {
  transform: rotate(0deg);
  right: 39.5px;
  background: url(../../../img/yoriyasu/business/down.svg) no-repeat center/contain;
}

@media screen and (max-width: 767px) {
  .btn-business a::after {
    top: 38%;
    right: 31.8px;
  }
}

.btn-business a:hover:after {
  background: url(../../../img/yoriyasu/business/down-white.svg) no-repeat center/contain;
}

/* セクション共通スタイル */
.workstyle-section {
  scroll-margin-top: 100px;
  margin-bottom: 120px;
}

.workstyle-section:last-child {
  margin-bottom: 0;
}

/* Key Numberセクション - Greetingセクションと同様のレイアウト */
.numbers-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.numbers-header-column {
  align-self: start;
} 

.numbers-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  text-align: left;
}

.numbers-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.numbers-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
}

.numbers-header .numbers-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.numbers-header .numbers-text p {
  margin-bottom: 20px;
}

.numbers-header .numbers-text p:last-child {
  margin-bottom: 0;
}

.numbers-link {
  color: var(--color-dark-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.numbers-link:hover {
  color: var(--color-light-blue);
  text-decoration: underline;
}

.numbers-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.numbers-image {
  width: 100%;
}

.numbers-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 福利厚生セクション */
.benefits-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.benefits-header-column {
  position: sticky;
  top: 120px;
  align-self: start;
}

.benefits-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.benefits-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.benefits-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
}

.benefits-header .benefits-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.benefits-header .benefits-text p {
  margin-bottom: 20px;
}

.benefits-header .benefits-text p:last-child {
  margin-bottom: 0;
}

.benefits-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefits-image {
  width: 100%;
}

.benefits-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 研修制度/フォローアップ体制セクション */
/* 福利厚生・業務経験・会社の課題 まとめセクション */
.combined-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.combined-header-column {
  position: sticky;
  top: 120px;
  align-self: start;
}

.combined-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.combined-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.combined-header .combined-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.combined-header .combined-text p {
  margin-bottom: 20px;
}

.combined-header .combined-text p:last-child {
  margin-bottom: 0;
}

.combined-link {
  color: var(--color-dark-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.combined-link:hover {
  color: var(--color-light-blue);
  text-decoration: underline;
}

.combined-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.combined-image {
  width: 100%;
}

.combined-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.training-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 60px 0;
  line-height: 1.2;
}

.training-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

.training-item:last-child {
  margin-bottom: 0;
}

.training-item-right .training-item-image {
  order: 1;
}

.training-item-right .training-item-text {
  order: 2;
}

.training-item-text {
  display: flex;
  flex-direction: column;
}

.training-item-image {
  width: 100%;
}

.training-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 0.6;
  background-color: #e0e0e0;
  border-radius: 8px;
}

.training-subtitle {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 20px 0;
  line-height: 1.4;
  padding-left: 0 !important;
  text-align: left;
}

.training-item-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-gray);
  margin: 0;
}

/* キャリアステップ/評価基準セクション */
.career-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.career-header-column {
  position: sticky;
  top: 120px;
  align-self: start;
}

.career-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.career-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.career-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
}

.career-header .career-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.career-header .career-text p {
  margin-bottom: 20px;
}

.career-header .career-text p:last-child {
  margin-bottom: 0;
}

.career-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.career-image {
  width: 100%;
}

.career-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 現在の課題セクション */
.challenges-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.challenges-header-column {
  position: sticky;
  top: 120px;
  align-self: start;
}

.challenges-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.challenges-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.challenges-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
}

.challenges-header .challenges-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.challenges-header .challenges-text p {
  margin-bottom: 20px;
}

.challenges-header .challenges-text p:last-child {
  margin-bottom: 0;
}

.challenges-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.challenges-image {
  width: 100%;
}

.challenges-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 使用頻度の高いツールセクション */
.tools-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.tools-header-column {
  position: sticky;
  top: 120px;
  align-self: start;
}

.tools-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.tools-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.tools-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
}

.tools-header .tools-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.tools-header .tools-text p {
  margin-bottom: 20px;
}

.tools-header .tools-text p:last-child {
  margin-bottom: 0;
}

.tools-header .tools-text ul {
  margin: 20px 0;
  padding-left: 20px;
  list-style-type: disc;
}

.tools-header .tools-text ul li {
  margin-bottom: 10px;
  line-height: 2.2;
}

.tools-header .tools-text ul li:last-child {
  margin-bottom: 0;
}

.tools-header .tools-text strong {
  font-weight: bold;
}

.tools-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tools-image {
  width: 100%;
}

.tools-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* オフィスギャラリーセクション */
.gallery-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.gallery-header-column {
  align-self: start;
}

.gallery-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.gallery-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.gallery-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
}

.gallery-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.gallery-text p {
  margin-bottom: 20px;
}

.gallery-text p:last-child {
  margin-bottom: 0;
}

.gallery-link {
  color: var(--color-dark-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-link:hover {
  color: var(--color-light-blue);
  text-decoration: underline;
}

.gallery-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gallery-image {
  width: 100%;
}

.gallery-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* オフィスギャラリー3自動スクロール */
.gallery-swiper-container-3 {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 40px;
  padding: 0 80px;
  box-sizing: border-box;
}

.gallery-swiper-3 {
  width: 100%;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  height: fit-content;
  min-height: 0;
  align-items: flex-start;
}

.gallery-swiper-3 .swiper-wrapper {
  display: flex;
  animation: none !important;
  flex-shrink: 0;
  height: auto;
  min-height: 0;
  align-items: flex-start;
}

.gallery-swiper-3 .swiper-slide {
  flex-shrink: 0;
  width: auto;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* 動きのあるレイアウト：各スライドに異なる上下のずれとサイズを適用 */
.gallery-swiper-2 .swiper-slide.gallery-slide-0 {
  transform: translateY(-20px);
  height: 360px;
  width: calc((100% - 40px) / 3.2) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-1 {
  transform: translateY(15px);
  height: 420px;
  width: calc((100% - 40px) / 2.8) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-2 {
  transform: translateY(-10px);
  height: 380px;
  width: calc((100% - 40px) / 3.5) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-3 {
  transform: translateY(25px);
  height: 440px;
  width: calc((100% - 40px) / 2.6) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-4 {
  transform: translateY(-15px);
  height: 370px;
  width: calc((100% - 40px) / 3.3) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-5 {
  transform: translateY(10px);
  height: 410px;
  width: calc((100% - 40px) / 3.0) !important;
}

/* レスポンシブ対応：スライドの幅を設定（ギャラリー2） */
@media screen and (max-width: 479px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 15px) / 1.2);
    height: auto !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-0 {
    transform: translateY(-10px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-1 {
    transform: translateY(8px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-2 {
    transform: translateY(-5px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-3 {
    transform: translateY(12px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-4 {
    transform: translateY(-8px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-5 {
    transform: translateY(6px);
  }
}

/* レスポンシブ対応：スライドの幅を設定（ギャラリー3） */
@media screen and (max-width: 479px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 15px) / 1.2);
    height: auto !important;
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 15px) / 1.5);
    min-width: 300px;
  }
}

@media screen and (min-width: 768px) and (max-width: 999px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 40px) / 2.5);
  }
}

@media screen and (min-width: 1000px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 40px) / 3);
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

@media screen and (min-width: 1200px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 60px) / 3.5);
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 15px) / 1.5);
    min-width: 300px;
  }
}

@media screen and (min-width: 768px) and (max-width: 999px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 40px) / 2.5);
  }
}

@media screen and (min-width: 1000px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 40px) / 3);
  }

  /* PC版での動きのあるレイアウト：幅のバリエーション */
  .gallery-swiper-2 .swiper-slide.gallery-slide-0 {
    width: calc((100% - 40px) / 3.2) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-1 {
    width: calc((100% - 40px) / 2.8) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-2 {
    width: calc((100% - 40px) / 3.5) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-3 {
    width: calc((100% - 40px) / 2.6) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-4 {
    width: calc((100% - 40px) / 3.3) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-5 {
    width: calc((100% - 40px) / 3.0) !important;
  }
}

@media screen and (min-width: 1200px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 60px) / 3.5);
  }

  /* 大画面での動きのあるレイアウト：幅のバリエーション */
  .gallery-swiper-2 .swiper-slide.gallery-slide-0 {
    width: calc((100% - 60px) / 3.2) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-1 {
    width: calc((100% - 60px) / 2.8) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-2 {
    width: calc((100% - 60px) / 3.5) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-3 {
    width: calc((100% - 60px) / 2.6) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-4 {
    width: calc((100% - 60px) / 3.3) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-5 {
    width: calc((100% - 60px) / 3.0) !important;
  }
}

.gallery-swiper-2 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-swiper-3 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}


/* オフィスギャラリー3 ナビゲーションボタン */
.gallery-swiper-3 .swiper-button-prev,
.gallery-swiper-3 .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  margin-top: 0;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.gallery-swiper-3 .swiper-button-prev:hover,
.gallery-swiper-3 .swiper-button-next:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-swiper-3 .swiper-button-prev {
  left: -60px;
}

.gallery-swiper-3 .swiper-button-next {
  right: -60px;
}

.gallery-swiper-3 .swiper-button-prev::after,
.gallery-swiper-3 .swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
  color: #1a4a7a;
}

/* オフィスギャラリー3 ページネーション */
.gallery-swiper-3 .swiper-pagination {
  position: relative;
  margin-top: 2.25em;
  bottom: auto;
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  height: auto;
}

.gallery-swiper-3 .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #999;
  opacity: 0.5;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.gallery-swiper-3 .swiper-pagination-bullet-active {
  background-color: #1a4a7a;
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* スマホ版：ナビゲーションボタンのサイズ調整 */
@media screen and (max-width: 767px) {
  .gallery-swiper-container-3 {
    padding: 0 20px;
  }

  .gallery-swiper-3 .swiper-button-prev,
  .gallery-swiper-3 .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .gallery-swiper-3 .swiper-button-prev {
    left: -50px;
  }

  .gallery-swiper-3 .swiper-button-next {
    right: -50px;
  }

  .gallery-swiper-3 .swiper-button-prev::after,
  .gallery-swiper-3 .swiper-button-next::after {
    font-size: 16px;
  }
}

/* スマホ版：画像の全体を表示（ギャラリー2） */
@media screen and (max-width: 767px) {
  .gallery-swiper-2 .swiper-slide {
    height: auto !important;
  }

  .gallery-swiper-2 .swiper-slide {
    min-width: 280px;
  }

  .gallery-swiper-2 .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    min-height: 300px;
  }
}

.gallery-swiper-2 .swiper-slide:hover img {
  transform: scale(1.05);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .gallery-swiper-container-3 {
    width: 100%;
    position: relative;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 0;
  }

  .gallery-swiper-3 {
    margin: 0 auto;
  }

  .gallery-swiper-3 .swiper-slide {
    height: auto !important;
    min-width: 320px;
  }

  .gallery-swiper-3 .swiper-slide {
    overflow: hidden;
    border-radius: 8px;
  }

  .gallery-swiper-3 .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }
}


/* 使用頻度の高いツールカード */
.tools-content-column .numbers-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.tools-content-column .numbers-card-tools {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tools-content-column .numbers-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-blue);
}

.tools-content-column .numbers-card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0;
}

.tools-content-column .tools-icons-container {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  min-height: auto;
  padding: 0;
}

.tools-content-column .tools-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.tools-content-column .tool-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* 福利厚生セクションのリストスタイル */
.benefits-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.benefits-text ul li {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-dark);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  text-align: left;
}

.benefits-text ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.benefits-text ul li:last-child {
  margin-bottom: 0;
}


/* レスポンシブデザイン */
@media screen and (max-width: 1024px) {
  .gallery-layout,
  .numbers-layout,
  .benefits-layout,
  .combined-layout,
  .training-layout,
  .career-layout,
  .challenges-layout,
  .tools-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-header-column,
  .numbers-header-column,
  .benefits-header-column,
  .combined-header-column,
  .training-header-column,
  .career-header-column,
  .challenges-header-column,
  .tools-header-column {
    position: static;
  }

  .gallery-header,
  .numbers-header,
  .benefits-header,
  .combined-header,
  .career-header,
  .challenges-header,
  .tools-header {
    text-align: left;
  }

  .numbers-header .numbers-text,
  .combined-header .combined-text,
  .gallery-text {
    text-align: left;
  }

  .training-item {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .training-item-right .training-item-image,
  .training-item-right .training-item-text {
    order: unset;
  }
}

@media screen and (max-width: 767px) {
  .recruit-workstyle-section {
    padding: 40px 20px 60px;
  }

  .recruit-workstyle-section .container {
    margin: 0 auto;
    padding: 0;
  }


  .gallery-title,
  .numbers-title,
  .benefits-title,
  .combined-title,
  .training-title,
  .career-title,
  .challenges-title,
  .tools-title {
    font-size: 24px;
    text-align: left;
  }

  .training-subtitle {
    padding-left: 0 !important;
    text-align: left;
  }

  .benefits-text ul {
    text-align: left !important;
  }

  .benefits-text ul li {
    text-align: left !important;
  }

  .numbers-header .numbers-text,
  .combined-header .combined-text,
  .gallery-text {
    text-align: left !important;
  }

  .tools-content-column .tool-icon {
    width: 60px;
    height: 60px;
  }

  .tools-content-column .tools-icons-container {
    gap: 20px;
  }
}

/* 使用頻度の高いツールセクション */
.tools-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.tools-header-column {
  position: sticky;
  top: 120px;
  align-self: start;
}

.tools-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.tools-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.tools-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
}

.tools-header .tools-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.tools-header .tools-text p {
  margin-bottom: 20px;
}

.tools-header .tools-text p:last-child {
  margin-bottom: 0;
}

.tools-header .tools-text ul {
  margin: 20px 0;
  padding-left: 20px;
  list-style-type: disc;
}

.tools-header .tools-text ul li {
  margin-bottom: 10px;
  line-height: 2.2;
}

.tools-header .tools-text ul li:last-child {
  margin-bottom: 0;
}

.tools-header .tools-text strong {
  font-weight: bold;
}

.tools-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tools-image {
  width: 100%;
}

.tools-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* オフィスギャラリーセクション */
.gallery-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.gallery-header-column {
  align-self: start;
}

.gallery-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.gallery-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.gallery-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
}

.gallery-text {
  font-size: 16px;
  line-height: 2.2;
  color: var(--color-text-gray);
}

.gallery-text p {
  margin-bottom: 20px;
}

.gallery-text p:last-child {
  margin-bottom: 0;
}

.gallery-link {
  color: var(--color-dark-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-link:hover {
  color: var(--color-light-blue);
  text-decoration: underline;
}

.gallery-content-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gallery-image {
  width: 100%;
}

.gallery-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* オフィスギャラリー3自動スクロール */
.gallery-swiper-container-3 {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 40px;
  padding: 0 80px;
  box-sizing: border-box;
}

.gallery-swiper-3 {
  width: 100%;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  height: fit-content;
  min-height: 0;
  align-items: flex-start;
}

.gallery-swiper-3 .swiper-wrapper {
  display: flex;
  animation: none !important;
  flex-shrink: 0;
  height: auto;
  min-height: 0;
  align-items: flex-start;
}

.gallery-swiper-3 .swiper-slide {
  flex-shrink: 0;
  width: auto;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* 動きのあるレイアウト：各スライドに異なる上下のずれとサイズを適用 */
.gallery-swiper-2 .swiper-slide.gallery-slide-0 {
  transform: translateY(-20px);
  height: 360px;
  width: calc((100% - 40px) / 3.2) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-1 {
  transform: translateY(15px);
  height: 420px;
  width: calc((100% - 40px) / 2.8) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-2 {
  transform: translateY(-10px);
  height: 380px;
  width: calc((100% - 40px) / 3.5) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-3 {
  transform: translateY(25px);
  height: 440px;
  width: calc((100% - 40px) / 2.6) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-4 {
  transform: translateY(-15px);
  height: 370px;
  width: calc((100% - 40px) / 3.3) !important;
}

.gallery-swiper-2 .swiper-slide.gallery-slide-5 {
  transform: translateY(10px);
  height: 410px;
  width: calc((100% - 40px) / 3.0) !important;
}

/* レスポンシブ対応：スライドの幅を設定（ギャラリー2） */
@media screen and (max-width: 479px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 15px) / 1.2);
    height: auto !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-0 {
    transform: translateY(-10px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-1 {
    transform: translateY(8px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-2 {
    transform: translateY(-5px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-3 {
    transform: translateY(12px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-4 {
    transform: translateY(-8px);
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-5 {
    transform: translateY(6px);
  }
}

/* レスポンシブ対応：スライドの幅を設定（ギャラリー3） */
@media screen and (max-width: 479px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 15px) / 1.2);
    height: auto !important;
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 15px) / 1.5);
    min-width: 300px;
  }
}

@media screen and (min-width: 768px) and (max-width: 999px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 40px) / 2.5);
  }
}

@media screen and (min-width: 1000px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 40px) / 3);
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

@media screen and (min-width: 1200px) {
  .gallery-swiper-3 .swiper-slide {
    width: calc((100% - 60px) / 3.5);
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 15px) / 1.5);
    min-width: 300px;
  }
}

@media screen and (min-width: 768px) and (max-width: 999px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 40px) / 2.5);
  }
}

@media screen and (min-width: 1000px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 40px) / 3);
  }

  /* PC版での動きのあるレイアウト：幅のバリエーション */
  .gallery-swiper-2 .swiper-slide.gallery-slide-0 {
    width: calc((100% - 40px) / 3.2) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-1 {
    width: calc((100% - 40px) / 2.8) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-2 {
    width: calc((100% - 40px) / 3.5) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-3 {
    width: calc((100% - 40px) / 2.6) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-4 {
    width: calc((100% - 40px) / 3.3) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-5 {
    width: calc((100% - 40px) / 3.0) !important;
  }
}

@media screen and (min-width: 1200px) {
  .gallery-swiper-2 .swiper-slide {
    width: calc((100% - 60px) / 3.5);
  }

  /* 大画面での動きのあるレイアウト：幅のバリエーション */
  .gallery-swiper-2 .swiper-slide.gallery-slide-0 {
    width: calc((100% - 60px) / 3.2) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-1 {
    width: calc((100% - 60px) / 2.8) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-2 {
    width: calc((100% - 60px) / 3.5) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-3 {
    width: calc((100% - 60px) / 2.6) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-4 {
    width: calc((100% - 60px) / 3.3) !important;
  }

  .gallery-swiper-2 .swiper-slide.gallery-slide-5 {
    width: calc((100% - 60px) / 3.0) !important;
  }
}

.gallery-swiper-2 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-swiper-3 .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}


/* オフィスギャラリー3 ナビゲーションボタン */
.gallery-swiper-3 .swiper-button-prev,
.gallery-swiper-3 .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  margin-top: 0;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.gallery-swiper-3 .swiper-button-prev:hover,
.gallery-swiper-3 .swiper-button-next:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-swiper-3 .swiper-button-prev {
  left: -60px;
}

.gallery-swiper-3 .swiper-button-next {
  right: -60px;
}

.gallery-swiper-3 .swiper-button-prev::after,
.gallery-swiper-3 .swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
  color: #1a4a7a;
}

/* オフィスギャラリー3 ページネーション */
.gallery-swiper-3 .swiper-pagination {
  position: relative;
  margin-top: 2.25em;
  bottom: auto;
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  height: auto;
}

.gallery-swiper-3 .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #999;
  opacity: 0.5;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.gallery-swiper-3 .swiper-pagination-bullet-active {
  background-color: #1a4a7a;
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* スマホ版：ナビゲーションボタンのサイズ調整 */
@media screen and (max-width: 767px) {
  .gallery-swiper-container-3 {
    padding: 0 20px;
  }

  .gallery-swiper-3 .swiper-button-prev,
  .gallery-swiper-3 .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .gallery-swiper-3 .swiper-button-prev {
    left: -50px;
  }

  .gallery-swiper-3 .swiper-button-next {
    right: -50px;
  }

  .gallery-swiper-3 .swiper-button-prev::after,
  .gallery-swiper-3 .swiper-button-next::after {
    font-size: 16px;
  }
}

/* スマホ版：画像の全体を表示（ギャラリー2） */
@media screen and (max-width: 767px) {
  .gallery-swiper-2 .swiper-slide {
    height: auto !important;
  }

  .gallery-swiper-2 .swiper-slide {
    min-width: 280px;
  }

  .gallery-swiper-2 .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    min-height: 300px;
  }
}

.gallery-swiper-2 .swiper-slide:hover img {
  transform: scale(1.05);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .gallery-swiper-container-3 {
    width: 100%;
    position: relative;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 0;
  }

  .gallery-swiper-3 {
    margin: 0 auto;
  }

  .gallery-swiper-3 .swiper-slide {
    height: auto !important;
    min-width: 320px;
  }

  .gallery-swiper-3 .swiper-slide {
    overflow: hidden;
    border-radius: 8px;
  }

  .gallery-swiper-3 .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }
}


/* 使用頻度の高いツールカード */
.tools-content-column .numbers-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.tools-content-column .numbers-card-tools {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tools-content-column .numbers-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-blue);
}

.tools-content-column .numbers-card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0;
}

.tools-content-column .tools-icons-container {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  min-height: auto;
  padding: 0;
}

.tools-content-column .tools-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.tools-content-column .tool-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* 福利厚生セクションのリストスタイル */
.benefits-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.benefits-text ul li {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text-dark);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  text-align: left;
}

.benefits-text ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.benefits-text ul li:last-child {
  margin-bottom: 0;
}


/* レスポンシブデザイン */
@media screen and (max-width: 1024px) {
  .gallery-layout,
  .numbers-layout,
  .benefits-layout,
  .combined-layout,
  .training-layout,
  .career-layout,
  .challenges-layout,
  .tools-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-header-column,
  .numbers-header-column,
  .benefits-header-column,
  .combined-header-column,
  .training-header-column,
  .career-header-column,
  .challenges-header-column,
  .tools-header-column {
    position: static;
  }

  .gallery-header,
  .numbers-header,
  .benefits-header,
  .combined-header,
  .career-header,
  .challenges-header,
  .tools-header {
    text-align: left;
  }

  .numbers-header .numbers-text,
  .combined-header .combined-text,
  .gallery-text {
    text-align: left;
  }

  .training-item {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .training-item-right .training-item-image,
  .training-item-right .training-item-text {
    order: unset;
  }
}

@media screen and (max-width: 767px) {
  .recruit-workstyle-section {
    padding: 40px 20px 60px;
  }

  .recruit-workstyle-section .container {
    margin: 0 auto;
    padding: 0;
  }


  .gallery-title,
  .numbers-title,
  .benefits-title,
  .combined-title,
  .training-title,
  .career-title,
  .challenges-title,
  .tools-title {
    font-size: 24px;
    text-align: left;
  }

  .training-subtitle {
    padding-left: 0 !important;
    text-align: left;
  }

  .benefits-text ul {
    text-align: left !important;
  }

  .benefits-text ul li {
    text-align: left !important;
  }

  .numbers-header .numbers-text,
  .combined-header .combined-text,
  .gallery-text {
    text-align: left !important;
  }

  .tools-content-column .tool-icon {
    width: 60px;
    height: 60px;
  }

  .tools-content-column .tools-icons-container {
    gap: 20px;
  }
}

