@charset "UTF-8";

/* =============================================================
   Company page
   ============================================================= */

.page-hero {
  padding-top: 9.32%; /* 138 / 1480 */
}

/* ---- Message ------------------------------------------------- */
.message {
  --ratio: 0.563; /* 833 / 1480 */
  background-image: url("../img/company-message.webp");
  padding-top: 7.16%; /* 106 / 1480 */
  padding-bottom: 6%;
}

.message__title {
  margin-top: 1.75%; /* 21 / 1200 */
  font-size: 38px;
  font-weight: 700;
  line-height: 1.44;
}

.message__body {
  margin-top: 4.92%; /* 59 / 1200 */
  max-width: 70.3%; /* 844 / 1200 */
  font-size: 18px;
  font-weight: 500;
  line-height: 31px;
}

.message__body p + p {
  margin-top: 1.46em;
}

/* ---- Company outline ----------------------------------------- */
.outline {
  background: #fff url("../img/company-outline.webp") left bottom / 100% auto
    no-repeat;
  padding-top: 7.5%; /* 111 / 1480 */
  padding-bottom: 33.4%; /* 495 / 1480 */
}

.outline__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 644px;
  align-items: start;
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
}

.outline__title {
  margin-top: 1.75%;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.44;
}

.outline__catch {
  margin-top: 5.4%; /* 65 / 1200 */
  color: var(--teal);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.outline__text {
  margin-top: 5.4%; /* 41 / 1200 */
  font-size: 18px;
  font-weight: 500;
  line-height: 31px;
}

/* Table */
.outline-table {
  width: 100%;
  background: #fff;
  table-layout: fixed;
}

.outline-table th,
.outline-table td {
  border: 1px solid var(--border);
  font-family: var(--font-en);
  vertical-align: middle;
}

.outline-table thead th {
  height: 83px;
  color: var(--teal);
  font-size: var(--fs-24);
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
}

.outline-table tbody th {
  width: 30%;
  height: 70px;
  padding: 0.5em 30px;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}
.outline-table tbody td {
  width: 70%;
}
.outline-table tbody td {
  height: 70px;
  padding: 0.6em 33px;
  border-color: var(--border-strong);
  font-size: var(--fs-20);
  font-weight: 500;
  line-height: 1.4;
}

/* ---- Responsive ---------------------------------------------- */
@media (max-width: 1100px) {
  .outline__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(2rem, 5vw, 3.5rem);
  }

  .outline {
    padding-bottom: 42%;
  }

  .outline-table {
    max-width: 644px;
  }
}

@media (max-width: 900px) {
  .message {
    padding-block: clamp(3rem, 9vw, 5rem);
  }

  .message__title,
  .message__body,
  .outline__title,
  .outline__catch,
  .outline__text {
    margin-top: clamp(1rem, 3vw, 2rem);
  }

  .message__body {
    max-width: none;
  }

  .outline {
    padding-top: clamp(3rem, 9vw, 5rem);
    padding-bottom: 56%;
    background-size: 150% auto;
    background-position: 60% bottom;
  }
}

@media (max-width: 767px) {
  .outline {
    padding-bottom: 72%;
  }

  /* The table collapses into stacked rows on narrow screens */
  .outline-table,
  .outline-table tbody,
  .outline-table tr,
  .outline-table th,
  .outline-table td {
    display: block;
    width: auto;
    height: auto;
  }

  .outline-table thead {
    display: none;
  }

  .outline-table tr + tr {
    margin-top: -1px;
  }

  .outline-table tbody th {
    padding: 0.6em 1rem;
    background: rgba(14, 176, 194, 0.07);
    color: var(--teal-dark);
  }

  .outline-table tbody td {
    padding: 0.8em 1rem;
    margin-top: -1px;
  }
}
