.body-base {
  background: #F4F4F4;
  margin-bottom: 100px;
  padding-bottom: 40px;
}

.header {
  margin-bottom: 0;
}

.breadcrumb {
  margin: 0;
  padding: 0;
}
.breadcrumb .breadcrumb {
  padding: 5px 0 10px;
}
@media screen and (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
}

.flexbox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.justify_left {
  justify-content: left;
}

.align_top {
  align-items: flex-start;
}

section {
  background: #fff;
  padding: 40px;
  margin: 40px 0 80px;
}
@media screen and (max-width: 768px) {
  section {
    padding: 30px 20px;
  }
}

.btn_detail {
  position: relative;
  width: 100%;
  height: 40px;
  background-color: #0052a5;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin-top: 25px;
  text-decoration: none;
  border-radius: 9999px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}
.btn_detail:hover {
  opacity: 0.6;
}
.btn_detail:before {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  border-radius: 50%;
}
.btn_detail:after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none'%3E%3Cpath d='M1 5H13M13 5L9 1M13 5L9 9' stroke='%230052A5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

#kv {
  background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) calc((100% - 1140px) / 2 + 250px), rgba(255, 255, 255, 0) calc((100% - 1140px) / 2 + 750px)), url("../img/major-contractor-projects/kv_back.webp") center/cover no-repeat;
  height: 307px;
}
@media screen and (max-width: 768px) {
  #kv {
    background: linear-gradient(to right, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.3) 100%), url("../img/major-contractor-projects/kv_back.webp") center/cover no-repeat;
    height: 240px;
  }
}
#kv .kv_main {
  height: 240px;
}
@media screen and (max-width: 768px) {
  #kv .kv_main {
    height: 240px;
  }
}
#kv .kv_main .kv_contents {
  align-items: left;
}
#kv .kv_main .kv_contents .badge {
  width: 45px;
  height: 26px;
  border-radius: 3px;
  background: #004ea2;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 26px;
  text-align: center;
  color: #fff;
}
#kv .kv_main .kv_contents h1 {
  font-size: 46px;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 58px;
  margin-top: 10px;
}
@media screen and (max-width: 768px) {
  #kv .kv_main .kv_contents h1 {
    font-size: 28px;
    line-height: 38px;
  }
}
#kv .kv_main .kv_contents .lead {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 26px;
}
@media screen and (max-width: 768px) {
  #kv .kv_main .kv_contents .lead {
    font-size: 13px;
    line-height: 24px;
  }
}

.lead {
  margin-top: 12px;
}

@media screen and (max-width: 768px) {
  .scrollarea {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

#projects {
  display: flex;
  border: 1px solid #D6D6D6;
  border-radius: 5px;
  background: #fff;
  margin-top: 32px;
}
@media screen and (max-width: 768px) {
  #projects {
    width: 1402px;
    padding-right: 2px;
  }
}
#projects .project-card {
  position: relative;
  flex: 1;
  box-sizing: border-box;
  width: 20%;
  border-right: 1px solid #D6D6D6;
  transition: all 0.3s;
}
#projects .project-card:last-child {
  border-right: none;
}
#projects .project-card:hover .project-image img {
  transform: scale(1.15);
}
#projects .project-card:hover .btn_detail {
  opacity: 0.7;
}
#projects .project-card a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  #projects .project-card {
    flex: 0 0 85%;
    max-width: 280px;
    scroll-snap-align: start;
  }
}
#projects .project-card h3.project-company {
  height: 65px;
  color: #004EA2;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 65px;
  background: #F1F4F8;
  text-align: center;
}
#projects .project-card h3.project-company.first-child {
  border-top-left-radius: 4px;
}
#projects .project-card h3.project-company.last-child {
  border-top-right-radius: 4px;
}
#projects .project-card .project-image {
  margin: 13px 13px 0;
  overflow: hidden;
  border-radius: 5px;
}
#projects .project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
#projects .project-card .project-body {
  padding: 13px;
}
#projects .project-card .project-body h4.project-title {
  font-weight: 700;
  font-size: 14px;
}
#projects .project-card .project-body h4.project-title span {
  font-size: 11px;
}
#projects .project-card .project-body p.project-place {
  font-size: 12px;
}
#projects .project-card .project-body p.project-place:before {
  content: "";
  display: inline-block;
  width: 8.978px;
  height: 11.971px;
  background-color: #004ea2;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8.978 11.971"><path d="M5.489,1A4.489,4.489,0,0,0,1,5.489c0,2.479,4.489,7.482,4.489,7.482s4.489-5,4.489-7.482A4.489,4.489,0,0,0,5.489,1Zm0,6.734A2.245,2.245,0,1,1,7.734,5.489,2.245,2.245,0,0,1,5.489,7.734Z" transform="translate(-1 -1)"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8.978 11.971"><path d="M5.489,1A4.489,4.489,0,0,0,1,5.489c0,2.479,4.489,7.482,4.489,7.482s4.489-5,4.489-7.482A4.489,4.489,0,0,0,5.489,1Zm0,6.734A2.245,2.245,0,1,1,7.734,5.489,2.245,2.245,0,0,1,5.489,7.734Z" transform="translate(-1 -1)"/></svg>') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  vertical-align: baseline;
  margin-right: 4px;
}

