@charset "utf-8";
.cont_img {
  background-image: url("../images/cont_img.jpg");
}
.cont_img h1 {
  background-image: url(../images/title.png);
}
#cases h2 {
  background: url("../images/h2.png") no-repeat center center;
}

#cases .flexbox {
    justify-content: flex-start;
}

#cases .box {
  border: 2px solid #224169;
  width: 280px;
  margin: 10px;
}

#cases .box img{
  width: 100%;
    height: auto;
}

#cases .box .images{
}

#cases .detail {
  padding: 20px 40px;
  border-top: 2px solid #224169;
  overflow: hidden;
}
#cases .date {
  text-align: center;
}
#cases .brand {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  padding-bottom: 20px;
}
#cases .rank {
  font-weight: bold;
  position: relative;
  float: left;
  font-size: 25px;
  margin-left: 30px;
}
#cases .rank::before {
  content: "RANK";
  position: absolute;
  font-size: 15px;
  top: -15px;
  left: -12px;
  font-weight: 500;
}
#cases .price {
  font-size: 25px;
  color: #ff3f3f;
  font-weight: bold;
  float: left;
  margin-left: 30px;
}

@media only screen and (max-width: 768px) {
.cont_img {
  background-image: url("../images/cont_img_sp.jpg");
}
.cont_img h1 {
  background-image: url(../images/title_sp.png);
  background-size: 100%;
}
#cases h2 {
  background: url("../images/h2_sp.png") no-repeat center center;
  background-size: 100%;
}
#cases .box {
  width: 100%;
}
#cases .date {
  font-size: 4vw;
}
#cases .brand {
  font-size: 5vw;
  padding-bottom: 10%;
}
#cases .price {
  font-size: 6vw;
  float: none;
  margin-left: 0;
  text-align: center;
}
#cases .rank {
  font-size: 6vw;
  float: none;
  text-align: center;
  margin-left: 0;
}
#cases .rank::before {
  font-size: 4vw;
  top: -40%;
  left: 42%;
}
}
