feat: GTSIT 사이트 구축
This commit is contained in:
489
design/assets/styles.css
Normal file
489
design/assets/styles.css
Normal file
@@ -0,0 +1,489 @@
|
||||
@font-face {
|
||||
font-family: 'Pretendard Variable';
|
||||
font-weight: 400 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
src: url('pretendard.woff2') format('woff2-variations');
|
||||
}
|
||||
:root {
|
||||
--primary: #2563eb;
|
||||
--primary-dark: #1d4ed8;
|
||||
--primary-soft: #eff6ff;
|
||||
--success: #16a34a;
|
||||
--success-soft: #dcfce7;
|
||||
--warning: #d97706;
|
||||
--warning-soft: #fef3c7;
|
||||
--purple: #7e22ce;
|
||||
--purple-soft: #f3e8ff;
|
||||
--bg: #fafafa;
|
||||
--card: #ffffff;
|
||||
--subtle: #f4f5f7;
|
||||
--text: #18181b;
|
||||
--secondary: #52525b;
|
||||
--muted: #71717a;
|
||||
--border: #e4e4e7;
|
||||
--border-strong: #d4d4d8;
|
||||
--shadow: 0 12px 30px rgba(20, 30, 45, 0.1);
|
||||
--container: 1200px;
|
||||
--radius: 8px;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
html { -webkit-text-size-adjust: 100%; }
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
|
||||
color: var(--text);
|
||||
background: var(--bg);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
a { color: inherit; text-decoration: none; }
|
||||
button, input, select, textarea { font: inherit; }
|
||||
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
||||
.site-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
height: 72px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
padding: 0 32px;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
border-bottom: 1px solid var(--border);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
|
||||
.brand strong { display: block; font-size: 17px; font-weight: 800; }
|
||||
.brand em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
|
||||
.brand-mark {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
flex: none;
|
||||
border-radius: var(--radius);
|
||||
color: #fff;
|
||||
background: var(--primary);
|
||||
box-shadow: 0 8px 20px rgba(37, 99, 235, 0.26);
|
||||
}
|
||||
.brand-mark svg { width: 23px; height: 23px; }
|
||||
.gnb { display: flex; align-items: center; gap: 4px; }
|
||||
.gnb a {
|
||||
padding: 10px 14px;
|
||||
border-radius: var(--radius);
|
||||
color: var(--secondary);
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.gnb a:hover, .gnb a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }
|
||||
.header-call {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 38px;
|
||||
padding: 0 16px;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: var(--radius);
|
||||
color: var(--primary);
|
||||
font-weight: 800;
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.hero {
|
||||
position: relative;
|
||||
min-height: min(640px, calc(100svh - 84px));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
background: #111827;
|
||||
}
|
||||
.hero-image {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.hero-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(90deg, rgba(10, 18, 36, 0.88) 0%, rgba(10, 18, 36, 0.64) 46%, rgba(10, 18, 36, 0.18) 100%);
|
||||
}
|
||||
.hero-content {
|
||||
position: relative;
|
||||
max-width: var(--container);
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 76px 24px 88px;
|
||||
color: #fff;
|
||||
}
|
||||
.eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--primary);
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
font-weight: 900;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.hero .eyebrow { color: #bfdbfe; }
|
||||
.hero h1 {
|
||||
margin: 20px 0 0;
|
||||
max-width: 650px;
|
||||
font-size: 48px;
|
||||
line-height: 1.14;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.hero p {
|
||||
margin: 22px 0 0;
|
||||
max-width: 590px;
|
||||
color: #dbeafe;
|
||||
font-size: 18px;
|
||||
line-height: 1.68;
|
||||
}
|
||||
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
min-height: 44px;
|
||||
padding: 0 18px;
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid transparent;
|
||||
font-weight: 800;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.btn.primary { background: var(--primary); color: #fff; }
|
||||
.btn.primary:hover { background: var(--primary-dark); }
|
||||
.btn.secondary { background: var(--card); color: var(--primary); border-color: var(--border-strong); }
|
||||
.btn.secondary:hover { border-color: var(--primary); }
|
||||
.btn.light { color: #fff; border-color: rgba(255,255,255,0.58); }
|
||||
.btn.light:hover { background: rgba(255,255,255,0.12); }
|
||||
.btn.full { width: 100%; }
|
||||
.section, .page-main, .article-main, .admin-main {
|
||||
max-width: var(--container);
|
||||
margin: 0 auto;
|
||||
padding: 64px 24px;
|
||||
}
|
||||
.services-section { padding-top: 58px; }
|
||||
.section-head { max-width: 680px; margin-bottom: 28px; }
|
||||
.section-head.row {
|
||||
max-width: none;
|
||||
display: flex;
|
||||
align-items: end;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
}
|
||||
.section-head h2, .page-hero h1, .admin-head h1 {
|
||||
margin: 10px 0 0;
|
||||
font-size: 32px;
|
||||
line-height: 1.25;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.section-head p, .page-hero p {
|
||||
margin: 12px 0 0;
|
||||
color: var(--secondary);
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
.service-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
.service-card, .post-card, .admin-panel, .contact-form, .contact-info {
|
||||
background: var(--card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: 0 1px 2px rgba(20, 30, 45, 0.04);
|
||||
}
|
||||
.service-card { padding: 24px; }
|
||||
.service-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: var(--radius);
|
||||
background: var(--primary-soft);
|
||||
color: var(--primary);
|
||||
}
|
||||
.service-icon svg { width: 26px; height: 26px; }
|
||||
.service-card h3 { margin: 18px 0 0; font-size: 18px; }
|
||||
.service-card p { margin: 10px 0 0; color: var(--secondary); line-height: 1.65; }
|
||||
.process-section {
|
||||
max-width: none;
|
||||
background: #eef6f3;
|
||||
border-block: 1px solid #dce9e4;
|
||||
}
|
||||
.process-section > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
|
||||
.process-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.process-list li {
|
||||
position: relative;
|
||||
padding: 22px;
|
||||
background: #fff;
|
||||
border: 1px solid #dce9e4;
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
.process-list span { color: var(--success); font-weight: 900; font-size: 13px; }
|
||||
.process-list strong { display: block; margin-top: 10px; font-size: 17px; }
|
||||
.process-list p { margin: 8px 0 0; color: var(--secondary); line-height: 1.6; }
|
||||
.post-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
.post-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
.post-card a { display: block; height: 100%; padding: 22px; }
|
||||
.post-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); transition: 160ms ease; }
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 24px;
|
||||
padding: 0 9px;
|
||||
border-radius: 999px;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
color: var(--primary);
|
||||
background: var(--primary-soft);
|
||||
}
|
||||
.badge.success { color: var(--success); background: var(--success-soft); }
|
||||
.badge.warning { color: var(--warning); background: var(--warning-soft); }
|
||||
.badge.purple { color: var(--purple); background: var(--purple-soft); }
|
||||
.post-card h3 { margin: 16px 0 0; font-size: 19px; line-height: 1.35; }
|
||||
.post-card p { margin: 10px 0 0; color: var(--secondary); line-height: 1.62; }
|
||||
.post-meta { display: block; margin-top: 18px; color: var(--muted); font-size: 13px; }
|
||||
.text-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: var(--primary);
|
||||
font-weight: 800;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cta-band {
|
||||
max-width: var(--container);
|
||||
margin: 0 auto 72px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
padding: 34px;
|
||||
border-radius: var(--radius);
|
||||
background: linear-gradient(135deg, #1d4ed8, #0f766e);
|
||||
color: #fff;
|
||||
}
|
||||
.cta-band h2 { margin: 0; font-size: 26px; line-height: 1.3; }
|
||||
.cta-band p { margin: 10px 0 0; color: #dbeafe; line-height: 1.62; }
|
||||
.page-hero.compact { padding: 10px 0 28px; max-width: 760px; }
|
||||
.filter-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.filter-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 36px;
|
||||
padding: 0 15px;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: 999px;
|
||||
background: var(--card);
|
||||
color: var(--secondary);
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
}
|
||||
.filter-chip.active { color: #fff; background: var(--primary); border-color: var(--primary); }
|
||||
.article-main { max-width: 920px; }
|
||||
.back-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-bottom: 24px;
|
||||
color: var(--secondary);
|
||||
font-weight: 800;
|
||||
}
|
||||
.article {
|
||||
padding-bottom: 48px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.article h1 {
|
||||
margin: 18px 0 0;
|
||||
font-size: 38px;
|
||||
line-height: 1.22;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
.article-meta { margin-top: 14px; color: var(--muted); font-size: 14px; }
|
||||
.article-visual {
|
||||
margin-top: 30px;
|
||||
height: 260px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: var(--radius);
|
||||
background: linear-gradient(135deg, var(--primary-soft), #f8fafc 58%, #f0fdf4);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
.visual-icon {
|
||||
width: 92px;
|
||||
height: 92px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: var(--radius);
|
||||
color: var(--primary);
|
||||
background: #fff;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.visual-icon svg { width: 52px; height: 52px; }
|
||||
.article-body { margin-top: 34px; }
|
||||
.article-body p {
|
||||
margin: 0 0 20px;
|
||||
color: #2b2f38;
|
||||
font-size: 17px;
|
||||
line-height: 1.86;
|
||||
}
|
||||
.related-section { padding-top: 44px; }
|
||||
.contact-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 360px;
|
||||
gap: 22px;
|
||||
align-items: start;
|
||||
}
|
||||
.contact-form, .contact-info { padding: 24px; }
|
||||
.form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
.contact-form label { display: block; margin-bottom: 16px; color: var(--secondary); font-size: 13px; font-weight: 800; }
|
||||
.contact-form input, .contact-form select, .contact-form textarea {
|
||||
width: 100%;
|
||||
margin-top: 7px;
|
||||
padding: 12px 13px;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: var(--radius);
|
||||
color: var(--text);
|
||||
background: #fff;
|
||||
outline: none;
|
||||
}
|
||||
.contact-form textarea { resize: vertical; min-height: 150px; }
|
||||
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16); }
|
||||
.check { display: flex !important; align-items: center; gap: 8px; }
|
||||
.check input { width: auto; margin: 0; }
|
||||
.form-result { min-height: 22px; margin: 14px 0 0; color: var(--success); font-weight: 800; }
|
||||
.contact-info h2 { margin: 0 0 18px; font-size: 22px; }
|
||||
.contact-info dl, .admin-panel dl { margin: 0; }
|
||||
.contact-info div, .admin-panel dl div {
|
||||
padding: 14px 0;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
.contact-info div:first-child, .admin-panel dl div:first-child { border-top: 0; padding-top: 0; }
|
||||
.contact-info dt, .admin-panel dt { color: var(--muted); font-size: 12px; font-weight: 900; }
|
||||
.contact-info dd, .admin-panel dd { margin: 5px 0 0; color: var(--text); line-height: 1.5; }
|
||||
.admin-main { max-width: var(--container); }
|
||||
.admin-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
.admin-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
.admin-panel { padding: 22px; }
|
||||
.admin-panel.settings { grid-column: 1 / -1; }
|
||||
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
|
||||
.panel-title h2 { margin: 0; font-size: 20px; }
|
||||
.panel-title span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 24px;
|
||||
padding: 0 9px;
|
||||
border-radius: 999px;
|
||||
color: var(--primary);
|
||||
background: var(--primary-soft);
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
}
|
||||
.table-list { display: grid; gap: 10px; }
|
||||
.table-list a, .table-list div {
|
||||
display: block;
|
||||
padding: 13px;
|
||||
border-radius: var(--radius);
|
||||
background: var(--subtle);
|
||||
}
|
||||
.table-list strong { display: block; font-size: 14px; line-height: 1.45; }
|
||||
.table-list span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
|
||||
.site-footer {
|
||||
border-top: 1px solid var(--border);
|
||||
background: #fff;
|
||||
}
|
||||
.footer-inner {
|
||||
max-width: var(--container);
|
||||
margin: 0 auto;
|
||||
padding: 34px 24px 40px;
|
||||
}
|
||||
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
|
||||
.footer-brand strong { display: block; font-size: 16px; }
|
||||
.footer-brand p { margin: 6px 0 0; color: var(--secondary); line-height: 1.55; }
|
||||
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 0; color: var(--secondary); font-size: 14px; font-weight: 700; }
|
||||
address {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
margin-top: 22px;
|
||||
color: var(--muted);
|
||||
font-style: normal;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.floating-call {
|
||||
position: fixed;
|
||||
right: 18px;
|
||||
bottom: 18px;
|
||||
z-index: 30;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 44px;
|
||||
padding: 0 17px;
|
||||
border-radius: 999px;
|
||||
color: #fff;
|
||||
background: var(--primary);
|
||||
font-weight: 900;
|
||||
box-shadow: 0 14px 34px rgba(37, 99, 235, 0.32);
|
||||
}
|
||||
@media (max-width: 920px) {
|
||||
.site-header { height: auto; min-height: 68px; flex-wrap: wrap; padding: 14px 18px; }
|
||||
.brand { min-width: 0; }
|
||||
.header-call { display: none; }
|
||||
.gnb { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
|
||||
.hero { min-height: calc(100svh - 170px); }
|
||||
.hero h1 { font-size: 36px; }
|
||||
.hero p { font-size: 16px; }
|
||||
.service-grid, .post-grid, .process-list, .contact-layout, .admin-grid { grid-template-columns: 1fr; }
|
||||
.section-head.row, .cta-band, .admin-head { align-items: flex-start; flex-direction: column; }
|
||||
.form-grid { grid-template-columns: 1fr; }
|
||||
.admin-panel.settings { grid-column: auto; }
|
||||
}
|
||||
@media (max-width: 560px) {
|
||||
.hero-content { padding: 58px 20px 70px; }
|
||||
.hero h1 { font-size: 31px; }
|
||||
.section, .page-main, .article-main, .admin-main { padding: 46px 20px; }
|
||||
.section-head h2, .page-hero h1, .admin-head h1 { font-size: 26px; }
|
||||
.article h1 { font-size: 29px; }
|
||||
.article-visual { height: 200px; }
|
||||
.cta-band { margin: 0 20px 54px; padding: 24px; }
|
||||
.floating-call { left: 18px; right: 18px; }
|
||||
}
|
||||
Reference in New Issue
Block a user