@charset "UTF-8";

html,body {
	margin:0;
	padding:0;
	width:100%;
	height:100%;
	background-size: 100% 100%;
	overflow: hidden;
	background: url(../assets/img/bg.jpg);
}

#container {
	position: absolute;
    width: 1920px;
    height: 1080px;
    top: 0px;
    left: 0px;
    /* padding: 45px 50px 0 50px; */
    background: url(../assets/img/bg.jpg) no-repeat bottom center / cover;
    -webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    overflow: hidden;
}

#home {
    display: flex; flex-direction: column; justify-content: space-between; align-items: center;
    padding: 45px 50px 0 50px;
}

iframe {
	position: absolute;
    /* width:100%; height: 100%;  */
    width: 1920px;
    height: 1080px;
    top:0%; border:none; overflow:hidden;
	/* background:#ffffff url('../images/book_bg.jpg') no-repeat 50% 50%; */
    /* background:transparent url('../images/book_bg.jpg') no-repeat 50% 50%; */
    background: transparent;
	background-size:100% 100%;
	z-index:9;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#frm2 {
	z-index:10;
}

.btn:hover {
	filter:hue-rotate(100deg);
	-webkit-filter:hue-rotate(100deg);
	-moz-filter:hue-rotate(100deg);
}

iframe {
	/* -webkit-transition:all 0.8s;
	-webkit-transform-origin:50% 50%;
	-moz-transition:all 0.8s;
	-moz-transform-origin:50% 50%;
	transition:all 0.8s; */
	transform-origin:50% 50%;
	display: none;

}

#frmVoca,
#frmsupplement,
#frmtranslate,
#frmscript,
#frmVideo,
#frmZoom {
    top: 0;
    bottom: auto;
    height: 936px;
}

#frmZoom {
    top: 50px;
}

/* 일본어 서체 */
.jp_txt {
    text-align: left;
    font-family: 'HeiseiKakuGoStdW5', sans-serif;
    font-style: normal;
    font-weight: normal;
}
.jp_kaku {
    font-family: 'HeiseiKakuGoStdW5', sans-serif !important;
    font-style: normal;
    font-weight: normal;
}
.jp_meir {
    font-family: 'meiryo-bold', 'sans-serif' !important;
    font-style: normal;
    font-weight: bold;
}

/***** header *****/
.header {
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
    width: 100%; height: 86px;
    margin-bottom: 28px;
    font-weight: 700;
    font-family: 'NPS', sans-serif;
    color: #fff;
    position: relative; z-index: 10;
}

/* header - title */
.header .title h1 {
    display: flex; align-items: center;
    padding: 10px 35px;
    border: 2px solid var(--titleBorder);
    border-radius: 50px;
    font-size: 45px; line-height: 62px;
    background-color: var(--point);
    box-shadow: 3px 0 10px rgba(0,0,0,0.1);
}
.header .title h1 span {
    margin-right: 40px;
    font-weight: 400; font-size: 36px;
    position: relative;
}
.header .title h1 span::after {content: "";
    width: 4px; height: 38px;
    background: url(../assets/img/ico_title.png) no-repeat center / contain;
    position: absolute; right: -22px; top: 14px;
}


/* 인트로 버튼 */
.header .menu {display: flex; align-items: center; gap: 42px;}
.menu a {
    padding: 13px 32px 13px 52px;
    border-radius: 50px;
    font-size: 28px; line-height: 1.5;
    position: relative;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    cursor: pointer;
}


.header .menu a::before {content: "";
    background-repeat: no-repeat; background-position: center; background-size: contain;
    position: absolute; left: -13px; top: 50%;
    transform: translateY(-50%);
    transform-origin: bottom;
}

#book {
    padding: 13px 32px 13px 52px;
    border-radius: 50px;
    background-color: var(--menu1);
    font-size: 28px;
    line-height: 1.5;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    pointer-events: none; /* 임시로 막아둠 */
}

.header .menu #book::before {
    content: '';
    width: 51px;
    height: 54px;
    background-image: url('../assets/img/ico_menu1.png') ;
}

#book:hover {
    background-color: var(--menuHover1);
}

#btn_pds {
    /* top: 30px;
    right: 324px; */
    background-color: var(--menu2);
}

.header .menu #btn_pds::before {
    content: '';
    width: 55px; height: 47px;
    background-image: url('../assets/img/ico_menu2.png');
}

#btn_pds:hover {
    background-color: var(--menuHover2);
    /* pointer-events: none; */
}

#btn_manual {
    /* top: 30px;
    right: 172px; */
    background-color: var(--menu3);
}

.header .menu  #btn_manual::before {
    content: '';
    width: 51px; height: 47px;
    background-image: url('../assets/img/ico_menu3.png');
}

#btn_manual:hover {
    background-color: var(--menuHover3);
}

