﻿@charset "utf-8";

/* =========================
   내용관리 기본
========================= */
#ctt {
  background: #fff;
  border-radius: 14px;
  word-break: keep-all;
}

.ctt_admin {
  text-align: right;
}

#ctt header h1 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

#ctt_con {
  /* =========================
     Page Tokens
  ========================= */
  --sd-blue: #146EA6;
  --sd-sky: #2BA8D9;
  --sd-green: #9ABF75;

  --c-body: 16px;
  --c-body-lg: 17px;
  --c-small: 13px;
  --c-title-lg: clamp(20px, 1.6vw + 12px, 26px);
  --c-title-md: clamp(17px, 1vw + 12px, 20px);
  --c-lh: 1.65;
  --c-lh-tight: 1.25;

  --p-ink: #173248;
  --p-ink-muted: rgba(23, 50, 72, .62);
  --p-card: #ffffff;
  --p-tint: #eef7fb;

  --p-line: rgba(20, 110, 166, .10);
  --p-line-2: rgba(43, 168, 217, .14);

  --tone-sub1-border: rgba(20, 110, 166, .14);

  --r-card: 18px;
  --r-pill: 999px;

  --sh-1: 0 10px 30px rgba(23, 50, 72, .06);
  --sh-2: 0 18px 50px rgba(23, 50, 72, .10);

  --tbl-radius: var(--r-card);
  --tbl-border: rgba(20, 110, 166, .16);
  --tbl-head-bg: #f2fafe;
  --tbl-row-hover: rgba(43, 168, 217, .05);
  --tbl-cell: rgba(20, 110, 166, .08);
  --tbl-head-text: rgba(23, 50, 72, .78);
  --tbl-text: var(--p-ink);
  --tbl-muted: rgba(23, 50, 72, .62);

  padding: 10px 0;
  font-size: var(--c-body);
  line-height: var(--c-lh);
  color: var(--p-ink);
}

#ctt_con img {
  max-width: 100%;
  height: auto;
}

.ctt_img {
  text-align: center;
}

/* =========================
   제목
========================= */
#ctt_con h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  position: relative;
  margin: 24px 0 14px;
  padding-bottom: 12px;
  line-height: var(--c-lh-tight);
  color: var(--sd-blue);
  letter-spacing: -0.4px;
  font-size: var(--c-title-lg);
  font-weight: 800;
}

#ctt_con h2::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  background: url("./img/samdonghoe-logo.png") no-repeat center / contain;
  transform: translateY(-1px);
}

#ctt_con h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sd-sky), var(--sd-blue), var(--sd-green));
  opacity: .95;
}

/* =========================
   Page Hero
========================= */
#ctt_con .c-pageHero {
  position: relative;
  overflow: hidden;
  padding: 70px;
  margin-bottom: 26px;
  border-radius: var(--r-card);
  box-shadow: var(--sh-1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#ctt_con .c-pageHero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--content-hero-overlay);
  z-index: 0;
}

#ctt_con .c-pageHero > * {
  position: relative;
  z-index: 1;
}

#ctt_con .c-pageHero--foundation {
  background-image: url("./img/foundation-hero-bg.jpg");
}

#ctt_con .c-pageHero__eyebrow {
  margin-bottom: 8px;
  font-size: var(--c-small);
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(20, 110, 166, .68);
}

#ctt_con .c-pageHero__title {
  font-size: clamp(24px, 2vw + 12px, 34px);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--p-ink);
}

#ctt_con .c-pageHero__desc {
  max-width: 760px;
  margin-top: 14px;
  font-size: var(--c-body);
  line-height: 1.8;
  color: rgba(23, 50, 72, .78);
}

/* =========================
   삼동윤리 카드
========================= */
#ctt_con .c-ethicGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin: 14px 0 50px;
}

#ctt_con .c-ethicCard {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 210px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(43, 168, 217, .14);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
  box-shadow: var(--sh-1);
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#ctt_con .c-ethicCard:hover {
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
  border-color: rgba(20, 110, 166, .24);
}

#ctt_con .c-ethicCard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ethic-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .1;
  pointer-events: none;
  z-index: 0;
}

#ctt_con .c-ethicCard > * {
  position: relative;
  z-index: 1;
}

#ctt_con .c-ethicCard--one {
  --ethic-bg: url("./img/bg-tree-soft.jpeg");
}

#ctt_con .c-ethicCard--two {
  --ethic-bg: url("./img/bg-link-soft.jpeg");
}

#ctt_con .c-ethicCard--three {
  --ethic-bg: url("./img/bg-compass-soft.jpeg");
}

#ctt_con .c-ethicCard__media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: -10px;
}

