@charset "UTF-8";

.mu-company-page {
  color: #252525;
  background: #fff;
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
}

.mu-company-page .company-page-main,
.mu-company-page .company-page-main * {
  box-sizing: border-box;
}

.company-page-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.company-page-eyebrow {
  color: #f26700;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.18em;
}

.company-page-hero {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(12, 51, 73, 0.98), rgba(12, 51, 73, 0.86)),
    url("../img/about_bg.webp") center / cover no-repeat;
  padding: clamp(84px, 10vw, 138px) 0;
  position: relative;
  overflow: hidden;
}

.company-page-hero::after {
  content: "MU SETSUBI";
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(70px, 12vw, 170px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: absolute;
  right: -0.04em;
  bottom: -0.12em;
  pointer-events: none;
}

.company-page-hero .company-page-container {
  position: relative;
  z-index: 1;
}

.company-page-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.company-page-hero__lead {
  margin: 28px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
}

.company-page-message {
  background: #f7f4ef;
  padding: clamp(80px, 10vw, 130px) 0;
  scroll-margin-top: 90px;
}

.company-page-message__layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.company-page-message__image {
  margin: 0;
  border-radius: 4px;
  position: relative;
}

.company-page-message__image::before {
  content: "";
  border: 1px solid rgba(242, 103, 0, 0.55);
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: 0;
}

.company-page-message__image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.company-page-message__content h2,
.company-page-profile__heading h2,
.company-page-contact h2 {
  color: #0c3349;
  margin: 0;
  text-align: left;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.company-page-message__content h2::after,
.company-page-profile__heading h2::after,
.company-page-contact h2::after {
  content: none;
}

.company-page-message__catch {
  color: #0c3349;
  margin: 32px 0 24px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(21px, 2.5vw, 29px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.company-page-message__body {
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.025em;
}

.company-page-message__body p {
  margin: 0 0 18px;
}

.company-page-message__sign {
  margin: 34px 0 0;
  text-align: right;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.company-page-message__sign span {
  margin-right: 12px;
  font-size: 13px;
  font-weight: 500;
}

.company-page-profile {
  background: #fff;
  padding: clamp(82px, 10vw, 130px) 0;
  scroll-margin-top: 90px;
}

.company-page-profile__layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.company-page-profile__heading {
  position: sticky;
  top: 110px;
}

.company-page-profile__heading > p:last-child {
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 2;
}

.company-page-profile__list {
  margin: 0;
  border-top: 2px solid #0c3349;
}

.company-page-profile__list > div {
  border-bottom: 1px solid rgba(12, 51, 73, 0.2);
  padding: 25px 8px;
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 24px;
}

.company-page-profile__list dt,
.company-page-profile__list dd {
  width: auto;
  margin: 0;
  border: 0;
  font-size: 15px;
  line-height: 1.9;
}

.company-page-profile__list dt {
  color: #0c3349;
  font-weight: 700;
}

.company-page-profile__list a {
  color: #0c3349;
  border-bottom: 1px solid currentColor;
  overflow-wrap: anywhere;
}

.company-page-profile__list address {
  font-style: normal;
}

.company-page-contact {
  color: #fff;
  background: #0c3349;
  padding: clamp(76px, 9vw, 110px) 0;
  text-align: center;
}

.company-page-contact .company-page-eyebrow {
  text-align: center;
}

.company-page-contact h2 {
  color: #fff;
  text-align: center;
}

.company-page-contact > div > p:not(.company-page-eyebrow) {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.9;
}

.company-page-contact__buttons {
  max-width: 680px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.company-page-button {
  min-height: 60px;
  border: 2px solid transparent;
  border-radius: 7px;
  padding: 15px 22px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.company-page-button:hover,
.company-page-button:focus-visible {
  filter: brightness(0.94);
  transform: translateY(-2px);
}

.company-page-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.company-page-button--line {
  grid-column: 1 / -1;
  background: #06c755;
}

.company-page-button--mail {
  background: #f41717;
}

.company-page-button--tel {
  background: #ff7a00;
}

.company-page-sp-only {
  display: none;
}

@media (max-width: 850px) {
  .company-page-message__layout,
  .company-page-profile__layout {
    grid-template-columns: 1fr;
  }

  .company-page-message__image {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .company-page-profile__heading {
    position: static;
  }
}

@media (max-width: 600px) {
  .company-page-container {
    width: calc(100% - 32px);
  }

  .company-page-hero {
    padding: 68px 0 76px;
  }

  .company-page-pc-only {
    display: none;
  }

  .company-page-message__image::before {
    inset: 10px -8px -10px 8px;
  }

  .company-page-profile__list > div {
    padding: 20px 4px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

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

  .company-page-button--line {
    grid-column: auto;
  }

  .company-page-sp-only {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-page-button {
    transition: none;
  }
}
