@charset "utf-8";

.page-wrapper {
  padding: 86px 0 159px;
  overflow-x: clip;
  position: relative;
}

.page-wrapper::before {
  content: "";
  background: url(/system_panel/uploads/images/20250916000728371513.png) no-repeat center/contain;
  max-width: 926px;
  width: 90%;
  height: 926px;
  position: absolute;
  top: -215px;
  left: -453px;
  z-index: -1;
}

.page-wrapper::after {
  content: "";
  background: url(/system_panel/uploads/images/20250916000728598389.png) no-repeat center/contain;
  max-width: 721px;
  width: 90%;
  height: 723px;
  position: absolute;
  top: 332px;
  right: -404px;
  z-index: -2;
}

/* ======================================
   Company
====================================== */
.company {
  position: relative;
}

.company::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 21%;
  height: 1px;
  background-color: #000;
  z-index: -1;

  transform: translateX(100%);
}

.company.is-visible::after {
  transform: translateX(0);
  transition: transform 1s ease 0.4s;
}

.company .subtitle {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 23px;
  text-align: right;
  color: #000;
  background-color: #fff;
}

/* ======================================
   Company Greeting
====================================== */
.company_greeting {
  margin-bottom: 120px;
}

.company_greeting .flex {
  position: relative;
  justify-content: space-between;
  gap: 66px;
  align-items: flex-end;
}

.company_greeting .flex .text {
  margin-top: 23px;
  width: 47%;
}

.company_greeting .flex .text .sec-heading {
  margin-bottom: 64px;
}

.company_greeting .flex .text .sec-heading h3 {
  font-size: 20px;
}

.company_greeting .flex .text .catch {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  color: #000;
  margin-bottom: 40px;
}

.company_greeting .flex .text .desc {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  color: #000;
  margin-bottom: 40px;
}

.company_greeting .flex .text .sign {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.company_greeting .flex .text .sign p {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 16px;
  color: #000;
}

.company_greeting .flex .img {
  max-width: 576px;
  width: 60%;
  height: auto;
}

/* ======================================
   Company Info
====================================== */
.company_info .flex {
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-bottom: 74px;
}

.company_info .flex .img {
  max-width: 539px;
  width: 50%;
}

.company_info .flex .text {
  max-width: 534px;
  width: 50%;
  position: relative;
  z-index: 1;
}

.company_info .flex .text .subtitle {
  position: absolute;
  top: 0;
  right: 0;
}

.company_info .flex .text .sec-heading {
  margin-bottom: 64px;
}

.company_info .flex .text .c-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.company_info .flex .text .item {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  color: #000;
  display: grid;
  grid-template-columns: 20% 1fr;
  padding-bottom: 24px;
  border-bottom: 1px solid #000;
  padding-left: 40px;
}

.company_info .flex .text .btn {
  margin-right: auto;
  margin-left: 0;
}

.company_info .map iframe {
  width: 100%;
  height: 512px;
}
@media screen and (max-width: 1640px) {
  .company::after {
    width: 14%;
  }
}

@media screen and (max-width: 1320px) {
  .company::after {
    width: 2%;
  }
  .company .subtitle {
    background-color: transparent;
  }
}

@media screen and (max-width: 1152px) {
  .company_greeting .flex {
    gap: 20px;
  }
  .company_info .flex .img {
    width: 35%;
  }
  .company_info .flex .text {
    width: 62%;
  }

  .company_greeting .flex .text {
    width: 65%;
  }

  .company_greeting .flex {
    align-items: center;
  }
  .company_info .flex {
    margin-left: 20px;
    margin-right: auto;
    width: 92%;
  }

  .company_info .flex .text .btn {
    padding-left: 20px;
  }
}

@media screen and (max-width: 780px) {
  .pc-hidden {
    display: block;
  }
  .sp-hidden {
    display: none;
  }
  .page-wrapper {
    padding: 32px 0 120px;
  }

  .company_greeting .flex .text {
    margin-top: 0;
    width: 100%;
  }

  .company_info .flex {
    flex-direction: column;
    gap: 40px;
    width: 60%;
  }

  .company_info .flex .text {
    max-width: 100%;
    width: 100%;
    padding-top: 39px;
  }

  .company_info .flex .text > img {
    width: 100%;
    height: 303px;
    object-fit: cover;
  }

  .company_info .flex .text .subtitle {
    width: 100%;
    text-align: center;
  }

  .company_info .flex .text .item {
    padding-left: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    font-size: 14px;
    gap: 16px;
    padding-bottom: 16px;
  }

  .company_info .flex .text .c-info {
    gap: 16px;
    max-width: 700px;
    width: 90%;
    margin: 40px auto;
  }

  .company_info .flex .text .btn {
    margin: auto;
  }

  .company_info .flex .img {
    width: 100%;
  }
  .page-wrapper::before {
    width: 542px;
    height: 542px;
    top: 81px;
    left: -362px;
  }

  .page-wrapper::after {
    content: none;
  }

  .company .subtitle {
    position: relative;
    text-align: center;
    font-size: 13px;
    line-height: 19px;
    margin-bottom: 20px;
  }

  .company_greeting .flex .text .sec-heading {
    margin-bottom: 32px;
  }

  .company_greeting .flex .text .catch {
    line-height: 28px;
    margin-bottom: 32px;
    margin-top: 32px;
  }

  .company_greeting .flex .text .desc {
    max-width: 700px;
    width: 90%;
    margin: auto auto 40px;
    font-size: 14px;
    line-height: 28px;
  }

  .company_greeting .flex .text > img {
    width: 100%;
    height: 326px;
    object-fit: cover;
  }

  .company_greeting .flex .text .sign p {
    font-size: 14px;
  }

  .company_greeting .flex .img .flex {
    width: 100%;
  }

  .company_info .flex {
    margin-left: auto;
    align-items: center;
  }

  .company::after {
    width: calc(126 / 390 * 100%);
  }

  .company_greeting .flex {
    flex-direction: column;
    gap: 80px;
    width: 60%;
  }
  .company_greeting .flex,
  .company_info .flex {
    max-width: 100%;
    width: 100%;
  }

  .map {
    max-width: 100%;
    width: 100%;
  }
}
