/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans KR", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  height: 70px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  display: block;
}

.gnb {
  display: flex;
  margin-left: 40px;
}

.gnb a {
  padding: 0 16px;
  line-height: 70px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.gnb a:hover {
  color: #ff6000;
}

.header-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 70px;
  font-size: 14px;
  font-weight: 700;
}

.header-contact img {
  height: 40px;
  margin-right: 6px;
}

/* ===== MAIN VISUAL ===== */
.main-visual {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 50%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.visual-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.visual-text h2 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
}

.visual-text h2 span {
  color: #ff8d21;
}

.visual-text p {
  margin-top: 16px;
  font-size: 18px;
}

.visual-text strong {
  display: block;
  margin-top: 22px;
  font-size: 24px;
  font-weight: 800;
}

.visual-text strong span {
  color: #ff8d21;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 90px 20px;
}

section h2,
section h3 {
  text-align: center;
  font-weight: 800;
}

section p {
  text-align: center;
  margin-top: 14px;
}

/* ===== BUSINESS ===== */
.business {
  padding: 100px 0;
  text-align: center;
}

.business h3 {
  font-size: 34px;
  font-weight: 800;
}

.business .sub {
  margin-top: 6px;
  font-size: 14px;
  color: #999;
}

.business-list {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.biz-card {
  width: 320px;
  text-align: left;
}

.biz-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.biz-text {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 6px solid #ff6000;
}

.biz-text.brown {
  border-left-color: #9b3a00;
}

.biz-text h4 {
  font-size: 17px;
  font-weight: 800;
  color: #ff6000;
}

.biz-text.brown h4 {
  color: #9b3a00;
}

.biz-text p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #555;
}

/* ===== ORANGE BANNER ===== */
.banner {
  position: relative;
  height: 420px;
  background: url("../images/main_bg_1.jpg") center 25% / cover no-repeat;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 122, 0, 0.8);
  z-index: 1;
}

.banner-text {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}

/* ===== MACHINE SECTION (정리 완료) ===== */
.machine {
  position: relative;
  padding: 50px 20px;
  background-color: #fff;
  overflow: hidden;
}

.machine::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg_pattern.png");
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: 0.1;
  z-index: 1;
}

.machine-box {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
}

.machine h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}

.machine h2 strong {
  font-weight: 800;
}

/* 버튼 (최종) */
.machine-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #b8773a;
  text-decoration: none;
  border: 1px solid #d19335;
  background: transparent;
  transition: all 0.25s ease;
}

.machine-btn:hover {
  background: #bb7f25;
  border-color: #ca915c;
  color: #fff;
}


/* ===== INFORMATION COMMUNICATION SECTION ===== */
.info-comm {
  position: relative;
  padding: 50px 20px;
  background-color: #fff;
  overflow: hidden;
}

/* 배경 패턴 */
.info-comm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/ic_pattern.png");
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: 0.1;
  z-index: 1;
}

/* 중앙 박스 */
.info-comm-box {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
}

/* 제목 */
.info-comm h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}

.info-comm h2 strong {
  font-weight: 800;
}

/* 버튼 */
.info-comm-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #ff6000;
  text-decoration: none;
  border: 1px solid #ff6000;
  background: transparent;
  transition: all 0.25s ease;
}

/* hover */
.info-comm-btn:hover {
  background: #ff6000;
  color: #fff;
}
/* ===== LEGAL AREA ===== */
.legal {
  padding: 100px 20px;
  text-align: center;
  background: #fff;
}

.legal h2 {
  font-size: 26px;
  font-weight: 800;
}

.legal-box {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.legal-card {
  width: 420px;
  padding: 50px 20px;
  color: #fff;
  text-align: center;
}

.legal-card .icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.legal-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.legal-card a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}

.legal-card.dark {
  background: #3a3a3a;
}

.legal-card.orange {
  background: #ffa24a;
}

/* ===== ESTIMATE ===== */
.estimate {
  padding: 100px 20px;
  background: #f7f7f7;
  text-align: center;
}

.estimate h2 {
  font-size: 26px;
  font-weight: 800;
}

.estimate .sub {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}

.estimate-form {
  max-width: 900px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.estimate-form textarea {
  grid-column: 1 / -1;
  height: 120px;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.agree {
  grid-column: 1 / -1;
  font-size: 13px;
  text-align: left;
}

.estimate-form button {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 16px;
  background: #ff7a00;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}




.direct {
  position: relative;
  height: 360px;
  background: url("../images/main_bg_2.jpg") center / cover no-repeat;
  overflow: hidden;
}

.direct::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 140, 40, 0.55); /* 🔥 main_bg_2랑 잘 맞는 톤 */
  z-index: 1;
}

.direct-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 0 20px;
  color: #fff;
  text-align: left;   /* 원본은 좌측 정렬 */
}

.direct h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 14px;
}

.direct p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
}

/* ===== MAINTENANCE ===== */
.maintenance {
  height: 500px; /* 원본과 비슷한 높이 */
  background: url("../images/main_bg_3.jpg") center / cover no-repeat;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #fff;
}

/* 어두운 오버레이 (글자 가독성) */
.maintenance::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* 텍스트를 오버레이 위로 */
.maintenance h2 {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
}

/* ===== CERTIFICATION ===== */
.certification {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
}

.certification h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}

.certification .sub {
  font-size: 14px;
  color: #777;
  margin-bottom: 50px;
}

/* 인증서 그리드 */
.cert-wrap {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* 인증서 이미지 */
.cert-wrap img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 14px;
}



/* ===== COMMON ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SUB VISUAL ===== */
.sub-visual {
  height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-left: 80px;
}

.sub-visual h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

/* ===== SUB MENU (개선 버전) ===== */
.sub-menu {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.sub-menu ul {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
}

.sub-menu li {
  list-style: none;
}

.sub-menu li a {
  position: relative;
  display: block;
  padding: 18px 80px;
  font-size: 20px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
}

/* hover */
.sub-menu li a:hover {
  color: #ff6000;
}

/* active */
.sub-menu li.active a {
  color: #ff6000;
  font-weight: 700;
}

/* active 하단 바 */
.sub-menu li.active a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: #ff6000;
}

/* ===== GREETING (기존 사이트 톤) ===== */
.greeting {
  padding: 80px 0;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: left;
}

/* 좌우 레이아웃 */
.greeting-wrap {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}


.greeting-text .slogan span {
  color: #f57c00;
}


/* 서명 */
.signature {
  margin-top: 30px;
  font-size: 14px;
}




