:root {
  --navy: #051428;
  --navy-2: #0a2c58;
  --green: #1d6fe8;
  --green-d: #1458c2;
  --gold: #f5c518;
  --blue: #1d6fe8;
  --cyan: #4cc3ff;
  --bg: #eef3f9;
  --ink: #102033;
  --muted: #5a6b80;
  --line: #d7e2ee;
  --white: #ffffff;
  --header-h: 78px;
  --max: 1180px;
  --shadow: 0 16px 40px rgba(5, 20, 40, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Pretendard, "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -40px; background: var(--green); color: #fff;
  padding: 8px 12px; z-index: 1000; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  position: relative;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 52px; width: auto; display: block; }

.gnb { margin-left: auto; }
.gnb-list {
  display: flex; align-items: center; gap: 4px; flex-wrap: nowrap;
  list-style: none; margin: 0; padding: 0;
}
.gnb-item { flex: 0 0 auto; }
.gnb-item > a {
  display: block;
  padding: 26px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.gnb-item.is-active > a,
.gnb-item > a:hover { color: var(--green); }
.gnb-item.has-sub { position: relative; }
.gnb-item.has-sub.mega-wide { position: static; }
.mega {
  position: absolute; top: calc(100% - 8px); left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
}
.mega a, .mega strong {
  display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px;
}
.mega strong { color: var(--navy); font-size: 13px; letter-spacing: .02em; }
.mega a:hover, .mega a.is-current { background: #edf4ff; color: var(--green-d); }
.mega-wide { position: static; }
.mega-grid {
  left: 24px;
  right: 24px;
  width: auto;
  transform: none;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 8px;
  padding: 18px;
}
.gnb-item:hover > .mega, .gnb-item:focus-within > .mega { display: grid; }
.gnb-item:hover > .mega:not(.mega-grid),
.gnb-item:focus-within > .mega:not(.mega-grid) { display: block; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.search-form {
  display: flex; align-items: center;
  background: var(--bg); border-radius: 999px; padding: 4px 4px 4px 14px;
}
.search-form input {
  border: 0; background: transparent; width: 120px; outline: none; font-size: 13px;
}
.search-form button {
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.btn-login {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy);
}
.btn-login:hover { border-color: var(--green); color: var(--green); }
.btn-menu {
  display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
  padding: 10px;
}
.btn-menu span {
  display: block; height: 2px; background: var(--navy); margin: 6px 0; border-radius: 2px;
}

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(29,111,232,.38), transparent 58%),
    radial-gradient(700px 420px at 8% 90%, rgba(12,70,160,.45), transparent 55%),
    linear-gradient(145deg, #04101f 0%, #08244d 52%, #0b3a78 100%);
  overflow: hidden;
}
.hero-slider { min-height: 560px; }
.hero-slider .slides { position: relative; min-height: 560px; }
.hero-slider .slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .7s ease;
  color: #fff;
}
.hero-slider .slide.is-active {
  opacity: 1; pointer-events: auto;
}
.hero-slider .slide > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-slider .slide::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(4,16,31,.88) 0%, rgba(8,36,77,.72) 48%, rgba(8,36,77,.38) 100%);
}
.hero-slider .hero-inner { padding: 92px 24px 120px; }
.hero-controls {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 2; display: flex; align-items: center; gap: 12px;
}
.hero-dots { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
}
.hero-dots button.is-on { background: #fff; width: 28px; border-radius: 999px; }
.hero-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(5,20,40,.35);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.hero-arrow:hover { background: rgba(29,111,232,.9); border-color: transparent; }
.hero-inner {
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 92px 24px 108px;
  position: relative;
  z-index: 1;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-d); font-weight: 700; font-size: 13px; letter-spacing: .08em;
}
.hero .kicker { color: var(--cyan); }
.hero h1 {
  margin: 12px 0 18px; font-size: clamp(32px, 4vw, 52px); line-height: 1.25; color: #fff;
  max-width: 760px;
}
.hero p.lead { margin: 0 0 28px; color: #c5d6ee; font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.values { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.value-chip {
  padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: 14px;
}
.value-chip em { font-style: normal; margin-left: 6px; }
.value-chip.easy em { color: var(--cyan); }
.value-chip.ent em { color: var(--gold); }
.value-chip.eff em { color: var(--green); }
.hero .value-chip {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: #e8f1ff;
}
.num {
  width: 28px; height: 28px; border-radius: 8px; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none;
}

