.banniere {
  background-image: url(../../image/banniere/banniereAccueil.jpg);
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  height: calc(100vw / 4);
  max-height: 282px;
  color: #f5f5f5;
}

.gp_service_container {
  background-image: linear-gradient(rgba(180, 30, 30, 0.6), rgba(180, 30, 30, 0.6)),
  url("../../image/bg_image/bpa.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #f5f5f5;
  padding: 20px;
  border-radius: 20px;
}

.gp_card_text {
  white-space: pre-line;
  padding-left: 1em;
  padding-right: 1em;
  max-height: 100px; 
  overflow-y: auto;
  /* For Firefox */ 
  scrollbar-width: thin; 
  scrollbar-color: rgba(0, 0, 0, 0.5) transparent; 
}

/* For Chrome Edge  */
.gp_card_text::-webkit-scrollbar {
  width: 6px; 
}

.gp_card_text::-webkit-scrollbar-track {
  background: transparent; 
}

.gp_card_text::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5); 
  border-radius: 10px; 
  border: 2px solid transparent; 
}

.gp_card_main {
  display: flex;
  flex-direction: column;
  width: 20vw;
  height: 20vw;
  min-height: 250px;
  margin: auto;
  overflow: hidden;
  background-image: linear-gradient(
      rgba(211, 211, 211, 0.85),
      rgba(211, 211, 211, 0.85)
    ),
    url("../../image/bg_image/pja.png");

  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: black;
}

.gp_card_img_main {
  width: 100%;
  height: 80%;
  object-fit: contain;
  object-position: top;
}

.star img {
  width: 2em;
  height: auto;
}

.gp_star_card {
  width: 1.5em;
  height: auto;
  margin-right: 0.2em;
}

@media (max-width: 768px) {
  .gp_card_main {
    width: 60vw;
    height: auto;
  }
}
