/** 공통 사용 **/
@font-face {
    font-family: "geosanslight";
    font-weight: normal;
    font-style: normal;
    src: url("../../fonts/GeosansLight.ttf");
}

.ft-nanum {
    font-family: 'Nanum Myeongjo', serif !important;
}

.ft-playfair {
    font-family: 'Playfair Display', serif !important; 
    font-weight: 400;
}

.ft-geo {
    font-family: "geosanslight";
}

.section-inner {
    width: 1200px;
    margin: 0 auto;
}

.section-wide-inner {
    width: 1400px;
    margin: 0 auto;
}

/** ...공통 사용 **/

/** header css **/
header {
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    padding-top: 1px;
    transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
}

header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    margin: 0 auto;
}

header .contest-tit {
    position: absolute;
    text-indent: -9999px;
}

header nav a {
    color: #fff;
    font-weight: 300;
}

header .main-menu {
    display: flex;
}

header .main-menu > li {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 47px;
    height: 82px;
}

header .main-menu > li:last-child {
    padding-right: 0;
}

header .main-menu > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 1.8rem;
    position: relative;
    letter-spacing: -0.05em;
}

header .main-menu > li > a::after {
    content: "";
    display: none;
    width: 100%;
    height: 3px;
    background: #000;
    position: absolute;
    bottom: -1px;
}

header .main-menu > li:hover > a::after {
    display: block;
}

header .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding-top: 10px;
    z-index: 2;
}

header .sub-menu.on {
    display: block;
}

header .sub-menu li {
    padding: 10px 0;
    text-align: center;
    line-height: 1;
}

header .sub-menu li a {
    font-size: 1.6rem;
    letter-spacing: -0.12em;
}

header .sub-menu li a:hover {
    font-weight: 600;
}

header .sub-menu-bg {
    display: none;
    width: 100%;
    height: 270px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 1000;
}

header.on,
header.scroll-down {
    background: #fff;
}

header.on nav a,
header.scroll-down nav a {
    color: #000;
}

header.on .header-outer,
header.scroll-down .header-outer {
    border-bottom: 1px solid #ccc;
}

/** ...header css **/

/** 스토어 링크 영역 **/
.store-section {
    background: #f2f2f2;
    padding-top: 110px;
}

.store-section .store-content-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    font-size: 0;
}

.store-section .store-content {
    align-self: flex-start;
    margin-top: 15px;
}

.store-section .store-desc-wrap {
    margin-bottom: 50px;
}

.store-section .store-main-desc {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.store-section .store-sub-desc {
    font-size: 1.8rem;
    font-weight: 300;
}

.store-section .store-link-wrap {
    display: flex;
    gap: 20px;
}
/** ...스토어 링크 영역 **/

/** 카운트다운 배너 영역 **/
.countdown-section {
    background-image: url('http://image.kpbrand.co.kr/sejong/bg/countdown-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 95px 0;
    overflow: hidden;
}

.countdown-section .countdown-content-wrap {
    text-align: center;
}

.countdown-section .countdown-txt-wrap {
    margin-bottom: 90px;
}

.countdown-section .year {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.5em;
}

.countdown-section .contest-title {
    color: #fff;
    font-size: 7.2rem;
    font-weight: 300;
    line-height: 1.15;
    margin-top: 35px;
    position: relative;
}

.countdown-section .contest-title::before,
.countdown-section .contest-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: 28%;
}

.countdown-section .contest-title::before {
    left: -74%;
}

.countdown-section .contest-title::after {
    right: -74%;
}

.countdown-section .countdown-txt {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 300;
}

.countdown-section #countdown {
    display: flex;
    justify-content: center;
    gap: 90px;
    margin: 20px 0 40px;
}

.countdown-section #countdown p {
    color: #fbbf3e;
    font-size: 16rem;
    font-weight: 300;
    line-height: 1;
}

.countdown-section #countdown span {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 300;
}

.countdown-section .holding-txt {
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: 0.3em;
}
/** ...카운트다운 배너 영역 **/

/** 풋터 컨텐츠 영역 **/
.footer-cont-section {
    background: #000;
    padding: 30px 0 100px;
}

.footer-cont-section .footer-content-box {
    position: relative;
}

.footer-cont-section #footerLogoSwiper {
    border-bottom: 1px solid #646464;
    padding-bottom: 35px;
}

.footer-cont-section #footerLogoSwiper .swiper-slide {
    text-align: center;
}

