:root {
  --blue: #006d94;
  --ink: #1d2e38;
  --muted: #53636d;
  --line: #dbe2e5;
  --pale: #f3f6f7;
  --serif: 'Noto Serif CJK JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --body-size: clamp(15px, 1.25vw, 16px);
  --section-title: clamp(26px, 3.2vw, 38px);
  --page-title: clamp(34px, 4.5vw, 54px);
  --content-width: 70rem;
  --gutter: clamp(20px, 4vw, 48px);
  --page-inset: max(var(--gutter), calc((100% - var(--content-width)) / 2));
  --section-space: clamp(48px, 7vw, 84px);
  --header-height: 82px;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 10px) }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Noto Sans CJK JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  line-height: 1.8;
  line-break: strict;
}
a { color: inherit; text-decoration: none }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #c76d16; outline-offset: 5px }
.skip { position: absolute; left: -999px }
.skip:focus { left: 12px; top: 10px; z-index: 99; padding: 10px; background: white }

header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: var(--page-inset);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: clamp(19px, 1.8vw, 23px); font-weight: 750; line-height: 1.4; letter-spacing: .04em }
.brand small { display: block; color: var(--blue) }
header #nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: 14px; line-height: 1.5; font-weight: 700 }
header #nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap }
header #nav .menu-work-contact { display: none }
header #nav a:not(.nav-contact):is(:hover, [aria-current="page"]) { color: var(--blue); text-decoration: underline; text-underline-offset: .4em }
.nav-contact { gap: 12px; padding: 12px 17px; color: #fff; background: var(--blue); border-radius: 4px }
.nav-contact:hover { background: #005573 }
.menu, .header-shortcuts { display: none }
@media (max-width: 960px) {
  :root { --header-height: 70px }
  .menu { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 9px; min-height: 44px; padding: 6px 0 6px 8px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 650; white-space: nowrap; cursor: pointer }
  .menu span { font-size: 19px; line-height: 1 }
  .menu-enabled header { display: grid; grid-template-columns: minmax(0,1fr) auto auto; grid-template-areas: "brand shortcuts menu" }
  .menu-enabled header > .brand { grid-area: brand; justify-self: start }
  .menu-enabled header > .menu { grid-area: menu; justify-self: end }
  .menu-enabled .header-shortcuts { grid-area: shortcuts; display: flex; gap: 5px }
  .header-shortcuts a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 5px 15px; border: 1px solid var(--blue); border-radius: 4px; color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1.4 }
  .header-shortcuts a.shortcut-primary { color: white; background: var(--blue) }
  .header-shortcuts a:hover { text-decoration: underline; text-underline-offset: .2em }
  header #nav { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 8px var(--page-inset) 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px #16374612 }
  header #nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0 }
  header #nav a { min-height: 46px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px }
  header #nav .menu-work-contact { display: inline-flex }
  header #nav .nav-contact { justify-content: space-between; margin-top: 10px; padding: 12px 16px; border: 0 }
  html:not(.menu-enabled) header { position: relative; height: auto; flex-wrap: wrap; gap: 8px; padding-block: 12px }
  html:not(.menu-enabled) header #nav { display: flex; flex-wrap: wrap; position: static; max-height: none; align-items: center; gap: 2px 16px; padding: 0; border: 0; box-shadow: none }
  html:not(.menu-enabled) header #nav a { margin: 0 }
}
@media (max-width: 700px) {
}
@media (max-width: 600px) {
  :root { --header-height: 56px }
  .menu-enabled header { grid-template-columns: 1fr auto; grid-template-areas: "brand menu"; gap: 8px }
  .menu-enabled .header-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px var(--page-inset) 8px; border-bottom: 1px solid var(--line); background: #fff }
  .menu-enabled header:has(#nav.open) + .header-shortcuts { visibility: hidden }
  .header-shortcuts a { min-height: 44px; padding: 4px 8px; font-size: 14px }
}
@media (max-width: 480px) {
  header { gap: 10px }
  .brand { font-size: 17px; gap: 8px }
}

.hero {
  --hero-inset: max(var(--gutter), calc((100vw - var(--content-width)) / 2));
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(485px, 70svh, 620px);
  margin-right: clamp(12px, 2.5vw, 32px);
  padding-block: clamp(44px, 7vh, 76px) 84px;
  overflow: hidden;
  border-bottom-right-radius: clamp(26px, 3.6vw, 44px);
  background: #233c45;
}
.hero-img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 47% }
@media (min-width: 701px) {
  .hero-img:first-child { object-position: center 30% }
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #061923e6 0%, #061923c2 43%, #06192370 70%, #06192332 100%) }
.hero-copy { position: relative; z-index: 1; min-width: 0; padding-inline: var(--hero-inset) var(--gutter); color: #fff }
.hero h1 { margin: 0 0 clamp(14px, 2.2vw, 25px); font: 600 clamp(36px, 4.8vw, 64px)/1.38 var(--serif); letter-spacing: .075em }
.hero-copy > p { margin: 0; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.9; letter-spacing: .02em }
.hero-copy > p span { display: inline-block }
.hero-link { display: inline-flex; align-items: center; justify-content: space-between; gap: clamp(32px, 4vw, 58px); min-height: 44px; margin-top: clamp(16px, 2.5vw, 30px); padding: 8px 0; border-bottom: 1px solid #ffffff99; font-size: 15px; font-weight: 650 }
.hero-link span { font-size: 20px; line-height: 1 }
.eyebrow { margin: 0 0 12px; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .16em; color: var(--blue) }
.eyebrow.light { color: #d4ecf2 }
@media (max-width: 700px) {
  .hero { min-height: clamp(375px, 62svh, 520px); padding-block: 36px 78px }
  .hero h1 { font-size: clamp(28px, 8.1vw, 40px); line-height: 1.45; letter-spacing: .045em }
  .hero-img { object-position: 56% center }
  .hero-img:first-child { object-position: 54% 38% }
  .hero-img-yogai { object-position: 42% center }
  .hero-shade { background: linear-gradient(90deg, #071e2adb, #071e2abc 65%, #071e2aab) }
}
.recruit-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px 30px; margin-inline: var(--page-inset); padding-block: clamp(20px, 3vw, 34px); border-top: 1px solid var(--line) }
.recruit-strip h2 { font-family: inherit; font-size: 19px; color: var(--ink) }
.recruit-strip p { margin: 4px 0 0; font-size: var(--body-size); color: var(--muted) }
.recruit-strip a { flex-shrink: 0 }
@media (max-width: 700px) {
  .recruit-strip { flex-direction: column; align-items: flex-start; gap: 12px }
}

.section { max-width: calc(var(--content-width) + var(--gutter) + var(--gutter)); margin-inline: auto; padding: var(--section-space) var(--gutter) }
h2 { margin: 0; font: 600 var(--section-title)/1.5 var(--serif); letter-spacing: .045em }
h3 { margin: 0 }
.about-main, .heading-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); column-gap: clamp(28px, 5vw, 72px) }
.heading-row { align-items: end; margin-bottom: clamp(24px, 3.4vw, 40px) }
.works .heading-row { grid-template-columns: 1fr }
.about-body p, .section-desc, .business article > p { margin: 0; font-size: var(--body-size); line-height: 1.9 }
.about-body p + p { margin-top: 1em }
.about-body { max-width: 40em }
details { border-top: 1px solid var(--line); margin-top: 22px }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding-block: 14px; font-size: 15px; font-weight: 700; list-style: none; cursor: pointer }
summary::-webkit-details-marker { display: none }
summary span { color: var(--blue); font-size: 18px }
details[open] summary span { transform: rotate(45deg) }
dl { margin: 0; font-size: 15px }
dl > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-block: 13px }
dt { color: var(--muted) }
dd { min-width: 0; margin: 0 }
.business { max-width: none; padding-inline: var(--page-inset); background: var(--pale) }
.section-desc, .business article > p { color: var(--muted) }
.business article > p, .business .section-desc { text-wrap: balance }
.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px) }
.business article { min-width: 0; background: #fff; padding: clamp(20px, 2.3vw, 30px) }
.num { color: var(--blue); font-size: 13px; font-weight: 650; letter-spacing: .08em }
.business h3 { margin: 14px 0 8px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; line-height: 1.5; letter-spacing: .02em }
figure { margin: 0 }
figure img { width: 100%; height: 375px; object-fit: cover }
figcaption { margin-top: 8px; color: var(--muted); font-size: 13px }
.contact { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: clamp(28px, 5vw, 72px); padding: var(--section-space) var(--page-inset); background: #086c8e; color: white }
.contact h2 { font-size: var(--section-title) }
.access { padding-bottom: clamp(40px, 5vw, 64px) }
.access h2 { word-break: keep-all; overflow-wrap: break-word }
.address { justify-self: end }
.address strong { font-size: 17px }
.address p { margin: 4px 0 0; font-size: 15px; color: var(--muted) }
@media (min-width: 801px) {
  .access .heading-row { grid-template-columns: minmax(0, 1fr) fit-content(45%) }
}
.map-note { color: var(--muted); margin-top: 12px }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 32px var(--page-inset); border-top: 1px solid var(--line) }
footer .brand { font-size: 19px }
footer > div { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2.2vw, 28px); margin-left: auto; font-size: 14px }
footer > div a { display: inline-flex; min-height: 44px; align-items: center }
footer > div a:hover { color: var(--blue); text-decoration: underline }
footer > small { width: 100%; color: var(--muted); font-size: 11px; text-align: right }
@media (max-width: 900px) {
  .business-grid { grid-template-columns: 1fr }
}
@media (max-width: 800px) {
  .contact { grid-template-columns: 1fr; gap: 30px }
  .about-main, .heading-row { grid-template-columns: 1fr; row-gap: 18px }
  .address { justify-self: start }
}
@media (max-width: 700px) {
  .about-body br { display: none }
  .about-body { max-width: none }
  dl > div { grid-template-columns: 5.4em minmax(0, 1fr); gap: 12px }
  footer { flex-direction: column; align-items: flex-start; gap: 8px }
  footer > div { margin-left: 0 }
  footer > small { text-align: left; margin-top: 4px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }

.brand-mark{display:flex;gap:4px;align-items:center;height:34px}
.brand-mark i{display:block;width:7px;background:var(--blue);height:25px;transform:skewY(-24deg)}
.brand-mark i:nth-child(2){height:37px}
.brand-mark i:nth-child(3){height:19px;background:#72b4c2}
.works-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:55px;align-items:start}
.work-list article{padding:22px 0 25px;border-top:1px solid var(--line)}
.work-list article:last-child{border-bottom:1px solid var(--line)}
.work-list p{color:var(--blue);font-size:10px;letter-spacing:.1em;margin:0 0 9px}
.work-list h3{font-size:18px;font-weight:650;line-height:1.7}
.work-list span{font-size:10px;color:var(--muted)}
.map-placeholder{position:relative;height:340px;background:#e9efed;overflow:hidden;border:1px solid #d9e3e0;display:grid;place-items:center}
.map-grid{position:absolute;inset:-100px;background:repeating-linear-gradient(0deg,transparent 0 65px,#fff9 65px 77px,transparent 77px 120px),repeating-linear-gradient(90deg,transparent 0 100px,#fff9 100px 113px,transparent 113px 200px);transform:rotate(-18deg);opacity:.65}
.map-label{position:relative;padding:25px 32px;background:#fffffff0;text-align:center;max-width:90%;border:1px solid #dce5e1}
.pin{font-size:22px;color:var(--blue)}
.map-label h3{font-size:18px;margin:6px 0}
.map-label p{font-size:12px;margin:6px 0}
.map-label>span:last-child{font-size:10px;color:var(--muted)}
@media (max-width: 1000px) { .works-layout { gap: 30px } }
@media (max-width: 700px) {
  .brand-mark { transform: scale(.8); transform-origin: left; width: 27px }
  .works-layout { grid-template-columns: 1fr; gap: 30px }
  .work-list article { padding: 20px 0 }
  .work-list h3 { font-size: 17px }
  .map-placeholder { height: 310px }
  .map-label { padding: 22px 18px }
  .map-label h3 { font-size: 16px }
  .map-label p { font-size: 11px }
}

.menu[hidden]{display:none !important}
:focus-visible{outline:3px solid #a64d00;outline-offset:4px}
.hero :focus-visible,.contact :focus-visible{outline-color:#ffd077}

.contact-info {
  min-width: 0;
}
.contact-info h2 {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.contact-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(14px, 1.8vw, 24px);
  margin-top: 18px;
}
.contact-mascot { width: clamp(76px, 8vw, 100px); flex: none }
.recruit-contact .contact-mascot { width: clamp(100px, 10vw, 128px) }
.welcome-copy { flex: 1 1 16em; min-width: 0 }
.welcome-copy p {
  margin: 0;
  color: #f0f8fa;
  font-size: var(--body-size);
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.welcome-copy p + p { margin-top: .45em }
@media (max-width: 600px) {
  .contact-welcome { flex-direction: column; align-items: flex-start }
  .welcome-copy { flex: none; width: 100% }
}
.contact-mascot img {
  display: block;
  width: 100%;
  height: auto;
}
.contact-mascot-greeting {
  display: grid;
  align-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 2%;
  border-radius: 50%;
  background: #fff;
}
.contact-mascot-greeting img {
  /* 原画は幅512px。上端から378pxに絵が収まり、その下にポーズ名がある。 */
  aspect-ratio: 512 / 378;
  object-fit: cover;
  object-position: top;
}
.contact-mascot figcaption {
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
}
.contact-methods {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  font-style: normal;
}
.contact-methods > div {
  display: grid;
  justify-items: start;
  border-top: 1px solid #ffffff59;
  padding-top: 16px;
}
.contact-label, .contact-hours {
  font-size: 13px;
}
.contact-label {
  font-weight: 700;
}
.contact-methods a {
  display: block;
  max-width: 100%;
  min-height: 44px;
  padding-block: 6px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.contact-phone {
  font-size: clamp(24px, 2.6vw, 34px);
  font-variant-numeric: tabular-nums;
}
.contact-email {
  font-size: clamp(16px, 1.6vw, 20px);
}
.contact-form {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 6px;
  color: var(--ink);
  background: white;
}
.contact-form[hidden], .contact [hidden] {
  display: none;
}
.contact-form h3 {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.5;
}
.contact-form p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.contact-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.contact-field label {
  font-size: 14px;
  font-weight: 700;
}
.contact-field input, .contact-field textarea, .contact-field select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #85959b;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.contact-field textarea {
  resize: vertical;
}
.contact-submit {
  justify-self: start;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.contact .copy-address, .contact .copy-draft {
  justify-self: start;
  min-height: 44px;
  padding: 4px 0;
  background: transparent;
  color: inherit;
  border: 0;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
.contact .copy-draft { color: var(--blue); font-weight: 650 }
.contact .copy-status { margin: 0; font-size: 14px; line-height: 1.55 }
.contact .copy-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.contact-form .field-example { margin: 0; color: var(--muted); font-size: 14px }
.copy-manual { width: 100%; padding: 8px; color: var(--ink); font: inherit; font-size: 16px }
.clipboard-buffer { position: fixed; left: -10000px; top: 0 }
.contact-submit:hover {
  background: #005573;
}
.contact-form :focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.careers{border-block-start:1px solid #d9dee3}.careers-link{display:inline-flex;align-items:center;gap:.65em;min-height:44px;text-decoration:underline;text-underline-offset:.25em;font-weight:700}

/* 現場写真: 既存の施工実績欄とは別に表示 */
.site-gallery{margin-top:60px;padding-top:35px;border-top:1px solid var(--line)}
.site-gallery-heading{margin-bottom:24px}
.site-gallery-heading .eyebrow{margin-bottom:6px}
.site-gallery h3{font-family:'Noto Serif CJK JP','Yu Mincho',serif;font-size:25px;font-weight:600;letter-spacing:.08em}
.site-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 22px}
.site-gallery-grid figure{min-width:0}
.site-gallery-grid img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:var(--pale)}
.site-gallery-grid figcaption{margin-top:8px;font-size:12px;line-height:1.65}
@media(max-width:700px){.site-gallery{margin-top:42px;padding-top:26px}.site-gallery-heading{margin-bottom:18px}.site-gallery h3{font-size:21px}.site-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.site-gallery-grid figcaption{font-size:11px}}
@media(max-width:359px){.site-gallery-grid{grid-template-columns:1fr}}

/* 会社の HK マーク（ヘッダー・フッター） */
header .brand-logo, footer .brand-logo { display: block; width: 42px; height: auto; flex: none }
@media (max-width: 700px) { header .brand-logo, footer .brand-logo { width: 34px } }

.business .section-desc { max-width: 40em }
.business .section-desc span, .business-map figcaption span { display: inline-block }
.business-map { margin: clamp(24px, 4vw, 44px) 0 0 }
.business-map figcaption { margin: 0 0 12px; color: var(--ink); font-size: var(--body-size); line-height: 1.8; text-wrap: balance }
.business-map-link { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--blue); cursor: zoom-in }
.business-map-link img { display: block; width: 100%; height: auto }
.business-map-enlarge { display: block; padding: 6px 14px; text-align: right; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: .2em }
.business-map-link:hover .business-map-enlarge { background: var(--pale) }
.business-illustration { display: block; width: 100%; max-width: 28rem; height: auto; aspect-ratio: 3 / 2; object-fit: contain; margin: 6px auto 0 }
.business h3 span { display: inline-block }

@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    .business-grid { row-gap: 0 }
    .business-grid > article { display: grid; grid-row: span 4; grid-template-rows: subgrid }
  }
}
@media (min-width: 560px) and (max-width: 900px) {
  .business-grid > article {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-areas: "illustration number" "illustration title" "illustration description";
    align-content: center;
    column-gap: clamp(20px, 4vw, 36px);
  }
  .business-illustration { grid-area: illustration; align-self: center; margin: 0 }
  .business .num { grid-area: number; align-self: end }
  .business h3 { grid-area: title; align-self: center; margin: 4px 0 6px }
  .business article > p { grid-area: description }
}

.hero-photos { position: absolute; inset: 0; z-index: 0 }
.hero-photos .hero-img { inset: 0; opacity: 0 }
.hero-img.is-current { z-index: 1; opacity: 1 }
.hero-img.is-previous { opacity: 1 }
@keyframes hero-photo-fade-in {
  from { opacity: 0 }
  to { opacity: 1 }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photos.has-advanced .is-current { animation: hero-photo-fade-in 1.5s ease-in-out }
}
.hero-photo-tools { position: absolute; z-index: 1; bottom: 12px; left: var(--hero-inset); display: flex }
.hero-playback { min-height: 44px; min-width: 8.2em; padding: 5px 12px; border: 1px solid #ffffff85; border-radius: 4px; background: #102a38c9; color: #fff; font: inherit; font-size: 12px; cursor: pointer }
.hero-playback:hover { background: #102a38 }

/* Shared header/footer year, aligned to the company name rather than the container. */
.brand-wordmark{display:inline-flex;flex-direction:column;align-items:stretch}
.brand .brand-since{font-size:13px;line-height:1.4;letter-spacing:.08em;text-align:right}
@media(max-width:700px){.brand .brand-since{font-size:11px}}

/* Responsive embedded map */
.access-map{border:1px solid var(--line);border-radius:14px;background:var(--pale);padding:22px}
.access-map-panel{margin-bottom:16px}
.access-map-panel iframe{display:block;width:100%;height:clamp(280px,40vw,390px);border:0;border-radius:7px}
.access-map .map-note{margin-bottom:0;font-size:13px}
@media(max-width:480px){.access-map{padding:14px}}

.parking-guide {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(28px, 4vw, 48px);
}
.parking-guide h3 { font: 600 clamp(21px, 2.3vw, 28px)/1.55 var(--serif) }
.parking-guide p { margin: 8px 0 0; color: var(--muted); font-size: var(--body-size) }
.parking-guide img { display: block; width: 100%; height: auto; border-radius: 8px }
.parking-guide .parking-contact { margin-top: 16px }
.parking-contact a, .about-body dd a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: .2em }
.parking-spots { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none }
.parking-spots li { display: flex; align-items: baseline; gap: .65em; font-size: var(--body-size); font-weight: 600 }
.parking-spots span {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.7em;
  height: 1.7em;
  line-height: 1;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  text-align: center;
  font-weight: 700;
}
@media (max-width: 700px) {
  .parking-guide { grid-template-columns: 1fr; gap: 16px }
}

/* Featured work cards and the legacy project archive. */
.featured-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.featured-works figure{min-width:0}
.featured-works img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:var(--pale)}
.featured-works figcaption{margin-top:13px;color:var(--ink);font-size:16px;font-weight:700;line-height:1.75;word-break:keep-all;overflow-wrap:break-word}
.works-actions{margin-top:30px}
.works-link{display:inline-flex;min-height:44px;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;border:1px solid var(--blue);color:var(--blue);font-size:15px;line-height:1.55;font-weight:700;border-radius:4px}
.works-link:hover{background:var(--pale)}
.work-photo, .parking-photo { position: relative; display: block; cursor: zoom-in }
.work-dialog {
  --photo-ratio: calc(4 / 3);
  --photo-max-height: calc(100vh - 7.5rem);
  width: min(68rem, calc(100% - 24px));
  max-width: calc(100% - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  overscroll-behavior: contain;
}
@supports (height: 100dvh) {
  .work-dialog { --photo-max-height: calc(100dvh - 7.5rem); width: min(68rem, calc(100% - 24px), calc(133.33dvh - 8rem)) }
}
.work-dialog:not([open]) { display: none }
.work-dialog::backdrop { background: rgb(7 23 33 / .82) }
html:has(.work-dialog[open]) { overflow: hidden; scrollbar-gutter: stable }
.work-dialog-inner { display: flex; flex-direction: column; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: clamp(10px, 2vmin, 18px) }
.work-dialog-heading { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px }
.work-dialog-heading h3 { font-size: clamp(16px, 2vw, 21px); line-height: 1.5 }
.work-dialog-actions { display: flex; flex: none; gap: 8px }
.work-dialog-close, .work-dialog-zoom { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 44px; padding: 5px 12px; border: 1px solid var(--blue); border-radius: 4px; background: #fff; color: var(--blue); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer }
.work-dialog-close span { font-size: 20px; line-height: 1 }
.work-dialog-close:hover, .work-dialog-zoom:hover { background: var(--pale) }
.photo-pan-hint { flex: none; margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.55 }
.photo-viewport { align-self: center; width: min(100%, calc(var(--photo-max-height) * var(--photo-ratio))); min-height: 0; overflow: auto; overscroll-behavior: contain }
.photo-viewport.is-zoomed { aspect-ratio: var(--photo-ratio); max-height: var(--photo-max-height) }
.photo-viewport.is-zoomed .enlarged-photo { width: 200%; max-width: none; max-height: none }
.work-dialog.is-map { --photo-ratio: 1.5; width: min(78rem, calc(100% - 24px)) }
.work-dialog.is-map .photo-viewport.is-zoomed { width: 100%; height: var(--photo-max-height); aspect-ratio: auto }
.work-dialog.is-map .photo-viewport.is-zoomed .enlarged-photo { width: auto }
.photo-viewport:focus-visible { outline: 3px solid #c76d16; outline-offset: -3px }
@media (max-width: 540px) {
  .work-dialog.is-work-photo { width: calc(100% - 12px); max-width: calc(100% - 12px) }
  .work-dialog.is-work-photo .work-dialog-inner { padding: 8px }
  .work-dialog.is-work-photo .photo-viewport.is-zoomed { aspect-ratio: 1 }
}
@media (max-width: 440px) {
  .work-dialog-heading { flex-direction: column; align-items: flex-start; gap: 6px }
}
.enlarged-photo { display: block; width: 100%; height: auto; max-height: var(--photo-max-height); object-fit: contain; background: var(--pale) }
.photo-zoom { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 3px; background: #122d39e6; color: white; font-size: 12px; font-weight: 600 }
.archive-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-top: 22px; border-top: 1px solid var(--line) }
:is(.archive-actions, .works-photo-links) .action-primary { background: var(--blue); color: white }
:is(.archive-actions, .works-photo-links) .action-primary:hover { background: #005573 }
.archive-actions .back-to-photos, .archive-header p a { color: var(--blue); text-decoration: underline; text-underline-offset: .22em }
.archive-actions .back-to-photos { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px }
.works-archive { padding-top: clamp(24px, 3.4vw, 42px) }
.works-archive [hidden] { display: none !important }
.archive-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(18px, 2.4vw, 30px); font-size: 13px; color: var(--muted); font-weight: 500 }
.archive-breadcrumb > a { display: inline-flex; align-items: center; min-height: 36px }
.archive-breadcrumb a, .archive-text-button { text-decoration: underline; text-underline-offset: .25em }
.archive-header { margin-bottom: 28px }
.archive-header h1, .recruit-intro h1 { margin: 0; font: 600 var(--page-title)/1.4 var(--serif); letter-spacing: .04em }
.archive-header p:not(.eyebrow) { max-width: 55em; margin: 12px 0 0; font-size: var(--body-size); line-height: 1.85; color: var(--muted); text-wrap: pretty }
.archive-header p + p:not(.eyebrow) { margin-top: 6px }
.archive-search { padding: 16px 20px 18px; background: var(--pale); border-top: 2px solid var(--blue) }
.archive-search > label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700 }
.archive-search-field { display: flex; align-items: center; gap: 12px }
.archive-search-field input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid #899ba3; border-radius: 4px; background: white; color: var(--ink); padding: 8px 12px; font: inherit; font-size: 16px; line-height: 1.4 }
.work-types { min-width: 0; margin: 16px 0 0; padding: 0; border: 0 }
.work-types legend { padding: 0; margin-bottom: 5px; color: var(--ink); font-size: 15px; font-weight: 700 }
.work-type-options { display: flex; flex-wrap: wrap; gap: 6px 8px }
.work-type-options label { position: relative; display: inline-flex; cursor: pointer }
.work-type-options input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; margin: 0 }
.work-type-options span { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 12px; border: 1px solid #788d98; border-radius: 4px; background: white; color: var(--ink); font-size: 14px; line-height: 1.4 }
.work-type-options input:checked + span { background: var(--blue); border-color: var(--blue); color: white; font-weight: 700 }
.work-type-options input:focus-visible + span { outline: 3px solid #a64d00; outline-offset: 2px }
.work-type-options label:hover span { border-color: var(--blue); text-decoration: underline; text-underline-offset: .2em }
.archive-text-button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-size: 14px; cursor: pointer }
.archive-text-button:hover { text-decoration-thickness: 2px }
.archive-tabs { display: flex; padding-top: 8px; border-bottom: 1px solid var(--line); background: #fff }
.archive-tabs button { min-width: 7.5rem; min-height: 46px; padding: 7px 14px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer }
.archive-tabs button:hover { background: var(--pale); color: var(--blue) }
.archive-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: currentColor; background: #edf5f8 }
.archive-tabs button:focus-visible { outline-offset: -4px }
.archive-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; min-height: 58px; margin: 6px 0 }
.archive-tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px }
.archive-results { margin: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums }
.archive-year { margin: 0; border-top: 1px solid var(--line) }
.archive-year > summary { align-items: center; gap: 12px; min-height: 48px; padding: 13px 0; color: var(--blue) }
.archive-year > summary::after { content: ''; width: 9px; height: 9px; margin-right: 6px; flex: none; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) }
.archive-year[open] > summary::after { transform: rotate(225deg) }
.archive-year summary h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.5 }
.archive-year summary small { font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--muted); letter-spacing: 0 }
.archive-list { list-style: none; padding: 0; margin: 0 0 20px }
.archive-list li { display: grid; grid-template-columns: minmax(12rem,22%) minmax(0,1fr); align-items: baseline; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line) }
.archive-list li.is-linked-project { padding-inline: 14px; background: #edf5f8; box-shadow: inset 3px 0 var(--blue) }
.archive-list li.is-linked-project:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px }
.archive-period, .archive-entry p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7 }
.archive-period { font-variant-numeric: tabular-nums }
.archive-entry h3 { font-size: 17px; line-height: 1.6; overflow-wrap: anywhere }
.archive-entry p { margin-top: 4px }
.archive-record-note { display: inline-block; margin-top: 5px; color: var(--muted); font-size: 12px }
@media (min-height: 520px) {
  .archive-tabs { position: sticky; top: var(--header-height); z-index: 5 }
  .archive-tools, .archive-year, .archive-list li[id], #archive-records { scroll-margin-top: 58px }
}
@media (max-width: 700px) {
  .featured-works { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 14px }
  .archive-search { padding: 13px 14px 15px }
  .archive-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) }
  .archive-tabs button { min-width: 0; padding-inline: 2px; font-size: 14px; line-height: 1.4; white-space: nowrap }
  .archive-tools { min-height: 48px }
  .archive-list li { grid-template-columns: 1fr; gap: 3px }
  .archive-entry h3 { font-size: 16px }
}
@media (max-width: 360px) {
  .archive-tabs { grid-template-columns: minmax(0,.8fr) repeat(3,minmax(0,1fr)) }
  .archive-tabs button { padding-inline: 0 }
}
@media(max-width:480px){.featured-works{grid-template-columns:1fr}}

