@charset "UTF-8";

section.qra-cmp {
  &.sect_constructions_detail {
    .constructions_img {
      margin-bottom: 16px;
      display: flex;
      border-radius: 4px;
      overflow: hidden;
      position: relative;
      gap: 8px;
      &::after {
        content: '';
        display: block;
        position: absolute;
        width: 32px;
        height: 32px;
        background: url(../../icon/icon_arrow4.svg) 0 0 no-repeat;
        background-size: contain;
        top: calc(50% - 16px);
        left: calc(50% - 16px);
      }
      & > * {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f5f5f5;
        border-radius: 4px;
        position: relative;
        overflow: hidden;
        aspect-ratio: 1/1;
        flex: 1 1 0;
        img {
          /*  */
          max-inline-size: 100%;
          max-block-size: 100%;
          flex: 1;
          object-fit: contain;
        }
        .label {
          padding: 2px 16px;
          font-size: 16px;
          font-weight: 700;
          border-radius: 0 0 4px 4px;
          position: absolute;
          top: 0;
          left: 50%;
          -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
        }
      }
      .img_before .label {
        color: #0068b7;
        background-color: #fff;
      }
      .img_after .label {
        color: #fff;
        background-color: #0068b7;
      }
      &.is_single {
        &::after {
          display: none;
        }
        & > * {
          max-height: calc((100cqw - 4px) / 2);
        }
      }
    }
    .constructions_person {
      display: flex;
      gap: 20px;
      figure {
        width: 60px;
        height: 60px;
      }
      .constructions_meta {
        display: flex;
        align-items: center;
      }
    }
    .box_summary {
      margin: 16px 0 32px;
      border-radius: 4px;
      background-color: #f4f4f4;
      padding: 16px;
      dl {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
        dt {
          color: #4f4f4f;
          font-weight: 700;
          flex: 0 0 90px;
        }
        dd {
          flex: 1 0 calc(100% - 16px - 90px);
        }
      }
    }
    .survey {
      margin-top: 32px;
      margin-bottom: 64px;
      h5 {
        margin-top: 24px;
      }
    }
  }
  @media (width >= 768px) {
    &.sect_constructions_detail {
      .box_summary {
        dl {
          gap: 8px 24px;
          dt {
            flex: 0 0 127px;
          }
          dd {
            flex: 1 0 calc(100% - 24px - 127px);
          }
        }
      }
    }
  }

  @media (width >= 1024px) {
  }
}