.greeting-image img {
  width: 100%;
  border-radius: 50%;
  border: 6px solid #eee;
}

.sub-visual {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.sub-visual-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.sub-visual-inner img {
  width: 600px;     /* ← 여기서 조절 */
  max-width: none;
  height: auto;
  display: block;
}

.greeting {
  padding: 80px 0;
}

.greeting-wrap {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}

/* LEFT */
.greeting-left {
  width: 65%;
}

.greeting-left .slogan {
  margin-bottom: 30px;
}

.greeting-text {
  font-size: 20px;
  line-height: 1.9;
  color: #333;
}

.greeting-text p {
  margin-bottom: 0px;
}

.signature {
  margin-top: 40px;
  font-size: 30px;
}

/* RIGHT */
.greeting-right {
  width: 520px;
  display: flex;
  justify-content: center;
}

/* 메인 이미지 */
.greeting-photo {
  width: 520px;
  height: 680px;                 /* ← 세로 여유를 줘야 안 잘림 */

  background-image: url("../images/introduce/greeting/greeting_sub1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;      /* ← 핵심 */

  background-color: #fff;        /* 여백 흰색 */
}

/* ================================
   COMPANY HISTORY
================================ */

.history {
  padding: 90px 0;
}

.history .page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 60px;
}

/* 연혁 테이블 */
.history-table {
  max-width: 900px;
  margin: 0 auto;
}

/* 한 줄 */
.history-row {
  display: flex;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}

/* 연도 */
.history-row .year {
  width: 120px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

/* 내용 */
.history-row .content {
  text-align: left;
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}

/* 월 표시 */
.history-row .content .month {
  display: inline-block;
  width: 32px;
  font-weight: 700;
  color: #ff6000;
}

/* 여러 줄일 때 간격 */
.history-row .content p {
  text-align: left; 
  margin-bottom: 6px;
}

.history-row .content p:last-child {
  margin-bottom: 0;
}
/* ================================
   LOCATION
================================ */

.location {
  padding: 90px 0;
}

.location .page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 60px;
}

/* 한 본사 박스 */
.location-box {
  display: flex;
  gap: 40px;
  margin-bottom: 70px;
  align-items: flex-start;
}

/* 지도 */
.location-box .map {
  width: 55%;
}

.location-box .map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* 정보 */
.location-box .info {
  width: 45%;
  text-align: left;
}

.location-box .info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.location-box .info p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.location-box .info strong {
  display: inline-block;
  width: 60px;
  color: #222;
}

/* ===== LOCATION INFO BOX (글씨 포장) ===== */

.location-box .info {
  width: 45%;
  text-align: left;

  /* ⬇ 포장 핵심 */
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 30px 32px;
  box-sizing: border-box;
}

/* 제목 */
.location-box .info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff6000;
}

/* 내용 */
.location-box .info p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}

/* 라벨 */
.location-box .info strong {
  display: inline-block;
  width: 60px;
  color: #222;
}

/* ================================
   CATALOG
================================ */

.catalog {
  padding: 90px 0;
}

.catalog .page-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 60px;
}

.catalog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.catalog-item {
  text-decoration: none;
  color: #222;
  text-align: center;
}

.catalog-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid #ddd;
  background: #f8f8f8;
}

.catalog-item p {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
}

/* hover */
.catalog-item:hover img {
  border-color: #ff6000;
}

/* ================================
   LICENSE
================================ */

.license {
  padding: 90px 0;
}

.license .page-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 70px;
}

.license-group {
  max-width: 1200px;
  margin: 0 auto 90px;
}

.license-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
  border-left: 4px solid #ff6000;
  padding-left: 12px;
}

/* 이미지 그리드 */
.license-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.license-item {
  text-align: center;
}

.license-item img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border: 1px solid #ddd;
  background: #fff;
}

.license-item p {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}
.catalog h2.page-title {
  text-align: left;
}
.license h2.page-title {
  text-align: left;
}

/* ===============================
   SUB VISUAL
================================ */
.sub-visual {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.sub-visual-text {
  position: relative;
  text-align: center;
  color: #fff;
}

.sub-visual-text h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 700;
}

.sub-visual-text p {
  font-size: 16px;
  opacity: 0.9;
}


/* ===============================
   PERFORMANCE INTRO
================================ */
.performance-intro {
  padding: 60px 20px 30px;
  text-align: center;
}

.performance-intro h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.performance-intro .year {
  font-size: 15px;
  color: #777;
}


/* ===============================
   TEXT PERFORMANCE LIST
================================ */
.performance-text {
  padding: 30px 20px 60px;
}

.performance-text ul {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 10px 30px;
}

.performance-text li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
}

.performance-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff6000;
}

.performance-text li strong {
  color: #000;
}


/* ===============================
   PERFORMANCE IMAGE GRID
================================ */
.performance-image {
  padding: 70px 20px;
  background: #f7f7f7;
}

.performance-image h3 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
}

.performance-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.performance-grid figure {
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.performance-grid figure:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.performance-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.performance-grid figcaption {
  padding: 12px;
  font-size: 14px;
  text-align: center;
  background: #fff;
}




/* ===== RESET ===== */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: "Noto Sans KR", Arial, sans-serif;
  color:#333;
  line-height:1.6;
}

