@charset "UTF-8";
/* 本田精密工業株式会社 TOPスタイル */



/* イメージ ------------------------------------------*/
.swiper {
  width: 100%;
  aspect-ratio: 1920 / 840;
  margin-bottom: 5px;
}

/* ページネーションのスタイルを調整 */
.swiper-pagination {
  position: relative !important;
  bottom: 0 !important;
}

/* キャッチコピー */
.top_catch {
  color: var(--blue);
  text-align: center;
  font-weight: 500;
  font-size: 35px;
  letter-spacing: 0.1em;
  line-height: 45px;
  margin-top: 50px;
  padding: 0 5.33vw;
}
.swiper-pagination + .top_catch {
  margin-top: 30px;
}
/* 説明文 */
.top_text_body {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 28px;
  margin: 20px 0 35px;
  padding: 0 5.33vw;
}
@media screen and (max-width:767px) {
  .top_catch {
    font-size: 25px;
    letter-spacing: 0.1em;
    line-height: 33px;
    margin-top: 45px;
  }
  .swiper-pagination + .top_catch {
    margin-top: 20px;
  }
  /* 説明文 */
  .top_text_body {
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 25px;
    margin: 12px 0 25px;
  }
}
@media screen and (max-width:610px) {
  .top_text_body {
    text-align: left;
  }
  .top_text_body br {
    display: none;
  }
}


/* 製品案内・設備情報 --------------------------------*/
/* 背景画像 */
.top_product_wrapper {
  background: url(../images/product_bg_metal.jpg) top center repeat-y;
}
@media screen and (min-width:1920px) {
  /* 背景画像 */
  .top_product_wrapper {
    background-size: 100%;
  }
}
/* 文字と写真横並び*/
.top_row_fx {
  display: flex;
  flex-direction: row-reverse;
  background: var(--gray_f0);
  height: 408px;
}
  /* 文字と写真横並び 逆順 */
  .top_row_fx.reverse {
    flex-direction: row;
    background: none;
    height: auto;
  }
/* 文字部分 */
.row_textbox {
  width: 43%;
  text-align: center;
  background: url(../images/triangle_reflect.svg) top right/70% no-repeat;
  padding: 85px calc(48% - 505px) 0 0;
}
  /* 文字部分 左右反転 */
  .reverse .row_textbox {
    width: 100%;
    background: url(../images/triangle.svg) top left/30% no-repeat;
    padding: 60px 0 0;
  }
/* 画像部分 */
.row_image {
  width: 57%;
}
  /* 画像部分 左右反転 */
  .reverse .row_image {
    padding: 15px 4vw 0 0;
  }
/* 項目名 */
.row_name {
  font-weight: 400;
  font-size: 35px;
  letter-spacing: 0.1em;
}
/* 英字 */
.row_english {
  color: var(--gray_9d);
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-top: 15px;
}
/* 説明文 */
.row_text_body {
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 0.05em;
  margin-top: 25px;
}

/* 画像のトリミング */
.row_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
  /* 左右反転 */
  .reverse .row_image img {
    object-fit: contain;
    object-position: left center;
  }
@media screen and (max-width:767px) {
  /* 文字と写真横並び*/
  .top_row_fx {
    display: block;
    height: initial;
  }
  /* 文字部分 */
  .row_textbox {
    width: initial;
    background: url(../images/triangle_reflect.svg) top right no-repeat;
    background-size: min(70%, 400px);
    padding: 50px 0 25px;
  }
  /* 左右反転 */
  .reverse .row_textbox {
    background: url(../images/triangle.svg) top left no-repeat;
    background-size: min(70%, 400px);
    padding: 50px 0 0;
    }
  /* 画像部分 */
  .row_image {
    width: initial;
  }
  /* 画像部分 左右反転 */
  .reverse .row_image {
    padding: 15px 4vw;
  }

  /* 項目名 */
  .row_name {
    font-size: 25px;
    letter-spacing: 0.1em;
  }
  .row_english {
    margin-top: 13px;
  }
  /* 説明文 */
  .row_text_body {
    font-size: 13px;
    line-height: 25px;
    letter-spacing: 0.05em;
    margin-top: 24px;
  }
  .row_text_body + .row_button {
    margin: 25px auto 8px;
  }
}