.footer-cont-section #footerLogoSwiper .footer-logo-name {
    color: #fff;
    font-size: 1.5rem;
    color: #dedede;
    margin-top: 5px;
}

.footer-cont-section .info-content-wrap {
    margin-top: 30px;
    position: relative;
}

.footer-cont-section .info-content-top-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-cont-section .info-content-top-wrap .organize-cont-wrap {
    display: flex;
    gap: 50px;
}

.footer-cont-section .info-content-top-wrap .organize-cont-wrap .organize {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-cont-section .info-content-top-wrap .organize-cont-wrap span {
    font-size: 1.5rem;
    font-weight: 300;
    color: #dedede;
}

.footer-cont-section .info-content-top-wrap .sns-wrap {
    display: flex;
    gap: 20px;
}

.footer-cont-section .btn-cont-wrap {
    display: flex;
    margin-bottom: 20px;
}

.footer-cont-section .layer-open-btn {
    display: flex;
    align-items: center;
    color: #dedede;
    font-size: 1.5rem;
    font-weight: 300;
}

.footer-cont-section .layer-open-btn:hover {
    color: #fbbf3e;
}

.footer-cont-section .layer-open-btn::after {
    content: "";
    display: block;
    width: 1px;
    height: 15px;
    background: #dedede;
    margin: 0 7px;
}

.footer-cont-section .layer-open-btn:last-child::after {
    display: none;
}

.footer-cont-section .company-info-cont-wrap .company-info,
.footer-cont-section .company-info-cont-wrap span,
.footer-cont-section .company-info-cont-wrap b {
    color: #dedede;
    font-size: 1.5rem;
    font-weight: 300;
}

.footer-cont-section .company-info-cont-wrap .copyright {
    color: #646464;
    font-size: 1.4rem;
    font-weight: 300;
    margin-top: 20px;
}

.company-box-btn-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
}

.company-box-btn {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px solid rgba(255, 255, 255, 0.5);
    background: #000;
    color: #ccc;
    font-size: 1.8rem;
    width: 255px;
    padding: 13px 15px 13px 0;
    cursor: pointer;
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    letter-spacing: 0;
    line-height: 1;
}

.company-box-btn::after {
    content: "+";
    font-size: 3.9rem;
    font-weight: 100;
    position: absolute;
    top: 2%;
    right: 20px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.company-box-btn:hover {
    color: #fff;
    border-color: #fff;
}

.company-box-btn.on {
    border-color: #fff;
    color: #fff;
}

.company-box-btn.on::after {
    top: 4%;
    transform: rotate(45deg);
}

.company-box {
    display: none;
    background: rgba(0, 0, 0, 0.9);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 85px;
    opacity: 0;
    padding: 20px 30px 30px;
    width: 1200px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 3;
}

.company-box.on {
    opacity: 1;
    bottom: 50px;
}

.company-box-name {
    font-size: 2.4rem;
    font-weight: 400;
    color: #ccc;
    margin-bottom: 25px;
}

.company-list-wrap {
    display: grid;
    grid-template-areas: ". . .";
    grid-auto-columns: 1fr auto auto;
    gap: 20px;
}

.company-list-tit {
    color: #fff;
    background: #000;
    font-size: 2rem;
    padding: 20px;
}

.company-list ul {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #2c2c2c;
    padding: 35px 35px 0 20px;
    height: 235px;
}

.company-list ul.company-flex-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.company-list ul li {
    margin-bottom: 30px;
    line-height: 1;
}

.company-list ul a {
    font-size: 1.6rem;
    font-weight: 300;
    color: #ccc;
    line-height: 1;
}

.company-list ul a strong {
    font-weight: 500;
    color: #fff;
}

.company-list ul a:hover,
.company-list ul a:hover strong {
    color: #f1c969;
}
/** ...풋터 컨텐츠 영역 **/

/** 하단 link-bar css **/
.link-bar {
    border-top: 1px solid #ccc;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    z-index: 1001;
}

.link-bar .link-bar-inner {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin: 0 auto;
}

.link-bar .link-bar-content-wrap {
    display: flex;
    gap: 300px;
    width: 100%;
}

.link-bar .link-bar-content {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.8rem;
    letter-spacing: -0.05em;
}

.link-bar .link-bar-content span {
    font-weight: 600;
    color: #823651;
}

.link-bar .link-bar-content img {
    margin-left: 15px;
}

.link-bar #topBtn {
    font-size: 1.8rem;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 19px 32px;
}

/** ...하단 link-bar css **/