/* 採用情報 */
.recruit-intro {
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(32px, 5vw, 62px);
}
.recruit-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
}
.recruit-status {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}
.recruit-openings {
  margin: 14px 0 8px;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.recruit-lead, .recruit-day-note, .recruit-day p {
  margin: 0;
  line-height: 1.9;
}
.recruit-lead { max-width: 32em }
.recruit-intro .works-link { margin-top: 22px }
.recruit-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-bottom-right-radius: 32px;
}
.recruit-photo figcaption { margin-top: 6px; font-size: 12px }
.recruit-block { padding-block: clamp(40px, 6vw, 75px) }
.recruit-block h2 { text-wrap: balance }
.recruit-intro + .recruit-block { padding-top: 12px }
.recruit-terms, .recruit-day p, .recruit-day-note { font-size: var(--body-size) }
.recruit-conditions { background: var(--pale) }
.recruit-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}
.recruit-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(20px, 3vw, 36px);
}
.recruit-terms-grid h3 { margin-bottom: 12px; color: var(--blue); font-size: 18px }
.recruit-terms { margin: 0; border-bottom: 1px solid var(--line) }
.recruit-terms > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding-block: 14px }
.recruit-terms dt { min-width: 0; color: var(--ink); font-weight: 700 }
.recruit-day-note { margin-top: 14px; color: var(--muted) }
.recruit-day { margin: 0; padding: 0; list-style: none }
.recruit-day li {
  position: relative;
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  align-items: baseline;
  column-gap: 16px;
  padding: 0 0 22px 22px;
}
.recruit-day li:last-child { padding-bottom: 0 }
.recruit-day li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.recruit-day li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3px;
  top: calc(.7em + 7px);
  bottom: -.7em;
  border-left: 1px solid var(--line);
}
.recruit-day li > :first-child { color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap }
.recruit-day h3 { font-size: 17px }
.recruit-day p { grid-column: 2; margin-top: 2px }
.recruit-day p + p { margin-top: .45em }
.recruit-contact .contact-mascot img { border-radius: 999px }
.recruit-contact .contact-form > h3 + p { margin-top: -6px }

