@charset "UTF-8";
/* いしのなかにいる */
.sp_none {
  display: inherit;
}
@media only screen and (max-width: 959px) {
  .sp_none {
    display: none;
  }
}

.pc_none {
  display: none;
}
@media only screen and (max-width: 959px) {
  .pc_none {
    display: inherit;
  }
}

.works_cats_list {
  margin: 0;
  padding: 0;
  gap: 40px;
  display: flex;
  flex-direction: column;
  list-style-type: none;
}
.works_cats_list li {
  margin: 0;
  position: 0;
}
.works_cats_list li a {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 10px;
  position: relative;
  color: #333333;
  transition: 0.3s all;
  border: 20px solid #ffffff;
}
.works_cats_list li a:hover, .works_cats_list li a:active {
  background: var(--btn-hover-color);
}
.works_cats_list li a ._desc {
  display: flex;
  flex-direction: column;
  padding: 0 60px;
}
.works_cats_list li a ._desc ._title {
  padding-top: 1em;
}
.works_cats_list li a ._desc ._title h2 {
  margin-left: -100px;
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0 1ex;
  margin-bottom: 1ex;
  background: #333333;
  color: #ffffff;
  width: fit-content;
  line-height: 1.6;
}
.works_cats_list li a ._desc ._title h2 span {
  color: #a7da30;
}
.works_cats_list li a ._desc ._title h2::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 220px;
  height: 3px;
}
.works_cats_list li a ._desc ._btn {
  width: fit-content;
}
.works_cats_list li a ._img {
  min-width: 54%;
  max-width: 54%;
  align-self: stretch;
  overflow: hidden;
}
.works_cats_list li a ._img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== レスポンシブ ===== */
@media only screen and (min-width: 960px) and (max-width: 1279px) {
  .works_cats_list li a ._desc ._title h2 {
    font-size: 30px;
    margin-left: -60px;
  }
}
@media only screen and (max-width: 959px) {
  .works_cats_list {
    gap: 30px;
  }
  .works_cats_list li a ._desc {
    padding: 0 24px;
  }
  .works_cats_list li a ._desc ._title {
    padding-top: 0.5em;
  }
  .works_cats_list li a ._desc ._title h2 {
    font-size: 26px;
    margin-left: -40px;
  }
}
@media only screen and (max-width: 767px) {
  .works_cats_list {
    gap: 20px;
  }
  .works_cats_list li a {
    flex-direction: column;
    border-width: 12px;
  }
  .works_cats_list li a ._desc {
    padding: 0;
  }
  .works_cats_list li a ._desc ._title h2 {
    font-size: 20px;
    margin-left: 0;
  }
  .works_cats_list li a ._img {
    min-width: 100%;
    max-width: 100%;
    margin-top: 1em;
    overflow: visible;
  }
  .works_cats_list li a ._img img {
    height: auto;
    object-fit: initial;
  }
}
/* ===== 公開前チェック（2026-11）の見た目の指摘対応 ===== */
.works_cats_list li a ._desc ._content p {
  text-wrap: pretty;
}

/*# sourceMappingURL=works.css.map */
