@charset "UTF-8";

/*****************************
詳細共用
*****************************/
.singlehead {
  margin-bottom: 3rem;
}
.singlehead .date {
  background: #0B1E46;
  color: #fff;
  padding: 0 1rem;
  text-align: center;
  width: 110px;
}
.singlehead .ttl {
  border-bottom: 2px solid #ccc;
  font-size: 2.4rem;
  font-weight: 500;
  position: relative;
}
.singlehead .ttl::before {
  content: "";
  background: #0B1E46;
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 20%;
}
.singlehead .ttl::first-letter {
  color: #0B1E46;
}
.singlecontent {
  margin: 4rem 0;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .singlehead .ttl {
    font-size: 1.8rem;
  }
  .singlecontent {
    margin: 3rem 0;
  }
}

/*****************************
事例紹介 詳細
*****************************/
.befoafbox {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 5rem;
}
.befoafbox:after {
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid #0B1E46;
  border-right: 0;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.befoafbox > div {
  width: 45%;
}
.befoafbox a {
  aspect-ratio: 2/1.5;
  display: block;
  position: relative;
}
.befoafbox a::before {
  content: '\f00e';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 1rem;
}
.befoafbox img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.befoafbox .txt {
  display: inline-block;
  font-size: 2rem;
  font-weight: 600;
  padding: .5rem 1rem;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-align: center;
  width: 200px;
}
.befoafbox .before .txt {
  background: #f5f5f5;
}
.befoafbox .after .txt {
  background: #0B1E46;
  color: #fff;
}
.caseslider {
  margin-bottom: 8rem;
}
.caseslider .slick-prev,
.caseslider .slick-next {
  top: initial;
  left: unset;
  transform: initial;
  bottom: 0;
  z-index: 1;
}
.caseslider .slick-prev {
  right: 100px;
}
.caseslider .slick-next {
  right: 30px;
}
.caseslider .slick-prev:before,
.caseslider .slick-next:before {
  font-size: 5rem;
  opacity: 1;
  color: #0B1E46;
}
.caseslider .slick-dots {
  bottom: -10px;
}
.caseslider .slick-dots li button:before {
  font-size: 1.6rem;
}
.caseslider .slick-dots li.slick-active button:before {
  font-size: 1.5rem;
  opacity: 1;
}
/* .casesgallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 5rem;
}
.casesgallery li {
  aspect-ratio: 2/1;
  width: calc(100% / 5 - .8rem);
}
.casesgallery li img {
  object-fit: cover;
  height: 100%;
  width: 100%;
} */
.commentbox {
  background: #f5f5f5;
  padding: 2rem;
}
@media screen and (max-width: 767px) {
  .befoafbox {
    flex-wrap: wrap;
    margin-bottom: 3rem;
  }
  .befoafbox > div {
    width: 100%;
  }
  .befoafbox > div.before {
    margin-bottom: 5rem;
  }
  .befoafbox a {
    aspect-ratio: 2/1;
  }
  .befoafbox .txt {
    font-size: 1.6rem;
    width: 150px;
  }
  .befoafbox:after {
    border-top: 20px solid #0B1E46;
    border-bottom: 0;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
  }
  .caseslider .slick-prev:before,
  .caseslider .slick-next:before {
    font-size: 4rem;
  }
  .caseslider .slick-prev {
    right: 90px;
  }
  /* .casesgallery li {
    aspect-ratio: 2/1.5;
    width: calc(100% / 4 - .8rem);
  }
  .casesgallery {
    margin-bottom: 3rem;
  } */
  .commentbox {
    padding: 1rem;
  }
}