/**  서브 페이지 공통 사용 **/
.sub-visual-section {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 680px;
    min-width: 1200px;
    overflow: hidden;
    position: relative;
}

.sub-visual-section.about-visual {
    background-image: url('http://image.kpbrand.co.kr/sejong/bg/about-bg.jpg');
}

.sub-visual-section.contest-visual {
    background-image: url('http://image.kpbrand.co.kr/sejong/bg/contest-bg.jpg');
}

.sub-visual-section.rep-visual {
    background-image: url('http://image.kpbrand.co.kr/sejong/bg/kor-rep-bg.jpg');
}

.sub-visual-section.apply-visual {
    background-image: url('http://image.kpbrand.co.kr/sejong/bg/apply-bg.jpg')
}

.sub-visual-section .sub-visual-inner {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.sub-visual-section .sub-visual-inner::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 100%;
    max-height: 120px;
    background: #fff;
}

.sub-visual-section .sub-visual-tit-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 80px;
}

.sub-visual-section .sub-visual-tit-wrap h2,
.sub-visual-section .sub-visual-tit-wrap h3 {
    color: #fff;
    letter-spacing: -0.05em;
}

.sub-visual-section .sub-visual-tit-wrap .page-tit {
    font-size: 2.6rem;
    font-weight: 300;
    margin-bottom: 25px;
}

.sub-visual-section .sub-visual-tit-wrap .contest-name.kor-name {
    font-size: 6rem;
    line-height: 1.5;
}

.sub-visual-section .sub-visual-tit-wrap .contest-name.eng-name {
    font-size: 7.2rem;
    line-height: 1.2;
}

/** ...서브 페이지 공통 사용 **/

/** 컨텐츠 공통 사용 **/
.thumbnail {
    position: relative;
}

.thumbnail .line {
    position: absolute;
    background: #ebb032;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.thumbnail .line.vertical {
    width: 5px;
    height: 0;
}

.thumbnail .line.horizontal {
    width: 0;
    height: 5px;
}

.thumbnail .line.left {
    top: 0;
    left: 0;
}

.thumbnail .line.right {
    top: 0;
    right: 0;
}

.thumbnail .line.top {
    top: 0;
    left: 0;
}

.thumbnail .line.bottom {
    bottom: 0;
    right: 0;
}

.swiper-slide .thumbnail:hover .line.vertical,
.list-content:hover .thumbnail .line.vertical {
    height: 100%;
}

.swiper-slide .thumbnail:hover .line.horizontal,
.list-content:hover .thumbnail .line.horizontal {
    width: 100%;
}

