.biogoods,
.biography-box {
  overflow: hidden;
  display: flex;
}
.biogoods {
  position: relative;
  background-color: var(--color-gray-100);
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
}
.biography-box {
  cursor: pointer;
  border: 0;
  padding: var(--padding-01);
  /*background-color: var(--color-yellow);*/
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  aspect-ratio: 3/2 !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1;
  text-decoration: none;
}
.inside-biography {
  width: 18rem;
  height: 4.25rem;
  position: relative;
  font-size: var(--fs-60);
  line-height: 145%;
  font-weight: 500;
  font-family: var(--font-inter);
  color: var(--color-black);
  text-align: right;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
#forIndex {
  font-weight: 600;
}
.goods-box,
.inside-biography,
.inside-biography2 {
  display: flex;
  justify-content: flex-end;
}
.goods-box {
  cursor: pointer;
  border: 0;
  padding: var(--padding-01);
  /*background-color: var(--color-royalblue);*/
  background-image: url(./public/goods.jpg);
  flex: 1;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-end;
  aspect-ratio: 3/2 !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1;
  text-decoration: none;
}
.biography-box::before,
.goods-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition: transform 0.5s ease, filter 0.5s ease;
  z-index: -1;
}
.biography-box::before {
  background-image: url(./public/biography.jpg);
}
.goods-box::before {
  background-image: url(./public/goods.jpg);
}
.biography-box:hover::before,
.goods-box:hover::before {
  transform: scale(1.1);
  filter: brightness(0.7);
}
.inside-biography2 {
  width: 16.875rem;
  height: 2.875rem;
  position: relative;
  font-size: var(--fs-60);
  line-height: 145%;
  font-weight: 500;
  font-family: var(--font-inter);
  color: var(--color-black);
  text-align: right;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

@media screen and (max-width: 960px) {
  .inside-biography,
  .inside-biography2 {
    font-size: var(--fs-48);
    line-height: var(--lh-100);
    height: 3.375rem;
  }
  .inside-biography2 {
    height: 2.188rem;
  }
}
@media screen and (max-width: 799px) {
  .biogoods {
    flex-direction: column;
  }
  .biography-box,
  .goods-box {
    flex: unset;
    align-self: stretch;
  }
}