/* ===== HEADER ===== */
.header {
  border-bottom:1px solid #eee;
  background:#fff;
}
.header-top {
  max-width:1200px;
  margin:0 auto;
  padding:10px 20px;
  display:flex;
  align-items:center;
}
.logo img { height:40px; }
.gnb { display:flex; margin-left:40px; }
.gnb a {
  padding:0 14px;
  font-size:15px;
  text-decoration:none;
  color:#111;
}
.gnb a.active { color:#ff6000; font-weight:600; }
.header-contact img { height:40px; margin-left:auto; }

/* ===== SUB VISUAL ===== */
.sub-visual {
  height:280px;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.sub-visual::before {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}
.sub-visual-text {
  position:relative;
  color:#fff;
  text-align:center;
}
.sub-visual-text h2 { font-size:34px; }
.sub-visual-text p { margin-top:8px; }

/* ===== CONTENT ===== */
.container {
  max-width:1200px;
  margin:0 auto;
}
.fire-content { padding:70px 20px; }
.fire-content h3 { font-size:28px; margin-bottom:15px; }
.fire-intro { font-weight:600; margin-bottom:15px; }
.fire-desc { color:#000000; }

/* ===== GALLERY ===== */
.fire-gallery {
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
  gap:20px;
}
.fire-gallery figure {
  border:1px solid #ddd;
  background:#fff;
}
.fire-gallery img {
  width:100%;
  height:180px;
  object-fit:cover;
}
.fire-gallery figcaption {
  padding:10px;
  text-align:center;
  font-size:14px;
}

/* ===============================
   FIRE LAW SECTION (시공신고대상)
================================ */

.fire-section-title {
  margin-top: 50px;
  font-size: 20px;
  font-weight: 700;
}

.fire-law-box {
  margin-top: 15px;
}

.fire-law-item {
  font-size: 15px;
  font-weight: 600;
  color: #ff6000;
  margin: 18px 0 6px;
}

.fire-law-sub {
  background: #ffffff;
  color: #000000;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ===============================
   소방시설공사 본문 좌측 정렬
================================ */

.fire-content {
  text-align: left;
}

.fire-content h3,
.fire-content h4,
.fire-content p,
.fire-content ul,
.fire-content li,
.fire-law-box,
.fire-law-main,
.fire-law-sub {
  text-align: left;
}


/* ===============================
   소방시설점검 페이지
================================ */

.inspection-content {
  padding: 70px 20px;
}

.inspection-content h3 {
  font-size: 26px;
  margin-bottom: 30px;
}

.inspection-desc {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== 점검 표 ===== */
.inspection-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.inspection-table th,
.inspection-table td {
  border: 1px solid #ddd;
  padding: 14px;
  font-size: 14px;
  vertical-align: top;
}

.inspection-table th {
  background: #222;
  color: #fff;
  text-align: center;
}

.inspection-table td {
  background: #fafafa;
}

/* ===============================
   SUB TAB MENU (inspection)
================================ */

.sub-tab {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ddd;
  margin-top: 20px;
}

.sub-tab .tab-item {
  padding: 14px 30px;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.sub-tab .tab-item:hover {
  color: #ff6000;
}

.sub-tab .tab-item.active {
  color: #ff6000;
  font-weight: 600;
  border-bottom: 3px solid #ff6000;
}

/* ===============================
   INSPECTION CONTENT ALIGN FIX
================================ */

.inspection-content,
.inspection-content * {
  text-align: left;
}

/* =====================================
   INSPECTION / MONTH PAGE COMMON
===================================== */

/* 전체 본문 좌측 정렬 강제 */
.inspection-content,
.inspection-content * {
  text-align: left;
  box-sizing: border-box;
}

/* 페이지 제목 */
.inspection-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center; /* 제목만 가운데 */
}

/* 소제목 */
.inspection-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 40px 0 15px;
  position: relative;
  padding-left: 12px;
}

.inspection-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 14px;
  background: #ff6a00;
}

/* 설명 문단 */
.inspection-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

/* 리스트 */
.inspection-content ul {
  margin: 10px 0 20px 18px;
  padding: 0;
}

.inspection-content li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* =====================================
   TABLE (원본 jeil9119 스타일)
===================================== */

.inspection-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 13px;
}

.inspection-content th {
  background: #222;
  color: #fff;
  padding: 12px 10px;
  border: 1px solid #333;
  text-align: center;
}

.inspection-content td {
  padding: 12px 10px;
  border: 1px solid #ddd;
  vertical-align: top;
  line-height: 1.6;
}

/* 첫번째 컬럼 중앙 */
.inspection-content td:first-child {
  text-align: center;
  font-weight: 600;
}

/* =====================================
   IMAGE GRID (inspection / month)
===================================== */

.inspection-photo {
  margin-top: 40px;
}

.inspection-photo h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.photo-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.photo-item {
  text-align: center;
}

.photo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.photo-item p {
  margin-top: 8px;
  font-size: 13px;
  color: #333;
}

/* =====================================
   PDF / FILE LINK
===================================== */

.file-link {
  margin: 20px 0;
}

.file-link a {
  display: inline-block;
  font-size: 14px;
  color: #333;
  padding-left: 22px;
  background: url("../images/icon_file.png") no-repeat left center;
  background-size: 16px;
}

/* =====================================
   SUB MENU (소방시설점검 / 월방화관리)
===================================== */

.sub-tab {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  border-bottom: 1px solid #eee;
}

.sub-tab a {
  padding: 10px 0;
  font-size: 15px;
  color: #666;
  text-decoration: none;
}

.sub-tab a.active {
  color: #ff6a00;
  font-weight: 600;
  border-bottom: 2px solid #ff6a00;
}

/* ===============================
   FILE DOWNLOAD (COMPACT)
================================ */

.inspection-files {
  max-width: 1200px;
  margin: 15px auto 0;   /* ← 위 여백 줄임 */
}

.file-box {
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 8px 12px;     /* ← 핵심: padding 줄임 */
  margin-bottom: 6px;   /* ← 박스 간격 최소화 */
}

.file-box a {
  display: flex;
  align-items: center;
  gap: 8px;              /* ← 아이콘/텍스트 간격 */
  font-size: 13px;
  line-height: 1.4;      /* ← 줄 간격 축소 */
  color: #333;
  text-decoration: none;
}

/* 아이콘 */
.file-icon {
  min-width: 34px;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  border-radius: 2px;
  color: #fff;
}

.file-icon.pdf {
  background: #d32f2f;
}

.file-icon.hwp {
  background: #2e7d32;
}


/* ===============================
   SPACING FIX (INSPECTION)
================================ */

/* 표 아래 여백 줄이기 */
.inspection-table {
  margin-bottom: 0px;
}

/* 다운로드 영역 위아래 여백 최소화 */
.inspection-files {
  margin: 10px auto 20px;
}

/* 다운로드 박스 간격 */
.file-box {
  margin-bottom: 6px;
}

/* ===============================
   INSPECTION PHOTO FINAL TUNE
================================ */

/* 사진 섹션 제목 간격 */
.section-title {
  margin: 30px auto 15px;
  max-width: 1200px;
  font-size: 20px;
  font-weight: 700;
}

/* 사진 전체 래퍼 */
.inspection-photo-wrap {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* 사진 카드 */
.photo-item {
  border: 1px solid #ddd;
  padding: 8px;
  background: #fff;
}

/* 사진 크기 통일 (핵심) */
.photo-item img {
  width: 100%;
  height: 150px;          /* ← 여기서 크기 통일 */
  object-fit: cover;
  display: block;
}

/* 사진 설명 */
.photo-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: #333;
}

/* ===============================
   소방완비증명 절차 박스
================================ */

.process-wrap {
  max-width: 1200px;
  margin: 20px auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.process-box {
  width: 220px;
  height: 90px;
  border: 1px solid #ddd;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.process-box strong {
  font-weight: 600;
}

.process-arrow {
  font-size: 22px;
  color: #ff6a00;
  font-weight: bold;
}

/* ===== SUB TAB ===== */
.sub-tab {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #eee;
}

.sub-tab .tab-item {
  padding: 14px 30px;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  position: relative;
}

.sub-tab .tab-item.active {
  color: #ff6a00;
  font-weight: 600;
}

.sub-tab .tab-item.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: #ff6a00;
}

/* ===== TAB CONTENT ===== */
.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}
.process-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.process-box {
  border: 1px solid #ddd;
  padding: 12px 16px;
  background: #fafafa;
  font-size: 14px;
  min-width: 140px;
  text-align: center;
}

.arrow {
  font-size: 18px;
  color: #999;
}

.inspection-list li {
  margin-bottom: 6px;
  line-height: 1.6;
}


/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans KR", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* =========================
   HEADER
========================= */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  height: 70px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
}

