:root {
  --space-top: 100px;
  --space-bottom: 100px;
}

@media (max-width: 767.98px) {
  :root {
    --space-top: 80px;
    --space-bottom: 80px;
  }
}

@media (max-width: 991.98px) {
  .post-name-company .header-ttl {
    background-position: 25% 50%;
  }
}

.site-body section {
  padding-top: var(--space-top);
  padding-bottom: var(--space-bottom);
}

.site-body section h2 {
  font-family: "Caslon", serif;
  font-size: 35px;
  letter-spacing: 0.04em;
  line-height: 0.95em;
  font-weight: 500;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

@media (max-width: 767.98px) {
  .site-body section h2 {
    font-size: 30px;
  }
}

.site-body section h2 span {
  font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-size: 16px;
  display: block;
  font-weight: normal;
  letter-spacing: 0;
  padding-left: 50px;
  position: relative;
  margin-top: 0;
}

.site-body section h2 span::before {
  content: "";
  width: 15px;
  height: 1px;
  background: var(--vk-color-text-body);
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767.98px) {
  .site-body section h2 span {
    font-size: 16px;
  }

  .site-body section h2 span::before {
    top: 14px;
  }
}

.site-body section.company-message {
  position: relative;
  padding: 0 0 100px;
  overflow: hidden;
}

.company-message {
  --bg-split: 00%;
  background-image: linear-gradient(to bottom,
      #ffffff 0,
      #ffffff var(--bg-split),
      #525453 var(--bg-split),
      #525453 100%);
}


.company-message .container {
  display: flex;
  gap: 40px;
}

.company-message__left-col {
  margin-left: calc(50% - 50vw);
  width: 50vw;
  flex: 0 0 50vw;
  display: flex;
  flex-direction: column;
  padding-right: 80px;
}

.company-message__img-wrap {
  position: relative;
  width: 100%;
  height: auto;
}

.company-message__img {
  width: 100%;
  height: auto;
  display: block;
}

.company-message__sign-overlay {
  position: absolute;
  bottom: 6.5%;
  right: 14%;
  width: 36%;
  height: auto;

  @media(max-width:767.98px) {
    bottom: 20px;
    right: 20px;
    width: 50%;
  }
}

.company-message__philosophy {
  padding: 60px 20px 0;
  color: #fff;
}

@media (min-width: 576px) {
  .company-message__philosophy {
    padding-left: calc((100vw - 540px) / 2 + 20px);
    padding-right: calc((100vw - 540px) / 2 + 20px);
  }
}

@media (min-width: 768px) {
  .company-message__philosophy {
    padding-left: calc((100vw - 720px) / 2 + 20px);
    padding-right: 20px;
  }
}

@media (min-width: 992px) {
  .company-message__philosophy {
    padding-left: calc((100vw - 960px) / 2 + 20px);
    padding-right: 20px;
  }
}

@media (min-width: 1200px) {
  .company-message__philosophy {
    padding-left: calc((100vw - 1140px) / 2 + 20px);
    padding-right: 20px;
  }
}

.company-message__philosophy-text {
  font-size: 30px;
  line-height: 1.8;
  margin: 0;
  letter-spacing: 0.15em;

  @media(max-width:767.98px) {
    font-size: 24px;
  }
}

.company-message__content {
  width: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.company-message__header {
  margin-bottom: 55px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid #fff;
  margin-top: 60px;
}

.site-body .company-message__philosophy .company-message__philosophy-title {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid #fff;

}

.site-body .company-message__header h2,
.site-body .company-message__philosophy h2 {
  color: #fff;
}

.site-body .company-message__header h2 span::before,
.site-body .company-message__philosophy h2 span::before {
  background: #fff;
}

.company-message__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  line-height: 2;
  letter-spacing: 0.07em;
  margin-bottom: 0;
}

.company-message__text p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .company-message {
    padding: 0 0 80px;
  }

  .company-message .container {
    flex-direction: column;
    gap: 40px;
  }

  .company-message__left-col {
    margin-left: calc(50% - 50vw);
    width: 100vw;
    flex: 0 0 100vw;
    padding-right: 0;
  }

  .company-message__content {
    width: 100%;
  }

  .company-message__header {
    margin-bottom: 40px;
  }

  .company-message__text {
    margin-bottom: 40px;
  }
}

@media (max-width: 767.98px) {
  .company-message__text {
    line-height: 1.8;
    margin-top: 0;
  }

  .company-message__photo-placeholder span {
    font-size: 18px;
  }
}

.company-profile {
  padding: 40px 0 0;
  color: #1d201f;
}

.company-profile__list {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.company-profile__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px 40px;
  padding: 30px 0;
  border-bottom: 1px solid #9d9d9d;
  align-items: flex-start;
}

.company-profile__row:first-child {
  border-top: 1px solid #9d9d9d;
}

.company-profile dt {
  margin: 0;
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  font-weight: normal;
}

.company-profile dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.company-profile dd p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .company-profile__row {
    grid-template-columns: 120px 1fr;
  }

  .company-profile dt {
    font-size: 16px;
  }

  .company-profile dd {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .company-profile {
    padding: 30px 0 0;
  }

  .company-profile__row {
    grid-template-columns: 85px 1fr;
    padding: 20px 0;
    gap: 15px 20px;
  }

  .company-profile dt {
    font-size: 14px;
  }

  .company-profile dd {
    font-size: 14px;
  }
}

#history {
  padding-top: 140px;
  background: #edecec;
}

@media (max-width: 991.98px) {
  #history {
    padding-top: 80px;
  }
}

.company-history {
  padding: 25px 0 0;
  color: #1d201f;
}

.company-history__list {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.company-history__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px 40px;
  padding: 22px 0;
  border-bottom: 1px solid #9d9d9d;
}

.company-history__row:first-child {
  border-top: 1px solid #9d9d9d;
}

.company-history dt,
.company-history dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-weight: normal;
}

@media (max-width: 991.98px) {
  .company-history__row {
    grid-template-columns: 120px 1fr;
  }

  .company-history dt,
  .company-history dd {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .company-history {
    padding: 30px 0 0;
  }

  .company-history__row {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }

  .company-history dt,
  .company-history dd {
    font-size: 14px;
  }
}


.company-access {
  margin-top: 60px;
  color: #1d201f;
}

.company-access__map {
  background: #e8e6e6;
  min-height: 320px;
}

.company-access__map iframe {
  display: block;
  margin: 0;
}

@media (max-width: 767.98px) {
  .company-access {}

  .company-access__map {
    min-height: 260px;
  }
}