:root {
  --ink: #243142;
  --muted: #627282;
  --blue: #1687c9;
  --blue-deep: #0b5f92;
  --teal: #3aa98f;
  --amber: #f4b84a;
  --cream: #fffaf0;
  --mint: #e7f6ef;
  --sky: #e6f4fb;
  --line: #d8e4ea;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.76;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { border: 0; background: none; cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 64px;
  background: rgba(255,255,255,.96);
}
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-logo { display: inline-flex; align-items: center; width: 190px; }
.brand-logo img { display: block; width: 100%; height: auto; }
.brand-signature { color: var(--muted); font-size: 13px; font-weight: 800; white-space: nowrap; }
.top-header nav { display: flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 900; }
.nav-toggle, .mobile-actions { display: none; }
.header-cta, .primary-button, .form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(22,135,201,.18);
}
.text-link { color: var(--blue-deep); font-weight: 900; text-decoration: underline; text-underline-offset: 6px; }
.eyebrow { margin-bottom: 18px; font-weight: 900; }
.eyebrow span { display: block; color: var(--blue); letter-spacing: .04em; }
.eyebrow small { display: block; margin-top: 2px; color: #8aa1af; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.firm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(500px, .82fr);
  gap: 48px;
  align-items: center;
  min-height: 710px;
  padding: 78px max(64px, calc((100vw - 1320px) / 2)) 110px;
  overflow: hidden;
  background: linear-gradient(135deg, #fffaf0 0%, #f5fbfd 52%, #eef9f5 100%);
}
.hero-copy h1 { max-width: 760px; margin-bottom: 30px; font-size: clamp(42px, 3.5vw, 52px); line-height: 1.3; letter-spacing: -.035em; text-wrap: nowrap; }
.hero-lead { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 26px; align-items: center; margin-top: 36px; }

.scope-map { position: relative; min-height: 530px; }
.scope-map::before {
  content: "";
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(22,135,201,.14);
}
.scope-map::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%,-50%);
  border: 2px dashed rgba(22,135,201,.32);
  border-radius: 50%;
}
.map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 218px;
  height: 218px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  text-align: center;
  box-shadow: 0 28px 55px rgba(36,49,66,.22);
}
.map-handshake { width: 58px; height: 58px; margin-bottom: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.map-center small { font-size: 12px; font-weight: 800; }
.map-center strong { margin-top: 5px; font-size: 23px; line-height: 1.35; }
.map-card {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 210px;
  min-height: 82px;
  padding: 14px 16px;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 14px 32px rgba(36,49,66,.10);
}
.map-card .map-icon { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; border-radius: 50%; color: var(--blue); background: #eaf6fc; }
.map-card .map-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.map-card strong { display: block; font-size: 16px; line-height: 1.35; }
.map-practice { left: 10px; top: 38px; }
.map-client { right: 10px; top: 38px; }
.map-office { left: 50%; bottom: 34px; transform: translateX(-50%); }
.map-client .map-icon { color: var(--teal); background: #eaf8f4; }
.map-office .map-icon { color: #b86f00; background: #fff4df; }

.scope-section, .strength-section, .firm-overview-section, .work-style-section, .flow-section, .contact-section {
  padding-left: max(64px, calc((100vw - 1240px) / 2));
  padding-right: max(64px, calc((100vw - 1240px) / 2));
}
.scope-section { padding-top: 120px; padding-bottom: 128px; }
.section-heading { max-width: 780px; margin-bottom: 54px; }
.section-heading h2, .strength-copy h2, .work-card h2, .contact-intro h2 { margin-bottom: 20px; font-size: clamp(34px, 3vw, 48px); line-height: 1.35; letter-spacing: -.025em; }
.heading-lines span { display: block; white-space: nowrap; }
.section-heading > p:last-child, .strength-copy > p:last-child, .contact-intro > p { color: var(--muted); font-size: 17px; }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.scope-card {
  position: relative;
  min-height: 510px;
  padding: 36px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 7px solid var(--blue);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(36,49,66,.08);
}
.scope-card.is-teal { border-top-color: var(--teal); }
.scope-card.is-amber { border-top-color: var(--amber); }
.scope-number { position: absolute; right: 22px; top: 14px; color: #e4eff4; font-size: 70px; font-weight: 900; line-height: 1; }
.scope-kicker { position: relative; margin-bottom: 5px; color: var(--blue-deep); font-size: 13px; font-weight: 900; }
.scope-card h3 { position: relative; margin-bottom: 28px; font-size: 27px; line-height: 1.35; }
.scope-card ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.scope-card li { padding: 14px 0 0; border-top: 1px solid var(--line); color: var(--muted); }
.scope-card li span { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 900; }
.scope-note { margin: 30px 0 0; padding: 20px 24px; border-radius: 12px; color: var(--muted); background: #f5f8fa; font-size: 14px; }

.strength-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: 92px; padding-top: 120px; padding-bottom: 120px; background: var(--sky); }
.strength-copy { align-self: start; position: sticky; top: 40px; }
.strength-list { display: grid; gap: 18px; }
.strength-list article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 30px rgba(36,49,66,.06);
}
.strength-list article > span { display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 50%; color: var(--blue-deep); background: #e7f6ef; font-size: 18px; font-weight: 900; }
.strength-list h3 { margin-bottom: 7px; font-size: 21px; }
.strength-list p { margin-bottom: 0; color: var(--muted); }

.firm-overview-section { padding-top: 112px; padding-bottom: 118px; background: #fff; }
.firm-overview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(36,49,66,.07);
}
.firm-overview-list > div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  min-height: 128px;
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
}
.firm-overview-list > div:nth-child(odd) { border-right: 1px solid var(--line); }
.firm-overview-list > div:nth-last-child(-n+2) { border-bottom: 0; }
.firm-overview-list > div.is-wide {
  grid-column: 1 / -1;
  border-right: 0;
}
.firm-overview-list dt { color: var(--blue-deep); font-weight: 900; }
.firm-overview-list dd { margin: 0; }
.firm-overview-list strong, .firm-overview-list span { display: block; }
.firm-overview-list strong { margin-bottom: 5px; }
.firm-overview-list span { color: var(--muted); font-size: 14px; line-height: 1.65; }

.work-style-section { padding-top: 110px; padding-bottom: 110px; background: #fff; }
.work-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 78px; padding: 56px; border-radius: 28px; color: #fff; background: var(--ink); }
.work-card .eyebrow span { color: #64c5f1; }
.work-card .eyebrow small { color: #9bb3c2; }
.work-details dl { margin: 0; }
.work-details dl > div { display: grid; grid-template-columns: 125px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.work-details dt { color: #82cce9; font-weight: 900; }
.work-details dd { margin: 0; }

.flow-section { padding-top: 118px; padding-bottom: 126px; background: var(--cream); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow-grid article { position: relative; padding: 30px 30px 26px; border-left: 1px solid #e4dbc7; }
.flow-grid article:last-child { border-right: 1px solid #e4dbc7; }
.flow-grid article > span { display: block; margin-bottom: 16px; color: var(--blue); font-size: 14px; font-weight: 900; }
.flow-grid h3 { margin-bottom: 8px; font-size: 20px; }
.flow-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.contact-section { padding-top: 120px; padding-bottom: 130px; background: #f6fbfd; }
.contact-intro { max-width: 1100px; margin: 0 auto 48px; text-align: center; }
.contact-intro h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.contact-intro > p:last-of-type { max-width: 760px; margin-left: auto; margin-right: auto; }
.contact-intro ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 1040px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}
.contact-intro li {
  position: relative;
  display: flex;
  grid-column: span 2;
  min-height: 108px;
  padding: 18px 16px 18px 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
  text-align: left;
}
.contact-intro li:nth-child(4) { grid-column: 2 / span 2; }
.contact-intro li:nth-child(5) { grid-column: 4 / span 2; }
.contact-intro li::before { content: "✓"; position: absolute; left: 16px; color: var(--teal); font-size: 17px; font-weight: 900; }
.form-wrap { max-width: 920px; margin: 0 auto; padding: 44px 46px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(36,49,66,.1); }
.form-heading { margin-bottom: 30px; }
.form-heading > small { color: var(--blue); font-weight: 900; }
.form-heading h3 { margin: 6px 0 8px; font-size: 28px; }
.form-heading p { margin-bottom: 0; color: var(--muted); }
.firm-form { display: grid; gap: 22px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.firm-form label > span, .firm-form legend { display: block; margin-bottom: 7px; font-weight: 900; }
.firm-form b { color: #c85353; font-size: 12px; }
.firm-form em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 700; }
.firm-form input[type="text"], .firm-form input[type="email"], .firm-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #bdccd5;
  border-radius: 9px;
  background: #fff;
}
.firm-form input:focus, .firm-form textarea:focus { outline: 3px solid rgba(22,135,201,.18); border-color: var(--blue); }
.firm-form fieldset { margin: 0; padding: 0; border: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-grid label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #f9fcfd; cursor: pointer; }
.check-grid label:last-child { grid-column: 1 / -1; }
.check-grid label > span { margin: 0; font-size: 14px; }
.privacy-note, .dummy-note, .form-message { margin: 0; color: var(--muted); font-size: 13px; }
.privacy-note a { color: var(--blue-deep); text-decoration: underline; }
.dummy-note { padding: 10px 12px; border-radius: 8px; background: #fff8e8; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message.is-success { color: #176b5a; font-weight: 800; }
.form-message.is-error { color: #a33b32; font-weight: 800; }
.firm-form .form-button:disabled { cursor: wait; opacity: .7; }
.form-button { width: 100%; border: 0; cursor: pointer; }
.form-message { color: var(--blue-deep); font-weight: 900; text-align: center; }

.site-footer { display: grid; grid-template-columns: minmax(320px, 1fr) auto; gap: 34px 64px; align-items: end; padding: 52px max(64px, calc((100vw - 1240px) / 2)) 34px; color: #fff; background: #172332; }
.footer-brand img { display: block; width: 190px; height: auto; }
.footer-brand p { margin: 18px 0 0; color: #c5d2da; }
.footer-social { display: flex; gap: 22px; margin-top: 18px; font-weight: 800; }
.footer-social a { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 28px; font-weight: 800; }
.site-footer > small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #8397a6; }

@media (max-width: 1120px) {
  .top-header { padding: 0 30px; }
  .top-header nav { gap: 16px; font-size: 13px; }
  .brand-signature { display: none; }
  .firm-hero { grid-template-columns: 1fr; gap: 40px; padding: 70px 52px 95px; }
  .scope-map { width: min(620px, 100%); margin: 0 auto; }
  .scope-section, .strength-section, .firm-overview-section, .work-style-section, .flow-section, .contact-section { padding-left: 52px; padding-right: 52px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-card { min-height: 0; }
  .strength-section { grid-template-columns: 1fr; gap: 48px; }
  .strength-copy { position: static; }
  .contact-intro ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-intro li,
  .contact-intro li:nth-child(4) { grid-column: auto; }
  .contact-intro li:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; font-size: 15px; }
  .top-header { position: relative; min-height: 70px; padding: 0 18px; }
  .brand-logo { width: 145px; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; }
  .nav-toggle span { display: block; width: 24px; border-top: 2px solid var(--ink); }
  .top-header nav { position: absolute; left: 0; right: 0; top: 70px; z-index: 20; display: none; gap: 0; padding: 12px 18px 20px; background: #fff; box-shadow: 0 18px 28px rgba(36,49,66,.12); }
  .top-header nav.is-open { display: grid; }
  .top-header nav a { padding: 11px 4px; border-bottom: 1px solid var(--line); }
  .firm-hero { display: block; min-height: 0; padding: 58px 22px 72px; }
  .hero-copy h1 { font-size: 37px; line-height: 1.35; text-wrap: balance; }
  .desktop-break { display: none; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; gap: 18px; justify-items: start; }
  .scope-map { min-height: 0; margin-top: 52px; }
  .scope-map::before { display: none; }
  .scope-map::after { left: 50%; top: 105px; width: 260px; height: 260px; }
  .map-center { position: relative; left: auto; top: auto; width: 210px; height: 210px; margin: 0 auto 30px; transform: none; }
  .map-card { position: static; width: min(100%, 330px); min-height: 72px; margin: 12px auto 0; transform: none; }
  .scope-section, .strength-section, .firm-overview-section, .work-style-section, .flow-section, .contact-section { padding-left: 22px; padding-right: 22px; }
  .scope-section { padding-top: 78px; padding-bottom: 82px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .strength-copy h2, .work-card h2, .contact-intro h2 { font-size: 31px; }
  .heading-lines span { display: inline; white-space: normal; }
  .scope-grid { gap: 16px; }
  .scope-card { padding: 30px 24px; }
  .strength-section { padding-top: 78px; padding-bottom: 82px; }
  .strength-list article { grid-template-columns: 60px 1fr; gap: 16px; padding: 22px 18px; }
  .strength-list article > span { width: 58px; height: 58px; font-size: 14px; }
  .firm-overview-section { padding-top: 78px; padding-bottom: 82px; }
  .firm-overview-list { grid-template-columns: 1fr; }
  .firm-overview-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 0;
    padding: 22px 20px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .firm-overview-list > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .firm-overview-list > div:last-child { border-bottom: 0; }
  .work-style-section { padding-top: 74px; padding-bottom: 74px; }
  .work-card { grid-template-columns: 1fr; gap: 30px; padding: 32px 22px; }
  .work-details dl > div { grid-template-columns: 1fr; gap: 2px; }
  .flow-section { padding-top: 78px; padding-bottom: 82px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid article, .flow-grid article:last-child { padding: 22px 18px; border: 0; border-top: 1px solid #e4dbc7; }
  .contact-section { padding-top: 78px; padding-bottom: 82px; }
  .contact-intro { margin-bottom: 34px; text-align: left; }
  .contact-intro h2, .contact-intro > p:last-of-type { margin-left: 0; margin-right: 0; }
  .contact-intro ul { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .contact-intro li,
  .contact-intro li:nth-child(4),
  .contact-intro li:nth-child(5) { grid-column: auto; min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .form-wrap { padding: 28px 20px; }
  .field-grid, .check-grid { grid-template-columns: 1fr; }
  .check-grid label:last-child { grid-column: auto; }
  .footer-brand { display: block; }
  .footer-brand p { margin-top: 18px; }
  .site-footer { grid-template-columns: 1fr; padding: 48px 22px 30px; }
  .site-footer nav { display: grid; justify-content: flex-start; gap: 15px; }
  .site-footer > small { grid-column: auto; }
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: block; padding: 10px 14px; background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(36,49,66,.12); }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; color: #fff; background: var(--blue); font-weight: 900; }
}

.submission-status[hidden] { display: none; }

.submission-status {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 26px 30px;
  border: 2px solid;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(36, 49, 66, .12);
  scroll-margin-top: 20px;
}

.submission-status.is-success { border-color: #23866f; background: #ecfaf5; }
.submission-status.is-error { border-color: #b64a42; background: #fff3f1; }

.submission-status-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

.submission-status.is-success .submission-status-icon { background: #23866f; }
.submission-status.is-error .submission-status-icon { background: #b64a42; }
.submission-status.is-success .submission-status-icon::before { content: "✓"; }
.submission-status.is-error .submission-status-icon::before { content: "!"; }
.submission-status-label { margin: 0 0 3px; color: var(--muted); font-size: 13px; font-weight: 800; }
.submission-status h2 { margin: 0; color: var(--ink); font-size: clamp(25px, 3vw, 36px); line-height: 1.3; }
.submission-status p:not(.submission-status-label) { margin: 8px 0 13px; color: var(--ink); line-height: 1.8; }
.submission-status a { color: var(--blue-deep); font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 680px) {
  .submission-status {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    width: calc(100% - 28px);
    margin-top: 16px;
    padding: 20px 17px;
  }
  .submission-status-icon { width: 44px; height: 44px; font-size: 25px; }
}

/* 2026-07-30 responsive typography */
body { line-break: strict; word-break: auto-phrase; }
.phrase { display: inline-block; white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
.hero-copy h1 { text-wrap: wrap; }
.hero-line { display: block; }

@media (min-width: 1121px) {
  .strength-section {
    grid-template-columns: minmax(500px, .9fr) minmax(0, 1.1fr);
    gap: 64px;
  }
  .strength-copy h2 { font-size: 42px; line-height: 1.4; }
}

.strength-list article > span { white-space: nowrap; }

@media (max-width: 760px) {
  .hero-copy h1 { font-size: clamp(32px, 9.5vw, 37px); }
  .section-heading h2, .strength-copy h2, .work-card h2, .contact-intro h2 {
    font-size: clamp(28px, 8.2vw, 31px);
    line-height: 1.42;
  }
  .strength-list article { grid-template-columns: 72px minmax(0, 1fr); }
  .strength-list article > span {
    width: 68px;
    height: 68px;
    font-size: 12px;
    letter-spacing: -.03em;
  }
  .check-grid label { min-height: 52px; }
}
