/* 下層ページメインビジュアル */
.technology_lead {
  color: #fff;
  margin-top: 2em;
}
@media screen and (max-width: 767px) {
  .page_mv--img img {
    object-position: right;
  }
}

/* 固有 */
.page_link--item a {
  padding: 1em 2em;
}

/* パンくずリスト */
.page_link {
  margin-bottom: -86px;
  @media screen and (max-width: 767px) {
    margin-bottom: -23px;
  }
}

@media screen and (max-width: 767px) {
  .more_btn {
    text-align: end;
  }
}

/* 吉野電化工業の強み */
.ydk_intro .page_heading {
  max-width: 1024px;
  margin-inline: auto;
  @media screen and (max-width: 767px) {
    width: 90%;
  }
}
.numcontent_list li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--space-55);
  gap: 20px 40px;
  position: relative;
  &::after {
    content: "";
    background: var(--gradient2-deg2);
    height: 50%;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    @media screen and (max-width: 767px) {
      height: 180px;
    }
  }
  &:last-child {
    padding-bottom: var(--space-55);
  }
  &:not(:last-child) {
    border-bottom: none;
  }
  &:nth-child(2n) {
    flex-direction: row-reverse;
    @media screen and (max-width: 767px) {
      flex-direction: column;
      padding: 0 5% 40px;
    }
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
    padding: 0 5% 40px;
    margin-bottom: 40px;
  }
}
.numcontent_list--title {
    &::before {
    white-space: nowrap;
  }
}
.ydk_listbox {
  max-width: 520px;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}

/* チームYDK */
.ydk_teamydk {
  background: url(../img/bg_01.webp) no-repeat center/cover;
  padding: var(--space-75) 0;
  color: #FFF;
}
.ydk_teamydk .page_heading {
  color: #FFF;
    &::after {
      content: "";
      background: #FFF;
  }
}
.ydk_teamydk--title {
  font-size: var(--font-24);
  margin: 1em 0;
}
.ydk_teamydk--img {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

/* 部署紹介 */
.ydk_department--list {
  position: relative;
  padding-bottom: var(--space-55);
  &::before {
    content: "";
    display: block;
    width: calc(100% - 512px);
    height: 417px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    @media screen and (max-width: 767px) {
      height: 300px;
      width: 80%;
    }
  }
  &::after {
    content: "";
    height: 80%;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -2;
  }
  &:not(:last-of-type) {
    margin-bottom: 40px;
  }
}
.ydk_department--top {
  max-width: 1024px;
  margin-inline: auto;
  padding: var(--space-55) 0;
  position: relative;
  z-index: 1;
  & > div {
    min-height: 306px;
    color: #FFF;
    max-width: 486px;
    background: linear-gradient(135deg, #28AEBB 0%, #006C77 100%);
    padding: var(--space-55);
    @media screen and (max-width: 767px) {
      padding: 20px 5%;
      min-height: auto;
    }
  }
  @media screen and (max-width: 767px) {
    width: 80%;
    margin-left: 0;
    padding: 60px 0;
  }
}
.ydk_department--bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  ul {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 20px;
    @media screen and (max-width: 767px) {
      gap: 10px;
      flex-wrap: wrap;
    }
    li {
      @media screen and (max-width: 767px) {
        width: calc(50% - 5px);
      }
    }
  }
}

.ydk_department--list {
  /* 部署ごと */
  &:nth-of-type(1) {
    &::before {
      background: url(../img/img03_1.webp) no-repeat center/cover;
    }
    &::after {
      background: var(--gradient2-deg2);
    }
    .ydk_department--top > div {
      background: linear-gradient(135deg, #28AEBB 0%, #006C77 100%);
    }
  }
  &:nth-of-type(2) {
    &::before {
      background: url(../img/img04_1.webp) no-repeat center/cover;
    }
    &::after {
      background: #FFF4E8;
    }
    .ydk_department--top > div {
      background: linear-gradient(135deg, #FF9E3A 0%, #C76500 100%);
    }
  }
  &:nth-of-type(3) {
    &::before {
      background: url(../img/img05_1.webp) no-repeat center/cover;
    }
    &::after {
      background: #FDF0F1;
    }
    .ydk_department--top > div {
      background: linear-gradient(135deg, #E06365 0%, #E47AAD 100%);
    }
    @media screen and (max-width: 767px) {
      &::before {
        background: url(../img/img05_1.webp) no-repeat center right -50px / cover;
      }
    }
  }
  &:nth-of-type(4) {
    &::before {
      background: url(../img/img06_1.webp) no-repeat center/cover;
    }
    &::after {
      background: #F5EEFB;
    }
    .ydk_department--top > div {
      background: linear-gradient(135deg, #AF80E0 0%, #6A33A4 100%);
    }
  }
  &:nth-of-type(5) {
    &::before {
      background: url(../img/img07_1.webp) no-repeat center/cover;
    }
    &::after {
      background: #E6EDF4;
    }
    .ydk_department--top > div {
      background: linear-gradient(135deg, #4C92DD 0%, #0052A9 100%);
    }
    @media screen and (max-width: 767px) {
      &::before {
        background: url(../img/img07_1.webp) no-repeat center right -50px / cover;
      }
    }
  }

  &:nth-of-type(2n) {
    &::before {
      right: auto;
      left: 0;
    }
    .ydk_department--top {
      @media screen and (max-width: 767px) {
        margin-right: 0;
        margin-left: auto;
      }
      & > div {
        margin-left: auto;
        @media screen and (max-width: 767px) {
        }
      }
    }
  }
}
.ydk_department--txt {
  font-size: var(--font-20);
}

/* 動画 */
.video_box {
  max-width: 850px;
  width: 100%;
  aspect-ratio: 850 / 478;
  position: relative;
}
.ydk_video {
  width: 100%;
  height: auto;
  aspect-ratio: 850 / 487;
}
.video_btn {
  display: none;
}
.video_btn[aria-pressed="false"] {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  &:hover {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
  }
}
.video_btn[aria-pressed="false"]:hover img {
  opacity: 0.8;
}
@media screen and (max-width: 767px) {
  .video_btn img {
    width: 65px;
    height: 65px;
  }
}