@import url('https://fonts.googleapis.com/css2?family=Hahmlet:wght@300;400;900&family=Noto+Sans+KR:wght@500&display=fallback');

* {
    text-decoration: inherit;
    font-family: "Hahmlet", sans-serif;
    /*font-family: "UD Shin Go Hangul Regular", sans-serif;*/
}

div {display: block; margin: 0px; font-weight: inherit; font-size: inherit; box-sizing: border-box;}
a {font-weight: inherit; text-decoration: inherit; background-color: transparent; margin: 0px; color: rgb(250,220,220);}
a:hover {color:rgb(250,160,160)}
a:-webkit-any-link {cursor: pointer;}
p,h1,h2,h3,h4,h5,h6,ol,ul {margin: 0;padding: 0;font-size: inherit;}
body.white a{color:rgb(250,30,30)}
button {
    appearance: button;
    -webkit-appearance: button;
    padding: 0px;
    border: 0px;
    background: transparent;
    color: inherit;
    outline: none;
    cursor: pointer;
    text-transform: none;
    overflow: visible;
}
table {
    /*width: 100%;*/
    border-spacing: 0px;
    border-collapse: collapse;
    table-layout: fixed;
    color: lavender;
}
body.white table {
    color: rgb(30, 30, 30);
}
td {
    vertical-align: top;
    padding: 0 10px 0 0;
}
td:last-child {
    padding: 0;
}

body {
    overflow: hidden auto;
    overscroll-behavior-y: none;
    margin: 0px;
    font-weight: 300;
    font-variation-settings: "wght" 300;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    color: lavender;
    background-color: rgb(30, 30, 30);
}
body.white {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    color: rgb(30, 30, 30);
    background-color: lavender;
}

#wrapper {
    width: 100%;
    min-height: 100%;
}

#header {
    z-index: 100;
    position: fixed;
    top: 0;
    width: 100%;
    padding-right: 0px;
    background-color: rgb(30, 30, 30);
}
body.white #header {
    background-color: lavender;
}

.wrap {
    width: 100%;
    display: flex;
    gap: 5vw;
    -webkit-box-align: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-grow: 1;
}
#header .wrap {
    height: 60px;
}
#header .wrap::after {
    content: "";
    position: absolute;
    border-bottom: 1px solid lavender;
    width: 100%;
    height: 1px;
    bottom: 0px;
    left: 0px;
    opacity: 0.4;
}
body.white #header .wrap::after {
    border-bottom: 1px solid rgb(30, 30, 30);
}


.period {
    font-size: 13px;
}
.period:before {
    content: "(";
}
.period::after {
    content: ")";
}

.title {
    display: flex;
    height: 100%;
    padding-left: 10px;
    cursor: pointer;
    -webkit-box-align: center;
    align-items: center;
    
}
.title a {
    font-size: 28px;
    font-weight: 900;
    font-variation-settings: "wght" 900;
    color: lavender;
    padding-top: 0.1em;
}
body.white .title a {
    color: rgb(30, 30, 30);
}

#menu {
    height: 100%;
}
#menu ul {
    margin: 0;
    list-style: none;
    background-color: rgb(30, 30, 30);
}
body.white #menu ul {
    background-color: lavender;
}
#menu li a {
    font-size: 20px;
    font-weight: 900;
    font-variation-settings: 'wght' 900;
    color: lavender;
}
#menu li a.reference {
    font-size: 18px;
    font-weight: 400;
    font-variation-settings: 'wght' 400;
}
body.white #menu li a {
    color: rgb(30, 30, 30);
}
#menu ul.dept2_list li a {
    font-weight: 400;
    font-variation-settings: 'wght' 400;
}
@media screen and (min-width:1024px) {
    #menu {
        display: flex;
        gap: 3vw;
        -webkit-box-align: center;
        align-items: center;
    }
    #menu button {
        display: none;
    }
    #menu ul {
        display: flex;
        padding: 0px;
        gap: 3vw;
    }
    #menu li {
        display: flex;
    }
    #menu li a {
        display: flex;
        -webkit-box-align: end;
        align-items: end;
        cursor: pointer;
        opacity: 0.4;
    }
    #menu li a:hover {
        opacity: 0.9;
    }
    #menu ul.dept2_list {
        display: none;
    }
}
@media screen and (max-width:1023px) {
    #menu {
        position: fixed;
        z-index: 10;
        top: 0;
        left: 100%;
        width: 100%;
        transition: 0.3s;
    }
    #menu.open {
        left:0;
    }
    #menu.open button {
        position:relative;
        z-index: 10;
        font-size: 24px;
        top: 32px;
        left: 90%;
    }
    #menu ul {
        width: 100%;
    }
    #menu ul.dept1_list {
        position: fixed;
        top: 0;
        height: 100%;
        padding: 40px 0 0 0;
    }
    #menu ul.dept1_list>li {
        padding: 20px 0 20px 32px;
    }
    #menu ul.dept1_list>li::after {
        content: "";
        position: absolute;
        border-bottom: 1px solid lavender;
        width: 100%;
        height: 20px;
        left: 0px;
        opacity: 0.4;
    }
    body.white #menu ul.dept1_list>li::after {
        border-bottom: 1px solid rgb(30, 30, 30);
    }
    #menu ul.dept2_list {
        padding: 0;
    }
    #menu ul.dept2_list>li {
        padding: 4px 0 4px 32px;
    }
}

