:root {
  --accent: #111f47;
  --ink: #16181d;
  --muted: #667080;
  --line: #e7e9ee;
  --soft: #f6f7f9;
  --shell: 1320px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
}

img,
video,
iframe {
  max-width: 100%;
}

.sub-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.sub-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #ececec;
  backdrop-filter: blur(12px);
}

.sub-brand img,
.footer-brand img {
  display: block;
  width: auto;
  height: 28px;
}

.sub-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 15px;
  font-weight: 600;
}

.sub-nav-links a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.sub-nav-links a.active {
  color: var(--accent);
}

.sub-nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 2px;
  background: var(--accent);
}

.sub-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 56px;
  color: #fff;
  background:
    radial-gradient(80% 120% at 85% -10%, rgba(60, 86, 170, .45), transparent 55%),
    var(--accent);
}

.breadcrumb {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  letter-spacing: .1em;
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.sub-hero p:last-child {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  line-height: 1.7;
}

.sub-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.sub-toc {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sub-toc span {
  margin-bottom: 18px;
  color: #9aa1ab;
  font-size: 11px;
  letter-spacing: .1em;
}

.sub-toc a {
  padding: 10px 14px;
  border-left: 2px solid transparent;
  border-radius: 8px;
  color: #7a828c;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.sub-toc a:hover,
.sub-toc a.active {
  color: var(--accent);
  background: #eef0f4;
  border-left-color: var(--accent);
  font-weight: 700;
}

.sub-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 96px);
}

.sub-section {
  scroll-margin-top: 96px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--accent);
  font-size: 13px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.025em;
}

.section-desc {
  max-width: 760px;
  margin: 0 0 28px;
  color: #5b6470;
  font-size: 15px;
  line-height: 1.8;
}

.prose p,
.overview-copy {
  margin: 0 0 18px;
  color: #4a525e;
  font-size: 15px;
  line-height: 1.9;
}

.quote {
  color: var(--ink) !important;
  font-size: clamp(19px, 2.2vw, 26px) !important;
  font-weight: 800;
  line-height: 1.5 !important;
}

.signature {
  margin-top: 26px !important;
  text-align: right;
}

.signature strong {
  margin-left: 18px;
  color: #16181d;
  font-size: 24px;
  font-weight: 750;
}

.about-greeting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eef2f7;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.portrait img {
  min-height: 360px;
}

