@charset "utf-8";

/*===================
共通
===================*/
.case-study__catwrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}
.case-study__catBox {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}

.case-study__cat {
  display: block;
  width: fit-content;
  padding: 7px 11px;
  background: #0f1c3e;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  transition: 0.3s;
}
.case-study__cat2 {
  color: #0f1c3e;
  background: #fff;
}
.case-study__cat:hover {
  background: #fff;
  color: #0f1c3e;
}
.case-study__cat2:hover {
  background: #0f1c3e;
  color: #fff;
}
/*===================
アーカイブ
===================*/
.archive-case-study__wrap {
  padding-top: 65px;
}
.archive-case-study__introTxt {
  margin-bottom: 40px;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  text-align: center;
}
.archive-case-study__catWrap {
  margin-bottom: 97px;
}
.archive-case-study__catBox {
  width: fit-content;
  padding: 4px 33px;
  margin: 0 auto 0;
  background: #0f1c3e;
  border-radius: 999px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px 23px;
}
.archive-case-study__catBox + .archive-case-study__catBox {
  margin-top: 40px;
}
.archive-case-study__catBox2 {
  background: #fff;
  color: #0f1c3e;
}
.archive-case-study__catBox2 .archive-case-study__cat {
  color: #0f1c3e;
}
.archive-case-study__cat {
  display: block;
  padding-right: 29px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  position: relative;
}
.archive-case-study__cat::after {
  content: "/";
  display: inline-block;
  /* margin: 0 12px; */
  position: absolute;
  top: 0;
  right: 0;
}

/* 最後の要素のスラッシュを消す */
.archive-case-study__cat:last-child::after {
  content: "";
}
.archive-case-study__cat--link {
  display: block;
  width: 100%;
}
.archive-case-study__cat--link.current {
  border-bottom: 2px solid #fff;
}
.archive-case-study__catBox2 .archive-case-study__cat--link.current {
  border-bottom: 2px solid #0f1c3e;
}
.archive-case-study__list {
  margin-bottom: 99px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(48px, 4.453125vw, 57px) 0.8%;
}
.archive-case-study__item {
  display: none;
}
.archive-case-study__thumb {
  margin-bottom: 19px;
}
.archive-case-study__thum-ph {
  background-position: center center;
  background-size: cover;
}
.archive-case-study__item--ttl {
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.43;
  letter-spacing: 0;
  color: #313131;
}
.archive-case-study__item--sub {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.case-study__moreLink {
  display: block;
}
@media screen and (max-width: 750px) {
  .archive-case-study__catWrap {
    margin-bottom: 58px;
  }
  .archive-case-study__catBox {
    padding: 4px 19px;
    gap: 4px 14px;
  }
  .archive-case-study__catBox + .archive-case-study__catBox {
    margin-top: 20px;
  }
  .archive-case-study__cat {
    padding-right: 18px;
    font-size: 12px;
  }
  .archive-case-study__list {
    margin-bottom: 91px;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(48px, 4.453125vw, 57px) 0;
  }
  .archive-case-study__thumb {
    margin-bottom: 11px;
  }
  .archive-case-study__item--ttl {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
  }
  .archive-case-study__item--sub {
    font-size: 12px;
  }
}
/*===================
シングル
===================*/
.single-case-study .sideNav__navLink {
  color: #000;
}
.single-case-study__fvPic-ph {
  background-position: center center;
  background-size: cover;
}

.single-case-study__ttl {
  margin-bottom: 13px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}
.single-case-study__fvSub {
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: #000;
}
.single-case-study__wrap {
  padding-top: 77px;
  margin-bottom: 99px;
}
.single-case-study__cont--700 {
  max-width: 700px;
  margin: 0 auto;
}
.single-case-study__container + .single-case-study__container {
  margin-top: 126px;
}
.single-case-study__cont + .single-case-study__cont {
  margin-top: 40px;
}
.single-case-study__cont-ph {
  background-position: center center;
  background-size: cover;
}
.single-case-study__cont--cap {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 2;
  text-align: center;
}
.single-case-study__cont--head {
  max-width: 808px;
  margin: 0 auto 53px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  color: #313131;
}
.single-case-study__cont--headLine {
  display: inline-block;
  border-bottom: 2px solid #434343;
}

.single-case-study__cont--subHead {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.58;
  color: #000;
}
.single-case-study__cont--txt {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.33;
  color: #000;
}
.single-case-study__cont--editor p + p {
  margin-top: 40px;
}
.single-case-study__cont--editor.editor p strong {
  font-weight: 700 !important;
}
@media screen and (max-width: 750px) {
  .single-case-study {
    overflow-x: hidden;
  }
  .single-case-study__ttl {
    font-size: 22px;
    line-height: 1.45;
  }
  .single-case-study__fvPic {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
  }
  .single-case-study__wrap {
    padding-top: 44px;
    margin-bottom: 65px;
  }
  .single-case-study__container + .single-case-study__container {
    margin-top: 90px;
  }
  .single-case-study__cont + .single-case-study__cont {
    margin-top: 20px;
  }
  .single-case-study__cont--head {
    margin-bottom: 42px;
  }
  .single-case-study__cont--subHead {
    font-size: 20px;
  }
}
