:root {
  --blue: #0757d3;
  --blue-bright: #0876f9;
  --blue-dark: #03255a;
  --ink: #071528;
  --muted: #5c6878;
  --line: #dce4ef;
  --pale: #f3f7fc;
  --white: #ffffff;
  --max: 1240px;
  --sans: "Helvetica Neue", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
  --serif: Didot, "Bodoni MT", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 1rem;
  padding: .65rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(3, 37, 90, .06);
}
.header-inner {
  width: min(calc(100% - 64px), var(--max));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand, .footer-brand { display: inline-flex; align-items: flex-end; gap: .5rem; }
.brand img { width: 190px; height: auto; }
.brand span, .footer-brand span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  transform: translateY(-.27rem);
}
.global-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.3vw, 2.3rem); }
.global-nav a {
  position: relative;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.global-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.45rem;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}
.global-nav a:hover::after, .global-nav a:focus-visible::after { right: 0; }
.nav-contact {
  padding: .7rem 1.1rem;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  transition: color .2s ease, background .2s ease;
}
.nav-contact:hover, .nav-contact:focus-visible { color: var(--blue); background: var(--white); }
.menu-button { display: none; }

.hero {
  min-height: 780px;
  padding-top: 86px;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(390px, 42%);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(5rem, 9vw, 8rem) max(32px, calc((100vw - var(--max)) / 2));
  padding-right: clamp(2.5rem, 6vw, 6.5rem);
  align-self: center;
}
.eyebrow, .section-label {
  margin: 0 0 1.8rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
}
.eyebrow span { margin: 0 .55rem; color: #98a8bd; }
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.1vw, 5.25rem);
  line-height: 1.24;
  letter-spacing: -.045em;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { margin: 2rem 0 0; color: #465367; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero-actions { margin-top: 2.4rem; display: flex; align-items: center; gap: 2rem; }
.button {
  display: inline-flex;
  min-height: 58px;
  padding: 0 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  font-size: .88rem;
  font-weight: 700;
}
.button-primary { color: var(--white); background: var(--blue); border: 1px solid var(--blue); }
.button-primary:hover, .button-primary:focus-visible { color: var(--blue); background: var(--white); }
.text-link { padding: .5rem 0; border-bottom: 1px solid #9facbd; font-size: .88rem; font-weight: 700; }
.hero-facts {
  margin: 4rem 0 0;
  padding: 1.25rem 0 0;
  display: flex;
  gap: clamp(2rem, 5vw, 5.25rem);
  border-top: 1px solid var(--line);
}
.hero-facts div { display: grid; gap: .15rem; }
.hero-facts dt { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.hero-facts dt small { color: var(--blue); font-family: var(--sans); font-size: .75rem; }
.hero-facts dd { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 694px;
  color: var(--white);
  background: var(--blue);
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.34) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.34) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -36%;
  bottom: -30%;
  width: 84%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.06), 0 0 0 90px rgba(255,255,255,.035);
}
.visual-index { position: absolute; top: 2rem; left: 2.2rem; font-size: .68rem; font-weight: 700; letter-spacing: .18em; }
.hero-visual > img {
  position: absolute;
  width: min(78%, 520px);
  top: 14%;
  left: 50%;
  opacity: .98;
  filter: brightness(0) invert(1);
  transform: translateX(-50%) rotate(-8deg);
}
.visual-copy { position: absolute; z-index: 2; left: 2.2rem; bottom: 3.2rem; display: grid; gap: .4rem; }
.visual-copy span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; }
.visual-copy strong { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 500; letter-spacing: .04em; }
.visual-line { position: absolute; right: 2.2rem; bottom: 3.6rem; width: 8rem; height: 1px; background: var(--white); }

.section { position: relative; }
.section-number {
  color: var(--blue);
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
}
.intro {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 9rem 0;
  display: grid;
  grid-template-columns: 80px 1fr 1.35fr;
  gap: clamp(2rem, 5vw, 6rem);
}
.section-heading h2, .strength-copy h2, .company h2, .contact h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.5vw, 3.65rem);
  line-height: 1.35;
  letter-spacing: -.04em;
}
.intro-body { max-width: 620px; }
.intro-body > p { margin: 0; color: var(--muted); }
.intro-body > p + p { margin-top: 1.4rem; }
.intro-body .intro-lead { color: var(--ink); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; line-height: 1.9; }
.name-story {
  margin-top: 3rem;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.4rem;
  border-top: 1px solid var(--line);
}
.name-story div:not(.plus-sign) { display: grid; gap: .25rem; }
.name-story b { color: var(--blue); font-family: var(--serif); font-size: 1.45rem; letter-spacing: .06em; }
.name-story span { color: var(--muted); font-size: .82rem; }
.name-story .plus-sign { color: var(--blue); font-size: 2rem; font-weight: 200; }

