.lyt-img-01 img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-width: 100%;
}

.p-mainvisual {
  background: #f1f0f2;
}

.p-mainvisual__container {
  display: grid;
  grid-template-columns: 1fr 50%;
  align-items: center;
  justify-content: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.p-mainvisual__body {
  max-width: 585px;
  margin-left: auto;
  width: 100%;
  padding: 20px 30px;
}

.p-mainvisual__title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.8461538462;
  margin-bottom: 25px;
}

.p-mainvisual__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.p-mainvisual__tags-item {
  font-size: 11px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  line-height: 1.2;
  border-radius: 24px;
  min-height: 24px;
  background: #333;
  color: #fff;
  padding-top: 1px;
}

.p-mainvisual__tags-item[data-label=生産技術開発] {
  background-color: #4a537d;
}

.p-mainvisual__tags-item[data-label=研究・開発] {
  background-color: #08107b;
}

.p-mainvisual__tags-item[data-label=品質保証・薬事] {
  background-color: #282828;
}

.p-mainvisual__tags-item[data-label=グローバル] {
  background-color: #2a52b1;
}

.p-mainvisual__tags-item[data-label=生産技術開発・サービス技術開発] {
  background-color: #4a537d;
}

.p-mainvisual__tags-item[data-label="セールス&マーケティング（サービス）"] {
  background-color: #3f467a;
}

.p-mainvisual__tags-item[data-label=コーポレート] {
  background-color: #4d4c6a;
}

.p-mainvisual__tags-item[data-label=IT] {
  background-color: #075a9f;
}

.p-mainvisual__tags-item[data-label=SCM・調達] {
  background-color: #004676;
}

.p-mainvisual__tags-item[data-label=プロジェクトマネジメント] {
  background-color: #1a3874;
}

.p-mainvisual__text {
  margin-bottom: 0;
  line-height: 2;
  color: #292929;
}

#message {
  padding-top: 60px;
}

.p-message-box {
  background: #f2f2f2;
  display: grid;
  grid-template-columns: 33.3969465649% 1fr;
  padding: 32px;
  gap: 36px;
}

.p-message-box__thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.p-message-box__body {
  flex-grow: 1;
}

.p-message-box__body>*:last-child {
  margin-bottom: 0;
}

.p-message-box__title {
  font-size: 20px;
  font-weight: bold;
}

.p-message-box__title::after {
  content: "〜 Message 〜";
  margin-left: 10px;
  color: #777;
  font-size: 80%;
}

.p-relationship {
  width: 94vw;
  margin-left: calc(50% - 47vw);
  margin-bottom: 100px;
  padding-bottom: 82px;
  position: relative;
}

.p-relationship * {
  min-height: 0;
  min-width: 0;
}

.p-relationship__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.p-relationship__arrow {
  font-weight: inherit;
  background: rgba(0,0,0,0);
  border: none;
  font-size: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
  display: inline;
  text-shadow: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  font-family: inherit;
  width: 100%;
  cursor: pointer;
  line-height: inherit;
  text-align: inherit;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
  border-top: 4px solid #08107b;
  z-index: 10;
}

.p-relationship__arrow.is-prev {
  border-left: 4px solid #08107b;
  rotate: -45deg;
}

.p-relationship__arrow.is-next {
  border-right: 4px solid #08107b;
  rotate: 45deg;
}

.p-relationship__main {
  flex-grow: 1;
  max-width: 1110px;
  overflow: hidden;
}

.p-relationship__slider {
  margin-inline: -20px;
}

.p-relationship__slider>.p-relationship__item:not(:first-child) {
  display: none;
}

.p-relationship__item {
  width: calc(50% - 40px);
  margin: 0 20px;
}

.p-relationship__pagination {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.p-relationship__bullets {
  display: flex;
  justify-content: center;
  margin: 0;
}

.p-relationship__bullets>li:only-child {
  display: none;
}

.p-relationship__bullet {
  font-weight: inherit;
  background: rgba(0,0,0,0);
  border: none;
  font-size: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
  display: inline;
  text-shadow: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  font-family: inherit;
  width: 100%;
  cursor: pointer;
  line-height: inherit;
  text-align: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  position: relative;
  z-index: 0;
  color: var(--p-relationship__bullet-text-color);
}

.p-relationship__bullet::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: var(--p-relationship__bullet-background-color);
}

.slick-active .p-relationship__bullet {
  --p-relationship__bullet-text-color: #fff;
  --p-relationship__bullet-background-color: #777777;
}

li:not(.slick-active) .p-relationship__bullet:hover {
  --p-relationship__bullet-background-color: #e8e8e8;
}

.p-lead-text {
  margin-top: 60px;
  margin-bottom: 60px;
  position: relative;
  padding: 0 73px;
}

.p-lead-text::before,
.p-lead-text::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 53px;
  height: 48px;
  background-size: cover;
  background-repeat: no-repeat;
}

.p-lead-text::before {
  left: 0;
  background-image: url(/recruit/our-stories/images/icon01.gif);
}

.p-lead-text::after {
  right: 0;
  background-image: url(/recruit/our-stories/images/icon02.gif);
}

@media screen and (max-width: 1023px) {
  .p-mainvisual {
    background: none;
  }

  .p-mainvisual__container {
    grid-template-columns: 100%;
    grid-auto-flow: dense;
  }

  .p-mainvisual__body {
    padding: 0 30px;
    margin-top: 25px;
    max-width: none;
    grid-row: 2;
  }
}

@media screen and (max-width: 768px) {
  .p-mainvisual__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .p-mainvisual__title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  #message {
    margin-top: 40px;
  }

  .p-message-box {
    padding: 20px;
    grid-template-columns: 100%;
    gap: 20px;
  }

  .p-relationship {
    width: 100%;
    margin-left: 0;
  }

  .p-relationship__arrow {
    position: absolute;
    top: min(30.66vw,126.5px);
    width: 28px;
    height: 28px;
  }

  .p-relationship__arrow.is-prev {
    left: 0;
    -webkit-transform-origin: left top;
    transform-origin: left top;
  }

  .p-relationship__arrow.is-next {
    right: 0;
    -webkit-transform-origin: right top;
    transform-origin: right top;
  }

  .p-relationship__item {
    width: 100%;
  }

  .p-lead-text {
    margin-top: 40px;
    padding: 0 37px;
  }

  .p-lead-text::before,
  .p-lead-text::after {
    width: 25px;
    height: 23px;
  }

  .p-lead-text::after {
    top: auto;
    bottom: 0;
  }
}