@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asta+Sans:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    line-height: 100%;
}

body {
    font-family: "Asta Sans", sans-serif;
    font-size: 16px;
    color: #414141;
    height: auto;
}

audio,canvas,progress,video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0;
}

ul,ol,li {
    list-style: none
}

blockquote,q {
    quotes: none;
}

blockquote:before,blockquote:after,q:before,q:after {
    content: '';
    content: none;
}

fieldset,img {
    border: 0
}

hr {
    height: 0;
}

small {
    font-size: 80%
}

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

address,caption,em,var {
    font-style: normal;
    font-weight: normal
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #333;
}

a[href^="tel"] {
    font-style: normal
}

a:hover,a:active,a:focus {
    text-decoration: none;
}

b,strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

img {
    border: 0;
    vertical-align: top
}

pre {
    overflow: auto
}

code,kbd,pre,samp {
    font-family: monospace,monospace;
    font-size: 1em
}

table {
    border-spacing: 0;
    border-collapse: collapse
}

td,th {
    padding: 0;
}

legend, caption {
    overflow: hidden;
    text-indent: -9999999px;
    height: 0 !important;
    width: 0 !important;
    line-height: 0 !important;
    margin: 0;
    padding: 0;
}

input {
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

input[type="text"],input[type="password"],input[type="email"] {
    -webkit-appearance: none;
    border-radius: 0;
}

input:checked[type="checkbox"] {
    -webkit-appearance: checkbox
}

button,input[type="button"],input[type="submit"],input[type="reset"],input[type="file"] {
    border-radius: 0;
    -webkit-appearance: button;
}

button,input,optgroup,select,textarea {
    margin: 0;
    font: inherit;
    color: inherit
}

button {
    overflow: visible;
    border: none;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

button,select {
    text-transform: none
}

optgroup {
    font-weight: bold
}

textarea {
    border: 1px solid #bcbcbc;
    overflow: auto;
    -webkit-appearance: none
}

input::-ms-clear {
    display: none;
}

.fl_l {
    float: left !important;
}

.fl_r {
    float: right !important;
}

.cl_b {
    clear: both !important;
}

.fl_txt {
    text-align: left !important;
}

.disN {
    display: none;
}

.disN2 {
    display: none !important;
}

.disB {
    display: block;
}

.disB2 {
    display: block !important;
}

.txC {
    text-align: center;
}

.W_Auto {
    width: auto;
}

.rel {
    position: relative;
}

* {
    outline: none;
    box-sizing: border-box;
    line-height: 100%;
    letter-spacing: -1px;
}
:root{
    --main-color:#002e45;
	--sub-color:#002d48;
    --en:"Asta Sans", sans-serif;

    --open-delay:3s;     
    --open-dur:1.4s;   
	--video-ratio: 1.7778;   /* 영상 가로÷세로 (16:9 = 1.7778) */
}
/* layout */
.mainWrap { height: 100vh; height: 100dvh; overflow: hidden; cursor: pointer; }
.mainVisual {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    overflow: hidden;
}
.mainVisual > * { grid-area: 1 / 1; }

/* frame */
.frame {
    width: min(34vw, 420px, 56vh);
    height: calc(min(34vw, 420px, 56vh) * 4 / 3);
    background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: top left, top right, bottom right, bottom left;
    background-size: 0 1px, 1px 0, 0 1px, 1px 0;
     animation:
        frame_draw 1.6s cubic-bezier(.65, 0, .35, 1) .2s forwards,
        frame_open var(--open-dur) cubic-bezier(.76, 0, .24, 1) var(--open-delay) forwards,
        frame_fade .25s ease calc(var(--open-delay) - .1s) forwards;   
}

/* split text */
.explain, .name, .video_name { visibility: hidden; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }
.char {
    display: inline-block;
    visibility: visible;
    transform: translateY(110%);
    animation: char_up 1s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* intro text */
.text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    animation: intro_out .5s ease-in-out calc(var(--open-delay) - .1s) forwards;
	 color:#fff;
}
.explain { font-size: 26px; font-weight: 300; letter-spacing: .08em; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.name { font-size: 42px; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.explain .char { animation-delay: calc(1.1s + var(--char-index) * 55ms); }
.name .char { animation-delay: calc(1.6s + var(--char-index) * 55ms); }

.text .logo_t {
    margin-top: 14px;
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
    animation: logo_in 1.3s cubic-bezier(.22, 1, .36, 1) 2s forwards;
}
.text .logo_t img { width: 100px; }

.fo_text {
	font-size:14px;
	position:absolute;
	bottom:1.5%;
	left:1.5%;
	color:#fff;
	opacity: 0;
	 animation: fade_in 1s 5.5s forwards;
}

/* movie */
.movie {
    display: flex;           
    align-items: center;
    justify-content: center;   
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    animation: movie_open var(--open-dur) cubic-bezier(.76, 0, .24, 1) var(--open-delay) forwards;
}
.movie iframe {
    flex: none;             
    width: max(100vw, calc(100vh * var(--video-ratio)));
    height: max(100vh, calc(100vw / var(--video-ratio)));
    border: 0;
    pointer-events: none;
}

/* header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: start;
    width: 100%;
    padding: 40px 48px;
}
.title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    white-space: nowrap;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
	display:block;
	color:#fff;
	z-index:1;
	opacity: 0;
    animation: fade_in 1s ease calc(var(--open-delay) + var(--open-dur) - .3s) forwards;
}
.video_name .char { animation-delay: calc(var(--open-delay) + var(--open-dur) - .5s + var(--char-index) * 55ms); }
.logo {
    opacity: 0;
    animation: fade_in 1s ease calc(var(--open-delay) + var(--open-dur) - .3s) forwards;
}
.logo img { width: 100px; }

/* slogan */
/* .slogan {
    align-self: end;
    padding-bottom: clamp(24px, 6vh, 64px);
    opacity: 0;
    transform: translateY(16px);
    animation: fade_up 1s ease calc(var(--open-delay) + var(--open-dur) - .3s) forwards;
}
.slogan img { width: clamp(220px, 24vw, 420px); } */

/* skip */
.skip_btn {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: #002e4552;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translate(-65%, -65%);
    z-index: 11111;
    transition: 0.3s opacity, 0.3s transform;
    font-family: var(--en);
    cursor: pointer;
    pointer-events: auto;
}

.mainWrap .sound_btn{
    position: fixed;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    right: 2.5%;
    bottom: 2.5%;
	background-color: #002e4552;
    will-change: left, top, transform;
    z-index: 9;
    color:#fff;
    font-weight: 100;
    font-family: var(--en);
    font-size: 13px;
	z-index:11111111111;
	transition:0.5s all;
	opacity:0;
	animation:fadeIn 1s 3s forwards;
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
.mainWrap .sound_btn:hover{
	background-color: var(--main-color);
}
.mainWrap .sound_btn .icon{
    /* stroke: #fff;
    fill: transparent;
    stroke-width: 1.5px; */
    width:80%;
    filter: brightness(0) invert(1);
    height: 20px;
}
.mainWrap .sound_btn .subject{
    position: relative;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.mainWrap .sound_btn .subject img {
    width: 27px;
}
.mainWrap .sound_btn .front{
    transition: 0.5s all;
}
.mainWrap .sound_btn .back{
    position: absolute;
    opacity:0;
    transition: 0.5s all;
}
.mainWrap .sound_btn.--muted .front{
    opacity:0;
}
.mainWrap .sound_btn.--muted .back{
    opacity: 1;
}

/* keyframes */
@keyframes frame_draw { to { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%; } }
@keyframes frame_open {
    0%, 10% { width: min(34vw, 420px, 56vh); height: calc(min(34vw, 420px, 56vh) * 4 / 3); }
    100% { width: 100%; height: 100%; }
}
@keyframes frame_fade { to { opacity: 0; } }
@keyframes movie_open {
    0% { opacity: 0; clip-path: inset(calc((100% - min(34vw, 420px, 56vh) * 4 / 3) / 2) calc((100% - min(34vw, 420px, 56vh)) / 2)); }
    10% { opacity: 1; clip-path: inset(calc((100% - min(34vw, 420px, 56vh) * 4 / 3) / 2) calc((100% - min(34vw, 420px, 56vh)) / 2)); }
    100% { opacity: 1; clip-path: inset(0); }
}
@keyframes intro_out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes logo_in {
    from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fade_in { to { opacity: 1; } }
@keyframes fade_up { to { opacity: 1; transform: none; } }
@keyframes char_up { to { transform: translateY(0); } }

/* mobile 전용 keyframes */
@keyframes m_line_draw { to { transform: scaleX(1); } }
@keyframes m_line_fade { to { opacity: 0; } }
@keyframes m_movie_open {
    from { opacity: 1; clip-path: inset(50% 0); }
    to { opacity: 1; clip-path: inset(0); }
}
@keyframes m_skip_in { to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes m_text_up {
    from { transform: translateY(calc(36vh - 50%)); transform: translateY(calc(36dvh - 50%)); }
    to { transform: translateY(0); }
}

/* pc */
@media (min-width: 1081px) {
    .mainWrap { cursor: none; }
    .skip_btn {
        top: -100px;
        left: -100px;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
    }
}


@media (max-width: 768px) {
    :root {
        --m-open-delay: 3.3s;   
    }

    .mainVisual {
        position: relative;
        display: block;
        background: #fff;
    }

    .movie {
        position: absolute;
        left: 0;
        top: calc(50% - 28.125vw);
        width: 100%;
        height: 56.25vw;
        opacity: 0;
        animation: m_movie_open 1.1s cubic-bezier(.76, 0, .24, 1) var(--m-open-delay) forwards;
    }
    .movie iframe {
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        transform: none;
    }

    .frame {
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: var(--main-color);
        transform: scaleX(0);
        transform-origin: center;
        animation:
            m_line_draw .8s cubic-bezier(.65, 0, .35, 1) calc(var(--m-open-delay) - .9s) forwards,
            m_line_fade .3s ease calc(var(--m-open-delay) + .1s) forwards;
    }

    .header {
        position: absolute;
        top: 0;
        left: 0;
        justify-content: center;
        padding: 0;
        padding-top: 5vh;
        padding-top: 5dvh;
    }
    .title { display: none; }
    .text .logo_t { display: none; }  
    .logo { animation: fade_in .9s ease 1.9s forwards; } 
    .logo img {
        width: 64px;
        filter: url(#tint-navy);
    }

    .text {
        position: absolute;
        top: 14vh;
        top: 14dvh;
        left: 0;
        width: 100%;
        gap: 12px;
        color: var(--main-color);
        animation: m_text_up 1s cubic-bezier(.76, 0, .24, 1) 1.8s both;
    }
    .explain {
        font-size: clamp(13px, 3.9vw, 17px);
        letter-spacing: -.01em;
        color: rgba(0, 46, 69, .85);
    }
    .name {
        font-size: clamp(26px, 8.6vw, 38px);
        letter-spacing: -.03em;
    }
    .explain .char { animation-delay: calc(.3s + var(--char-index) * 40ms); }
    .name .char { animation-delay: calc(.6s + var(--char-index) * 40ms); }

    .slogan {
        position: absolute;
        left: 0;
        bottom: 3vh;
        bottom: 3dvh;
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
        animation: fade_up .9s ease calc(var(--m-open-delay) + .7s) forwards;
    }
    .slogan img {
        width: min(90vw, 420px);
        filter: url(#tint-slogan);
    }

    .skip_btn {
        position: absolute;
        top: auto;
        left: 50%;
        right: auto;
        bottom: 6vh;
        bottom: 6dvh;
        width: 104px;
        height: 40px;
        border-radius: 999px;
        background-color: var(--main-color);
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 2px;
        box-shadow: 0 6px 18px rgba(0, 46, 69, .28);
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
        animation: m_skip_in .7s cubic-bezier(.22, 1, .36, 1) calc(var(--m-open-delay) + 1.1s) forwards;
    }
	.fo_text {
		font-size: 2.35vw;
		top: calc(50% + 28.125vw + 3vw);   
		bottom: auto;                     
		left: 50%;
		transform: translateX(-50%);
		width: 100%;
		color: #000;
		text-align: center;
		animation: fade_in 1s 5.5s forwards;
	}

	.mainWrap .sound_btn{
		background-color: var(--main-color);
		transform: scale(0.8);
	}
}