@charset "utf-8";

@import url('./defaults/reset.css?ver=250317');
@import url('./defaults/utils.css?ver=250317');
@import url('./defaults/popup.css?ver=250317');
@import url('./defaults/modal.css?ver=250317');
@import url('./defaults/ckeditor5.css?ver=250317');
@import url('./defaults/scroll-ani-transition.css?ver=250317');
@import url('./board/index.css?ver=250317');


/* ** 전역적으로 사용될 변수 스타일을 작성합니다. */
:root {
  --container-width: 1400px;
  --container-medium-width: 1200px;
  --container-narrow-width: 1000px;
  --container-wide-width: 1600px;

  --primary: #FFE400;
  --primary-dark: #B4A100;
  --secondary: #CF0404;
  --dark: #1C1C1C;
  --gray: #D8D8D8;
  --gray-dark: #575757;
  --gray-light: #EFEFEF;
  --gray-lighter: #F8F8F8;

  --scrollbar-color: var(--secondary);

  --ff-primary: "Pretendard", "맑은 고딕", sans-serif;
  --ff-secondary: 'Orbitron', var(--ff-primary);
  --ff-third: var(--ff-secondary);

  --cubic-pop1: cubic-bezier(.85,.14,.29,.99);
  --cubic-pop2: cubic-bezier(.71,.45,.36,1.31);
  --cubic-pop3: cubic-bezier(.85,.14,.29,.99);
}

/* Base assets */
body {font-family: var(--ff-primary); letter-spacing: 0em; word-break: keep-all;}

.typo1,
.typo2,
.typo3,
.typo4,
.typo5,
.typo6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {font-family: var(--ff-secondary); line-height: 1.3;}