.header .menu a:hover::before {transform: translateY(-50%) rotate(-5deg);}

/* 목차 */
#contents {
    width: 65%;
    min-width: 1260px;
    height: 240vh;
    padding: 30px 30px 0 30px;
    border-radius: 70px 70px 0 0;
    background-color: #fff;
    position: relative;
    z-index: 10;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}
.contents_box {
    display: flex;
    width: 100%; height: 100%;
    border: 2px solid var(--contentBorder); border-bottom: none;
    border-radius: 40px 40px 0 0;
    background-color: var(--contentBg1);
}
.unit_box {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    padding: 35px 60px 0px 60px;
}
.unit_box ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 700px;
}
.unit_box ul li {
    height: 100%; max-height: 140px;
    position: relative;
}
.unit_box ul li a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 14px;
    line-height: 44px;
    position: relative;
    z-index: 10;
}
.unit_box ul li + li a {
    border-top: 2px solid;
    border-image: url('../assets/img/underline.png') 30 0 round;
}

/* content - 대분류 */
.b_unit {
    border-right: 2px solid var(--contentBorder);
    border-top-left-radius: 40px;
    font-family: 'Gosanja', sans-serif;
    color: var(--text1);
    height: max-content;
}
.b_unit ul li::before {content: "";
    display: none;
    width: calc(100% + 120px); height: 100%;
    border-radius: 38px;
    background-color: var(--point);
    position: absolute; left: -30px; top: 0;
}
.b_unit ul li a {
    width: 430px;
    gap: 8px;
    font-size: 33px;
    letter-spacing: -1px;
}
.b_unit ul li a span {
    width: 38px;
    height: 38px;
    margin-right: 7px;
    font-size: 34px;
    line-height: 38px;
    text-align: center;
    background-color: var(--point1);
    font-family: 'meiryo-Bold', 'MaplestoryB', sans-serif;
}

.b_unit ul li a .num {
    color: #007a9d;
}
.b_unit ul li a .num2 {background-position: -38px 0;}
.b_unit ul li a .num3 {background-position: -76px 0;}
.b_unit ul li a .num4 {background-position: -114px 0;}
.b_unit ul li a .num5 {background-position: -152px 0;}
.b_unit ul li a .num6 {background-position: -190px 0;} */
.b_unit ul li::after {content: "";
    display: none;
    width: 15px; height: 23px;
    background: url('../assets/img/ico_arrow.png') no-repeat center / contain;
    position: absolute; right: -40px; top: 50%;
    transform: translateY(-50%);

}
.b_unit ul li a .tag {
    height: 30px;
    min-width: fit-content;
    padding: 6px 10px 4px 10px;
    border-radius: 67px;
    font-size: 19px;
    line-height: 30px;
    color: var(--white);
}
.b_unit ul li a .tag1 {background-color: var(--tag1);}
.b_unit ul li a .tag2 {background-color: var(--tag2);}
.b_unit ul li a .tag3 {background-color: var(--tag3);}
.b_unit ul li a .tag4 {background-color: var(--tag4); padding: 6px 14px 4px 13px !important;}
.b_unit ul li a .tag5 {background-color: var(--tag5);}

.m_num, .labelSub {
    font-family: 'NotoSansKR-Bold', 'sans-serif';
}

.jp_meirB {
    font-family: 'meiryo-Bold', 'sans-serif' !important;
}

.b_unit a .jp_meir {
    font-size: 34px !important;

}

/* content - 소분류 */
.s_unit {
    border-top-right-radius: 40px;
    background-color: var(--contentBg2);
}
.small_unit ul li {max-height: 104px;}
.s_unit ul li::before {content: "";
    display: none;
    width: calc(100% + 40px); height: 100%;
    border-radius: 26px;
    background-color: var(--point);
    position: absolute; left: -20px; top: 0;
}
.s_unit ul li a {
    padding-right: 20px;
    font: 600 32px/44px 'Pretendard'; color: var(--text2); letter-spacing: -1px;
    position: relative;
}
.s_unit ul li a span {
    flex-shrink: 0;
    margin-right: 20px; margin-bottom: -2px;
    font-size: 29px;
    font-family: 'Gosanja', sans-serif;
    color: var(--point);
}
/* .s_unit ul li.review a {
    font-weight: normal;
    font-size: 30px;
    font-family: 'Gosanja', sans-serif;
    color: var(--text3);
    letter-spacing: -1px;
} */
.tr {
    font-weight: normal;
    font-size: 30px;
    font-family: 'Gosanja', sans-serif;
    color: #885D5D !important;
    letter-spacing: -1px;
}



/* content - hover */
.unit_box ul li:hover::before,
.unit_box ul li:hover::after {display: block;}
.unit_box ul li:hover a {
    border-image: none; border-color: transparent;
    color: var(--white);
}
.unit_box ul li:hover + li a {border-image: none; border-color: transparent;}
.s_unit ul li:hover a span {color: var(--white);}

