#page__mv {
  margin-bottom: 15rem;
    & .page__mvWrap {
      .page__mvTextarea {
          min-width: 21rem;
      }
  }
    @media (max-width:767px) {
      margin-bottom: 9rem;
    }
}

#company {
  font-size: 2rem;
  font-weight: normal;
  hgroup {
    margin-bottom: 5.75rem;
  }
  .message__bg {
    padding-bottom: 6rem;
    background-image: linear-gradient(#E6F4FF, #E6F4FF);
    background-position: right 0 bottom 0;
    background-size: 85% 93%;
    background-repeat: no-repeat;
    position: relative;
  }
  .message__bg::before {
    content: "";
    position: absolute;
    background-image: url(../../img/company/bg_company_02.png);
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    bottom: -30rem;
    width: 60rem;
    height: 100rem;
    z-index: -1;
  }
  .message {
    .message__img {
      max-width: 37.9rem;
      height: fit-content;
      position: relative;
    }
    .message__img::after {
      content: "";
      background: linear-gradient(90deg, #33A2FF, #84C7FF);
      position: absolute;
      top: 0;
      left: 2.2rem;
      width: 105%;
      height: 106%;
      z-index: 1;
    }
    img {
      position: relative;
      z-index: 2;
    }
    .grid {
      grid-template-columns: 31.6% auto;
      gap: 12rem;
    }
    .message__text {
      max-width: 70rem;
      p {
        padding-bottom: 1rem;
        line-height: 2;
        letter-spacing: 0.04em;
      }
      ul {
        padding-bottom: 1.5rem;
        margin-top: 1rem;
      }
      ul li::before {
        content: "";
        display: inline-block;
        background-color: var(--colorMainBlue);
        width: 1rem;
        height: 1rem;
        border-radius: 50%;
        margin-right: 1rem;
      }
      li {
        padding-bottom: 1rem;
      }
    }
    .ceo-name {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      margin-top: 3rem;
      .ceo-name__furigana {
      font-size: 1.4rem;
      letter-spacing: 0.4em;
      }
      .ceo-name__kanji {
        font-size: 3rem;
        line-height: 1;
      }
    }
  }
  .information__bg {
      position: relative;
      margin-top: 16rem;
    }
    .information__bg::before {
      content: "";
      position: absolute;
      background-image: url(../../img/company/bg_company_02.png);
      background-repeat: no-repeat;
      background-size: cover;
      transform: scale(-1, 1);
      right: 0;
      bottom: -60rem;
      width: 60rem;
      height: 100rem;
      z-index: -1;
    }
  .information {
    .grid {
      grid-template-columns: 58.4% auto;
      gap: 8rem;
      padding-top: 1rem;
    }
    .information__table {
      max-width: 70.1rem;
      tr {
        display: block;
        border-top: 1px solid var(--colorGray);
       
      }
      tr:last-of-type {
        border-bottom: 1px solid var(--colorGray);
      }
      tr:nth-child(1) td {
         line-height: 2;
      }
      th {
        width: 14rem;
        text-align: center;
        vertical-align: middle;
        border-right: 1px solid var(--colorGray);
      }
      td {
        width: 56.1rem;
        padding: 2rem 0 2rem 3rem;
      }
      }
      .information__img {
        max-width: 37.9rem;
        height: fit-content;
        position: relative;
        z-index: 2;
      }
      .information__img::after {
      content: "";
      background: linear-gradient(90deg, #33A2FF, #84C7FF);
      position: absolute;
      top: 0;
      left: 2.2rem;
      width: 105%;
      height: 106%;
      z-index: 1;
    }
    img {
      position: relative;
      z-index: 2;
    }
  }
  .access {
    margin-top: 18rem;
    padding-bottom: 6rem;
    background-image: linear-gradient(90deg, #33A2FF, #84C7FF);
    background-position: right 0 bottom 0;
    background-size: 51.8% 60%;
    background-repeat: no-repeat;
    .grid {
      grid-template-columns: 67.1% auto;
      gap: 6rem;
    }
    .access__map {
      width: 67.1%;
    }
    iframe {
      width: 80.5rem;
      height: 47rem;
    }
    .access__text {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      position: relative;
      bottom: -1rem;
      p {
      padding-bottom: 2rem;
      }
      p:last-of-type {
        padding-bottom: 0;
      }
    }
  }
  .management-philosophy__bg {
    padding-bottom: 10rem;
    margin-block: 15.5rem 18rem;
    background-color: var(--colorWhite);
    background-image: url(../../img/company/bg_company_01.png);
    background-position: left 0 bottom 0;
    background-size:85% 91%;
    background-repeat: no-repeat;
    position: relative;
  }
  .management-philosophy__bg::before {
    content: "";
    position: absolute;
    background-image: url(../../img/company/bg_company_02.png);
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    bottom: -60rem;
    width: 60rem;
    height: 100rem;
    z-index: -1;
  }
  .management-philosophy { 
    ul {
        padding-top: 1.5rem;
      li {
        border-top: 1px solid var(--colorMainBlue);
      }
      li:nth-child(2),li:nth-child(3) {
        padding-block: 1.7rem;
      }
      li:last-of-type {
        border-bottom: 1px solid var(--colorMainBlue);
      }
      .grid {
        grid-template-columns: 0.5fr 2fr 3fr;
        padding: 1.8rem 0;
        align-items: center;
        .philosophy__list-num {
          font-size: 3.6rem;
          color: var(--colorWhite);
          text-align: center;
          display: flex;
          align-items: center;
          justify-content: center;
          background-size: 6rem 6rem;
          background-position: center;
          background-image: linear-gradient(-45deg, #00A8FB 0 50%, var(--colorMainBlue) 50% 100%);
          background-repeat: no-repeat;
          line-height: 1;
          width: 6rem;
          height: 6rem;
        }
        .philosophy__list {
          font-size: 2.4rem;
          font-weight: bold;
          display: flex;
          align-items: center;
        }
        p {
          line-height: 2;
          letter-spacing: 0.1em;
        }
        span {
          font-weight: bold;
        }
      }
    }   
  }

   @media (max-width:1300px) {
    .access {
      .grid {
        grid-template-columns: 60% auto;
        iframe {
          width: 100%;
        }
      }
    }
   }

  @media (max-width:767px) {
    .message {
        .grid {
            grid-template-columns: 1fr;
            gap: 7rem;
        }
        .message__img {
          max-width: fit-content;
        }
    }
    .message__bg {
        background-size: 100% calc(100% - 7.5rem);
        &::before {
          content: unset;
        }
    }
    .information__bg::before{
      content: unset;
    }
		.information {
      .information__img {
        max-width: fit-content;
      }

      .information__table {
        margin-bottom: 7rem;
      }
      .information__table tr {
        display: grid;
        grid-template-columns: 35% auto;
      }
      .information__table th, .information__table td {
        width: 100%;
        padding: 3.1rem 1rem;
        align-content: center;
      }
      .grid {
        grid-template-columns: 1fr;
        gap: 0;
      }
      .information__table th {
        border-right: 0.1rem solid var(--colorGray);
      }
    }
    
        .information__bg {
          margin-top: 10rem;
        }
    .access {
      margin-top: 13rem;
      background-size: 100% 60%;
      .access__text  {
        padding-inline: 3rem;
      }
      .access__map {
        margin-bottom: 3rem;
        width: 100%;
      }
      iframe {
        width: 100%;
      }
      .grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }
    }
    .management-philosophy__bg {
      background-size: 100% 92%;
      margin-block: 10rem 15rem;
      &::before {
        content: unset;
      }
      .management-philosophy {
        .grid {
          .philosophy__list-num {
            padding-bottom: 0;
            margin-bottom: 1rem;
          }
          grid-template-columns: 1fr;
          padding-bottom: 1rem;
          place-items: center;
          p {
            padding-bottom: 1rem;
          }
        }
      }
    }
	}
}