@charset "utf-8";

:root {
  --company-red: #c90010;
  --company-ink: #252525;
  --company-muted: #666;
  --company-line: #dedede;
  --company-surface: #f7f7f6;
  --company-content-width: 1180px;
  --company-side-space: 24px;
  --company-font-gothic:
    "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
  --company-font-mincho:
    "A-OTF 教科書ICA Pro", "リュウミン R-KL", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E",
    "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}

.company-page {
  color: var(--company-ink);
  font-family: var(--company-font-gothic);
}

/* ==========================================================
   ページヒーロー
   背景画像は assets/images/company/company-page-hero.jpg に配置する
   ========================================================== */
.company-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 510px;
  overflow: hidden;
  color: var(--company-ink);
  background-color: #f5f6f6;
  background-image:
    linear-gradient(
      90deg,
      #fff 4%,
      rgba(255, 255, 255, .98) 29%,
      rgba(255, 255, 255, .78) 45%,
      rgba(255, 255, 255, 0) 70%
    ),
    url("../images/company/company-page-hero.jpg");
  background-position: center, center right;
  background-size: cover;
}

.company-page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--company-content-width));
  margin-inline: auto;
  padding-block: 64px;
}

main.company-page p.company-page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  color: var(--company-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .17em;
}

.company-page-hero__eyebrow::after {
  display: block;
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

main.company-page .company-page-hero h1 {
  margin: 0;
  font-family: var(--company-font-mincho);
  font-size: 64px !important;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .1em;
}

@media screen and (max-width: 767px) {
  .company-page-hero {
    min-height: 420px;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .74)),
      url("../images/company/company-page-hero.jpg");
    background-position: center, 60% center;
  }

  .company-page-hero__inner {
    width: min(calc(100% - 40px), var(--company-content-width));
    padding-block: 56px;
  }

  main.company-page .company-page-hero h1 {
    font-size: 36px !important;
  }
}

.company-section {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 112px) var(--company-side-space);
  background-color: #fff;
  background-image:
    linear-gradient(rgba(70, 70, 70, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 70, 70, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

.company-section + .company-section {
  border-top: 1px solid var(--company-line);
}

.company-section__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--company-content-width));
  margin-inline: auto;
}

.company-section__heading {
  margin-bottom: clamp(38px, 5vw, 64px);
}

.company-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  color: var(--company-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--rcs-type-small, 16px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.24em;
}

.company-section__eyebrow::before {
  content: "";
  flex: 0 0 5px;
  width: 5px;
  height: 24px;
  background-color: var(--company-red);
}

.company-section__title {
  margin: 0;
  font-family: var(--company-font-mincho);
  font-size: var(--rcs-type-heading-large, 51px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.company-section__title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 24px;
  background-color: var(--company-red);
}

/* ==========================================================
   代表挨拶
   ========================================================== */
.company-section--message {
  min-height: 820px;
  padding-block: clamp(54px, 6vw, 82px) clamp(74px, 8vw, 112px);
}

.company-section--message .company-section__inner {
  min-height: 680px;
}

main.company-page p.top-message__decoration {
  position: absolute;
  z-index: 0;
  top: 76px;
  left: 0;
  margin: 0;
  color: rgba(37, 37, 37, 0.075);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 8vw, 126px) !important;
  line-height: 0.78 !important;
  letter-spacing: -0.04em;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.top-message__content {
  position: relative;
  z-index: 2;
  width: min(100%, 820px);
  margin: clamp(70px, 8vw, 112px) 5% 0 auto;
}

.top-message__heading h2 {
  margin: 0;
  font-family: var(--company-font-mincho);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.top-message__heading > p {
  position: relative;
  margin: 22px 0 0;
  padding-bottom: 27px;
  font-family: var(--company-font-mincho);
  letter-spacing: 0.08em;
}

.top-message__heading > p::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background-color: var(--company-red);
  content: "";
}

.top-message__statement {
  margin-top: 40px;
  font-family: var(--company-font-mincho);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.07em;
}

.company-page .top-message__statement p {
  margin: 0;
  font-size: var(--rcs-type-heading-medium, 36px) !important;
  line-height: 1.8;
}

.top-message__text {
  margin-top: 32px;
  font-family: var(--company-font-gothic);
  line-height: 2;
  letter-spacing: 0.035em;
}

.company-page .top-message__text p {
  margin: 0;
  font-size: var(--rcs-type-body, 18px) !important;
  line-height: 2;
}

.top-message__text p + p {
  margin-top: 7px;
}

.top-message__signature {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 34px;
  font-family: var(--company-font-mincho);
}

.top-message__signature span {
  font-size: var(--rcs-type-body, 18px);
  letter-spacing: 0.16em;
}

.top-message__signature strong {
  font-size: var(--rcs-type-heading-medium, 36px);
  font-weight: 500;
  letter-spacing: 0.16em;
}

.top-message__blueprint {
  position: absolute;
  z-index: 0;
  color: rgba(80, 80, 80, 0.12);
  pointer-events: none;
}

.top-message__blueprint--left {
  bottom: -38px;
  left: -70px;
  width: min(35vw, 430px);
}

.top-message__blueprint--right {
  right: -170px;
  bottom: -68px;
  width: min(51vw, 650px);
}

/* ==========================================================
   経営理念と行動指針
   ========================================================== */
.company-section--philosophy {
  padding-bottom: clamp(76px, 8vw, 112px);
}

.philosophy-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(0, 1.4fr);
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(201, 0, 16, 0.1);
  background-color: rgba(255, 255, 255, 0.82);
}

