/* Left sidebar menu (text version) */
.lm-wrap {
  width: 180px;
  font-family: "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
}

.lm-title {
  padding: 18px 16px 16px;
  border-bottom: 2px solid #296FCF;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
/* 타이틀 하단 라인이 좌->우로 그려지는 효과 */
.lm-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #296FCF;
  transform: scaleX(0);
  transform-origin: left center;
  animation: lmLine .5s cubic-bezier(.6,.2,.1,1) .05s both;
}
.lm-title .eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 4px;
}
.lm-title .name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #296FCF;
  line-height: 1.1;
}

.lm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e3e3e3;
  border-top: none;
  background: #ffffff;
}
.lm-list li { margin: 0; padding: 0; }
.lm-list li + li { border-top: 1px solid #ececec; }

.lm-list a {
  display: block;
  padding: 16px 14px 16px 18px;
  font-size: 13px;
  color: #777;
  text-decoration: none;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color .25s ease, padding-left .25s ease;
}

/* 좌->우로 서서히 채워지는 배경 레이어 */
.lm-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f4f8ff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.6,.2,.1,1), background-color .2s ease;
  z-index: -1;
}

/* 우측 화살표 */
.lm-list a::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  color: #ccc;
  font-size: 16px;
  transform: translateY(-50%);
  transition: color .25s ease, right .25s ease;
}

/* Hover (비활성) - 연한 파랑이 좌->우로 채워지면서 글자/화살표 색상 변경 */
.lm-list a:hover {
  color: #296FCF;
  padding-left: 22px;
}
.lm-list a:hover::before {
  transform: scaleX(1);
  background: #f4f8ff;
}
.lm-list a:hover::after {
  color: #296FCF;
  right: 10px;
}

/* Active = 현재 페이지: 진한 파랑이 좌->우로 채워지는 진입 애니메이션 */
.lm-list li.active > a {
  color: #ffffff;
  font-weight: 600;
}
.lm-list li.active > a::before {
  background: #296FCF;
  transform: scaleX(1);
  animation: lmFill .5s cubic-bezier(.6,.2,.1,1) both;
}
/* 화살표는 채움이 끝난 뒤 살짝 통통 펄스 */
.lm-list li.active > a::after {
  color: #ffffff;
  animation: lmArrowPulse 1.5s ease-in-out .5s infinite;
}

/* Active + hover: 더 진한 파랑으로 부드럽게 전환 */
.lm-list li.active > a:hover::before {
  background: #1f5bb5;
}
.lm-list li.active > a:hover {
  padding-left: 22px;
}
.lm-list li.active > a:hover::after {
  right: 10px;
}

/* Keyframes */
@keyframes lmFill {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes lmArrowPulse {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 1; }
  50%      { transform: translateY(-50%) translateX(4px); opacity: .8; }
}
@keyframes lmLine {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* ===== Index hero slider (main_vis.jpg <-> 2.jpg) ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 470px;
  overflow: hidden;
  background: #ffffff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: opacity, transform;
}
.hero-slide-1 {
  background-image: url('./images/main_vis.jpg');
  animation:
    heroFade1 12s ease-in-out infinite,
    heroKen1 12s ease-in-out infinite;
}
.hero-slide-2 {
  background-image: url('./images/2.jpg');
  background-position: center 75%;
  animation:
    heroFade2 12s ease-in-out infinite,
    heroKen2 12s ease-in-out infinite;
}

@keyframes heroFade1 {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes heroFade2 {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

/* Ken Burns: subtle zoom in/out for each slide while it's visible */
@keyframes heroKen1 {
  0%   { transform: scale(1.00); }
  45%  { transform: scale(1.07); }
  50%  { transform: scale(1.07); }
  100% { transform: scale(1.00); }
}
@keyframes heroKen2 {
  0%   { transform: scale(1.07); }
  45%  { transform: scale(1.07); }
  50%  { transform: scale(1.00); }
  100% { transform: scale(1.07); }
}

/* Hover pauses everything */
.hero-slider:hover .hero-slide,
.hero-slider:hover .hero-dot::after,
.hero-slider:hover .hero-progress::after {
  animation-play-state: paused;
}

/* Bottom progress bar */
.hero-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255,255,255,0.18);
  z-index: 2;
  overflow: hidden;
}
.hero-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: #296FCF;
  transform: scaleX(0);
  transform-origin: left center;
  animation: heroProgress 12s linear infinite;
}
@keyframes heroProgress {
  0%   { transform: scaleX(0); }
  50%  { transform: scaleX(1); }
  50.01% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.hero-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffffff;
  transform: scale(0);
  transform-origin: center;
}
.hero-dot-1::after { animation: heroDot1 12s ease-in-out infinite; }
.hero-dot-2::after { animation: heroDot2 12s ease-in-out infinite; }

