@charset "utf-8";

html {
    scroll-behavior: smooth;
}

/* --------head-------- */

.products_head_section {
  width: 72rem;
  height: fit-content;
  margin: 11.9rem auto 0;
  font-family: var(--Inter);
  color: #262626;
}

.products_headline {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: .102rem;
}

.products_head_text {
  margin-top: 2rem;
  font-size: 2rem;
  line-height: 3.5rem;
  letter-spacing: 0.014em;
}

.products_buttons_wrapper {
  margin-top: 3.5rem;
  display: flex;
  gap: 2rem;
}

.products_button {
  width: 22.3rem;
  height: 3.6rem;
  border-radius: .6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 500;
  color: white;
  cursor: pointer;
}

.corporate_button {
  background-color: #003790;
}

.individual_button {
  background-color: #262626;
}


/* ---------For corporate_section-------- */

.article_section {
  width: 102rem;
  height: fit-content;
  margin: 6rem auto 0;
}

.products_section_headbox {
  display: flex;
  width: 100%;
  height: 16.7rem;
}

.products_headline_box {
  width: 51rem;
  height: 16.7rem;
  display: flex;
  align-items: center;
  padding-left: 6.4rem;
  background-color: #262626;
}

.corporate_headline_box {
  background-color: #003790;
}

.products_section_headline {
  font-size: 3.2rem;
  line-height: 1em;
  letter-spacing: .15rem;
  color: white;
}

.products_section_headphoto {
  width: 51rem;
  height: 100%;
  position: relative;
}
.products_section_headphoto::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
}
.product_color_blue::before {
  background-color: #003790;
}
.product_color_black::before {
  background-color: #262626;
}

/* ----For corporate articles---- */
.articles_wrapper {
  width: 78rem;
  margin: 5rem auto 0;
  display: grid;
  grid-template-columns: 35.5rem 35.5rem;
  column-gap: 7rem;
  row-gap: 7rem;
}

.article_wrapper {
  width: 35.5rem;
  /* height: 46.2rem; */
  border: .1rem solid #707070;
  border-radius: .6rem;
  padding-bottom: 1.5rem;
}

.article_image {
  width: 100%;
  height: 24rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.arti_no_img {
  width: 28rem;
}

.product_article_title {
  margin-top: 2.2rem;
  /* margin-left: 2rem; */
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1em;
  color: #003790;
  overflow-wrap: anywhere;
}

.product_article_text {
  margin-top: 1rem;
  /* margin-left: 2rem; */
  width: 30rem;
  height: 7.2rem;
  font-size: 1.6rem;
  display: -webkit-box;
  -webkit-box-orient: vertical; 
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.product_article_button {
  margin: 2.8rem auto 0;
  width: 12.7rem;
  height: 5rem;
  font-size: 1.6rem;
  border-radius: .8rem;
  background-color: #003790;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

.product_article_wrap{
  width: 31.5rem;
  margin: 0 auto;
}


/* --------For individual section-------- */

.products_section_headline{
  letter-spacing: .17rem;
}

.for_individual_section {
  margin-top: 10.6rem;
  margin-bottom: 15rem;
}

/* .for_individual_headbox {
  background-color: #262626;
} */



/* ----------Media Query---------- */

@media screen and (max-width:699.98px) {

  /* --------head-------- */

  .products_head_section {
    width: 34.5rem;
    margin: 10.8rem auto 0;
  }

  .products_headline {
    font-size: 2.4rem;
    line-height: 1em;
    letter-spacing: .058rem;
  }

  .products_head_text {
    margin-top: 1.2rem;
    font-size: 1.6rem;
    line-height: 3.2rem;
  }

  .products_buttons_wrapper {
    margin-top: 2.6rem;
    flex-direction: column;
  }


  /* ---------For corporate_section-------- */

  .article_section {
    width: 100%;
    height: fit-content;
  }

  .products_section_headbox {
    flex-direction: column;
    width: 100%;
    height: 24.9rem;
  }

  .products_headline_box {
    width: 100%;
    height: 8.9rem;
    padding-left: 1.5rem;
  }

  .products_section_headline {
    font-size: 2.4rem;
    letter-spacing: .077rem;
  }

  .products_section_headphoto {
    width: 100%;
    height: 16rem;
  }

  /* ----For corporate articles---- */
  .articles_wrapper {
    width: 34.5rem;
    margin: 4rem auto 0;
    grid-template-columns: 34.5rem;
    column-gap: 0;
    row-gap: 5rem;
  }

  .article_wrapper {
    width: 100%;
    /* height: 42.2rem; */
  }

  .article_image {
    width: 100%;
    height: 20rem;
  }


  /* --------For individual section-------- */

  .for_individual_section {
    margin-top: 10rem;
  }

}