.philosophy-block__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(145deg, #b90010, #e00017);
}

.philosophy-block__visual::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  content: "";
}

.philosophy-block__label {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.philosophy-block__label span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--rcs-type-label, 16px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.philosophy-block__label strong {
  position: relative;
  margin-top: 20px;
  padding-bottom: 24px;
  font-family: var(--company-font-mincho);
  font-size: var(--rcs-type-heading-small, 25px);
  font-weight: 500;
  letter-spacing: 0.14em;
}

.philosophy-block__label strong::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 48px;
  height: 2px;
  background-color: #fff;
  content: "";
  transform: translateX(-50%);
}

.philosophy-block__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px clamp(40px, 6vw, 84px);
}

main.company-page p.philosophy-block__statement {
  position: relative;
  margin: 0;
  padding-bottom: 32px;
  font-family: var(--company-font-mincho);
  font-size: var(--rcs-type-heading-medium, 36px) !important;
  font-weight: 500;
  line-height: 1.75 !important;
  letter-spacing: 0.07em;
}

.philosophy-block__statement::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background-color: var(--company-red);
  content: "";
}

main.company-page .philosophy-block__copy > p:last-child {
  max-width: 600px;
  margin: 28px 0 0;
  font-size: var(--rcs-type-body, 18px) !important;
  line-height: 2;
}

.principles-block {
  margin-top: clamp(64px, 7vw, 92px);
}

.principles-block__heading h3 {
  position: relative;
  margin: 0;
  padding-bottom: 24px;
  font-family: var(--company-font-mincho);
  font-size: var(--rcs-type-heading-medium, 36px);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.principles-block__heading h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background-color: var(--company-red);
  content: "";
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.principles-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 10px;
  align-content: start;
  min-width: 0;
  padding: 20px 14px 18px;
  border-left: 1px solid var(--company-line);
}

.principles-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.principles-list li:last-child {
  padding-right: 0;
}

main.company-page .principles-list__number {
  display: block;
  align-self: center;
  margin: 0;
  color: #d0d0d0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 3.8vw, 54px) !important;
  font-weight: 400;
  line-height: 1;
}

.principles-list h4 {
  position: relative;
  align-self: center;
  margin: 0;
  padding-left: 14px;
  font-family: var(--company-font-mincho);
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.principles-list h4::before {
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 4px;
  background-color: var(--company-red);
  content: "";
}

main.company-page .principles-list p {
  grid-column: 1 / -1;
  margin: 26px 0 0;
  font-size: var(--rcs-type-body, 18px) !important;
  line-height: 1.9;
}

/* ==========================================================
   会社概要
   ========================================================== */
.company-section--profile {
  background-color: #fbfbfa;
}

.company-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  overflow: hidden;
  border: 1px solid var(--company-line);
  background-color: rgba(255, 255, 255, 0.88);
}

.company-profile-main {
  position: relative;
  min-width: 0;
  padding: 12px clamp(28px, 4vw, 54px) 0;
  overflow: hidden;
}

