@font-face {
  font-family: "notoSans400";
  src: url("../font/NotoSansJP-Regular.woff");
}
@font-face {
  font-family: "notoSans500";
  src: url("../font/NotoSansJP-Medium.woff");
}
@font-face {
  font-family: "NotoSans700";
  src: url("../font/NotoSansJP-Bold.woff");
}
@media screen and (min-width: 961px) {
  .single-case {
    padding: 60px 0 80px;
  }
}
@media screen and (max-width: 960px) {
  .single-case {
    padding: 30px 0 60px;
  }
}

.single-case__inner {
  max-width: 1080px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.single-case__box {
  background-color: #fff;
}
@media screen and (min-width: 961px) {
  .single-case__box {
    margin-top: 50px;
    padding: 45px 90px;
  }
}
@media screen and (max-width: 960px) {
  .single-case__box {
    margin-top: 20px;
    padding: 30px 0 15px;
  }
}

.single-case__tagGroup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.single-case__tag {
  font-size: 16px;
  color: #042F6E;
}
.single-case__tag:nth-child(n+2) {
  margin: 0 10px;
}

.single-case__title {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  line-height: 1.75;
  border-bottom: 1px solid #042F6E;
  font-family: notoSans500, sans-serif;
  font-weight: 500;
}
@media screen and (min-width: 961px) {
  .single-case__title {
    font-size: 30px;
    padding-bottom: 20px;
  }
}
@media screen and (max-width: 960px) {
  .single-case__title {
    max-width: 720px;
    margin: 20px auto 0;
    font-size: 18px;
    padding-bottom: 10px;
  }
}

.single-case__thumbWrap {
  max-width: 700px;
}
@media screen and (min-width: 961px) {
  .single-case__thumbWrap {
    margin: 50px auto 0;
  }
}
@media screen and (max-width: 960px) {
  .single-case__thumbWrap {
    margin: 30px auto 0;
  }
}

@media screen and (min-width: 961px) {
  .single-case__edit {
    margin-top: 50px;
  }
}
@media screen and (max-width: 960px) {
  .single-case__edit {
    margin-top: 30px;
  }
}
.single-case__edit p {
  margin-bottom: 30px;
  line-height: 1.87;
}
.single-case__edit h1, .single-case__edit h2, .single-case__edit h3, .single-case__edit h4 {
  margin-bottom: 20px;
  padding-left: 0.9em;
  font-size: 18px;
  line-height: 1.5;
  text-indent: -0.9em;
}
.single-case__edit h1:before, .single-case__edit h2:before, .single-case__edit h3:before, .single-case__edit h4:before {
  content: "";
  width: 5px;
  height: 1.5em;
  margin-right: 10px;
  display: inline-block;
  -webkit-transform: translateY(20%);
          transform: translateY(20%);
  background-color: #042F6E;
}
@media screen and (min-width: 961px) {
  .single-case__edit h1, .single-case__edit h2, .single-case__edit h3, .single-case__edit h4 {
    font-family: NotoSans700, sans-serif;
    font-weight: 700;
  }
}
@media screen and (max-width: 960px) {
  .single-case__edit h1, .single-case__edit h2, .single-case__edit h3, .single-case__edit h4 {
    font-family: notoSans500, sans-serif;
    font-weight: 500;
  }
}
.single-case__edit figure {
  max-width: 650px;
  margin: 0 auto 40px;
}
@media screen and (min-width: 961px) {
  .single-case__edit .wp-block-group {
    margin-bottom: 90px;
  }
}
@media screen and (max-width: 960px) {
  .single-case__edit .wp-block-group {
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 961px) {
  .single-case__edit .wp-block-media-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media screen and (min-width: 961px) {
  .single-case__edit .wp-block-media-text figure {
    width: 200px;
  }
}
@media screen and (max-width: 960px) {
  .single-case__edit .wp-block-media-text figure {
    width: 160px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 961px) {
  .single-case__edit .wp-block-media-text .wp-block-media-text__content {
    width: calc(95% - 200px);
  }
}
@media screen and (max-width: 960px) {
  .single-case__edit .wp-block-media-text .wp-block-media-text__content {
    margin-top: 15px;
    padding: 0;
  }
}
.single-case__edit .wp-block-columns {
  position: relative;
}
.single-case__edit .wp-block-columns:before {
  content: "";
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-style: solid;
}
@media screen and (min-width: 961px) {
  .single-case__edit .wp-block-columns {
    margin-bottom: 90px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .single-case__edit .wp-block-columns:before {
    top: 43%;
    left: 50%;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent #042F6E;
  }
}
@media screen and (max-width: 960px) {
  .single-case__edit .wp-block-columns {
    margin-bottom: 50px;
    display: block;
  }
  .single-case__edit .wp-block-columns:before {
    top: 49%;
    left: 50%;
    border-width: 18px 18px 0 18px;
    border-color: #042F6E transparent transparent transparent;
  }
}
@media screen and (min-width: 961px) {
  .single-case__edit .wp-block-columns .wp-block-column {
    max-width: 390px;
  }
  .single-case__edit .wp-block-columns .wp-block-column:nth-child(2n) {
    margin-left: 120px;
  }
}
@media screen and (max-width: 960px) {
  .single-case__edit .wp-block-columns .wp-block-column:nth-child(n+2) {
    margin-top: 60px;
  }
}
.single-case__edit .wp-block-columns .colTitle {
  margin-bottom: 15px;
  padding: 5px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  background-color: #042F6E;
}
@media screen and (min-width: 961px) {
  .single-case__edit .wp-block-columns .colTitle {
    font-size: 18px;
    font-family: NotoSans700, sans-serif;
    font-weight: 700;
  }
}
@media screen and (max-width: 960px) {
  .single-case__edit .wp-block-columns .colTitle {
    font-size: 16px;
    font-family: notoSans500, sans-serif;
    font-weight: 500;
  }
}
.single-case__edit .wp-block-columns .colText {
  margin-bottom: 10px;
  font-family: notoSans500, sans-serif;
  font-weight: 500;
}

.single-case__buttonGroup {
  max-width: 660px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (min-width: 961px) {
  .single-case__buttonGroup {
    margin: 50px auto 0;
  }
}
@media screen and (max-width: 960px) {
  .single-case__buttonGroup {
    margin: 30px auto 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.single-case__buttonWrap {
  max-width: 280px;
  width: 100%;
}
.single-case__buttonWrap.--white {
  margin: 20px auto 0;
}
@media screen and (max-width: 960px) {
  .single-case__buttonWrap {
    margin: 10px auto;
  }
  .single-case__buttonWrap:first-child {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .single-case__buttonWrap:nth-child(2) {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .single-case__buttonWrap:nth-child(3) {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
}

.single-case__moveGroup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (min-width: 961px) {
  .single-case__moveGroup {
    margin-top: 100px;
  }
}
@media screen and (max-width: 960px) {
  .single-case__moveGroup {
    max-width: 560px;
    margin: 50px auto 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}

@media screen and (min-width: 961px) {
  .single-case__moveWrap {
    width: 48%;
  }
}
@media screen and (max-width: 960px) {
  .single-case__moveWrap {
    width: 100%;
    margin: 10px;
  }
}

.single-case__move {
  display: block;
  position: relative;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  background-color: #F7F7F7;
}
.single-case__move.--prev {
  padding: 14px 20px 14px 82px;
}
.single-case__move.--prev:before {
  content: "Prev";
  padding: 8px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 12px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  letter-spacing: 0.01em;
  color: #fff;
  border-radius: 2px;
  background-color: #042F6E;
}
.single-case__move.--next {
  padding: 15px 82px 15px 20px;
}
.single-case__move.--next:after {
  content: "Next";
  padding: 8px;
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 12px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  letter-spacing: 0.01em;
  color: #fff;
  border-radius: 2px;
  background-color: #042F6E;
}
@media screen and (min-width: 961px) {
  .single-case__move:hover {
    color: #fff;
    background-color: #042F6E;
  }
}
@media screen and (max-width: 960px) {
  .single-case__move:nth-child(n+2) {
    margin-bottom: 15px;
  }
}

@media screen and (min-width: 961px) {
  .single-case__buttonWrap {
    max-width: 280px;
    margin: 50px auto 0;
  }
}
@media screen and (max-width: 960px) {
  .single-case__buttonWrap {
    max-width: 200px;
    margin: 40px auto 0;
  }
}

@media screen and (min-width: 961px) {
  .single-case__button {
    height: 60px;
  }
}
@media screen and (max-width: 960px) {
  .single-case__button {
    height: 45px;
  }
}