/* 共通パーツ */

#block-17 {
  margin-bottom: 0;
  padding-top: 40px;
}

.is-style-default {
  position: relative;
  padding-left: 18px;
  letter-spacing: 2px;
}

.slim-width {
  width: 92%;
  margin-inline: auto;
}

.is-style-default::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  transform: rotate(24deg);
  background-color: #004235;
  opacity: 0.7;
}

.page-header-title {
  letter-spacing: 8px;
}

.page-header::before {
  width: 50%;
  transform: skewX(-34deg);
  left: -10%;
}

.page-header-subtext {
  letter-spacing: 5px;
}

.footer-cta__body .row {
  max-width: 560px;
  margin-inline: auto;
}

.footer-cta .border-left {
  border-left: 1px solid #fff;
}

@media screen and (max-width: 768px) {
  .footer-cta .border-left {
    border-left: none !important;
    border-top: 1px solid #fff;
    margin-top: 20px;
    padding-top: 20px;
  }
}

/* トップページ */

.page-id-20 .site-body {
  padding-top: 0;
}

.fv {
  position: relative;
}

.fv__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-weight: bold;
  z-index: 4;
  opacity: 0;
  width: 100%;
}

.fv__text-lead {
  font-family: "Noto Serif JP", sans-serif;
  font-size: 3rem;
}

.fv__text-name {
  font-family: "Noto Serif JP", sans-serif;
  margin-bottom: 0;
}

.fv__text_en {
  font-weight: 400;
}


.fv-text-anime {
  overflow: hidden;
}


.fv__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  max-height: 680px;
  width: 100%;
  overflow: hidden;
}

.fv__img-wrap::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.fv__img {
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 16/9;
  width: 100%;
  height: 100%;
}

.fv__img-before::before,
.fv__img-before::after {
  content: "";
  position: absolute;
  width: 0;
  height: 5px;
  background: #fff;
  z-index: 5;
  transition: 0.8s;
  top: 50%;
  transform: translateY(-50%);
}

.fv__img-before::before {
  left: 0;
}

.fv__img-before::after {
  right: 0;
}

.fv__img-before.is-active::before {
  width: 50%;
}

.fv__img-before.is-active::after {
  width: 50%;
}


.fv__img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.fv__img-before {
  z-index: 1;
}

.fv__img-after {
  z-index: 2;
  opacity: 0;
}

@media screen and (max-width: 768px) {

  .fv__img-wrap {
    aspect-ratio: 3/4;
  }

  .fv__text-lead {
    font-size: 2rem;
  }
}

.top-concept__text {
  position: relative;
  z-index: 2;
}

.top-concept{
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.top-concept::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  height: 100%;
  width: 60%;
  transform: skewX(-34deg);
  left: -20px;
  background-color: #fff;
}

@media screen and (max-width: 768px) {
  .top-concept__img {
    margin-top: 40px;
  }
}

.top-recruit {
  padding-bottom: 0;
}

.top-recruit .vk_outer_container {
  width: 50%;
  margin-left: auto;
  background-color: #fff;
  padding-block: 56px;
}

.top-recruit-link .wp-block-vk-blocks-outer.vk_outer .vk_outer-background-area.has-background-dim-8 {
  width: 42%;
  transform: skewX(-32deg);
  left: 0%;
}

.top-recruit-link .wp-block-vk-blocks-outer.vk_outer .vk_outer_container h2:first-child {
  margin-top: 12%;
  margin-left: 20px;
}

.top-recruit-link .wp-block-cover {
  min-height: 300px;
}

.top-recruit-link .has-text-align-left {
  margin-left: 1rem;
}


/* 施工実績 */
.card-intext .card-intext-inner .vk_post_body {
  background-color: rgba(0, 0, 0, 60%)
}

/* 会社概要 */
.page-id-21 table {
  border: none;
}

.page-id-21 table td {
  padding-top: 20px;
  vertical-align: bottom;
  border: none;
  border-bottom: 1px solid #004235;
  width: 20%;
}

.page-id-21 table td+td {
  border-bottom: 1px solid #d9d9d9;
  width: 80%;
}

.page-id-21 iframe {
  display: block;
}

.history-detail {
  position: relative;
}

.history-detail::before {
  position: absolute;
  content: "";
  background: #004235;
  opacity: 0.9;
  transform: skewX(-18deg);
  height: 100%;
  width: 80%;
  top: 0;
  right: 70px;
}

.history-detail .wp-block-vk-blocks-outer.vk_outer .vk_outer-background-area.has-background-dim-5 {
  opacity: 0;
}


.history-img {
  transform: skewX(-18deg);
  padding: 0;
  width: 80%;
}

.history-img__img img {
  transform: skewX(18deg) scale(1.4);
  margin: 0;
  transform-origin: 70% 0;
}

