/*==============================================================
about-us
==============================================================*/
/*message*/
.message {
  background-color: #f3f3f3;
}

.message .box {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  gap: 40px;

  @media screen and (max-width: 991px) {
    flex-direction: column-reverse;
  }
}

.message-left {
  padding: 0 0 0 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;

  @media screen and (max-width: 991px) {
    padding: 0;
    gap: 16px;
  }
}

.message-ttl {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-ttl-en {
  font-size: clamp(0.875rem, 0.7917rem + 0.1736vw, 1rem);
  padding-left: 1.4rem;
  position: relative;
}

.message-ttl-en::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: #000;
  border-radius: 50%;
}

.message-ttl-jp {
  font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);
  font-family: "ab-ootori", sans-serif;
  font-weight: 400;
  font-style: normal;

  @media screen and (max-width: 991px) {
    text-align: center;
  }
}

.message-des {
  line-height: 2;

  @media screen and (max-width: 991px) {
    line-height: 1.4;
  }
}

.message-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-end;
  padding-top: 8%;

  @media screen and (max-width: 991px) {
    width: 100%;
    gap: 16px;
  }
}

.message-right-img img {
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.president-name-cont {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.president-role {
  font-family: "ab-ootori", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(0.875rem, 0.7917rem + 0.1736vw, 1rem);
}

.president-name {
  font-family: "ab-ootori", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.5rem, 1.1667rem + 0.6944vw, 2rem);
}

/*経営理念*/
.philosophy {
  background-color: #000;
}

.philosophy-ttl {
  border-bottom: 1px solid #ffffff73;
}

.philosophy-ttl-cont {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px 32px;
  max-width: 1560px;
  margin: 0 auto;

  @media screen and (max-width: 991px) {
    padding: 40px 16px;
    flex-direction: column;
    gap: 4px;
  }
}

.philosophy-ttl-en {
  font-size: clamp(2.5rem, 1.6667rem + 1.7361vw, 3.75rem);
}

.philosophy-ttl-jp {
  font-size: 0.8rem;
  padding: 6px 16px;
  border: 1px solid #ffffff69;
  border-radius: 50px;
  color: #ffffff80;
}

.philosophy-main-cont {
}

.philosophy-main-line {
  border-bottom: 1px solid #ffffff73;
}

.philosophy-main {
  display: flex;
  align-items: center;
  gap: 20%;
  padding: 40px 32px;
  max-width: 1200px;
  margin: 0 auto;

  @media screen and (max-width: 991px) {
    padding: 40px 16px;
    flex-direction: column;
    gap: 16px;
  }
}

.philosophy-main-bg {
  background-color: #292929;
}

.philosophy-main-ttl {
  font-size: clamp(1.5rem, 1.1667rem + 0.6944vw, 2rem);
  padding-left: 4rem;
  line-height: 1;
  position: relative;
  flex: 1;

  @media screen and (max-width: 991px) {
    padding-left: 24px;
  }

  @media screen and (max-width: 560px) {
    padding-left: 0;
  }
}
.philosophy-main-des {
  line-height: 1.4;
  flex: 5.5;
}

/*----------------------会社情報----------------------*/
.information .cont {
  padding: 80px 32px 0;
}

.information-corp-cont {
  display: flex;
  flex-direction: column;
}

.information-corp-box {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
}

.information-corp-item {
  padding: 80px 32px;

  @media screen and (max-width: 991px) {
    padding: 40px 16px;
  }
}

.information-corp-hardware {
  background-color: #f3f3f3;
}

.information-corp-construction {
  background-color: #e5e5e5;
}

.information-corp-name {
  width: 100%;
  padding-bottom: 16px;
  padding-left: 16px;
  border-bottom: 2px solid #c5c5c5;

  @media screen and (max-width: 991px) {
    padding-left: 0px;
  }
}

.information-corp-name img {
  width: auto;
  max-height: 48px;
}

.information table {
  display: flex;
  justify-content: flex-end;

  @media screen and (max-width: 991px) {
    justify-content: center;
  }
}

.information tbody {
  width: 100%;
}

.information tr {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #c5c5c5;

  @media screen and (max-width: 991px) {
    flex-direction: column;
  }
}

.information th,
.information td {
  padding: 40px;

  @media screen and (max-width: 991px) {
    padding: 0;
  }
}

.information th {
  flex: 1;

  @media screen and (max-width: 991px) {
    width: 100%;
    padding: 6px 16px 2px;
  }
}

.information td {
  width: 70%;

  @media screen and (max-width: 991px) {
    width: 100%;
    padding: 2px 16px 6px 24px;
  }
}

.information td img {
  width: 100%;
  max-height: 64px;
}

.table-flex {
  display: flex;
  gap: 16px;

  @media screen and (max-width: 991px) {
    justify-content: center;
  }
}
.info-map {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;

  @media screen and (max-width: 991px) {
    margin-top: 24px;
    justify-content: center;
  }
}

.info-map iframe {
  width: 100%;
  height: 460px;
  display: flex;
  justify-content: flex-end;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

  @media screen and (max-width: 991px) {
    width: 100%;
    justify-content: center;
    height: 320px;
  }
}

* 敷地面積リスト */ .area-list {
  line-height: 1.8;
}

.area-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 0;
}

.area-location {
  flex: 1;
  padding-right: 20px;
}

.area-size {
  white-space: nowrap;
  text-align: right;
  font-weight: 500;
}

.area-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ddd;
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 991px) {
  .area-item,
  .area-total {
    flex-direction: column;
    align-items: flex-start;
  }

  .area-location {
    padding-right: 0;
    margin-bottom: 2px;
  }

  .area-size {
    padding-left: 10px;
    width: 100%;
  }
}