@keyframes heroDot1 {
  0%, 45% { transform: scale(1); }
  50%, 100% { transform: scale(0); }
}
@keyframes heroDot2 {
  0%, 45% { transform: scale(0); }
  50%, 95% { transform: scale(1); }
  100% { transform: scale(0); }
}

/* ===== About us page ===== */
.about-page {
  text-align: left;
  width: 763px;
}
.about-page .eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #296FCF;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-page h2 {
  font-size: 34px;
  font-weight: 800;
  color: #222;
  margin: 0 0 20px 0;
  line-height: 1;
  letter-spacing: -0.5px;
}
.about-page h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #296FCF;
  margin-top: 14px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: aboutBar .6s cubic-bezier(.4,.1,.2,1) .25s both;
}

/* Hero (left text + right image) */
.about-hero {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin: 28px 0 44px 0;
}
.about-hero-text {
  flex: 1;
  display: flex;
  align-items: center;
}
.about-hero-image {
  flex: 0 0 300px;
  position: relative;
  align-self: stretch;
  min-height: 320px;
}
.about-hero-image::before {
  content: "";
  position: absolute;
  left: -14px;
  top: -14px;
  right: 14px;
  bottom: 14px;
  background: linear-gradient(135deg, #296FCF 0%, #1f5bb5 100%);
  border-radius: 6px;
  z-index: 0;
  opacity: 0;
  transform: translate(6px, 6px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.4,.1,.2,1);
}
.about-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  transition: transform .5s ease, box-shadow .35s ease;
}
.about-hero:hover .about-hero-image::before {
  opacity: .22;
  transform: translate(0, 0);
}
.about-hero:hover .about-hero-image img {
  transform: translate(-2px, -2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

.about-intro {
  font-size: 20px;
  line-height: 1.7;
  color: #333;
  margin: 0;
  font-weight: 400;
}
.about-intro strong {
  color: #296FCF;
  font-weight: 700;
}

/* Stat cards */
.about-stats {
  display: flex;
  gap: 14px;
  margin: 0 0 44px 0;
}
.about-stat {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.about-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #296FCF;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .35s cubic-bezier(.4,.1,.2,1);
}
.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(41, 111, 207, 0.12);
  border-color: #c7d8ee;
}
.about-stat:hover::before { transform: scaleY(1); }
.about-stat .stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #296FCF;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.about-stat .stat-label {
  display: block;
  font-size: 11px;
  color: #888;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.about-stat .stat-extra {
  display: block;
  font-size: 13px;
  color: #444;
  margin-top: 6px;
  font-weight: 500;
}

/* Big quote */
.about-quote {
  position: relative;
  padding: 4px 0 4px 24px;
  margin: 0 0 28px 0;
  font-size: 17px;
  line-height: 1.7;
  color: #222;
  font-weight: 500;
  border-left: 3px solid #296FCF;
}
.about-quote::before {
  content: "";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0;
}

/* Body text */
.about-text {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  max-width: 720px;
}
.about-text p { margin: 0; }
.about-text .signature {
  margin-top: 16px;
  font-size: 13px;
  color: #999;
  letter-spacing: 1px;
}

/* Reveal animation */
.about-page > * {
  opacity: 0;
  transform: translateY(14px);
  animation: aboutIn .55s cubic-bezier(.4,.1,.2,1) both;
}
.about-page > *:nth-child(1) { animation-delay: .05s; }
.about-page > *:nth-child(2) { animation-delay: .12s; }
.about-page > *:nth-child(3) { animation-delay: .22s; }
.about-page > *:nth-child(4) { animation-delay: .32s; }
.about-page > *:nth-child(5) { animation-delay: .42s; }
.about-page > *:nth-child(6) { animation-delay: .52s; }