main.company-page p.company-profile-back {
  position: absolute;
  top: -42px;
  right: 20px;
  margin: 0;
  color: rgba(37, 37, 37, 0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(92px, 11vw, 158px) !important;
  line-height: 1 !important;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.company-profile-list {
  position: relative;
  z-index: 1;
  margin: 0;
}

.company-profile-list > div {
  display: grid;
  grid-template-columns: minmax(210px, 29%) minmax(0, 1fr);
  border-bottom: 1px solid var(--company-line);
}

.company-profile-list dt,
.company-profile-list dd {
  margin: 0;
  padding: 17px 16px;
  font-size: var(--rcs-type-body, 18px);
  line-height: 1.75;
}

.company-profile-list dt {
  color: var(--company-red);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.company-profile-list dd {
  letter-spacing: 0.04em;
}

.company-clients {
  position: relative;
  z-index: 1;
  margin: 0 clamp(-54px, -4vw, -28px);
  padding: 28px clamp(28px, 4vw, 54px) 36px;
  background-color: rgba(245, 245, 243, 0.92);
}

.company-clients h3 {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  font-family: var(--company-font-mincho);
  font-size: var(--rcs-type-heading-small, 25px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.company-clients h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background-color: var(--company-red);
  content: "";
}

.company-clients h3 small {
  font-size: var(--rcs-type-note, 13px);
  font-weight: 400;
}

.company-clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
}

.company-clients__grid ul {
  margin: 0;
  padding: 0 18px;
  list-style: none;
  border-left: 1px solid var(--company-line);
}

.company-clients__grid ul:first-child {
  padding-left: 0;
  border-left: 0;
}

.company-clients__grid ul:last-child {
  padding-right: 0;
}

.company-page .company-clients__grid li {
  font-size: 14px !important;
  line-height: 1.8;
}

.company-profile-panel {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(150deg, #b90010, #e00017);
}

.company-profile-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
}

.company-profile-panel__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 52px 42px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.16em;
}

.company-profile-panel__copy strong {
  position: relative;
  padding-bottom: 22px;
  font-size: var(--rcs-type-strong, 20px);
}

.company-profile-panel__copy strong::after,
.company-profile-panel__copy span:first-of-type::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background-color: #fff;
  content: "";
}

.company-profile-panel__copy span {
  position: relative;
  padding-bottom: 20px;
  font-size: var(--rcs-type-body, 18px);
}

.company-profile-panel svg {
  position: absolute;
  right: -62px;
  bottom: -12px;
  width: 330px;
}

/* ==========================================================
   営業所一覧
   ========================================================== */
.company-section--network {
  background-color: #fbfbfa;
}

.office-network-layout {
  display: grid;
  grid-template-columns: minmax(500px, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 3.5vw, 48px);
}

.office-network-map {
  position: relative;
  min-height: 730px;
  overflow: hidden;
  border-right: 1px solid var(--company-line);
}

main.company-page p.office-network-map__lead {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: var(--company-font-mincho);
  font-size: var(--rcs-type-heading-small, 25px) !important;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

main.company-page p.office-network-map__back {
  position: absolute;
  z-index: 0;
  top: 68px;
  left: 0;
  margin: 0;
  color: rgba(37, 37, 37, 0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(70px, 7vw, 98px) !important;
  line-height: 1 !important;
  letter-spacing: -0.055em;
  white-space: nowrap;
  pointer-events: none;
}

.office-network-map figure {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  margin: 18px auto 0;
}

.office-network-map figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.office-network-map figcaption {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 12px;
  font-size: var(--rcs-type-body, 18px);
}

.office-network-map figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.office-network-map__marker {
  display: inline-block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
}

.office-network-map__marker--branch {
  background-color: var(--company-red);
}

.office-network-map__marker--office {
  border: 2px solid var(--company-ink);
  background-color: #fff;
}

.office-network-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px clamp(22px, 2.2vw, 32px);
  align-content: start;
}

.office-network-group {
  min-width: 0;
}

.office-network-group h3 {
  position: relative;
  margin: 0;
  padding-bottom: 17px;
  color: var(--company-red);
  font-family: var(--company-font-mincho);
  font-size: 23px !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--company-line);
}

.office-network-group h3::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 54px;
  height: 3px;
  background-color: var(--company-red);
  content: "";
}

.office-network-entry {
  padding: 18px 0;
  border-bottom: 1px solid var(--company-line);
}