/* content - on */
.unit_box ul li.on::before,
.unit_box ul li.on::after {display: block;}
.unit_box ul li.on a {
    border-image: none; border-color: transparent;
    color: var(--white);
}
.unit_box ul li.on + li a { border-image: none; border-color: transparent;}
.b_unit ul li.on a .num {color: #fff;}

/***** objects *****/
.object {position: absolute;}
.char_rabbit {
    width: 348px;
    left: -245px;
    top: 495px;
}
.char_girl {
    width: 350px;
    right: -155px;
    top: 638px;
}
.char_dog {
    width: 246px;
    left: calc(50% + 33vw); bottom: 300px;
}
.bg_cloud1 {
    width: 118px;
    left: 100px; top: 44vh;
    animation: cloud1 18s linear infinite;
}
.bg_cloud2 {
    width: 80px;
    left: 250px; top: 53vh;
    animation: cloud1 16s linear infinite;
}
.bg_flowerL1 {
    width: 185px;
    left: -40px; top: 225px;
    transform-origin: left;
    animation: flowerL 2s ease-in-out infinite alternate;
}
.bg_flowerL2 {
    width: 342px;
    left: -50px; top: 265px;
    transform-origin: left;
    animation: flowerL2 2.5s ease-in-out infinite alternate-reverse;
}
.bg_flowerR {
    width: 650px;
    right: -440px; top: 30px;
    animation: flowerR 2s ease-in-out infinite alternate;
}
.petal {
    top: -10%;
    opacity: 0;
    animation: petalDown 7s linear infinite, petalWave 2s ease-in-out infinite alternate;
}
.petal1 {
    width: 59px;
    right: 3vw; top: 120px; z-index: 10;
}
.petal2 {
    width: 47px;
    left: 7vw; top: 260px; z-index: 10;
    animation-delay: 1s; animation-direction: normal alternate-reverse;
}
.petal3 {
    width: 65px;
    right: 12vw; z-index: 10;
    animation-delay: 2s;
}
.petal4 {
    width: 59px;
    left: 15vw;
    animation-delay: 1.5s;
}
.petal5 {
    width: 65px;
    left: 40vw;
    animation-direction: normal alternate-reverse;
}

@keyframes cloud1 {
    0%  {transform: translateX(-9vw) translateY(2vw)}
    10%  {transform: translateX(-6vw) translateY(0)}
    20%  {transform: translateX(-3vw) translateY(1vw)}
    30%  {transform: translateX(0vw) translateY(0)}
    40%  {transform: translateX(3vw) translateY(1vw)}
    50%  {transform: translateX(6vw) translateY(0)}
    60%  {transform: translateX(3vw) translateY(1vw)}
    70%  {transform: translateX(0vw) translateY(0)}
    80%  {transform: translateX(-3vw) translateY(1vw)}
    90%  {transform: translateX(-6vw) translateY(0)}
    100% {transform: translateX(-9vw) translateY(2vw)}
}

@keyframes flowerL {
    to {transform: rotate(4deg);}
}
@keyframes flowerL2 {
    to {transform: rotate(3deg);}
}
@keyframes flowerR {
    to {transform: rotate(-3deg);}
}
@keyframes petalDown {
    0%   {opacity: 0;}
    15%  {opacity: 1;}
    100% {opacity: 1; top: 100%;}
}
@keyframes petalWave {
    from {transform: translateX(-4vw) rotate(20deg);}
    to   {transform: translateX(4vw) rotate(-20deg);}
}
/***** // objects *****/

/**업데이트**/
#btn_update {
    height: 68px;
    padding: 17px 30px 19px 46px;
    border: 2px solid var(--updateBorder);
    border-radius: 50px;
    font: 700 29px/32px 'NPS'; color: #fff;
    background-color: var(--update);
    position: absolute; left: 52px; bottom: 40px; z-index: 20;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    cursor: pointer;
}
#btn_update::before {content: "";
    width: 50px; height: 50px;
    background: url('../assets/img/ico_update.png') no-repeat center / contain;
    position: absolute; left: -15px; top: 8px;
    transition: transform 0.5s;
}

#btn_update:hover::before {transform: rotate(100deg);}

#wrapper {
    display: none;
}



#popup_close {
	/* top: 10px;
    right: 10px; */
    top: 76px;
    right: 117px;
    background-image: url(../images/popup/close.png);
    background-size: 100% 100%;
	width: 55px;
    height: 58px;
	cursor: pointer;
    position: absolute;
    z-index: 11;
    display: none;
}

#popup_close:hover {
    background-image: url(../images/popup/close_h.png);
    background-size: 100% 100%;
}

#frmtranslate {
    background-color: transparent;
}
