@charset "utf-8";
/*=================================
　製造部　油圧潤滑装置部品組立　CSS
===================================*/
@media (min-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }
}

}

@media (max-width: 767px) {
  h1 {
    font-size: 1.8rem;
  }
}

.soap_left {
  animation: none;
}

.page-hero {
  grid-column: 1 / -1;
}

.page-hero img {
  object-fit: cover;
  width: 100%;
  height: 16rem;
  object-position: 50% 50%;
}

.d-flex-gap64 {
  gap: 64px;
  align-items: center;
}

/*========= 背景動画設定のCSS ===============*/
/*background-img*/
.background-img {
  grid-column: 1 / -1;
  position: relative; /*h1の中央寄せ配置の起点とするためのrelative*/
  height: 78vh; /*高さを全画面にあわせる*/
}

#img-area {
  position: fixed;
  z-index: -1; /*最背面に設定*/
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

#img {
  /*天地中央配置*/
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*縦横幅指定*/
  width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
  height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
}

.background-img .h1-position,
.background-img h2 {
  /*要素の配置*/
  position: absolute;
  /*見た目の調整*/
  color: #fff;
  text-shadow: 0 0 15px #666;
  text-align: center;
}

.background-img .h1-position {
  /*要素を天地中央寄せ*/
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

@media screen and (max-width: 991px) {
  .background-img h2 {
    display: none;
  }
}

/*========= 油圧潤滑装置部品組立の説明 ========= */
.description-head-wrap {
  grid-column: 1 / -1;
  display: grid;
  background-color: #fff;
  padding-top: 6rem;
  text-align: center;
}

.hindrance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 240px);
  justify-content: center;
}

@media screen and (max-width: 440px) {
  .d-flex-column {
    flex-direction: column;
  }
}

/*========= h1・h2見出しデザイン ========= */
.background-img h1 {
  margin: 1rem 0 6rem 0;
  position: relative;
  padding: 1.5rem;
  text-align: center;
  /*見た目の調整*/
  color: #fff;
  text-shadow: 0 0 15px #666;
}

.background-img .background-img .description-head-wrap h2 {
  color: rgb(33, 37, 41);
  text-shadow: none;
}
/*===== h1・h2見出しデザイン ここまで ===== */

.description-wrap {
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  display: grid;
  background-color: #fff;
  padding-top: 6rem;
}

.character-direction-right {
  text-align: right;
}

.character-direction-left {
  text-align: left;
}

.character-direction-left .description-detail-wrap img {
  grid-column: 2;
}

.character-direction-left .description-detail-wrap div {
  grid-column: 1;
}

@media screen and (max-width: 440px) {
  .background-img h1,
  h2 {
    padding: 0 0 1.5rem 0;
  }

  .hydraulic-description-wrap {
    padding: 8rem 0;
  }
}

.description-detail-wrap {
  grid-column: 2 / 3;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-items: center;
  gap: 3rem;
}

.heading-text {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.character-direction-right .heading-text {
  padding-right: 3rem;
  border-right: 3px solid var(--brand-blue);
}

.character-direction-left .heading-text {
  padding-left: 3rem;
  border-left: 3px solid var(--brand-blue);
}

.heading-text h3,
.heading-text p {
  color: var(--brand-blue);
}

.h2-style-b {
  color: var(--brand-blue);
}

@media screen and (max-width: 1200px) {
  .description-detail-wrap {
    grid-auto-flow: row;
  }

  .character-direction-left .description-detail-wrap img {
    grid-column: 1;
  }

  .character-direction-left .description-detail-wrap div {
    grid-column: 1;
  }

  .character-direction-right,
  .character-direction-left {
    text-align: center;
  }

  .character-direction-right .heading-text {
    padding-right: 0;
    border-right: none;
  }

  .character-direction-left .heading-text {
    padding-left: 0;
    border-left: none;
  }

  .order-last {
    order: 1;
  }
}

.description-detail-wrap picture {
  display: grid;
  justify-items: center;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}

.description-detail-wrap img {
  max-width: 100%;
  object-fit: cover;
  width: 480px;
}

.bussiness-img img {
  width: 480px;
  height: 270px;
}

.box-010 {
  position: relative;
  margin: 1.5em auto;
  padding: 3.5em 2.5em 2.5em;
  box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
  background-color: #e0efff;
  color: #333333;
}

.box-010 span {
  position: absolute;
  top: -15px;
  transform: translateX(-0.3em) rotate(-5deg);
  padding: 0.5em 2em;
  border-right: 2px dotted rgb(0 0 0 / 10%);
  border-left: 2px dotted rgb(0 0 0 / 10%);
  box-shadow: 0 0 5px rgb(0 0 0 / 20%);
  background-color: rgb(255 255 255 / 40%);
  font-weight: 600;
}

.box-010 p {
  margin: 0;
}

@media screen and (max-width: 991px) {
  .background-video h2 {
    display: none;
  }
}

h2.heading-var2 {
  position: relative;
  text-align: center;
  margin-bottom: 6rem;
}

h2.heading-var2:before {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 60px;
  height: 5px;
  content: "";
  border-radius: 3px;
  background: var(--accent-red);
}
