:root {
  --pad: max(2.6vw, calc((100vw - 1200px) / 2));
  --sans: 'Noto Sans JP', sans-serif;
  --latin: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--color-paper); }
body { margin: 0; overflow-x: hidden; background-color: var(--color-paper); background-image: url('assets/paper-texture-v3.jpg'); background-repeat: repeat; background-size: 1100px auto; color: var(--color-ink); font-family: var(--sans); font-size: 16px; line-height: 1.85; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
.section-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; padding: 0; }
.eyebrow { position: relative; display: inline-flex; align-items: center; gap: 10px; color: var(--color-muted); font: 400 .72rem/1 var(--latin); letter-spacing: .05em; text-transform: none; }
.eyebrow::before { content: ''; width: 17px; height: 10px; border-radius: 50%; background: linear-gradient(90deg, var(--color-navy) 0 48%, var(--color-aqua) 48%); filter: blur(.2px); }
.eyebrow--light { color: rgba(255,255,255,.78); }

/* Reference geometry: 20px inset, 80px height, 8px radius, almost transparent blur. */
.site-header { position: fixed; z-index: 100; inset: 20px 20px auto; display: flex; align-items: center; height: 80px; padding: 0 36px 0 32px; border: 0; border-radius: 8px; background: rgba(240, 242, 232, .03); box-shadow: none; color: var(--color-ink); backdrop-filter: blur(45px); -webkit-backdrop-filter: blur(45px); transition: background .3s; }
.site-header.scrolled { background: rgba(240, 242, 232, .52); }
.brand { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; line-height: 1.2; }
.brand svg { width: 39px; height: 39px; fill: none; stroke: currentColor; stroke-width: 3.4; }
.brand small { display: block; margin-top: 4px; font-size: .53rem; letter-spacing: .16em; }
.site-header nav { display: flex; align-items: center; gap: 25px; margin-left: auto; font-size: .72rem; font-weight: 500; letter-spacing: .02em; }
.site-header nav a { position: relative; padding: 8px 0; white-space: nowrap; }
.site-header nav a:not(.nav-contact)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--color-navy); transition: right .3s; }
.site-header nav a:hover::after { right: 0; }
.site-header nav .nav-contact { min-width: 140px; padding: 13px 22px; border-radius: 100px; background: var(--color-navy-deep); color: #fff; text-align: center; }
.menu-button { display: none; }

/* One continuous paper canvas for the FV and philosophy, like the reference. */
.top-stage { position: relative; isolation: isolate; overflow: hidden; min-height: 1728px; background: transparent; }
.top-stage::before { content: ''; position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse 48% 39% at 78% 8%, rgba(90, 180, 196, .78), transparent 68%), radial-gradient(ellipse 44% 34% at 94% 31%, rgba(117, 204, 220, .72), transparent 70%), radial-gradient(ellipse 32% 27% at 66% 17%, rgba(199, 223, 213, .58), transparent 73%), radial-gradient(ellipse 38% 28% at 36% 1%, rgba(236, 226, 196, .38), transparent 72%), linear-gradient(135deg, rgba(237,242,232,.68) 0%, rgba(245,245,237,.52) 48%, rgba(232,241,239,.64) 100%); filter: saturate(.92); }
.top-stage::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .18; background: linear-gradient(105deg, rgba(255,255,255,.28), transparent 42%, rgba(29,88,118,.08)); mix-blend-mode: multiply; }
.hero { position: relative; min-height: 820px; height: 100svh; max-height: 900px; background: transparent; color: var(--color-ink); }
.hero-visual { display: none; }
.hero::after { display: none; }
.hero-content { position: absolute; left: max(2.6vw, 32px); bottom: 76px; top: auto; transform: none; }
.hero-office, .hero-message, .primary-link { display: none; }
.hero h1 { font-size: clamp(4.4rem, 7vw, 7rem); font-weight: 400; line-height: 1.08; letter-spacing: -.065em; }
.hero h1 span { display: block; opacity: 0; transform: translateY(28px); animation: rise .9s forwards; }
.hero h1 span:first-child { animation-delay: .15s; }
.hero h1 span:last-child { animation-delay: .28s; }
.hero-bottom { display: none; }

.philosophy { position: relative; min-height: 908px; background: transparent; }
.philosophy-art { display: none; }
.philosophy-grid { display: block; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding-top: 180px; padding-bottom: 190px; }
.section-meta { display: none; }
.philosophy-body { width: 56%; }
.philosophy-body h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.75; letter-spacing: .01em; }
.philosophy-copy { display: block; max-width: 680px; margin-top: 52px; color: var(--color-ink); font-size: 1rem; font-weight: 500; line-height: 2; }
.philosophy-copy p + p { margin-top: 18px; }