.gnb {
  display: flex;
  margin-left: 40px;
}

.gnb a {
  padding: 0 14px;
  line-height: 70px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.gnb a:hover {
  color: #ff6000;
}

.header-contact img {
  height: 42px;
}

/* =========================
   SUB VISUAL
========================= */
.sub-visual {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.sub-visual-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* =========================
   SUB TAB
========================= */
.sub-tab {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}

.sub-tab .tab-item {
  padding: 16px 28px;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.sub-tab .tab-item.active {
  color: #ff6000;
  border-bottom: 2px solid #ff6000;
  font-weight: 600;
}

/* =========================
   CONTENT COMMON
========================= */
.inspection-content {
  padding-bottom: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.fire-title {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-left: 12px;
}

.inspection-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.inspection-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
}

.inspection-list li {
  margin-bottom: 6px;
}

/* =========================
   PROCESS BOX
========================= */
.process-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0 40px;
}

.process-box {
  border: 1px solid #ddd;
  padding: 14px 16px;
  min-width: 150px;
  text-align: center;
  background: #fafafa;
  font-size: 14px;
}

.process-arrow {
  font-size: 20px;
  color: #ff6000;
}

/* =========================
   TABLE
========================= */
.inspection-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 40px;
}

.inspection-table th,
.inspection-table td {
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 14px;
  vertical-align: top;
}

.inspection-table th {
  width: 60px;
  background: #222;
  color: #fff;
  text-align: center;
}

/* =========================
   PHOTO GRID
========================= */
.inspection-photo-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0 60px;
}

.photo-item {
  border: 1px solid #ddd;
  background: #fff;
  text-align: center;
}

.photo-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.photo-item p {
  padding: 8px;
  font-size: 14px;
  background: #fafafa;
}

/* =========================
   DESIGN FIELD (설계업)
========================= */
.design-field-wrap {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.design-field {
  flex: 1;
  border: 1px solid #ddd;
  padding: 20px;
}

.design-field h5 {
  font-size: 16px;
  margin-bottom: 10px;
}

.design-field ul {
  list-style: disc;
  padding-left: 18px;
}

.design-field li {
  font-size: 14px;
  margin-bottom: 6px;
}


.notice-table td {
  text-align: center;
}

.notice-title {
  text-align: left;
}

.notice-title a {
  color: #222;
  text-decoration: none;
}

.notice-title a:hover {
  color: #ff6000;
  text-decoration: underline;
}

/* ===== 공지사항 ===== */
.info-content {
  padding: 60px 0;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

/* 테이블 */
.notice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

/* 헤더 */
.notice-table thead th {
  background: #222;
  color: #fff;
  font-weight: 500;
  padding: 12px 8px;
  border: 1px solid #333;
  text-align: center;
}

/* 바디 */
.notice-table tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
  color: #333;
}

/* 제목 칼럼 */
.notice-table td.title {
  text-align: left;
}

.notice-table td.title a {
  color: #1a4fd8;
  text-decoration: none;
}

.notice-table td.title a:hover {
  text-decoration: underline;
}

/* 컬럼 폭 (기존 사이트 비율 맞춤) */
.col-no { width: 80px; }
.col-title { width: auto; }
.col-writer { width: 140px; }
.col-date { width: 140px; }
.col-hit { width: 100px; }

/* hover */
.notice-table tbody tr:hover {
  background: #f9f9f9;
}


/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans KR", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  height: 70px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  display: block;
}

.gnb {
  display: flex;
  margin-left: 40px;
}

.gnb a {
  padding: 0 16px;
  line-height: 70px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.gnb a:hover {
  color: #ff6000;
}

.header-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 70px;
  font-size: 14px;
  font-weight: 700;
}

.header-contact img {
  height: 40px;
  margin-right: 6px;
}

/* ===== MAIN VISUAL ===== */
.main-visual {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 50%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.visual-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.visual-text h2 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
}

.visual-text h2 span {
  color: #ff8d21;
}

.visual-text p {
  margin-top: 16px;
  font-size: 18px;
}

.visual-text strong {
  display: block;
  margin-top: 22px;
  font-size: 24px;
  font-weight: 800;
}

.visual-text strong span {
  color: #ff8d21;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 90px 20px;
}

section h2,
section h3 {
  text-align: center;
  font-weight: 800;
}

section p {
  text-align: center;
  margin-top: 14px;
}

/* ===== BUSINESS ===== */
.business {
  padding: 100px 0;
  text-align: center;
}

.business h3 {
  font-size: 34px;
  font-weight: 800;
}

.business .sub {
  margin-top: 6px;
  font-size: 14px;
  color: #999;
}

.business-list {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.biz-card {
  width: 320px;
  text-align: left;
}

.biz-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.biz-text {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 6px solid #ff6000;
}

.biz-text.brown {
  border-left-color: #9b3a00;
}

.biz-text h4 {
  font-size: 17px;
  font-weight: 800;
  color: #ff6000;
}

.biz-text.brown h4 {
  color: #9b3a00;
}

.biz-text p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #555;
}

/* ===== ORANGE BANNER ===== */
.banner {
  position: relative;
  height: 420px;
  background: url("../images/main_bg_1.jpg") center 25% / cover no-repeat;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 122, 0, 0.8);
  z-index: 1;
}

.banner-text {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}

/* ===== MACHINE SECTION (정리 완료) ===== */
.machine {
  position: relative;
  padding: 50px 20px;
  background-color: #fff;
  overflow: hidden;
}

.machine::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bg_pattern.png");
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: 0.1;
  z-index: 1;
}

.machine-box {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
}

.machine h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}