.services { padding: 8rem max(32px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--blue-dark); }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 4rem; }
.section-label.light { color: #80b7ff; }
.section-topline h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; }
.section-topline > p { max-width: 520px; margin: 0; color: #c4d1e4; }
.service-grid { margin-top: 4.5rem; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); }
.service-card {
  position: relative;
  min-height: 300px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.service-main { grid-column: 1 / -1; min-height: 390px; background: var(--blue); }
.service-no { color: #89b9ff; font-family: var(--serif); font-size: 1rem; }
.service-content { position: relative; z-index: 2; max-width: 590px; }
.service-en { margin: 0 0 1.4rem; color: #80b7ff; font-size: .68rem; font-weight: 700; letter-spacing: .18em; }
.service-main .service-en { color: #cde1ff; }
.service-content h3 { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.4; }
.service-content > p:last-of-type { margin: 0; color: #bfccdf; }
.service-main .service-content > p:last-of-type { color: #e5efff; }
.service-content ul { margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.service-content li { padding: .35rem .8rem; border: 1px solid rgba(255,255,255,.4); font-size: .78rem; }
.service-main > img {
  position: absolute;
  right: -4%;
  bottom: -42%;
  width: 470px;
  opacity: .11;
  filter: brightness(0) invert(1);
}

.strengths {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 9rem 0;
  display: grid;
  grid-template-columns: 80px .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 6rem);
}
.strength-copy > p:last-child { max-width: 500px; margin: 2rem 0 0; color: var(--muted); }
.strength-list { border-top: 1px solid var(--line); }
.strength-list article {
  padding: 1.8rem 0;
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.strength-list article > span { color: var(--blue); font-family: var(--serif); font-size: .85rem; }
.strength-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; }
.strength-list strong { color: var(--blue); font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.5rem); }
.strength-list h3 { margin: 0; font-size: .96rem; }

.company { display: grid; grid-template-columns: minmax(340px, 40%) 1fr; background: var(--pale); }
.company-aside { position: relative; overflow: hidden; padding: 7rem max(32px, calc((100vw - var(--max)) / 2)); padding-right: 3rem; color: var(--white); background: var(--blue); }
.company-aside img { position: absolute; left: -16%; bottom: -20%; width: 400px; opacity: .11; filter: brightness(0) invert(1); }
.company-details { padding: 7rem max(32px, calc((100vw - var(--max)) / 2)); padding-left: clamp(3rem, 6vw, 7rem); }
.company-details dl { margin: 0; border-top: 1px solid #cbd6e3; }
.company-details dl > div { padding: 1.25rem 0; display: grid; grid-template-columns: 150px 1fr; gap: 2rem; border-bottom: 1px solid #cbd6e3; }
.company-details dt { color: var(--muted); font-size: .78rem; font-weight: 700; }
.company-details dd { margin: 0; font-weight: 500; }
.company-details a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.invoice-note { margin: 1.5rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .78rem; border-left: 3px solid var(--blue); }

.contact {
  min-height: 470px;
  padding: 7rem max(32px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 90px .9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}
.contact-mark { color: var(--blue); font-size: 5rem; font-weight: 200; line-height: 1; }
.contact-copy > p:last-child { max-width: 480px; margin: 1.5rem 0 0; color: var(--muted); }
.contact-actions { border-top: 1px solid var(--line); }
.contact-actions a { position: relative; padding: 1.5rem 3.5rem 1.5rem 0; display: grid; grid-template-columns: 90px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.contact-actions span { color: var(--blue); font-family: var(--serif); font-size: .78rem; font-weight: 700; letter-spacing: .14em; }
.contact-actions strong { font-size: clamp(1rem, 2.1vw, 1.55rem); }
.contact-actions i { position: absolute; right: 0; color: var(--blue); font-size: 1.4rem; font-style: normal; transition: transform .2s ease; }
.contact-actions a:hover i, .contact-actions a:focus-visible i { transform: translateX(.4rem); }

.site-footer {
  min-height: 150px;
  padding: 2.2rem max(32px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  color: var(--white);
  background: var(--ink);
}
.footer-brand img { width: 190px; filter: invert(1); mix-blend-mode: screen; }
.site-footer p { margin: 0; color: #aeb9c9; font-size: .72rem; }
.site-footer > a { justify-self: end; font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.site-footer > a span { margin-left: .6rem; color: #77afff; }

a:focus-visible, button:focus-visible { outline: 3px solid #61a5ff; outline-offset: 4px; }

@media (max-width: 1040px) {
  .header-inner { width: min(calc(100% - 40px), var(--max)); }
  .global-nav { gap: 1.2rem; }
  .global-nav a { font-size: .75rem; }
  .hero { grid-template-columns: minmax(0, 55%) minmax(350px, 45%); }
  .intro, .strengths { grid-template-columns: 50px 1fr 1.2fr; gap: 2.5rem; }
  .strength-list div { display: grid; gap: .2rem; }
}

@media (max-width: 820px) {
  .desktop-only { display: none; }
  .header-inner { height: 74px; }
  .brand img { width: 168px; }
  .menu-button {
    position: relative;
    z-index: 2;
    width: 46px;
    height: 46px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 7px;
    background: transparent;
    border: 0;
  }
  .menu-line { width: 25px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] .menu-line:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-line:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .global-nav {
    position: fixed;
    inset: 74px 0 auto;
    padding: 1.5rem 20px 2rem;
    display: grid;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .global-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .global-nav a { padding: .85rem 0; font-size: .92rem; border-bottom: 1px solid var(--line); }
  .global-nav .nav-contact { margin-top: 1rem; padding: .8rem 1rem; text-align: center; }
  .hero { min-height: 0; padding-top: 74px; display: block; }
  .hero-copy { padding: 5rem 24px 4rem; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 4.4rem); }
  .hero-visual { min-height: 560px; }
  .hero-visual > img { width: min(72%, 420px); top: 10%; }
  .intro, .strengths { width: min(calc(100% - 48px), var(--max)); padding: 6.5rem 0; grid-template-columns: 1fr; gap: 1.8rem; }
  .section-number { display: none; }
  .section-heading h2 br, .strength-copy h2 br { display: none; }
  .services { padding: 6.5rem 24px; }
  .section-topline { display: grid; gap: 2rem; }
  .service-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .service-main { grid-column: auto; }
  .service-card { min-height: 280px; padding: 1.5rem; grid-template-columns: 42px 1fr; }
  .service-main { min-height: 390px; }
  .company { grid-template-columns: 1fr; }
  .company-aside { min-height: 290px; padding: 5.5rem 24px; }
  .company-details { padding: 4rem 24px 5rem; }
  .contact { min-height: 0; padding: 6.5rem 24px; grid-template-columns: 1fr; gap: 2.6rem; }
  .contact-mark { display: none; }
  .site-footer { padding: 3rem 24px; grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 520px) {
  .eyebrow { line-height: 1.7; }
  .hero-copy { padding-top: 4rem; }
  .hero h1 { font-size: 2.65rem; line-height: 1.3; }
  .hero-lead { font-size: .98rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-facts { margin-top: 3rem; gap: 1.2rem; justify-content: space-between; }
  .hero-facts dt { font-size: 1.18rem; }
  .hero-visual { min-height: 430px; }
  .visual-index { top: 1.3rem; left: 1.5rem; }
  .visual-copy { left: 1.5rem; bottom: 2rem; }
  .visual-line { display: none; }
  .name-story { grid-template-columns: 1fr; }
  .name-story .plus-sign { line-height: 1; }
  .service-card { grid-template-columns: 1fr; }
  .service-no { margin-bottom: .5rem; }
  .strength-list article { grid-template-columns: 40px 1fr; }
  .company-details dl > div { grid-template-columns: 100px 1fr; gap: 1rem; }
  .contact-actions a { grid-template-columns: 1fr; gap: .15rem; }
  .contact-actions strong { overflow-wrap: anywhere; }
  .site-footer { grid-template-columns: 1fr; gap: 1.4rem; }
  .site-footer > a { justify-self: start; }
  .site-footer p { grid-column: auto; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
