@charset "utf-8";

.cmn_section:has(.int_list) {max-width: 1024px;}
.int_list {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  @media screen and (max-width: 767px) {
    flex-wrap: initial;
    flex-direction: column;
  }
}
.int_list--item {
  width: calc(50% - 12px);
  max-width: 500px;
  &:has(img[width="1024"]) {
    width: 100%;
    max-width: initial;
    .int_txt {width: 95%;}
  }
  a {
    position: relative;
    display: block;
    transition: all 0.5s ease;
  }
  figure {
    overflow: hidden;
    height: auto;
    border-radius: 10px;
  }
  a:hover img {
    opacity: 1;
    transform: scale(1.06, 1.06);
    transition: 0.5s all;
  }
  @media screen and (max-width: 767px) {
    width: 100%;
    &:has(img[width="1024"]) {
      aspect-ratio: 415 / 289;
      a, figure, img {height: 100%;}
      img {object-fit: cover;}

      .int_txt {width: 90%;}
    }
  }
}
.int_txt {
  position: absolute;
  width: 90%;
  right: 0;
  bottom: 32px;
  left: 0;
  margin: auto;
  color: #fff;
  @media screen and (max-width: 767px) {
    bottom: 5%;
  }
}
.int_txt--main {
  font-size: var(--font-24);
  letter-spacing: var(--letter-40);
  font-weight: 700;
  @media screen and (max-width: 767px) {
    font-size: min(2.4rem, 4.2vw);
  }
}