#g-nav {
    display: flex;
    margin-left: auto;
}
#g-nav button {
    padding: 6px 8px 7px;
    font-size: 24px;
    color: lavender;
    cursor: pointer;
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}
body.white #g-nav button {
    color: rgb(30, 30, 30);
}

.main {
    padding-top: 60px;
    width: 100%;
    top: 0px;
    background: inherit;
}

#container {
    z-index: 0;
    width: 100%;
    overflow: hidden;
}

#footer {
    width: 100%;
    display: flex;
}
#footer .wrap {
    height: 120px;
}
#footer::before {
    content: "";
    position: absolute;
    border-bottom: 1px solid lavender;
    width: 100%;
    opacity: 0.4;
}
body.white #footer::before {
    border-bottom: 1px solid rgb(30, 30, 30);
}

@media screen and (min-width:1024px) {
    #logo {
        display: flex;
    }
}
@media screen and (max-width:1023px) {
    #logo {
        display: none;
    }
}
#logo {
    -webkit-box-flex: 1;
    flex: 1 0 0px;
    height: 100%;
    -webkit-box-align: center;
    align-items: center;
}
#logo img {
    height: 100%;
}

.info {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 300;
    font-variation-settings: 'wght' 300;
}
body.white .info {
    font-weight: 400;
    font-variation-settings: 'wght' 400;
}
@media screen and (max-width:1023px) {
    .info {
        flex: 1 0 0px;
        padding-left: 10px;
    }
}

.contact {
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    margin-right: 10px;
}
.contact a {
    padding: 0 5px;
    background: none;
    border: none;
}
.contact i {
    font-size: 2em;
    color: lavender;
}
body.white .contact i {
    color: rgb(30, 30, 30);
}

@media screen and (min-width:1024px) {
    .category {
        z-index: 1;
        position: fixed;
        top: 60px;
        height: 47px;
        padding: 0;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        background-color: rgb(30, 30, 30);
        overflow: visible;
    }
    body.white .category {
        background-color: lavender;
    }
    .category ul {
        list-style: none;
        padding-left: 10px;
    }
    .category ul li {
        float: left;
        margin-right: 3vw;
    }
    .category ul li::after {
        content: "·";
    }
    .category a {
        font-size: 20px;
        font-weight: 300;
        font-variation-settings: 'wght' 300;
        height: 1.6em;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        padding-bottom: 0.1em;
        color: lavender;
        cursor: pointer;
        white-space: nowrap;
        -webkit-box-flex: 0;
        flex: 0 0 auto;
        opacity: 0.4;
    }
    body.white .category a {
        font-weight: 400;
        font-variation-settings: 'wght' 400;
        color: rgb(30, 30, 30);
    }
    .category a:first-child {
        margin-left: 10px;
    }
    .category a:hover {
        opacity: 0.9;
    }
    .category .tab {
        display: block;
        margin: 0px calc((1.3em - 3px) / 2);
        width: 3px;
        height: 3px;
        border-radius: 2px;
        background-color: lavender;
        opacity: 0.4;
        -webkit-box-flex: 0;
        flex: 0 0 auto;
    }
    body.white .category .tab {
        background-color: rgb(30, 30, 30);
    }
}
@media screen and (max-width:1023px) {
    .category {
        display: none;
    }
}

.contents {
    min-height: inherit;
}
.contents .sidewrap {
    padding: 0px 10px;
}
.contents .about_title {
    font-size: 48px;
    font-weight: 300;
    font-variation-settings: 'wght' 300;
    text-align: center;
}
body.white .contents .about_title {
    font-weight: 400;
    font-variation-settings: 'wght' 400;
}
@media screen and (min-width:1024px) {
    .contents .about_title {
        margin-top: 47px;
    }
}
.contents .about_title h2 {
    overflow: hidden;
}
.about_title .guide {
    display: flex;
    font-size: 16px;
    justify-content: center;
    padding-top: 20px;
}
.about_title .guide ul {
    text-align: left;
    line-height: 1.8;
}

