@charset "UTF-8";

/*****************************
case-archive-sec
*****************************/
.catbox {
  margin-bottom: 5rem;
}
.catbox ul {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.catbox a {
  background: #EAEAEA;
  box-shadow: 2px 2px #181818;
  display: block;
  font-size: 2rem;
  padding: 1rem 3rem;
}

.casebox .befoaf {
  background: #f5f5f5;
  padding: 2rem;
  position: relative;
}
.casebox .befoaf::before {
  aspect-ratio: 1/1;
  content: "\f101";
  color: #C3AC80;
  display: flex;
  align-items: center;
  justify-content: center;
  font: var(--fa-font-solid);
  font-size: 2rem;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  z-index: 1;
}
.casebox .befoaf .fimgbox.before .imgbox {
  position: relative;
}
.casebox .befoaf .fimgbox.before .imgbox::before {
  aspect-ratio: 1/1;
  background: #181818;
  content: "\f00e";
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: var(--fa-font-solid);
  font-size: 2rem;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  z-index: 1;
}
.casebox .befoaf .fimgbox .txt1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  padding: 1rem 0;
}
.casebox .befoaf .fimgbox.before .txt1 {
  background: #fff;
  border: 1px solid #181818;
}
.casebox .befoaf .fimgbox.after .txt1 {
  background: #C3AC80;
  color: #fff;
}
.casebox .befoaf .fimgbox.before .imgbox {
  aspect-ratio: 2/1;
}
.casebox .befoaf .fimgbox.before img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.casebox li:not(:last-child) {
  margin-bottom: 5rem;
}
.casebox li .ttlbox h2 {
  border-bottom: 2px solid #ccc;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.casebox li .ttlbox h2::after {
  background: #C3AC80;
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 20%;
}
.casebox li .ftxtbox dt,
.casebox li .ftxtbox dd {
  padding: 1rem 2rem;
  width: 100%;
}
.casebox li .ftxtbox dt {
  background: #f5f5f5;
}
.casebox li .ftxtbox dd {
  border-bottom: 1px solid #181818;
}
/* サムネイルスライダー設定 */
.maincarousel {
  margin-bottom: 1rem;
}
.maincarousel .splide__slide::before {
  aspect-ratio: 1 / 1;
  background: #C3AC80;
  content: "\f00e";
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: var(--fa-font-solid);
  font-size: 2rem;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
}
.maincarousel .splide__slide a {
  aspect-ratio: 2/1;
  display: block;
}
.maincarousel .splide__slide a:hover {
  opacity: 1;
}
.maincarousel .splide__slide a img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.thumbnailcarousel .splide__slide {
  opacity: .3;
}
.thumbnailcarousel .splide__slide.is-active {
  opacity: 1;
}
.thumbnailcarousel .splide__slide {
  height: 70px;
}
.thumbnailcarousel .splide__slide img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.thumbnailcarousel .splide__slide,
.thumbnailcarousel .splide__slide.is-active {
  border: initial !important;
}
@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) {
  .casebox li .ttlbox h2 {
    font-size: 1.8rem;
  }
  .maincarousel .splide__slide a {
    aspect-ratio: 2/1.4;
  }
}