@charset "UTF-8";
/* ========================================
  @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px), print {
#case-reform .system-category {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 1.25rem;
}

#case-reform .system-category span {
  background: #32190e;
  border-radius: 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4285714286;
  padding: 4px 27px;
  width: -moz-fit-content;
  width: fit-content;
}

#case-reform .system-area {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5555555556;
  margin-bottom: 0.9375rem;
  text-decoration: underline;
}

#case-reform .cate-list span a {
  background: #32190e;
  border-radius: 15px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
  padding: 4px 27px;
  width: -moz-fit-content;
  width: fit-content;
}

.case-reform-container {
  margin-bottom: 4rem;
}

.case-reform-ttl {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 2;
  margin-bottom: 4rem;
  text-align: center;
}

.case-reform-lists {
  display: grid;
  gap: 2.5rem 0;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.case-reform-list {
  display: grid;
  gap: 2.5rem 4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-reform-img {
  aspect-ratio: 2/1;
}

.case-reform-img.before {
  position: relative;
}

.case-reform-img.before::after {
  content: "→";
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 2;
  position: absolute;
  right: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.case-reform-img img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

#case-reform .num-bx {
  display: flex;
  gap: 0 16px;
  justify-content: center;
  margin-bottom: 2rem;
}

}

/* ========================================
@media screen and (min-width:768px) and ( max-width:900px) {
======================================== */
@media screen and (min-width:768px) and ( max-width:900px) {
#case-reform .system-category span {
  font-size: 12px;
}

#case-reform .system-category.single span {
  font-size: 15px;
}
}

/* ========================================
  @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {
#case-reform .system-category {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.208vw;
  margin-bottom: 2.415vw;
}

#case-reform .system-category span {
  background: #32190e;
  border-radius: 3.623vw;
  color: #ffffff;
  font-size: 2.899vw;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4166666667;
  padding: 0.966vw 2.899vw;
  width: -moz-fit-content;
  width: fit-content;
}

#case-reform .system-area {
  font-size: 3.865vw;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.75;
  margin-bottom: 1.623vw;
  text-decoration: underline;
}

#case-reform .cate-list span a {
  background: #32190e;
  border-radius: 3.623vw;
  color: #ffffff;
  font-size: 2.899vw;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4166666667;
  padding: 0.966vw 2.899vw;
  width: -moz-fit-content;
  width: fit-content;
}

.case-reform-container {
  margin-bottom: 9.662vw;
}

.case-reform-ttl {
  font-size: 3.865vw;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 2;
  margin-bottom: 5.797vw;
  text-align: center;
}

.case-reform-lists {
  display: grid;
  gap: 5.797vw 0;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.case-reform-list {
  display: grid;
  gap: 7.729vw 3.865vw;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-reform-img {
  aspect-ratio: 2/1;
}

.case-reform-img.before {
  position: relative;
}

.case-reform-img.before::after {
  content: "→";
  font-size: 2.899vw;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 2;
  position: absolute;
  right: -3.623vw;
  top: 50%;
  transform: translateY(-50%);
}

.case-reform-img img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

#case-reform .num-bx {
  display: flex;
  gap: 0 5vw;
  justify-content: center;
  margin-bottom: 2rem;
}

}