/* 1페이지 사이트 전용 스타일 — 9칸·첫 화면 배치 A(사진 전면)·B(좌우)·C(사진+숫자 배지)·제목 명조·하단 고정 막대 — sync가 onepage 설정이 있는 사이트에만 붙임 — 제조업 홈페이지 템플릿 파일(새 사이트를 만들 때 복사됨 — 복사된 뒤에는 그 사이트 고유 파일) — 2026.11.20 작성 */
.op {
  --op-pad: clamp(20px, 4.4vw, 88px);
  --op-gap: clamp(76px, 7.5vw, 136px);
  --op-ink: var(--brand-ink, var(--brand));
  --op-t: var(--text, #1d2228);
  --op-t2: var(--text-2, #454c55);
}
.op .header-inner {
  max-width: none;
  padding: 0 var(--op-pad);
}
.op [id] {
  scroll-margin-top: 88px;
}
.op-hero,
.op-nums,
.op-s {
  font-size: 18px;
  line-height: 1.75;
  color: var(--op-t);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.op-hero h1,
.op-s h2,
.op-s h3 {
  text-wrap: balance;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.3;
  color: inherit;
}
.op-hero p,
.op-s p,
.op-s figcaption,
.op-s dd {
  text-wrap: pretty;
}
:where(.op-font-serif .op-hero, .op-font-serif .op-s) :is(h1, h2) {
  font-family: 'Nanum Myeongjo', serif;
  letter-spacing: -0.03em;
}
.op-s {
  padding: var(--op-gap) var(--op-pad);
}
.op-s h2 {
  font-size: clamp(28px, 2.6vw, 44px);
}
.op-head {
  margin-bottom: clamp(36px, 3.6vw, 64px);
  max-width: 38em;
}
.op-head p {
  margin-top: 14px;
  color: var(--op-t2);
  font-size: 19px;
}

/* 버튼 — 주색(accent) 하나, 모서리 6px */
.op-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.op-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.1s;
}
.op-btn:hover {
  background: var(--accent-dark);
}
.op-btn:active {
  transform: translateY(1px);
}
.op-btn-line {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
}
.op-btn-line:hover {
  background: rgba(127, 127, 127, 0.12);
}

/* 1. 첫 화면 */
.op-hero {
  display: grid;
  position: relative;
}
.op-hero-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.op-where {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.op-hero h1 {
  font-size: clamp(34px, 3.7vw, 64px);
  line-height: 1.22;
}
.op-hero-sub {
  margin-top: 22px;
  font-size: clamp(18px, 1.25vw, 21px);
  max-width: 30em;
}
/* A: 사진 전면 + 문구 겹침 */
.op-layout-a .op-hero {
  grid-template: minmax(0, 1fr) / 1fr;
  height: min(calc(100svh - 150px), 900px);
  min-height: 560px;
  overflow: hidden;
  color: #fff;
}
.op-layout-a .op-hero > * {
  grid-area: 1/1;
}
.op-layout-a .op-hero::after {
  content: '';
  grid-area: 1/1;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 18, 0.8),
    rgba(10, 14, 18, 0.55) 42%,
    rgba(10, 14, 18, 0.1) 78%
  );
}
.op-layout-a .op-hero-tx {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 0 var(--op-pad) clamp(48px, 5vw, 96px);
  max-width: min(100%, 1180px);
}
.op-layout-a .op-hero .op-btn {
  background: #fff;
  color: #16191d;
}
.op-layout-a .op-hero .op-btn:hover {
  background: #e9ecef;
}
.op-layout-a .op-hero .op-btn-line {
  background: transparent;
  color: #fff;
}
.op-layout-a .op-hero .op-btn-line:hover {
  background: rgba(255, 255, 255, 0.14);
}
/* B: 문구·사진 좌우 */
.op-layout-b .op-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  background: color-mix(in srgb, var(--brand) 8%, var(--surface, #fff));
}
.op-layout-b .op-hero-tx {
  padding: clamp(56px, 6vw, 104px) clamp(32px, 4vw, 80px) clamp(56px, 6vw, 104px) var(--op-pad);
}
.op-layout-b .op-hero-ph {
  order: 1;
  height: min(80vh, 880px);
}
.op-layout-b .op-where,
.op-layout-c .op-where {
  color: var(--op-ink);
}
/* C: 대표 사진 + 숫자 배지 */
.op-layout-c .op-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.3fr);
  align-items: center;
}
.op-layout-c .op-hero-tx {
  padding: clamp(56px, 6vw, 104px) clamp(32px, 4vw, 72px) clamp(140px, 10vw, 180px) var(--op-pad);
}
.op-layout-c .op-hero-ph {
  order: 1;
  height: min(82vh, 900px);
}

