@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@500;600;700&display=swap");

:root {
  --ml-ink: #142231;
  --ml-navy: #183247;
  --ml-navy-deep: #0d2131;
  --ml-blue: #31546b;
  --ml-sand: #c9ad78;
  --ml-sand-light: #eee5d5;
  --ml-paper: #f8f7f4;
  --ml-white: #ffffff;
  --ml-muted: #66727d;
  --ml-line: #dfe3e4;
  --ml-font-sans: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --ml-font-serif: "Noto Serif JP", "Yu Mincho", serif;
  --ml-container: 1180px;
  --ml-header-height: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ml-ink);
  background: var(--ml-white);
  font-family: var(--ml-font-sans);
  line-height: 1.9;
  letter-spacing: 0.035em;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
}

body.ml-menu-open {
  overflow: hidden !important;
}

.l-header,
#header,
.c-headerBar,
.l-footer,
#footer,
.p-spMenu,
.c-fixBtns,
.p-fixCta,
.c-pageTitle,
.p-pageTitle,
.p-mainVisual,
#mainvisual,
.c-mainVisual,
.l-sidebar,
#sidebar,
.p-breadcrumb,
.c-postThumb,
.c-gotop,
#page_top {
  display: none !important;
}

.l-container,
.l-content,
.l-main,
#main,
.l-mainArea,
.l-mainContent,
.l-mainContent__inner,
.post_content,
.entry-content,
.l-article,
.c-content,
.l-articleBody,
.p-postContent,
article.p-post,
article {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.post_content > * {
  max-width: none !important;
}

.ml-site a,
.ml-header a,
.ml-footer a {
  color: inherit;
  text-decoration: none;
}

.ml-site img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.ml-site h1,
.ml-site h2,
.ml-site h3,
.ml-site p,
.ml-site ul,
.ml-site dl {
  margin-top: 0;
}

.ml-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--ml-header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 34, 49, 0.08);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.ml-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 10px 35px rgba(20, 34, 49, 0.08);
}

.ml-header__inner {
  width: min(100% - 48px, var(--ml-container));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.ml-logo {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  line-height: 1.15;
}

.ml-logo__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ml-navy-deep);
}