.contest-video-box {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.contest-video-box .video-content {
    cursor: pointer;
}

.contest-video-box .video-thumb {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 0;
    padding-bottom: calc(410 / 1200 * 100%);
    position: relative;
}

.contest-video-box .video-thumb::before,
.contest-video-box .video-thumb::after {
    content: "";
    position: absolute;
}

.contest-video-box .video-thumb::before {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
}

.contest-video-box .video-thumb::after {
    background-image: url('/assets/images/common/video-play-icon.png');
    background-size: cover;
    width: 52px;
    height: 52px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-name {
    line-height: 1;
    letter-spacing: -0.05em;
    margin-top: 50px;
}

.video-name.video-name-type1 {
    font-size: 3.6rem;
}

.video-name.video-name-type2 {
    font-size: 2.6rem;
}

.contest-gallery-section-outer {
    display: flex;
    flex-direction: column;
    gap: 150px 0;
    overflow: hidden;
    padding-bottom: 5px;
}

.contest-gallery-cont-wrap .gallery-tit {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.17em;
    text-align: right;
    margin-bottom: 50px;
}

.contest-gallery-swiper {
    overflow: visible;
}

.contest-gallery-swiper.winner-gallery {
    padding-bottom: 30px;
}

.contest-gallery-swiper.contest-gallery {
    padding-bottom: 50px;
}

.contest-gallery-swiper.winner-swiper2 {
    margin-top: 100px;
}

.contest-gallery-swiper .swiper-slide {
    width: 248px;
    opacity: 0;
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
}

.contest-gallery-swiper .swiper-slide.swiper-slide-active,
.contest-gallery-swiper .swiper-slide.swiper-slide-next,
.contest-gallery-swiper .swiper-slide.swiper-slide-next ~ .swiper-slide {
    opacity: 1;
}

.contest-gallery-swiper.winner-gallery .swiper-slide .thumbnail {
    width: 100%;
    height: 305px;
} 

.contest-gallery-swiper.contest-gallery .swiper-slide .thumbnail {
    width: 100%;
    height: 368px;
}

.contest-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
}

.contest-gallery-swiper .winner-info {
    margin-top: 30px;
    text-align: center;
}

.contest-gallery-swiper .winner-name {
    display: block;
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.3;
}

.contest-gallery-swiper.winner-gallery .swiper-button-prev,
.contest-gallery-swiper.winner-gallery .swiper-button-next {
    top: calc(100% - 145px);
}

.contest-gallery-swiper.contest-gallery .swiper-button-prev,
.contest-gallery-swiper.contest-gallery .swiper-button-next {
    top: calc(100% - 102px);
}

.contest-gallery-swiper .swiper-button-prev {
    left: 0;
}

.contest-gallery-swiper .swiper-button-next {
    right: 0;
}

.contest-gallery-tit {
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 50px;
}

.contest-gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.contest-gallery-wrap.ws-contest-gallery-wrap {
    margin-top: 100px;
}

.more-btn-wrap {
    margin-top: 60px;
}

.more-btn-wrap .more-btn {
    border: 1px solid #000;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 280px;
    padding: 11px 0;
    margin: 0 auto;
}

.more-btn-wrap .more-btn::after {
    content: "▼";
    font-size: 1.1rem;
}

.news-list-section {
    background: #fff;
    padding-bottom: 150px;
}

.list-page-section {
    padding: 150px 0;
}

.list-btn-wrap {
    display: flex;
    justify-content: center;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    max-width: 50%;
    margin: 0 auto 80px;;
}

.list-btn-wrap .list-kind-btn {
    font-size: 1.8rem;
    font-weight: 600;
    padding: 12px 35px;
    position: relative;
}

.list-btn-wrap .list-kind-btn.active {
    color: #ebb032;
}

.list-btn-wrap .list-kind-btn::after {
    content: "";
    width: 1px;
    height: 25px;
    background: #ccc;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.list-btn-wrap .list-kind-btn:last-child::after {
    display: none;
}

.list-content-wrap ul {
    display: grid;
    grid-template-areas: ". . .";
    grid-auto-columns: 30.8%;
    gap: 45px;
}

.list-content .list-cont-kind,
.list-content .list-cont-title,
.list-content .list-cont-desc,
.list-content .list-cont-date {
    letter-spacing: -0.05em;
}

.list-content .list-cont-kind {
    font-size: 1.4rem;
    font-weight: 300;
}

.list-content .list-cont-title {
    font-size: 2.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0;
    line-height: 1.2;
}

.list-content .list-cont-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
}

