/*==============================================================
about-us
==============================================================*/
/*message*/
.message {
  .cont {
    padding: 120px 40px;

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

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

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

    .box {
      max-width: 1240px;

      .item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 80px;

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

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

        .left {
          flex: 1;

          .img {
            width: 100%;
            position: relative;
            max-width: 90%;
            margin: 0 auto;

            &::before {
              content: "";
              position: absolute;
              top: 35%;
              left: -10%;
              transform: translateY(-50%);
              width: 31%;
              height: 100%;
              background-color: #1f2e553a;
              border-radius: 5px;
              z-index: -1;

              @media screen and (max-width: 560px) {
                top: 36%;
                left: -5%;
                height: 90%;
              }
            }

            &::after {
              content: "";
              position: absolute;
              top: 50%;
              right: 20%;
              transform: translateY(-50%);
              width: 50%;
              height: 120%;
              background-color: #1f2e553a;
              border-radius: 5px;
              z-index: -1;

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

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

        .right {
          flex: 1.2;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          gap: 80px;

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

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

          .president-name-cont {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-end;
            gap: 8px;

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

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

/*----------------------会社情報----------------------*/
.information {
  .under-ttl {
    border-top: 1px solid #ffffff;
  }

  .cont {
    padding: 80px 40px;

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

    .box {
      max-width: 1320px;

      .ttl-under-line {
        content: "";
        display: block;
        width: 100%;
        max-width: 90%;
        margin: 24px 0 0px auto;
        height: 1px;
        background: #ccc;
      }

      .corp-cont {
        display: flex;
        width: 100%;
        margin: 0 0 0 auto;
        flex-direction: column;
        gap: 16px;

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

      .corp-name {
        width: 100%;
        padding-bottom: 16px;
        padding-left: 16px;

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

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

      & tbody {
        width: 100%;
      }

      & tr {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #ccc;

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

      & th,
      & td {
        padding: 40px;

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

      & th {
        flex: 1;
        color: #1d6af1;
        white-space: nowrap;

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

      & td {
        flex: 8;
        padding: 40px 16px 40px 40px;
        font-weight: 600;

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

        & img {
          width: 100%;
          max-height: 64px;
        }
      }

      .table-flex {
        display: flex;
        gap: 40px;
        width: 100%;
        max-width: 90%;
        margin: 0 0 0 auto;

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

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

      .table-img {
        padding: 40px 0;
        display: flex;
        flex-direction: column;
        gap: 40px;

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

        .top {
          padding-right: 10%;

          @media screen and (max-width: 991px) {
            padding-right: unset;
            padding-top: 5%;
          }

          .img {
            position: relative;
            z-index: 0;

            &::before {
              content: "";
              position: absolute;
              top: 6%;
              left: 6%;
              width: 100%;
              height: 100%;
              background: #3b6a7a3d;
              z-index: -1;
            }
          }
        }

        .bottom {
          padding-left: 10%;

          @media screen and (max-width: 991px) {
            padding-left: unset;
            padding-bottom: 5%;
          }

          .img {
            position: relative;
            z-index: 0;

            &::before {
              content: "";
              position: absolute;
              top: 6%;
              left: 6%;
              width: 100%;
              height: 100%;
              background: #3b6a7a3d;
              z-index: -1;
            }
          }
        }
      }

      .td-flex {
        display: flex;
        gap: 6px;

        & a {
          border-bottom: 1px solid #ccc;
        }
      }

      .info-map-cont {
        width: 100%;
        display: flex;
        margin-top: 40px;
        gap: 24px;

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

/*----------------------沿革----------------------*/
.history {
  .cont {
    .box {
      max-width: 1320px;

      .ttl-under-line {
        content: "";
        display: block;
        width: 100%;
        max-width: 90%;
        margin: 24px 0 0px auto;
        height: 1px;
        background: #ccc;
      }

      .item {
        display: flex;
        align-items: center;
        gap: 80px;
        width: 100%;
        max-width: 80%;
        margin: 0 0 0 auto;
        padding-top: 32px;

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

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

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

        .left {
          display: flex;
          flex-direction: column;
          flex: 2;

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

          .list {
            display: flex;
            flex-direction: column;
            gap: 32px;

            .list-item {
              display: flex;
              gap: 32px;

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

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

              .left-item {
                display: flex;
                align-items: center;
                gap: 16px;
                flex: 1.2;

                .year-dec {
                  position: relative;
                  content: "";
                  display: block;
                  width: 32px;
                  height: 32px;
                  background-color: #ffba00;

                  &::before {
                    content: "";
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 26px;
                    height: 26px;
                    background-color: #1f2e55;
                    border-radius: 50px;
                  }

                  &::after {
                    content: "";
                    position: absolute;
                    top: 130%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 1px;
                    height: 200%;
                    background-color: #333;
                    z-index: -1;

                    @media screen and (max-width: 560px) {
                      top: 220%;
                      height: 340%;
                    }
                  }
                }

                .year {
                  font-size: clamp(1.125rem, 0.875rem + 0.5208vw, 1.5rem);
                  font-weight: 600;
                  min-width: 92px;
                }
              }
              &:last-child .left-item .year-dec::after {
                display: none;
              }

              .right-item {
                display: flex;
                align-items: center;
                gap: 32px;
                flex: 3.5;

                @media screen and (max-width: 560px) {
                  gap: 8px;
                  padding-left: 60px;
                }

                .month {
                  font-weight: bold;
                  font-size: clamp(1rem, 0.9167rem + 0.1736vw, 1.125rem);
                  display: block;
                  width: 100%;
                  max-width: 40px;

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

                .line {
                  content: "";
                  display: block;
                  flex: 1;
                  height: 2px;
                  background-color: #ccc;

                  @media screen and (max-width: 560px) {
                    flex: unset;
                    width: 100%;
                    height: 1px;
                    max-width: 15px;
                  }
                }

                .des {
                  flex: 8;
                  font-weight: 600;
                }
              }
            }
          }
        }

        .right {
          flex: 1;
          display: flex;
          justify-content: flex-end;
          padding-right: 64px;

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

          .img {
            position: relative;
            display: block;

            @media screen and (max-width: 991px) {
              width: 100%;
              max-width: 13%;
              margin: 0 0 0 auto;
            }

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

            & img {
              position: relative;
            }

            &::before {
              content: "";
              display: block;
              position: absolute;
              bottom: -10%;
              left: 50%;
              transform: translateX(-50%);
              width: 190%;
              height: 50%;
              background-color: #ffbb0048;
              border-radius: 15px;
              z-index: -1;
            }
          }
        }
      }
    }
  }
}

/*----------------------アクセス----------------------*/
.access {
  .cont {
    .box {
      max-width: 1320px;

      .under-ttl {
        margin-bottom: 24px;
      }

      .info-map {
        width: 100%;
      }

      .info-map-cont iframe {
        width: 100%;
        height: 460px;
        display: flex;
        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;
        }
      }
    }
  }
}