.machine h2 strong {
  font-weight: 800;
}

/* 버튼 (최종) */
.machine-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #b8773a;
  text-decoration: none;
  border: 1px solid #d19335;
  background: transparent;
  transition: all 0.25s ease;
}

.machine-btn:hover {
  background: #bb7f25;
  border-color: #ca915c;
  color: #fff;
}


/* ===== INFORMATION COMMUNICATION SECTION ===== */
.info-comm {
  position: relative;
  padding: 50px 20px;
  background-color: #fff;
  overflow: hidden;
}

/* 배경 패턴 */
.info-comm::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/ic_pattern.png");
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: 0.1;
  z-index: 1;
}

/* 중앙 박스 */
.info-comm-box {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
}

/* 제목 */
.info-comm h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}

.info-comm h2 strong {
  font-weight: 800;
}

/* 버튼 */
.info-comm-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #ff6000;
  text-decoration: none;
  border: 1px solid #ff6000;
  background: transparent;
  transition: all 0.25s ease;
}

/* hover */
.info-comm-btn:hover {
  background: #ff6000;
  color: #fff;
}
/* ===== LEGAL AREA ===== */
.legal {
  padding: 100px 20px;
  text-align: center;
  background: #fff;
}

.legal h2 {
  font-size: 26px;
  font-weight: 800;
}

.legal-box {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.legal-card {
  width: 420px;
  padding: 50px 20px;
  color: #fff;
  text-align: center;
}

.legal-card .icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.legal-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.legal-card a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}

.legal-card.dark {
  background: #3a3a3a;
}

.legal-card.orange {
  background: #ffa24a;
}

/* ===== ESTIMATE ===== */
.estimate {
  padding: 100px 20px;
  background: #f7f7f7;
  text-align: center;
}

.estimate h2 {
  font-size: 26px;
  font-weight: 800;
}

.estimate .sub {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}

.estimate-form {
  max-width: 900px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.estimate-form textarea {
  grid-column: 1 / -1;
  height: 120px;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.agree {
  grid-column: 1 / -1;
  font-size: 13px;
  text-align: left;
}

.estimate-form button {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding: 16px;
  background: #ff7a00;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}



.direct {
  position: relative;
  height: 360px;
  background: url("../images/main_bg_2.jpg") center / cover no-repeat;
  overflow: hidden;
}

.direct::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 140, 40, 0.55); /* 🔥 main_bg_2랑 잘 맞는 톤 */
  z-index: 1;
}

.direct-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 0 20px;
  color: #fff;
  text-align: left;   /* 원본은 좌측 정렬 */
}

.direct h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 14px;
}

.direct p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
}

/* ===== MAINTENANCE ===== */
.maintenance {
  height: 500px; /* 원본과 비슷한 높이 */
  background: url("../images/main_bg_3.jpg") center / cover no-repeat;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #fff;
}

/* 어두운 오버레이 (글자 가독성) */
.maintenance::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* 텍스트를 오버레이 위로 */
.maintenance h2 {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
}

/* ===== CERTIFICATION ===== */
.certification {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
}

.certification h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}

.certification .sub {
  font-size: 14px;
  color: #777;
  margin-bottom: 50px;
}

/* 인증서 그리드 */
.cert-wrap {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* 인증서 이미지 */
.cert-wrap img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 14px;
}



/* ===== COMMON ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SUB VISUAL ===== */
.sub-visual {
  height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-left: 80px;
}

.sub-visual h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

/* ===== SUB MENU (개선 버전) ===== */
.sub-menu {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.sub-menu ul {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
}

.sub-menu li {
  list-style: none;
}

.sub-menu li a {
  position: relative;
  display: block;
  padding: 18px 80px;
  font-size: 20px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
}

/* hover */
.sub-menu li a:hover {
  color: #ff6000;
}

/* active */
.sub-menu li.active a {
  color: #ff6000;
  font-weight: 700;
}

/* active 하단 바 */
.sub-menu li.active a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: #ff6000;
}

/* ===== GREETING (기존 사이트 톤) ===== */
.greeting {
  padding: 80px 0;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: left;
}

/* 좌우 레이아웃 */
.greeting-wrap {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}


.greeting-text .slogan span {
  color: #f57c00;
}


/* 서명 */
.signature {
  margin-top: 30px;
  font-size: 14px;
}




.greeting-image img {
  width: 100%;
  border-radius: 50%;
  border: 6px solid #eee;
}

.sub-visual {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.sub-visual-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.sub-visual-inner img {
  width: 600px;     /* ← 여기서 조절 */
  max-width: none;
  height: auto;
  display: block;
}

.greeting {
  padding: 80px 0;
}

.greeting-wrap {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}

/* LEFT */
.greeting-left {
  width: 65%;
}

.greeting-left .slogan {
  margin-bottom: 30px;
}

.greeting-text {
  font-size: 20px;
  line-height: 1.9;
  color: #333;
}

.greeting-text p {
  margin-bottom: 0px;
}

.signature {
  margin-top: 40px;
  font-size: 30px;
}

/* RIGHT */
.greeting-right {
  width: 520px;
  display: flex;
  justify-content: center;
}

/* 메인 이미지 */
.greeting-photo {
  width: 520px;
  height: 680px;                 /* ← 세로 여유를 줘야 안 잘림 */

  background-image: url("../images/introduce/greeting/greeting_sub1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;      /* ← 핵심 */

  background-color: #fff;        /* 여백 흰색 */
}

/* ================================
   COMPANY HISTORY
================================ */

.history {
  padding: 90px 0;
}

.history .page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 60px;
}

/* 연혁 테이블 */
.history-table {
  max-width: 900px;
  margin: 0 auto;
}

/* 한 줄 */
.history-row {
  display: flex;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}

/* 연도 */
.history-row .year {
  width: 120px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

/* 내용 */
.history-row .content {
  text-align: left;
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}

/* 월 표시 */
.history-row .content .month {
  display: inline-block;
  width: 32px;
  font-weight: 700;
  color: #ff6000;
}

/* 여러 줄일 때 간격 */
.history-row .content p {
  text-align: left; 
  margin-bottom: 6px;
}

.history-row .content p:last-child {
  margin-bottom: 0;
}
/* ================================
   LOCATION
================================ */

.location {
  padding: 90px 0;
}

.location .page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 60px;
}

/* 한 본사 박스 */
.location-box {
  display: flex;
  gap: 40px;
  margin-bottom: 70px;
  align-items: flex-start;
}

/* 지도 */
.location-box .map {
  width: 55%;
}

.location-box .map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* 정보 */
.location-box .info {
  width: 45%;
  text-align: left;
}

.location-box .info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.location-box .info p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.location-box .info strong {
  display: inline-block;
  width: 60px;
  color: #222;
}

/* ===== LOCATION INFO BOX (글씨 포장) ===== */

.location-box .info {
  width: 45%;
  text-align: left;

  /* ⬇ 포장 핵심 */
  background: #fafafa;
  border: 1px solid #e5e5e5;
  padding: 30px 32px;
  box-sizing: border-box;
}

/* 제목 */
.location-box .info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff6000;
}

