.p-companyPage {
  background: #fafafa;
}

.p-companyPage .l-header {
  background: transparent;
  box-shadow: none;
}

.p-companyPage .l-header.is-scrolled,
.p-companyPage.is-open .l-header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.p-pageFv {
  position: relative;
  height: 419px;
  overflow: hidden;
  background: #d8d8d8;
}

.p-pageFv__bg,
.p-pageFv__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.p-pageFv__bg img {
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: blur(1.5px);
  transform: scale(1.02);
}

.p-pageFv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.p-pageFv__title {
  position: absolute;
  z-index: 1;
  top: 176px;
  left: max(24px, calc(50% - 560px));
  color: #00102c;
}

.p-pageFv__title h1 {
  font-family: Montserrat, sans-serif;
  font-size: 77px;
  font-weight: 700;
  letter-spacing: 1.54px;
  line-height: 1;
}

.p-pageFv__title p {
  margin-top: 14px;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 24px;
  letter-spacing: 0.96px;
  line-height: 1;
}

.p-companyPage__body {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: min(1120px, calc(100% - 48px));
  margin: 40px auto 80px;
}

.p-crumb {
  margin: 0;
  color: #4c4c4c;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 16px;
  letter-spacing: 0.16px;
  line-height: 1.75;
}

.p-crumb a {
  color: #095aaf;
  font-weight: 700;
  text-decoration: underline;
}

.p-secHead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 4px solid #73580d;
}

.p-secHead::before {
  content: "";
  width: 4px;
  height: 30px;
  background: #73580d;
  flex: none;
}

.p-secHead h2 {
  color: #333;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.92px;
  line-height: 1.45;
}

.p-greeting__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
}

.p-greeting__text {
  width: min(806px, 100%);
  color: #333;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.28px;
  line-height: 1.45;
}

.p-greeting__text p + p {
  margin-top: 1.45em;
}

.p-greeting__sign {
  display: block;
  width: 278px;
  height: auto;
  margin-top: 12px;
}

.p-greeting__photo {
  width: 220px;
  flex: none;
  overflow: hidden;
}

.p-greeting__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.p-philosophy__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-philosophy__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 40px;
  background: #fff;
  box-shadow: 3px 3px 3.5px rgba(0, 0, 0, 0.12);
}

.p-philosophy__label {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 350px;
  flex: none;
  padding: 8px 0;
}

.p-philosophy__label img {
  width: auto;
  height: 28px;
  flex: none;
}

.p-philosophy__label p {
  color: #73580d;
  font-family: "Hiragino Maru Gothic Pro", "Hiragino Maru Gothic ProN", sans-serif;
  font-size: 16px;
  letter-spacing: 1.28px;
  line-height: 1;
}

.p-philosophy__value {
  color: #333;
  font-family: "Hiragino Maru Gothic Pro", "Hiragino Maru Gothic ProN", sans-serif;
  font-size: 26px;
  letter-spacing: 1.04px;
  line-height: 1.6;
}

.p-outline__row {
  display: flex;
  gap: 80px;
  padding: 24px 0;
  border-bottom: 1px solid #d9d9d9;
  color: #333;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 1.4;
}

.p-outline__row dt {
  width: 180px;
  flex: none;
}

.p-outline__row dd {
  flex: 1;
  min-width: 0;
  line-height: 1.7;
}

.p-outline__place {
  display: flex;
  gap: 24px;
}

.p-outline__place + .p-outline__place {
  margin-top: 16px;
}

.p-outline__place-name {
  width: 4em;
  flex: none;
  white-space: nowrap;
}

.p-access {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-access .p-secHead {
  margin-bottom: 0;
}

.p-access__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-access__address {
  display: flex;
  color: #333;
  font-family: "BIZ UDGothic", sans-serif;
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 1.7;
}

.p-access__address span {
  width: 80px;
  flex: none;
}

.p-access__map {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.p-access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 1100px) {
  .p-greeting__inner,
  .p-philosophy__card,
  .p-outline__row {
    flex-direction: column;
    gap: 16px;
  }

  .p-philosophy__label,
  .p-outline__row dt {
    width: auto;
  }

  .p-philosophy__value {
    font-size: 20px;
  }

  .p-greeting__photo {
    width: min(280px, 100%);
    height: 360px;
  }
}

@media screen and (max-width: 768px) {
  .p-pageFv {
    height: 280px;
  }

  .p-pageFv__bg img {
    object-position: right center;
  }

  .p-companyPage .l-header {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  }

  .p-pageFv__title {
    top: auto;
    right: 20px;
    bottom: 36px;
    left: 24px;
  }

  .p-pageFv__title h1 {
    font-size: 42px;
  }

  .p-pageFv__title p {
    margin-top: 8px;
    font-size: 18px;
  }

  .p-companyPage__body {
    gap: 56px;
    margin-top: 24px;
    margin-bottom: 48px;
  }

  .p-secHead h2 {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .p-outline__row,
  .p-access__address {
    font-size: 16px;
  }

  .p-access__map {
    height: 220px;
  }

  .p-greeting__sign {
    width: min(278px, 100%);
  }

  .p-philosophy__card {
    align-items: flex-start;
    padding: 20px 16px;
  }

  .p-philosophy__label {
    width: 100%;
  }

  .p-philosophy__value {
    font-size: 18px;
  }

  .p-outline__place {
    flex-direction: column;
    gap: 4px;
  }

  .p-outline__place p {
    min-width: 0;
  }
}
