@charset "utf-8";
/* html font-size と body font-family は index.css（main.css経由）で定義済み */

/* ページ内リンク　ヘッダー固定のサイトで、同ページへのアンカーリンク位置がずれる問題の解決 */
h2#manufacturing,
h2#technology,
h2#plan {
  scroll-margin-top: 12.8rem; /* スクロール位置の調整 */
}

.container-fluid {
  box-shadow: 1px 1px 14px -4px rgba(0, 0, 0, 0.4);
}

/*=================================
　業務内容　CSS
===================================*/
.soap_left {
  animation: none;
}

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

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

.top-img {
  grid-column: 1 / -1;
}

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

@media (min-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }
}

}

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

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

.description-detail-wrap {
  grid-column: 2 / 3;
  display: grid;
  justify-items: center;
}

.description-detail-right-wrap {
  grid-column: 2 / 3;
  display: grid;
  justify-items: end;
}

.description-detail-left-wrap {
  grid-column: 2 / 3;
  display: grid;
  justify-items: start;
}

.section-content,
.employees-voices-description {
  grid-column: 2 / 3;
  margin-top: 6rem;
  text-align: left;
}

.three-business-detail {
  grid-column: 1 / -1;
  margin-top: 8rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr 1fr 1fr;
}

.text-overlap {
  display: grid;
  overflow: hidden;
}

.text-overlap a {
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  justify-items: center;
  align-items: center;
  z-index: 10;
}

.text-overlap a picture {
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}

.text-overlap a:hover {
  text-decoration: none;
}

.text-overlap img {
  object-fit: cover;
  width: 100%;
  height: 24rem;
  filter: brightness(50%);
}

.text-overlap img:hover {
  transform: scale(1.2);
  transition: all 0.5s;
}

.text-overlap h2 {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  color: var(--bg-offwhite);
  margin-bottom: 0;
  z-index: 20;
}

@media screen and (max-width: 595px) {
  .three-business-detail {
    grid-auto-flow: row;
  }

  .text-overlap img {
    height: 10rem;
  }
}

.page-hero-offset {
  object-position: 50% 60% !important;
}
/*=================================
　製造部のcss
===================================*/
.description-head-wrap {
  grid-column: 1 / -1;
  display: grid;
  background-color: #fff;
  padding-top: 6rem;
  text-align: center;
}

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

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);
}

h2.first-letter-big-heading:before {
  position: absolute;
  bottom: -32px;
  left: 0;
  width: 160px;
  height: 5px;
  content: "";
  border-radius: 3px;
  background: var(--accent-red);
}

.manufacturing-description,
.technology-description,
.plan-description {
  grid-column: 2 / 3;
  margin-top: 6rem;
  justify-items: center;
}

/* カードのcss */
.card {
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
}

.card-img-wrap-hidden {
  overflow: hidden;
}

.card-body {
  padding: 2.3rem;
}

@media screen and (max-width: 1305px) {
  .card-body {
    padding: 1.25rem;
  }
}

.card-wrap {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(368px, 1fr));
  justify-items: center;
  margin-top: 8rem;
  gap: 4.3rem;
}

@media screen and (max-width: 595px) {
  .card-wrap {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

.card-wrap img {
  height: 16rem;
  object-fit: cover;
}

.card-wrap img:hover {
  transform: scale(1.2);
  transition: all 0.5s;
}

@media screen and (max-width: 1305px) {
  /* fadeUp　下から 0.2秒後*/
  .delay-time08 {
    animation-delay: 0s;
  }

  /* fadeUp　下から 0.4秒後*/
  .delay-time16 {
    animation-delay: 0s;
  }

  /* fadeUp　下から 0.6秒後*/
  .delay-time24 {
    animation-delay: 0s;
  }
}

/*==========
  社員たちの声
============*/
h1.employees-voices {
  margin-top: 12rem;
}

ul.slider {
  grid-column: 2 / 3;
  margin: 4rem auto 0;
  padding: 0 1rem;
  display: grid;
  width: 94%;
}
.slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 100%;
  grid-column: 2 / 3;
  margin: 8rem auto 0;
  padding: 0 1rem;
}

.slider .card {
  box-shadow: none;
}

.slider img {
  width: 100%; /*スライダー内の画像を横幅100%に*/
  height: auto;
}

.avatar-text-name {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 1.6rem;
  border-bottom: 2px dotted;
}

.avatar-text-name img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 90px;
  border: 1px solid;
}

.text-name {
  display: flex;
  flex-direction: column;
}

.text-name h5,
.text-name h6 {
  margin-bottom: 0;
}

@media screen and (max-width: 991px) {
  .avatar-text-name {
    flex-direction: column;
    text-align: center;
  }

  .text-name {
    align-items: center;
  }

  .card-text {
    margin-top: 1rem;
  }
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
  margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute; /*絶対配置にする*/
  top: 42%;
  cursor: pointer; /*マウスカーソルを指マークに*/
  outline: none; /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666; /*矢印の色*/
  border-right: 2px solid #666; /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-list {
  margin-bottom: 2rem !important;
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  padding-left: 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px; /*ドットボタンのサイズ*/
  height: 8px; /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: var(--border-light); /*ドットボタンの色*/
  padding: 0;
  border: none;
}

.slick-dots .slick-active button {
  background: var(--text-black); /*ドットボタンの現在地表示の色*/
}

.mt-6 {
  margin-top: 3.5rem;
}

.mt-7 {
  margin-top: 4rem;
}

.mt-8 {
  margin-top: 4.5rem;
}

.mt-9 {
  margin-top: 5rem !important;
}
