:root { --container: 1120px; --container-wide: 1280px; --gutter: clamp(18px, 4vw, 56px); --section-y: clamp(56px, 7vw, 96px); --header-height: 72px; --ink: #151817; --ink-soft: #373a39; --muted: #696d6b; --line: #dedfdd; --paper: #f5f5f3; --panel: #fafafa; --white: #ffffff; --black: #101211; --accent: #171918; --radius: 4px; }
* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); height: 100%; min-height: 100%; }
body { margin: 0px; height: 100%; min-height: 100%; color: var(--ink); background: var(--white); font-family: Arial, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; line-height: 1.75; overflow: hidden; }
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
main { height: 100dvh; overflow: hidden auto; scroll-padding-top: var(--header-height); }
.site-header { position: fixed; z-index: 30; top: 0px; left: 0px; right: 0px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; min-height: var(--header-height); padding: 16px var(--gutter); color: var(--white); background: transparent; border-bottom: 1px solid transparent; transition: background 180ms, border-color 180ms, color 180ms, box-shadow 180ms, padding 180ms; }
.site-header.is-scrolled { padding-top: 12px; padding-bottom: 12px; color: var(--ink); background: rgba(251, 252, 250, 0.94); border-color: rgba(20, 24, 23, 0.08); box-shadow: rgba(20, 24, 23, 0.08) 0px 12px 34px; backdrop-filter: blur(16px); }
.brand { position: relative; display: block; width: clamp(190px, 23vw, 248px); height: 54px; min-width: 0px; }
.brand-logo { position: absolute; inset: 0px; display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity 180ms; }
.brand-logo-dark { opacity: 0; }
.site-header.is-scrolled .brand-logo-white { opacity: 0; }
.site-header.is-scrolled .brand-logo-dark { opacity: 1; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 0.84rem; font-weight: 800; }
.nav a { opacity: 0.84; }
.nav a:hover { opacity: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid; border-radius: var(--radius); color: inherit; background: transparent; align-items: center; justify-content: center; gap: 5px; flex-direction: column; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentcolor; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0px 24px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 900; line-height: 1.2; white-space: nowrap; }
.button.primary { color: var(--white); background: var(--black); box-shadow: rgba(0, 0, 0, 0.18) 0px 18px 36px; }
.button.primary:hover { background: rgb(48, 48, 48); }
.hero { min-height: 88svh; display: grid; place-items: center; padding: calc(var(--header-height) + 54px) var(--gutter) 90px; color: var(--white); background-color: rgb(16, 20, 19); background-image: linear-gradient(90deg, rgba(8, 10, 10, 0.96) 0%, rgba(8, 10, 10, 0.84) 45%, rgba(8, 10, 10, 0.68) 100%), linear-gradient(135deg, rgba(238, 231, 220, 0.12) 0%, rgba(238, 231, 220, 0) 54%); overflow: hidden; isolation: isolate; }
.hero-content { position: relative; z-index: 1; display: grid; justify-items: center; width: min(100%, var(--container)); padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px); text-align: center; }
.hero-content::before { content: ""; position: absolute; z-index: -1; top: calc(50% - 18px); left: 50%; width: min(54vw, 520px); aspect-ratio: 1 / 1; border: 6px solid rgb(255, 255, 255); border-radius: 50%; background: rgba(255, 255, 255, 0.035); box-shadow: rgba(0, 0, 0, 0.34) 0px 22px 54px, rgba(255, 255, 255, 0.18) 0px 0px 34px, rgba(255, 255, 255, 0.08) 0px 0px 0px 1px inset; transform: translate(-50%, -50%); pointer-events: none; }
h1 { margin: 0px; max-width: 920px; font-size: clamp(1.62rem, 2.9vw, 3.08rem); line-height: 1.08; font-weight: 900; text-shadow: rgba(0, 0, 0, 0.36) 0px 2px 12px; transform: translateY(12px); }
h1 span { display: block; }
.hero-lead { margin: 38px auto 0px; max-width: 720px; color: rgba(255, 255, 255, 0.94); font-size: clamp(0.9rem, 1.05vw, 1rem); line-height: 1.9; font-weight: 800; }
.section { display: grid; gap: clamp(22px, 3vw, 34px); padding: var(--section-y) var(--gutter); text-align: left; }
.section > *, .contact-section > * { width: min(100%, var(--container)); justify-self: center; }
.section-heading { position: relative; display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.section-heading::before { content: ""; position: absolute; top: -1px; left: 0px; width: 72px; height: 1px; background: var(--accent); }
.eyebrow { margin: 0px; color: var(--ink); font-size: 0.78rem; font-weight: 900; line-height: 1.2; text-transform: uppercase; }
.section-heading h2, .contact-copy h2 { margin: 0px; max-width: 780px; font-size: clamp(1.72rem, 2.9vw, 3.15rem); line-height: 1.22; font-weight: 900; }
.services, .legal-business { background: var(--paper); }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px; }
.service-item { display: grid; grid-template-rows: auto 1fr; gap: 24px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: rgba(20, 24, 23, 0.06) 0px 16px 42px; }
.service-thumb { display: block; aspect-ratio: 16 / 9; min-height: 230px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(242, 242, 242); }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-thumb-logo { display: grid; place-items: center; padding: clamp(24px, 4vw, 44px); background: rgb(250, 249, 246); }
.service-thumb-logo img { width: min(82%, 340px); height: auto; object-fit: contain; }
.service-item h3 { margin: 0px; font-size: 1.18rem; line-height: 1.35; }
.service-item p { margin: 8px 0px 0px; color: var(--muted); }
.profile-content { max-width: var(--container); }
.text-panel { position: relative; width: min(100%, var(--container)); padding: clamp(26px, 3.4vw, 40px); border-top-color: ; border-top-style: ; border-top-width: ; border-right-color: ; border-right-style: ; border-right-width: ; border-bottom-color: ; border-bottom-style: ; border-bottom-width: ; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ; border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--panel); box-shadow: rgba(20, 24, 23, 0.06) 0px 18px 46px; }
.profile-copy p { margin: 0px; color: var(--muted); font-size: 1rem; line-height: 1.95; }
.profile-copy p + p { margin-top: 20px; }
.profile-copy .signature { margin-top: 30px; color: var(--ink); font-weight: 900; text-align: right; }
ruby rt { font-size: 0.55em; font-weight: 800; }
.legal-list { display: grid; gap: 10px; margin: 0px; padding: 0px; list-style: none; }
.legal-list li { display: block; padding: 18px clamp(18px, 4vw, 28px); border-top-color: ; border-top-style: ; border-top-width: ; border-right-color: ; border-right-style: ; border-right-width: ; border-bottom-color: ; border-bottom-style: ; border-bottom-width: ; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ; border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--white); box-shadow: rgba(20, 24, 23, 0.05) 0px 12px 32px; }
.company-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: rgba(20, 24, 23, 0.06) 0px 16px 42px; }
.company-table div { display: grid; grid-template-columns: minmax(160px, 0.26fr) minmax(0px, 1fr); gap: 22px; padding: 18px clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.company-table div:last-child { border-bottom: 0px; }
.company-table span { color: var(--muted); font-weight: 900; }
.company-table strong { color: var(--ink-soft); font-weight: 600; }
.contact-section { display: grid; grid-template-columns: minmax(0, var(--container)); gap: 28px; justify-content: center; padding: var(--section-y) var(--gutter); color: var(--white); background: var(--black); }
.contact-copy { position: relative; display: grid; gap: 12px; padding-top: 24px; }
.contact-copy::before { content: ""; position: absolute; top: -1px; left: 0px; width: 72px; height: 1px; background: rgba(255, 255, 255, 0.78); }
.contact-copy .eyebrow { color: rgba(255, 255, 255, 0.72); }
.contact-form { display: grid; gap: 20px; width: 100%; padding: clamp(24px, 4vw, 40px); color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: rgba(0, 0, 0, 0.26) 0px 26px 80px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { display: grid; gap: 8px; font-size: 0.86rem; font-weight: 900; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; color: var(--ink-soft); }
.field-required { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0px 8px; border-radius: 999px; color: var(--white); background: var(--black); font-size: 0.75rem; line-height: 1; white-space: nowrap; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; height: 52px; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--panel); outline: none; transition: border-color 160ms, box-shadow 160ms, background 160ms; }
.contact-form textarea { height: 148px; min-height: 148px; resize: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--black); background: var(--white); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 3px; }
.consent { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; margin-top: 2px; color: var(--muted); font-weight: 800; }
.consent input { width: 18px; height: 18px; min-height: 0px; margin-top: 5px; }
.privacy-link { padding: 0px; border: 0px; color: var(--ink); background: transparent; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.footer-privacy-link { color: var(--white); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { width: 100%; margin-top: 8px; border: 0px; cursor: pointer; }
.submit-button[aria-busy="true"] { opacity: 0.72; cursor: wait; }
.form-status { margin: 0px 0px 4px; padding: 14px 16px; border-radius: var(--radius); font-weight: 900; }
.form-status.is-success { color: rgb(17, 17, 17); background: rgb(238, 238, 238); }
.form-status.is-error { color: rgb(17, 17, 17); background: rgb(240, 222, 222); }
.modal { position: fixed; z-index: 100; inset: 0px; display: none; padding: 24px; }
.modal.is-open { display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0px; background: rgba(0, 0, 0, 0.58); }
.modal-panel { position: relative; display: grid; grid-template-rows: auto 1fr; width: min(100%, 860px); max-height: min(86vh, 760px); overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: rgba(0, 0, 0, 0.34) 0px 24px 90px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(18px, 4vw, 32px); border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0px; font-size: 1.15rem; }
.modal-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.modal-body { display: grid; gap: 22px; padding: clamp(20px, 4vw, 32px); overflow: auto; }
.modal-body h3 { margin: 0px 0px 6px; font-size: 1rem; }
.modal-body p { margin: 0px; color: var(--muted); }
.site-footer { display: grid; justify-items: center; gap: 8px; padding: 32px var(--gutter); color: rgba(255, 255, 255, 0.78); background: rgb(13, 15, 14); text-align: center; font-size: 0.86rem; }
.site-footer p { margin: 0px; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; gap: 14px; }
  .brand { width: min(56vw, 224px); height: 48px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: calc(100% + 1px); left: var(--gutter); right: var(--gutter); display: none; flex-direction: column; align-items: stretch; gap: 0px; padding: 10px; color: var(--ink); background: rgba(255, 255, 255, 0.98); border: 1px solid var(--line); box-shadow: rgba(20, 24, 23, 0.14) 0px 20px 46px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; }
  .service-list, .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; --section-y: 52px; --header-height: 66px; }
  .site-header { padding: 10px 16px; }
  .site-header.is-scrolled { padding-top: 9px; padding-bottom: 9px; }
  .brand { width: min(58vw, 190px); height: 42px; }
  .menu-toggle { width: 40px; height: 40px; }
  .nav { left: 16px; right: 16px; }
  .hero { min-height: 68svh; padding: calc(var(--header-height) + 32px) 18px 56px; }
  .hero-content { width: min(100%, 342px); min-height: min(84vw, 318px); align-content: center; padding: 0px 10px; }
  .hero-content::before { top: 50%; width: min(84vw, 306px); }
  h1 { font-size: clamp(1.2rem, 5.8vw, 1.55rem); line-height: 1.16; transform: translateX(8px); }
  h1 span + span { margin-top: 0.42em; }
  .hero-lead { display: none; }
  .section { gap: 22px; padding-right: 18px; padding-left: 18px; }
  .section-heading { gap: 10px; padding-top: 18px; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(1.48rem, 8vw, 2.1rem); line-height: 1.24; }
  .service-list { gap: 18px; }
  .service-item { gap: 16px; padding: 18px; }
  .service-thumb { min-height: auto; }
  .service-item h3 { font-size: 1.05rem; }
  .service-item p, .legal-list li, .company-table strong, .modal-body p, .site-footer { font-size: 1rem; }
  .text-panel { padding: 22px 12px; border-left: 0; background: transparent; box-shadow: none; }
  .profile-copy p { font-size: 1rem; line-height: 1.9; }
  .profile-copy .signature { margin-top: 24px; text-align: left; }
  ruby { white-space: nowrap; }
  .legal-list { gap: 8px; }
  .legal-list li { padding: 16px 18px; }
  .company-table div { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .company-table span { font-size: 0.82rem; }
  .contact-section { gap: 22px; padding: 52px 18px; }
  .contact-copy { gap: 10px; padding-top: 18px; }
  .contact-form { gap: 16px; padding: 22px 18px; }
  .form-grid { gap: 16px; }
  .contact-form input, .contact-form select, .contact-form textarea { height: 50px; min-height: 50px; padding: 11px 12px; font-size: 16px; }
  .contact-form textarea { height: 142px; min-height: 142px; }
  .field-head { align-items: flex-start; min-height: 0px; }
  .consent { font-size: 0.95rem; line-height: 1.65; }
  .button { min-height: 50px; padding-right: 18px; padding-left: 18px; }
  .modal { padding: 12px; }
  .modal-panel { max-height: 90vh; }
  .modal-head { gap: 14px; padding: 16px 18px; }
  .modal-body { gap: 18px; padding: 18px; }
  .site-footer { padding: 28px 18px; }
}
@media (max-width: 390px) {
  .brand { width: min(56vw, 176px); }
  .hero-content { width: min(100%, 326px); min-height: min(84vw, 302px); padding-top: 0px; padding-bottom: 0px; }
  .hero-content::before { width: min(82vw, 298px); }
  h1 { font-size: clamp(1.16rem, 6vw, 1.44rem); }
  .hero-lead { margin-top: 40px; font-size: 0.76rem; }
  .service-item, .contact-form { padding-right: 16px; padding-left: 16px; }
}
