header {
  z-index: 5;
}

main {
  padding: 200px 143px 80px;
}

.txt {
  width: 500px;
}
.txt p {
  margin-top: 20px;
}

h2 {
  font-size: 55px;
  font-weight: bold;
}

.p-case__kv {
  overflow: hidden;
  border-bottom: solid 1px #E8E8E8;
  margin-bottom: 60px;
  min-height: 400px;
}

.p-case__tab .head {
  border-bottom: solid 18px #1F3A6F;
}
.p-case__tab .head__btn {
  font-weight: bold;
}
.p-case__tab .head__btn > li {
  display: inline-block;
  margin-left: 16px;
}
.p-case__tab .head__btn > li:first-child {
  margin-left: 0;
}
.p-case__tab .head__btn > li a {
  display: inline-block;
  padding: 16px 48px;
  border-radius: 10px 10px 0 0;
  background: #eaeff5;
  color: #464646;
}
.p-case__tab .head__btn > li a.-current {
  background: #1F3A6F;
  color: #fff;
}

.body {
  padding-bottom: 50px;
  display: block;
  transition: 0.4s;
}
.body .-hide {
  display: none;
}
.body__list {
  padding: 60px 0 80px;
}
.body__list > li {
  width: calc((100% - 90px) / 4);
  float: left;
  margin: 0 0 30px 30px;
  box-shadow: 3px 3px 10px #eaeff5;
}
.body__list > li:nth-child(4n+1) {
  margin-left: 0;
}
.body__list > li a {
  display: block;
  border: solid 1px #ddd;
  position: relative;
  text-decoration: none;
}
.body__list > li a:before {
  content: "";
  display: block;
  width: 90px;
  height: 8px;
  background: #1F3A6F;
  position: absolute;
  top: 0;
  left: 0;
}
.body__list > li a figcaption {
  background: #000;
  color: #fff;
  text-align: right;
  padding: 10px 20px;
}

.inquiry {
  padding: 60px 0;
  text-align: center;
  color: #464646;
}

#contact {
  display: block;
  text-align: center;
}
#contact img {
  width: 293px;
}
#contact img:hover {
  opacity: 0.7;
}

.c-col {
  display: flex;
}

.section_ditail {
  display: flex;
}
.section_ditail > img {
  width: 50%;
  box-shadow: 3px 3px 10px #c8c8c8;
}

.text_box {
  width: 50%;
  padding: 0 40px;
  color: #464646;
}

.detail_title {
  font-size: 28px;
  font-weight: bold;
}

.point {
  margin-top: 15px;
  background: #e8e8e860;
  padding: 30px;
  font-weight: bold;
  font-size: 18px;
}
.point li {
  list-style-type: disc;
  margin-left: 30px;
}

@media screen and (max-width: 768px) {
  .section_ditail {
    display: block;
  }
  .section_ditail > img {
    width: 100%;
  }

  .text_box {
    width: 100%;
    padding: 0px;
    margin-bottom: 60px;
  }
}
@media screen and (max-width: 768px) {
  main {
    padding: 130px 20px 0px;
  }
  main .txt {
    position: static;
    width: 100%;
    transform: none;
  }
  main .txt h2 {
    font-size: 40px;
  }

  .p-case__kv {
    margin-bottom: 30px;
    min-height: 0px;
  }

  .l-inner {
    overflow-x: auto;
    padding-bottom: 0;
  }

  .head__btn {
    width: 270%;
  }

  .body__list {
    padding: 5% 0;
  }
  .body__list > li {
    width: calc(95% / 2);
    margin: 0 0 5% 5%;
  }
  .body__list > li:nth-child(4n+1) {
    margin-left: 0;
  }
  .body__list > li:nth-child(2n+1) {
    margin-left: 0%;
  }
  .body__list a:before {
    transform: scale(0.5);
    transform-origin: left top;
  }

  .inquiry {
    padding: 20px 0;
  }
}