@charset "UTF-8";
.main {
  /* =====================
    MV
  ===================== */
  .u-mv {
    .u-inner {
      &::before {
        background-image: url('../img/works/mv.png');
      }

      @media (width <= 768px) {
        &::before {
          background-image: url('../img/works/mv_2x.png');
        }
      }
    }
  }

  /* =====================
    photo
  ===================== */
  .photo {
    position: relative;
    padding-block-start: 104px;
    padding-block-end: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/works/photo_bg.png');
    inline-size: 100%;

    @media (width <= 768px) {
      background-image: url('../img/works/photo_bg_2x.png');
      padding-block-start: calc((100 / 390) * 64 * 1vw);
      padding-block-end: calc((100 / 390) * 88 * 1vw);
    }

    .u-inner {
      .photo_list {
        position: relative;
        margin-block-start: 64px;
        inline-size: 100%;
        block-size: 1054px;

        @media (width <= 768px) {
          margin-block-start: calc((100 / 390) * 47 * 1vw);
          block-size: unset;
          display: block grid;
          gap: calc((100 / 390) * 16 * 1vw);
        }

        .item {
          position: absolute;

          @media (width <= 768px) {
            position: relative;
          }
        }
        .item[data-id='01'] {
          left: 0;
          top: 0;

          @media (width <= 768px) {
            left: unset;
            top: unset;
            grid-area: 1/1/2/3;
            & img {
              inline-size: calc((100 / 390) * 171 * 1vw);
              block-size: calc((100 / 390) * 171 * 1vw);
            }
          }
        }
        .item[data-id='02'] {
          left: 326px;
          top: 0;
          @media (width <= 768px) {
            left: unset;
            top: unset;
            grid-area: 1/3/2/5;
            & img {
              inline-size: calc((100 / 390) * 171 * 1vw);
              block-size: calc((100 / 390) * 171 * 1vw);
            }
          }
        }
        .item[data-id='03'] {
          right: 326px;
          top: 0;
          @media (width <= 768px) {
            right: unset;
            top: unset;
            grid-area: 2/1/3/3;
            & img {
              inline-size: calc((100 / 390) * 171 * 1vw);
              block-size: calc((100 / 390) * 171 * 1vw);
            }
          }
        }
        .item[data-id='04'] {
          right: 0;
          top: 0;
          @media (width <= 768px) {
            right: unset;
            top: unset;
            grid-area: 2/3/3/5;
            & img {
              inline-size: calc((100 / 390) * 171 * 1vw);
              block-size: calc((100 / 390) * 171 * 1vw);
            }
          }
        }
        .item[data-id='05'] {
          left: 0;
          top: 326px;
          @media (width <= 768px) {
            left: unset;
            top: unset;
            grid-area: 3/1/4/2;
            & img {
              inline-size: calc((100 / 390) * 141 * 1vw);
              block-size: calc((100 / 390) * 111 * 1vw);
            }
          }
        }
        .item[data-id='06'] {
          left: 418px;
          top: 326px;
          @media (width <= 768px) {
            left: unset;
            top: unset;
            grid-area: 4/1/5/2;
            & img {
              inline-size: calc((100 / 390) * 141 * 1vw);
              block-size: calc((100 / 390) * 111 * 1vw);
            }
          }
        }
        .item[data-id='07'] {
          left: 0;
          bottom: 0;
          @media (width <= 768px) {
            left: unset;
            bottom: unset;
            grid-area: 3/2/5/5;
            & img {
              inline-size: calc((100 / 390) * 201 * 1vw);
              block-size: calc((100 / 390) * 238 * 1vw);
            }
          }
        }
        .item[data-id='08'] {
          left: 418px;
          bottom: 0;
          @media (width <= 768px) {
            left: unset;
            bottom: unset;
            grid-area: 5/1/7/4;
            & img {
              inline-size: calc((100 / 390) * 201 * 1vw);
              block-size: calc((100 / 390) * 238 * 1vw);
            }
          }
        }
        .item[data-id='09'] {
          right: 0;
          top: 326px;
          @media (width <= 768px) {
            right: unset;
            top: unset;
            grid-area: 5/4/6/5;
            & img {
              inline-size: calc((100 / 390) * 141 * 1vw);
              block-size: calc((100 / 390) * 111 * 1vw);
            }
          }
        }
        .item[data-id='10'] {
          right: 0;
          bottom: 0;
          @media (width <= 768px) {
            right: unset;
            bottom: unset;
            grid-area: 6/4/7/5;
            & img {
              inline-size: calc((100 / 390) * 141 * 1vw);
              block-size: calc((100 / 390) * 111 * 1vw);
            }
          }
        }
      }
    }
  }

  /* =====================
    construction
  ===================== */
  .construction {
    position: relative;
    padding-block-end: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/works/construction_bg.png');
    inline-size: 100%;

    @media (width <= 768px) {
      background-image: url('../img/works/construction_bg_2x.png');
      padding-block-end: calc((100 / 390) * 88 * 1vw);
    }

    .u-inner {
      position: relative;

      .wrap {
        padding-block: 64px;
        padding-inline: 64px;
        border-radius: 16px;
        background-color: #eaf2f6;

        @media (width <= 768px) {
          padding-block: calc((100 / 390) * 40 * 1vw);
          padding-inline: calc((100 / 390) * 24 * 1vw);
          border-radius: calc((100 / 390) * 16 * 1vw);
        }

        .title {
          position: relative;
          background-image: linear-gradient(92deg, #22327e 34%, #5d69a1 54%, #0f1b53 79%);
          font-family: var(--shippori);
          font-size: 22px;
          line-height: 1.3;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          display: block grid;
          gap: 23px;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 18 * 1vw);
            gap: calc((100 / 390) * 19 * 1vw);
          }

          &::after {
            content: '';
            display: block flow;
            inline-size: 100%;
            block-size: 1px;
            background: linear-gradient(139deg, #22327e 34.75%, #5d69a1 55.2%, #0f1b53 81.5%);
          }
        }

        .construction_list {
          display: block grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 21.2px 40px;
          font-size: 15px;
          line-height: 1.9;
          margin-block-start: 40px;

          @media (width <= 768px) {
            grid-template-columns: 1fr;
            gap: calc((100 / 390) * 16.5 * 1vw) 0;
            font-size: calc((100 / 390) * 14 * 1vw);
            margin-block-start: calc((100 / 390) * 24 * 1vw);
          }
        }

        &[data-id='2'] {
          margin-block-start: 64px;

          @media (width <= 768px) {
            margin-block-start: calc((100 / 390) * 40 * 1vw);
          }
        }
      }
    }
  }
}