.services { position: relative; background: rgba(251,252,247,.68); }
.services::before { display: none; }
.services-intro { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; padding-top: 120px; padding-bottom: 90px; }
.services-intro h2 { margin-top: 27px; font-size: clamp(2.9rem, 4.8vw, 5rem); font-weight: 500; line-height: 1.25; letter-spacing: -.06em; }
.services-intro > p { max-width: 470px; padding-bottom: 8px; font-size: .95rem; font-weight: 500; line-height: 2; }
.service-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding-bottom: 128px; }
.service { display: flex; flex-direction: column; min-width: 0; min-height: 600px; padding: 0 32px 48px; border: 0; border-left: 1px solid var(--color-line); background: transparent; }
.service:last-child { border-right: 1px solid var(--color-line); }
.service-visual { position: relative; order: 0; height: 250px; overflow: visible; background: transparent; }
.service-visual span { display: none; }
.service-visual i { position: absolute; left: 50%; top: 50%; width: 175px; aspect-ratio: 1; border: 1px solid rgba(29,88,118,.2); border-radius: 50%; transform: translate(-50%,-50%); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.service-visual i::before, .service-visual i::after { content: ''; position: absolute; border-radius: inherit; }
.service-visual i::before { inset: 14%; border: 1px solid rgba(29,88,118,.17); }
.service-visual i::after { inset: 31%; background: radial-gradient(circle at 30% 25%, var(--color-cyan), var(--color-navy) 74%); }
.service-visual--corporate i { border-radius: 8px; transform: translate(-50%,-50%) rotate(14deg); }
.service-visual--corporate i::before, .service-visual--corporate i::after { border-radius: 6px; }
.service-visual--inheritance i::after { clip-path: polygon(50% 0,100% 100%,0 100%); border-radius: 0; background: linear-gradient(150deg,var(--color-cyan),var(--color-navy)); }
.service:hover .service-visual i { transform: translate(-50%,-50%) scale(1.06) rotate(5deg); }
.service:hover .service-visual--corporate i { transform: translate(-50%,-50%) scale(1.05) rotate(19deg); }
.service-content { display: contents; }
.service-heading { order: 1; }
.service-heading > p { color: var(--color-muted); font: 400 .7rem/1.4 var(--latin); letter-spacing: .03em; }
.service-heading h3 { margin-top: 18px; font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 500; line-height: 1.55; letter-spacing: -.035em; }
.service-copy { order: 2; display: block; margin-top: 28px; color: var(--color-ink); font-size: .82rem; line-height: 1.9; }
.service-copy ul { margin-top: 24px; list-style: none; color: var(--color-muted); }
.service-copy li { position: relative; padding-left: 15px; }
.service-copy li::before { content: ''; position: absolute; left: 0; top: .92em; width: 6px; height: 1px; background: var(--color-navy); }

/* Inset campaign banner mirrors the reference video banner. */
.cta-band--image { position: relative; z-index: 1; padding: 105px 0; overflow: visible; background-color: rgba(251,252,247,.72); background-image: url('assets/paper-texture-v3.jpg'); background-repeat: repeat; background-size: 1100px auto; background-blend-mode: multiply; color: #fff; }
.cta-band__media { position: fixed; inset: 0; z-index: 0; overflow: hidden; clip-path: var(--cta-clip, inset(100% 0 0 0)); pointer-events: none; }
.cta-band__media::after { content: ''; position: absolute; inset: 0; background: var(--color-image-overlay); }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55); transform: translate3d(0,var(--parallax-y,0),0) scale(1.05); }
.cta-band__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: min(950px, calc(100% - 64px)); min-height: 430px; margin: 0 auto; padding: 64px 72px; overflow: hidden; border-radius: 8px; }
.cta-band__title { margin-top: 27px; font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 500; line-height: 1.35; letter-spacing: -.055em; }
.cta-band__sub { margin-top: 26px; font-size: .9rem; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; width: 255px; margin-top: 42px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 100px; font-size: .78rem; }