@media (max-width: 900px) {
  .recruit-split { grid-template-columns: 1fr; gap: 20px }
  .recruit-terms-grid { grid-template-columns: 1fr }
  .recruit-day-note { margin-top: 8px }
}
@media (max-width: 700px) {
  .recruit-intro-grid { grid-template-columns: 1fr; gap: 24px }
  .recruit-photo img { border-bottom-right-radius: 22px }
  .recruit-terms > div { grid-template-columns: 7em minmax(0, 1fr); gap: 12px }
  .recruit-day li { column-gap: 10px; padding-left: 16px }
}
.recruit-strip p span, .recruit-terms dd span { display: inline-block }

.health-block {
  display: grid; grid-template-columns: minmax(0, 1fr) 9rem; align-items: center;
  gap: 20px clamp(24px, 5vw, 60px); margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(18px, 3vw, 34px); background: var(--pale); border-top: 2px solid var(--blue);
}
.health-block h3, .site-comparison h3, .featured-works-title { margin: 0 0 10px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.55 }
.health-block p { margin: 0; max-width: 52em; font-size: var(--body-size); line-height: 1.85 }
.health-block p + p { margin-top: .6em }
.health-links, .works-photo-links, .photo-index { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px }
.health-links { margin-top: 8px }
.health-links a, .health-certificate span, .recruit-health-link a, .entry-photo-link {
  color: var(--blue); text-decoration: underline; text-underline-offset: .22em; font-weight: 650;
}
.health-links a, .recruit-health-link a, .entry-photo-link {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-size: 14px;
}
.health-certificate { display: grid; justify-items: center; gap: 5px; font-size: 13px }
.health-certificate img { display: block; width: 100%; max-width: 126px; height: auto; border: 1px solid var(--line) }
.recruit-health-link { margin: 16px 0 0 }
.works-photo-links { gap: 12px }
.site-comparison { margin-bottom: clamp(24px, 4vw, 44px) }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px) }
.photo-pair figure { min-width: 0 }
.photo-pair figcaption { color: var(--muted); font-size: 14px; font-weight: 650; margin: 0 0 5px }
.photo-pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--pale) }
.archive-photo-link { margin-top: 12px }
.photo-gallery .archive-header { margin-bottom: 16px }
.photo-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 20px; padding-block: 6px; border-block: 1px solid var(--line) }
.photo-index a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 650; text-decoration: underline; text-underline-offset: .22em }
.photo-category { margin-top: clamp(32px, 5vw, 56px) }
.photo-category h2 { margin: 0 0 12px; font-size: clamp(23px, 3vw, 32px) }
.photo-project { margin: 0; border-top: 1px solid var(--line) }
.photo-project:last-child { border-bottom: 1px solid var(--line) }
.photo-project summary { gap: 12px; padding: 14px 4px }
.photo-project summary h3 { margin: 0; font-size: clamp(16px, 2vw, 20px); line-height: 1.6 }
.photo-project summary small { display: inline-block; margin-inline-start: .8em; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap }
.project-back { margin: 0 0 12px }
.photo-project summary::after { content: ''; flex: 0 0 9px; height: 9px; margin-right: 6px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg) }
.photo-project[open] summary::after { transform: rotate(225deg) }
.photo-group { padding: 8px 0 22px }
.photo-group + .photo-group { padding-top: 18px; border-top: 1px solid var(--line) }
.photo-group h4 { margin: 0 0 10px; font-size: 16px }
.photo-group .photo-pair + .photo-pair { margin-top: clamp(16px, 2vw, 24px) }
@media (max-width: 540px) {
  .photo-project summary small { display: block; margin-inline-start: 0 }
  .health-block { grid-template-columns: minmax(0, 1fr); gap: 12px }
  .health-certificate { display: flex; align-items: center; gap: 14px }
  .health-certificate img { width: 76px }
  .photo-pair { grid-template-columns: minmax(0, 1fr) }
  .photo-group .photo-pair + .photo-pair { margin-top: 24px; padding-top: 20px; border-top: 1px dashed #9badb5 }
}
@media (max-width: 480px) {
  .recruit-terms > div { grid-template-columns: minmax(0, 1fr); gap: 3px }
  .recruit-day p { grid-column: 1 / -1 }
}