.photo-card.portrait {
  border-color: transparent;
  background: transparent;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline div,
.simple-list div,
.equipment-table div,
.info-table div {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.timeline div {
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 20px 0;
}

.timeline strong {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: #4a525e;
  line-height: 1.7;
}

.history-note {
  margin: 18px 0 0;
  color: #aab0ba;
  font-size: 11px;
}

.org-chart {
  position: relative;
  padding: 30px clamp(22px, 4vw, 48px) 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f6f7f9;
  text-align: center;
}

.org-top,
.org-mid,
.org-grid strong {
  display: inline-flex;
  min-width: 160px;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.org-mid {
  margin: 0;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
}

.org-top {
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.org-lines {
  position: relative;
  height: 88px;
}

.org-lines::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 88px;
  background: #c8cdd5;
  transform: translateX(-50%);
}

.org-lines span:first-child {
  position: absolute;
  right: calc((100% - 42px) / 8);
  bottom: 0;
  left: calc((100% - 42px) / 8);
  height: 2px;
  background: #c8cdd5;
}

.org-lines span:last-child {
  display: none;
}

.org-row {
  position: relative;
  margin-top: 24px;
}

.org-mid {
  position: absolute;
  top: -86px;
  left: calc((100% - 42px) / 4 + 4px);
  z-index: 2;
  width: calc((100% - 42px) / 4);
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}

.org-mid::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  width: 17px;
  height: 2px;
  background: #c8cdd5;
  transform: translateY(-50%);
}

.org-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.org-grid div::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  width: 2px;
  height: 24px;
  background: #c8cdd5;
  transform: translateX(-50%);
}

.org-grid div {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.org-grid span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #667080;
  font-size: 13px;
}

.site-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.site-cards article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.site-cards .photo-card {
  border: 0;
  border-radius: 0;
}

.site-cards h3,
.site-cards p {
  margin-left: 22px;
  margin-right: 22px;
}

.site-cards h3 {
  margin-top: 20px;
}

.site-cards p {
  margin-bottom: 22px;
  color: #667080;
}

.info-table {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.info-table div {
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 22px;
}

.info-table span {
  color: var(--accent);
  font-size: 13px;
}

.sub-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.sub-stats article,
.client-grid div,
.ethics-grid article,
.esg-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.sub-stats article {
  padding: 28px 26px;
}

.sub-stats strong {
  display: block;
  color: var(--accent);
  font-size: 36px;
  font-weight: 900;
}

.sub-stats small {
  margin-left: 4px;
  color: #9aa1ab;
  font-size: 18px;
}

.sub-stats b {
  display: block;
  margin-top: 10px;
}

.sub-stats span {
  display: block;
  margin-top: 7px;
  color: #8a909a;
  font-size: 13px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.client-grid.navy div {
  display: grid;
  min-height: 88px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.business-products {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.business-products article {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.product-photo {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  background: #eef2f7;
}

.product-photo span {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.product-photo img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: contain;
  padding: 14px;
}

.business-products article > div:last-child {
  padding: 28px 28px 28px 0;
}

.business-products h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.business-products b {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .04em;
}

.business-products p {
  margin: 18px 0;
  color: #596371;
  font-size: 14px;
  line-height: 1.8;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 8px 13px;
  border: 1px solid #dbe2ec;
  border-radius: 999px;
  color: var(--accent);
  background: #f7f9fc;
  font-size: 12px;
  font-weight: 700;
}

.quality-policy {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 16px;
  color: #fff;
  background: var(--accent);
}

.quality-policy h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 34px);
}

.quality-policy p,
.quality-policy li {
  color: rgba(255, 255, 255, .78);
  line-height: 1.8;
}

.quality-policy ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.quality-policy li {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
}

.quality-policy li span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.equipment-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.equipment-table .equipment-head,
.equipment-table .equipment-row {
  display: grid;
  grid-template-columns: 48px 1fr 1.1fr 100px;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid #f0f1f3;
}

.equipment-table .equipment-head {
  padding: 14px 22px;
  color: #7a828c;
  background: #f6f7f9;
  border-bottom-color: var(--line);
  font-size: 11px;
  letter-spacing: .06em;
}

.equipment-table .equipment-row {
  padding: 16px 22px;
}

.equipment-table .equipment-row:last-child {
  border-bottom: 0;
}

.equipment-table em {
  color: #aab0ba;
  font-style: normal;
  font-size: 12px;
}

.equipment-table strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.equipment-table small {
  display: block;
  margin-top: 4px;
  color: #8a909a;
  font-size: 12px;
  line-height: 1.5;
}

.equipment-table p {
  margin: 0;
  color: #5b6470;
  font-size: 14px;
}

.equipment-table b {
  text-align: right;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.cert-carousel {
  position: relative;
  max-width: 914px;
  overflow: visible;
}

.cert-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 0 36px;
}

.cert-rail::-webkit-scrollbar {
  display: none;
}

.cert-card-modern {
  flex: 0 0 calc((100% - 36px) / 3);
  width: calc((100% - 36px) / 3);
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid #e5e8ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 31, 71, .08);
}

.cert-card-modern > div {
  padding: 14px;
  background: #f3f5f8;
}

.cert-card-modern img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: contain;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #fff;
}

.cert-card-modern section {
  min-height: 88px;
  padding: 16px 18px 18px;
  border-top: 1px solid #eef0f2;
}

.cert-card-modern h3 {
  margin: 0;
  font-size: 16px;
}

.cert-card-modern p {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.cert-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(17, 31, 71, .18);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  transform: translateY(-50%);
}

.cert-arrow-left {
  left: -24px;
}

.cert-arrow-right {
  right: -24px;
}

.esg-grid,
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ethics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.esg-grid article,
.ethics-grid article {
  padding: 22px 22px;
}

.esg-grid article {
  background: #f6f7f9;
}

.esg-grid strong {
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.esg-grid h3,
.ethics-grid h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.esg-grid p,
.ethics-grid p,
.simple-list p {
  margin: 0;
  color: #5b6470;
  font-size: 14px;
  line-height: 1.75;
}

.esg-grid ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #3a4250;
  font-size: 14px;
  line-height: 1.75;
}

.simple-list {
  border-top: 1px solid var(--line);
}

.simple-list div {
  grid-template-columns: 54px 180px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
}

.simple-list b {
  color: var(--accent);
  font-size: 13px;
}

.simple-list strong {
  font-size: 15px;
}

.qr-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
}

.qr-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.qr-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.7;
}

.qr-panel img {
  width: 120px;
  height: 120px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.sub-footer {
  padding: clamp(52px, 6vw, 80px) 0 40px;
  color: rgba(255, 255, 255, .66);
  background: var(--accent);
}

.footer-topline,
.footer-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-topline {
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  font-size: 14px;
}

.footer-bottomline {
  margin-top: 28px;
  color: rgba(255, 255, 255, .46);
  font-size: 13px;
  line-height: 1.7;
}

.footer-bottomline p {
  margin: 0;
}

@media (max-width: 1024px) {
  .sub-layout {
    grid-template-columns: 1fr;
  }

  .sub-toc {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .sub-toc span {
    display: none;
  }

  .sub-toc a {
    flex: 0 0 auto;
    border-left: 0;
    background: #f1f3f6;
  }

  .about-greeting,
  .business-products article {
    grid-template-columns: 1fr;
  }

  .business-products article > div:last-child {
    padding: 24px;
  }

  .product-photo img {
    height: 260px;
  }

  .org-grid,
  .client-grid,
  .quality-policy ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sub-nav {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .sub-nav-links {
    order: 3;
    width: 100%;
    gap: 0;
    overflow-x: auto;
    padding-top: 8px;
    font-size: 14px;
  }

  .sub-nav-links a {
    flex: 0 0 auto;
    padding: 10px 14px;
  }

  .sub-nav-links a.active::after {
    bottom: 0;
  }

  .sub-nav-cta {
    padding: 9px 14px;
  }

  .sub-hero {
    padding-top: 142px;
  }

  .sub-stats,
  .site-cards,
  .esg-grid,
  .ethics-grid {
    grid-template-columns: 1fr;
  }

  .org-row {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 0;
  }

  .org-mid {
    position: static;
    justify-self: center;
    width: auto;
    margin-top: 0;
  }

  .org-lines {
    height: 24px;
  }

  .org-lines::before {
    height: 24px;
  }

  .org-lines span,
  .org-grid::before,
  .org-mid::after,
  .org-grid div::before {
    display: none;
  }

  .cert-card-modern {
    flex-basis: 100%;
    width: 100%;
  }

  .cert-arrow-left {
    left: 4px;
  }

  .cert-arrow-right {
    right: 4px;
  }

  .simple-list div,
  .equipment-table div,
  .info-table div,
  .timeline div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .equipment-table b {
    text-align: left;
  }

  .qr-panel,
  .footer-topline,
  .footer-bottomline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .sub-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .sub-nav-cta {
    display: none;
  }

  .sub-hero h1 {
    font-size: 34px;
  }

  .org-grid,
  .client-grid,
  .quality-policy ul {
    grid-template-columns: 1fr;
  }

  .portrait img {
    min-height: 280px;
  }
}

@media (max-width: 820px) {
  .home-nav {
    height: auto !important;
    min-height: 108px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px 14px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .home-nav-brand {
    order: 1 !important;
    flex: 0 0 auto !important;
  }

  .home-nav > a:last-child {
    order: 2 !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    padding: 9px 14px !important;
    white-space: nowrap !important;
  }

  .home-nav-links {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-x: auto !important;
    padding-top: 6px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  .home-nav-links a {
    flex: 0 0 auto !important;
    padding: 10px 14px !important;
  }

  body > div > nav[style] {
    height: auto !important;
    min-height: 108px !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  body > div > nav[style] > a:first-child {
    order: 1 !important;
  }

  body > div > nav[style] > div {
    order: 3 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    gap: 18px !important;
    padding-top: 8px !important;
  }

  body > div > nav[style] > a:last-child {
    order: 2 !important;
    display: inline-flex !important;
    margin-left: auto !important;
    padding: 9px 14px !important;
    white-space: nowrap !important;
  }

  header > div[style],
  section > div[style],
  footer > div[style] {
    max-width: calc(100% - 32px) !important;
  }

  [style*="grid-template-columns: minmax(280px,1fr)"],
  [style*="grid-template-columns: minmax(280px, 1fr)"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns: 1.2fr"] {
    grid-template-columns: 1fr !important;
  }

  .home-about-grid {
    grid-template-columns: 1fr !important;
  }

  .home-about-media {
    order: 1;
  }

  .home-about-copy {
    order: 2;
  }

  h1[style] {
    font-size: clamp(44px, 16vw, 92px) !important;
    line-height: .92 !important;
  }
}