/* 내용 */
.location-box .info p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}

/* 라벨 */
.location-box .info strong {
  display: inline-block;
  width: 60px;
  color: #222;
}

/* ================================
   CATALOG
================================ */

.catalog {
  padding: 90px 0;
}

.catalog .page-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 60px;
}

.catalog-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.catalog-item {
  text-decoration: none;
  color: #222;
  text-align: center;
}

.catalog-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid #ddd;
  background: #f8f8f8;
}

.catalog-item p {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
}

/* hover */
.catalog-item:hover img {
  border-color: #ff6000;
}

/* ================================
   LICENSE
================================ */

.license {
  padding: 90px 0;
}

.license .page-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 70px;
}

.license-group {
  max-width: 1200px;
  margin: 0 auto 90px;
}

.license-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
  border-left: 4px solid #ff6000;
  padding-left: 12px;
}

/* 이미지 그리드 */
.license-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.license-item {
  text-align: center;
}

.license-item img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border: 1px solid #ddd;
  background: #fff;
}

.license-item p {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}
.catalog h2.page-title {
  text-align: left;
}
.license h2.page-title {
  text-align: left;
}

/* ===============================
   SUB VISUAL
================================ */
.sub-visual {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.sub-visual-text {
  position: relative;
  text-align: center;
  color: #fff;
}

.sub-visual-text h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 700;
}

.sub-visual-text p {
  font-size: 16px;
  opacity: 0.9;
}


/* ===============================
   PERFORMANCE INTRO
================================ */
.performance-intro {
  padding: 60px 20px 30px;
  text-align: center;
}

.performance-intro h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.performance-intro .year {
  font-size: 15px;
  color: #777;
}


/* ===============================
   TEXT PERFORMANCE LIST
================================ */
.performance-text {
  padding: 30px 20px 60px;
}

.performance-text ul {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 10px 30px;
}

.performance-text li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
}

.performance-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff6000;
}

.performance-text li strong {
  color: #000;
}


/* ===============================
   PERFORMANCE IMAGE GRID
================================ */
.performance-image {
  padding: 70px 20px;
  background: #f7f7f7;
}

.performance-image h3 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 40px;
}

.performance-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.performance-grid figure {
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.performance-grid figure:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.performance-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.performance-grid figcaption {
  padding: 12px;
  font-size: 14px;
  text-align: center;
  background: #fff;
}


/* ===== RESET ===== */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: "Noto Sans KR", Arial, sans-serif;
  color:#333;
  line-height:1.6;
}

