:root {
  --ink: #14201a;
  --ink-soft: #3f4a44;
  --forest: #13241d;
  --forest-2: #1b3529;
  --sage: #6c826f;
  --gold: #c5a96f;
  --cream: #f7f4ed;
  --paper: #fffdf9;
  --line: #dcd8cf;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(19, 36, 29, 0.10);
  --radius: 2px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "palt";
  line-height: 1.85;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.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;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: #fff;
  color: #000;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.section { padding: 128px 0; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--forest); color: var(--white); }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
}
.section-heading h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(34px, 4.3vw, 62px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .04em;
}
.section-heading > p:last-child { margin: 28px 0 0; color: #627069; }
.section-heading.center { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.section-heading.light > p:last-child { color: rgba(255,255,255,.66); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 86px;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 253, 249, .93);
  border-color: rgba(20,32,26,.08);
  box-shadow: 0 8px 30px rgba(20,32,26,.06);
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--forest);
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: .08em;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: .03em; }
.brand-copy small { margin-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: .22em; color: var(--sage); }
.global-nav { display: flex; align-items: center; gap: 30px; }
.global-nav a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.global-nav a:not(.nav-cta) { position: relative; }
.global-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--forest);
  transition: right .25s ease;
}
.global-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 13px 20px; background: var(--forest); color: var(--white); }
.menu-button { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background:
    linear-gradient(90deg, rgba(255,253,249,.99) 0%, rgba(255,253,249,.96) 51%, rgba(247,244,237,.78) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image: linear-gradient(rgba(19,36,29,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(19,36,29,.035) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-decoration { position: absolute; border: 1px solid rgba(197,169,111,.28); border-radius: 50%; }
.hero-decoration-a { width: 520px; height: 520px; right: -160px; top: 120px; }
.hero-decoration-b { width: 260px; height: 260px; right: 260px; bottom: -150px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 76px; align-items: center; }
.hero-copy { padding-top: 30px; }
.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(45px, 5.25vw, 76px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: .035em;
}
.hero h1 span { color: var(--forest-2); position: relative; }
.hero h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .04em;
  height: 7px;
  background: rgba(197,169,111,.28);
  z-index: -1;
}
.hero-lead { margin: 32px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 2; }
.hero-actions { display: flex; gap: 14px; margin-top: 42px; }
.button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 28px;
  border: 1px solid var(--forest);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(19,36,29,.12); }
.button-primary { background: var(--forest); color: var(--white); min-width: 230px; flex-direction: column; gap: 0; }
.button-primary span { font-family: Georgia, "Times New Roman", serif; font-size: 20px; letter-spacing: .05em; line-height: 1.35; }
.button-primary small { font-size: 10px; opacity: .72; letter-spacing: .12em; }
.button-secondary { color: var(--forest); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.button-secondary:hover { background: var(--cream); }
.hero-note { margin: 18px 0 0; font-size: 11px; color: #78817d; }
.hero-visual { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: flex-end; }
.building-card {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(155deg, #203a2f 0%, #11231c 62%, #0a1611 100%);
  box-shadow: var(--shadow);
}
.building-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 0 42%, rgba(255,255,255,.07) 42.2% 42.7%, transparent 43%), linear-gradient(15deg, rgba(197,169,111,.13), transparent 55%);
}
.building-lines { position: absolute; inset: 80px 58px 60px 96px; border-left: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.12); }
.building-lines::before, .building-lines::after {
  content: ""; position: absolute; inset: 0 auto 0 28%; width: 1px; background: rgba(255,255,255,.12);
}
.building-lines::after { left: 66%; }
.building-lines span { display: block; height: 18%; border-bottom: 1px solid rgba(255,255,255,.12); }
.building-label { position: absolute; left: 38px; bottom: 34px; color: var(--white); }
.building-label span { display: block; margin-bottom: 9px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .25em; }
.building-label strong { font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.05; letter-spacing: .04em; }
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 54px;
  width: 172px;
  height: 172px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(19,36,29,.15);
  box-shadow: 0 15px 50px rgba(19,36,29,.12);
  text-align: center;
}
.hero-badge span { font-size: 10px; letter-spacing: .12em; }
.hero-badge strong { margin: 2px 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 29px; font-weight: 500; }
.hero-badge small { font-size: 9px; color: var(--sage); letter-spacing: .08em; }
.scroll-guide { position: absolute; right: 28px; bottom: 30px; display: flex; align-items: center; gap: 12px; transform: rotate(90deg); transform-origin: right bottom; text-decoration: none; font-family: Georgia, serif; font-size: 9px; letter-spacing: .18em; color: var(--sage); }
.scroll-guide span { display: inline-block; width: 50px; height: 1px; background: var(--sage); }

.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 110px; }
.intro-body { padding-top: 10px; }
.intro-body > p { margin: 0 0 22px; color: #46524c; font-size: 15px; line-height: 2.15; }
.intro-signature { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 15px; }
.intro-signature span { font-size: 11px; color: #748078; }
.intro-signature strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 18px; font-weight: 500; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d4d0c6; border-left: 1px solid #d4d0c6; }
.service-card { position: relative; min-height: 360px; padding: 44px 36px 36px; border-right: 1px solid #d4d0c6; border-bottom: 1px solid #d4d0c6; background: rgba(255,255,255,.45); transition: background .25s ease, transform .25s ease; }
.service-card:hover { background: #fff; transform: translateY(-3px); z-index: 2; box-shadow: 0 15px 40px rgba(19,36,29,.07); }
.service-no { position: absolute; top: 22px; right: 25px; font-family: Georgia, serif; font-size: 11px; color: #9b968b; letter-spacing: .08em; }
.service-icon { width: 50px; height: 50px; margin-bottom: 42px; color: var(--forest-2); }
.service-icon svg { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 17px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 24px; font-weight: 500; }
.service-card p { margin: 0; color: #59645e; font-size: 13px; line-height: 2; }

.strength { overflow: hidden; }
.strength-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: stretch; }
.strength-panel { position: relative; padding: 72px 64px; background: var(--forest); color: var(--white); overflow: hidden; }
.strength-panel::after { content: "LEGAL"; position: absolute; right: -18px; bottom: -36px; color: rgba(255,255,255,.035); font-family: Georgia, serif; font-size: 115px; line-height: 1; letter-spacing: .02em; }
.strength-panel h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(36px, 4vw, 56px); font-weight: 500; line-height: 1.45; }
.strength-panel h2 span { color: var(--gold); font-size: 1.12em; }
.strength-panel > p:not(.eyebrow) { margin: 26px 0 0; color: rgba(255,255,255,.66); font-size: 14px; }
.credential { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; }
.credential span, .credential small { font-size: 10px; color: rgba(255,255,255,.58); }
.credential strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 22px; font-weight: 500; }
.strength-content { padding: 42px 0; }
.strength-content h3 { margin: 0 0 30px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.55; }
.strength-content > p { margin: 0 0 22px; color: #4d5953; font-size: 14px; line-height: 2.1; }
.notice-box { margin-top: 38px; padding: 26px 28px; border: 1px solid var(--line); background: var(--cream); }
.notice-box strong { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .08em; }
.notice-box p { margin: 0; color: #626c67; font-size: 11px; line-height: 1.9; }

.flow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.flow-list li { position: relative; min-height: 190px; padding: 30px 22px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.flow-list li:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 50%; z-index: 2; width: 16px; height: 22px; display: grid; place-items: center; transform: translateY(-50%); background: var(--forest); color: var(--gold); font-size: 12px; }
.flow-list span { display: block; margin-bottom: 36px; color: var(--gold); font-family: Georgia, serif; font-size: 12px; }
.flow-list strong { display: block; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 17px; font-weight: 500; }
.flow-list small { display: block; margin-top: 10px; color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.6; }

.company-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 110px; }
.company-table { margin: 0; border-top: 1px solid var(--line); }
.company-table > div { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.company-table dt { font-size: 11px; font-weight: 700; color: #6b756f; }
.company-table dd { margin: 0; font-size: 13px; line-height: 1.9; }
.company-table a { text-underline-offset: 4px; }

.contact { padding-top: 40px; }
.contact-card { position: relative; overflow: hidden; padding: 76px 80px; display: grid; grid-template-columns: 1fr .82fr; gap: 80px; align-items: center; background: var(--cream); border: 1px solid var(--line); }
.contact-card::after { content: "CONTACT"; position: absolute; right: -16px; top: -20px; color: rgba(19,36,29,.035); font-family: Georgia, serif; font-size: 96px; line-height: 1; letter-spacing: .04em; }
.contact-card h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(34px, 4vw, 54px); font-weight: 500; line-height: 1.45; }
.contact-card > div:first-child > p:last-child { max-width: 620px; margin: 26px 0 0; color: #56625c; font-size: 13px; }
.contact-action { position: relative; z-index: 1; padding: 42px 38px; background: var(--forest); color: var(--white); text-align: center; }
.contact-action span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .12em; }
.contact-action a { display: block; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 40px); letter-spacing: .04em; }
.contact-action small { display: block; margin-top: 6px; color: rgba(255,255,255,.5); font-size: 9px; }

.site-footer { margin-top: 120px; padding: 70px 0 30px; background: #0b1712; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: start; }
.brand-footer .brand-mark { border-color: rgba(255,255,255,.55); color: var(--white); }
.brand-footer .brand-copy small { color: var(--gold); }
.footer-grid > div:first-child > p { margin: 22px 0 0; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1.9; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 36px; }
.footer-links a { text-decoration: none; font-size: 10px; color: rgba(255,255,255,.68); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 30px; color: rgba(255,255,255,.34); font-size: 9px; }
.footer-bottom p { margin: 0; }
.mobile-contact { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .section { padding: 96px 0; }
  .site-header { height: 74px; }
  .menu-button { width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-button > span:not(.sr-only) { width: 26px; height: 1px; margin-left: auto; background: var(--forest); transition: transform .25s, opacity .25s; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .global-nav { position: fixed; inset: 74px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 38px 28px; background: rgba(255,253,249,.98); transform: translateX(100%); transition: transform .3s ease; }
  .global-nav.is-open { transform: none; }
  .global-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .global-nav a::after { display: none; }
  .nav-cta { margin-top: 20px; padding: 16px !important; text-align: center; border: 0 !important; }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { padding-top: 0; }
  .hero-visual { min-height: 480px; justify-content: center; }
  .building-card { width: 365px; }
  .hero-badge { left: calc(50% - 230px); }
  .intro-grid, .strength-grid, .company-grid { grid-template-columns: 1fr; gap: 54px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-panel { padding: 56px 46px; }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
  .flow-list li:nth-child(3)::after { display: none; }
  .contact-card { grid-template-columns: 1fr; gap: 46px; padding: 58px 48px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 78px 0; }
  .section-heading.center { margin-bottom: 42px; text-align: left; }
  .section-heading h2 { font-size: 34px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 8px; }
  .hero { padding: 112px 0 58px; }
  .hero::before { background-size: 48px 48px; }
  .hero h1 { font-size: 40px; line-height: 1.38; }
  .hero-lead { margin-top: 24px; font-size: 13px; }
  .pc-only { display: none; }
  .hero-actions { flex-direction: column; margin-top: 32px; }
  .button { width: 100%; }
  .hero-visual { min-height: 410px; }
  .building-card { width: calc(100% - 24px); max-width: 340px; }
  .building-lines { inset: 60px 42px 50px 70px; }
  .hero-badge { left: 2px; bottom: 22px; width: 138px; height: 138px; }
  .hero-badge strong { font-size: 24px; }
  .scroll-guide { display: none; }
  .intro-grid { gap: 36px; }
  .intro-body > p { font-size: 13px; }
  .intro-signature { align-items: flex-start; flex-direction: column; gap: 2px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 38px 28px 34px; }
  .service-icon { margin-bottom: 28px; }
  .strength-panel { padding: 46px 30px; }
  .strength-panel h2 { font-size: 36px; }
  .credential { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .credential span { grid-column: 1 / -1; }
  .strength-content { padding: 0; }
  .strength-content h3 { font-size: 28px; }
  .notice-box { padding: 22px 20px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-list li { min-height: 170px; padding: 26px 18px; }
  .flow-list li:nth-child(2)::after, .flow-list li:nth-child(4)::after { display: none; }
  .flow-list li:nth-child(3)::after { display: grid; }
  .flow-list span { margin-bottom: 25px; }
  .company-table > div { grid-template-columns: 1fr; gap: 7px; padding: 18px 0; }
  .contact { padding-top: 10px; }
  .contact-card { padding: 42px 26px; gap: 34px; }
  .contact-card::after { font-size: 58px; }
  .contact-card h2 { font-size: 34px; }
  .contact-action { padding: 32px 18px; }
  .site-footer { margin-top: 78px; padding-top: 50px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .mobile-contact { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: block; padding: 8px 12px max(8px, env(safe-area-inset-bottom)); background: rgba(11,23,18,.96); backdrop-filter: blur(12px); }
  .mobile-contact a { height: 56px; display: flex; align-items: center; justify-content: center; gap: 13px; text-decoration: none; color: var(--white); background: var(--forest-2); }
  .mobile-contact span { font-size: 10px; color: rgba(255,255,255,.64); }
  .mobile-contact strong { font-family: Georgia, serif; font-size: 18px; letter-spacing: .04em; }
}

/* v2: legal-first hero and representative profile */
.hero.hero-legal {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 122px 0 68px;
  background: var(--paper);
}
.hero.hero-legal::before {
  opacity: .48;
  background-size: 72px 72px;
}
.hero-legal-wrap { position: relative; z-index: 1; }
.hero-legal-panel {
  position: relative;
  width: min(100%, 1020px);
  min-height: 690px;
  margin-inline: auto;
  overflow: hidden;
  padding: 74px 84px 62px;
  background: linear-gradient(145deg, #173126 0%, #10251d 68%, #0b1b15 100%);
  color: var(--white);
  box-shadow: 0 28px 80px rgba(19,36,29,.16);
}
.hero-legal-panel::before {
  content: "";
  position: absolute;
  inset: -16% auto -12% 45%;
  width: 6px;
  transform: rotate(23deg);
  background: rgba(255,255,255,.055);
}
.hero-legal-grid {
  position: absolute;
  inset: 86px 64px 62px 56%;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 100% 96px, 126px 100%;
  border-left: 1px solid rgba(255,255,255,.16);
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-legal-content { position: relative; z-index: 2; max-width: 680px; }
.hero-legal .eyebrow { margin-bottom: 26px; }
.hero.hero-legal h1 {
  margin: 0;
  color: var(--white);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: .045em;
}
.hero.hero-legal h1 span { color: var(--gold); }
.hero.hero-legal h1 span::after { display: none; }
.hero-legal-lead {
  max-width: 590px;
  margin: 34px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 2.05;
}
.hero-legal-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}
.button-light {
  min-width: 220px;
  min-height: 56px;
  border-color: rgba(255,255,255,.72);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: .04em;
}
.button-light small {
  margin-left: 4px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 9px;
  opacity: .58;
  letter-spacing: .08em;
}
.button-light:hover { background: var(--white); color: var(--forest); }
.text-link-light {
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
}
.text-link-light span { margin-left: 8px; color: var(--gold); }
.hero-legal-profile {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 24px;
  align-items: end;
  max-width: 620px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-legal-profile > span {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  letter-spacing: .055em;
}
.hero-legal-profile strong {
  color: var(--white);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: .06em;
}
.hero-legal-profile small {
  padding-bottom: 4px;
  color: rgba(255,255,255,.54);
  font-size: 9px;
  letter-spacing: .05em;
}
.hero-legal-word {
  position: absolute;
  left: 74px;
  bottom: -35px;
  color: rgba(255,255,255,.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 146px;
  line-height: 1;
  letter-spacing: .01em;
  pointer-events: none;
}
.hero-license {
  width: min(100%, 1020px);
  margin: 14px auto 0;
  color: #7b847f;
  font-size: 10px;
  text-align: right;
  letter-spacing: .06em;
}

.strength-grid-profile { grid-template-columns: .82fr 1.18fr; align-items: center; }
.representative-card {
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(19,36,29,.08);
}
.representative-image {
  aspect-ratio: 4 / 4.35;
  margin: 0;
  overflow: hidden;
  background: #efefed;
}
.representative-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.representative-caption { padding: 30px 34px 34px; }
.representative-caption .eyebrow { margin-bottom: 10px; }
.representative-caption h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 33px;
  font-weight: 500;
  letter-spacing: .06em;
}
.representative-caption > p:not(.eyebrow) {
  margin: 9px 0 0;
  color: #4d5953;
  font-size: 11px;
  line-height: 1.8;
}
.representative-caption > span {
  display: block;
  margin-top: 7px;
  color: #7a847e;
  font-size: 10px;
}
.strength-grid-profile .strength-content { padding: 0; }
.strength-grid-profile .strength-content > .eyebrow { margin-bottom: 16px; }
.company-subtitle { color: #6b756f; font-size: 11px; }

@media (max-width: 980px) {
  .hero.hero-legal { min-height: auto; padding: 112px 0 64px; }
  .hero-legal-panel { min-height: 620px; padding: 64px 60px 54px; }
  .hero-legal-grid { inset: 78px 46px 54px 57%; background-size: 100% 88px, 104px 100%; }
  .hero-legal-word { left: 52px; font-size: 118px; }
  .strength-grid-profile { grid-template-columns: .9fr 1.1fr; gap: 58px; }
}

@media (max-width: 760px) {
  .hero-legal-panel { min-height: 600px; padding: 58px 42px 48px; }
  .hero-legal-grid { inset: 68px 30px 50px 54%; opacity: .28; }
  .hero.hero-legal h1 { font-size: 50px; }
  .hero-legal-content { max-width: 560px; }
  .hero-legal-word { left: 36px; font-size: 94px; }
  .strength-grid-profile { grid-template-columns: 1fr; }
  .representative-card { max-width: 520px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .hero.hero-legal { padding: 92px 0 50px; }
  .hero-legal-panel {
    min-height: 590px;
    padding: 50px 26px 42px;
  }
  .hero-legal-panel::before { left: 56%; width: 4px; }
  .hero-legal-grid {
    inset: 58px 18px 44px 59%;
    background-size: 100% 78px, 78px 100%;
  }
  .hero.hero-legal h1 { font-size: 42px; line-height: 1.34; }
  .hero-legal-lead { margin-top: 26px; font-size: 12px; }
  .hero-legal-actions { align-items: stretch; flex-direction: column; gap: 16px; margin-top: 28px; }
  .button-light { width: 100%; min-width: 0; font-size: 17px; }
  .text-link-light { padding: 2px 0; }
  .hero-legal-profile { grid-template-columns: 1fr; gap: 5px; margin-top: 34px; padding-top: 20px; }
  .hero-legal-profile strong { font-size: 24px; }
  .hero-legal-profile small { padding-bottom: 0; }
  .hero-legal-word { left: 20px; bottom: -24px; font-size: 72px; }
  .hero-license { font-size: 9px; text-align: left; }
  .representative-caption { padding: 26px 24px 28px; }
  .representative-caption h2 { font-size: 29px; }
}

/* v3: RJB Law Office partnership section (C concept) */
.rjb-inline-link,
.rjb-heading-link {
  color: inherit;
  text-decoration-color: rgba(197,169,111,.72);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.rjb-inline-link:hover,
.rjb-heading-link:hover { color: var(--gold); }

.legal-partner-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 110px;
  align-items: start;
}
.legal-partner-content { max-width: 790px; }
.legal-partner-kicker {
  margin: 0 0 12px;
  color: #6d7771;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.legal-partner-content > h3 {
  margin: 0 0 30px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .045em;
}
.legal-partner-content > p:not(.legal-partner-kicker) {
  margin: 0 0 18px;
  color: #4d5953;
  font-size: 13px;
  line-height: 2.05;
}
.legal-partner-card {
  position: relative;
  overflow: hidden;
  margin-top: 42px;
  padding: 32px 34px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(19,36,29,.07);
}
.legal-partner-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}
.legal-partner-monogram {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid #cfc8ba;
  background: #fff;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: .04em;
}
.legal-partner-card-copy { min-width: 0; }
.legal-partner-card-copy > span {
  display: block;
  margin-bottom: 3px;
  color: #88918c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: .18em;
}
.legal-partner-card-copy strong {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .055em;
}
.legal-partner-card-copy strong a {
  text-decoration: none;
  border-bottom: 1px solid rgba(19,36,29,.24);
}
.legal-partner-card-copy strong a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.legal-partner-card-copy p {
  margin: 6px 0 0;
  color: #69736d;
  font-size: 10px;
}
.legal-partner-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .065em;
  white-space: nowrap;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.legal-partner-button:hover {
  transform: translateY(-2px);
  background: var(--forest-2);
  box-shadow: 0 12px 26px rgba(19,36,29,.13);
}
.legal-partner-button span:last-child { color: var(--gold); font-size: 15px; }

@media (max-width: 980px) {
  .legal-partner-grid { grid-template-columns: 1fr; gap: 50px; }
  .legal-partner-card { grid-template-columns: 82px 1fr; }
  .legal-partner-button { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 640px) {
  .legal-partner-content > h3 { font-size: 30px; }
  .legal-partner-card {
    margin-top: 32px;
    padding: 26px 22px 24px;
    grid-template-columns: 66px 1fr;
    gap: 16px;
  }
  .legal-partner-monogram { width: 64px; height: 64px; font-size: 19px; }
  .legal-partner-card-copy strong { font-size: 20px; }
  .legal-partner-button { min-height: 52px; padding-inline: 15px; }
}

/* Contact form v4 */
.contact-wrap {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
  padding: 76px 80px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.contact-wrap::after {
  content: "CONTACT";
  position: absolute;
  right: -18px;
  top: -18px;
  z-index: 0;
  color: rgba(19,36,29,.035);
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
  letter-spacing: .04em;
  pointer-events: none;
}
.contact-intro,
.contact-form-panel { position: relative; z-index: 1; }
.contact-intro h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.45;
}
.contact-intro > p:last-of-type {
  margin: 26px 0 0;
  color: #56625c;
  font-size: 13px;
  line-height: 2;
}
.contact-phone-card {
  margin-top: 38px;
  padding: 30px 28px;
  background: var(--forest);
  color: var(--white);
}
.contact-phone-card span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  letter-spacing: .12em;
}
.contact-phone-card a {
  display: block;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: .035em;
}
.contact-phone-card small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.5);
  font-size: 9px;
}
.contact-form-panel {
  padding: 42px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(19,36,29,.12);
  box-shadow: 0 16px 40px rgba(19,36,29,.05);
}
.contact-form { display: grid; gap: 24px; }
.form-required-note {
  margin: 0 0 -5px;
  color: #647068;
  font-size: 11px;
  text-align: right;
}
.form-required-note span,
.required {
  color: #8c5d2f;
  font-weight: 700;
}
.optional { color: #79837e; font-size: 10px; font-weight: 500; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: grid; gap: 9px; }
.form-field label {
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfcac0;
  border-radius: 0;
  background: #fff;
  color: #1b2b24;
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field input,
.form-field select { min-height: 52px; padding: 12px 14px; }
.form-field textarea { min-height: 170px; padding: 14px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(170,135,72,.12);
  background: #fffefa;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9b9f9c; }
.form-help {
  color: #7b847f;
  font-size: 10px;
  line-height: 1.7;
}
.bot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.consent-check {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 10px;
  align-items: start;
  color: #45534b;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
}
.consent-check input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--forest); }
.consent-check a { color: var(--forest); text-underline-offset: 3px; }
.privacy-purpose,
.sales-note {
  margin: -10px 0 0;
  color: #737d77;
  font-size: 10px;
  line-height: 1.8;
}
.sales-note {
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  background: #f5f1e8;
  color: #625b50;
}
.form-submit {
  min-height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-submit:hover { transform: translateY(-2px); background: var(--forest-2); box-shadow: 0 12px 28px rgba(19,36,29,.18); }
.form-submit:disabled { opacity: .58; cursor: wait; transform: none; }
.form-submit span { font-size: 14px; font-weight: 700; letter-spacing: .07em; }
.form-submit small { color: rgba(255,255,255,.6); font-size: 9px; letter-spacing: .04em; }
.form-status {
  margin-bottom: 26px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  background: #f7f4eb;
  color: var(--forest);
}
.form-status strong { display: block; margin-bottom: 4px; font-size: 15px; }
.form-status p { margin: 0; color: #56625c; font-size: 12px; line-height: 1.8; }
.form-status-error { border-left-color: #8a4d45; background: #faf1ef; }
.noscript-note { color: #8a4d45; font-size: 11px; }

@media (max-width: 980px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 42px; padding: 58px 48px; }
  .contact-phone-card { max-width: 520px; }
}

@media (max-width: 640px) {
  .contact-wrap { padding: 42px 22px; gap: 30px; }
  .contact-wrap::after { font-size: 58px; }
  .contact-intro h2 { font-size: 34px; }
  .contact-phone-card { margin-top: 28px; padding: 25px 20px; }
  .contact-form-panel { padding: 26px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }
  .form-required-note { text-align: left; }
}


/* v5: service categories for sale / purchase / rental and complex cases */
.service-group { margin-top: 52px; }
.service-group + .service-group { margin-top: 76px; }
.service-group-heading { max-width: 760px; margin: 0 0 26px; }
.service-group-label { margin: 0 0 8px; color: var(--gold-dark, #9a7b42); font-family: Georgia, "Times New Roman", serif; font-size: 10px; letter-spacing: .18em; }
.service-group-heading h3 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(25px, 3vw, 34px); font-weight: 500; line-height: 1.55; }
.service-group-heading > p:last-child { max-width: 680px; margin: 12px 0 0; color: #59645e; font-size: 13px; line-height: 1.95; }
.service-grid-complex-cards { grid-template-columns: repeat(4, 1fr); }
.service-grid-complex-cards .service-card { min-height: 340px; padding-left: 30px; padding-right: 30px; }
.service-grid-complex-cards .service-card h3 { font-size: 22px; }

@media (max-width: 1050px) {
  .service-grid-complex-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .service-group { margin-top: 40px; }
  .service-group + .service-group { margin-top: 58px; }
  .service-group-heading { margin-bottom: 20px; }
  .service-grid-complex-cards { grid-template-columns: 1fr; }
  .service-grid-complex-cards .service-card { min-height: 0; padding: 38px 28px 34px; }
}
