.contest-hero { position: relative; overflow: hidden; min-height: 900px; background: #f5f0e6 url('/img/hero-bg-pattern.png') center center / cover no-repeat; }
.contest-hero__inner { position: relative; max-width: 1320px; min-height: 900px; margin: 0 auto; padding: 100px 20px 120px; }
.contest-hero__title { position: relative; z-index: 2; max-width: 760px; margin: 110px auto 0; text-align: center; }
.contest-hero__title img { display: block; width: 100%; height: auto; }
.contest-hero__btns { position: relative; z-index: 3; display: flex; justify-content: center; gap: 14px; margin-top: 100px; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; height: 54px; padding: 0 24px; border-radius: 999px; font-size: 20px; font-weight: 800; text-decoration: none; transition: all .2s ease; text-decoration: none; }
.hero-btn--primary { background: #ffb804; color: #fff; }
.hero-btn--line { background: #fff; border: 2px solid #4c84d9; color: #4c84d9; }
.hero-btn:hover { transform: translateY(-3px); text-decoration: none; }
.hero-btn:active { transform: translateY(-2px); }
.hero-btn--primary:hover, .hero-btn--primary:focus, .hero-btn--primary:active { color: #fff; background: #ffb804; border-color: #ffb804; box-shadow: 0 10px 20px rgba(255, 184, 4, .28); }
.hero-btn--line:hover, .hero-btn--line:focus, .hero-btn--line:active { color: #4c84d9; background: #fff; border-color: #4c84d9; box-shadow: 0 10px 20px rgba(76, 132, 217, .18); }
.hero-kid { position: absolute; z-index: 1; will-change: transform; pointer-events: none; }
/* 위치값 예시 */
.hero-kid--1 { top: 380px; left: 95px; width: 140px; animation: floatA 4.8s ease-in-out infinite; }
.hero-kid--2 { top: 240px; left: 250px; width: 108px; animation: floatB 5.6s ease-in-out infinite; }
.hero-kid--3 { top: 235px; right: 255px; width: 110px; animation: floatA 5.1s ease-in-out infinite; animation-delay: .8s; }
.hero-kid--4 { top: 230px; right: 70px; width: 108px; animation: floatC 5.9s ease-in-out infinite; animation-delay: .4s; }
.hero-kid--5 { top: 510px; right: 120px; width: 120px; animation: floatB 4.9s ease-in-out infinite; animation-delay: 1s; }
.hero-kid--6 { top: 595px; left: 220px; width: 96px; animation: floatC 5.3s ease-in-out infinite; animation-delay: .6s; }
/* 살짝 둥실 + 회전 */
@keyframes floatA {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    25% { transform: translate3d(0, -8px, 0) rotate(-2deg); }
    50% { transform: translate3d(2px, -14px, 0) rotate(1deg); }
    75% { transform: translate3d(-2px, -6px, 0) rotate(2deg); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}
@keyframes floatB {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    20% { transform: translate3d(4px, -6px, 0) rotate(2deg); }
    50% { transform: translate3d(0, -12px, 0) rotate(-1deg); }
    80% { transform: translate3d(-3px, -5px, 0) rotate(1deg); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}
@keyframes floatC {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    30% { transform: translate3d(-3px, -10px, 0) rotate(-2deg); }
    60% { transform: translate3d(3px, -14px, 0) rotate(2deg); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}
@media (max-width:991px) {
    .contest-hero { min-height: 720px; background-position: center top; }
    .contest-hero__inner { min-height: 720px; padding: 80px 20px 90px; }
    .contest-hero__title { max-width: 620px; margin-top: 120px; }
    .hero-kid--1 { top: 180px; left: 30px; width: 100px; }
    .hero-kid--2 { top: 95px; left: 140px; width: 84px; }
    .hero-kid--3 { top: 120px; right: 120px; width: 74px; }
    .hero-kid--4, .hero-kid--5 { display: none; }
}
@media (max-width:767px) {
    .contest-hero { min-height: 620px; background-size: cover; }
    .contest-hero__inner { min-height: 620px; padding: 70px 16px 70px; }
    .contest-hero__title { max-width: 100%; margin-top: 110px; }
    .contest-hero__btns { flex-direction: column; align-items: center; margin-top: 50px; }
    .hero-btn { width: 100%; max-width: 220px; height: 48px; font-size: 15px; }
    .hero-kid--1 { top: 165px; left: 12px; width: 90px; }
    .hero-kid--2 { top: 78px; left: 78px; width: 68px; }
    .hero-kid--3 { top: 95px; right: 24px; width: 64px; }
    .hero-kid--4, .hero-kid--5, .hero-kid--6 { display: none; }
}
@media (hover:hover) and (pointer:fine) {
    .hero-btn:hover { transform: translateY(-5px); }
}
.section-kigam { padding: 120px 0; background: #fafafa; }
.section-kigam .container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
/* 상단 소개 */
.kigam-intro { display: flex; align-items: center; justify-content: space-between; gap: 72px; margin-bottom: 150px; }
.kigam-intro__photo { position: relative; flex: 0 0 48%; max-width: 560px; min-height: 640px; }
.kigam-intro__photo-bg { position: absolute; left: 15px; bottom: -15px; width: 100%; height: 100%; border-radius: 28px; background: #e9e9e9; transform: rotate(-5deg); z-index: 1; }
.kigam-intro__photo-main { position: relative; z-index: 2; overflow: hidden; border-radius: 28px; transform: rotate(-4deg); box-shadow: 0 20px 40px rgba(0,0,0,.08); height: 640px; }
.kigam-intro__photo-main img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.kigam-intro__photo-main img.is-active { opacity: 1; z-index: 2; }
.kigam-intro__badge { position: absolute; right: -8px; bottom: 78px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; min-width: 140px; height: 88px; padding: 0 20px; border-radius: 50%; background: #e2e54f; color: #9d3e00; font-size: 1.5rem; font-weight: 700; transform: rotate(-16deg); box-shadow: 0 14px 24px rgba(0,0,0,.08); }
.kigam-intro__text { flex: 0 0 46%; }
.about--logo { height: 40px; margin-top: -10px; }
.kigam-intro__num { margin: 0 0 18px; font-size: 4rem; font-weight: 800; line-height: 1; }
.kigam-intro__title { margin: 0; font-size: 2.8rem; font-weight: 800; line-height: 1.2; word-break: keep-all; }
.kigam-intro__lead { margin: 34px 0 0; font-size: 1.625rem; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.kigam-intro__desc { margin: 28px 0 0; font-size: 1.125rem; line-height: 1.9; word-break: keep-all; }
.kigam-intro__btns { margin-top: 36px; }
.kigam-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 58px; padding: 0 28px; border-radius: 999px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease, color .28s ease, border-color .28s ease; }
.kigam-btn--download { background: #476ef3; color: #fff; box-shadow: 0 12px 24px #476ff385; }
.kigam-btn--download:hover { transform: translateY(-5px); color: #fff; background: #476ef3; box-shadow: 0 16px 28px #476ff385; }
/* 하단 성과 */
.kigam-achievement__head { margin-bottom: 34px; text-align: center; }
.kigam-achievement__sub { margin: 0 0 10px; color: #4c84d9; font-size: 1.2rem; font-weight: 700; }
.kigam-achievement__title { margin: 0; color: #1f1f1f; font-size: 2.25rem; font-weight: 800; line-height: 1.35; word-break: keep-all; }
.kigam-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.kigam-card { overflow: hidden; padding: 0 0 34px; border: 1px solid #e3e6ec; border-radius: 22px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.04); text-align: center; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.kigam-card:hover { transform: translateY(-10px); box-shadow: 0 18px 32px rgba(76,132,217,.12); border-color: #4c84d9; }
.kigam-card__icon { overflow: hidden; width: 100%; height: 190px; margin: 0 0 28px; border-radius: 22px 22px 0 0; }
.kigam-card__icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kigam-card__title, .kigam-card__desc { padding-left: 26px; padding-right: 26px; }
.kigam-card__title { margin: 0 0 18px; color: #111; font-size: 1.375rem; font-weight: 800; line-height: 1.45; word-break: keep-all; }
.kigam-card__desc { margin: 0; color: #4d4d4d; font-size: 1rem; line-height: 1.8; word-break: keep-all; }
/* 반응형 */
@media (max-width:1199px) {
    .kigam-intro { gap: 48px; }
    .kigam-intro__photo { min-height: 560px; }
    .kigam-intro__photo-main { height: 560px; }
    .kigam-intro__title { font-size: 3rem; }
    .kigam-card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width:991px) {
    .section-kigam { padding: 90px 0; }
    .kigam-intro { flex-direction: column; gap: 42px; margin-bottom: 100px; }
    .kigam-intro__photo, .kigam-intro__text { flex: none; width: 100%; max-width: 100%; }
    .kigam-intro__photo { min-height: auto; }
    .kigam-intro__photo-main { height: 500px; }
    .kigam-intro__text { text-align: center; }
    .kigam-intro__badge { right: 18px; bottom: 50px; }
    .kigam-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:767px) {
    .section-kigam { padding: 72px 0; }
    .kigam-intro__photo-bg { left: 10px; bottom: -10px; }
    .kigam-intro__photo-main { height: 360px; }
    .kigam-intro__badge { min-width: 110px; height: 70px; font-size: 1.125rem; right: 8px; bottom: 34px; }
    .kigam-intro__num { font-size: 2.75rem; }
    .kigam-intro__title { font-size: 2.25rem; }
    .kigam-intro__lead { margin-top: 22px; font-size: 1.25rem; }
    .kigam-intro__desc { margin-top: 18px; font-size: 1rem; line-height: 1.75; }
    .kigam-btn { min-width: 190px; height: 50px; font-size: .9375rem; }
    .kigam-achievement__title { font-size: 1.75rem; }
    .kigam-card-grid { grid-template-columns: 1fr; gap: 18px; }
    .kigam-card { min-height: auto; padding: 32px 22px 28px; }
    .kigam-card__icon { margin-bottom: 20px; }
    .kigam-card__title { font-size: 1.25rem; margin-bottom: 12px; }
    .kigam-card__desc { font-size: .9375rem; line-height: 1.7; }
    .about--logo { height: 34px; margin-top: -5px; }
}
.overview-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 30px 20px; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease; }
.overview-modal.is-show { opacity: 1; visibility: visible; }
.overview-modal__dim { position: absolute; inset: 0; background: rgba(20, 24, 32, .45); backdrop-filter: blur(4px); }
.overview-modal__dialog { position: relative; z-index: 2; width: 100%; max-width: 600px; min-height: 720px; max-height: 90vh; overflow-y: auto; border: 1px solid #e3e6ec; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.overview-modal__inner { padding: 42px 38px 38px; }
.overview-modal__close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f3f6fb; color: #333; font-size: 28px; line-height: 1; cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.overview-modal__close:hover { transform: translateY(-2px); background: #e9eef8; }
.overview-modal__num { margin: 0 0 10px; color: #4c84d9; font-size: 1rem; font-weight: 800; letter-spacing: .08em; }
.overview-modal__title { margin: 0; color: #111; font-size: 2.25rem; font-weight: 800; line-height: 1.2; word-break: keep-all; }
.overview-modal__box { margin-top: 28px; padding: 34px 30px; border: 1px solid #e3e6ec; border-radius: 24px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.04); }
.overview-modal__headline { margin: 0; color: #111; font-size: 1.75rem; font-weight: 800; line-height: 1.35; word-break: keep-all; }
.overview-modal__intro { margin: 18px 0 0; color: #555; font-size: 1.0625rem; line-height: 1.85; word-break: keep-all; }
.overview-modal__list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid #eceff4; }
.overview-modal__list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid #eceff4; }
.overview-modal__list strong { flex: 0 0 56px; color: #111; font-size: 1rem; font-weight: 800; }
.overview-modal__list span { color: #444; font-size: 1rem; line-height: 1.8; word-break: keep-all; }
.overview-modal__btns { margin-top: 28px; text-align: center; }
.overview-modal__action { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 54px; padding: 0 26px; border-radius: 999px; background: #ffb804; color: #fff; font-size: 1rem; font-weight: 700; text-decoration: none; transition: transform .28s ease, box-shadow .28s ease; }
.overview-modal__action:hover { transform: translateY(-5px); color: #fff; box-shadow: 0 12px 24px rgba(255, 184, 4, .24); }
body.modal-open { overflow: hidden; }
@media (max-width:767px) {
    .overview-modal { padding: 16px; }
    .overview-modal__dialog { max-width: 100%; min-height: auto; max-height: 88vh; border-radius: 22px; }
    .overview-modal__inner { padding: 28px 20px 24px; }
    .overview-modal__close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 24px; }
    .overview-modal__title { font-size: 1.75rem; padding-right: 34px; }
    .overview-modal__box { margin-top: 20px; padding: 22px 18px; border-radius: 18px; }
    .overview-modal__headline { font-size: 1.375rem; }
    .overview-modal__intro { font-size: .95rem; line-height: 1.7; }
    .overview-modal__list li { flex-direction: column; gap: 6px; padding: 16px 0; }
    .overview-modal__list strong, .overview-modal__list span { font-size: .95rem; }
    .overview-modal__action { width: 100%; min-width: 0; height: 50px; font-size: .95rem; }
}