.ml-logo__en {
  margin-top: 6px;
  color: var(--ml-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.ml-nav {
  display: flex;
  align-items: center;
}

.ml-nav__list {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ml-nav__link {
  position: relative;
  display: block;
  padding: 10px 0;
  color: var(--ml-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ml-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ml-sand);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ml-nav__link:hover::after,
.ml-nav__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.ml-menu-toggle {
  display: none;
  padding: 8px 0;
  color: var(--ml-navy-deep);
  background: transparent;
  border: 0;
  font-family: var(--ml-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
}

.ml-main {
  padding-top: var(--ml-header-height);
}

.ml-container {
  width: min(100% - 48px, var(--ml-container));
  margin: 0 auto;
}

.ml-section {
  padding: 112px 0;
}

.ml-section--paper {
  background: var(--ml-paper);
}

.ml-section--navy {
  color: var(--ml-white);
  background: var(--ml-navy-deep);
}

.ml-eyebrow {
  margin-bottom: 20px;
  color: var(--ml-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ml-section--navy .ml-eyebrow,
.ml-hero .ml-eyebrow,
.ml-page-hero .ml-eyebrow {
  color: var(--ml-sand);
}

.ml-title {
  margin-bottom: 0;
  font-family: var(--ml-font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.035em;
}

.ml-title--small {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.ml-lead {
  max-width: 780px;
  margin-top: 28px;
  margin-bottom: 0;
  color: var(--ml-muted);
  font-size: 16px;
}

.ml-section--navy .ml-lead {
  color: rgba(255, 255, 255, 0.76);
}

.ml-head {
  margin-bottom: 64px;
}

.ml-head--center {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 64px;
  margin-left: auto;
  text-align: center;
}

.ml-hero {
  position: relative;
  min-height: calc(100svh - var(--ml-header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ml-white);
  background: var(--ml-navy-deep);
}

.ml-hero__image {
  position: absolute;
  inset: 0;
  background-image: url("/ml-assets/hero-majorland.png");
  background-position: center;
  background-size: cover;
}

.ml-hero__image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 25, 38, 0.88) 0%, rgba(8, 25, 38, 0.7) 36%, rgba(8, 25, 38, 0.18) 70%, rgba(8, 25, 38, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 25, 38, 0.35), transparent 50%);
  content: "";
}

.ml-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--ml-container));
  margin: 0 auto;
  padding: 72px 0;
}

.ml-hero__copy {
  max-width: 840px;
}

.ml-hero__title {
  margin-bottom: 0;
  font-family: var(--ml-font-serif);
  font-size: clamp(2.6rem, 5.2vw, 4.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.045em;
}

.ml-hero__text {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

.ml-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.ml-button {
  display: inline-flex;
  min-width: 196px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid var(--ml-navy-deep);
  color: var(--ml-white) !important;
  background: var(--ml-navy-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ml-button:hover {
  color: var(--ml-navy-deep) !important;
  background: var(--ml-sand);
  border-color: var(--ml-sand);
}

.ml-button--light {
  color: var(--ml-navy-deep) !important;
  background: var(--ml-white);
  border-color: var(--ml-white);
}

.ml-button--line {
  color: var(--ml-navy-deep) !important;
  background: transparent;
  border-color: var(--ml-navy-deep);
}

.ml-hero .ml-button--line,
.ml-section--navy .ml-button--line {
  color: var(--ml-white) !important;
  border-color: rgba(255, 255, 255, 0.58);
}

.ml-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.ml-split--reverse .ml-split__media {
  order: 2;
}

.ml-split__media {
  position: relative;
}

.ml-split__media::before {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -24px;
  width: 58%;
  height: 58%;
  background: var(--ml-sand-light);
  content: "";
}

.ml-split__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ml-split__body p:last-child {
  margin-bottom: 0;
}

.ml-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ml-line);
  border: 1px solid var(--ml-line);
}

.ml-service {
  min-width: 0;
  background: var(--ml-white);
}

.ml-service__media {
  overflow: hidden;
}

.ml-service__media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ml-service:hover .ml-service__media img {
  transform: scale(1.025);
}

.ml-service__body {
  padding: 36px 40px 42px;
}

.ml-service__number {
  margin-bottom: 20px;
  color: var(--ml-sand);
  font-family: var(--ml-font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ml-service__title {
  margin-bottom: 18px;
  font-family: var(--ml-font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
}

.ml-service__text {
  margin-bottom: 0;
  color: var(--ml-muted);
  font-size: 15px;
}

.ml-property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 28px;
}

.ml-property {
  min-width: 0;
}

.ml-property__media {
  position: relative;
  overflow: hidden;
  background: var(--ml-navy);
}

.ml-property__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.78);
}

.ml-property__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 30, 44, 0.48), transparent 55%);
  content: "";
}

.ml-property__label {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.ml-property__body {
  padding-top: 20px;
}

.ml-property__title {
  margin-bottom: 8px;
  font-family: var(--ml-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.ml-property__text {
  margin-bottom: 0;
  color: var(--ml-muted);
  font-size: 14px;
}

.ml-note {
  margin: 34px 0 0;
  color: var(--ml-muted);
  font-size: 12px;
}

.ml-principles {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ml-principle {
  display: grid;
  grid-template-columns: 150px 1fr 1.25fr;
  align-items: baseline;
  gap: 42px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ml-principle__number {
  margin: 0;
  color: var(--ml-sand);
  font-family: var(--ml-font-serif);
  font-size: 14px;
  letter-spacing: 0.15em;
}

.ml-principle__title {
  margin: 0;
  font-family: var(--ml-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.ml-principle__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.ml-recruit-band {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  color: var(--ml-white);
  background: var(--ml-navy-deep);
  overflow: hidden;
}

.ml-recruit-band__image {
  position: absolute;
  inset: 0;
  background-image: url("/ml-assets/recruit-hero.jpg");
  background-position: center;
  background-size: cover;
}

.ml-recruit-band__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 29, 44, 0.9), rgba(9, 29, 44, 0.4));
  content: "";
}

.ml-recruit-band__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--ml-container));
  margin: 0 auto;
}

.ml-recruit-band__copy {
  max-width: 650px;
}

.ml-cta {
  padding: 90px 0;
  text-align: center;
  background: var(--ml-sand-light);
}

.ml-cta .ml-actions {
  justify-content: center;
}

.ml-page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  padding: 90px 0 72px;
  color: var(--ml-white);
  background: var(--ml-navy-deep);
  overflow: hidden;
}

.ml-page-hero__image {
  position: absolute;
  inset: 0;
  background-image: url("/ml-assets/pagehead.jpg");
  background-position: center;
  background-size: cover;
}

.ml-page-hero__image--company {
  background-image: url("/ml-assets/company-hero.jpg");
}

.ml-page-hero__image--recruit {
  background-image: url("/ml-assets/recruit-hero.jpg");
}

.ml-page-hero__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 37, 0.88), rgba(7, 24, 37, 0.38));
  content: "";
}

.ml-page-hero__inner {
  position: relative;
  z-index: 1;
}

.ml-page-hero__title {
  margin-bottom: 0;
  font-family: var(--ml-font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.ml-page-hero__text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.ml-detail-list {
  border-top: 1px solid var(--ml-line);
}

.ml-detail {
  display: grid;
  grid-template-columns: 120px 260px 1fr;
  gap: 38px;
  padding: 48px 0;
  border-bottom: 1px solid var(--ml-line);
}

.ml-detail__number {
  margin: 0;
  color: var(--ml-sand);
  font-family: var(--ml-font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.ml-detail__title {
  margin: 0;
  font-family: var(--ml-font-serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.ml-detail__content p {
  margin-bottom: 20px;
  color: var(--ml-muted);
  font-size: 15px;
}

.ml-detail__content p:last-child {
  margin-bottom: 0;
}

.ml-plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ml-line);
}

.ml-plain-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--ml-line);
  font-size: 14px;
}

.ml-table {
  width: 100%;
  border-collapse: collapse;
}

.ml-table th,
.ml-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--ml-line);
  text-align: left;
  vertical-align: top;
}

