@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap");
/* ライン状の背景画像
-----------------------------------------------------------------*/
.background {
  background-image: url("../img/case/pc/bg_line.png");
}
@media screen and (max-width: 768px) {
  .background {
    background-image: url("../img/case/sp/bg_line.png");
  }
}

/* page-title
-----------------------------------------------------------------*/
.page-title-inner {
  background-image: url("../img/case/pc/bg_title.png");
}
@media screen and (max-width: 768px) {
  .page-title-inner {
    background-image: url("../img/case/sp/bg_title.png");
  }
}

/*=================================================================
  index.html
=================================================================*/
/* case-list
-----------------------------------------------------------------*/
.case-list-item-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 1.25em 0;
}

.case-list-item {
  width: 23.5%;
  background-color: #ffffff;
}
@media screen and (max-width: 768px) {
  .case-list-item {
    width: 48%;
  }
}
@media screen and (max-width: 425px) {
  .case-list-item {
    width: 100%;
  }
}
.case-list-item.dummy {
  visibility: hidden;
}

.case-list-item__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
     object-fit: cover;
}

a:hover .case-list-item__img {
  opacity: .8;
}

.case-list-item-detail {
  padding: 1.875em;
  background-color: #ffffff;
}

.case-list-item__detail-text {
  font-size: calc(12px + (14 - 12) / (1440 - 768) * (100vw - 768px));
  min-height: 0vw;
  font-weight: bold;
  line-height: 1.5;
}
@media screen and (min-width: 1440px) {
  .case-list-item__detail-text {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .case-list-item__detail-text {
    font-size: calc(12px + (22 - 12) / (768 - 320) * (100vw - 320px));
    min-height: 0vw;
  }
}
@media screen and (max-width: 768px) and (min-width: 768px) {
  .case-list-item__detail-text {
    font-size: 22px;
  }
}

/* case-detail
-----------------------------------------------------------------*/
.sns-share {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.75em 0;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: .5em;
}
@media screen and (max-width: 768px) {
  .sns-share {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    gap: 0;
    position: relative;
    top: auto;
    left: auto;
    margin-top: 5em;
    padding: 0 4.375em;
  }
}
@media screen and (max-width: 640px) {
  .sns-share {
    padding: 0;
  }
}

.sns-share__title {
  margin-right: .3em;
  font-size: calc(18px + (20 - 18) / (1440 - 768) * (100vw - 768px));
  min-height: 0vw;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
}
@media screen and (min-width: 1440px) {
  .sns-share__title {
    font-size: 20px;
  }
}
@media screen and (max-width: 768px) {
  .sns-share__title {
    margin-top: .3em;
    margin-right: 0;
    font-size: calc(20px + (30 - 20) / (768 - 320) * (100vw - 320px));
    min-height: 0vw;
    -webkit-writing-mode: inherit;
        -ms-writing-mode: inherit;
            writing-mode: inherit;
  }
}
@media screen and (max-width: 768px) and (min-width: 768px) {
  .sns-share__title {
    font-size: 30px;
  }
}

.sns-share__img {
  width: 28px;
}
@media screen and (max-width: 768px) {
  .sns-share__img {
    width: 3.125em;
    margin: 0 auto;
  }
}

.case-detail-body {
  margin-top: 1em;
}

.case-detail-body-item {
  padding: 1em 0;
  background-color: #ffffff;
}
.case-detail-body-item .case-detail__question {
  font-size: calc(18px + (20 - 18) / (1440 - 768) * (100vw - 768px));
  min-height: 0vw;
  font-weight: bold;
  white-space: pre-line;
  color: #f96a03;
}
@media screen and (min-width: 1440px) {
  .case-detail-body-item .case-detail__question {
    font-size: 20px;
  }
}
.case-detail-body-item .case-detail__answer {
  margin-top: .5em;
  margin-left: 2.25em;
  font-weight: bold;
  white-space: pre-line;
  font-size: calc(16px + (18 - 16) / (1440 - 768) * (100vw - 768px));
  min-height: 0vw;
  line-height: 1.5;
}
@media screen and (min-width: 1440px) {
  .case-detail-body-item .case-detail__answer {
    font-size: 18px;
  }
}
@media screen and (max-width: 425px) {
  .case-detail-body-item .case-detail__answer {
    margin-left: 0;
  }
}

.case-detail-text-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 2.5em;
  margin-top: 1.25em;
  margin-left: 2.5em;
}
@media screen and (max-width: 768px) {
  .case-detail-text-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media screen and (max-width: 425px) {
  .case-detail-text-wrap {
    margin-left: 0;
  }
}
.case-detail-text-wrap .case-detail__text {
  line-height: 1.5;
  white-space: pre-line;
}
@media screen and (max-width: 768px) {
  .case-detail-text-wrap .case-detail__text {
    font-size: 14px;
  }
}
.case-detail-text-wrap .case-detail__sub-image {
  max-width: 300px;
}
@media screen and (max-width: 768px) {
  .case-detail-text-wrap .case-detail__sub-image {
    margin: 0 auto;
  }
}

.case-detail-body-item:nth-child(even) .case-detail-text-wrap {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-flow: row-reverse;
          flex-flow: row-reverse;
}
@media screen and (max-width: 768px) {
  .case-detail-body-item:nth-child(even) .case-detail-text-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

/*# sourceMappingURL=case.css.map */