.list-content .list-cont-date {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.list-content .list-cont-thumb {
    width: 100%;
    height: 0;
    padding-bottom: calc(240 / 370 * 100%);
}

.list-content .list-cont-thumb img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.tab-section-inner {
    width: 800px;
    margin: 0 auto;
}

.contest-cate-tab-wrap {
    display: flex;
    gap: 10px;
}

.contest-cate-tab-wrap .contest-cate-tab {
    width: 100%;
    border: 1px solid #000;
    font-size: 1.8rem;
    padding: 11px 0;
    text-align: center;
}

.contest-cate-tab-wrap .contest-cate-tab.active {
    background: #ebb032;
    border-color: #ebb032;
    color: #fff;
    font-weight: 600;
}

.contest-detail-tab-box {
    display: flex;
    margin-top: 40px;
    gap: 10px;
}

.contest-gender-tab-wrap,
.contest-year-tab-wrap {
    display: flex;
    width: 100%;
}

.contest-gender-tab-wrap .contest-gender-tab {
    width: 100%;
    font-size: 1.8rem;
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
    position: relative;
    text-align: center;
}

.contest-gender-tab-wrap .contest-gender-tab::after {
    display: none;
    content: "";
    width: 100%;
    height: 3px;
    background: #ebb032;
    position: absolute;
    left: 0;
    bottom: -2px;
}
.contest-gender-tab-wrap .contest-gender-tab.active {
    color: #ebb032;
    font-weight: 600;
}

.contest-gender-tab-wrap .contest-gender-tab.active::after {
    display: block;
}

.contest-year-tab-wrap span,
.contest-year-tab-wrap .choice-year-box,
.contest-year-tab-wrap ul  {
    width: 100%;
    text-align: center;
}

.contest-year-tab-wrap span,
.contest-year-tab-wrap .choice-year-box {
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

.contest-year-tab-wrap > span {
    font-size: 1.8rem;
}

.contest-year-tab-wrap .choice-year-box {
    position: relative;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.contest-year-tab-wrap .choice-year-box i {
    font-size: 3rem;
    position: absolute;
    top: 28%;
    right: 0;
    transform: translateY(-50%);
}

.contest-year-tab-wrap .choice-year-box .choice-year {
    color: #ebb032;
    font-size: 1.8rem;
    font-weight: 600;
}

.contest-year-tab-wrap .choice-year-box .select-list {
    display: none;
    background: #fff;
    border: 1px solid #000;
    position: absolute;
    top: 100%;
    z-index: 2;
}

.contest-year-tab-wrap .choice-year-box .year-btn {
    display: block;
    width: 100%;
    font-size: 1.8rem;
    padding: 15px 0;
}

.contest-year-tab-wrap .choice-year-box .year-btn:hover {
    color: #ebb032;
    font-weight: 600;
}

.contest-year-tab-wrap .choice-year-box.active i {
    display: none;
}

.contest-year-tab-wrap .choice-year-box.active .select-list {
    display: block;
}

/** ...컨텐츠 공통 사용 **/

/** 모달 **/
.modal-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1005;
}

.modal-wrap#agrModalWrap {
    z-index: 1006;
}

.modal-wrap.open {
    display: block;
}

.modal-wrap .modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.modal-wrap .modal .modal-close-btn-wrap {
    text-align: center;
    margin-bottom: 30px;
}

.modal-wrap .modal .modal-box {
    display: none;
    width: 100%;
    margin: 0 auto;
}

.modal-wrap .modal .modal-box.open {
    display: block;
}

.modal-wrap .modal .modal-tit {
    font-size: 2.4rem;
    text-align: center;
}

/** 유튜브 모달 **/

.modal-wrap .modal #modal-youtube {
    max-width: 1200px;
    height: 600px;
}

.modal-wrap .modal #modal-youtube iframe {
    width: 100%;
    height: 100%;
}

/** ...유튜브 모달 **/

/** 갤러리 모달 **/
.modal-wrap .modal #modal-gallery {
    max-width: 710px;
}

.modal-wrap .modal #modal-gallery #galleryModalMain {
    border-bottom: 1px solid #ebb032;
    height: 490px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.modal-wrap .modal #modal-gallery #galleryModalMain img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -o-object-fit: contain;
    object-position: center;
    -o-object-position: center;
}

.modal-wrap .modal #modal-gallery #galleryModalMain .swiper-button-next,
.modal-wrap .modal #modal-gallery #galleryModalMain .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
}

.modal-wrap .modal #modal-gallery #galleryModalMain .swiper-button-next {
    right: 0;
}

.modal-wrap .modal #modal-gallery #galleryModalThumb .swiper-slide {
    width: 50px;
    height: 75px;
    opacity: 0.6;
}

.modal-wrap .modal #modal-gallery #galleryModalThumb .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
}

.modal-wrap .modal #modal-gallery #galleryModalThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
}

/** ...갤러리 모달 **/

/** 약관 4개 모달 **/

.modal-wrap .modal .agree-modal {
    box-sizing: border-box;
    background: #fff;
    padding: 40px 45px;
    max-width: 780px;
}

.modal-wrap .modal .agree-modal .text-box {
    margin: 25px 0 30px;
    height: 40vh;
    border: 1px solid #eaeaea;
}

.modal-wrap .modal .agree-modal .text-box textarea {
    font-size: 1.4rem;
    width: 100%;
    height: 100%;
    padding: 10px;
    border: 0;
}

.modal-wrap .modal .agree-modal .text-box .cost-content-wrap {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 25px;
    overflow-y: auto;
}

.modal-wrap .modal .agree-modal .text-box .cost-content-wrap .cost-content {
    margin-bottom: 20px;
}

.modal-wrap .modal .agree-modal .text-box .cost-content-wrap .cost-tit {
    font-size: 1.6rem;
}

.modal-wrap .modal .agree-modal .text-box .cost-content-wrap .cost {
    display: block;
    font-size: 1.4rem;
}

.modal-wrap .modal .agree-modal .modal-btn-wrap {
    text-align: center;
}

.modal-wrap .modal .agree-modal .modal-btn-wrap button {
    font-size: 1.7rem;
    background: #ebb032;
    color: #fff;
    width: 200px;
    padding: 11px 0;
}

