.p-company {
  position: relative;
  padding-block-end: clamp(3.75rem, 2.32rem + 2.98vw, 5rem);
}
@media (max-width: 767px) {
  .p-company {
    padding-block-end: 21.33vw;
  }
}

.c-hex-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: clamp(12.703125rem, 7.86rem + 10.08vw, 16.9375rem);
  height: clamp(3.09375rem, 1.92rem + 2.46vw, 4.125rem);
  padding: clamp(0.609375rem, 0.38rem + 0.48vw, 0.8125rem) clamp(0.75rem, 0.46rem + 0.6vw, 1rem);
  text-decoration: none;
  border: 1px solid #2f74b5;
  transition: opacity 0.2s ease;
}
@media (max-width: 767px) {
  .c-hex-btn {
    width: 72.27vw;
    height: 17.6vw;
  }
}
@media (any-hover: hover) {
  .c-hex-btn:hover {
    opacity: 0.7;
    transition: all 0.3s;
  }
}
.c-hex-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.59375rem, 0.99rem + 1.26vw, 2.125rem);
  height: 100%;
}
@media (max-width: 767px) {
  .c-hex-btn__icon {
    width: 9.07vw;
  }
}
.c-hex-btn__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.c-hex-btn__left, .c-hex-btn__right {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.c-hex-btn__left svg, .c-hex-btn__right svg {
  display: block;
  width: clamp(0.5625rem, 0.35rem + 0.45vw, 0.75rem);
  height: clamp(0.375rem, 0.23rem + 0.3vw, 0.5rem);
}
@media (max-width: 767px) {
  .c-hex-btn__left svg, .c-hex-btn__right svg {
    width: 3.2vw;
    height: 2.13vw;
  }
}
.c-hex-btn__text {
  font-family: var(--font-dm-sans), var(--font-primary);
  font-size: clamp(0.75rem, 0.46rem + 0.6vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
  color: #2f74b5;
  text-align: center;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .c-hex-btn__text {
    font-size: 3.73vw;
  }
}

.p-company-card-links {
  padding-block-start: clamp(3.28125rem, 2.03rem + 2.6vw, 4.375rem);
}
@media (max-width: 767px) {
  .p-company-card-links {
    padding-block-start: 0;
  }
}
.p-company-card-links__container {
  width: 100%;
  max-width: clamp(58.125rem, 35.98rem + 46.13vw, 77.5rem);
  margin-inline: auto;
}
@media (max-width: clamp(58.125rem, 35.98rem + 46.13vw, 77.5rem)) {
  .p-company-card-links__container {
    padding-inline: clamp(0.9375rem, 0.58rem + 0.74vw, 1.25rem);
  }
}
@media (max-width: 767px) {
  .p-company-card-links__container {
    padding-inline: 6.4vw;
  }
}
.p-company-card-links__list {
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9375rem, 0.58rem + 0.74vw, 1.25rem) clamp(4.21875rem, 2.61rem + 3.35vw, 5.625rem);
}
@media (max-width: 767px) {
  .p-company-card-links__list {
    grid-template-rows: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 24vw;
  }
}
.p-company-card-links__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
}
@media (max-width: 767px) {
  .p-company-card-links__item {
    grid-template-rows: auto auto auto;
    grid-row: auto;
    gap: 10.13vw;
  }
}

.p-company-card {
  display: contents;
}
.p-company-card__image-wrapper {
  overflow: hidden;
  border-radius: clamp(0.1875rem, 0.12rem + 0.15vw, 0.25rem);
}
@media (max-width: 767px) {
  .p-company-card__image-wrapper {
    border-radius: 0;
  }
}
.p-company-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 354/199;
  object-fit: cover;
}
@media (max-width: 767px) {
  .p-company-card__image {
    aspect-ratio: 324/182.28;
  }
}
.p-company-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: clamp(1.125rem, 0.7rem + 0.89vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: #333;
  text-align: center;
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .p-company-card__title {
    font-size: 6.4vw;
  }
}
.p-company-card__button {
  gap: clamp(2.296875rem, 1.42rem + 1.82vw, 3.0625rem);
  margin-inline: auto;
}
@media (max-width: 767px) {
  .p-company-card__button {
    gap: 13.07vw;
  }
}