.office-network-entry h4 {
  margin: 0;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

main.company-page .office-network-entry p,
main.company-page .office-network-group--satellite > p {
  margin: 6px 0 0;
  font-size: 14px !important;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.office-network-group--satellite > p {
  padding-top: 16px;
}

/* 各セクションの画像・原稿を受け取った後、この領域へ実装します。 */
.company-section__body:empty {
  min-height: 180px;
}

@media (max-width: 767px) {
  :root {
    --company-side-space: 20px;
  }

  .company-section {
    padding-block: 64px;
    background-size: 48px 48px;
  }

  .company-section__heading {
    margin-bottom: 34px;
  }

  .company-section__eyebrow {
    gap: 12px;
    margin-bottom: 16px;
    letter-spacing: 0.16em;
  }

  .company-section__eyebrow::before {
    height: 20px;
  }

  .company-section__title {
    font-size: var(--rcs-type-heading-large, 45px);
    letter-spacing: 0.05em;
  }

  .company-section__title::after {
    width: 44px;
    margin-top: 18px;
  }

  .company-section__body:empty {
    min-height: 100px;
  }

  .company-section--message {
    min-height: 0;
    padding-block: 46px 68px;
  }

  .company-section--message .company-section__inner {
    min-height: 0;
  }

  .top-message__decoration,
  .top-message__blueprint--left {
    display: none;
  }

  .top-message__content {
    width: 100%;
    margin: 46px 0 0;
  }

  .top-message__heading > p {
    margin-top: 16px;
    padding-bottom: 21px;
  }

  .company-page .top-message__statement p {
    font-size: var(--rcs-type-heading-small, 23px) !important;
    line-height: 1.75;
  }

  .top-message__statement {
    margin-top: 30px;
  }

  .top-message__text {
    margin-top: 26px;
  }

  .company-page .top-message__text p {
    font-size: var(--rcs-type-body, 16px) !important;
    line-height: 1.95;
  }

  .top-message__signature {
    gap: 12px;
    margin-top: 28px;
  }

  .top-message__signature span {
    font-size: var(--rcs-type-small, 14px);
  }

  .top-message__signature strong {
    font-size: var(--rcs-type-heading-small, 23px);
  }

  .top-message__blueprint--right {
    right: -120px;
    bottom: -30px;
    width: 130vw;
    opacity: 0.55;
  }

  .philosophy-block {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .philosophy-block__visual {
    min-height: 250px;
  }

  .philosophy-block__copy {
    min-height: 340px;
    padding: 42px 22px;
  }

  main.company-page p.philosophy-block__statement {
    font-size: var(--rcs-type-heading-small, 23px) !important;
    line-height: 1.75 !important;
  }

  main.company-page .philosophy-block__copy > p:last-child {
    font-size: var(--rcs-type-body, 16px) !important;
  }

  .principles-block {
    margin-top: 56px;
  }

  .principles-list {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .principles-list li,
  .principles-list li:first-child,
  .principles-list li:last-child {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 12px;
    padding: 26px 0;
    border-top: 1px solid var(--company-line);
    border-left: 0;
  }

  .principles-list li:first-child {
    border-top: 0;
  }

  main.company-page .principles-list__number {
    margin: 0;
    font-size: 48px !important;
  }

  .principles-list h4 {
    margin: 0;
  }

  main.company-page .principles-list p {
    grid-column: 1 / -1;
    margin-top: 20px;
    font-size: var(--rcs-type-body, 16px) !important;
  }

  .company-profile-layout {
    grid-template-columns: 1fr;
  }

  .company-profile-main {
    padding: 4px 20px 0;
  }

  main.company-page p.company-profile-back {
    top: -20px;
    right: -8px;
    font-size: 82px !important;
  }

  .company-profile-list > div {
    grid-template-columns: 1fr;
    padding-block: 16px;
  }

  .company-profile-list dt,
  .company-profile-list dd {
    padding: 0;
    font-size: var(--rcs-type-body, 16px);
  }

  .company-profile-list dd {
    margin-top: 7px;
  }

  .company-clients {
    margin: 0 -20px;
    padding: 28px 20px 34px;
  }

  .company-clients__grid {
    grid-template-columns: 1fr;
  }

  .company-clients__grid ul,
  .company-clients__grid ul:first-child,
  .company-clients__grid ul:last-child {
    padding: 14px 0;
    border-top: 1px solid var(--company-line);
    border-left: 0;
  }

  .company-clients__grid ul:first-child {
    border-top: 0;
  }

  .company-page .company-clients__grid li {
    font-size: 14px !important;
  }

  .company-profile-panel {
    min-height: 250px;
  }

  .company-profile-panel__copy {
    padding: 34px 28px;
  }

  .company-profile-panel svg {
    right: -18px;
    bottom: -145px;
    width: 270px;
  }

  .office-network-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .office-network-map {
    min-height: 0;
    padding-bottom: 34px;
    border-right: 0;
    border-bottom: 1px solid var(--company-line);
  }

  main.company-page p.office-network-map__lead {
    font-size: var(--rcs-type-heading-small, 23px) !important;
  }

  main.company-page p.office-network-map__back {
    top: 60px;
    font-size: 68px !important;
  }

  .office-network-map figure {
    margin-top: 14px;
  }

  .office-network-map figcaption {
    gap: 24px;
    font-size: var(--rcs-type-body, 16px);
  }

  .office-network-list {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .office-network-entry h4 {
    font-size: 18px !important;
  }

  main.company-page .office-network-entry p,
  main.company-page .office-network-group--satellite > p {
    font-size: 14px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .philosophy-block {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.25fr);
  }

  .principles-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-list li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .principles-list li:nth-child(n + 3) {
    border-top: 1px solid var(--company-line);
  }

  .company-profile-layout {
    grid-template-columns: minmax(0, 1fr) 210px;
  }

  .company-profile-list > div {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .company-clients__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-clients__grid ul:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .company-clients__grid ul:nth-child(n + 3) {
    padding-top: 18px;
    border-top: 1px solid var(--company-line);
  }

  .office-network-layout {
    grid-template-columns: minmax(390px, 1.08fr) minmax(0, 0.92fr);
    gap: 30px;
  }

  .office-network-map {
    min-height: 650px;
  }

  .office-network-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }
}