/** ...약관 4개 모달 **/


/** 이미지 모달 **/
.modal-wrap .modal .modal-img-inner {
    width: 100%;
    max-width: 540px;
    max-height: 790px;
    margin: 0 auto;
    overflow: hidden;
}

.modal-wrap .modal .modal-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
    transition: transform 0.2s;
}

.modal-wrap .modal .modal-img-inner img:hover {
    transform: scale(1.3);
}

/** ...이미지 모달 **/


/** 협찬문의,심사위원 문의 form 모달 **/

.modal-wrap .form-modal {
    box-sizing: border-box;
    background: #fff;
    max-width: 780px;
    max-height: 800px;
    padding: 40px 45px;
    overflow-y: auto;
}

.modal-wrap .form-modal#modal-appModify,
.modal-wrap .form-modal#modal-appCert {
    max-width: 450px;
}

.modal-wrap .form-modal .form-modal-tit-wrap {
    margin-bottom: 25px;
}

.modal-wrap .form-modal .modal-form-item-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modal-wrap .form-modal .modal-form-item-block.areas-2 {
    display: flex;
    gap: 50px;
}

.modal-wrap .form-modal .modal-form-item-block.areas-3 {
    display: flex;
    gap: 15px;
}

.modal-wrap .form-modal .modal-form-item-block.space-item-block {
    margin-bottom: 20px;
}

.modal-wrap .form-modal .modal-form-item {
    width: 100%;
}

.modal-wrap .form-modal .modal-form-item .modal-form-item-photo-list {
    border: 1px solid #eaeaea;
    display: flex;
    gap: 50px;
    padding: 20px 30px;
}

.modal-wrap .form-modal .modal-form-item .modal-form-item-photo-list li {
    width: 100%;
}

.modal-wrap .form-modal .modal-form-item .modal-form-item-photo-list p {
    font-size: 1.6rem;
    margin-top: 7px;
    text-align: center;
}

.modal-wrap .form-modal .modal-form-item .modal-form-item-photo-list .apply-photo-wrap {
    width: 100%;
    height: 0;
    padding-bottom: calc(216 / 171 * 100%);
    position: relative;
}
.modal-wrap .form-modal .modal-form-item .modal-form-item-photo-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.modal-wrap .form-modal .modal-form-item-tit {
    font-size: 1.8rem;
    margin-bottom: 15px;
    letter-spacing: -0.05em;
}

.modal-wrap .form-modal .modal-form-item > label {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1;
}

.modal-wrap .form-modal .modal-form-item input {
    font-size: 1.6rem;
    font-weight: 300;
    width: 100%;
    height: 36px;
    padding: 0 7px;
}

.modal-wrap .form-modal .modal-form-item textarea {
    font-size: 1.6rem;
    font-weight: 300;
    padding: 10px;
    height: 135px;
}

.modal-wrap .form-modal .modal-form-item-chkbox label {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.modal-wrap .form-modal .modal-form-item-chkbox .all-agree-wrap {
    margin-bottom: 10px;
}

.modal-wrap .form-modal .modal-form-item-chkbox .sub-agree-wrap {
    display: flex;
    gap: 30px;
}

.modal-wrap .form-modal .modal-form-item-chkbox .sub-agree-wrap .check-label-txt-wrap {
    display: flex;
    gap: 10px;
}

.modal-wrap .form-modal .modal-form-item-chkbox .agree-label-txt {
    display: block;
    font-size: 1.8rem;
}

.modal-wrap .form-modal .modal-form-item-chkbox span.agree-label-txt {
    font-weight: 300;
}

.modal-wrap .form-modal .modal-form-item-chkbox .form-agree-modal-btn {
    border-bottom: 1px solid #ebb032;
    color: #ebb032;
    font-size: 1.8rem;
    font-weight: 600;
    padding-bottom: 3px;
    margin-top: 5px;
    line-height: 1;
}

.check-icon {
    width: 22px;
    height: 22px;
    border: 1px solid #999;
    transition: all 0.2s;
}

input:checked ~ .check-icon {
    background: #ebb032;
    border-color: #ebb032;
}

.modal-wrap .form-modal .modal-form-btn-wrap {
    text-align: center;
}

.modal-wrap .form-modal .modal-form-btn-wrap button {
    background: #ebb032;
    color: #fff;
    font-size: 2rem;
    width: 100%;
    max-width: 200px;
    height: 50px;
}

/** ...협찬문의,심사위원 문의 form 모달 **/