.svc-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 16px;
}
.svc-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  min-height: 230px;
  color: #fff;
  isolation: isolate;
}
.svc-card.featured { grid-row: span 2; min-height: 476px; }
.svc-card.wide { grid-column: 2 / 4; }
.svc-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.03); transition: transform .45s ease;
}
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,16,36,.12) 10%, rgba(5,16,36,.86) 100%);
}
.svc-card:hover img { transform: scale(1.08); }
.svc-copy {
  position: relative; z-index: 1; height: 100%;
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
}
.svc-copy .num { margin-bottom: 10px; background: rgba(29,111,232,.95); }
.svc-copy h3 { margin: 0 0 8px; font-size: 24px; }
.svc-copy p { margin: 0; color: #d5e4f7; font-size: 14px; }
.svc-card.featured .svc-copy h3 { font-size: 32px; }
.svc-card.featured .svc-copy p { font-size: 16px; max-width: 420px; }

.section { padding: 72px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; gap: 16px; }
.section-head h2 { margin: 0; font-size: 28px; color: var(--navy); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section.alt { background: var(--bg); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: 0 1px 0 rgba(11,31,58,.02);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #e8f1ff; color: var(--green-d); font-weight: 800; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.biz-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.biz-tile {
  min-height: 220px; border-radius: 22px; padding: 28px; color: #fff; position: relative; overflow: hidden;
}
.biz-tile h3 { margin: 0 0 10px; font-size: 24px; }
.biz-tile p { margin: 0; opacity: .9; }
.biz-tile.pb { background: linear-gradient(145deg, #04101f, #0d4aa3); grid-row: span 2; min-height: 458px; }
.biz-tile.web { background: linear-gradient(145deg, #0a2c58, #1d6fe8); }
.biz-tile.mobile { background: linear-gradient(145deg, #08244d, #1394d8); }
.biz-tile.ncs { background: linear-gradient(145deg, #0b3a78, #4cc3ff); }

.biz-article .biz-visual {
  margin: 0 0 28px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #0a2c58;
  aspect-ratio: 21 / 9; max-height: 320px;
  box-shadow: 0 12px 30px rgba(5, 20, 40, 0.08);
}
.biz-article .biz-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.biz-article .biz-visual + .biz-intro {
  margin-top: 4px;
}

/* Refined business pages — original site materials */
.biz-intro {
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.biz-eyebrow {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.biz-intro h2 {
  margin: 0 0 12px !important;
  font-size: 28px;
  line-height: 1.35;
  color: var(--navy);
}
.biz-intro .biz-lead { margin: 0; max-width: 46rem; }
.biz-quote {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--green);
  background: linear-gradient(90deg, #f3f7fc, transparent);
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}
.biz-quote-strong {
  margin: 8px 0 28px;
  padding: 18px 22px;
  border-left-width: 4px;
  color: #1e293b;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}
.biz-doc {
  margin: 0 0 36px;
  padding: 18px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #fff 48%),
    radial-gradient(1200px 280px at 50% 0%, rgba(29, 111, 232, 0.08), transparent 70%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(5, 20, 40, 0.05);
}
.biz-doc img {
  display: block;
  width: auto;
  max-width: min(100%, 980px);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  image-rendering: -webkit-optimize-contrast;
}
.biz-doc.biz-doc-sm {
  padding: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.biz-doc.biz-doc-sm img {
  max-width: 100%;
  width: 100%;
}
.biz-develop-doc {
  max-width: 640px;
  margin-bottom: 0;
}
.biz-develop-doc img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #fff;
}
.biz-develop-block {
  max-width: 720px;
  margin: 0 auto 36px;
}
.biz-develop-note {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 16px 18px;
  border: 2px solid #5a9cdc;
  border-radius: 14px;
  background: #f7fbff;
  color: #1e293b;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.8;
  text-align: left;
  white-space: nowrap;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.biz-develop-block .biz-doc-caption {
  margin-top: 10px;
}
.biz-edu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin: 0 0 18px;
}
.biz-edu-grid-adv {
  margin-bottom: 28px;
}
.biz-edu-course {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.biz-edu-course h2 {
  margin: 0 0 10px !important;
  font-size: 20px;
  color: var(--navy);
}
.biz-edu-note {
  display: block;
  flex: 1;
  width: auto;
  max-width: none;
  margin: 0;
  white-space: normal;
  word-break: keep-all;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  padding: 16px 18px;
  box-sizing: border-box;
}
.biz-edu-note p {
  margin: 0 0 12px;
  color: #1e293b;
}
.biz-edu-note p:last-child {
  margin-bottom: 0;
}
.biz-edu-note strong {
  color: var(--navy);
  font-weight: 700;
}
.biz-edu-note ul {
  margin: 6px 0 0;
  padding: 0 0 0 1.15em;
  color: #1e293b;
}
.biz-edu-note li {
  margin: 3px 0;
}
.biz-edu-guide {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.biz-edu-guide p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
}
.biz-edu-guide p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .biz-develop-note {
    font-size: 12px;
    padding: 14px 14px;
    line-height: 1.75;
  }
  .biz-edu-grid,
  .biz-edu-grid-adv {
    grid-template-columns: 1fr;
  }
  .biz-edu-note {
    font-size: 14px;
    padding: 16px 16px;
  }
}
@media (max-width: 560px) {
  .biz-develop-note {
    font-size: 11px;
    padding: 12px 12px;
  }
  .biz-edu-note {
    font-size: 13.5px;
    padding: 14px 14px;
  }
}


.biz-doc-caption {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.biz-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 36px;
}
.biz-gallery figure {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.biz-gallery img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}
.biz-gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.biz-cases {
  display: grid;
  gap: 20px;
  margin: 8px 0 12px;
}
.biz-case {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(5, 20, 40, 0.05);
}
.biz-case img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.biz-case figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}
.biz-keylist {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.biz-keylist li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}
.biz-keylist .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eaf2ff;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}
.biz-keylist strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 16px;
}
.biz-intro-strong .biz-eyebrow {
  font-size: 15px;
}
.biz-intro-strong h2 {
  font-size: 32px !important;
}
.biz-intro-strong .biz-lead {
  font-size: 18px;
  color: #1e293b;
  font-weight: 500;
}
.biz-keylist-strong li {
  font-size: 16px;
  padding: 18px 0;
}
.biz-keylist-strong .num {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.biz-keylist-strong strong {
  font-size: 18px;
  margin-bottom: 6px;
}
.biz-article .biz-intro + h2,
.biz-article .biz-doc + h2,
.biz-article .biz-gallery + h2 {
  margin-top: 48px;
}
.product-card img.contain {
  object-fit: contain;
  background: #f8fafc;
  height: 160px;
  padding: 12px;
}

@media (max-width: 720px) {
  .biz-gallery { grid-template-columns: 1fr; }
  .biz-intro h2 { font-size: 24px; }
  .biz-doc { padding: 10px; }
  .biz-case { padding: 8px; }
}
.biz-article h2 {
  margin: 28px 0 12px; font-size: 22px; color: var(--navy);
}
.biz-article h2:first-of-type { margin-top: 0; }
.biz-article .biz-lead + h2 {
  margin-top: 56px;
}
.biz-article .biz-points + h2 {
  margin-top: 56px;
}
.biz-article .feature-grid + h2 {
  margin-top: 80px;
  margin-bottom: 36px;
}
.biz-lead {
  margin: 0 0 8px; color: #334155; font-size: 17px; line-height: 1.75;
}
.biz-points {
  margin: 0 0 12px; padding-left: 18px; color: #334155;
  display: grid; gap: 10px;
}
.biz-article h2 + .biz-points {
  margin-top: 4px;
}
.biz-article .biz-points + .biz-cta {
  margin-top: 48px;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.feature-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--navy); }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.product-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.product-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img {
  width: 100%; height: 140px; object-fit: cover; display: block; background: #0a2c58;
}
.product-card > div { padding: 16px 18px 18px; }
.product-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.product-card p { margin: 0; color: var(--muted); font-size: 14px; }
.biz-cta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.btn-ghost-ink {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 15px;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
}
.btn-ghost-ink:hover { border-color: #9db8d8; color: var(--green-d); }

.news-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
.news-list { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.news-item {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-top: 1px solid var(--line); color: var(--ink);
}
.news-item:first-child { border-top: 0; }
.news-item time { color: var(--muted); font-size: 13px; flex: none; }
.quick-box {
  background: var(--navy); color: #fff; border-radius: 18px; padding: 28px;
}
.quick-box h3 { margin: 0 0 12px; }
.quick-box a { display: block; color: #fff; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.quick-box a:first-of-type { border-top: 0; }

.phase-banner {
  max-width: var(--max); margin: 0 auto 8px; padding: 0 24px 8px;
}
.phase-banner div {
  background: #fff7d6; color: #7a5b00; border: 1px solid #f1e1a0;
  border-radius: 12px; padding: 12px 16px; font-size: 14px;
}

.page-hero {
  background: linear-gradient(180deg, #eaf1fb, #fff);
  border-bottom: 1px solid var(--line);
  padding: 42px 24px 28px;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.page-hero h1 { margin: 0 0 8px; font-size: 32px; color: var(--navy); }
.page-hero p { margin: 0; color: var(--muted); }
.sub-wrap { max-width: var(--max); margin: 0 auto; padding: 36px 24px 80px; display: grid; grid-template-columns: 240px 1fr; gap: 36px; }
.side-nav h2 { margin: 0 0 12px; font-size: 18px; color: var(--navy); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav > ul > li { border-top: 1px solid var(--line); }
.side-nav a, .side-nav .group > span {
  display: block; padding: 12px 8px; font-size: 14px; color: var(--ink);
}
.side-nav a.is-current, .side-nav a:hover { color: var(--green-d); font-weight: 700; }
.side-nav .group ul { padding-left: 8px; }
.side-nav .group span { font-weight: 800; color: var(--navy); }
.article { min-width: 0; }
.article h2 { margin: 0 0 16px; color: var(--navy); }
.article p { color: #334155; }
.note {
  margin-top: 28px; padding: 16px 18px; background: var(--bg); border-radius: 12px;
  color: var(--muted); font-size: 14px;
}
.values-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 28px; }
.greeting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 36px;
  align-items: start;
}
.greeting-copy h2 { margin-bottom: 18px; }
.value-lines {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; gap: 10px;
}
.value-lines li {
  margin: 0; font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1.35;
}
.value-lines em { font-style: normal; margin-left: 8px; font-weight: 800; }
.value-lines .easy em { color: #1d6fe8; }
.value-lines .ent em { color: #e6b800; }
.value-lines .eff em { color: #7cbc2a; }
.greeting-visual {
  margin: 0; text-align: center;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.greeting-visual svg {
  width: 100%; max-width: 340px; height: auto; display: inline-block;
}
.timeline { border-left: 3px solid var(--blue); margin: 12px 0 0 8px; padding-left: 22px; }
.tl-item { margin: 0 0 28px; }
.tl-item strong { display: block; color: var(--navy); font-size: 22px; margin-bottom: 8px; }
.tl-item ul { margin: 0; padding-left: 18px; color: #334155; }

.history-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}
.history-intro-copy h2 { margin: 0 0 12px; }
.history-intro-copy p { margin: 0; color: var(--muted); }
.history-intro-media {
  margin: 0; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: #0a2c58;
}
.history-intro-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.history-timeline {
  position: relative;
  border-left: 2px solid #d7e2ee;
  margin-left: 10px;
  padding-left: 28px;
}
.history-year { position: relative; margin: 0 0 34px; }
.history-year::before {
  content: "";
  position: absolute; left: -37px; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 111, 232, 0.12);
}
.history-year.is-featured::before { background: var(--blue); }
.history-year-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.history-year-num {
  font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em;
}
.history-year-label {
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--blue); border-radius: 999px; padding: 4px 10px;
}
.history-year-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 200px);
  gap: 20px;
  align-items: start;
}
.history-year-body:not(:has(.history-side-media)) {
  grid-template-columns: 1fr;
}
.history-year-body ul {
  margin: 0; padding-left: 18px; color: #334155;
  display: grid; gap: 6px;
}
.history-year-body li { line-height: 1.55; }
.history-side-media {
  margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg);
  aspect-ratio: 4 / 3;
}
.history-side-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.history-more-wrap { margin: 8px 0 28px; }
.history-more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--navy); font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 20px rgba(5, 20, 40, 0.06);
}
.history-more-btn:hover { border-color: #9db8d8; color: var(--green-d); }
.history-more-icon {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.history-more-btn[aria-expanded="true"] .history-more-icon {
  transform: rotate(-135deg); margin-top: 4px;
}
.history-older[hidden] { display: none; }
.history-older { animation: historyFade .25s ease; }
@keyframes historyFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.map-box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start;
}
.map-card, .info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
}
.info-card dt { color: var(--muted); font-size: 12px; margin-top: 12px; }
.info-card dd { margin: 4px 0 0; font-weight: 700; color: var(--navy); }
.info-card dt:first-child { margin-top: 0; }
.info-card a { color: var(--green-d); }
.info-card a:hover { text-decoration: underline; }

.location-layout {
  display: grid;
  gap: 18px;
}
.map-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  box-shadow: 0 10px 28px rgba(5, 20, 40, 0.05);
}
.map-panel-head {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  flex-wrap: wrap; margin-bottom: 14px;
}
.map-panel-head h2 { margin: 0; font-size: 22px; color: var(--navy); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; }
.map-links a {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--navy); background: #fff;
}
.map-links a:hover { border-color: #9db8d8; color: var(--green-d); }
.map-links a.is-primary {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.map-links a.is-primary:hover { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.map-frame {
  position: relative; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--line); background: #e8eef5;
  aspect-ratio: 21 / 11; min-height: 460px;
}
.map-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.map-caption {
  margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55;
}
.location-meta {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 20px; display: grid; gap: 10px;
}
.location-row {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: nowrap;
  font-size: 14px; color: #334155; white-space: nowrap; overflow-x: auto;
}
.location-label {
  flex: 0 0 auto; min-width: 64px;
  font-size: 12px; font-weight: 800; color: #8ea2b8; letter-spacing: 0.02em;
}
.location-value { flex: 1 1 auto; font-weight: 600; color: var(--navy); }
.location-contacts {
  padding-left: 76px; gap: 0;
}
.location-contacts > span,
.location-guide-row .location-value > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; border-right: 1px solid var(--line);
}
.location-contacts > span:first-child,
.location-guide-row .location-value > span:first-child { padding-left: 0; }
.location-contacts > span:last-child,
.location-guide-row .location-value > span:last-child {
  border-right: 0; padding-right: 0;
}
.location-contacts em,
.location-guide-row em {
  font-style: normal; color: #8ea2b8; font-weight: 700;
}
.location-contacts a,
.location-guide-row a { color: var(--green-d); }
.location-guide-row .location-value {
  display: inline-flex; align-items: baseline; flex-wrap: nowrap;
}
.board-table { width: 100%; border-collapse: collapse; background: #fff; }
.board-table th, .board-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.board-table th { background: var(--bg); color: var(--muted); font-size: 13px; }
.board-table a { color: var(--ink); text-decoration: none; }
.board-table a:hover { color: var(--green); }
.board-table tr.is-notice td:first-child { color: var(--green); font-weight: 700; }
.board-table .empty-row { text-align: center; color: var(--muted); padding: 36px 12px; }
.board-table .nowrap { white-space: nowrap; }
.board-wrap { padding: 36px 24px 80px; max-width: var(--max); margin: 0 auto; }
.lecture-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}
.lecture-tab {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 8px 10px; border-radius: 999px; box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--tab, #1a2744) 28%, #d5deea);
  background: color-mix(in srgb, var(--tab, #1a2744) 14%, #fff);
  color: var(--tab, #1a2744);
  text-decoration: none; font-size: 14px; font-weight: 800; line-height: 1.2;
  white-space: nowrap;
}
.lecture-tab.is-light {
  color: color-mix(in srgb, var(--tab, #1a2744) 46%, #1a2433);
}
.lecture-tab::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--tab, #1a2744); flex: 0 0 auto;
}
.lecture-tab-count {
  min-width: 1.4em; padding: 1px 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--tab, #1a2744) 12%, #fff);
  font-size: 12px; font-weight: 800; text-align: center;
}
.lecture-tab.is-on {
  background: color-mix(in srgb, var(--tab, #1a2744) 24%, #fff);
  border-color: color-mix(in srgb, var(--tab, #1a2744) 70%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tab, #1a2744) 35%, transparent);
}
.lecture-tab.is-on .lecture-tab-count {
  background: color-mix(in srgb, var(--tab, #1a2744) 18%, #fff);
  color: inherit;
}
.cate-label {
  font-weight: 800;
  color: var(--tab, #191919);
}
@media (max-width: 720px) {
  .lecture-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lecture-tab { font-size: 13px; padding: 8px 6px; }
}
.board-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.board-toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.board-count { color: var(--muted); font-size: 14px; }
.board-search { display: flex; gap: 8px; flex: 1; min-width: 220px; }
.board-search input {
  flex: 1; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px;
}
.btn-sm { height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.board-pager { display: flex; gap: 6px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.board-pager a {
  min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px;
}
.board-pager a.is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.lock-mark {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px;
  background: #eef2f7; color: var(--muted); font-size: 11px; font-weight: 700; vertical-align: middle;
}
.status-pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px; background: #eef2f7;
  color: var(--muted); font-size: 12px; font-weight: 700;
}
.status-pill.is-done { background: #e8f1ff; color: var(--green); }
.board-view {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
}
.board-view-head h2 { margin: 0 0 16px; font-size: 24px; color: var(--navy); line-height: 1.4; }
.board-meta {
  display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0 0 22px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.board-meta > div { display: flex; gap: 8px; }
.board-meta dt { font-weight: 700; color: #64748b; }
.board-meta dd { margin: 0; color: var(--ink); }
.board-body { font-size: 16px; line-height: 1.8; color: #1e293b; min-height: 120px; word-break: break-word; }
.board-files {
  margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fc;
}
.board-files h3 { margin: 0 0 10px; font-size: 15px; color: var(--navy); }
.board-files ul { list-style: none; margin: 0; padding: 0; }
.board-files li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.board-files li:first-child { border-top: 0; padding-top: 0; }
.board-files a { color: var(--navy); font-weight: 700; text-decoration: none; word-break: break-all; }
.board-files a:hover { color: var(--green); }
.board-files span { flex: 0 0 auto; color: var(--muted); font-size: 13px; }
.board-attach-field { margin-top: 8px; }
.board-attach-actions { margin-bottom: 10px; }
.board-attach-actions .btn { width: auto; margin: 0; }
.board-attach-box .attach-name { flex: 1; font-weight: 700; color: var(--navy); word-break: break-all; }
.board-attach-box .btn { width: auto; height: 34px; margin: 0; }
.board-attach-box ul:empty { display: none; }
.attach-empty { margin: 0; color: var(--muted); font-size: 13px; }
.board-attach-field .note { margin: 8px 0 0; }
.board-body img,
.board-body .board-inline-img,
.board-editor img {
  display: block; max-width: 100%; height: auto; margin: 14px 0; border-radius: 8px;
  border: 1px solid var(--line);
}
.board-editor img {
  cursor: pointer;
  transition: box-shadow .15s ease, outline-color .15s ease;
}
.board-editor img.is-selected {
  outline: 3px solid var(--green, #0f766e);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}
.board-editor img.board-img-sm { width: 30%; max-width: 30%; }
.board-editor img.board-img-md { width: 50%; max-width: 50%; }
.board-editor img.board-img-lg { width: 75%; max-width: 75%; }
.board-editor img.board-img-full { width: 100%; max-width: 100%; }
.board-body img.board-img-sm { width: 30%; max-width: 30%; }
.board-body img.board-img-md { width: 50%; max-width: 50%; }
.board-body img.board-img-lg { width: 75%; max-width: 75%; }
.board-body img.board-img-full { width: 100%; max-width: 100%; }
.img-float-toolbar {
  position: absolute;
  z-index: 41;
  display: none;
  gap: 4px;
  flex-wrap: wrap;
  padding: 6px;
  background: #0f172a;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
}
.img-float-toolbar.is-open { display: flex; }
.img-float-toolbar button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #e2e8f0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 7px;
  cursor: pointer;
  line-height: 1;
}
.img-float-toolbar button:hover,
.img-float-toolbar button.is-active { background: rgba(255,255,255,.14); color: #fff; }
.img-float-toolbar button.is-danger { color: #fecaca; }
.img-float-toolbar button.is-danger:hover { background: rgba(239, 68, 68, .25); color: #fff; }
.img-resize-frame {
  position: absolute;
  z-index: 40;
  display: none;
  border: 2px solid #0f766e;
  box-sizing: border-box;
  pointer-events: none;
}
.img-resize-frame.is-open { display: block; }
.img-resize-frame .img-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #0f766e;
  border-radius: 3px;
  pointer-events: auto;
  box-sizing: border-box;
}
.img-resize-frame .img-handle.nw { left: -7px; top: -7px; cursor: nwse-resize; }
.img-resize-frame .img-handle.ne { right: -7px; top: -7px; cursor: nesw-resize; }
.img-resize-frame .img-handle.sw { left: -7px; bottom: -7px; cursor: nesw-resize; }
.img-resize-frame .img-handle.se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.img-resize-frame .img-size-label {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}
body.is-img-resizing { cursor: nwse-resize; user-select: none; }
body.is-img-resizing .board-editor { user-select: none; }
.board-body .board-file-link,
.board-editor .board-file-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.editor-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.editor-toolbar .editor-hint { font-size: 12px; color: var(--muted); }
.editor-toolbar .btn { width: auto; margin: 0; }
.board-editor {
  position: relative;
  min-height: 280px;
  max-height: 640px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  font: inherit;
  line-height: 1.7;
  color: var(--ink);
}
.board-editor:focus {
  outline: 2px solid rgba(15, 76, 129, 0.25);
  outline-offset: 1px;
}
.board-editor:empty:before {
  content: attr(data-placeholder);
  color: var(--muted);
  pointer-events: none;
}
.editor-toolbar.is-uploading { opacity: 0.65; pointer-events: none; }
.board-contact { margin-top: 18px; color: var(--muted); font-size: 14px; }
.board-answer {
  margin-top: 28px; padding: 18px 20px; background: var(--bg); border-radius: 12px;
  border: 1px solid var(--line);
}
.board-answer h3 { margin: 0 0 10px; font-size: 16px; color: var(--navy); }
.board-view-actions {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--line); align-items: center;
}
.board-view-actions form { display: inline; margin: 0; }
.board-lock { padding: 28px 8px; text-align: center; }
.board-lock-form {
  max-width: 320px; margin: 18px auto 0; display: grid; gap: 8px; text-align: left;
}
.board-lock-form input {
  height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px;
}
.board-lock-links { margin-top: 16px; color: var(--muted); font-size: 14px; }
.board-form {
  max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 24px;
}
.board-form-compact { max-width: 420px; }
.board-form .form-row { margin-bottom: 16px; }
.board-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.board-form input[type="text"],
.board-form input[type="password"],
.board-form select,
.board-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font: inherit; color: var(--ink);
}
.board-form input[type="text"],
.board-form input[type="password"],
.board-form select { height: 44px; padding-top: 0; padding-bottom: 0; }
.board-form textarea { resize: vertical; line-height: 1.6; }
.form-row-check label { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.form-error {
  margin: 0 0 14px; padding: 12px 14px; background: #fff1f2; color: #be123c;
  border-radius: 10px; font-size: 14px;
}
.form-card .form-error { margin-bottom: 12px; }
.board-subhead { margin: 36px 0 12px; font-size: 18px; color: var(--navy); }
.login-user {
  font-size: 13px; color: var(--muted); margin-right: 4px; white-space: nowrap;
}
.form-card {
  max-width: 420px; margin: 40px auto; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 28px; box-shadow: var(--shadow);
}
.form-card-wide { max-width: 560px; }
.form-card h1 { margin: 0 0 18px; font-size: 24px; color: var(--navy); }
.form-card label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
.form-card input,
.form-card select {
  width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px;
  background: #fff; font: inherit;
}
.form-card button { width: 100%; margin-top: 18px; }
.form-card .form-actions { margin-top: 18px; }
.form-card .form-actions .btn { width: auto; margin-top: 0; }
.form-card .pw-toggle { width: auto; margin-top: 0; }
.form-card .note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.pw-field {
  position: relative;
  display: block;
}
.pw-field input {
  width: 100%;
  padding-right: 46px;
}
.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 0;
}
.pw-toggle:hover,
.pw-toggle:focus-visible {
  color: var(--navy);
  background: rgba(11, 37, 69, 0.06);
  outline: none;
}
.pw-toggle[aria-pressed="true"] { color: var(--navy); }
.pw-toggle svg { display: block; }
.form-ok {
  margin: 0 0 14px; padding: 12px 14px; background: #ecfdf5; color: #047857;
  border-radius: 10px; font-size: 14px;
}
.user-actions {
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.inline-form { display: inline; margin: 0; }
.muted-tag { font-size: 12px; color: var(--muted); }

.site-footer { background: #04101f; color: #d5deea; padding: 26px 24px 14px; margin-top: 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: flex; align-items: center; gap: 28px; }
.logo-footer { background: transparent; padding: 0; }
.logo-footer img { height: 52px; width: auto; display: block; }
.footer-main { flex: 1; min-width: 0; }
.footer-nav { display: flex; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; color: #b7c6d6; }
.footer-nav a { padding: 0 12px; border-right: 1px solid rgba(255,255,255,.18); }
.footer-nav a:first-child { padding-left: 0; }
.footer-nav a:last-child { border-right: 0; padding-right: 0; }
.footer-nav a:hover { color: #fff; }
.footer-info { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.footer-info li { margin: 4px 0; }
.footer-address span { color: #8ea2b8; margin-right: 8px; }
.footer-contacts {
  display: flex; flex-wrap: wrap; align-items: center;
}
.footer-contacts > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; border-right: 1px solid rgba(255,255,255,.18);
}
.footer-contacts > span:first-child { padding-left: 0; }
.footer-contacts > span:last-child { border-right: 0; padding-right: 0; }
.footer-contacts em { font-style: normal; color: #8ea2b8; font-weight: 600; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: #8ea2b8;
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 14px; }

@media (max-width: 1024px) {
  .card-grid, .biz-grid, .news-grid, .map-box, .hero-inner, .sub-wrap, .svc-bento, .greeting-layout, .history-intro, .feature-grid, .product-grid {
    grid-template-columns: 1fr;
  }
  .biz-article .biz-visual { max-height: 220px; aspect-ratio: 16 / 9; }
  .map-frame { min-height: 360px; aspect-ratio: 16 / 11; }
  .location-contacts { padding-left: 0; }
  .location-row { white-space: normal; }
  .location-contacts,
  .location-guide-row .location-value {
    flex-wrap: wrap;
  }
  .location-contacts > span,
  .location-guide-row .location-value > span {
    border-right: 0; padding: 0 14px 4px 0;
  }
  .history-year-body, .history-year-body:not(:has(.history-side-media)) {
    grid-template-columns: 1fr;
  }
  .history-side-media { max-width: 320px; }
  .greeting-visual { position: static; order: -1; }
  .greeting-visual svg { max-width: 280px; }
  .svc-bento { grid-template-rows: none; }
  .svc-card.featured, .svc-card.wide { grid-row: auto; grid-column: auto; min-height: 280px; }
  .biz-tile.pb { grid-row: auto; min-height: 220px; }
  .gnb { display: none; }
  body.nav-open .gnb {
    display: block; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
  }
  .gnb-list { display: block; }
  .gnb-item > a { padding: 12px 0; }
  .mega, .mega-grid, .gnb-item:hover > .mega, .gnb-item:focus-within > .mega { display: none; }
  .gnb-item.is-open > .mega, .gnb-item.is-open > .mega-grid {
    display: block; position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 12px;
  }
  .btn-menu { display: block; }
  .search-form input { width: 80px; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 14px; gap: 10px; }
  .logo img { height: 42px; }
  .search-form { display: none; }
  .hero-slider, .hero-slider .slides { min-height: 480px; }
  .hero-slider .hero-inner { padding: 56px 16px 100px; }
  .section { padding: 48px 16px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-contacts > span { border-right: 0; padding: 0 16px 4px 0; }
}
