@charset "UTF-8";
/* company.css - 会社情報ページ */
/* --------------------------------------------
   Company page styles
-------------------------------------------- */
.p-profile__wrap,
.p-history__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px min(7.1527vw, 103px);
}

@media (min-width: 768px) {
  .c-profile__hdg,
  .c-history__hdg {
    flex-basis: min(11.597vw, 167px);
  }
  .c-profile__cont,
  .c-history__cont {
    flex-basis: calc(100% - min(11.597vw, 167px) - min(7.1527vw, 103px));
  }
}
@media (max-width: 767.98px) {
  .c-profile__hdg, .c-profile__cont,
  .c-history__hdg,
  .c-history__cont {
    flex-basis: 100%;
  }
}

@media (max-width: 767.98px) {
  .p-profile .c-profile__cont .c-tbl .l-column {
    row-gap: 0;
  }
}

/* Office section */
.p-office .c-hdg02 {
  margin-block-end: 60px;
}
.p-office .c-office__list {
  gap: 80px 40px;
}
.p-office .c-office__item--title {
  align-items: center;
  color: #000;
  display: flex;
  font-size: var(--fs-18);
  font-weight: 500;
  gap: 4px;
  letter-spacing: 0.9px;
  line-height: 1.6;
}
.p-office .c-office__item--title::before {
  aspect-ratio: 1/1;
  background: url("../images/common/ico_pin.svg") no-repeat center/contain;
  content: "";
  height: 22px;
  width: 22px;
}
@media (max-width: 767.98px) {
  .p-office .c-hdg02 {
    margin-block-end: 40px;
  }
  .p-office .c-office__list {
    gap: 40px 20px;
  }
}

/* History section */
.c-history__list {
  display: flex;
  flex-direction: column;
  gap: 67px;
}
.c-history__item {
  align-items: center;
  display: inline-flex;
  gap: 40px;
  padding-inline-start: 54px;
  position: relative;
}
.c-history__item::before, .c-history__item::after {
  content: "";
  position: absolute;
}
.c-history__item::before {
  border: solid 1px var(--color-sub);
  border-radius: 50%;
  display: inline-block;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 12px;
}
.c-history__item:not(:last-of-type)::after {
  background-color: var(--color-border);
  content: "";
  left: 6px;
  top: calc(20px + 1.45em);
  height: calc(100% + 20px);
  width: 1px;
}
.c-history__item--year {
  color: var(--color-sub);
  font-family: var(--font-family-num);
  font-size: var(--fs-28);
  font-weight: 300;
  letter-spacing: 1.4px;
  line-height: 1.6;
}
@media (max-width: 767.98px) {
  .c-history__list {
    gap: 44px;
  }
  .c-history__item {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
  .c-history__item::before {
    top: 16px;
  }
  .c-history__item--year {
    font-size: var(--fs-20);
  }
  .c-history__item:not(:last-of-type)::after {
    height: 100%;
  }
}
