@charset "UTF-8";
.main {
  /* =====================
    MV
  ===================== */
  .u-mv {
    background-image: unset;
    background-color: #eaf2f6;

    .u-inner {
      position: relative;
      z-index: 3;

      &::before {
        background-image: url('../img/company/mv.png');
      }

      @media (width <= 768px) {
        &::before {
          background-image: url('../img/company/mv_2x.png');
        }
      }
    }
  }

  /* =====================
    message
  ===================== */
  .message {
    position: relative;
    padding-block-start: 23px;
    padding-block-end: 115px;
    background-color: #eaf2f6;

    @media (width <= 768px) {
      padding-block-start: calc((100 / 390) * 1 * 1vw);
      padding-block-end: calc((100 / 390) * 88 * 1vw);
    }

    &::before {
      content: '';
      display: block flow;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center top;
      background-image: url('../img/company/mv_bg.png');
      inline-size: 100%;
      block-size: 1446px;
      position: absolute;
      left: 0;
      bottom: 0;
      z-index: 1;
      pointer-events: none;
    }

    @media (width <= 768px) {
      &::before {
        background-image: url('../img/company/mv_bg_2x.png');
        inline-size: 100%;
        block-size: calc((100 / 390) * 1605 * 1vw);
      }
    }

    &::after {
      content: '';
      display: block flow;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      background-image: url('../img/company/deco.png');
      inline-size: 1224px;
      block-size: 702px;
      mix-blend-mode: plus-lighter;
      position: absolute;
      left: 48%;
      bottom: 110px;
      z-index: 1;
      transform: translateX(-50%);
      pointer-events: none;
    }

    @media (width <= 768px) {
      &::after {
        background-image: url('../img/company/deco_2x.png');
        inline-size: calc((100 / 390) * 358 * 1vw);
        block-size: calc((100 / 390) * 908 * 1vw);
        left: 50%;
        bottom: calc((100 / 390) * 127 * 1vw);
      }
    }
    .u-inner {
      position: relative;
      z-index: 5;

      .catch {
        background-image: linear-gradient(97deg, #22327e 34%, #5d69a1 54%, #0f1b53 79%);
        font-family: var(--shippori);
        font-size: 24px;
        line-height: 1.3;
        text-align: center;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-block-start: 64px;

        @media (width <= 768px) {
          font-size: calc((100 / 390) * 20 * 1vw);
          margin-block-start: calc((100 / 390) * 47 * 1vw);
        }
      }

      .description {
        text-align: center;
        line-height: 1.9;
        margin-block-start: 44px;

        @media (width <= 768px) {
          text-align: left;
          line-height: 1.87;
          margin-block-start: calc((100 / 390) * 39 * 1vw);
        }
      }

      .name-set {
        margin-block-start: 41px;
        display: block flex;
        align-items: baseline;
        justify-content: center;
        gap: 16px;
        font-size: 15px;

        @media (width <= 768px) {
          margin-block-start: calc((100 / 390) * 30 * 1vw);
          gap: calc((100 / 390) * 16 * 1vw);
          font-size: calc((100 / 390) * 14 * 1vw);
        }

        & dd {
          font-size: 21px;
          font-family: var(--name);
          line-height: 1.5;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 19 * 1vw);
          }
        }
      }
    }
  }

  /* =====================
    Philosophy
  ===================== */
  .philosophy {
    padding-block-start: 108px;
    padding-block-end: 120px;

    @media (width <= 768px) {
      padding-block-start: calc((100 / 390) * 66 * 1vw);
      padding-block-end: calc((100 / 390) * 88 * 1vw);
    }

    .u-inner {
      .philosophy_wrap {
        position: relative;
        padding-block: 64px;
        padding-inline: 64px;
        border-radius: 16px;
        background-image: linear-gradient(107deg, #22327e 35%, #5d69a1 54%, #0f1b53 80%);
        color: #fff;
        margin-block-start: 64px;

        @media (width <= 768px) {
          padding-inline: calc((100 / 390) * 24 * 1vw);
          padding-block-start: calc((100 / 390) * 254 * 1vw);
          padding-block-end: calc((100 / 390) * 38 * 1vw);
          margin-block-start: calc((100 / 390) * 47 * 1vw);
        }

        .catch {
          font-family: var(--shippori);
          font-size: 24px;
          line-height: 1.5;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 20 * 1vw);
            text-align: center;
          }
        }

        .description {
          line-height: 1.9;
          margin-block-start: 38px;

          @media (width <= 768px) {
            margin-block-start: calc((100 / 390) * 24 * 1vw);
          }
        }

        &::after {
          content: '';
          display: block flow;
          background-repeat: no-repeat;
          background-size: contain;
          background-position: center;
          background-image: url('../img/company/philosophy.png');
          inline-size: 483px;
          block-size: 397px;
          position: absolute;
          right: 66px;
          bottom: 60px;
          pointer-events: none;
        }

        @media (width <= 768px) {
          &::after {
            background-image: url('../img/company/philosophy_2x.png');
            inline-size: calc((100 / 390) * 208 * 1vw);
            block-size: calc((100 / 390) * 181 * 1vw);
            position: absolute;
            right: unset;
            bottom: unset;
            left: 50%;
            transform: translateX(-50%);
            top: calc((100 / 390) * 40 * 1vw);
          }
        }
      }
    }
  }
  /* =====================
    Outline
  ===================== */
  .outline {
    padding-block-start: 104px;
    padding-block-end: 120px;
    background-color: #eaf2f6;

    @media (width <= 768px) {
      padding-block-start: calc((100 / 390) * 64 * 1vw);
      padding-block-end: calc((100 / 390) * 88 * 1vw);
    }

    .u-inner {
      .outline_wrap {
        .u-table {
          margin-block-start: 34px;

          @media (width <= 768px) {
            margin-block-start: calc((100 / 390) * 26 * 1vw);
          }
        }
      }
    }
  }

  /* =====================
    access
  ===================== */
  .access {
    position: relative;
    padding-block-start: 101px;
    padding-block-end: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/company/access_bg.png');
    inline-size: 100%;

    @media (width <= 768px) {
      background-image: url('../img/company/access_bg_2x.png');
      padding-block-start: calc((100 / 390) * 63 * 1vw);
      padding-block-end: calc((100 / 390) * 88 * 1vw);
    }
    .u-inner {
      @media (width <= 768px) {
        padding-inline: calc((100 / 390) * 16 * 1vw);
      }

      .wrap {
        display: block grid;
        align-items: start;
        justify-content: space-between;
        gap: 0 48px;

        @media (width <= 768px) {
          grid-template-columns: 1fr;
          gap: 0;
        }

        & iframe {
          grid-area: 1/2/4/3;
          inline-size: 853px;
          block-size: 386px;
          flex-shrink: 0;

          @media (width <= 768px) {
            grid-area: 2/1/3/2;
            inline-size: 100%;
            block-size: calc((100 / 390) * 240 * 1vw);
            margin-block-start: calc((100 / 390) * 46 * 1vw);
          }
        }

        .u-hgroup {
          grid-area: 1/1/2/2;
          margin-block-start: 5px;

          @media (width <= 768px) {
            grid-area: 1/1/2/2;
            margin-block-start: 0;
          }
        }

        .address {
          grid-area: 2/1/3/2;
          line-height: 1.9;
          margin-block-start: 62px;

          @media (width <= 768px) {
            grid-area: 3/1/4/2;
            line-height: 1.88;
            margin-block-start: calc((100 / 390) * 24 * 1vw);
          }
        }

        .u-anchor {
          grid-area: 3/1/4/2;
          margin-block-start: 48px;

          @media (width <= 768px) {
            grid-area: 4/1/5/2;
            margin-block-start: calc((100 / 390) * 39 * 1vw);
          }
        }
      }
    }
  }
}
