:root {
  color-scheme: light;
  --ink: #20201e;
  --paper: #f8f7f4;
  --line: #d2cfc8;
  --accent: #ad2b21;
  --edge: clamp(24px, 5.2vw, 86px);
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #dc5135; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.frame { width: min(calc(100% - 2 * var(--edge)), 1440px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 6px auto auto 8px; padding: 12px 18px; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.mast { background: var(--paper); border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.34rem; font-weight: 750; letter-spacing: .035em; text-decoration: none; white-space: nowrap; }
.mark { width: 36px; height: 35px; display: inline-block; position: relative; flex: none; }
.mark::before, .mark::after { content: ""; position: absolute; width: 100%; height: 62%; background: #b92e21; clip-path: polygon(20% 0, 100% 0, 78% 44%, 38% 44%, 63% 100%, 32% 100%, 0 35%); }
.mark::before { top: 0; }
.mark::after { bottom: 0; transform: rotate(180deg); }
nav { display: flex; align-items: center; gap: clamp(24px, 3.3vw, 56px); }
nav a { font-weight: 600; font-size: .91rem; text-decoration: none; padding-block: 10px; }
nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
nav .profile-nav { border: 1px solid #3b3b35; padding: 9px 21px; border-radius: 2px; }
nav .profile-nav:hover { color: white; background: var(--ink); text-decoration: none; }
.hero { max-width: 1720px; margin-inline: auto; display: grid; grid-template-columns: 44% 56%; min-height: clamp(505px, 41vw, 675px); }
.hero-text { align-self: center; padding: 42px 30px 48px max(var(--edge), calc((100% / .44 - 1440px) / 2)); }
.loc, .eyebrow, .service-en { font: 600 .88rem/1.4 var(--mono); letter-spacing: .09em; }
.loc { display: flex; align-items: center; gap: 12px; text-transform: uppercase; }
.loc i { width: 29px; height: 3px; background: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1 { margin: 23px 0 22px -.055em; font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "MS PMincho", serif; font-size: clamp(5.5rem, 7.2vw, 7.7rem); line-height: 1.07; letter-spacing: -.075em; font-weight: 600; }
.period { color: #b92e21; }
.hero p { font-size: 1rem; line-height: 1.95; font-weight: 500; letter-spacing: .018em; }
.cta { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 25px; padding: 10px 30px; background: var(--ink); color: white; font-size: .94rem; letter-spacing: .045em; text-decoration: none; font-weight: 650; border-radius: 2px; }
.cta:hover { background: var(--accent); }
.hero-art { position: relative; min-width: 0; background: #e1dace; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 52% 50%; }
.section { padding-block: clamp(68px, 6.4vw, 102px); scroll-margin-block-start: 24px; }
.business { border-top: 0; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.eyebrow { text-transform: uppercase; color: var(--accent); margin-bottom: 11px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 2px; background: currentColor; }
h2 { font-size: clamp(2.1rem, 3vw, 3.3rem); line-height: 1.3; font-weight: 710; letter-spacing: -.045em; }
.section-intro p, .scope-intro p, .service p { font-size: 1rem; line-height: 1.95; }
.section-intro p { color: #474641; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.1vw, 36px); }
.service { min-width: 0; }
.service img { width: 100%; height: auto; aspect-ratio: 820 / 490; object-fit: cover; background: #e6e2da; }
.service-body { padding: 22px 0 2px; }
.service-en { font-weight: 500; color: #8f3329; letter-spacing: .035em; }
h3 { margin: 7px 0 11px; font-size: clamp(1.18rem, 1.6vw, 1.65rem); letter-spacing: -.035em; line-height: 1.5; }
.service p { color: #494742; }
.scope { background: #eeece6; border-block: 1px solid #dad6cd; }
.scope-layout, .company-layout { display: grid; grid-template-columns: 35% 1fr; gap: 8%; align-items: start; }
.scope-intro p { max-width: 31ch; margin-top: 21px; color: #4b4842; }
.groups { border-top: 1px solid #a29c92; }
.groups details { border-bottom: 1px solid #bcb7ac; }
.groups summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font-size: clamp(1.05rem, 1.55vw, 1.38rem); font-weight: 650; letter-spacing: -.02em; }
.groups summary::-webkit-details-marker { display: none; }
.groups summary::before, .groups summary::after { content: ""; width: 16px; height: 1.5px; background: var(--accent); position: absolute; right: 5px; top: 50%; }
.groups summary::after { transform: rotate(90deg); }
.groups details[open] summary::after { transform: rotate(0deg); }
.groups summary:hover { color: var(--accent); }
.groups ul { margin: -2px 0 22px; padding-left: 1.35em; color: #44423d; }
.groups li { margin-block: 6px; line-height: 1.8; }
.groups li::marker { color: var(--accent); }
.company { background: #222320; color: #faf9f6; }
.company .eyebrow { color: #f18c78; }
.facts { margin: 0; border-top: 1px solid #686961; }
.facts > div { display: grid; grid-template-columns: 29% 1fr; padding: 16px 0; border-bottom: 1px solid #51524d; gap: 12px; line-height: 1.8; }
.facts dt { color: #d4d3cb; }
.facts dd { margin: 0; font-weight: 550; }
.public-record { color: #dfdcd1; font-size: .88rem; text-underline-offset: 4px; font-weight: 400; }
.footer { padding-block: 27px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer .brand { font-size: 1.03rem; }
.footer .mark { width: 28px; height: 27px; }
.footer small { color: #55514b; font: .79rem var(--mono); letter-spacing: .06em; }
@media (min-width: 741px) and (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 35px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 46% 54%; }
  .hero-text { padding-inline: var(--edge) 18px; }
  h1 { font-size: clamp(4.95rem, 8.5vw, 6.5rem); }
  .hero p { letter-spacing: 0; }
  .scope-layout, .company-layout { grid-template-columns: 34% 1fr; gap: 7%; }
}
@media (max-width: 740px) {
  .mast-inner { min-height: 66px; gap: 10px; }
  .brand { font-size: 1.04rem; gap: 7px; }
  .mark { width: 29px; height: 28px; }
  nav { gap: 17px; }
  nav a { font-size: .875rem; }
  nav .profile-nav { padding: 5px 10px; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-text { padding: 38px var(--edge) 32px; }
  h1 { font-size: clamp(2.1rem, 10.1vw, 4.65rem); letter-spacing: -.08em; line-height: 1.22; margin: 12px 0 15px -.055em; }
  h1 br { display: none; }
  .hero p { line-height: 1.85; }
  .cta { min-height: 44px; margin-top: 20px; }
  .hero-art { aspect-ratio: 2.1; }
  .section { padding-block: 52px; }
  .section-intro { display: block; margin-bottom: 24px; }
  .section-intro p { margin-top: 14px; }
  .desktop-br { display: none; }
  .cards { grid-template-columns: 1fr; gap: 36px; }
  .service img { max-height: 320px; }
  .service-body { padding-top: 14px; }
  h3 { font-size: 1.4rem; margin: 4px 0 7px; }
  .scope-layout, .company-layout { grid-template-columns: 1fr; gap: 25px; }
  .scope-intro p { max-width: 45ch; margin-top: 12px; }
  .scope-intro h2 br { display: none; }
  .facts > div { grid-template-columns: 27% 1fr; gap: 8px; }
}
@media (max-width: 440px) {
  :root { --edge: 19px; }
  .mast-inner { min-height: 62px; }
  .brand { font-size: .99rem; }
  .mark { width: 24px; height: 24px; }
  nav { gap: 11px; }
  nav .profile-nav { border: 0; padding-inline: 0; }
  .hero-art { aspect-ratio: 1.75; }
  .section { padding-block: 43px; }
}
@media (max-width: 365px) {
  .mast-inner { align-items: flex-start; flex-direction: column; padding-block: 12px 4px; gap: 2px; }
  nav { gap: 23px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