.profile { position: relative; overflow: hidden; background-color: var(--color-paper-blue); background-image: linear-gradient(140deg, rgba(229,240,240,.74), rgba(251,252,247,.7)), url('assets/paper-texture-v3.jpg'); background-repeat: no-repeat, repeat; background-size: cover, 1100px auto; background-blend-mode: normal, multiply; color: var(--color-ink); }
.profile::after { content: ''; position: absolute; right: -9vw; top: -22vw; width: 70vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), rgba(121,185,204,.35) 42%, transparent 69%); filter: blur(10px); }
.profile-art { display: none; }
.profile-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; min-height: 850px; padding-top: 145px; padding-bottom: 145px; }
.profile-heading h2 { margin-top: 30px; font-size: clamp(3rem, 5vw, 5.2rem); font-weight: 500; line-height: 1.27; letter-spacing: -.065em; }
.profile-heading em { color: var(--color-navy); font-style: normal; }
.profile-lead { margin-bottom: 52px; font-size: 1.3rem; font-weight: 500; line-height: 1.8; }
.profile-text dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 25px; padding: 24px 0; border-top: 1px solid var(--color-line); }
.profile-text dl > div:last-child { border-bottom: 1px solid var(--color-line); }
.profile-text dt { color: var(--color-muted); font: 400 .64rem/1.6 var(--latin); letter-spacing: .06em; }
.profile-text dd { font-size: .86rem; line-height: 1.9; }

.paper-surface { position: relative; isolation: isolate; background-color: var(--color-paper); background-image: url('assets/paper-texture-v3.jpg'); background-repeat: repeat; background-size: 1100px auto; }
.paper-surface::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 75% 25%, rgba(121,185,204,.17), transparent 34%), linear-gradient(125deg,rgba(243,243,234,.34),rgba(233,240,238,.28)); }
.paper-surface::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: .2; background: linear-gradient(90deg,rgba(47,66,67,.06) 1px,transparent 1px); background-size: 100% 100%; mix-blend-mode: multiply; }
.paper-surface > * { position: relative; z-index: 1; }
.information-surface { padding-top: 1px; }
.process { padding-top: 135px; padding-bottom: 140px; }
.process-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.process-intro h2 { margin-top: 27px; font-size: clamp(3rem,4.8vw,5rem); font-weight: 500; line-height: 1.25; letter-spacing: -.06em; }
.process-intro > p { padding-bottom: 8px; font-size: .92rem; font-weight: 500; line-height: 2; }
.process ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 105px; list-style: none; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.process li { min-height: 270px; padding: 35px 32px; border-left: 1px solid var(--color-line); }
.process li:last-child { border-right: 1px solid var(--color-line); }
.process li span { font-size: 1.05rem; font-weight: 500; }
.process li p { margin-top: 64px; color: var(--color-muted); font-size: .83rem; line-height: 1.9; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; padding-bottom: 150px; }
.faq-heading h2 { margin-top: 26px; font-size: clamp(2.4rem,3.6vw,3.8rem); font-weight: 500; letter-spacing: -.05em; }
.faq-list { border-top: 1px solid var(--color-line); }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 29px 0; cursor: pointer; list-style: none; font-size: .98rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; width: 27px; height: 27px; }
.faq summary span::before, .faq summary span::after { content: ''; position: absolute; left: 4px; right: 4px; top: 13px; height: 1px; background: var(--color-ink); transition: transform .25s; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: none; }
.faq details > p { padding: 0 45px 28px 0; color: var(--color-muted); font-size: .86rem; line-height: 1.9; }

.office { position: relative; overflow: hidden; background: var(--color-navy-deep); color: #fff; }
.office-inner { position: relative; z-index: 2; padding-top: 125px; padding-bottom: 135px; }
.office-heading { display: flex; align-items: center; justify-content: space-between; }
.office-opening { color: var(--color-cyan); font: 500 .68rem/1 var(--latin); letter-spacing: .14em; }
.office h2 { margin-top: 78px; font-size: clamp(3.4rem,6.6vw,7rem); font-weight: 500; line-height: 1.17; letter-spacing: -.07em; }
.office-info { display: grid; grid-template-columns: 1.4fr .75fr .85fr; gap: 65px; margin-top: 100px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.78); font-size: .82rem; line-height: 2; }
.office-orbit { position: absolute; right: -24vw; bottom: -48vw; width: 78vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 11vw rgba(255,255,255,.02),0 0 0 22vw rgba(255,255,255,.014); }

footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: 48px max(3vw,32px) 28px; border-top: 1px solid rgba(255,255,255,.12); background: var(--color-navy-deep); color: #fff; }
footer .footer-top { align-self: start; color: rgba(255,255,255,.65); font: 400 .58rem/1 var(--latin); letter-spacing: .12em; }
footer > small { grid-column: 1/-1; color: rgba(255,255,255,.48); font: 400 .54rem/1.4 var(--latin); letter-spacing: .09em; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .section-shell, .service-list, .philosophy-grid { width: calc(100% - 40px); }
  .site-header { inset: 10px 10px auto; height: 64px; padding: 0 17px; border-radius: 8px; }
  .brand { font-size: .7rem; }
  .brand svg { width: 33px; height: 33px; }
  .brand small { font-size: .47rem; }
  .menu-button { position: relative; z-index: 103; display: flex; align-items: center; width: 61px; height: 32px; margin-left: auto; padding: 0; border: 0; background: none; color: inherit; }
  .menu-button span { position: absolute; left: 0; width: 18px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-button span:first-child { transform: translateY(-4px); }
  .menu-button span:nth-child(2) { transform: translateY(4px); }
  .menu-button b { margin-left: auto; font: 500 .48rem/1 var(--latin); }
  .menu-button[aria-expanded=true] span:first-child { transform: rotate(45deg); }
  .menu-button[aria-expanded=true] span:nth-child(2) { transform: rotate(-45deg); }
  .site-header nav { position: fixed; z-index: 102; inset: -10px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; width: 100vw; height: 100dvh; padding: 82px 28px 35px; background: rgba(240,242,232,.97); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .site-header nav.open { opacity: 1; pointer-events: auto; }
  .site-header nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--color-line); font-size: 1.05rem; }
  .site-header nav .nav-contact { margin: 30px 0 0; border-bottom: 0; }
  body.menu-open .brand, body.menu-open .menu-button { z-index: 103; }

  .top-stage { min-height: 1420px; }
  .top-stage::before { background: radial-gradient(ellipse 75% 28% at 80% 8%, rgba(90,180,196,.72),transparent 70%), radial-gradient(ellipse 80% 27% at 100% 30%, rgba(117,204,220,.68),transparent 70%), linear-gradient(135deg,rgba(238,242,233,.66),rgba(245,245,237,.46) 54%,rgba(231,240,238,.6)); }
  .hero { min-height: 690px; height: 88svh; }
  .hero-content { left: 20px; bottom: 55px; }
  .hero h1 { font-size: clamp(3.15rem,14vw,4.7rem); }
  .philosophy { min-height: 730px; }
  .philosophy-grid { padding-top: 110px; padding-bottom: 115px; }
  .philosophy-body { width: 100%; }
  .philosophy-body h2 { font-size: 1.22rem; line-height: 1.9; }
  .philosophy-copy { margin-top: 46px; font-size: .88rem; }

  .services-intro { grid-template-columns: 1fr; gap: 38px; padding-top: 90px; padding-bottom: 70px; }
  .services-intro h2 { margin-top: 22px; font-size: clamp(2.45rem,11vw,3.65rem); }
  .services-intro > p { font-size: .87rem; }
  .service-list { grid-template-columns: 1fr; padding-bottom: 90px; }
  .service { min-height: 0; padding: 35px 0 62px; border-left: 0; border-top: 1px solid var(--color-line); }
  .service:last-child { border-right: 0; border-bottom: 1px solid var(--color-line); }
  .service-visual { height: 220px; }
  .service-heading h3 { font-size: 1.8rem; }

  .cta-band--image { padding: 70px 0; }
  .cta-band__inner { width: calc(100% - 40px); min-height: 470px; padding: 48px 24px; }
  .cta-band__title { font-size: clamp(2.15rem,10vw,3.2rem); }
  .profile-grid { grid-template-columns: 1fr; gap: 70px; min-height: 0; padding-top: 95px; padding-bottom: 110px; }
  .profile-heading h2 { font-size: clamp(2.65rem,11vw,4rem); }
  .profile-lead { font-size: 1.08rem; }
  .profile-text dl > div { grid-template-columns: 1fr; gap: 8px; }

  .process { padding-top: 95px; padding-bottom: 100px; }
  .process-intro { grid-template-columns: 1fr; gap: 34px; }
  .process-intro h2 { font-size: clamp(2.5rem,11vw,3.7rem); }
  .process ol { grid-template-columns: 1fr; margin-top: 70px; }
  .process li { min-height: 0; padding: 28px 0 38px; border-left: 0; border-bottom: 1px solid var(--color-line); }
  .process li:last-child { border-right: 0; }
  .process li p { margin-top: 22px; }
  .faq { grid-template-columns: 1fr; gap: 50px; padding-bottom: 105px; }
  .faq-heading h2 { font-size: 2.2rem; }
  .faq summary { font-size: .9rem; line-height: 1.7; }
  .office-inner { padding-top: 95px; padding-bottom: 105px; }
  .office h2 { margin-top: 65px; font-size: clamp(2.75rem,12vw,4.1rem); }
  .office-info { grid-template-columns: 1fr; gap: 25px; margin-top: 70px; }
  footer { padding: 42px 20px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 span, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .cta-band__media { position: absolute; clip-path: inset(0); }
}