#major-contractors-by-numbers .spec {
  margin-top: 35px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
@media screen and (max-width: 768px) {
  #major-contractors-by-numbers .spec {
    min-width: 960px;
  }
}
#major-contractors-by-numbers .spec thead td {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-align: center;
  color: #004ea2;
  width: 16%;
  line-height: 58px;
  border-top: 1px solid #D6D6D6;
  border-left: 1px solid #D6D6D6;
}
@media screen and (max-width: 768px) {
  #major-contractors-by-numbers .spec thead td {
    width: 150px;
  }
}
#major-contractors-by-numbers .spec thead td.is_first {
  border-left: 1px solid #D6D6D6;
  border-top-left-radius: 5px;
}
#major-contractors-by-numbers .spec thead td:last-child {
  border-right: 1px solid #D6D6D6;
  border-top-right-radius: 5px;
}
#major-contractors-by-numbers .spec tbody {
  font-size: 14px;
}
#major-contractors-by-numbers .spec tbody tr th {
  box-sizing: border-box;
  width: 20%;
  height: 100%;
  background: #F1F4F8;
  font-weight: 700;
  vertical-align: middle;
  text-align: center;
  border-left: 1px solid #D6D6D6;
  border-bottom: 1px solid #D6D6D6;
}
@media screen and (max-width: 768px) {
  #major-contractors-by-numbers .spec tbody tr th {
    width: 180px;
  }
}
#major-contractors-by-numbers .spec tbody tr th.is_first {
  border-top: 1px solid #D6D6D6;
}
#major-contractors-by-numbers .spec tbody tr th.is_left_top {
  border-top-left-radius: 5px;
}
#major-contractors-by-numbers .spec tbody tr th.is_left_bottom {
  border-bottom-left-radius: 5px;
}
#major-contractors-by-numbers .spec tbody tr th .flexbox {
  justify-content: left;
  gap: 15px;
  margin-left: 18%;
}
#major-contractors-by-numbers .spec tbody tr th .flexbox .ico {
  width: 28px;
}
#major-contractors-by-numbers .spec tbody tr td {
  font-weight: 500;
  line-height: 70px;
  text-align: center;
  border-bottom: 1px solid #D6D6D6;
  border-left: 1px solid #D6D6D6;
}
#major-contractors-by-numbers .spec tbody tr td.noborder {
  border: none;
}
#major-contractors-by-numbers .spec tbody tr td.is_first {
  border-top: 1px solid #D6D6D6;
}
#major-contractors-by-numbers .spec tbody tr td.is_left_bottom {
  border-bottom-left-radius: 5px;
}
#major-contractors-by-numbers .spec tbody tr td:last-child {
  border-right: 1px solid #D6D6D6;
}
#major-contractors-by-numbers .spec tbody tr td.is_last {
  border-bottom-right-radius: 5px;
}
#major-contractors-by-numbers .spec tbody tr td .btn_detail {
  width: 85%;
  margin: 15px auto;
}
#major-contractors-by-numbers .spec tbody tr td .btn_detail:before {
  right: 10px;
}
#major-contractors-by-numbers .spec tbody tr td .btn_detail:after {
  right: 13px;
  width: 12px;
}

#posts .recent-posts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media screen and (max-width: 768px) {
  #posts .recent-posts {
    grid-template-columns: 1fr;
  }
}
#posts .recent-posts article {
  position: relative;
  border: 1px solid #D6D6D6;
  border-radius: 5px;
  transition: all 0.3s;
}
#posts .recent-posts article:hover {
  background: rgba(201, 227, 255, 0.15);
}
#posts .recent-posts article:hover .btn_detail {
  opacity: 0.7;
}
@media screen and (max-width: 768px) {
  #posts .recent-posts article a {
    display: flex;
    height: auto;
  }
}
#posts .recent-posts article a .post-thumbnail {
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  #posts .recent-posts article a .post-thumbnail {
    width: 30%;
    padding: 5px;
  }
}
#posts .recent-posts article a .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#posts .recent-posts article a .post-details {
  padding: 10px 10px 80px;
}
@media screen and (max-width: 768px) {
  #posts .recent-posts article a .post-details {
    width: 70%;
    padding: 5px;
  }
}
#posts .recent-posts article a .post-details .post-categories {
  margin: 0;
  line-height: 8px;
}
#posts .recent-posts article a .post-details .post-categories .cat-tag {
  display: inline-block;
  font-size: 8px;
  line-height: 8px;
  color: #004EA2;
  background: #C9E3FF;
  padding: 2px 4px;
  margin-right: 5px;
}
#posts .recent-posts article a .post-details .post-date {
  font-size: 8px;
  color: #717171;
  margin: 8px 0 10px;
}
@media screen and (max-width: 768px) {
  #posts .recent-posts article a .post-details .post-date {
    margin: 2px 0;
  }
}
#posts .recent-posts article a .post-details .post-title {
  font-size: 14px;
  line-height: 20px;
}
#posts .recent-posts article a .post-details .btn_detail {
  position: absolute;
  width: 80%;
  bottom: 20px;
  right: 50%;
  transform: translateX(50%);
  z-index: 2;
}
@media screen and (max-width: 768px) {
  #posts .recent-posts article a .post-details .btn_detail {
    display: none;
  }
}
#posts .recent-posts article a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
