﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  line-height: inherit;
  color: inherit;
  text-align: inherit;
  vertical-align: middle;
  outline: 0;
  box-sizing: border-box;
}

body,
div,
ul,
ol,
li,
dl,
dt,
dd,
p,
input,
textarea,
select,
em,
address,
fieldset,
form,
iframe,
object {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

img,
fieldset,
iframe {
  border: 0 none;
}

li {
  list-style: none outside none;
}

input,
select,
button {
  cursor: pointer;
  vertical-align: middle;
}

img {
  vertical-align: top;
  border: 0;
}

em,
address,
i,
strong {
  font-style: normal;
  vertical-align: baseline;
}

iframe {
  margin: 0;
  border: 0;
}

a,
a:link,
a:hover,
a:visited,
a:active {
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  text-shadow: none;
  font-weight: normal;
}

hr {
  display: none;
}

legend {
  display: block;
  left: 0;
  position: absolute;
  top: -9000em;
}

table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

caption {
  font-size: 0;
  height: 0;
  visibility: hidden;
  width: 0;
}

button {
  border: none;
  background: none;
  box-sizing: border-box;
  cursor: pointer;
  outline: 0;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

input,
textarea {
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  box-sizing: border-box;
  cursor: text;
  outline: 0;
}

select,
input,
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
}

input::-ms-expand {
  display: none ! important;
}

select::-ms-expand {
  display: none ! important;
}

select {
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
}

select::-ms-expand {
  display: none;
}

strong {
  font-weight: bold;
}

b {
  font-weight: normal;
}

body {
  min-width: 375px;
  line-height: 1.6;
  color: #1a1a1a;
  font-size: 16px;
  letter-spacing: -0.02em;
}

body.scroll-none {
  overflow: hidden;
}

::-webkit-input-placeholder {
  color: #c7c7c7;
}

:-moz-placeholder {
  color: #c7c7c7;
}

::-moz-placeholder {
  color: #c7c7c7;
}

:-ms-input-placeholder {
  color: #c7c7c7;
}

body,
input,
select,
textarea,
button,
.ui-btn {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html,
body {
  height: 100%;
}

body.main-page {
  overflow-y: auto;
}

body.main-page.scroll-enabled {
  overflow: auto;
}

body.main-page #main.section {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: auto;
  background: #fff;
  border-bottom: 1px solid #ddd;
  /* 모든 테두리 제거 */
}

body.main-page .section {
  height: 100vh;
}

body .section,
body .section.scroll-enabled {
  height: auto;
}

body.main-page footer {
  margin-top: 0;
}

/* GNB */
nav.gnb {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  /* 상하 여백 1.5배 (1.875rem × 1.5) */
  height: 140px;
  /* 높이 1.5배 (100px × 1.5) */
  background: white;
  max-width: 1400px;
  /* 배너와 동일한 최대 너비 */
  margin: 0 auto;
  /* 중앙 정렬 */
}

nav.gnb h1 a img {
  max-width: 250px;
  transition: opacity 0.2s;
}

nav.gnb h1 a:hover img {
  opacity: 0.8;
}

.login-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-left: 2rem;
}

.login-box a {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border-radius: 8px;
  border: 2px solid transparent;
}

