:root {
  color-scheme: light;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: #1a2d46;
  background: #f7f9fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #3386db; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 10px; }

.site-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid #e3eaf2; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #174b80; color: #fff; font-family: Georgia, serif; font-size: 28px; font-style: italic; line-height: 1; }
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.brand-text strong { font-family: Georgia, serif; font-size: 17px; letter-spacing: .14em; }
.brand-text small { font-size: 11px; letter-spacing: .06em; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: clamp(16px, 3vw, 40px); }
nav a { text-decoration: none; color: #314864; font-size: 14px; font-weight: 700; }
nav a:hover, .text-link:hover { color: #1b6dbe; }

.hero { overflow: hidden; background: #12233d; color: #fff; }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; gap: 48px; }
.hero-copy { padding-block: 88px 100px; }
.eyebrow, .section-index { margin: 0; font-family: Georgia, serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.eyebrow { color: #91c3ec; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 26px 0 28px; font-size: clamp(42px, 4.25vw, 58px); line-height: 1.25; letter-spacing: .03em; }
.lead { max-width: 620px; margin-bottom: 22px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.6; }
.hero-note { max-width: 560px; margin-bottom: 32px; color: #d3e1f0; font-size: 16px; line-height: 1.95; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #1b5c9c; font-size: 15px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.hero-link { color: #cae8ff; }
.hero-link:hover { color: #fff; }
.hero-graphic { position: relative; width: min(100%, 430px); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.hero-graphic::before { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(169, 217, 255, .32); border-radius: 26px; transform: rotate(45deg); }
.graphic-orbit { position: absolute; display: block; border: 1px solid rgba(169, 217, 255, .16); border-radius: 50%; }
.orbit-one { inset: 5%; }
.orbit-two { inset: 27%; border-color: rgba(169, 217, 255, .38); }
.graphic-center { position: relative; color: #b5dcf9; font-family: Georgia, serif; font-size: clamp(54px, 8vw, 112px); letter-spacing: -.05em; }
.graphic-center span { color: #729fc3; font-weight: 400; }

.section { padding-block: 104px; }
.section-index { display: block; color: #2e6b9f; }
.section-heading h2, .contact-section h2 { margin: 16px 0 20px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.3; }
.section-heading p { max-width: 320px; color: #5a6d81; line-height: 1.85; }
.work-section { background: #f7f9fc; }
.work-grid { margin-top: 36px; display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 36px; align-items: stretch; }
.work-intro { padding: 28px 36px 0 0; border-top: 1px solid #b9c8d7; }
.work-intro p:first-child { margin-bottom: 18px; font-size: 23px; line-height: 1.6; font-weight: 700; }
.work-intro p:last-child { max-width: 310px; color: #52667a; font-size: 16px; line-height: 1.95; }
.service-list { background: #fff; border: 1px solid #e2e8ef; box-shadow: 0 18px 48px rgba(24, 51, 78, .06); }
.service-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 28px 36px; }
.service-item + .service-item { border-top: 1px solid #e4eaf0; }
.service-number { padding-top: 3px; color: #3977a9; font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.service-item h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.5; }
.service-item p { margin-bottom: 0; color: #52667a; font-size: 15px; line-height: 1.85; }

.company-section { background: #fff; }
.company-grid { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: 64px; }
.company-list { margin: 0; border-top: 1px solid #cdd8e4; }
.company-list div { display: grid; grid-template-columns: 125px 1fr; gap: 24px; padding: 23px 0; border-bottom: 1px solid #e4eaf0; }
.company-list dt { color: #5a6d81; font-size: 14px; font-weight: 700; }
.company-list dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.6; }

.contact-section { padding-block: 82px; background: #e8f1f8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.contact-section h2 { margin-bottom: 16px; }
.contact-section p { margin-bottom: 0; color: #52667a; font-size: 16px; line-height: 1.8; }
.contact-link { min-height: 92px; display: grid; grid-template-columns: 1fr auto; align-content: center; column-gap: 10px; padding: 18px 0; border-bottom: 2px solid #2a669b; text-decoration: none; }
.contact-link span:first-child { grid-column: 1; color: #52718e; font-size: 13px; font-weight: 700; }
.contact-link strong { grid-column: 1; margin-top: 6px; overflow-wrap: anywhere; font-size: clamp(16px, 2vw, 21px); }
.contact-link span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 25px; }
.contact-link:hover { color: #1b6dbe; }
.site-footer { background: #12233d; color: #d2e0ec; }
.footer-inner { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; }
.footer-divider { padding-inline: 7px; color: #81aecb; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 560px); }
  .header-inner { padding-block: 18px; align-items: flex-start; flex-direction: column; gap: 20px; }
  nav { width: 100%; justify-content: space-between; gap: 10px; }
  nav a { font-size: 13px; }
  .hero-grid { min-height: auto; display: block; position: relative; }
  .hero-copy { position: relative; z-index: 1; padding-block: 82px 92px; }
  .hero-graphic { position: absolute; right: -150px; bottom: -125px; width: 350px; opacity: .3; }
  h1 { font-size: clamp(29px, 8vw, 42px); }
  .section { padding-block: 76px; }
  .work-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .work-intro { padding-top: 24px; }
  .service-item { grid-template-columns: 30px 1fr; gap: 14px; padding: 25px 22px; }
  .service-item h3 { font-size: 20px; }
  .company-list div { grid-template-columns: 96px 1fr; gap: 14px; }
  .contact-section { padding-block: 68px; }
  .footer-inner { padding-block: 28px; flex-direction: column; align-items: flex-start; gap: 8px; }
}

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