@charset "utf-8";
/* -------------------------------------------*/
/* ケーススタディ一覧 */
/* -------------------------------------------*/

.p-casestudies__content {
  margin-block: 6rem 14.5rem;
}

.p-casestudies__list {
  display: grid;
  gap: 10.9rem;
}

.p-casestudies__label-wrap {
  align-items: center;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: auto 68fr;
}

.p-casestudies__label {
  align-items: center;
  background-color: #fff;
  border: 2px solid #F96718;
  border-radius: 2.8rem;
  color: #F96718;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 500;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.9166666667;
  padding: 0.5rem 1.8rem;
  height: fit-content;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.p-casestudies__label-category {
  align-items: center;
  display: inline-flex;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.875;
  width: -moz-fit-content;
  width: fit-content;
}
.p-casestudies__label-category::before {
  background-color: #008785;
  border-radius: 50%;
  content: "";
  flex-shrink: 0;
  height: 1.4rem;
  margin-right: 0.8rem;
  width: 1.4rem;
}

.p-casestudies__title {
  color: #333333;
  font-size: clamp(2.4rem, 0.321vw + 2.4rem, 2.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.6296296296;
  margin-top: 0.7rem;
}

.p-casestudies__figure {
  display: grid;
  gap: 3.6rem;
  grid-template-columns: 554fr 610fr;
  margin-top: 2.4rem;
  min-height: 21rem;
  transition: background-color 0.3s ease;
}

.p-casestudies__img {
  height: 100%;
  overflow: hidden;
}

.p-casestudies__thumbnail {
  aspect-ratio: 554/210;
  -o-object-fit: cover;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
  will-change: transform;
}

.p-casestudies__body {
  height: 100%;
  padding: 3rem 5rem 3.1rem 0;
}

.p-casestudies__title-sub {
  color: #008785;
  font-size: clamp(2rem, 0.428vw + 2rem, 2.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7083333333;
}

.p-casestudies__text {
  color: #333333;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.875;
  margin-top: 0.7rem;
}

.p-casestudies__readmore {
  color: #333333;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 2.125;
  margin-top: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.p-casestudies__tag-title {
  color: #333333;
  font-size: clamp(1.8rem, 0.214vw + 1.8rem, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7;
  margin-top: 1.7rem;
}

.p-casestudies__tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 1rem;
}

.p-casestudies__tag-item {
  background-color: #fff;
  border: 2px solid #F96718;
  border-radius: 0.8rem;
  color: #F96718;
  font-size: clamp(1.2rem, 0.428vw + 1.2rem, 1.6rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 2.125;
  padding: 0.15rem 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: -moz-fit-content;
  width: fit-content;
}

.p-casestudies__item--empty {
  align-items: center;
  display: flex;
  justify-content: center;
}

/* -------------------------------------------*/


@media screen and (max-width: 1280px){
  .p-casestudies__inner {
    padding-inline: 2.4rem;
  }
}

@media screen and (max-width: 667px){
  .p-casestudies__content {
    margin-block: 4rem 12rem;
  }
  .p-casestudies__list {
    gap: 6rem;
  }
  .p-casestudies__title {
    font-size: 2.4rem;
    line-height: 1.7083333333;
  }
  .p-casestudies__figure {
    gap: 1.6rem;
    grid-template-columns: 1fr;
    height: initial;
    margin-top: 2rem;
  }
  .p-casestudies__body {
    padding: 0;
  }
  .p-casestudies__title-sub {
    font-size: 2rem;
    line-height: 1.7;
  }
  .p-casestudies__tag-title {
    font-size: 1.8rem;
    line-height: 1.8888888889;
  }
  .p-casestudies__tag-wrap {
    gap: 1.2rem;
    margin-top: 1.2rem;
  }
  .p-casestudies__tag-item {
    font-size: 1.2rem;
    line-height: 2.3333333333;
    padding: 0.4rem 0.8rem;
  }
}

@media (any-hover: hover){
  .p-casestudies__link:hover .p-casestudies__label {
    background-color: #F96718;
    color: #fff;
  }
  .p-casestudies__link:hover .p-casestudies__figure {
    background-color: #fff;
  }
  .p-casestudies__link:hover .p-casestudies__thumbnail {
    transform: scale(1.1);
  }
}

/* -------------------------------------------*/
/* ケーススタディ詳細 */
/* -------------------------------------------*/

.p-casestudy__title {
  background: linear-gradient(to right, #008785, #3dc3aa);
  border-radius: 0.8rem;
  color: #fff;
  display: inline-block;
  font-size: clamp(2.4rem, 1.04vw + 1.333rem, 3.6rem);
  font-weight: 700;
  line-height: 1.3333333333;
  max-width: 79rem;
  padding: 2.3rem 5rem 2.2rem 3.3rem;
  position: relative;
  z-index: 1;
}

.p-casestudy__image {
  margin-block: -7.3rem -17rem;
}

.p-casestudy__thumbnail {
  aspect-ratio: 1200/585;
  height: auto;
  width: 100%;
  -o-object-fit: cover;
  border-radius: 0.8rem;
  object-fit: cover;
}
@media (width <= 667px) {
  .p-casestudy__thumbnail {
    border-radius: 0 0 0.8rem 0.8rem;
  }
}

.p-casestudy__company-profile {
  background-color: #fff;
  border: 0.1rem solid #707070;
  border-radius: 0.8rem;
  display: block;
  margin-inline: auto 2rem;
  padding: 3.5rem 1.4rem 2.4rem;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 1;
}

.p-casestudy__company-profile-category {
  background-color: #008785;
  border-radius: 0 0.8rem 0 0.8rem;
  color: #fff;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5625;
  padding: 0.5rem 2.4rem;
  position: absolute;
  right: 0;
  top: 0;
}

.p-casestudy__company-profile-title {
  color: #333333;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}

.p-casestudy__company-profile-list {
  margin-top: 1rem;
}

.p-casestudy__company-profile-item {
  display: grid;
  gap: 2.3rem;
  grid-template-columns: auto 1fr;
}
.p-casestudy__company-profile-item:not(:last-child) {
  border-bottom: 0.1rem solid #cdd6dd;
}
.p-casestudy__company-profile-item:not(:last-child) .p-casestudy__company-profile-label {
  border-bottom: 0.3rem solid #f96718;
}

.p-casestudy__company-profile-label {
  color: #333333;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 2.625;
}

.p-casestudy__company-profile-info {
  color: #333333;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 2.625;
}

.p-casestudy__section {
  margin-bottom: 7rem;
}

.p-casestudy__section-title {
  border-bottom: 0.6rem solid #008785;
  color: #333333;
  font-size: clamp(2.2rem, 0.52vw + 1.86rem, 2.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.6296296296;
  padding-bottom: 0.8rem;
}

.p-casestudy__section-content {
  margin-block: 0.8rem 4.4rem;
}

.p-casestudy__section-content-title {
  color: #008785;
  font-size: clamp(2rem, 0.43vw + 1.67rem, 2.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7083333333;
}

.p-casestudy__section-text {
  color: #333333;
  font-size: clamp(1.6rem, 0.26vw + 1.32rem, 1.8rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.8888888889;
  margin-top: 0.6rem;
}
.p-casestudy__section-text p a {
  color: #008785;
  text-decoration: underline;
}

.p-casestudy__problem-list {
  background-color: #fff;
  border: 0.1rem solid #707070;
  border-radius: 0.8rem;
  display: grid;
  gap: 1.6rem;
  padding: 4rem 4.4rem 4rem 4.4rem;
}

.p-casestudy__problem-text {
  color: #333333;
  font-size: clamp(1.7rem, 0.214vw + 1.5rem, 1.9rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7894736842;
  padding-left: 4rem;
  position: relative;
}
.p-casestudy__problem-text::before {
  background-image: url(../img/common/check-icon.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 2rem;
  left: 0;
  position: absolute;
  top: 1.7rem;
  translate: 0 -50%;
  width: 2rem;
}

.p-casestudy__solution-list {
  display: grid;
  gap: 2.9rem 2.6rem;
  grid-template-columns: repeat(3, 1fr);
}

.p-casestudy__solution-item {
  background-color: #fff;
  border: 0.3rem solid #008785;
  border-radius: 0.8rem;
  padding: 2rem 2.4rem;
}
.p-casestudy__solution-item h4 {
  color: #008785;
  font-size: clamp(1.6rem, 0.52vw + 1.2rem, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  text-align: center;
}
.p-casestudy__solution-item--result h4 {
  color: #f96718;
}
.p-casestudy__solution-item p {
  color: #333333;
  font-size: clamp(1.6rem, 0.26vw + 1.32rem, 1.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5555555556;
}
.p-casestudy__solution-item strong {
  color: #008785;
}
.p-casestudy__solution-item--result strong {
  color: #f96718;
}

.p-casestudy__solution-item-title {
  color: #008785;
  font-size: clamp(1.6rem, 0.52vw + 1.2rem, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7;
  margin-bottom: 1.4rem;
  text-align: center;
}

.p-casestudy__solution-item-title--result {
  color: #f96718;
}

.p-casestudy__solution-text {
  color: #333333;
  font-size: clamp(1.6rem, 0.26vw + 1.32rem, 1.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.8888888889;
}

.p-casestudy__section-title--result {
  border-bottom: 0.6rem solid #f96718;
}

.p-casestudy__section-content-title--result {
  color: #f96718;
}
.p-casestudy__section-content-title--result::before {
  background-color: #f96718;
}

.p-casestudy__solution-item--result {
  border: 0.3rem solid #f96718;
}

.p-casestudy__section-box {
  background-color: #fff;
  border-bottom: 0.1rem solid #707070;
  border-left: 0.1rem solid #707070;
  border-right: 0.1rem solid #707070;
  padding: 3.1rem 5.4rem 6rem 5.9rem;
}

.p-casestudy__section-box--recommendation {
  padding: 5.1rem 5.4rem 5rem 5.9rem;
}

.p-casestudy__section-text--recommendation {
  margin-top: 0;
}

.p-casestudy__section-box-title {
  color: #008785;
  font-size: clamp(2.2rem, 0.26vw + 2.02rem, 2.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7083333333;
}

.p-casestudy__cta {
  margin-block: 10rem;
}

/* -------------------------------------------*/

@media screen and (max-width: 1280px){
  .p-casestudy__inner {
    padding-inline: 2.4rem;
  }
  .p-casestudy__image {
    margin-block: -2rem -8rem;
  }
}

@media screen and (max-width: 667px){
  .p-casestudy__title {
    font-size: 2.4rem;
    line-height: 1.3333333333;
    padding: 2.3rem 3.3rem;
    border-radius: 0.8rem 0.8rem 0 0;
  }
  .p-casestudy__image {
    margin-block: 0;
  }
  .p-casestudy__company-profile {
    margin-inline: auto;
    margin-top: 1.6rem;
    padding: 3.4rem 1.6rem 1.4rem;
  }
  .p-casestudy__company-profile-category {
    font-size: 1.4rem;
    line-height: 1.7857142857;
    padding: 0.5rem 1.8rem;
  }
  .p-casestudy__company-profile-list {
    margin-top: 0.8rem;
  }
  .p-casestudy__company-profile-item {
    gap: 1.6rem;
  }
  .p-casestudy__company-profile-label {
    font-size: 1.4rem;
    line-height: 2.4285714286;
  }
  .p-casestudy__company-profile-info {
    font-size: 1.4rem;
    line-height: 2.4285714286;
  }
  .p-casestudy__section {
    margin-bottom: 6rem;
    margin-top: 4rem;
  }
  .p-casestudy__section-title {
    font-size: 2.2rem;
    line-height: 1.5454545455;
  }
  .p-casestudy__section-content {
    margin-block: 0.8rem 4rem;
  }
  .p-casestudy__section-content-title {
    font-size: 2rem;
    line-height: 1.7;
  }
  .p-casestudy__section-text {
    font-size: 1.6rem;
    line-height: 2.125;
  }
  .p-casestudy__problem-list {
    padding: 2.2rem 2rem;
  }
  .p-casestudy__problem-text::before {
    height: 1.7rem;
    width: 1.7rem;
  }
  .p-casestudy__problem-text {
    font-size: 1.7rem;
    line-height: 1.5;
    padding-left: 2.4rem;
  }
  .p-casestudy__solution-list {
    gap: 2.4rem;
    grid-template-columns: repeat(1, 1fr);
  }
  .p-casestudy__solution-item {
    padding: 2rem 1.4rem;
  }
  .p-casestudy__solution-item h4 {
    font-size: 1.6rem;
    line-height: 1.75;
  }
  .p-casestudy__solution-item p {
    font-size: 1.4rem;
    line-height: 2;
  }
  .p-casestudy__solution-item-title {
    font-size: 1.6rem;
    line-height: 2.125;
    margin-bottom: 1.4rem;
  }
  .p-casestudy__solution-text {
    font-size: 1.4rem;
    line-height: 2.4285714286;
  }
  .p-casestudy__section-box {
    padding: 3.2rem 2rem;
  }
  .p-casestudy__section-box-title {
    font-size: 2.2rem;
    line-height: 1.5454545455;
  }
  .p-casestudy__cta {
    margin-block: 6rem;
  }
}