#ctt_con .c-ethicCard__badge {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(20, 110, 166, .18);
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}

#ctt_con .c-ethicCard__badge img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

#ctt_con .c-ethicCard__title {
  margin-bottom: 20px;
  font-size: var(--c-title-md);
  line-height: var(--c-lh-tight);
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--p-ink);
}

#ctt_con .c-ethicCard__desc {
  font-size: var(--c-body);
  line-height: var(--c-lh);
  color: rgba(23, 50, 72, .74);
}

#ctt_con .c-ethicCard__desc .bold {
  color: var(--sd-blue);
  font-weight: 800;
}

#ctt_con .gradient1 {
  background: radial-gradient(circle at 30% 30%, rgba(43, 168, 217, .35), rgba(20, 110, 166, .12));
}

#ctt_con .gradient2 {
  background: radial-gradient(circle at 30% 30%, rgba(43, 168, 217, .28), rgba(154, 191, 117, .10));
}

#ctt_con .gradient3 {
  background: radial-gradient(circle at 30% 30%, rgba(20, 110, 166, .22), rgba(154, 191, 117, .12));
}

/* =========================
   삼동회 사업지표
========================= */
#ctt_con .c-visionIndex {
  display: flex;
  flex-direction: column;
  margin: 14px 0 34px;
  padding: 26px 28px;
  border: 1px solid rgba(20, 110, 166, .14);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #ffffff 0%, #eef7fb 150%);
  box-shadow: var(--sh-1);
}

#ctt_con .c-visionIndex__line {
  width: 100%;
  border-top: 1px dashed rgba(20, 110, 166, .18);
}

#ctt_con .c-visionIndex__row {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

#ctt_con .c-visionIndex__circle {
  position: relative;
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

#ctt_con .c-visionIndex__circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  z-index: 1;
}

#ctt_con .c-visionIndex__circle--mission {
  background: linear-gradient(120deg, #146EA6, #a7bbbb);
}

#ctt_con .c-visionIndex__circle--vision {
  background: linear-gradient(45deg, #2BA8D9, #f2e3b6);
}

#ctt_con .c-visionIndex__circle--value {
  background: linear-gradient(45deg, #d1d68c, #9ABF75);
}

#ctt_con .c-visionIndex__main,
#ctt_con .c-visionIndex__sub {
  position: relative;
  z-index: 2;
  display: block;
}

#ctt_con .c-visionIndex__main {
  color: #3f89a6;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

#ctt_con .c-visionIndex__sub {
  margin-top: 2px;
  color: #8697a6;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

#ctt_con .c-visionIndex__desc {
  flex: 1;
  color: rgba(23, 50, 72, .78);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
  text-align: center;
  word-break: keep-all;
}

#ctt_con .c-visionIndex__values {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#ctt_con .c-visionIndex__values .c-visionIndex__desc {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 14px 12px;
  border: 1px solid rgba(20, 110, 166, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 20px rgba(23, 50, 72, .04);
}

#ctt_con .c-visionDiagram {
  display: flex;
  justify-content: center;
  margin: 0 0 50px;
}

#ctt_con .c-visionDiagram img {
  width: 90%;
  max-width: 980px;
  height: auto;
  display: block;
}

/* =========================
   표 공통
========================= */
#ctt_con .c-tablewrap {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--tbl-border);
  border-radius: var(--tbl-radius);
  background: #fff;
  box-shadow: var(--sh-1);
}

#ctt_con table.c-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  color: var(--tbl-text);
}

#ctt_con table.c-table thead th:first-child {
  border-top-left-radius: var(--tbl-radius);
}

#ctt_con table.c-table thead th:last-child {
  border-top-right-radius: var(--tbl-radius);
}

#ctt_con table.c-table tbody tr:last-child td {
  border-bottom: 0;
}

#ctt_con table.c-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--tbl-radius);
}

#ctt_con table.c-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--tbl-radius);
}

#ctt_con table.c-table th,
#ctt_con table.c-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--tbl-cell);
  vertical-align: middle;
}

#ctt_con table.c-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--tbl-head-bg);
  color: var(--tbl-head-text);
  font-size: var(--c-body);
  letter-spacing: -0.2px;
}

#ctt_con table.c-table td {
  color: var(--tbl-text);
  font-size: var(--c-body);
}

#ctt_con table.c-table tbody tr:hover td {
  background: var(--tbl-row-hover);
}

#ctt_con table.c-table--center th,
#ctt_con table.c-table--center td {
  text-align: center;
}

#ctt_con table.c-table--compact th,
#ctt_con table.c-table--compact td {
  padding: 10px 12px;
}