.fc-primary {color: var(--primary)!important;}
.fc-secondary {color: var(--secondary)!important;}
.fc-third {color: var(--third)!important;}
.fc-white {color: #fff!important;}
.fc-black {color: #000!important;}

/* 임시 */
.subpage-wrapper {padding-block: 100px 150px;}q
/* 임시 */

.ff-primary {font-family: var(--ff-primary) !important ;}
.ff-secondary {font-family: var(--ff-secondary) !important;}
.ff-third {font-family: var(--ff-third) !important;}

.img-mo {display: none!important;}
.sian-img {display: block; margin-inline: auto;}

body:has(.subpage-body.bg-dark, .mainpage) {background: var(--dark);}

@media screen and (max-width: 767px) {
  .img-mo {display: block!important; margin-inline: auto; width: 400px;}
  .img-mo.outfit {width: calc(100% + 30px); max-width: none; margin-left: -15px;}
  .img-pc {display: none!important;}
}


/* Header */
.header {
  --submenu-height: 250px;
  position: fixed; top: 0; left: 0; width: 100%; height: 90px; z-index: 9999; font-family: var(--ff-primary); transition: background .4s, transform .4s; background: rgb(0,0,0,0.7); color: #fff; backdrop-filter: blur(10px);
}
.header-container {display: grid; grid-template-columns: 340px 1fr 340px; align-items: center; height: 100%; gap: 55px; width: 100%; padding-inline: 60px;}
.header .logo {display: flex; position: relative; width: 151px; color:#fff;}
.header .logo img {display: block; transition: opacity .4s;}
.header .logo img.light {opacity: 1;}
.header .logo img.dark {position: absolute; top: 0; left: 0; opacity: 0;}
.header-logo {color:#fff;}

.header-gnb {display: flex; margin: 0 auto; height: 100%;}
.header-gnb::after {position: absolute; top: 100%; left: 0; width: 100%; height: var(--submenu-height); background: var(--dark); content: ''; z-index: -1; opacity: 0; pointer-events: none; transition: opacity .4s;}
.header-gnb-item {display: flex; align-items: stretch; position: relative;}
.header-gnb-item > a {display: flex; justify-content: center; align-items: center; text-align: center; padding-top: 0px; padding-inline: 2em; font-weight: 500; text-transform: uppercase; font-size: 20px; position: relative;}
.header-gnb-item > a::after {content: ''; display: block; width: 1px; height: 1em; background: var(--primary-dark); position: absolute; top: 50%; right: 0; transform: translate(50%, -50%); opacity: 0; transition: opacity .4s;}
.header-gnb-item:is(:last-child) > a::after {display: none;}

.header-submenu {position: absolute; top: 100%; left: 50%; transform: translate(-50%, 0px); padding: 10px 0; overflow: hidden; color: #303030; height: auto; padding-block: 10px; min-width: 0px; opacity: 0; transition: transform .5s var(--easing1), opacity .5s var(--easing1); text-align: center; pointer-events: none; font-family: var(--font-primary); display: flex; justify-content: center; color: white; width: 100%; height: var(--submenu-height); opacity: 0; transition: opacity .4s;}
.header-submenu-list {height: 100%; border-right: 1px solid #575757; padding: 20px 15px; width: 100%;}
.header-gnb-item:last-child .header-submenu-list {border-right: none;}
.header-submenu-item > a {display: block; padding: 0.5em 0px; color: rgb(255,255,255,.7); font-size: 18px;}

.header .etc-nav {display: flex; justify-content: flex-end; align-items: center; gap: 25px; padding-top: 10px;}

.header .lang-nav .lang-ls {display: flex; font-weight: 500; text-transform: uppercase; font-family: var(--ff-secondary);}
.header .lang-nav .lang-ls a {position: relative; padding-inline: 0.6em; color: #989898; line-height: 1;}
.header .lang-nav .lang-ls a:not(:last-child)::after {position: absolute; top: 50%; right: 0; width: 2px; height: 0.8em; background: #989898; content: ''; transform: translate(50%, -50%);}
.header .lang-nav .lang-ls a.active {color: white;}

.family-site-dropdown {--rounded: 0px; --theme-1: #9A9A9A; color: var(--theme-1); position: relative; font-size: 15px;}
.family-site-dropdown .trigger {padding: 0 1em 0 1em; border: 1px solid var(--theme-1); border-radius: var(--rounded); transition: color .4s, border .4s, background .4s; display: flex; align-items: center; justify-content: space-between; gap: 1em; height: 40px; background: rgb(0,0,0,0.5); font-weight: 600; width: 100%;}
.family-site-dropdown .trigger .arrow {border-color: var(--theme-1); margin-top: -7px; width: 10px; height: 10px; transition: color .4s, border .4s, background .4s;}
.family-site-dropdown ul {position: absolute; top: 100%; left: 0; width: 100%; border: 1px solid var(--theme-1); border-bottom-left-radius: var(--rounded); border-bottom-right-radius: var(--rounded); padding-block: 0em; border-top: none; display: none; background: rgb(0,0,0,0.5); transition: color .4s, border .4s, background .4s;}
.family-site-dropdown ul > li > a {display: flex; align-items: center; padding-inline: 1em; padding-block: 0.8em; line-height: 1; font-weight: 500; transition: color .4s, border .4s, background .4s; gap: 0.5em; border-bottom: 1px solid #919191; color: rgb(255,255,255,0.6);}
.family-site-dropdown ul > li:last-child > a {border-bottom: none;}
.family-site-dropdown ul > li > a img {width: 1.4em; height: 1.4em; border-radius: 50%; object-fit: cover;}
.family-site-dropdown:hover .trigger {border-bottom-left-radius: 0; border-bottom-right-radius: 0;}
.family-site-dropdown:hover ul {display: block;}
.family-site-dropdown ul > li > a:hover {color: var(--sub-color1); background: rgb(255,255,255,0.25); font-weight: 700;}
.header--scrolled .family-site-dropdown ul > li > a:hover {background: rgb(0,0,0,0.25);}

.header .btn--sitemap-toggle {display: flex; flex-direction: column; justify-content: center; gap: 3px; border: none; outline: none; box-shadow: none; appearance: none; width: 45px; height: 30px; border-radius: 10px; padding: 10px 12px; cursor: pointer; position: relative; overflow: hidden; display: none; background: transparent; margin-right: 0; background: var(--primary);}
.header .btn--sitemap-toggle .bar {width: 100%; height: 2px; background: black; transition: .4s; border-radius: 2px;}
body.sitemap--open .header .etc-nav .btn--sitemap-toggle .bar {transform: translate(10%);}
body.sitemap--open .header .etc-nav .btn--sitemap-toggle .bar:nth-child(2) {transform: translate(-10%);}

.header--scrolled {background: black;}
.header--hide {transform: translate(0, -100%);}

.header:not(.header--scrolled) {}
.header:not(.header--scrolled) .logo img.dark {opacity: 0;}
.header:not(.header--scrolled) .logo img.light {opacity: 1;}

.sitemap {display: none;}


@media (hover: hover) {
  .header:has(.header-gnb-item:hover) {background: var(--primary); color: black;}
  .header:has(.header-gnb-item:hover) .logo img.dark {opacity: 1;}
  .header:has(.header-gnb-item:hover) .logo img.light {opacity: 0;}
  .header:has(.header-gnb-item:hover) .header-gnb::after {opacity: 1;}
  .header .header-gnb:has(.header-gnb-item:hover) .header-gnb-item:not(:hover) > a {opacity: 1;}
  .header .header-gnb:has(.header-gnb-item:hover) .header-gnb-item > a::after {opacity: 1;}
  .header .header-gnb-item:hover > a {opacity: 1;}
  .header:has(.header-gnb-item:hover) .header-submenu {opacity: 1; pointer-events: initial;}
  .header-submenu-item > a:hover {font-weight: 700; color: var(--primary);}
  .header .lang-nav > a:not(.active):hover {opacity: .7;}
  .header:has(.header-gnb-item:hover) .family-site-dropdown {--theme-1: black;}
  .header:has(.header-gnb-item:hover) .family-site-dropdown .trigger {background: transparent;}
}

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

@media screen and (max-width: 1399px) {
  .header {height: 60px; color: #333!important;}
  .header-container {width: min(1920px, calc(100% - 30px)); display: flex; padding-inline: 0; gap: 0;}
  .header-gnb {display: none;}
  .header .logo {margin-right: auto;}
  .header .logo {height: 30px;}
  .header .logo img {height: 100%; width: auto;}
  .header .logo .light {opacity: 1!important;}
  .header .logo .dark {opacity: 0!important;}

  .header .etc-nav {gap: 25px; padding: 0;}
  .header .etc-nav .etc-button {border: 1px solid #f7f6f5; background: #f7f6f5; border-radius: 200px; padding-inline: 15px; padding-block: 5px; color: var(--primary);}
  .header .etc-nav .etc-button .fill {fill: var(--primary);}
  .header .etc-nav .etc-button .stroke {stroke: var(--primary);}
  .header .etc-nav .lang-nav {display: none;}
  .header .etc-nav .btn--sitemap-toggle {display: flex;}
  .header .family-site-dropdown {display: none;}

  .sitemap {display: block; position: fixed; top: 0; left: 0; z-index: 9998; width: 100%; height: calc(var(--vh, 1vh) * 100); pointer-events: none; color: white;}
  .sitemap__dim {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgb(0,0,0,.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; transition: opacity .5s;}
  .sitemap__container {position: absolute; z-index: 10; top: 0; right: 0; width: 100%; max-width: 520px; height: 100%; background: black; overflow: hidden auto; --padding-inline: 30px; transform: translate(100%); opacity: 0; transition: opacity .5s, transform .5s; padding-top: 80px;}
  .sitemap__container .head {position: sticky; top: 0; left: 0; width: 100%; padding-block: 30px 20px; padding-inline: var(--padding-inline); display: flex; align-items: flex-end; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--light-gray1);}
  .sitemap__container .head .logo {height: auto; width: auto;}
  .sitemap__container .head .logo a {display: block;}
  .sitemap__container .head .logo a svg {width: 100px; height: auto;}
  .sitemap__container .head .logo a svg path {fill: var(--logo-navy);}
  .sitemap__container .head .logo a svg :where(#logo_elem5, #logo_elem3, #logo_elem2) {fill: var(--logo-blue)!important;}
  .sitemap__container .body {padding-block: 20px;}
  .sitemap__container .body .block {padding-inline: var(--padding-inline); padding-block: 15px;}

  .sitemap__container .family-site-dropdown .trigger {background: black;}
  .sitemap__container .family-site-dropdown ul {background: black;}

  body.sitemap--open .sitemap {pointer-events: initial;}
  body.sitemap--open .sitemap__dim {opacity: 1;}
  body.sitemap--open .sitemap__container {opacity: 1; transform: translate(0);}
  body.sitemap--open .header .lang-nav > a:not(.active) {color: #000!important;}

  .sitemap_gnb {}
  .sitemap_gnb__item {padding-block: .7em;}
  .sitemap_gnb__item:not(:last-child) {border-bottom: 1px solid #ededed;}
  .sitemap_gnb__item .trigger {display: flex; align-items: center; justify-content: space-between; font-size: 22px; font-family: var(--sub-font1);}
  .sitemap_gnb__item .trigger .ico--plus {width: 1em; height: auto; aspect-ratio: 1 / 1; display: none;}
  .sitemap_gnb__item .trigger .ico--plus::before,
  .sitemap_gnb__item .trigger .ico--plus::after {background: #afafaf; border-radius: 2px;}
  .sitemap_gnb__item .trigger .ico--plus::before {width: 2px;}
  .sitemap_gnb__item .trigger .ico--plus::after {height: 2px;}
  .sitemap_gnb__item.active .trigger {font-weight: 700;}
  .sitemap_gnb__item.active .trigger .ico--plus::before {display: none;}
  .sitemap_gnb__item.active .trigger .ico--plus::before,
  .sitemap_gnb__item.active .trigger .ico--plus::after {background: var(--secondary);}

  .sitemap_submenu {display: none; margin-block: 10px; padding: 0 0 20px 5px;}
  .sitemap_gnb__item.active .sitemap_submenu {display: block;}
  .sitemap_submenu__ls {font-size: 20px;}
  .sitemap_submenu__ls > .item {}
  .sitemap_submenu__ls > .item > a {display: block; padding-block: 5px; font-weight: 300;}
  .sitemap_submenu__ls > .item.active > a {font-weight: 500;}

  .sitemap_submenu__ls > .item:has(.depth2_ls) > a {display: flex; align-items: center; gap: .8em;}
  .sitemap_submenu__ls > .item:has(.depth2_ls) > a::after {width: .3em; aspect-ratio: 1 / 1; border-top: 1px solid #dfdfdf; border-right: 1px solid #dfdfdf; transform: rotate(45deg); content: ''; display: block; transition: transform .4s;}
  .sitemap_submenu__ls > .item:has(.depth2_ls).active > a::after {transform: translate(0, -25%) rotate(135deg);}
  .sitemap_submenu__ls > .item .depth2_ls {display: none; font-size: 18px; padding: 5px 0 40px 0; color: #dfdfdf;}
  .sitemap_submenu__ls > .item.active .depth2_ls {display: block;}
  .sitemap_submenu__ls > .item:last-child .depth2_ls {padding-bottom: 0;}
  .sitemap_submenu__ls > .item .depth2_ls > li > a {display: block; padding-block: 8px; line-height: 1;}
  .sitemap_submenu__ls > .item .depth2_ls > li.active {color: #1b1b1b; font-weight: 500;}

  .sitemap__lang {display: flex; font-size: 18px;}
  .sitemap__lang a {display: flex; align-items: center; color: #909090; text-transform: uppercase;}
  .sitemap__lang a.active {color: var(--primary); font-weight: 600;}
  .sitemap__lang a:not(:last-child)::after {width: 1px; height: .7em; content: ''; background: #dfdfdf; margin: 0 .6em;}
}
@media screen and (max-width: 767px) {
  .header {height: 50px;}
  .header .logo {height: 30px;} 
  .header .lang-nav {font-size: 14px;}
  .btn--sitemap-close .ico--times {width: 40px;}
  .sitemap__container {--padding-inline: 20px;}
  .header .etc-nav {gap: 10px;}
  .header .etc-button {font-size: 14px;}
}


/* Buttons */
.button {--background: black; --color: var(--primary); --hover-background: var(--primary); --hover-color: black; display: inline-flex; align-items: center; gap: 0.7em; padding: 0.7em 1.2em; border-radius: 9999px; background: var(--background); color: var(--color); font-weight: 700; flex-shrink: 0; transition: background .4s, color .4s; justify-content: space-between;}
.button.sm {font-size: 16px;}
.button.lg {font-size: 20px;}
.button svg {width: 1.1em; height: 1.1em;}
.button:has(svg):not(:has(.txt)) {padding: 0; width: 2.5em; height: 2.5em; border-radius: 50%; display: flex; align-items: center; justify-content: center;}
.button.square {border-radius: 0;}
.button.white {--background: black; --color: white; --hover-background: black; --hover-color: var(--primary);}
.button.bg-white {--background: white; --color: black; --hover-background: var(--primary); --hover-color: black;}

@media (hover: hover) {
  .button:not(.not-hover):hover {background: var(--hover-background); color: var(--hover-color);}
}
@media screen and (max-width: 1399px) {
  .button {font-size: 15px;}
  .button.lg {font-size: 17px;}
}
@media screen and (max-width: 767px) {
  .button {font-size: 14px;}
  .button.lg {font-size: 16px;}
}


/* Footer */
.footer {background: #FFE400; font-size: 18px; color: black;}
.footer .footer-body {padding-block: 44px;}
.footer .footer-body .container {display: flex; gap: 78px; align-items: center; justify-content: space-between;}

.footer .footer-contact {display: flex; gap: 54px; align-items: flex-start;}
.footer .footer-contact .title {font-weight: 700;}
.footer .footer-contact .contact {display: flex; gap: 45px;}
.footer .footer-contact .contact > li {padding-right: 45px; position: relative;}
.footer .footer-contact .contact > li:not(:last-child)::after {position: absolute; top: 50%; right: 0; width: 1px; height: 100%; background: var(--primary-dark); content: ''; transform: translate(0%, -50%);}
.footer .footer-contact .contact > li span {display: block; color: var(--primary-dark); opacity: 0.9; margin-bottom: 0.3em;}
.footer .footer-contact .contact > li strong {font-weight: 600; line-height: 1;}
.footer .footer-logo {display: flex; gap: 62px;}
.footer .footer-logo img {width: auto; height: 57px;}


.footer .footer-foot {border-top: 1px solid #E0CA0E;}
.footer .footer-foot .container {padding-block: 32px; text-align: center;}
.footer .footer-foot .container span {opacity: 0.9;}

@media screen and (max-width: 1399px) {
  .footer {font-size: 16px;}
  .footer .footer-body .container {gap: 20px; text-align: left; align-items: flex-end; justify-content: space-between;}

  .footer .footer-contact {flex-direction: column; gap: 20px;}
  .footer .footer-contact .sampyo-logo {width: 150px; height: auto;}
  .footer .footer-contact .contact {padding-left: 10px;}
  .footer .footer-contact .contact > li {padding-right: 0; position: relative;}
  .footer .footer-contact .contact > li:not(:last-child)::after {display: none;}

  .footer .footer-logo {flex-direction: column; gap: 10px;}
  .footer .footer-logo img {height: 40px;}
}
@media screen and (max-width: 767px) {
  .footer {font-size: 15px;}
  .footer .footer-body {padding-block: 25px;}
  .footer .footer-body .container {text-align: left; justify-content: flex-start; align-items: flex-start; flex-direction: column; gap: 40px;}
  .footer .footer-logo {flex-direction: row; gap: 30px;}
  .footer .footer-contact .sampyo-logo {width: 120px;}
  .footer .footer-contact .contact {flex-direction: column; gap: 10px;}
}