.login-box a.login {
  background: linear-gradient(135deg, #6B4FBB 0%, #E63946 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(107, 79, 187, 0.3);
}

.login-box a.login:hover {
  background: linear-gradient(135deg, #8b3a9f 0%, #d32f3e 100%);
  box-shadow: 0 4px 12px rgba(107, 79, 187, 0.4);
  transform: translateY(-1px);
}

.login-box a.signup {
  color: #6B4FBB;
  border-color: #6B4FBB;
  background: white;
}

.login-box a.signup:hover {
  background: #f5f3ff;
  border-color: #8b3a9f;
  color: #8b3a9f;
  transform: translateY(-1px);
}

/* 로그인 상태 스타일 */
.login-box .user-name {
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  color: #374151;
  font-weight: 600;
  white-space: nowrap;
  background: #f8fafc;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
}

.login-box a.logout {
  background: linear-gradient(135deg, #6B4FBB 0%, #E63946 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(107, 79, 187, 0.3);
}

.login-box a.logout:hover {
  background: linear-gradient(135deg, #8b3a9f 0%, #d32f3e 100%);
  box-shadow: 0 4px 12px rgba(107, 79, 187, 0.4);
  transform: translateY(-1px);
}

/* 세션 타이머 스타일 */
.login-box .session-timer {
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  color: #6B4FBB;
  font-weight: 600;
  white-space: nowrap;
  background: #f5f3ff;
  border-radius: 8px;
  border: 2px solid #6B4FBB;
  font-family: 'Consolas', 'Monaco', monospace;
}

.login-box .session-timer.warning {
  color: #e74c3c;
  background: #fef2f2;
  border-color: #e74c3c;
}

.menu-toggle {
  display: none;
}

.gnb-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 3rem;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.menu>li {
  position: relative;
  cursor: pointer;
}

.menu>li span {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
  transition: color 0.2s;
  cursor: default;
  /* 기본 커서 */
  user-select: none;
  /* 텍스트 선택 방지 */
}

.menu>li:hover>span,
.menu>li.active>span {
  color: #374151;
  /* 호버 시에도 색상 변경 없음 */
}

.menu>li span::after {
  content: '';
  display: block;
  position: absolute;
  height: 3px;
  width: 0;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2958ff;
  transition: width 0.3s ease;
  display: none;
  /* 밑줄 효과 제거 */
}

.menu>li.active>span::after,
.menu>li:hover>span::after {
  width: 0;
  /* 호버 시에도 밑줄 표시 안 함 */
}

.depth2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  display: none;
  z-index: 10;
  padding-top: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.depth2 li {
  text-align: center;
  padding: 0.75rem;
}

.depth2 li:first-child {
  border-radius: 12px 12px 0 0;
}

.depth2 li:last-child {
  border-radius: 0 0 12px 12px;
  border-bottom: none;
}

.depth2 li a {
  display: block;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.depth2 li a:hover {
  color: #2958ff;
}

.depth-bg {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0;
  background: white;
  z-index: 1;
  transition: height 0.3s ease;
  overflow: hidden;
}

.menu.show-depth2~.depth-bg {
  height: 180px;
}

.menu.show-depth2 .depth2 {
  display: block;
}

.menu.show-depth2.animate .depth2 {
  opacity: 1;
}

/* 배너 섹션 */
.banner-section {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-bottom: 4rem;
  /* 하단 여백 추가 */
}

body.main-page .banner-section {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0;
}

.banner-main {
  width: 100%;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  /* 메인 배너 하단 공간 확보 */
  animation: fadeInUp 0.8s ease-out;
  padding-left: 0;
  padding-right: 0;
  margin: 0 auto;
}

.banner-main a img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Swiper 배너 커스터마이징 */
.banner-swiper {
  width: 100%;
  /* max-width: 1600px; */
  height: 100%;
  position: relative;
  padding: 0 100px;
  overflow: visible;
}

.banner-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-swiper .swiper-slide a {
  display: block;
  width: 100%;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.banner-swiper .swiper-slide a:hover {
  transform: translateY(-4px);
  /*   box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15); */
}

/* Swiper 좌우 버튼 - 숨김 처리 */
.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
  display: none !important;
  width: 44px;
  height: 44px;
  background: #f3f3f3;
  border-radius: 50%;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  border: 2px solid #a6a6a6;
  color: #a6a6a6;
}

.banner-swiper .swiper-button-prev {
  left: 2rem;
}

.banner-swiper .swiper-button-next {
  right: 2rem;
}

.banner-swiper .swiper-button-prev:hover,
.banner-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
  color: #a6a6a6;
}

/* Swiper 페이지네이션 */
.banner-swiper .swiper-pagination {
  bottom: 20px !important;
}

.banner-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  opacity: 1;
  transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.banner-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 카드 컨테이너 wrapper */
.banner-sub-wrapper {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1150px;
  background: #ede9fe;
  border-radius: 60px;
  padding: 1.5rem 1.5rem 2rem;
  z-index: 2;
}

.banner-sub {
  width: 100%;
  max-width: 1600px;
  display: flex;
  /* justify-content: center; */
  gap: 1rem;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 2rem 7rem;
  overflow: visible;
}

.ban-sub:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.ban-sub:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
  margin-left: auto;
}

.ban-sub:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.banner-main a,
.ban-sub a {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.banner-main a:hover,
.ban-sub a:hover {
  transform: translateY(-8px);
  /*   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
}

.banner-main a img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 서브배너 스타일 - 크기 조정 */
.ban-sub {
  overflow: hidden;
}

.ban-sub a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 210px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* 공지사항 배너 */
.ban-sub.c01 {
  flex: 0 0 540px;
  max-width: 540px;
}

.ban-sub.c01 a img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 자유공모/지정공모 배너 */
.ban-sub.c02,
.ban-sub.c03 {
  flex: 0 0 380px;
  max-width: 380px;
}

.ban-sub.c02 a img,
.ban-sub.c03 a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-main a:hover img,
.ban-sub a:hover img {
  transform: scale(1.05);
}

/* 푸터 */
footer {
  width: 100%;
  background: #111827;
  padding: 3rem 0 2rem;
}

footer .footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

footer nav a {
  margin-right: 1.5rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.2s;
}

footer nav a:hover {
  color: white;
}

footer nav a.privacy {
  color: #fbbf24;
  font-weight: 600;
}

footer nav a:last-child {
  margin-right: 0;
}

footer select {
  width: 240px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #e5e7eb;
  padding: 0 1rem;
  cursor: pointer;
  transition: all 0.2s;
  background-image: url(/idearo/images/moduidea/select_arrow.png);
  background-repeat: no-repeat;
  background-position: center right 16px;
}

footer select:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

footer select option {
  background-color: #111827;
  color: #e5e7eb;
  padding: 0.5rem;
}

footer .footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

footer .footer-bottom .footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer .footer-bottom .footer-section:last-child {
  text-align: right;
  align-items: flex-end;
}

footer .footer-bottom .footer-section .img {
  margin-bottom: 1rem;
}

footer .footer-bottom .footer-section .img img {
  display: block;
  max-width: 100%;
  height: auto;
}

footer .footer-bottom .footer-section p {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
}

footer>.img,
footer>p {
  display: none;
}

footer .footer-bottom .img,
footer .footer-bottom p {
  display: flex !important;
}

footer .footer-bottom .img {
  display: block !important;
}

/* 컨테이너 */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.container>p:first-child {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}

/* 인트로 페이지 - 새로운 디자인 */
.intro-container {
  min-height: calc(100vh - 80px);
  background: #fff;
  padding: 0;
}

.intro-header {
  background: linear-gradient(135deg, #3a1c74 0%, #e89438 100%);
  padding: 5rem 2rem;
  text-align: center;
  filter: brightness(1.3) saturate(1.3);
}

.intro-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.intro-header h1::before {
  content: '';
  display: block;
  position: absolute;
  background: url(/idearo/images/moduidea/icon_title_01.png) 0 0 no-repeat;
  width: 100px;
  height: 100px;
  top: -40px;
  left: -70px;
  mix-blend-mode: overlay;
  opacity: .5;
}

.intro-header h1::after {
  content: '';
  display: block;
  position: absolute;
  background: url(/idearo/images/moduidea/icon_title_02.png) 0 0 no-repeat;
  width: 100px;
  height: 100px;
  bottom: -70px;
  right: -90px;
  mix-blend-mode: overlay;
  opacity: .5;
}

.intro-content {
  /* max-width: 1200px; */
  width: 100%;
  margin: 0 auto;
  /* padding: 4rem 2rem; */
  text-align: center;
}

.intro-description {
  margin-bottom: 4rem;
}

.intro-description p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.intro-description p:last-child {
  margin-bottom: 0;
  margin-top: 1.5rem;
  font-weight: 600;
}

.intro-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.button-item {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 280px;
}

.button-item:hover {
  background: #ebebeb;
  transform: translateY(-2px);
}

.button-icon-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.button-icon {
  width: 60px;
  height: auto;
  flex-shrink: 0;
}

.button-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.button-text .title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.button-text .subtitle {
  font-size: 0.9rem;
  color: #666;
  letter-spacing: -0.01em;
}

/* 소개 페이지 전용 스타일 */
.intro-container {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
  min-height: 80vh;
}

.intro-header {
  background: linear-gradient(160deg, #2b1c75 10%, #e75718 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-header::before {
  content: none;
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.intro-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.intro-desc-wrap {
  background: #f0ecff url(/idearo/images/moduidea/bg_intro.png) 0 0 no-repeat;
  background-size: cover;
  margin: 0 auto;
}

.intro-description {
  max-width: 950px;
  margin: 0 auto;
  padding: 3rem 0 0;
  text-align: center;
}

.intro-description p {
  font-size: 1.15rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  color: #333;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.intro-description p:nth-child(1) {
  animation-delay: 0.1s;
}

.intro-description p:nth-child(2) {
  animation-delay: 0.2s;
}

.intro-description p:nth-child(3) {
  animation-delay: 0.3s;
}

.intro-description p:nth-child(4) {
  animation-delay: 0.4s;
}

.intro-description p:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-description p.box-purple {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  margin-top: 2rem;
  align-items: center;
  background-color: initial;
  background-image: linear-gradient(rgba(142, 124, 185, .84), rgba(52, 31, 116, .84) 50%);
  border-radius: 42px;
  border-width: 0;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  position: relative;
  bottom: -30px;
}


.intro-buttons {
  display: flex;
  gap: 2rem;
  max-width: 1000px;
  margin: 7rem auto 0;
  padding: 0 2rem 4rem;
}

.button-item {
  flex: 1;
  padding: 3rem 2rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(107, 79, 187, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.button-item:hover::before {
  opacity: 1;
}

.button-icon-dot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.button-item:hover .button-icon-dot {
  transform: scale(1.1) rotate(5deg);
}

.button-text {
  text-align: center;
  position: relative;
  z-index: 1;
}

.button-text .title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
}

.button-text .subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2958ff;
  display: block;
}

/* 반응형 */
@media (max-width: 768px) {
  .intro-header {
    padding: 4rem 1.5rem 3rem;
  }

  .intro-header h1 {
    font-size: 1.8rem;
  }

  .intro-header::before {
    width: 300px;
    height: 300px;
  }

  .intro-description {
    padding: 2rem 1.5rem 0;
  }

  .intro-description p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .intro-description p.box-purple {
    font-size: 1.1rem;
    padding: 1.2rem;
  }

  .intro-buttons {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1.5rem 3rem;
  }

  .button-item {
    padding: 2rem 1.5rem;
  }

  .button-icon-dot {
    width: 60px;
    height: 60px;
  }

  .button-text .title {
    font-size: 1.1rem;
  }

  .button-text .subtitle {
    font-size: 1rem;
  }
}

/* 반응형 */
@media (max-width: 768px) {
  .intro-container {
    min-height: calc(100vh - 80px);
  }

  .intro-header {
    padding: 3rem 1.5rem;
  }

  .intro-header h1 {
    font-size: 1.8rem;
  }

  .intro-content {
    /* padding: 3rem 1.5rem; */
  }

  .intro-description p {
    font-size: 1rem;
  }

  .intro-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .button-item {
    width: 100%;
    max-width: 350px;
  }
}

/* 배너 탑 */
.banner-top {
  background: linear-gradient(135deg, #3a1c74 0%, #e89438 100%);
  position: relative;
  overflow: hidden;
  filter: brightness(1.3) saturate(1.3);
}

.banner-top::before {
  display: none;
}


.banner-top .inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  color: #fff;
  display: flex;
  height: 200px;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  align-items: center;
  text-align: center;
}


.banner-top.bg-light .inner {
  background: url(/idearo/images/moduidea/icon_light.png) 50% 50% no-repeat;
}

.banner-top.bg-light-2 .inner {
  background: url(/idearo/images/moduidea/icon_light2.png) 50% 50% no-repeat;
}

.banner-top h2 {
  display: flex;
  flex-direction: column;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.banner-top h2 span {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.banner-top p {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 400;
}

/* 스텝 리스트 */
.list-step-wrap {
  border-radius: 2rem;
  padding: 2rem 2rem 3rem;
}

.list-step {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  list-style: none;
}

.list-step li {
  flex: 1;
}

.list-step li span {
  display: flex;
  background: #e0e0e0;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  border-radius: 20px;
  color: #666;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  letter-spacing: -0.02em;
  cursor: default;
  user-select: none;
}

.list-step li span small {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5rem;
  color: #888;
}

/* 안내 텍스트 */
.container>p[style*="text-align: right"] {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-top: 2.5rem;
  font-weight: 500;
}

/* 텍스트 하단 */
.text-bottom {
  margin-top: 4rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5efff;
  border-radius: 24px;
  box-shadow: 0px 3px 11px 0px rgb(0 0 0 / 14%);
}

.text-bottom p {
  color: #374151;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.text-bottom button {
  background: linear-gradient(147deg,rgba(43, 28, 117, 1) 0%, rgba(157, 35, 104, 1) 50%, rgba(231, 87, 24, 1) 100%);
  padding: 0.6rem 3.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
}


/* 반응형 */
@media screen and (max-width: 1650px) {
  .banner-sub {
    max-width: calc(100% - 2rem);
    justify-content: center;
  }
}

@media screen and (max-width: 1460px) {

  nav.gnb {
    padding: 0 1rem;
  }

  .banner-section {
    max-width: 100%;
    padding: 0 1.5rem;
    padding-bottom: 3rem;
  }

  .banner-main {
    width: 100%;
    max-width: calc(100% - 3rem);
    /* padding-bottom: 100px; */
    /* 모바일에서 공간 줄임 */
  }

  .banner-swiper {
    padding: 0;
  }

  .banner-swiper .swiper-button-prev,
  .banner-swiper .swiper-button-next {
    width: 30px;
    height: 30px;
    background-color: rgb(255 255 255 / 38%);
    border: none;
  }

  .banner-swiper .swiper-button-prev::after,
  .banner-swiper .swiper-button-next::after {
    font-size: 13px;
    color: #ffffff;
  }

  .banner-swiper .swiper-button-prev {
    left: 1rem;
  }

  .banner-swiper .swiper-button-next {
    right: 1rem;
  }

  .banner-sub {
    max-width: calc(100% - 3rem);
    flex-direction: column;
    gap: 1rem;
    border-radius: 3rem;
    padding: 2rem 4rem;
  }

  /* 모바일 서브배너 크기 */
  .ban-sub.c01,
  .ban-sub.c02,
  .ban-sub.c03 {
    flex: 0 0 auto;
    max-width: 100%;
    margin-left: unset;
  }

  .ban-sub a {
    height: 200px;
  }

  .ban-sub.c01 a img,
  .ban-sub.c02 a img,
  .ban-sub.c03 a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .container {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  footer .footer-bottom {
    width: 100%;
    padding: 0 20px;
    align-items: center;
  }

  footer .footer-bottom .footer-section {
    align-items: center;
    text-align: center;
    word-break: keep-all;
  }

  footer .footer-bottom .footer-section:last-child {
    align-items: center;
    text-align: center;
  }

  footer>div {
    width: 100%;
    padding: 0 20px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .gnb .gnb-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    max-height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 2rem 1rem;
    /* 오른쪽 패딩 1.5rem으로 증가 */
    padding-top: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1001;
    /* 헤더보다 위, 토글보다 아래 */
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
  }

  .gnb.show .gnb-nav {
    right: 0;
    display: flex;
    flex-direction: column;
    /* column-reverse를 column으로 변경 */
    justify-content: flex-start;
    /* flex-end를 flex-start로 변경 */
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"/></svg>') center/contain no-repeat;
    border: 0;
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    text-indent: -99999em;
    z-index: 1002;
  }

  .menu,
  .depth-bg,
  .login-box {
    display: none;
  }

  .gnb.show .login-box {
    display: flex;
    margin: 4.5rem 1rem 1rem 1rem;
    padding-right: 0;
    width: calc(100% - 2rem);
    flex-shrink: 0;
    flex-wrap: nowrap;
    /* 무조건 한 줄 고정 */
    gap: 0.5rem;
    order: -1;
  }

  /* 모바일에서 로그인박스 내부 요소 크기 조정 */
  .gnb.show .login-box .user-name,
  .gnb.show .login-box a {
    flex-shrink: 1;
    /* 공간 부족하면 축소 */
    font-size: 0.85rem;
    /* 글자 크기 약간 축소 */
    padding: 0.5rem 1rem;
    /* 패딩 더 축소 */
    white-space: nowrap;
  }

  .gnb.show .menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-bottom: 1rem;
  }

  .gnb.show .menu>li {
    width: 100%;
    flex-shrink: 0;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
    padding: 0;
    position: relative;
    /* 서브메뉴 위치 기준점 */
    overflow: visible;
    /* 서브메뉴가 보이도록 */
  }

  .gnb.show .menu>li:last-child {
    border-bottom: none;
  }

  .gnb.show .menu>li>span {
    display: block;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    position: relative;
  }

  /* 화살표 아이콘 */
  .gnb.show .menu>li>span::after {
    content: '▼' !important;
    display: block !important;
    position: absolute !important;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) !important;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    width: auto !important;
    height: auto !important;
    background: none !important;
    bottom: auto !important;
    left: auto !important;
  }

  .gnb.show .menu>li.active>span::after {
    transform: translateY(-50%) rotate(180deg) !important;
  }

  /* 서브메뉴 기본 숨김 */
  .gnb.show .depth2 {
    display: none;
    position: static;
    /* relative에서 static으로 변경 */
    width: 100%;
    padding: 0;
    margin: 0;
    background: #f9fafb;
    opacity: 1;
    transform: none;
  }

  .gnb.show .depth2 li {
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
  }

  .gnb.show .depth2 li:first-child {
    border-radius: 0;
  }

  .gnb.show .depth2 li:last-child {
    border-bottom: none;
    border-radius: 0;
  }

  .gnb.show .depth2 li a {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    padding: 0;
  }
}

@media (max-width: 768px) {

  /* 메인 배너 크기 조정 */
  .banner-main {
    margin-bottom: 0;
    min-height: 200px;
    padding-bottom: 80px;
    /* 768px 이하에서 공간 더 줄임 */
  }

  .banner-main a img {
    min-height: 200px;
    /* 최소 높이 보장 */
    object-fit: cover;
    /* 비율 유지하며 채우기 */
  }

  .banner-swiper {
    min-height: 200px;
    /* 최소 높이 보장 */
  }

  .banner-swiper .swiper-slide img {
    min-height: 200px;
    /* 최소 높이 보장 */
    object-fit: cover;
    /* 비율 유지하며 채우기 */
  }

  /* 서브 배너 세로 배치 */
  .banner-sub {
    flex-direction: column;
    gap: 1rem;
  }

  /* 공지사항: 전체 너비 */
  .ban-sub.c01 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ban-sub.c01 a {
    height: 150px;
  }

  .ban-sub.c01 a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* 자유공모: 전체 너비 */
  .ban-sub.c02 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ban-sub.c02 a {
    height: 150px;
  }

  .ban-sub.c02 a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* 지정공모: 전체 너비 */
  .ban-sub.c03 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ban-sub.c03 a {
    height: 150px;
  }

  .ban-sub.c03 a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .banner-top .inner {
    height: 160px;
  }

  .banner-top h2 {
    font-size: 2rem;
  }

  .banner-top p {
    font-size: 1rem;
  }

  .container {
    padding: 3rem 1.5rem;
  }

  .container>p:first-child {
    font-size: 1.5rem;
  }

  .list-step {
    flex-direction: column;
    gap: 1.25rem;
  }

  .list-step li a {
    padding: 3rem 2rem;
    font-size: 1.25rem;
  }

  .text-bottom {
    padding: 3rem 1.5rem;
  }

  .text-bottom p {
    font-size: 1.25rem;
  }

  .text-bottom button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }

  footer>div>nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  footer>div>nav>a {
    margin-right: 0;
  }

  footer .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  footer .footer-bottom .footer-section:last-child {
    align-items: center;
    text-align: center;
  }
}


/*20260108 Start*/
* {
  word-break: keep-all !important;
}

.terms-wrap *,
.toggle-box * {
  word-break: break-word !important;
}

.detail-body img {
  height: auto !important;
}

.cmm-table.table-status {
  overflow-x: auto !important;
}

.cmm-table.table-status .data {
  width: 1270px !important;
  table-layout: auto !important;
}

body .main-form {
  margin-top: 0 !important;
}

body .form-card {
  margin: 0 0 15px !important;
}

body .content-layout {
  padding: 0 !important;
}

.web-editor-custom {
  width: 100% !important;
}

.prize-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.form-group.editor {
  width: 99% !important;
}

.gnb.show .login-box {
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  margin: 4rem 0 0 !important;
  width: 100% !important;
}

.sweet-alert {
  left: 50% !important;
  top: 50% !important;
  right: unset !important;
  bottom: unset !important;
  margin-top: unset !important;
  margin-left: unset !important;
  transform: translate(-50%, -50%) !important;
  max-width: 480px !important;
  width: 95% !important;
  height: 95% !important;
  overflow-y: auto !important;
  max-height: fit-content !important;
}

.sweet-alert h2 {
  font-size: 26px !important;
}

p.cmm-txt-info {
  margin-top: 5px !important;
}

.form-card:hover {
  transform: unset !important;
}

@media (max-width: 1440px) {
  .login-box {
    margin-left: 0 !important;
  }

  body .content-layout {
    display: flex !important;
    gap: 1rem !important;
    flex-direction: column !important;
    padding: 0 !important;
  }
}

@media (max-width: 1024px) {
  .content-layout {
    padding: 0 !important;
  }

  .cmm-table.table-status .data {
    width: 100% !important;
  }

  .gnb.show .login-box {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    margin: 4rem 0 0 !important;
    width: 100% !important;
  }

  .gnb.show .gnb-nav {
    gap: 1rem !important;
  }

  footer {
    padding-bottom: 4rem !important;
  }
}

@media (max-width: 768px) {
  footer .footer-wrap {
    padding: 0;
  }

  footer>div>nav {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .cmm-table.table-status table.data colgroup col {
    width: auto !important;
  }

  #content {
    padding: 0 1rem 2rem !important;
  }

  #mypage-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .pw-check-area {
    padding: 2rem 1rem !important;
    margin: 0 !important;
  }

  .cmm-step-wrap {
    padding: 2rem 0 !important;
    word-break: keep-all !important;
  }

  .content-layout,
  .cmm-white-box-area {
    padding: 0 !important;
  }

  .cmm-agree-wrap {
    padding: 1rem !important;
  }

  .card-body,
  .form-table {
    padding: 1rem !important;
  }

  .card-body .form-table {
    padding: 0 !important;
  }

  .cmm-btn-wrap {
    margin-top: 0 !important;
    padding: 1rem !important;
  }

  .btn-box {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .radio-group {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .radio-card {
    margin-right: 0 !important;
  }

  .prize-wrap {
    display: flex !important;
  }

  .prize-wrap .prize-badge {
    width: calc(100% - 70px) !important;
  }

  .prize-wrap .prize-count {
    margin: 0 !important;
  }

  .cmm-file-group {
    padding: 0 !important;
    border: unset !important;
    border-radius: 0 !important;
  }

  .cmm-btn-wrap button {
    min-width: 120px !important;
    flex: unset !important;
  }

  .action-right {
    flex: unset !important;
    margin-left: auto !important;
  }

  .main-form>.cmm-table-wrap:first-child {
    padding: 1rem !important;
  }

  .main-form {
    gap: 0 !important;
  }

  .text-bottom {
    padding: 3rem 1rem !important;
  }
}

@media (max-width: 767px) {
  .action-right {
    margin-left: unset !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .complete-container,
  .content-layout {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  h1 br,
  h2 br,
  h3 br,
  h4 br,
  h5 br,
  h6 br,
  p br,
  p strong br {
    display: none !important;
  }

  .cmm-layer-wrap br,
  .se-contents br,
  .sweet-alert br {
    display: unset !important;
  }

  .intro-content {
    padding: 0 !important;
  }

  ul+.entry-notice-right {
    text-align: left !important;
  }

  .expert-complete-container {
    padding: 0 !important;
  }

  .member-type-grid {
    gap: 1rem !important;
  }

  .member-type-card {
    position: relative !important;
    padding: 2.5rem 1rem 5rem !important;
    flex: 1 1 50% !important;
  }

  .signup-button {
    padding: 1rem 0.5rem !important;
    position: absolute !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 1rem) !important;
  }

  .signup-button:hover {
    transform: translateX(-50%) !important;
  }

  .signup-container {
    padding: 2rem 1rem !important;
  }

  .cmm-table,
  .cmm-table tbody tr {
    padding: 0.5rem !important;
  }

  .cmm-table td.tit a {
    letter-spacing: -0.04em !important;
  }

  #register-wrap {
    padding: 2rem 0rem !important;
  }

  .signup-container {
    padding: 2rem 1rem !important;
  }

  .cmm-btn-wrap {
    padding: 2rem 1rem !important;
  }

  body .content-layout {
    gap: 1rem !important;
    padding: 0 !important;
  }

  .attachment-area {
    padding: 0.5rem !important;
  }

  .cmm-table table.data colgroup col {
    width: auto !important;
  }
}

@media (max-width: 480px) {
  body .content-layout {
    display: flex !important;
    gap: 1rem !important;
    flex-direction: column !important;
    padding: 0 !important;
  }

  body .complete-container,
  body .content-layout {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

}

/*20260108 End*/