@charset "UTF-8";

/* 会社概要ページ */

.page-hero-company::before {
  background: linear-gradient(90deg, var(--navy) 0, transparent 65%), url('../assets/IMG_2025-12-29-13-50-54-259-web.jpg') center / cover;
}

.company-message {
  padding-top: 100px;
}

.company-message-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 9vw;
  align-items: center;
}

.company-photo {
  height: 640px;
}

.company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-message-copy h2 {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.55;
}

.company-message-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

.representative {
  margin-top: 35px;
  display: flex;
  align-items: end;
  gap: 22px;
}

.representative span {
  color: var(--muted);
  font-size: 11px;
}

.representative strong {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: .15em;
}

.profile {
  background: var(--cream);
}

.profile .section-heading {
  margin-bottom: 55px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 7vw;
}

.profile-table {
  margin: 0;
}

.profile-table > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 23px 0;
  border-top: 1px solid #cbd1ce;
  font-size: 13px;
}

.profile-table > div:last-child {
  border-bottom: 1px solid #cbd1ce;
}

.profile-table dt {
  color: var(--muted);
}

.profile-table dd {
  margin: 0;
}

.office-photos {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.office-photos img {
  width: 100%;
  height: 100%;
  max-height: 375px;
  object-fit: cover;
}

.office-photos img:first-child {
  object-position: center 35%;
}

.access .section-heading {
  margin-bottom: 50px;
}

.access-grid {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 60px;
  align-items: center;
}

.access-grid h3 {
  font-family: var(--serif);
  font-size: 23px;
}

.access-grid p {
  color: var(--muted);
  font-size: 13px;
}

.access-grid iframe {
  width: 100%;
  height: 390px;
  border: 0;
  filter: grayscale(.3);
}

@media (max-width: 900px) {
  .company-message-grid,
  .profile-grid,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .company-photo {
    height: 560px;
  }

  .office-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .access-grid iframe {
    order: -1;
  }
}

@media (max-width: 620px) {
  .company-photo {
    height: 430px;
  }

  .profile-table > div {
    grid-template-columns: 105px 1fr;
    gap: 10px;
  }

  .office-photos {
    grid-template-columns: 1fr;
  }

  .access-grid iframe {
    height: 300px;
  }
}