@keyframes aboutIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes aboutBar {
  to { transform: scaleX(1); }
}

/* ===== Customer Center: Notice page ===== */
.notice-page {
  text-align: left;
  width: 763px;
}
.notice-page .eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #296FCF;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.notice-page h2 {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin: 0 0 28px 0;
  line-height: 1;
  letter-spacing: -0.5px;
}
.notice-page h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #296FCF;
  margin-top: 14px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: aboutBar .6s cubic-bezier(.4,.1,.2,1) .2s both;
}
.notice-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #333;
  border-bottom: 1px solid #ddd;
  margin-top: 6px;
}
.notice-table thead th {
  padding: 14px 10px;
  background: #fafafa;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-bottom: 1px solid #e3e3e3;
}
.notice-table tbody td {
  padding: 16px 10px;
  font-size: 13px;
  color: #444;
  border-bottom: 1px solid #ececec;
  vertical-align: middle;
}
.notice-table tbody tr {
  transition: background-color .15s ease;
  cursor: pointer;
}
.notice-table tbody tr:hover { background: #f4f8ff; }
.notice-table .col-no { width: 60px; text-align: center; color: #999; }
.notice-table .col-date { width: 100px; text-align: center; color: #888; font-size: 12px; }
.notice-table .col-views { width: 70px; text-align: center; color: #888; font-size: 12px; }
.notice-table .col-title { color: #222; font-weight: 500; }
.notice-table .col-title:hover { color: #296FCF; }
.notice-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  background: #296FCF;
  color: #ffffff;
  border-radius: 3px;
  margin-right: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  vertical-align: middle;
  text-transform: uppercase;
}
/* Accordion arrow */
.col-title-arrow {
  display: inline-block;
  margin-left: 8px;
  color: #c5c5c5;
  font-size: 16px;
  transition: transform .25s ease, color .2s ease;
  vertical-align: middle;
}
.notice-row.active .col-title-arrow {
  transform: rotate(90deg);
  color: #296FCF;
}
.notice-row.active { background: #f4f8ff; }
.notice-row.active .col-title { color: #296FCF; }

/* Detail row */
.notice-detail td {
  padding: 0 !important;
  border-bottom: 1px solid #ececec;
  background: #fafbfd;
}
.notice-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 13px;
  color: #444;
  line-height: 1.75;
  transition: max-height .4s ease, padding .3s ease;
}
.notice-detail.open .notice-body {
  max-height: 600px;
  padding: 22px 22px 24px;
  border-left: 3px solid #296FCF;
}
.notice-body p { margin: 0; }
.notice-body p + p { margin-top: 10px; }

/* ===== Customer Center: Inquiry form ===== */
.inquiry-page {
  text-align: left;
  width: 763px;
}
.inquiry-page .eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #296FCF;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.inquiry-page h2 {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin: 0 0 24px 0;
  line-height: 1;
  letter-spacing: -0.5px;
}
.inquiry-page h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #296FCF;
  margin-top: 14px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: aboutBar .6s cubic-bezier(.4,.1,.2,1) .2s both;
}
.inquiry-intro {
  font-size: 13.5px;
  color: #444;
  line-height: 1.75;
  margin: 0 0 28px 0;
  padding: 16px 20px;
  background: #f4f8ff;
  border-left: 3px solid #296FCF;
  border-radius: 0 4px 4px 0;
}
.inquiry-intro strong { color: #296FCF; }
.inquiry-form { width: 100%; }
.inquiry-row { display: flex; gap: 16px; }
.inquiry-row .inquiry-field { flex: 1; }
.inquiry-field { margin-bottom: 18px; }
.inquiry-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #444;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.inquiry-field label .req { color: #e94336; margin-left: 3px; }
.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}
.inquiry-field input:focus,
.inquiry-field textarea:focus {
  outline: none;
  border-color: #296FCF;
  box-shadow: 0 0 0 3px rgba(41, 111, 207, 0.12);
}
.inquiry-field textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.6;
}
.inquiry-actions { margin-top: 28px; }
.inquiry-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: #296FCF;
  color: #ffffff;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease, box-shadow .25s ease;
  font-family: inherit;
}
.inquiry-submit::after {
  content: "→";
  display: inline-block;
  transition: transform .2s ease;
}
.inquiry-submit:hover {
  background: #1f5bb5;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(41, 111, 207, 0.25);
}
.inquiry-submit:hover::after { transform: translateX(4px); }
.inquiry-submit:active { transform: translateY(0); box-shadow: none; }
.inquiry-note {
  margin-top: 16px;
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}

/* Honeypot - 화면에서 숨기되 봇은 채울 수 있게 */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Success state (after submit) */
.inquiry-success {
  text-align: center;
  padding: 48px 24px;
  background: #f4f8ff;
  border: 1px solid #c7d8ee;
  border-radius: 8px;
  animation: aboutIn .5s cubic-bezier(.4,.1,.2,1) both;
}
.inquiry-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  background: #296FCF;
  color: #ffffff;
  border-radius: 50%;
  font-size: 30px;
  line-height: 64px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(41, 111, 207, 0.25);
}
.inquiry-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0 0 12px 0;
}
.inquiry-success p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 24px 0;
}
.inquiry-back {
  display: inline-block;
  padding: 11px 24px;
  background: #296FCF;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background-color .2s ease, transform .15s ease;
}
.inquiry-back:hover {
  background: #1f5bb5;
  transform: translateY(-1px);
}

