:root {
  --mnt-black: #080808;
  --mnt-white: #fff;
  --mnt-gray: #f2f2f0;
  --mnt-line: #d2d2ce;
  --mnt-muted: #666;
  --mnt-shell: min(1000px, calc(100% - 80px));
  --mnt-gutter: max(40px, calc((100vw - 1000px) / 2));
  --mnt-font: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--mnt-white);
  color: var(--mnt-black);
  font-family: var(--mnt-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: fixed; z-index: 9999; top: -100px; left: 16px; padding: 12px 18px; background: #fff; color: #000; }
.skip-link:focus { top: 16px; }
.mnt-shell { width: var(--mnt-shell); margin-inline: auto; padding-inline: 30px; }

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 86px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  transition: height .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.site-header.is-inner-header,
.site-header.is-scrolled {
  height: 70px;
  background: rgba(255, 255, 255, .96);
  color: var(--mnt-black);
  border-bottom: 1px solid rgba(0, 0, 0, .09);
  backdrop-filter: blur(14px);
}
.site-branding, .site-branding__fallback { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.site-header .site-branding { transition: opacity .3s ease, visibility 0s linear 0s; }
.site-header.is-at-top .site-branding { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.site-branding .custom-logo { width: auto; max-width: 150px; max-height: 48px; filter: brightness(0) invert(1); }
.site-header.is-inner-header .custom-logo,
.site-header.is-scrolled .custom-logo { filter: none; }
.site-branding__mark { width: 36px; height: auto; }
.site-branding__name { font-size: 18px; line-height: 1; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: 32px; }
.primary-menu a { position: relative; display: block; padding: 9px 0; font-size: 12px; font-weight: 700; letter-spacing: .11em; }
.primary-menu a::after { content: ""; position: absolute; right: 100%; bottom: 4px; left: 0; height: 1px; background: currentColor; transition: right .22s ease; }
.primary-menu a:hover::after, .primary-menu a:focus-visible::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-toggle__line { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: transform .25s ease, opacity .25s ease; }

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  height: 100svh;
  overflow: hidden;
  background: #fff;
  color: #fff;
}
.hero__image { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,0) 62%, rgba(0,0,0,.12)); }
.hero__brand { position: absolute; z-index: 2; top: 35%; left: 50%; width: min(430px, 62vw); translate: -50% -50%; text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.hero__brand .custom-logo { width: auto; max-width: 290px; max-height: 190px; margin-inline: auto; filter: brightness(0) invert(1); }
.hero__fallback-logo { color: #fff; }
.hero__fallback-logo svg { width: 155px; margin-inline: auto; }
.hero__fallback-logo strong { display: block; margin-top: -6px; font-size: clamp(46px, 5vw, 72px); line-height: 1; letter-spacing: -.055em; }
.hero__tagline { margin: 18px 0 0; font-size: clamp(13px, 1.1vw, 17px); font-weight: 700; letter-spacing: .07em; }
.hero__curve { position: absolute; z-index: 3; right: -2px; bottom: -2px; left: -2px; width: calc(100% + 4px); height: 34%; }

/* Lead — ヒーロー直下、白地に置く見出し */
.lead { padding: 16px 24px; background: #fff; color: var(--mnt-black); text-align: center; }
.lead h1 { margin: 0; font-size: clamp(34px, 4.2vw, 66px); line-height: 1.2; letter-spacing: -.055em; font-weight: 800; }
.lead p { margin: 12px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .32em; }

/* Shared editorial system */
.mnt-section { padding: 170px 0; }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 88px; color: #555; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.section-label::after { content: ""; flex: 1; height: 1px; margin-left: 4px; background: var(--mnt-line); }
.section-label--dark { color: #aaa; }
.section-label--dark::after { background: #3d3d3d; }
.section-title { margin: 0; font-size: clamp(42px, 5vw, 76px); line-height: 1.18; letter-spacing: -.06em; font-weight: 800; }
.display-word {
  width: 100%;
  height: calc(.769em - 10px);   /* ベースラインより 10px 浅く切り、次のセクションへめり込ませる */
  margin: 80px 0 0;
  overflow: hidden;
  font-size: clamp(64px, 9.2vw, 138px);
  line-height: .78;
  text-align: center;
  letter-spacing: -.09em;
  font-weight: 900;
  white-space: nowrap;
}

/* About */
.about { padding-top: 54px; padding-bottom: 0; }
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: stretch; margin: 20px 0; }
.about__left { min-width: 0; }
.about__subtitle { margin: 52px 0 0; font-size: clamp(18px, 1.5vw, 23px); font-weight: 750; }
.about__body { padding-left: 48px; border-left: 1px solid var(--mnt-line); color: #444; font-size: 14px; line-height: 1.72; }
.about__body p { margin: 0; }

/* Services */
.services { padding: 140px 0 0; background: var(--mnt-black); color: #fff; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #3d3d3d; }
.service-list__item { display: grid; grid-template-columns: 90px minmax(230px, 1fr) 1.2fr 30px; gap: 28px; align-items: center; min-height: 124px; border-bottom: 1px solid #3d3d3d; }
.service-list__number { font-size: 40px; line-height: 1; font-weight: 700; }
.service-list__item h3 { margin: 0; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; }
.service-list__item p { margin: 0; color: #bbb; font-size: 14px; line-height: 1.75; }
.service-list__arrow { font-size: 26px; font-weight: 300; text-align: right; }

/* Commitment */
.commitment { padding-top: 140px; padding-bottom: 0; }
.commitment__items { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 66px; border-top: 1px solid var(--mnt-line); }
.commitment__item { padding: 35px 34px 10px 0; }
.commitment__item + .commitment__item { padding-left: 34px; border-left: 1px solid var(--mnt-line); }
.commitment__item h3 { margin: 0 0 20px; font-size: 28px; }
.commitment__item p { margin: 0; color: #555; font-size: 15px; line-height: 1.9; }

/* Work slider */
.work { margin-top: 90px; }
.work__viewport { overflow: hidden; }
.work__track { display: flex; gap: 12px; transition: transform .55s cubic-bezier(.22,.75,.18,1); will-change: transform; }
.work__slide { flex: 0 0 calc((100% - 24px) / 3); min-width: 0; aspect-ratio: 3 / 2; margin: 0; overflow: hidden; background: #ddd; }
.work__slide img { width: 100%; height: 100%; object-fit: cover; }
.work__controls { display: flex; align-items: center; justify-content: center; gap: 34px; margin-top: 28px; }
.slider-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #bbb; border-radius: 50%; background: transparent; color: #111; font-size: 24px; cursor: pointer; transition: color .2s ease, background .2s ease; }
.slider-button:hover, .slider-button:focus-visible { background: #111; color: #fff; }
.slider-button:disabled { opacity: .3; cursor: default; }
.work__counter { min-width: 66px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-align: center; }

/* Media */
.media { padding-top: 140px; background: var(--mnt-black); color: #fff; }
.media__index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.media__item { display: grid; grid-template-columns: 74px 1fr 28px; align-items: center; min-height: 90px; border-bottom: 1px solid #3d3d3d; transition: background .2s ease, padding .2s ease; }
.media__item:hover, .media__item:focus-visible { padding-inline: 12px; background: #1b1b1b; }
.media__number { font-size: 32px; font-weight: 750; }
.media__item h3 { margin: 0; font-size: 20px; }
.media__arrow { font-size: 20px; text-align: right; }

/* Process */
.process { background: #fff; color: var(--mnt-black); }
.process__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 70px 0 0; padding: 0 0 48px; }
.process__list::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--mnt-line); }
.process__item { position: relative; min-height: 180px; padding: 0 34px; border-left: 1px solid var(--mnt-line); }
.process__item:first-child { padding-left: 0; border-left: 0; }
.process__item::after { content: ""; position: absolute; z-index: 2; bottom: -53px; left: 34px; width: 9px; height: 9px; border-radius: 50%; background: var(--mnt-black); transform: translateY(50%); }
.process__item:first-child::after { left: 0; }
.process__number { display: block; margin-bottom: 24px; color: #777; font-size: 12px; letter-spacing: .12em; }
.process__item h3 { margin: 0 0 14px; font-size: 22px; }
.process__item p { margin: 0; color: #555; font-size: 14px; line-height: 1.8; }

/* Contact / footer */
.contact { padding: 145px 0 135px; background: var(--mnt-black); color: #fff; border-top: 1px solid #333; text-align: center; }
.contact h2 { margin: 0; font-size: clamp(50px, 7vw, 100px); line-height: 1; letter-spacing: -.06em; }
.contact__lead { margin: 28px 0 0; font-size: clamp(18px, 2vw, 26px); font-weight: 700; }
.contact__actions { display: flex; align-items: center; justify-content: center; gap: 34px; margin-top: 50px; }
.contact__button { display: inline-flex; align-items: center; justify-content: space-between; width: 290px; min-height: 68px; padding: 0 26px; border: 1px solid #777; font-size: 13px; font-weight: 700; letter-spacing: .08em; transition: background .2s ease, color .2s ease; }
.contact__button:hover, .contact__button:focus-visible { background: #fff; color: #000; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 96px; padding: 20px 4.5vw; background: var(--mnt-black); color: #fff; border-top: 1px solid #333; }
.site-footer__brand { font-size: 20px; font-weight: 800; }
.site-footer__copy, .site-footer__top { color: #999; font-size: 10px; letter-spacing: .12em; }

/* Standard WordPress content */
.content-area { width: var(--mnt-shell); min-height: 65vh; margin: 0 auto; padding: 150px 0 100px; }
.entry-header { margin-bottom: 44px; }
.entry-title { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.2; letter-spacing: -.05em; }
.entry-meta { margin-top: 12px; color: #777; font-size: 13px; }
.entry-content { max-width: 820px; font-size: 17px; line-height: 2; }
.entry-content > * { max-width: 100%; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { margin-block: 34px; }
.post-list article { padding: 34px 0; border-bottom: 1px solid var(--mnt-line); }
.post-list h2 { margin: 0; font-size: 28px; }
.pagination { margin-top: 50px; }
.not-found { text-align: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  :root { --mnt-shell: min(100% - 40px, 760px); --mnt-gutter: 20px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-navigation { position: fixed; z-index: 99; inset: 70px 0 auto; padding: 20px; background: #fff; color: #000; border-bottom: 1px solid #ddd; transform: translateY(-140%); transition: transform .3s ease; }
  .primary-navigation.is-open { transform: none; }
  .primary-menu { display: block; }
  .primary-menu a { padding: 16px 0; border-bottom: 1px solid #e5e5e5; }
  .hero { min-height: 720px; height: 780px; }
  .hero__image { background-position: 45% center; }
  .hero__brand { top: 34%; width: 78vw; }
  .hero__fallback-logo svg { width: 115px; }
  .hero__fallback-logo strong { font-size: 48px; }
  .hero__curve { height: 31%; }
  .mnt-section { padding: 130px 0; }
  .about { padding-top: 54px; padding-bottom: 0; }
  .about__grid { grid-template-columns: 1fr; gap: 45px; }
  .about__body { padding: 0; border-left: 0; }
  .service-list__item { grid-template-columns: 62px 1fr 28px; padding: 26px 0; }
  .service-list__item p { grid-column: 2 / 4; }
  .commitment__items { grid-template-columns: 1fr; }
  .commitment__item, .commitment__item + .commitment__item { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--mnt-line); }
  .work__slide { flex-basis: calc((100% - 12px) / 2); }
  .process__list { grid-template-columns: 1fr 1fr; gap: 46px 0; }
  .process__list::after, .process__item::after { display: none; }
  .process__item:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 600px) {
  :root { --mnt-shell: calc(100% - 32px); }
  .site-header { height: 70px; padding: 0 18px; }
  .site-branding__name { font-size: 16px; }
  .site-branding__mark { width: 31px; }
  .hero { min-height: 660px; height: 700px; }
  .hero__brand { top: 32%; width: 88vw; }
  .hero__fallback-logo svg { width: 98px; }
  .hero__fallback-logo strong { font-size: 40px; }
  .hero__tagline { margin-top: 12px; font-size: 11px; }
  .hero__curve { height: 29%; }
  .lead { padding: 16px 20px; }
  .lead h1 { font-size: clamp(27px, 8.2vw, 36px); }
  .lead p { font-size: 8px; letter-spacing: .16em; }
  .mnt-section { padding: 112px 0; }
  .about { padding-top: 54px; padding-bottom: 0; }
  .section-label { margin-bottom: 38px; }
  .section-title { font-size: clamp(36px, 10vw, 50px); }
  .about__subtitle { margin-top: 36px; font-size: 17px; }
  .display-word { margin-top: 72px; font-size: 50px; }
  .services { padding-top: 108px; }
  .service-list__item { grid-template-columns: 48px 1fr 24px; min-height: 0; }
  .service-list__number { font-size: 30px; }
  .service-list__item h3 { font-size: 19px; }
  .service-list__item p { font-size: 13px; }
  .commitment { padding-top: 108px; }
  .commitment__items { margin-top: 44px; }
  .work__slide { flex-basis: 82%; }
  .media__index { grid-template-columns: 1fr; }
  .media__item { grid-template-columns: 56px 1fr 24px; min-height: 78px; }
  .media__number { font-size: 26px; }
  .media__item h3 { font-size: 17px; }
  .process__list { grid-template-columns: 1fr; margin-top: 48px; padding-bottom: 0; }
  .process__item, .process__item:nth-child(3) { min-height: 0; padding: 0 0 30px; border: 0; border-bottom: 1px solid #333; }
  .contact { padding: 120px 0 105px; }
  .contact__actions { flex-direction: column; gap: 24px; }
  .contact__button { width: 100%; }
  .site-footer { flex-wrap: wrap; justify-content: center; gap: 15px; text-align: center; }
  .site-footer__top { width: 100%; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .work__track { transition: none; }
}
