@font-face {
  font-family: 'Roboto';
  src: url('roboto-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Miraie Mark';
  src: url('mark.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Miraie Japanese';
  src: url('japanese-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Miraie Japanese';
  src: url('japanese-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #1e1e1d;
  --paper: #fbfbf8;
  --lime: #d7ed20;
  --rule: #bfc0b9;
  --gutter: clamp(1.35rem, 2.8vw, 5rem);
  --jp: 'Miraie Japanese', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --en: 'Roboto', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--jp); line-height: 1.75; }
h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #414b02; outline-offset: 5px; }
::selection { color: #171814; background: #e1f64c; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 9px; left: var(--gutter); z-index: 20;
  background: #fff; padding: .45rem 1rem; border: 1px solid; translate: 0 -175%;
}
.skip-link:focus { translate: 0 0; }
.site-header {
  position: relative; z-index: 4; display: flex; align-items: center;
  column-gap: clamp(2.25rem, 4.58vw, 8rem);
  padding: clamp(1rem, 1.55vw, 2.4rem) var(--gutter);
  font-family: var(--en); font-weight: 700; line-height: 1;
}
body[data-page="home"] .site-header { position: absolute; inset: 0 0 auto; }
.brand {
  display: inline-flex; align-items: center; min-height: 44px;
  flex: none; font-family: 'Miraie Mark', Arial, sans-serif; font-weight: 700;
  font-size: clamp(2.3rem, 3.38vw, 6rem); line-height: 1;
  letter-spacing: .01em; font-feature-settings: "cv11";
}
.desktop-nav { display: flex; align-items: center; column-gap: clamp(1.45rem, 2.68vw, 4.2rem); }
.desktop-nav a, .contact-link {
  font-size: clamp(1rem, 1.5vw, 2.25rem);
  letter-spacing: 0;
}
.desktop-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration-thickness: 2px; text-underline-offset: .26em;
}
.desktop-nav a[aria-current="page"] { text-decoration-line: underline; }
.contact-link {
  display: inline-flex; align-items: center; justify-content: center;
  margin-inline-start: auto; flex: none; border: 2px solid currentColor;
  min-width: clamp(7.4rem, 10.1vw, 17.5rem); min-height: max(44px, 3.7vw);
  border-radius: 100vmax; padding: .42em .95em;
  transition: background-color 140ms ease, color 140ms ease;
}
.contact-link[aria-current="page"] { color: white; background: var(--ink); border-color: var(--ink); }
.mobile-menu { display: none; }
@media (hover: hover) {
  .desktop-nav a:hover { text-decoration-line: underline; }
  .contact-link:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
}
.home-hero {
  isolation: isolate; position: relative; width: 100%;
  height: 100vh; height: 100svh; min-height: 19rem;
  overflow: hidden; background: #eeeef0;
}
.hero-picture { position: absolute; z-index: -1; inset: 0; display: block; }
.hero-image {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
.hero-title {
  position: absolute; inset-inline: 0; top: 50.4%; transform: translateY(-50%);
  display: flex; justify-content: center; align-items: center;
  font-family: var(--en); font-size: 13.17vw; line-height: .94; font-weight: 700;
  letter-spacing: .014em; word-spacing: -.055em;
}
.hero-title-line { flex: none; white-space: nowrap; transform: scaleX(.906); }
.hero-tagline {
  position: absolute; inset-inline-start: 3.25vw; bottom: 5.95%;
  font-family: var(--jp); font-weight: 700; font-size: 2.55vw;
  line-height: 1.2; font-feature-settings: "palt"; letter-spacing: .05em;
}

/* Inner pages reuse the artwork as a quiet banner above the editorial content. */
.inner-main { min-height: 66vh; }
.page-banner {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(13.5rem, 19vw, 22rem); padding: 2.25rem max(var(--gutter), calc((100vw - 86rem) / 2));
  background: #efefed;
}
.page-banner::before {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg, #efefed 0%, rgba(239,239,237,.88) 24%, transparent 61%),
              url('future-arch.webp') 61% 36% / cover no-repeat;
}
.page-banner h1 { font: 700 clamp(4.8rem, 8.5vw, 10rem)/.95 var(--en); letter-spacing: -.055em; }
.page-banner p { margin: .65rem 0 0 .12em; font-size: clamp(.875rem, 1vw, 1.0625rem); font-weight: 700; }
.inner-content {
  width: min(86rem, calc(100% - var(--gutter) * 2)); margin-inline: auto;
  padding-block: clamp(2.6rem, 5.2vw, 6.5rem);
}
.editorial-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 10rem); }
.lead-title {
  font-size: clamp(1.75rem, 2.6vw, 3rem); font-weight: 700;
  line-height: 1.5; letter-spacing: -.045em; text-wrap: balance;
}
.lead-copy { margin-top: 1.2rem; max-width: 38em; line-height: 1.95; }
.fact-list { border-top: 1px solid var(--ink); }
.fact-row { display: grid; grid-template-columns: minmax(6rem, .44fr) 1fr; gap: 1.25rem; padding: 1.12rem 0; border-bottom: 1px solid var(--rule); }
.fact-row dt { font-weight: 700; }
.service-list { border-top: 1px solid var(--ink); }
.service { padding: 1.3rem 0 1.45rem; border-bottom: 1px solid var(--rule); }
.service h2 { font-size: clamp(1.15rem, 1.5vw, 1.5rem); letter-spacing: -.02em; }
.service p { margin-top: .45rem; line-height: 1.9; }
.text-link { display: inline-block; font-weight: 700; margin-top: 1.65rem; text-decoration: underline; text-underline-offset: .32em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.notice { max-width: 46rem; }
.notice h2 { margin-bottom: .85rem; font-size: clamp(1.4rem, 2.1vw, 2.1rem); line-height: 1.6; }
.notice p { line-height: 1.95; }
.site-footer {
  width: min(86rem, calc(100% - var(--gutter) * 2)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0 2rem; border-top: 1px solid var(--rule);
}
.site-footer small { font: 700 .875rem/1.5 var(--en); }
.site-footer a { font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; }

@media (max-width: 52rem) {
  .site-header { gap: .7rem; padding: 1.05rem var(--gutter); }
  .brand { font-size: clamp(2.15rem, 5.1vw, 2.8rem); }
  .desktop-nav { display: none; }
  .contact-link { min-width: 0; min-height: 44px; padding: .55em 1.15em; border-width: 1.5px; font-size: 1rem; }
  .mobile-menu { display: block; position: relative; flex: none; }
  .mobile-menu summary {
    position: relative; display: grid; place-content: center; gap: 0;
    height: 44px; width: 44px; list-style: none; border: 1.5px solid var(--ink); border-radius: 50%;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-bars { display: block; width: 18px; height: 8px; position: relative; }
  .menu-bars::before, .menu-bars::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 1.6px;
    background: var(--ink); top: 0; transform-origin: center;
  }
  .menu-bars::after { top: auto; bottom: 0; }
  .mobile-menu[open] .menu-bars::before { top: 3px; transform: rotate(45deg); }
  .mobile-menu[open] .menu-bars::after { bottom: 3px; transform: rotate(-45deg); }
  .mobile-nav {
    position: absolute; inset-inline-end: 0; top: calc(100% + .7rem);
    width: min(22rem, calc(100vw - var(--gutter) * 2));
    max-height: calc(100vh - 6rem); max-height: calc(100svh - 6rem); overflow-y: auto;
    background: #fbfbf8; border: 1px solid #c6c6be; border-radius: 1.05rem;
    padding: .4rem 1.25rem; box-shadow: 0 12px 34px rgb(32 34 24 / 12%);
  }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 54px; }
  .mobile-nav a + a { border-top: 1px solid #d9d9d1; }
  .mobile-nav a[aria-current="page"] .menu-en { text-decoration: underline; text-underline-offset: .22em; }
  .menu-en { font-size: 1.4rem; }
  .menu-jp { font: 400 .875rem/1.5 var(--jp); }
  .editorial-grid { grid-template-columns: 1fr; gap: 2.3rem; }
  .page-banner::before { background-position: center, 65% 36%; }
}
@media (max-aspect-ratio: 1/1) {
  .home-hero { min-height: 29rem; }
  .hero-image { object-position: 78.5% 50%; }
  .hero-title {
    inset-inline: var(--gutter); top: 58%; display: block; font-size: min(19.4vw, 10rem);
    line-height: .94; letter-spacing: -.043em; word-spacing: -.035em;
  }
  .hero-title-line { display: block; transform: none; white-space: normal; }
  .hero-last { display: block; white-space: nowrap; }
  .hero-tagline {
    inset-inline-start: var(--gutter); bottom: max(8%, env(safe-area-inset-bottom)); font-size: clamp(1.1rem, 4.6vw, 2rem); letter-spacing: .005em;
  }
}
@media (max-aspect-ratio: 2/3) {
  .hero-image { object-position: 54% 68%; }
  .hero-tagline { bottom: max(5.5%, env(safe-area-inset-bottom)); }
}
@media (min-aspect-ratio: 24/10) {
  .hero-image { object-position: 50% 48%; }
  .hero-title { font-size: min(13.17vw, 32vh); }
  .hero-tagline { bottom: 5%; font-size: min(2.55vw, 7vh); }
}
@media (max-height: 30rem) and (min-aspect-ratio: 1/1) {
  .site-header { padding-block: .5rem; }
  .home-hero { min-height: 14rem; }
}
@media (max-width: 36rem) {
  .page-banner { min-height: 11.5rem; padding-bottom: 1.55rem; }
  .page-banner::before { background-size: auto, auto 160%; }
  .fact-row { grid-template-columns: 5.4rem 1fr; gap: .75rem; }
  .site-footer { padding-block: 1.2rem 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

.marketing-inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .45rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .28em;
}
.marketing-inline-link:hover { text-decoration-thickness: 2px; }
.co-strength .marketing-inline-link:focus-visible { outline-color: var(--co-lime); }

/* Keep Japanese headings and captions together at natural phrase boundaries. */
:where(.inner-main, .co-page) :is(h2, h3, h4, summary) {
  text-wrap: balance;
}
:where(.inner-main, .co-page) :is(p, dd):not(.co-kicker, .marketing-label) {
  text-wrap: pretty;
}
:where(.inner-main, .co-page) :is(h2, h3, h4, summary, p, dd):lang(ja) {
  word-break: auto-phrase;
}
/* Allow a long phrase to break if it cannot fit on a narrow screen. */
:where(.inner-main, .co-page) :is(h2, h3, h4, summary, p, dd) {
  overflow-wrap: anywhere;
}

/* Japanese sub-labels under the English navigation. */
.desktop-nav a { flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; }
.desktop-nav a > span { text-decoration: inherit; text-decoration-thickness: inherit; text-underline-offset: inherit; }
.desktop-nav a[aria-current="page"] { text-decoration-line: none; }
.desktop-nav a[aria-current="page"] > span { text-decoration-line: underline; }
.nav-jp { font: 400 clamp(.6875rem, .72vw, .875rem)/1 var(--jp); letter-spacing: .04em; }
@media (hover: hover) {
  .desktop-nav a:hover { text-decoration-line: none; }
  .desktop-nav a:hover > span { text-decoration-line: underline; }
}

/* Shared footer with page links. */
.site-footer { flex-wrap: wrap; row-gap: 1.1rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.site-footer .footer-nav a { text-decoration: none; font-weight: 700; }
.site-footer .footer-nav a:hover { text-decoration: underline; }
.footer-meta { display: flex; align-items: center; gap: 1.6rem; margin-inline-start: auto; }

/* Home: sections below the hero. */
.home-section + .home-section { padding-top: 0; }
.home-section + .home-section .editorial-grid { padding-top: clamp(2.6rem, 5.2vw, 6.5rem); border-top: 1px solid var(--rule); }
.home-kicker { margin-bottom: .6rem; font: 700 clamp(1rem, 1.3vw, 1.35rem)/1.1 var(--en); }
.home-lead { margin-top: 0; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.home-services .service h3 { margin: 0; font-size: clamp(1.15rem, 1.5vw, 1.5rem); letter-spacing: -.02em; }
.home-cta { background: var(--lime); }
.home-cta-row {
  width: min(86rem, calc(100% - var(--gutter) * 2)); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: center; gap: 1.6rem;
  padding-block: clamp(1.85rem, 3.15vw, 3.5rem);
}
.home-cta h2 { font-size: clamp(1.45rem, 2.65vw, 2.8rem); line-height: 1.35; letter-spacing: -.045em; text-wrap: balance; }
.home-cta-button {
  flex: none; display: inline-flex; align-items: center; gap: .8rem; min-height: 3rem;
  padding: .8em 1.45em; border-radius: 100vmax; color: #fff; background: var(--ink); font-weight: 700;
}
.home-cta-button:hover { background: #000; }
body[data-page="home"] .site-footer { margin-top: 0; }
@media (max-width: 52rem) {
  .home-cta-row { flex-direction: column; align-items: flex-start; }
  .footer-meta { margin-inline-start: 0; width: 100%; justify-content: space-between; }
}
.fact-link { text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; }
