@charset "UTF-8";

:root {
  color-scheme: light;
  --text: #262b32;
  --muted: #6d737b;
  --line: #e9ebee;
  --accent: #345e8d;
  --navy: #253d55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1080px, calc(100% - 80px)); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 8px 16px; background: #fff; z-index: 100; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 162px; height: auto; }
.navigation { display: flex; align-items: center; gap: 38px; }
.navigation a { position: relative; padding: 25px 0; font-size: 14px; color: #5d636c; }
.navigation a:hover, .navigation a[aria-current] { color: var(--accent); }
.navigation a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 1px; background: var(--accent); }
.menu-button { display: none; }

.intro { padding: 64px 0 58px; background: #edf2f6; border-bottom: 1px solid #e1e7ee; overflow: hidden; }
.intro-layout { display: grid; grid-template-columns: 1fr 1.03fr; gap: 64px; align-items: center; }
.company-name { color: #6a7b8c; font-size: 14px; margin-bottom: 18px; }
h1 { font-size: 43px; line-height: 1.45; letter-spacing: 1px; font-weight: 600; color: #253d55; }
.intro-text { max-width: 400px; margin-top: 22px; color: #657585; font-size: 16px; line-height: 2; }
.intro-actions { display: flex; align-items: center; gap: 25px; margin-top: 28px; }
.intro-link { display: inline-block; padding: 10px 21px; background: var(--accent); color: #fff; font-size: 14px; border: 1px solid var(--accent); border-radius: 3px; }
.intro-link:hover { background: #284d75; color: #fff; }
.intro-contact { font-size: 14px; color: #5c7083; border-bottom: 1px solid #a9b7c4; padding-bottom: 2px; }
.intro-photo { margin: 0; position: relative; isolation: isolate; }
.intro-photo::before { content: ""; position: absolute; width: 66%; height: 80%; top: -17px; right: -17px; background: #dce5ec; border-radius: 4px; z-index: -1; }
.intro-photo > img { width: 100%; height: 315px; object-fit: cover; border-radius: 4px 4px 0 0; }
.intro-photo figcaption { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 16px 20px; background: #fff; color: #76838e; font-size: 12px; border-radius: 0 0 4px 4px; }
.photo-line { height: 2px; width: 34px; background: #6d8ba7; flex-shrink: 0; }

.section { padding: 62px 0; }
h2 { font-size: 23px; line-height: 1.6; font-weight: 600; }
.section-layout { display: grid; grid-template-columns: 210px 1fr; gap: 60px; }
.about { padding-block: 72px; }
.about-layout { display: grid; grid-template-columns: .95fr 1.3fr; align-items: center; gap: 66px; }
.about-photo { margin: 0; padding: 0 0 16px 16px; position: relative; isolation: isolate; }
.about-photo::before { content: ""; position: absolute; inset: 24px 32px 0 0; background: #eef2f5; z-index: -1; }
.about-photo img { width: 100%; height: 230px; object-fit: cover; object-position: center 55%; border-radius: 3px; }
.about-photo figcaption { padding: 10px 0 0 2px; color: #84909b; font-size: 12px; }
.about-content { max-width: 760px; color: #606771; }
.about-content h2 { color: var(--text); margin-bottom: 21px; }
.about-content p + p { margin-top: 15px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 25px; margin-bottom: 30px; }
.section-heading > p { color: #828892; font-size: 14px; }
.products { border-top: 1px solid #e5eaf0; border-bottom: 1px solid #e5eaf0; background: #f3f6f9; }
.section-heading h2::before { content: ""; display: inline-block; width: 4px; height: 19px; background: #7491ac; margin-right: 11px; vertical-align: -1px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { border: 1px solid #e1e7ee; border-top: 2px solid #b6c7d7; padding: 28px; background: #fff; border-radius: 3px; }
.service-symbol { width: 43px; height: 43px; display: grid; place-items: center; background: #eef3f8; color: #557795; border-radius: 4px; margin-bottom: 19px; }
.service-symbol svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 18px; font-weight: 500; margin-bottom: 13px; }
.service p { font-size: 16px; color: #6d737b; }
.service ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; color: #737a84; line-height: 2.2; }
.service li::before { content: "·"; margin-right: 10px; color: #9ca5af; }
.cases { padding-block: 65px 70px; }
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-preview { display: block; width: 100%; padding: 8px; border: 1px solid #e4e9ef; background: #f1f4f7; border-radius: 3px; }
.case-preview img { width: 100%; height: auto; aspect-ratio: 1040 / 573; object-fit: cover; }
.case-preview:hover { border-color: #9caec1; }
.case h3 { margin-top: 14px; font-size: 16px; font-weight: 400; }

.contact { background: var(--navy); color: #f4f7fb; border-top: 4px solid #b5c6d6; }
.contact-note { margin-top: 16px; font-size: 14px; color: #b1c2d2; }
.contact-list { margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 25px; padding: 10px 0; }
.contact-list > div:first-child { padding-top: 0; }
.contact-list > div:last-child { padding-bottom: 0; }
.contact-list dt { font-size: 14px; color: #b1c2d2; }
.contact-list dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { padding: 27px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; color: #8a9098; font-size: 12px; }
.filing { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.case-dialog { width: min(1000px, calc(100% - 48px)); max-height: 90vh; padding: 24px; border: 1px solid #e0e4e8; background: #fff; color: var(--text); overscroll-behavior: contain; }
.case-dialog::backdrop { background: #20252cc9; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.dialog-heading h2 { font-size: 18px; font-weight: 500; }
.dialog-close { background: #fff; border: 1px solid #dce0e5; padding: 4px 15px; font-size: 14px; }
.dialog-close:hover { border-color: #8798ab; }
#dialog-image { width: 100%; height: auto; }
body.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .container { width: calc(100% - 64px); }
  .navigation { gap: 27px; }
  .section-layout { grid-template-columns: 160px 1fr; gap: 35px; }
  .intro-layout { gap: 34px; }
  h1 { font-size: 36px; }
  .intro-photo > img { height: 300px; }
  .about-layout { gap: 35px; grid-template-columns: .9fr 1.2fr; }
  .about-photo img { height: 240px; }
  .service-list { gap: 18px; }
  .service { padding: 23px 20px; }
  .case-list { gap: 20px; }
  .service p { font-size: 16px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 15px; }
  .brand img { width: 138px; }
  .menu-button { display: block; padding: 5px 0 5px 14px; background: none; border: 0; font-size: 14px; color: var(--muted); }
  .navigation { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 9px 20px 14px; background: #fff; border-bottom: 1px solid var(--line); }
  .navigation.open { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .navigation a { padding: 10px 0; }
  .navigation a[aria-current]::after { display: none; }
  .intro { padding: 49px 0 45px; }
  .intro-layout { grid-template-columns: 1fr; gap: 35px; }
  .company-name { margin-bottom: 15px; font-size: 14px; }
  h1 { font-size: 35px; letter-spacing: 0; }
  h1 br { display: none; }
  .intro-text { font-size: 16px; margin-top: 18px; }
  .desktop-break { display: none; }
  .intro-actions { margin-top: 22px; }
  .intro-photo { margin-right: 10px; }
  .intro-photo::before { top: -12px; right: -12px; }
  .intro-photo > img { height: 220px; }
  .intro-photo figcaption { padding: 12px 15px; font-size: 11px; }
  .section { padding: 42px 0; }
  h2 { font-size: 21px; }
  .section-layout { grid-template-columns: 1fr; gap: 22px; }
  .about-layout { grid-template-columns: 1fr; gap: 27px; }
  .about-photo { order: 2; }
  .about-photo img { height: 200px; }
  .about-content h2 { margin-bottom: 20px; }
  .about-content { font-size: 16px; }
  .section-heading { margin-bottom: 25px; gap: 12px; flex-wrap: wrap; }
  .section-heading > p { font-size: 14px; }
  .service-list { grid-template-columns: 1fr; gap: 18px; }
  .service { padding: 23px; border-top-width: 2px; }
  .service-symbol { width: 37px; height: 37px; margin-bottom: 15px; }
  .service-symbol svg { width: 25px; height: 25px; }
  .service h3 { font-size: 18px; margin-bottom: 9px; }
  .service ul { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 10px; }
  .service li::before { margin-right: 7px; }
  .cases { padding-block: 42px; }
  .case-list { grid-template-columns: 1fr; gap: 26px; }
  .case h3 { margin-top: 10px; }
  .contact-note { margin-top: 8px; }
  .contact-list > div { grid-template-columns: 74px 1fr; gap: 18px; padding: 8px 0; }
  .footer-inner { display: block; font-size: 12px; }
  .filing { margin-top: 8px; gap: 7px 18px; }
  .site-footer { padding: 23px 0; }
  .case-dialog { width: calc(100% - 24px); padding: 16px; }
  .dialog-heading { gap: 12px; }
  .dialog-heading h2 { font-size: 16px; }
  .dialog-close { white-space: nowrap; padding: 3px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