.about_body {
    margin: 50px auto 0px;
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: center;
}
@media screen and (max-width:1023px) {
    .about_body {
        flex-direction: column;
    }
}


.intro {
    -webkit-box-flex: 1;
    flex: 0 0 auto;
    width: 500px;
    margin: 0 auto;
    padding-bottom: 100px;
    font-size: 17px;
    color: lavender;
}
body.white .intro {
    color: rgb(30, 30, 30);
}
@media screen and (min-width:1024px) {
    .intro:first-child {
        margin-right: 18px;
    }
}
@media screen and (max-width:500px) {
    .intro {
        width: auto;
    }
}
.intro h3 {
    font-size: 1em;
    font-weight: 900;
    font-variation-settings: 'wght' 900;
    margin-top: 0.8em;
    margin-bottom: 0.2em;
}
.intro h3:first-of-type {
    margin-top: 0px;
}
.intro p {
    font-weight: 300;
    font-variation-settings: 'wght' 300;
    line-height: 1.7;
}
body.white .intro p {
    font-weight: 400;
    font-variation-settings: 'wght' 400;
}



#jaso fieldset {
    display: flex;
    align-items: flex-start;
}
@media screen and (max-width:310px) {
    #jaso fieldset {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}
#jaso legend {
    display: inline;
}
#jaso input {
    display: inline;
    accent-color: deeppink;
}
#jaso input, #jaso label {
    font-variation-settings: 'wght' 700;
}
#jaso .charsetgroup {
    flex-wrap: wrap;
    justify-content: space-between;
}
@media screen and (max-width:650px) {
    #jaso .charsetgroup {
        flex-flow: column wrap;
        align-items: flex-start;
    }
}
#jaso .btnGroup, #jaso .btnGroup div,#jaso .checkgroup { margin-bottom: 8px;}
#vowelinit { margin-right: 8px;}
#jaso .vowelGroup:last-child { margin-bottom: 0px;}
#jaso .checkgroup {
    margin-left: 15px;
    display: flex;
    flex-flow: row wrap;
}
.initButton {
    -webkit-border-radius: 26;
    -moz-border-radius: 26;
    border-radius: 26px;
    border: none;
    background: lightpink;
    padding: 4px 15px 6px 15px;
    font-size: inherit;
    font-variation-settings: 'wght' 700;
    text-decoration: none;
}
.initButton:hover {
background: hotpink;
text-decoration: none;
}

#board {
    margin: 50px auto;
    width: 100%;
    max-width: 1300px;
    text-align: center;
}

#result {
    width: 100%;
    height: 20vw;
    margin-bottom: 20px;
    resize: none;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: inherit;
    background-color: lavender;
}
#result::selection {
    background: lightpink;
}

.fpBtn {
    display: block;
    margin: 0 auto;
    padding: 4px 15px 6px 15px;
    font-size: inherit;
    font-variation-settings: 'wght' 700;
    text-decoration: none;
    border: none;
    background: powderblue;
    border-radius: 26px;
    -webkit-border-radius: 26;
    -moz-border-radius: 26;
}
.fpBtn:hover {
    background: skyblue;
    text-decoration: none;
}

#uploadForm input[type="file"] {  /* 파일 필드 숨기기 */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip:rect(0,0,0,0);
    border: 0;
}
#uploadForm .fpBtn {
    color: rgb(30, 30, 30);
}

#nametable {
    display: block;
    width: 100%;
    margin: 0 auto 100px;
    max-width: 1300px;
}
#nametable table {
    width: 100%;
}
#nametable table+table {
    margin-top: 20px;
}
#nametable th {
    font-variation-settings: 'wght' 700;
}
#nametable thead th {
    text-align: left;
    padding-bottom: 12px;
}
#nametable tbody th {
    text-align: center;
    width:10%;
}
#nametable tbody th, #nametable td {
    border: 1px solid lavender;
    padding-left: 20px;
    padding-right: 20px;
}
body.white #nametable tbody th, body.white #nametable td {
    border: 1px solid rgb(30, 30, 30);
}

.nid {
    margin-left: 10px;
    font-size: 13px;
    font-variation-settings: 'wght' 400;
}


#sentence {
    margin: 0 20px;
    resize: none;
    text-align: center;
}
@media screen and (min-width:650px) {
    #sentence {
        width: 100%;
        max-width: 500px;
    }
}
#symbol {
    margin: 0 auto 50px;
    text-align: center;
}
#symbol li {
    list-style: none;
    margin-bottom: 10pxs;
}
#symbol .symbol {
    font-size: 2.5em;
}