figure { margin: 0; }
.intro { display: grid; grid-template-columns: 1fr 48vw; align-items: center; background: var(--white); padding: 112px 0; }
.intro-copy { padding-left: max(40px, calc((100vw - 1120px) / 2)); padding-right: 64px; }
.intro-copy h2 { margin-bottom: 24px; }
.intro-copy p { max-width: 34em; }
.intro-photo { height: 64vh; min-height: 360px; overflow: hidden; }
.intro-photo img, .bleed img, .wide-photo img, .page-hero img, .work-photo img, .biz-photo img { width: 100%; height: 100%; object-fit: cover; }
.section { padding: 112px 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-head h2 { margin-bottom: 24px; }
.section-head + .work { margin-top: 64px; }
.work { display: grid; grid-template-columns: 58fr 42fr; gap: 40px; align-items: center; color: inherit; text-decoration: none; }
.work + .work { margin-top: 96px; }
.work.is-flip { grid-template-columns: 42fr 58fr; }
.work.is-flip .work-photo { order: 2; }
.work:hover { color: inherit; }
.work-photo { aspect-ratio: 3 / 2; min-height: 360px; overflow: hidden; }
.work-photo img { transition: transform 0.6s var(--ease); }
.work:hover .work-photo img { transform: scale(1.04); }
.num { margin: 0; font-family: var(--en); font-weight: 500; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; color: var(--accent); }
.work h3 { margin-top: 16px; font-size: clamp(1.7rem, 2.2vw, 2.15rem); }
.work-body .desc { margin-top: 16px; max-width: 34em; }
.more { display: inline-block; margin-top: 24px; }
.work:hover .more { color: var(--accent); }
.bleed { height: 64vh; min-height: 360px; overflow: hidden; }
.company-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: end; }
.company-grid h2 { margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.facts div { border-top: 1px solid var(--line); padding-top: 16px; }
.facts span { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; line-height: 1.6; }
.facts strong { display: block; margin-top: 8px; font-weight: 400; font-size: 1.05rem; line-height: 1.5; }
.band { background: var(--band); color: var(--on-band); padding: 96px 0; }
.band h2 { max-width: 16em; color: var(--on-band); margin-bottom: 40px; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-address { margin-top: 24px; }
.footer-bottom { margin-top: 64px; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; line-height: 1.6; }
.site-footer::after {
  content: "© 2026 合同会社Ｔｒｉａｎｇｌｅ";
  display: block;
  width: min(1120px, calc(100% - 80px));
  margin: 64px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.page-hero { position: relative; height: 42vh; min-height: 280px; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(45deg, rgba(21, 33, 28, 0.45) 0%, rgba(21, 33, 28, 0) 40%); }
.page-hero-copy { position: relative; z-index: 1; width: min(1120px, calc(100% - 80px)); margin-inline: auto; padding-bottom: 40px; color: var(--white); }
.page-hero .kicker, .page-hero h1 { color: var(--white); }
.page-hero h1 { font-size: clamp(1.7rem, 2.2vw, 2.15rem); }
.wide-photo { height: 56vh; min-height: 320px; overflow: hidden; }
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; }
.methods h3 { margin-top: 16px; font-size: 1.25rem; }
.methods p { margin-top: 16px; }
.biz { display: grid; grid-template-columns: 58fr 42fr; gap: 64px; align-items: center; }
.biz + .biz { margin-top: 96px; }
.biz-photo { aspect-ratio: 3 / 2; min-height: 280px; overflow: hidden; }
.biz h2 { margin-top: 16px; }
.biz .desc { margin-top: 24px; max-width: 34em; }
.purposes { max-width: 720px; }
.purposes h2 { font-family: var(--sans); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 24px; }
.purposes ol { margin: 0; padding: 0; list-style: none; font-size: 0.92rem; line-height: 1.8; color: var(--muted); }
.purposes li { display: grid; grid-template-columns: 2.5em 1fr; gap: 16px; padding: 8px 0; }
.sheet { max-width: 720px; margin: 0; }
.sheet div { display: grid; grid-template-columns: 8em 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sheet dt { color: var(--muted); }
.sheet dd { margin: 0; }
.map { margin-top: 64px; height: 42vh; min-height: 280px; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-link { margin-top: 16px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.contact-layout h2 { margin-bottom: 24px; font-size: 1.25rem; }
.contact-layout address { margin-top: 40px; }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.82rem; letter-spacing: 0.04em; line-height: 1.6; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--white); padding: 0 16px; }
.field input { height: 48px; }
.field textarea { min-height: 128px; padding: 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field-error { margin: 8px 0 0; color: var(--accent); font-size: 0.82rem; line-height: 1.6; }
.form-note { margin-top: 16px; font-size: 0.82rem; line-height: 1.6; max-width: 34em; }
.missing { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 160px 20px 96px; }
.missing h1 { font-size: clamp(1.7rem, 2.2vw, 2.15rem); }
.missing p { margin: 24px auto 40px; max-width: 28em; }
@media (max-width: 959px) {
  .frame, .header-inner, .page-hero-copy { width: min(1120px, calc(100% - 40px)); }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0; background: var(--paper);
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 24px; padding: 96px 20px 40px; opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav-check:checked ~ .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: clamp(1.7rem, 2.2vw, 2.15rem); line-height: 1.35; letter-spacing: 0.04em; }
  .nav-contact { height: auto; padding: 0; border: 0; font-size: inherit; letter-spacing: 0.04em; background: transparent; color: inherit; }
  .nav-contact:hover, .nav-contact[aria-current="page"] { background: transparent; border: 0; color: var(--accent); }
  .hero { min-height: 88svh; }
  .hero-copy { width: calc(100% - 40px); margin: 0 20px 40px; }
  .intro { grid-template-columns: 1fr; padding: 72px 0; gap: 40px; }
  .intro-photo { order: -1; width: 100%; height: 62svh; }
  .intro-copy { padding: 0 20px; }
  .section { padding: 72px 0; }
  .work, .work.is-flip, .biz, .company-grid, .contact-layout, .methods, .footer-grid, .facts { grid-template-columns: 1fr; }
  .work.is-flip .work-photo { order: 0; }
  .work + .work, .biz + .biz { margin-top: 64px; }
  .work-photo, .biz-photo { min-height: 0; }
  .sheet div { gap: 16px; }
}