.area-total.pc {
  @media (max-width: 991px) {
    display: none;
  }
}

.area-total.sp {
  display: none;
  @media (max-width: 991px) {
    display: flex;
  }
}

/*----------------------取り組み----------------------*/
.approach-area {
  background: linear-gradient(135deg, #000000, #545454);
}

.approach .box {
  max-width: 1150px;
}

.approach-box {
  display: flex;
  flex-direction: column;
  gap: 40px;

  @media screen and (max-width: 991px) {
    gap: 24px;
  }
}

.approach-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  @media screen and (max-width: 991px) {
    padding: 40px 16px;
  }
}

.approach-ttl-en {
  font-size: clamp(1.5rem, 1rem + 1.0417vw, 2.25rem);
}

.approach-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.approach-sub-ttl {
  background-color: #ffdd00;
  border-radius: 50px;
  padding: 4px 16px;
}
.approach-sub-ttl.green {
  background-color: #00b524;
  color: #fff !important;
}
.approach-sub-ttl.light-b {
  background-color: #00b5af;
  color: #fff;
}

.approach-des-box {
  max-width: 910px;
  margin: 0 auto;
  width: 100%;
}

.approach-des {
  line-height: 1.6;
}

.approach-sub-des {
  background-color: #f5f5f5;
  padding: 24px;
  border-radius: 10px;
  width: 100%;

  @media screen and (max-width: 991px) {
    padding: 10px;
  }
}

.approach-pdf {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;

  @media screen and (max-width: 991px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.pdf-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 26px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

  @media screen and (max-width: 991px) {
    padding: 12px 24px;
  }
}

.approach-pdf img {
  width: 100%;
  max-width: 40px;
}

/*----------------------組織図----------------------*/
.organization .box {
  max-width: 1320px;
}

.organization-cont {
  padding: 8px;
  background: linear-gradient(to bottom, #d2d2d2, #ffffff, #a2a2a2, #d5d5d5, #cfcfcf);
  border-radius: 10px;
}

.organization-box {
  padding: 64px 32px;
  background: linear-gradient(to bottom, #989898, #4c4c4c);
  border-radius: 10px;

  @media screen and (max-width: 991px) {
    padding: 16px;
  }
}

.organization-cont img {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/*----------------------沿革----------------------*/
.history table {
  border-top: 1px solid #a5a5a5;
  width: 100%;
}

.history tbody {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.history tr {
  width: 100%;
  border-bottom: 1px solid #a5a5a5;

  @media screen and (max-width: 991px) {
    display: flex;
    flex-direction: column;
  }
}

.history th,
.history td {
  padding: 40px;

  @media screen and (max-width: 991px) {
    padding: 0px;
  }
}
.history th {
  padding-left: 120px;
  @media screen and (max-width: 991px) {
    padding: 8px 16px 2px;
  }
}
.history td {
  @media screen and (max-width: 991px) {
    padding: 2px 16px 8px;
  }
}

.history-list {
  @media screen and (max-width: 991px) {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

.history li {
  display: flex;
  gap: 16px;

  @media screen and (max-width: 991px) {
    gap: 0px;
  }
}

.history .month {
  font-weight: 600;
  width: 60px;

  @media screen and (max-width: 991px) {
    width: 60px;
  }
}

.history .text {
  flex: 1;
}

#hardware,
#construction {
  scroll-margin-top: 120px;
}

.eco-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}

.information td {
  .eco-table-flex {
    display: flex;
    flex-direction: column;
    gap: 8px;

    @media screen and (max-width: 991px) {
      justify-content: center;
    }

    .eco-flex {
      display: flex;
      align-items: center;
      gap: 6px;
      transition: opacity 0.2s ease;

      &:hover {
        opacity: 0.6;

        .eco-ttl {
          text-decoration: underline;
        }
      }
    }

    .eco-ttl {
      text-decoration: none;
    }

    & img {
      height: 64px;
      width: auto;
      max-width: none;
      flex-shrink: 0;
      align-self: flex-start;
      object-fit: contain;
    }
  }
}
.information td .eco-flex img {
  width: auto;
  height: 64px;
  max-height: none;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;

  @media screen and (max-width: 560px) {
    height: 48px;
  }
}

.company-table-flex {
  display: flex;
  justify-content: flex-end;
  gap: 40px;

  @media screen and (max-width: 560px) {
    flex-direction: column;
    gap: 24px;
  }

  .company-message {
    flex: 1;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    & img {
      border-radius: 10px;
    }

    .message-txt {
      line-height: 1.5;
    }

    .message-name-cont {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;

      .role {
        width: 100%;
        max-width: 100px;
        margin-top: 2px;
      }

      .name {
        width: max-content;
        height: 22px;

        & img {
          width: auto;
          height: 100%;
          object-fit: contain;
        }
      }
    }

    .company-img {
      padding: 10px;
      background-color: #ccc;
      border-radius: 10px;
    }
  }

  .table-right {
    flex: 2;
  }
}

.information-corp-construction,
.information-corp-hardware {
  .company-table-flex {
    .table-right {
      width: 100%;
      max-width: 66%;

      @media screen and (max-width: 1280px) {
        max-width: 80%;
      }

      @media screen and (max-width: 991px) {
        max-width: 85%;
      }

      @media screen and (max-width: 560px) {
        max-width: 100%;
      }
    }
  }
}

.info-flex {
  display: flex;
  width: 100%;
  max-width: 75%;

  @media screen and (max-width: 1280px) {
    max-width: 100%;
  }

  .left {
    min-width: 205px;
  }

  .right {
    flex: 1;
  }
}
