body.mn-company {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(13, 40, 70, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(53, 185, 131, 0.04) 1px, transparent 1px),
    var(--mn-bg);
  background-size: 54px 54px, 54px 54px, auto;
  color: var(--mn-ink);
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

body.mn-company *,
body.mn-company *::before,
body.mn-company *::after {
  box-sizing: border-box;
}

body.mn-company img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.mn-company a {
  color: inherit;
}

body.mn-company button {
  font: inherit;
}

body.mn-company :focus-visible {
  outline: 3px solid rgba(53, 185, 131, 0.35);
  outline-offset: 4px;
}

.mn-company-main {
  background: transparent;
}

.mn-company-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 78px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 244, 0.82)),
    var(--mn-bg);
}

.mn-company-hero::before {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 185, 131, 0.32), transparent);
  content: "";
  pointer-events: none;
}

.mn-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--mn-muted);
  font-size: 13px;
  font-weight: 800;
}

.mn-breadcrumb a {
  color: var(--mn-navy);
  text-decoration: none;
}

.mn-breadcrumb a:hover {
  color: var(--mn-green-dark);
}

.mn-company-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.mn-company-hero h1,
.mn-company-message__body h2 {
  margin: 0;
  color: var(--mn-navy);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.mn-company-hero h1 {
  font-size: 48px;
  line-height: 1.25;
}

.mn-company-hero .mn-lead {
  max-width: 760px;
  margin: 20px 0 0;
}

.mn-company-message {
  background: rgba(255, 255, 255, 0.72);
}

.mn-company-message__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 48px;
  align-items: start;
}

.mn-company-message__body {
  min-width: 0;
}

.mn-company-message__body h2 {
  font-size: 34px;
  line-height: 1.35;
}

.mn-company-message__body p:not(.mn-eyebrow) {
  margin: 18px 0 0;
  color: var(--mn-muted);
  font-weight: 600;
}

.mn-company-representative {
  align-self: start;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(217, 231, 229, 0.92);
  border-radius: var(--mn-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--mn-shadow-soft);
}

.mn-company-representative img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.mn-company-representative figcaption {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--mn-green);
  margin: 0;
  padding: 20px 24px 22px;
}

.mn-company-representative span {
  color: var(--mn-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.mn-company-representative strong {
  margin: 0;
  color: var(--mn-navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.mn-company-profile-section {
  background: linear-gradient(180deg, rgba(238, 248, 244, 0.72), rgba(255, 255, 255, 0.9));
}

.mn-company-profile {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(217, 231, 229, 0.92);
  border-radius: var(--mn-radius);
  background: #fff;
  box-shadow: var(--mn-shadow-soft);
}

.mn-company-profile div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-width: 0;
  min-height: 70px;
  border-bottom: 1px solid var(--mn-line);
}

.mn-company-profile div:last-child {
  border-bottom: 0;
}

.mn-company-profile dt,
.mn-company-profile dd {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
}

.mn-company-profile dt {
  background: var(--mn-paper-tint);
  color: var(--mn-green-dark);
  font-weight: 900;
  padding: 18px 24px;
}

.mn-company-profile dd {
  color: #31495d;
  font-weight: 700;
  overflow-wrap: anywhere;
  padding: 18px 24px;
}

.mn-company-profile a {
  color: var(--mn-navy);
  text-decoration: none;
}

.mn-company-profile a:hover {
  color: var(--mn-green-dark);
}

.mn-company-final-cta {
  padding: 88px 0;
}

.mn-company-final-cta .mn-button-row {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .mn-company-hero {
    padding-top: 118px;
  }

  .mn-company-hero h1 {
    font-size: 40px;
  }

  .mn-company-message__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mn-company-representative {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  body.mn-company {
    max-width: 100vw;
    padding-bottom: 74px;
    font-size: 15px;
  }

  body.mn-company .mn-container {
    width: calc(100vw - 44px) !important;
    max-width: calc(100vw - 44px) !important;
  }

  .mn-company-hero,
  .mn-company-main,
  .mn-company-message,
  .mn-company-profile-section,
  .mn-company-final-cta {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .mn-company-hero {
    padding: 104px 0 58px;
  }

  .mn-breadcrumb {
    margin-bottom: 24px;
  }

  .mn-company-hero__copy,
  .mn-company-hero__copy *,
  .mn-company-hero .mn-lead,
  .mn-company-message__body,
  .mn-company-message__body p,
  .mn-company-representative,
  .mn-company-representative figcaption,
  .mn-company-profile-section .mn-section-head,
  .mn-company-profile-section .mn-section-head > *,
  .mn-company-profile,
  .mn-company-profile dd {
    width: 100%;
    max-width: 100% !important;
    min-width: 0;
    overflow-wrap: anywhere !important;
  }

  .mn-company-hero__copy,
  .mn-company-hero__copy * {
    max-width: 100%;
    white-space: normal !important;
  }

  .mn-company-hero h1 {
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-all;
    font-size: 34px;
  }

  .mn-company-hero .mn-lead,
  .mn-company-message__body p {
    line-break: anywhere;
    word-break: break-all;
  }

  .mn-company-message__body h2 {
    font-size: 29px;
  }

  .mn-company-representative {
    max-width: none;
  }

  .mn-company-representative figcaption {
    padding: 18px 20px 20px;
  }

  .mn-company-profile {
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .mn-company-profile div {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: hidden;
    border: 1px solid rgba(217, 231, 229, 0.92);
    border-radius: var(--mn-radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(13, 40, 70, 0.05);
  }

  .mn-company-profile div:last-child {
    border-bottom: 1px solid rgba(217, 231, 229, 0.92);
  }

  .mn-company-profile dt,
  .mn-company-profile dd {
    align-items: flex-start;
  }

  .mn-company-profile dt {
    padding: 12px 16px;
  }

  .mn-company-profile dd {
    background: #fff;
    padding: 14px 16px 18px;
  }

  .mn-company-final-cta {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mn-company *,
  body.mn-company *::before,
  body.mn-company *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