/* Error banner */
.inquiry-error {
  background: #fef2f2;
  border-left: 3px solid #e94336;
  padding: 14px 18px;
  margin-bottom: 22px;
  color: #c62828;
  font-size: 13px;
  border-radius: 0 4px 4px 0;
  animation: aboutIn .35s ease both;
}

/* ===== History page (timeline) ===== */
.history-page {
  text-align: left;
  width: 763px;
}
.history-page h2 {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin: 0 0 36px 0;
  line-height: 1;
  letter-spacing: -0.5px;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  position: relative;
}
.history-list::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #d8e3f0;
}

.history-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(-12px);
  animation: histIn .55s cubic-bezier(.4,.1,.2,1) both;
}
.history-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #296FCF;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #d8e3f0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.history-list li:hover::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #296FCF;
}

.history-list .hist-year {
  display: inline-block;
  min-width: 80px;
  font-weight: 700;
  color: #222;
  margin-right: 12px;
}
.history-list .hist-desc { color: #555; }

.history-list li:nth-child(1) { animation-delay: .05s; }
.history-list li:nth-child(2) { animation-delay: .15s; }
.history-list li:nth-child(3) { animation-delay: .25s; }
.history-list li:nth-child(4) { animation-delay: .35s; }
.history-list li:nth-child(5) { animation-delay: .45s; }
.history-list li:nth-child(6) { animation-delay: .55s; }
.history-list li:nth-child(7) { animation-delay: .65s; }
.history-list li:nth-child(8) { animation-delay: .75s; }

@keyframes histIn {
  to { opacity: 1; transform: translateX(0); }
}

/* ===== Contact us page ===== */
.contact-page {
  text-align: left;
  width: 763px;
}
.contact-page h2 {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin: 0 0 28px 0;
  line-height: 1;
  letter-spacing: -0.5px;
}
.contact-info {
  margin-bottom: 24px;
  font-size: 13px;
  color: #555;
  line-height: 1.9;
}
.contact-info .company {
  font-weight: 700;
  color: #222;
  font-size: 16px;
  margin: 0 0 8px 0;
}
.contact-info p { margin: 0; }
.contact-info a {
  color: #296FCF;
  text-decoration: none;
  transition: color .2s ease;
}
.contact-info a:hover { text-decoration: underline; }

.contact-map {
  width: 100%;
  height: 420px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  overflow: hidden;
  background: #f7f7f7;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Footer (copyright) ===== */
.lm-footer {
  background: #f7f7f7;
  border-top: 1px solid #e3e3e3;
  padding: 32px 0;
  font-family: "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
}
.lm-footer-inner {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}
.lm-footer-brand {
  flex: 0 0 180px;
  line-height: 1;
}
.lm-footer-brand img {
  display: block;
  width: 170px;
  height: auto;
  opacity: 0.75;
  transition: opacity .2s ease;
}
.lm-footer-brand img:hover { opacity: 1; }
.lm-footer-info {
  flex: 1;
  font-size: 12px;
  color: #888;
  line-height: 1.9;
}
.lm-footer-info p { margin: 0; }
.lm-footer-info a {
  color: #888;
  text-decoration: none;
  transition: color .2s ease;
}
.lm-footer-info a:hover {
  color: #296FCF;
  text-decoration: underline;
}

/* ===========================================================
   Mobile (Phase 1: text content pages only)
   - About, History, Contact, Notice, Inquiry pages + Footer
   - Index hero/buttons & Business Area pages remain desktop layout
   =========================================================== */
@media (max-width: 768px) {
  /* Sub-page outer layout: sidebar + content → vertical stack */
  td:has(> .lm-wrap) {
    display: block;
    width: 100% !important;
    height: auto !important;
    padding: 16px 16px 0 !important;
    background-image: none !important;
    box-sizing: border-box;
  }
  td:has(.about-page),
  td:has(.history-page),
  td:has(.contact-page),
  td:has(.notice-page),
  td:has(.inquiry-page) {
    display: block;
    width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box;
  }
  /* Hide the 57px gap column on mobile */
  td[width="57"] { display: none; }

  /* Inner wrappers fluid */
  .lm-wrap,
  .about-page, .history-page, .contact-page,
  .notice-page, .inquiry-page {
    width: 100% !important;
    max-width: 100%;
  }

  /* Left menu becomes a horizontal scroll row of chips */
  .lm-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e3e3e3;
    border-top: 1px solid #e3e3e3;
  }
  .lm-list li { flex: 0 0 auto; }
  .lm-list li + li {
    border-top: none;
    border-left: 1px solid #ececec;
  }
  .lm-list a {
    padding: 14px 18px;
    white-space: nowrap;
    font-size: 13px;
  }
  .lm-list a::after { display: none; }
  .lm-list a:hover { padding-left: 18px; }
  .lm-title { padding: 14px 16px 12px; }
  .lm-title .name { font-size: 17px; }

  /* Headings */
  .about-page h2, .history-page h2, .contact-page h2,
  .notice-page h2, .inquiry-page h2 { font-size: 26px; }

  /* About — Hero stacked */
  .about-hero { flex-direction: column; gap: 22px; }
  .about-hero-image {
    flex: 0 0 auto;
    min-height: 240px;
    height: 240px;
    width: 100%;
  }
  .about-hero-image::before { left: -8px; top: -8px; right: 8px; bottom: 8px; }
  .about-intro { font-size: 17px; line-height: 1.65; }

  /* About — Stats stacked */
  .about-stats { flex-direction: column; gap: 10px; }

  /* About — Quote tighter */
  .about-quote { font-size: 15px; padding-left: 18px; }

  /* Contact — Map smaller */
  .contact-map { height: 320px; }

  /* Inquiry — form rows stack */
  .inquiry-row { flex-direction: column; gap: 0; }
  .inquiry-page h2 { margin-bottom: 18px; }

  /* Notice table — drop low-priority columns */
  .notice-table .col-no,
  .notice-table .col-views { display: none; }
  .notice-table .col-date {
    width: 88px;
    font-size: 11px;
  }
  .notice-table tbody td { padding: 14px 8px; }
  .notice-table .col-title { font-size: 13px; }
  .notice-badge { font-size: 9px; padding: 2px 5px; margin-right: 6px; }

  /* Footer stacked */
  .lm-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: auto;
    padding: 0 20px;
  }
  .lm-footer-brand { flex: 0 0 auto; }
  .lm-footer-brand img { width: 150px; }
  .lm-footer-info { font-size: 11.5px; line-height: 1.8; }
  .lm-footer { padding: 28px 0; }
}

/* Very small phones */
@media (max-width: 380px) {
  .about-page h2, .history-page h2, .contact-page h2,
  .notice-page h2, .inquiry-page h2 { font-size: 22px; }
  .about-intro { font-size: 15px; }
  .contact-map { height: 260px; }
  .lm-list a { padding: 12px 14px; font-size: 12px; }
}

/* 모션 줄이기 선호 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
  .lm-list a::before,
  .lm-list a::after,
  .lm-title::after,
  .lm-list li.active > a::before,
  .lm-list li.active > a::after {
    animation: none !important;
    transition: none !important;
  }
  .lm-list li.active > a::before { transform: scaleX(1); }
  .lm-title::after { transform: scaleX(1); }
}