.history-img--1 {
  left: -20%;
}

.history-img--2 {
  right: -20%;
  top: -60px;
}

/* 採用情報 */
.recruit__banner{
  width:80%;
  transition: ease 0.3s;
}

@media screen and (max-width: 768px) {
  .recruit__banner{
    width: 100%;
  }
}

.recruit__banner:hover {
  opacity: 0.6;
}

/* お問い合わせフォーム */

.smf-progress-tracker {
  margin-bottom: var(--_margin3);
}

.smf-form .smf-item {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .smf-form .smf-item {
    width: 70%;
  }

  .smf-form .smf-item--divider {
    width: 70%;
    margin-bottom: var(--_margin2);
    justify-content: flex-start;
  }
}


.smf-form .smf-item--divider .smf-item__col--controls {
  width: 100%;
}

.smf-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.smf-item:last-child {
  justify-content: flex-end;
  margin-top: 0.5em;
}

.smf-item__col--label {
  width: 32%;
  font-weight: bold;
}

.smf-item__col--controls {
  width: 68%;
}

.form-privacy {
  flex-direction: column;
  margin-top: 1em;
}

.form-privacy .smf-item__col--label {
  width: 78%;
}

.form-privacy p {
  margin-top: 0.5em;
  margin-bottom: 0;
  float: left;
}

.form-privacy .smf-placeholder {
  float: left;
  margin-top: 0.5em;
}

.form-privacy .smf-placeholder:after {
  clear: both;
}

.form-privacy a {
  text-decoration: underline;
}

@media  screen and (max-width: 768px) {
  .form-file {
    flex-direction: column;
    gap: 4px;
  }
  
}


.smf-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.smf-action .smf-button-control__control {
  border: 1px solid #004235;
  background: none;
  color: #004235;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.smf-action .smf-button-control__control:hover {
  background: #004235;
  color: #fff;
}

[data-screen="confirm"] .input {
  display: none;
}

[data-screen="input"] .confirm,
[data-screen="invalid"] .confirm {
  display: none;
}

.site-header-logo {
  max-width: 160px;
}


.smf-form .smf-item .smf-text-control__control {
  margin-bottom: 0;
}

.smf-form .smf-item {
  margin-bottom: 1.2em;
}

.smf-error-messages {
  margin-top: 2px;
}

@media screen and (min-width: 768px) {
  .smf-form .smf-item .smf-file-control>label {
    flex-wrap: wrap;
  }

  .smf-form .smf-item .smf-file-control__filename {
    margin-left: 8px;
  }

}

/* 採用情報 */
.page-id-45 table {
  margin-inline: auto;
  border-color: #d9d9d9;
}

@media screen and (min-width: 768px) {
  .page-id-45 table {
    width: 80%;
  }
}

.page-id-45 table td {
  background-color: #006652;
  color: #fff;
  width: 20%;
}

.page-id-45 table td+td {
  background-color: #fff;
  color: #00231d;
  width: 80%;
}

.smf-form .smf-item .smf-radio-buttons-control__control {
  margin-bottom: 0.5em;
}

.works-meta h3 {
  margin-top: 1.5rem;
}

.page_top_btn {
  box-shadow: none;
  border-radius: 50%;
  background-color: #00231d;
  /* 	border: 1px solid #fff; */
}

.next-prev {
  margin-top: 80px;
}

/* 特徴 */

@media screen and (min-width: 768px) {
  .feature-lead.has-text-align-left {
    text-align: center !important;
  }
}

.feature-point .row {
  color: #fff;
}

.feature-point .feature-point__item {
  position: relative;
  z-index: 1;
  background-color: #004235;
  overflow: hidden;
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-block: 20px;
}


.feature-point .wp-block-heading {
  margin-top: 16px;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.feature-point .feature-point__item .row {
  flex-direction: row;
}

@media screen and (max-width: 576px) {
  .feature-point .feature-point__item--left .row {
    flex-direction: column;
  }

  .feature-point .feature-point__item--right .row {
    flex-direction: column-reverse;
  }
}

.feature-point figure {
  margin-bottom: 0;
}

.feature-point__point {
  font-size: 2rem;
  margin-bottom: 0;
  font-weight: bold;
}

.feature-point__point .vk_inline-font-size {
  font-size: 3rem !important;
}

@media screen and (min-width: 768px) {
  .feature-point .feature-point__item::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    height: 160%;
    width: 30%;
    transform: translateY(-50%) rotate(12deg);
    background-color: #fff;
  }

  .feature-point .wp-block-vk-blocks-grid-column-item {
    padding-block: 40px;
  }

  .feature-point .feature-point__item--right::before {
    left: -120px;
  }

  .feature-point .feature-point__item--left::before {
    right: -120px;
  }

}