/* 製品一覧背景 */
.top_product {
  /* background: url(../images/product_bg_metal.jpg) top center/cover; */
  padding: 0 5.33vw;
}
/* 製品一覧 */
.product_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0 50px;
}

/* 製品一覧文字 */
.product_list li a {
  color: var(--black);
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  transition: all .3s;
}
/* 製品一覧画像の箱 */
.hover_blue_text {
  display: block;
  width: 340px;
  margin-bottom: 5px;
  position: relative;
}
/* 青く */
.hover_blue_text::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 129, 204, .6);
  opacity: 0;
  transition: .3s ease;
  z-index: 1;
}
/* 白文字 */
.hover_blue_text::after {
  position: absolute;
  content: "More";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 500;
  font-size: 22px;
  opacity: 0;
  transition: .3s ease;
  z-index: 2;
}
/* hoverで表示 */
a:hover .hover_blue_text::before,
a:hover .hover_blue_text::after {
  opacity: 1;
}
  

@media screen and (max-width: 1210px) {
  /* 製品一覧 */
  .product_list {
    max-width: 700px;
  }
}
@media screen and (max-width: 810px) {
  /* 製品一覧 */
  .product_list {
    gap: 15px;
    max-width: 615px;
    padding: 25px 0 35px;
  }

  /* 製品一覧文字 */
  .product_list li a {
    font-size: 13px;
  }
  /* 製品一覧画像 */
  .hover_blue_text {
    max-width: 300px;
    width: 100%;
    margin-bottom: 3px;
  }
}
@media screen and (max-width: 767px) {
}
@media screen and (max-width: 710px) {
  /* 製品一覧 */
  .product_list {
    max-width: 300px;
  }
}

/* 新着情報 ------------------------------------------*/
section:has(.news) {
  background: var(--gray_f0);
}

/* 四角 */
.news {
  display: flex;
  background: var(--gray_f0);
  max-width: 960px;
  margin: 60px auto 30px;
}
/* 名前の箱 */
.news_title_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-width: 280px;
  padding: 20px;
}
/* 名前 */
.news_title {
  font-weight: 400;
  font-size: 35px;
  letter-spacing: 0.1em;
}
/* 英字 */
.news_title_eng {
  color: var(--gray_9d);
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-top: 15px;
}

/* 一覧の箱 */
.news_newslist {
  width: 100%;
  padding: 18px 36px 18px 0;
}
/* アキと罫線 */
.news_newslist li {
  border-bottom: 1px dashed var(--gray_9d);
  padding: 1em 0;
}
.news_newslist li:last-child {
  border-bottom: none;
}
/* 文章の並び方 */
.news_newslist a {
  display: flex;
  align-items: center;
  gap: 1em;
  transition: all .3s;
}
.news_newslist a:hover {
  opacity: 0.6;
}
/* 日付 */
.news_date {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}
/* 種類 */
.news_kind {
  background-color: var(--skyblue);
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.05em;
  width: 60px;
  padding: 3px 0 4px;
}
/* 内容 */
.news_content {
  font-size: 14px;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  .news {
    display: block;
    max-width: 400px;
    margin: 55px auto 30px;
  }
  .news_title_box {
    display: block;
    padding: 45px 0 25px;
  }
  /* 一覧の箱 */
  .news_newslist {
    padding: 0 25px 15px;
  }
  /* 文章の並び方 */
  .news_newslist a {
    flex-wrap: wrap;
    gap: 0.7em 1em;
  }
  .news_content {
    width: calc(100% - 25px);
  }
}