.ml-table th {
  width: 240px;
  color: var(--ml-navy-deep);
  background: var(--ml-paper);
  font-size: 14px;
  font-weight: 700;
}

.ml-table td {
  font-size: 15px;
}

.ml-message {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.ml-message p {
  color: var(--ml-muted);
}

.ml-status {
  padding: 46px;
  background: var(--ml-paper);
  border-left: 4px solid var(--ml-sand);
}

.ml-status__title {
  margin-bottom: 16px;
  font-family: var(--ml-font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.ml-status p:last-child {
  margin-bottom: 0;
}

.ml-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ml-contact-card {
  padding: 42px;
  border: 1px solid var(--ml-line);
  background: var(--ml-white);
}

.ml-contact-card__label {
  margin-bottom: 16px;
  color: var(--ml-sand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.ml-contact-card__title {
  margin-bottom: 16px;
  font-family: var(--ml-font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.ml-contact-card p:last-child {
  margin-bottom: 0;
  color: var(--ml-muted);
}

.ml-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #091b29;
}

.ml-footer__inner {
  width: min(100% - 48px, var(--ml-container));
  margin: 0 auto;
  padding: 82px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
}

.ml-footer .ml-logo__name {
  color: var(--ml-white);
}

.ml-footer .ml-logo__en {
  color: rgba(255, 255, 255, 0.45);
}

.ml-footer__brand p {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.ml-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 34px;
  align-content: start;
}

.ml-footer__nav a {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.ml-footer__nav a:hover {
  color: var(--ml-sand);
}

.ml-footer__bottom {
  width: min(100% - 48px, var(--ml-container));
  margin: 0 auto;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (max-width: 960px) {
  :root {
    --ml-header-height: 72px;
  }

  .ml-menu-toggle {
    display: block;
  }

  .ml-nav {
    position: fixed;
    z-index: 1050;
    top: var(--ml-header-height);
    right: 0;
    bottom: 0;
    height: calc(100svh - var(--ml-header-height));
    width: min(88vw, 420px);
    align-items: flex-start;
    padding: 48px 34px;
    background: var(--ml-navy-deep);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  body.ml-menu-open .ml-nav {
    transform: translateX(0);
  }

  body.ml-menu-open::after {
    position: fixed;
    z-index: 1040;
    inset: var(--ml-header-height) 0 0;
    background: rgba(9, 27, 41, 0.48);
    content: "";
  }

  .ml-nav__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ml-header .ml-nav__link {
    padding: 17px 0;
    color: var(--ml-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 16px;
  }

  .ml-nav__link::after {
    display: none;
  }

  .ml-split {
    grid-template-columns: 1fr;
  }

  .ml-split--reverse .ml-split__media {
    order: 0;
  }

  .ml-principle {
    grid-template-columns: 90px 1fr;
  }

  .ml-principle__text {
    grid-column: 2;
  }

  .ml-detail {
    grid-template-columns: 90px 1fr;
  }

  .ml-detail__content {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .ml-header__inner,
  .ml-container,
  .ml-hero__inner,
  .ml-recruit-band__inner,
  .ml-footer__inner,
  .ml-footer__bottom {
    width: min(100% - 36px, var(--ml-container));
  }

  .ml-logo__name {
    font-size: 16px;
  }

  .ml-logo__en {
    font-size: 8px;
  }

  .ml-section {
    padding: 76px 0;
  }

  .ml-head,
  .ml-head--center {
    margin-bottom: 42px;
  }

  .ml-hero {
    min-height: 720px;
    align-items: flex-end;
  }

  .ml-hero__image {
    background-position: 62% center;
  }

  .ml-hero__image::after {
    background:
      linear-gradient(0deg, rgba(7, 24, 37, 0.93) 0%, rgba(7, 24, 37, 0.68) 52%, rgba(7, 24, 37, 0.12) 100%);
  }

  .ml-hero__inner {
    padding: 86px 0 58px;
  }

  .ml-hero__title {
    font-size: 2rem;
    letter-spacing: 0.02em;
  }

  .ml-hero__title br {
    display: none;
  }

  .ml-actions {
    flex-direction: column;
  }

  .ml-button {
    width: 100%;
  }

  .ml-service-grid,
  .ml-property-grid,
  .ml-contact-cards {
    grid-template-columns: 1fr;
  }

  .ml-service__body {
    padding: 28px 24px 34px;
  }

  .ml-principle {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }

  .ml-principle__text {
    grid-column: auto;
  }

  .ml-page-hero {
    min-height: 360px;
    padding-bottom: 52px;
  }

  .ml-detail {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }

  .ml-detail__content {
    grid-column: auto;
  }

  .ml-table,
  .ml-table tbody,
  .ml-table tr,
  .ml-table th,
  .ml-table td {
    display: block;
    width: 100%;
  }

  .ml-table th {
    padding: 14px 16px;
    border-bottom: 0;
  }

  .ml-table td {
    padding: 16px 16px 24px;
  }

  .ml-status,
  .ml-contact-card {
    padding: 30px 24px;
  }

  .ml-footer__inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
