@charset "utf-8";

.company-sec1 {
  padding: 100px 0;
  @media (max-width: 960px) {
    padding: 50px 0;
  }
  .company-sec1__table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    grid-auto-flow: column;
    gap: 8px;
    @media (max-width: 960px) {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      grid-auto-flow: row;
    }
  }
  .table-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px;
    @media (max-width: 960px) {
      grid-template-columns: 1fr;
    }
  }
  .table-item__title {
    background-color: #f6f1ee;
    color: #816354;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    font-family: 'dnp-shuei-mgothic-std', sans-serif;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    @media (max-width: 960px) {
      font-size: 16px;
      height: 40px;
    }
  }
  .table-item__body {
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 16px;
    @media (max-width: 960px) {
      justify-content: center;
      padding: 8px;
      font-size: 15px;
    }
  }
  .u-pc-only {
    display: inline;
    @media (max-width: 960px) {
      display: none;
    }
  }
}

.company-sec2 {
  padding: 130px 0;
  background: url(../img/company/sec2-bg.webp) no-repeat;
  background-size: 100% 100%;
  @media (max-width: 960px) {
    padding: 60px 0;
    background: url(../img/company/sec2-bg-sp.webp) no-repeat;
    background-size: 100% 100%;
  }
  .company-sec2__documents {
    margin-bottom: 60px;
    @media (max-width: 960px) {
      margin-bottom: 34px;
    }
  }
  .company-sec2__documents:last-of-type {
    margin-bottom: 0;
  }
  .company-sec2__documents-category {
    font-family: 'dnp-shuei-mgothic-std', sans-serif;
    font-weight: 700;
    font-size: 35px;
    color: #816354;
    margin-bottom: 38px;
    @media (max-width: 960px) {
      font-size: 20px;
      margin-bottom: 20px;
    }
  }
  .company-sec2__documents-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #9e8b79;
    @media (max-width: 960px) {
      font-size: 16px;
      align-items: flex-start;
    }
    .label {
      width: 90px;
      color: #d80000;
      border: 1px solid #d80000;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 5px;
      font-family: 'dnp-shuei-mgothic-std', sans-serif;
      font-weight: 700;
      @media (max-width: 960px) {
        font-size: 12px;
        margin-top: 3px;
      }
    }
  }
}

.company-sec3 {
  padding: 100px 0;
  @media (max-width: 960px) {
    padding: 50px 0;
  }
  .map-wrapper {
    max-width: 1000px;
    margin-inline: auto;
    height: 480px;
    margin-bottom: 28px;
    @media (max-width: 960px) {
      height: auto;
      aspect-ratio: 320/160;
      margin-bottom: 18px;
    }
    iframe {
      width: 100%;
      height: 100%;
    }
  }
  .map-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    .icon {
      @media (max-width: 960px) {
        width: 20px;
      }
    }
  }
}