/* ===== HEADER ===== */
.header {
  border-bottom:1px solid #eee;
  background:#fff;
}
.header-top {
  max-width:1200px;
  margin:0 auto;
  padding:10px 20px;
  display:flex;
  align-items:center;
}
.logo img { height:40px; }
.gnb { display:flex; margin-left:40px; }
.gnb a {
  padding:0 14px;
  font-size:15px;
  text-decoration:none;
  color:#111;
}
.gnb a.active { color:#ff6000; font-weight:600; }
.header-contact img { height:40px; margin-left:auto; }

/* ===== SUB VISUAL ===== */
.sub-visual {
  height:280px;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.sub-visual::before {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}
.sub-visual-text {
  position:relative;
  color:#fff;
  text-align:center;
}
.sub-visual-text h2 { font-size:34px; }
.sub-visual-text p { margin-top:8px; }

/* ===== CONTENT ===== */
.container {
  max-width:1200px;
  margin:0 auto;
}
.fire-content { padding:70px 20px; }
.fire-content h3 { font-size:28px; margin-bottom:15px; }
.fire-intro { font-weight:600; margin-bottom:15px; }
.fire-desc { color:#000000; }

/* ===== GALLERY ===== */
.fire-gallery {
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
  gap:20px;
}
.fire-gallery figure {
  border:1px solid #ddd;
  background:#fff;
}
.fire-gallery img {
  width:100%;
  height:180px;
  object-fit:cover;
}
.fire-gallery figcaption {
  padding:10px;
  text-align:center;
  font-size:14px;
}

/* ===============================
   FIRE LAW SECTION (시공신고대상)
================================ */

.fire-section-title {
  margin-top: 50px;
  font-size: 20px;
  font-weight: 700;
}

.fire-law-box {
  margin-top: 15px;
}

.fire-law-item {
  font-size: 15px;
  font-weight: 600;
  color: #ff6000;
  margin: 18px 0 6px;
}

.fire-law-sub {
  background: #ffffff;
  color: #000000;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ===============================
   소방시설공사 본문 좌측 정렬
================================ */

.fire-content {
  text-align: left;
}

.fire-content h3,
.fire-content h4,
.fire-content p,
.fire-content ul,
.fire-content li,
.fire-law-box,
.fire-law-main,
.fire-law-sub {
  text-align: left;
}


/* ===============================
   소방시설점검 페이지
================================ */

.inspection-content {
  padding: 70px 20px;
}

.inspection-content h3 {
  font-size: 26px;
  margin-bottom: 30px;
}

.inspection-desc {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== 점검 표 ===== */
.inspection-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.inspection-table th,
.inspection-table td {
  border: 1px solid #ddd;
  padding: 14px;
  font-size: 14px;
  vertical-align: top;
}

.inspection-table th {
  background: #222;
  color: #fff;
  text-align: center;
}

.inspection-table td {
  background: #fafafa;
}

/* ===============================
   SUB TAB MENU (inspection)
================================ */

.sub-tab {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ddd;
  margin-top: 20px;
}

.sub-tab .tab-item {
  padding: 14px 30px;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.sub-tab .tab-item:hover {
  color: #ff6000;
}

.sub-tab .tab-item.active {
  color: #ff6000;
  font-weight: 600;
  border-bottom: 3px solid #ff6000;
}

/* ===============================
   INSPECTION CONTENT ALIGN FIX
================================ */

.inspection-content,
.inspection-content * {
  text-align: left;
}

/* =====================================
   INSPECTION / MONTH PAGE COMMON
===================================== */

/* 전체 본문 좌측 정렬 강제 */
.inspection-content,
.inspection-content * {
  text-align: left;
  box-sizing: border-box;
}

/* 페이지 제목 */
.inspection-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center; /* 제목만 가운데 */
}

/* 소제목 */
.inspection-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 40px 0 15px;
  position: relative;
  padding-left: 12px;
}

.inspection-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 14px;
  background: #ff6a00;
}

/* 설명 문단 */
.inspection-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

/* 리스트 */
.inspection-content ul {
  margin: 10px 0 20px 18px;
  padding: 0;
}

.inspection-content li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* =====================================
   TABLE (원본 jeil9119 스타일)
===================================== */

.inspection-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 13px;
}

.inspection-content th {
  background: #222;
  color: #fff;
  padding: 12px 10px;
  border: 1px solid #333;
  text-align: center;
}

.inspection-content td {
  padding: 12px 10px;
  border: 1px solid #ddd;
  vertical-align: top;
  line-height: 1.6;
}

/* 첫번째 컬럼 중앙 */
.inspection-content td:first-child {
  text-align: center;
  font-weight: 600;
}

/* =====================================
   IMAGE GRID (inspection / month)
===================================== */

.inspection-photo {
  margin-top: 40px;
}

.inspection-photo h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.photo-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.photo-item {
  text-align: center;
}

.photo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.photo-item p {
  margin-top: 8px;
  font-size: 13px;
  color: #333;
}

/* =====================================
   PDF / FILE LINK
===================================== */

.file-link {
  margin: 20px 0;
}

.file-link a {
  display: inline-block;
  font-size: 14px;
  color: #333;
  padding-left: 22px;
  background: url("../images/icon_file.png") no-repeat left center;
  background-size: 16px;
}

/* =====================================
   SUB MENU (소방시설점검 / 월방화관리)
===================================== */

.sub-tab {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  border-bottom: 1px solid #eee;
}

.sub-tab a {
  padding: 10px 0;
  font-size: 15px;
  color: #666;
  text-decoration: none;
}

.sub-tab a.active {
  color: #ff6a00;
  font-weight: 600;
  border-bottom: 2px solid #ff6a00;
}

/* ===============================
   FILE DOWNLOAD (COMPACT)
================================ */

.inspection-files {
  max-width: 1200px;
  margin: 15px auto 0;   /* ← 위 여백 줄임 */
}

.file-box {
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 8px 12px;     /* ← 핵심: padding 줄임 */
  margin-bottom: 6px;   /* ← 박스 간격 최소화 */
}

.file-box a {
  display: flex;
  align-items: center;
  gap: 8px;              /* ← 아이콘/텍스트 간격 */
  font-size: 13px;
  line-height: 1.4;      /* ← 줄 간격 축소 */
  color: #333;
  text-decoration: none;
}

/* 아이콘 */
.file-icon {
  min-width: 34px;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  border-radius: 2px;
  color: #fff;
}

.file-icon.pdf {
  background: #d32f2f;
}

.file-icon.hwp {
  background: #2e7d32;
}


/* ===============================
   SPACING FIX (INSPECTION)
================================ */

/* 표 아래 여백 줄이기 */
.inspection-table {
  margin-bottom: 0px;
}

/* 다운로드 영역 위아래 여백 최소화 */
.inspection-files {
  margin: 10px auto 20px;
}

/* 다운로드 박스 간격 */
.file-box {
  margin-bottom: 6px;
}

/* ===============================
   INSPECTION PHOTO FINAL TUNE
================================ */

/* 사진 섹션 제목 간격 */
.section-title {
  margin: 30px auto 15px;
  max-width: 1200px;
  font-size: 20px;
  font-weight: 700;
}

/* 사진 전체 래퍼 */
.inspection-photo-wrap {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* 사진 카드 */
.photo-item {
  border: 1px solid #ddd;
  padding: 8px;
  background: #fff;
}

/* 사진 크기 통일 (핵심) */
.photo-item img {
  width: 100%;
  height: 150px;          /* ← 여기서 크기 통일 */
  object-fit: cover;
  display: block;
}

/* 사진 설명 */
.photo-item p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: #333;
}

/* ===============================
   소방완비증명 절차 박스
================================ */

.process-wrap {
  max-width: 1200px;
  margin: 20px auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.process-box {
  width: 220px;
  height: 90px;
  border: 1px solid #ddd;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.process-box strong {
  font-weight: 600;
}

.process-arrow {
  font-size: 22px;
  color: #ff6a00;
  font-weight: bold;
}

/* ===== SUB TAB ===== */
.sub-tab {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #eee;
}

.sub-tab .tab-item {
  padding: 14px 30px;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  position: relative;
}

.sub-tab .tab-item.active {
  color: #ff6a00;
  font-weight: 600;
}

.sub-tab .tab-item.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: #ff6a00;
}

/* ===== TAB CONTENT ===== */
.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}
.process-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.process-box {
  border: 1px solid #ddd;
  padding: 12px 16px;
  background: #fafafa;
  font-size: 14px;
  min-width: 140px;
  text-align: center;
}

.arrow {
  font-size: 18px;
  color: #999;
}

.inspection-list li {
  margin-bottom: 6px;
  line-height: 1.6;
}


/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans KR", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* =========================
   HEADER
========================= */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  height: 70px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
}

.gnb {
  display: flex;
  margin-left: 40px;
}

.gnb a {
  padding: 0 14px;
  line-height: 70px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.gnb a:hover {
  color: #ff6000;
}

.header-contact img {
  height: 42px;
}

/* =========================
   SUB VISUAL
========================= */
.sub-visual {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.sub-visual-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* =========================
   SUB TAB
========================= */
.sub-tab {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}

.sub-tab .tab-item {
  padding: 16px 28px;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.sub-tab .tab-item.active {
  color: #ff6000;
  border-bottom: 2px solid #ff6000;
  font-weight: 600;
}

/* =========================
   CONTENT COMMON
========================= */
.inspection-content {
  padding-bottom: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.fire-title {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-left: 12px;
}

.inspection-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.inspection-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
}

.inspection-list li {
  margin-bottom: 6px;
}

/* =========================
   PROCESS BOX
========================= */
.process-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0 40px;
}

.process-box {
  border: 1px solid #ddd;
  padding: 14px 16px;
  min-width: 150px;
  text-align: center;
  background: #fafafa;
  font-size: 14px;
}

.process-arrow {
  font-size: 20px;
  color: #ff6000;
}

/* =========================
   TABLE
========================= */
.inspection-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 40px;
}

.inspection-table th,
.inspection-table td {
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 14px;
  vertical-align: top;
}

.inspection-table th {
  width: 60px;
  background: #222;
  color: #fff;
  text-align: center;
}

/* =========================
   PHOTO GRID
========================= */
.inspection-photo-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0 60px;
}