/* 2. 신뢰 숫자 띠 */
.op-nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--brand);
  color: #fff;
  padding: clamp(32px, 3vw, 48px) var(--op-pad);
}
.op-nums > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.op-nums > div:first-child {
  border-left: 0;
  padding-left: 0;
}
.op-nums strong {
  font-size: clamp(30px, 2.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.op-nums span {
  font-size: 17px;
  opacity: 0.92;
}
.op-layout-b .op-nums {
  background: none;
  color: var(--op-t);
  border-bottom: 1px solid var(--line, #d6dbe0);
}
.op-layout-b .op-nums > div {
  border-color: var(--line, #d6dbe0);
}
.op-layout-b .op-nums strong {
  color: var(--op-ink);
}
.op-layout-c .op-nums {
  position: relative;
  z-index: 1;
  margin: clamp(-150px, -8vw, -110px) var(--op-pad) 0 auto;
  width: min(100% - 2 * var(--op-pad), 1060px);
  background: var(--surface, #fff);
  color: var(--op-t);
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.16);
  padding: 30px 36px;
  border-top: 4px solid var(--brand);
}
.op-layout-c .op-nums > div {
  border-color: var(--line, #d6dbe0);
}
.op-layout-c .op-nums strong {
  color: var(--op-ink);
  font-size: clamp(26px, 1.9vw, 36px);
}

/* 3. 하는 일 — 제목 왼쪽 고정, 항목은 오른쪽 줄 목록 */
.op-svc {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 120px);
  align-items: start;
}
.op-svc .op-head {
  position: sticky;
  top: 128px;
}
.op-svc-list > div {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 12px 40px;
  padding: 30px 0;
  border-top: 1px solid var(--line, #d6dbe0);
}
.op-svc-list > div:last-child {
  border-bottom: 1px solid var(--line, #d6dbe0);
}
.op-svc-list h3 {
  font-size: clamp(21px, 1.5vw, 25px);
}
.op-svc-list p {
  color: var(--op-t2);
}

/* 4. 업종별 칸 — 표·재질·강조 한 줄 + 설비 사진 */
.op-spec {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 96px);
  background: var(--surface-2, #eef1f3);
  align-items: stretch;
}
.op-spec-ph {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 820px;
  object-fit: cover;
}
.op-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}
.op-table th {
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--op-t2);
  padding: 0 16px 10px 0;
  border-bottom: 2px solid var(--op-ink);
}
.op-table td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line-strong, #c4cad1);
  vertical-align: top;
}
.op-table td:first-child {
  font-weight: 700;
}
.op-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 28px;
}
.op-chips li {
  padding: 6px 14px;
  border: 1px solid var(--line-strong, #aab2bb);
  border-radius: 6px;
  font-size: 17px;
  background: var(--surface, #fff);
}
.op-chips li[style*='--c']::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 3px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.op-note {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  font-size: clamp(19px, 1.4vw, 22px);
  font-weight: 700;
  color: var(--op-t);
}

/* 5. 사례 — 사진 격자, 사진마다 설명 */
.op-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 32px);
}
.op-grid:has(> :nth-child(5)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.op-grid:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.op-grid:has(> :nth-child(5):last-child) > :nth-child(-n + 2) {
  grid-column: span 3;
}
.op-grid:has(> :nth-child(5):last-child) > :nth-child(n + 3) {
  grid-column: span 2;
}
.op-grid img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.op-grid figcaption {
  margin-top: 14px;
  font-size: 17px;
  color: var(--op-t2);
}
.op-grid figcaption b {
  display: block;
  font-size: 19px;
  color: var(--op-t);
  margin-bottom: 2px;
}

/* 6. 진행 순서 — 번호를 잇는 선 */
.op-steps {
  background: var(--surface-2, #eef1f3);
}
.op-step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: st;
  background: linear-gradient(var(--line-strong, #aab2bb), var(--line-strong, #aab2bb)) 0 25px/100%
    2px no-repeat;
}
.op-step-list > div {
  counter-increment: st;
  padding-top: 76px;
  position: relative;
}
.op-step-list > div::before {
  content: counter(st);
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 21px;
  box-shadow: 0 0 0 8px var(--surface-2, #eef1f3);
}
.op-step-list h3 {
  font-size: clamp(20px, 1.4vw, 24px);
  margin-bottom: 8px;
}
.op-step-list p {
  color: var(--op-t2);
  max-width: 24em;
}

/* 7. 대표 소개 */
.op-owner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 112px);
  align-items: center;
}
.op-owner-ph {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.op-owner-tx {
  max-width: 34em;
}
.op-owner-tx h2 {
  font-size: clamp(28px, 2.3vw, 40px);
  line-height: 1.4;
}
.op-owner-tx p {
  margin-top: 22px;
  color: var(--op-t2);
}
.op-sign {
  margin-top: 30px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.op-sign strong {
  font-size: 22px;
}
.op-sign span {
  color: var(--op-t2);
}

/* 8. 자주 묻는 질문 — 펼침 */
.op-faq .op-head,
.op-faq-list {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.op-faq-list details {
  border-bottom: 1px solid var(--line, #d6dbe0);
}
.op-faq-list details:first-child {
  border-top: 2px solid var(--op-t);
}
.op-faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(19px, 1.3vw, 21px);
  font-weight: 700;
}
.op-faq-list summary::-webkit-details-marker {
  display: none;
}
.op-faq-list summary::after {
  content: '+';
  flex: none;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  color: var(--op-ink);
}
.op-faq-list details[open] summary::after {
  content: '\2212';
}
.op-faq-list details p {
  padding: 0 48px 26px 0;
  color: var(--op-t2);
}

/* 9. 견적·연락처 */
.op-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 112px);
  background: var(--brand);
  color: #fff;
}
.op-contact h2 {
  font-size: clamp(30px, 2.8vw, 48px);
}
.op-contact-tx p {
  margin-top: 16px;
  opacity: 0.94;
  max-width: 30em;
}
.op-contact .op-btn {
  background: #fff;
  color: #16191d;
}
.op-contact .op-btn:hover {
  background: #e9ecef;
}
.op-contact .op-btn-line {
  background: transparent;
  color: #fff;
}
.op-contact .op-btn-line:hover {
  background: rgba(255, 255, 255, 0.12);
}
.op-info > div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.op-info dt {
  font-weight: 700;
  opacity: 0.85;
}
.op-info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.op-contact .map-links {
  justify-content: flex-start;
  margin-top: 22px;
}

/* 하단 고정 막대 — 휴대폰·태블릿 폭에서만, 견본 안내 띠 위에 얹힘(onepage.js) */
.op-bar {
  display: none;
}

/* 서서히 나타나기만(웹빌드 결정 대장 W11 STANDARD) — onepage.js가 움직임 줄이기 설정·화면 편집이 아닐 때만 켠다 */
.op-anim .op-rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.op-anim .op-rv.in {
  opacity: 1;
  transform: none;
}
@media print {
  .op-anim .op-rv {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .op-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 940;
    background: var(--surface, #fff);
    border-top: 1px solid var(--line, #d6dbe0);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .op-bar {
    transition:
      opacity 0.25s,
      transform 0.25s;
  }
  .op-bar.off {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
  }
  .op-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
  }
  .op-bar-tel {
    border: 1.5px solid var(--line-strong, #8f98a3);
    color: var(--op-t);
  }
  .op-bar-quote {
    background: var(--accent);
    color: #fff;
  }
  body:has(.op-bar) .site-footer {
    padding-bottom: 116px;
  }
  .op-svc,
  .op-spec,
  .op-owner,
  .op-contact {
    grid-template-columns: 1fr;
  }
  .op-svc .op-head {
    position: static;
  }
  .op-grid,
  .op-grid:has(> :nth-child(5)),
  .op-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .op-grid > * {
    grid-column: auto !important;
  }
  .op-grid > :nth-child(5):last-child {
    grid-column: span 2 !important;
  }
  .op-spec-ph {
    min-height: 0;
    aspect-ratio: 3/2;
    height: auto;
  }
  .op-layout-b .op-hero,
  .op-layout-c .op-hero {
    grid-template-columns: 1fr;
  }
  .op-layout-b .op-hero-ph,
  .op-layout-c .op-hero-ph {
    order: -1;
    height: auto;
    aspect-ratio: 3/2;
  }
  .op-layout-b .op-hero-tx,
  .op-layout-c .op-hero-tx {
    padding: 40px var(--op-pad) 48px;
  }
  .op-layout-c .op-nums {
    margin: 0 var(--op-pad);
    width: auto;
  }
  .op-layout-c .op-hero-tx {
    padding-bottom: 32px;
  }
}
@media (max-width: 768px) {
  .op [id] {
    scroll-margin-top: 64px;
  }
  .op-hero,
  .op-nums,
  .op-s {
    font-size: 17px;
  }
  .op-head p {
    font-size: 17px;
  }
  .op-btn {
    min-height: 52px;
    padding: 0 22px;
    font-size: 17px;
  }
  .op-acts .op-btn {
    flex: 1 1 100%;
  }
  .op-layout-a .op-hero {
    height: auto;
    min-height: min(84svh, 720px);
  }
  .op-layout-a .op-hero::after {
    background: linear-gradient(
      0deg,
      rgba(10, 14, 18, 0.86),
      rgba(10, 14, 18, 0.6) 55%,
      rgba(10, 14, 18, 0.15)
    );
  }
  .op-layout-a .op-hero-tx {
    padding-bottom: 40px;
  }
  .op-nums {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
  }
  .op-nums > div,
  .op-nums > div:first-child {
    padding: 0 0 0 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }
  .op-layout-b .op-nums > div,
  .op-layout-c .op-nums > div {
    border-color: var(--line, #d6dbe0);
  }
  .op-layout-c .op-nums {
    padding: 22px 20px;
  }
  .op-svc-list > div {
    grid-template-columns: 1fr;
    padding: 22px 0;
  }
  .op-table thead {
    display: none;
  }
  .op-table tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-strong, #c4cad1);
  }
  .op-table td {
    display: block;
    padding: 0;
    border: 0;
  }
  .op-table td:last-child {
    color: var(--op-t2);
  }
  .op-table td:not(:first-child)[data-label]::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 6.5em;
    margin-right: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--op-t2);
  }
  .op-grid,
  .op-grid:has(> :nth-child(5)),
  .op-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: 1fr;
  }
  .op-grid > :nth-child(5):last-child {
    grid-column: auto !important;
  }
  .op-step-list {
    grid-template-columns: 1fr;
    gap: 28px;
    background-position: 25px 0;
    background-size: 2px 100%;
  }
  .op-step-list > div {
    padding: 10px 0 0 76px;
    min-height: 52px;
  }
  .op-faq-list details p {
    padding-right: 0;
  }
  .op-info > div {
    grid-template-columns: 5.5em minmax(0, 1fr);
    gap: 10px;
  }
}
.op .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: #1d2024;
}
.op-contact .op-map {
  grid-column: 1/-1;
}
.op-contact .op-map iframe {
  border: 0;
}
