/* ===================================
    共通
=================================== */
.section__container {
  background: transparent;
}

.section__container:has(#sales) {
  z-index: 3;
}

.section__container:has(#engineering) {
  z-index: 2;
}

.section__container:has(#manufacturing) {
  z-index: 1;
}

/* ===================================
    MV
=================================== */
.mv {
  position: relative;
  z-index: 5;
  aspect-ratio: 2 / 1;
  background: url("../images/shigoto/imgMv.webp") no-repeat center/cover;
}

@media screen and (max-width: 750px) {
  .mv {
    aspect-ratio: 3 / 2;
    background: url("../images/shigoto/imgMvSp.webp") no-repeat center/cover;
  }
}

/* ===================================
    WORK
=================================== */
.work__item {
  display: flex;
  justify-content: space-between;
  gap: 7%;
  margin-top: 14rem;
}

#sales.work__item {
  margin-top: 7rem;
}

.work__item[data-work-list="reverse"] {
  flex-direction: row-reverse;
}

.work__item-stcky {
  width: 42.9%;
  height: fit-content;
  position: sticky;
  top: 4rem;
  left: 0;
}

.work__item-title {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

[data-color="main"] .work__item-title {
  color: var(--color-main);
}

[data-color="accent"] .work__item-title {
  color: var(--color-accent);
}

.work__item-title .en {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.09rem;
}

.work__item-title .ja {
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

.work__item-img {
  margin-top: 3.2rem;
}

.work__item-contents {
  width: 50%;
  padding-top: 8.8rem;
}

.work__item-contents h3 {
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.13rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
  position: relative;
}

[data-color="main"] .work__item-contents h3 {
  color: var(--color-main);
}

[data-color="accent"] .work__item-contents h3 {
  color: var(--color-accent);
}

.work__item-contents h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.4rem;
  height: 0.2rem;
}

[data-color="main"] .work__item-contents h3::after {
  background: var(--color-main);
}

[data-color="accent"] .work__item-contents h3::after {
  background: var(--color-accent);
}

.work__item-text {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.work__item-list {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.work__item-list dl {
  padding: 2.4rem;
  border-radius: 1.6rem;
  background: #FFF;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.work__item-list dt {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.17rem;
}

[data-color="main"] .work__item-list dt {
  color: var(--color-main);
}

[data-color="accent"] .work__item-list dt {
  color: var(--color-accent);
}

.work__item-list dd {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.work__item-list dd p {
  position: relative;
  padding-left: 2.2rem;
}

.work__item-list dd p::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0.2rem;
}

.work__people-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.work__people-item a {
  display: grid;
  grid-template-columns: 42.9% 1fr;
  gap: 5%;
}

.work__people-img {
  border-radius: 1.6rem;
  border: 2px solid var(--color-main);
  overflow: hidden;
}

.work__people-img img {
  transition: var(--transition-base);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work__people-item:hover .work__people-img img {
  transform: scale(1.1);
}

.work__people-contents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  transition: var(--transition-base);
}

[data-color="main"] .work__people-item:hover .work__people-contents {
  color: var(--color-main);
}

[data-color="accent"] .work__people-item:hover .work__people-contents {
  color: var(--color-accent);
}

.work__people-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.17rem;
}

[data-color="main"] .work__people-title {
  color: var(--color-main);
}

[data-color="accent"] .work__people-title {
  color: var(--color-accent);
}

.work__people-icon {
  width: 4rem;
  height: 3rem;
  border-radius: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-color="main"] .work__people-icon {
  background: var(--color-main);
}

[data-color="accent"] .work__people-icon {
  background: var(--color-accent);
}

.work__people-icon img {
  width: 1.6rem;
  height: auto;
}

.work__people-text--l {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.1rem;
}

.work__people-text--s {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.work__people-contents .common__btn {
  justify-content: start;
  margin-top: auto;
}

/* ホバー時のアニメーション */
.work__people-item:hover .common__btn .common__btn-icon {
  background: #FAF8F8;
}

.work__people-item:hover .common__btn .common__btn-icon svg {
  animation: slideOutIn 0.6s forwards;
}

.work__people-item:hover .common__btn[data-btn="entry"] .common__btn-icon svg {
  animation: slideOutInUpRight 0.6s forwards;
}

.work__people-item:hover .common__btn[data-btn="about-mv"] .common__btn-icon svg {
  animation: DownOutIn 0.6s forwards;
}

.work__people-item:hover .common__btn .common__btn-icon svg path {
  stroke: var(--color-main);
}

.work__people-item:hover .common__btn[data-color="accent"] .common__btn-icon svg path {
  stroke: var(--color-accent);
}

@media screen and (max-width: 750px) {
  .work__item {
    margin-top: 8rem;
    gap: 2.4rem;
    flex-direction: column;
  }

  #sales.work__item {
    margin-top: 6rem;
  }

  .work__item[data-work-list="reverse"] {
    flex-direction: column;
  }

  .work__item-stcky {
    width: 100%;
    position: inherit;
    top: inherit;
    left: inherit;
  }

  .work__item-title {
    gap: 0.8rem;
  }

  .work__item-title .en {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.08rem;
  }

  .work__item-title .ja {
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.48;
    letter-spacing: 0.16rem;
  }

  .work__item-contents {
    width: 100%;
    padding-top: 0;
  }

  .work__item-contents h3 {
    font-size: 2rem;
    letter-spacing: 0.1rem;
  }

  .work__item-list {
    margin-top: 2.4rem;
    gap: 2.4rem;
  }

  .work__item-list dl {
    gap: 0.8rem;
  }

  .work__item-list dt {
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .work__people-list {
    margin-top: 2.4rem;
    gap: 2.4rem;
  }

  .work__people-item a {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }

  .work__people-contents {
    gap: 0.8rem;
  }

  .work__people-contents .common__btn {
    margin-top: 0.8rem;
  }
}

/* ===================================
    研修制度
=================================== */
.training {
  margin: 14rem 0 7rem;
}

.training__title {
  color: var(--color-main);
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: 0.16rem;
}

.training__list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr) repeat(3, 0);
grid-template-rows: repeat(2, 1fr) repeat(3, 0);
  gap: 2rem;
}

.training__item {
  padding: 2.4rem;
  border-radius: 2rem;
  background: #FFF;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.training__item:nth-child(1) {
  grid-area: 1 / 1 / 2 / 2;
}

.training__item:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}

.training__item:nth-child(3) {
  grid-area: 2 / 1 / 3 / 3;
}

.training__item-title {
  color: var(--color-main);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.1rem;
}

.training__item-text {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.training__item ul li {
  position: relative;
  padding-left: 2.2rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.training__item ul li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0.2rem;
}

@media screen and (max-width: 750px) {
  .training {
    margin: 8rem 0 3rem;
  }

  .training__title {
    font-size: 2.6rem;
    line-height: 1.48;
    letter-spacing: 0.13rem;
  }

  .training__list {
    margin-top: 3.4rem;
    grid-template-columns: repeat(1, 1fr);
grid-template-rows: inherit;

    gap: 3.4rem;
  }

  .training__item:nth-child(1),
  .training__item:nth-child(2),
  .training__item:nth-child(3) {
    grid-area: auto;
  }
}

/* ===================================
    ホース調整
=================================== */
.hose__svg {
  max-width: 980px;
}

[data-hose="hose08"] .hose__svg {
  top: 6rem;
}

[data-hose="hose09"] .hose__svg {
  top: 12rem;
}

@media screen and (max-width: 750px) {
  [data-hose="hose09"] .hose__svg {
    top: -14rem;
  }
}