#ctt_con table.c-table--keycol td:first-child {
  color: var(--p-ink);
  font-weight: 800;
  white-space: nowrap;
}

/* =========================
   마무리 문구
========================= */
#ctt_con .c-guideClosing {
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  margin-bottom: 30px;
  padding: 26px 28px;
  border: 1px solid rgba(20, 110, 166, .14);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #fafdff 0%, #eef7fb 140%);
  box-shadow: var(--sh-1);
  color: var(--sd-blue);
  font-size: var(--c-body-lg);
  font-weight: 800;
  line-height: 1.85;
  letter-spacing: -0.02em;
  text-align: center;
}

#ctt_con .c-guideClosing::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--sd-sky), var(--sd-blue), var(--sd-green));
}

#ctt_con .c-guideClosing::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 168, 217, .10) 0%, rgba(43, 168, 217, 0) 72%);
  pointer-events: none;
}

/* =========================
   반응형
========================= */
@media (max-width: 1100px) {
  #ctt_con .c-visionIndex__row {
    flex-direction: column;
    justify-content: center;
    gap: 22px;
  }

  #ctt_con .c-visionIndex__values {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #ctt_con .c-ethicGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #ctt_con .c-tablewrap {
    border: none;
    background: none;
    box-shadow: none;
  }

  #ctt_con .c-ethicCard__media {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  #ctt_con h2 {
    gap: 8px;
  }

  #ctt_con h2::before {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  #ctt_con .c-pageHero {
    padding: 42px 16px;
    margin-bottom: 20px;
  }

  #ctt_con .c-pageHero__title {
    font-size: clamp(22px, 4vw, 28px);
  }

  #ctt_con .c-visionIndex {
    padding: 18px;
    margin-bottom: 30px;
  }

  #ctt_con .c-visionIndex__row {
    padding: 24px 0;
  }

  #ctt_con .c-visionIndex__circle {
    flex-basis: 150px;
    width: 150px;
    height: 150px;
  }

  #ctt_con .c-visionIndex__circle::before {
    width: 108px;
    height: 108px;
  }

  #ctt_con .c-visionIndex__main {
    font-size: 21px;
  }

  #ctt_con .c-visionIndex__sub {
    font-size: 13px;
  }

  #ctt_con .c-visionIndex__desc {
    font-size: 15px;
    line-height: 1.7;
  }

  #ctt_con .c-visionIndex__values {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #ctt_con .c-visionIndex__values .c-visionIndex__desc {
    min-height: auto;
    padding: 12px;
  }

  #ctt_con .c-visionDiagram img {
    width: 100%;
  }

  #ctt_con table.c-table {
    min-width: 0;
  }

  #ctt_con table.c-table thead {
    display: none;
  }

  #ctt_con table.c-table,
  #ctt_con table.c-table tbody,
  #ctt_con table.c-table tr,
  #ctt_con table.c-table td {
    display: block;
    width: 100%;
  }

  #ctt_con table.c-table tr {
    position: relative;
    overflow: visible;
    margin: 12px 0;
    padding: 14px 14px 12px;
    border: 1px solid var(--tbl-border);
    border-radius: var(--tbl-radius);
    background: linear-gradient(180deg, #ffffff 0%, #eef7fb 140%);
  }

  #ctt_con table.c-table tr::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 98%;
    height: 3px;
    border-radius: var(--tbl-radius) var(--tbl-radius) 0 0;
    background: linear-gradient(90deg, var(--sd-sky), var(--sd-blue), var(--sd-green));
    transform: translateX(-50%);
    pointer-events: none;
  }

  #ctt_con table.c-table td {
    padding: 10px 0;
    border: 0;
  }

  #ctt_con table.c-table td + td {
    border-top: 1px dashed rgba(20, 110, 166, .18);
  }

  #ctt_con table.c-table td::before {
    content: attr(data-title);
    display: block;
    margin-bottom: 4px;
    color: var(--tbl-muted);
    font-size: var(--c-small);
    font-weight: 700;
    letter-spacing: -0.2px;
  }

  #ctt_con table.c-table td:nth-child(2) {
    font-weight: 800;
  }

  #ctt_con .c-guideClosing {
    padding: 22px 16px;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
  }

  #ctt_con .c-guideClosing::before {
    left: 16px;
    right: 16px;
  }
}

@media (max-width: 640px) {
  #ctt_con .c-ethicGrid {
    grid-template-columns: 1fr;
  }

  #ctt_con .c-ethicCard {
    text-align: left;
  }

  #ctt_con .c-ethicCard__media {
    justify-content: flex-start;
  }
}
