@charset "utf-8";

.mv_sub {
  &::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    background-image: url("../img/company/mv_sp.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    top: 0;
    left: calc(50% - 50vw);
    width: 1600px;
    aspect-ratio: 1600 / 300;
    border-radius: 0 15px 15px 0;

    @media screen and (max-width: 768px) {
      background-image: url("../img/company/mv_sp.jpg");
      left: 0;
      width: 94.87%;
      aspect-ratio: 370 / 120;
      border-radius: 0 calc(15 / 390 * 100vw) calc(15 / 390 * 100vw) 0 0;
    }
  }
}

.philosophy {
  padding: 50px 0 100px;

  .inner {
    width: 900px;
  }

  .ttl02 {
    margin-bottom: 48px;
  }

  strong {
    display: block;
    font-weight: bold;
    font-size: 28px;
    letter-spacing: 0.05em;
    line-height: calc(50.4 / 28);
    color: var(--color01);
    margin-bottom: 21px;
  }

  .text00 {
    text-indent: 1em;
  }

  h4 {
    font-weight: bold;
    font-size: 24px;
    line-height: calc(43.2 / 24);
    text-align: right;
    margin: 23px auto 0 0;

    .size_s {
      display: block;
      font-weight: 500;
      font-size: 14px;
      line-height: 2;
      margin-bottom: 2px;
    }
  }

  @media screen and (max-width: 768px) {
    padding: calc(50 / 390 * 100vw) 0;

    .inner {
      width: 89.74%;
    }

    .ttl02 {
      margin-bottom: calc(30 / 390 * 100vw);
    }

    strong {
      font-size: calc(18 / 390 * 100vw);
      letter-spacing: 0;
      line-height: calc(32.4 / 18);
      margin-bottom: calc(14 / 390 * 100vw);
    }

    h4 {
      font-weight: bold;
      font-size: calc(20 / 390 * 100vw);
      line-height: calc(43.2 / 20);
      margin: calc(13 / 390 * 100vw) auto 0 0;

      .size_s {
        font-size: calc(14 / 390 * 100vw);
        margin-bottom: 0;
      }
    }
  }
}

.data {
  padding: 100px 0;
  background: var(--color03);

  .inner {
    width: 900px;
  }

  .ttl02 {
    margin-bottom: 50px;
  }

  .data_content {
    padding: 17px 20px;
    border-top: 1px solid #ccc;
    display: flex;
    font-weight: 500;
    font-size: 16px;
    line-height: calc(28.8 / 16);

    &:last-of-type {
      border-bottom: 1px solid #ccc;
    }

    dt {
      width: 136px;
      font-weight: bold;
      font-size: 16px;
    }

    dd {
      width: 764px;
    }
  }

  @media screen and (max-width: 768px) {
    padding: calc(50 / 390 * 100vw) 0;

    .inner {
      width: 89.74%;
    }

    .ttl02 {
      margin-bottom: calc(30 / 390 * 100vw);
    }

    .data_content {
      padding: calc(20 / 390 * 100vw) calc(20 / 390 * 100vw) calc(14 / 390 * 100vw);
      flex-flow: column;
      gap: calc(5 / 390 * 100vw);
      font-size: calc(16 / 390 * 100vw);

      dt {
        width: 100%;
        font-size: calc(16 / 390 * 100vw);
      }

      dd {
        width: 100%;
      }
    }
  }
}

.permit {
  padding: 100px 0;

  .inner {
    width: 1024px;
  }

  .wrapper_data {
    display: contents;
  }

  .ttl02 {
    margin-bottom: 50px;
  }

  dl {
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    border: 1px solid #ccc;

    .data_content {
      width: 20%;
      display: flex;
      flex-flow: column;
      align-self: stretch;
      font-weight: 500;
      font-size: 16px;
      line-height: calc(28.8 / 16);
      text-align: center;
      border-right: 1px solid #ccc;

      &:last-child {
        border: 0;
      }

      >* {
        padding: 17px 20px;
        background: #fff;
        border-bottom: 1px solid #ccc;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;

        &:last-child {
          border: 0;
        }

        a {
          color: var(--color02);
          border-bottom: 1px solid var(--color02);
          font-size: 14.5px;
        }
      }

      .head {
        height: auto;
        background: var(--color01);
        color: #fff;
      }
    }
  }

  @media screen and (max-width: 768px) {
    padding: calc(50 / 390 * 100vw) 0;

    .inner {
      width: 76.92%;
    }

    .ttl02 {
      margin-bottom: calc(30 / 390 * 100vw);
    }

    .wrapper_data {
      display: block;
      margin-right: calc(50% - 50vw);
      overflow: scroll;
      padding-right: 15%;
    }

    dl {
      width: calc(1024 / 390 * 100vw);
      border-radius: calc(10 / 390 * 100vw);

      .data_content {
        width: 20%;
        font-size: calc(16 / 390 * 100vw);

        >* {
          padding: calc(17 / 390 * 100vw) calc(20 / 390 * 100vw);

          a {
            font-size: calc(14.5 / 390 * 100vw);
          }
        }
      }
    }
  }
}

.partners {
  padding: 0;

  .inner {
    width: 900px;
  }

  .ttl02 {
    margin-bottom: 50px;
  }

  ul {
    display: flex;
    flex-flow: column;
    gap: 30px;

    li a {
      display: block;
      margin: 0 auto;

      &.p001 {
        width: 300px;
      }
    }
  }

  @media screen and (max-width: 768px) {
    padding: 0 0 calc(50 / 390 * 100vw);

    .inner {
      width: 76.92%;
    }

    .ttl02 {
      margin-bottom: calc(30 / 390 * 100vw);
    }

    ul {
      display: flex;
      flex-flow: column;
      gap: calc(30 / 390 * 100vw);

      li a {
        display: block;
        margin: 0 auto;

        &.p001 {
          width: 100%;
        }
      }
    }
  }
}

ul li.variable_text {
  text-align: center;
  line-height: 1.5;

  @media screen and (max-width: 768px){
    text-align: left;
  }
}