@charset "utf-8";

#container_wr { width: auto; }
#container { float: none; width: 100%; margin: 0; }
html { overflow-x: hidden; }
#ctt { margin: 0; padding: 0; background: #fff; }
#ctt header h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
#ctt_con { padding: 0; }

.cl-client-title { position: relative; padding-bottom: 34px; }
.cl-partner-signature {
    display: inline-flex; align-items: center; justify-content: center; gap: 18px;
    margin: 0 auto 38px; color: #222; text-decoration: none;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}
.cl-partner-signature > img:first-child { display: block; width: auto; height: clamp(48px, 3.8vw, 66px); }
.cl-partner-signature-x { color: #555; font-size: clamp(34px, 2.7vw, 44px); font-weight: 300; line-height: 1; }
.cl-partner-signature .cl-partner-signature-forma { display: block; width: clamp(215px, 17.5vw, 285px); height: auto; }
.cl-partner-signature-divider { width: min(90%, 1200px); height: 1px; margin: 0 auto 48px; background: #e3e0da; }
.cl-client-title h1#clClientTitle {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(22px, 1.7vw, 28px); font-weight: 600; letter-spacing: .14em;
    line-height: 1.2; text-transform: uppercase;
}
.cl-client-title h1#clClientTitle::after {
    content: ''; display: block; width: 42px; height: 1px;
    margin: 17px auto 0; background: #777;
}
.cl-client-admin {
    display: flex; justify-content: center; gap: 8px; margin-top: 24px;
    font-family: 'Pretendard', -apple-system, sans-serif;
}
.cl-client-admin a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 86px; height: 34px; padding: 0 15px; box-sizing: border-box;
    border: 1px solid #d8d5ce; border-radius: 18px; background: #fff;
    color: #555; font-size: 12px; font-weight: 600; text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.cl-client-admin a:hover { border-color: #222; background: #222; color: #fff; }

.cl-client-section {
    width: 100%;
    min-height: calc(100vh - 340px);
    padding: 0 clamp(32px, 5vw, 94px) 150px;
    box-sizing: border-box;
    background: #fff;
    color: #171717;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cl-client-grid {
    display: flex; flex-direction: column; gap: clamp(42px, 4vw, 66px);
    width: 100%; max-width: 1450px; margin: 0 auto;
}
.cl-client-row {
    display: grid; grid-template-columns: repeat(var(--client-row-size), minmax(0, 1fr));
    column-gap: clamp(30px, 3.2vw, 58px); width: var(--client-row-width); margin: 0 auto;
}
.cl-client-item {
    position: relative; display: flex; align-items: center; justify-content: center; min-width: 0;
    height: clamp(62px, 4.6vw, 78px); padding: 2px; box-sizing: border-box; text-decoration: none;
    border: 0; background: #fff;
    opacity: 0; transform: translateY(14px);
    transition: opacity .65s ease, transform .65s ease;
    transition-delay: calc(min(var(--client-index), 13) * 35ms);
}
.cl-client-logo {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; text-decoration: none;
}
.cl-client-section.is-visible .cl-client-item { opacity: 1; transform: translateY(0); }
.cl-client-logo img {
    display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
    filter: grayscale(1); opacity: .68;
    transition: opacity .3s ease, transform .35s ease, filter .3s ease;
}
a.cl-client-logo:hover img,
a.cl-client-logo:focus-visible img { filter: grayscale(1) contrast(1.08); opacity: .9; transform: scale(1.035); }
.cl-client-edit {
    position: absolute; top: -10px; right: -10px; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border: 1px solid #dedbd4; border-radius: 50%;
    background: rgba(255,255,255,.96); color: #777; box-shadow: 0 3px 12px rgba(0,0,0,.08);
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.cl-client-edit svg { width: 13px; height: 13px; fill: currentColor; }
.cl-client-edit:hover { border-color: #222; background: #222; color: #fff; transform: translateY(-1px); }
.cl-client-empty { margin: 80px 0 0; color: #999; font-size: 14px; text-align: center; }
.cl-partner-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    width: 100%; max-width: 1450px; margin: 72px auto 0; padding-top: 0;
    box-sizing: border-box; border-top: 0;
}
.cl-partner-foot p { margin: 0; color: #7f7f7b; font-size: 15px; font-weight: 300; line-height: 1.75; }
.cl-partner-foot a {
    flex: none; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px;
    border-bottom: 1px solid #333; color: #222; font-size: 14px; font-weight: 700;
    letter-spacing: -.01em; text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}
.cl-partner-foot a:hover { color: #b58a43; border-color: #b58a43; }
.cl-partner-foot svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1200px) {
    .cl-client-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 38px 5vw; }
    .cl-client-row { display: contents; }
}
@media (max-width: 860px) {
    .cl-client-section { min-height: auto; padding: 42px 6vw 100px; }
    .cl-client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8vw; row-gap: 38px; }
    .cl-client-item { height: 66px; padding: 2px; }
    .cl-partner-foot { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 76px; }
}
@media (max-width: 480px) {
    .cl-client-section { padding-top: 34px; }
    .cl-client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 13vw; row-gap: 34px; }
    .cl-partner-signature { gap: 10px; margin-bottom: 44px; }
    .cl-partner-signature > img:first-child { height: 39px; }
    .cl-partner-signature-x { font-size: 27px; }
    .cl-partner-signature .cl-partner-signature-forma { width: 172px; height: auto; }
    .cl-partner-signature-divider { width: 100%; margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .cl-client-item { opacity: 1; transform: none; transition: none; }
}