.photo-item {
  border: 1px solid #ddd;
  background: #fff;
  text-align: center;
}

.photo-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.photo-item p {
  padding: 8px;
  font-size: 14px;
  background: #fafafa;
}

/* =========================
   DESIGN FIELD (설계업)
========================= */
.design-field-wrap {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.design-field {
  flex: 1;
  border: 1px solid #ddd;
  padding: 20px;
}

.design-field h5 {
  font-size: 16px;
  margin-bottom: 10px;
}

.design-field ul {
  list-style: disc;
  padding-left: 18px;
}

.design-field li {
  font-size: 14px;
  margin-bottom: 6px;
}



.notice-table td {
  text-align: center;
}

.notice-title {
  text-align: left;
}

.notice-title a {
  color: #222;
  text-decoration: none;
}

.notice-title a:hover {
  color: #ff6000;
  text-decoration: underline;
}

/* ===== 공지사항 ===== */
.info-content {
  padding: 60px 0;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

/* 테이블 */
.notice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

/* 헤더 */
.notice-table thead th {
  background: #222;
  color: #fff;
  font-weight: 500;
  padding: 12px 8px;
  border: 1px solid #333;
  text-align: center;
}

/* 바디 */
.notice-table tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
  color: #333;
}

/* 제목 칼럼 */
.notice-table td.title {
  text-align: left;
}

.notice-table td.title a {
  color: #1a4fd8;
  text-decoration: none;
}

.notice-table td.title a:hover {
  text-decoration: underline;
}

/* 컬럼 폭 (기존 사이트 비율 맞춤) */
.col-no { width: 80px; }
.col-title { width: auto; }
.col-writer { width: 140px; }
.col-date { width: 140px; }
.col-hit { width: 100px; }

/* hover */
.notice-table tbody tr:hover {
  background: #f9f9f9;
}

/* ===== FOOTER (FINAL) ===== */
.footer {
  background: #222;
  color: #ccc;
  font-size: 13px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.footer-top {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-top a {
  color: #aaa;
  text-decoration: none;
  font-size: 12px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-info {
  line-height: 1.6;
}

.footer-side {
  text-align: left;
}

.footer-side strong {
  display: block;
  margin-bottom: 8px;
  color: #ff6000;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 12px;
  color: #777;
}

/* ===== FOOTER BANNER CENTER FIX ===== */
.footer-banner {
  width: 100%;
  display: flex;
  justify-content: center;   /* 가로 중앙 */
  align-items: center;       /* 세로 중앙 (필요시) */
  background: #fff;
}

.footer-banner img {
  display: block;
  max-width: 1200px;   /* 기존 레이아웃과 동일 */
  width: 100%;
  height: auto;
  margin: 0 auto;      /* 이중 안전장치 */
}

/* =================================================
   MOBILE STYLE (≤768px)
   붙여넣기 전용 – 기존 CSS 수정 불필요
================================================= */
@media (max-width: 768px) {

/* ===== COMMON ===== */
body {
  font-size: 14px;
}

section {
  padding: 60px 16px;
}

.container {
  padding: 0 16px;
}

/* ===== HEADER ===== */
.header-top {
  height: auto;
  padding: 10px 16px;
  flex-wrap: wrap;
}

.logo img {
  height: 34px;
}

.gnb {
  width: 100%;
  margin: 12px 0 0;
  justify-content: space-between;
}

.gnb a {
  padding: 8px 4px;
  font-size: 14px;
  line-height: 1.2;
}

.header-contact {
  display: none;
}

/* ===== MAIN VISUAL ===== */
.main-visual {
  height: 420px;
}

.visual-text h2 {
  font-size: 30px;
}

.visual-text p {
  font-size: 15px;
}

.visual-text strong {
  font-size: 18px;
}

/* ===== BUSINESS ===== */
.business-list {
  flex-direction: column;
  gap: 30px;
}

.biz-card {
  width: 100%;
}

/* ===== MACHINE / INFO COMM ===== */
.machine-box,
.info-comm-box {
  padding: 40px 20px;
}

.machine h2,
.info-comm h2 {
  font-size: 22px;
}

/* ===== BANNER / DIRECT / MAINTENANCE ===== */
.banner,
.direct,
.maintenance {
  height: auto;
  padding: 80px 16px;
}

.direct-inner {
  text-align: center;
}

.direct h2 {
  font-size: 22px;
}

/* ===== GRID SYSTEM (2 COLUMN) ===== */
.cert-wrap,
.catalog-grid,
.license-grid,
.performance-grid,
.inspection-photo-wrap,
.photo-list {
  grid-template-columns: repeat(2, 1fr);
}

/* ===== GREETING / LOCATION ===== */
.greeting-wrap,
.location-box {
  flex-direction: column;
}

.greeting-left,
.greeting-right,
.location-box .map,
.location-box .info {
  width: 100%;
}

.greeting-photo {
  width: 100%;
  height: 420px;
}

/* ===== TABLE ===== */
table {
  font-size: 13px;
}

.inspection-table th,
.inspection-table td {
  padding: 10px;
}

.col-writer,
.col-hit {
  display: none;
}

/* ===== SUB MENU ===== */
.sub-menu ul {
  flex-direction: column;
}

.sub-menu li a {
  padding: 14px;
  font-size: 16px;
}

/* ===== SUB TAB ===== */
.sub-tab {
  gap: 20px;
  flex-wrap: wrap;
}

.sub-tab .tab-item {
  padding: 12px 16px;
  font-size: 14px;
}

/* ===== FOOTER ===== */
.footer-main {
  flex-direction: column;
  gap: 20px;
}

.footer-side {
  text-align: left;
}

}

/* =================================================
   SMALL MOBILE (≤480px)
================================================= */
@media (max-width: 480px) {

.visual-text h2 {
  font-size: 26px;
}

.visual-text p {
  font-size: 14px;
}

.visual-text strong {
  font-size: 16px;
}

/* GRID → 1 COLUMN */
.cert-wrap,
.catalog-grid,
.license-grid,
.performance-grid,
.inspection-photo-wrap,
.photo-list {
  grid-template-columns: 1fr;
}

.gnb a {
  font-size: 13px;
  padding: 6px 4px;
}

}
