header {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 2000;
    background: #fff;
}
header h1 {
    width: 8rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #menuBtn {
    width: 2rem;
    position: absolute;
    right: 1.5rem;
}
header #menuBtn img {
    width: 100%;
}

#menuContainer {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0.5;
    right: 0;
    z-index: 9999;
}
#menuContainer .menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 1.5rem;
}
#menuContainer .close-wrap {
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 1.5rem 2rem;
    border-bottom: 0.1rem solid #f3f3f3;
}
#menuContainer .close-wrap > img {
    width: 8rem;
}
#menuContainer button#closeBtn img {
    width: 1.8rem;
}
#menuContainer button.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}
#menuContainer button.menu img {
    width: 1.5rem;
}
#menuContainer .menu.bold {
    font-size: 2rem;
    font-weight: 700;
    color: #281b67;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}
#menuContainer .menu.semi-bold {
    font-size: 1.8rem;
    font-weight: 600;
    color: #281b67;
    margin-bottom: 2rem;
}
#menuContainer .menu.regular {
    font-size: 1.5rem;
    font-weight: 400;
    color: #b8b8b8;
    /* margin-bottom: 1.5rem; */
}
#menuContainer .menu.regular::before {
    content: "•";
    position: absolute;
    left: 2.2rem;
    color: #9f7fe4;
    font-size: 2rem;
    font-weight: 600;
    display: none;
}
#menuContainer .menu.regular.active::before {
    display: inline-block;
}
#menuContainer .subMenu {
    display: none;
    padding: 1.5rem 0.5rem;
    border-radius: 1rem;
    background-color: #fbf5fe;
    margin: -1rem 1.5rem 1rem;
    flex-direction: column;
    gap: 1.5rem;
}

main {
    padding: 0 1.5rem 5rem;
    min-height: 100vh;
}

main.gray {
    background-color: #f6f7f8;
}





/* common */
.no-result {
    padding: 10rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.no-result img {
    width: 8rem;
    margin-bottom: 1rem;
}
.no-result p {
    font-size: 1.6rem;
    font-weight: 400;
    color: #7e7e7e;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    padding: 2rem 0;
}
.search-wrapper {
    width: 100%;
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    margin: 1rem 0 4rem;
}
.search-wrapper input {
    width: 85%;
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0.5rem 0;
    padding: 1rem 2rem;
    border-right: 0.1rem solid #000;
}
.search-wrapper input::placeholder {
    color: #cacaca;
}
.search-wrapper button {
    width: 15%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-wrapper button img {
    width: 2.3rem;
}







/* home */
.section.home {
    padding: 2rem 1.5rem;
}
.section.home.gray {
    background-color: #faf5fd;
}
.section.home.top pre {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background-color: #e6cdf5;
    background-image: url(../img/main_img1.png);
    background-position: right 1.5rem center;
    background-size: 30%;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
}
@media screen and (max-width: 360px) {
    .section.home.top pre {
        background-size: 25%;

    }
}
.section.home.top pre span {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #4d4194;
    margin-bottom: 0.5rem;
}
.section.home.top .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section.home.top .wrapper a {
    width: calc(100% / 4 - 0.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.section.home.top .wrapper a img {
    width: 3rem;
    margin-bottom: 1.5rem;
}
.section.home.top .wrapper a:nth-of-type(2) img,
.section.home.top .wrapper a:nth-of-type(3) img,
.section.home.top .wrapper a:nth-of-type(4) img {
    width: 4rem;
}
.section.home.top .wrapper a span {
    font-size: 1.6rem;
    font-weight: 500;
}
.section.home .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section.home h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding: 0;
}
.section.home .title a {
    font-size: 1.4rem;
    font-weight: 400;
    color: #979797;
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.section.home .title a img {
    width: 0.8rem;
    margin-left: 0.5rem;
}
.section.home .one-button {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.section.home a.aButton.one {
    width: 100%;
    border-radius: 1rem;
    padding: 2.2rem 2rem;
    font-size: 1.7rem;
    font-weight: 500;
    color: #fff;
    text-align: left;
}
.section.home a.aButton.light {
    background-color: #a181e4;
    background-image: url(../img/main_img2.png);
    background-position: right 1.5rem bottom;
    background-size: 30%;
    background-repeat: no-repeat;
}
.section.home a.aButton.purple {
    background-color: #5b4e9d;
    background-image: url(../img/main_img3.png);
    background-position: right 1.5rem bottom;
    background-size: 35%;
    background-repeat: no-repeat;
}

.section.home .HomeSwiper {
    height: 24rem;
    margin-bottom: 2rem;
}
.section.home .HomeSwiper .dictionary-wrapper {
    /* box-shadow: 0 0 0.3rem rgba(0, 0, 0, 0.4) */
    border: 0.1rem solid #eeeeee;
    box-shadow: none;
}
.section.home .HomeSwiper .dictionary-wrapper h3 {
    border-radius: 1rem 1rem 0 0;
}
.section.home .HomeSwiper .dictionary-wrapper pre {
    height: 15rem;
}
.section.home .HomeSwiper .swiper-pagination-bullet {
    width: 0.7rem;
    height: 0.7rem;
    margin: 0 0.5rem;
}
.section.home .HomeSwiper .swiper-pagination-bullet-active {
    background-color: #000;
}





/* kind */
.section.kind.code {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.section.kind.code a {
    width: 50%;
    padding: 2rem;
    font-size: 2rem;
    font-weight: 400;
    color: #cbcbcb;
    border-bottom: 0.1rem solid #cbcbcb;
    text-align: center;
}
.section.kind.subCode {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    overflow-x: scroll;
    margin-bottom: 2rem;
}
.section.kind.subCode::-webkit-scrollbar {
    display: none;
}
.section.kind.subCode a {
    font-size: 1.6rem;
    font-weight: 400;
    color: #cbcbcb;
    white-space: nowrap;
    padding: 0.7rem 1.5rem;
    border-radius: 3rem;
    border: 0.1rem solid #cbcbcb;
}
.section.kind.subCode a.active {
    font-weight: 500;
    color: #fff;
    border: 0;
    background-color: #5b4ea0;
}
.section.kind.content h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ff6634;
    margin-bottom: 2rem;
}
.section.kind.content pre {
    font-size: 1.5rem;
    font-weight: 400;
    color: #7b7b7b;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}
.section.kind.content pre span.point1 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #5e519f;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}




/* dictionary */
.dictionary-wrapper {
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
}
.dictionary-wrapper h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #ff7143;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.dictionary-wrapper h3 img {
    width: 2.3rem;
    margin-right: 0.5rem;
}
.dictionary-wrapper h3 img.arrow {
    width: 1.8rem;
    margin-left: auto;
}
.dictionary-wrapper pre {
    font-size: 1.6rem;
    font-weight: 400;
    color: #888888;
    line-height: 1.5;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0 0 1rem 1rem;
}

.section.dictionary .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 5rem;
}
.section.dictionary .pagination a {
    font-size: 1.8rem;
    font-weight: 400;
    color: #727171;
}
.section.dictionary .pagination a.active {
    font-weight: 600;
    color: #a181e4;
}





/* tel */
.drop-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}
.drop-wrapper {
    width: calc(100% / 2 - 1rem);
    position: relative;
}
.drop-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
}
.drop-wrapper button {
    width: 100%;
    border-radius: 1rem;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1.5rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
}
.drop-wrapper button img {
    width: 1.5rem;
}
.dropbox {
    display: none;
    position: absolute;
    top: 101%;
    background-color: #fff;
    z-index: 8888;
    width: 100%;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    padding: 1rem 0;
    overflow: hidden;
}

.dropbox ul {
    list-style: none;
}

.dropbox li {
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 500;
    color: #979797;
}

.dropbox li:hover {
    background-color: #f7f0fc;
    color: #9c7be3;
}


.tel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.tel-item {
    width: 100%;
    height: 19rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.4);
    background-color: #fff;
}
.tel-item span.city {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    background-color: #d0c0f1;
}
.tel-item h4.name {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.3;
}
.tel-item p.address {
    font-size: 1.6rem;
    font-weight: 500;
    color: #777777;
    line-height: 1.3;
}
.tel-item p.tel {
    font-size: 1.5rem;
    font-weight: 500;
    color: #afafaf;
    margin-top: auto;
}



/* quiz */
.section.quizStart,
.section.quizResult {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.aButton.one {
    width: 100%;
    padding: 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    border-radius: 1rem;
}
.section.quizStart .img-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 45rem;
}
.section.quizStart .img-wrap img {
    width: 8rem;
    margin-bottom: 2rem;
}
.section.quizStart .img-wrap pre {
    font-size: 1.8rem;
    font-weight: 400;
    color: #4d4d4d;
    line-height: 1.3;
}

.section.quiz {
    display: flex;
    flex-direction: column;
}
.section.quiz button.prevBtn {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 400;
    color: #484848;
}
.section.quiz button.prevBtn img {
    height: 1.8rem;
    margin-right: 1rem;
}
.section.quiz .count {
    font-size: 1.6rem;
    font-weight: 400;
    color: #484848;
    padding-bottom: 1.5rem;
}
.section.quiz span.round {
    font-size: 1.9rem;
    font-weight: 800;
    color: #a57deb;
    display: inline-block;
    margin-right: 0.5rem;
}
.section.quiz .question-wrap {
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    background-color: #fff;
}
.section.quiz .question-wrap pre {
    font-size: 1.6rem;
    font-weight: 400;
    color: #484848;
    line-height: 1.5;
}
.section.quiz .answer-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem ;
    margin-top: 4rem;
}
.section.quiz .answer-wrap span.answer {
    font-size: 1.8rem;
    font-weight: 500;
    color: #cbcbcb;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border: 0.1rem solid #ececec;
    background-color: #fff;
}
.section.quiz .answer-wrap span.answer.active {
    color: #fff;
    border: 0.1rem solid #5e4da2;
    background-color: #5e4da2;
}
.section.quiz .btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5rem;
}
.section.quiz .btn-wrap button {
    border-radius: 0.8rem;
    padding: 1.8rem 0;
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
}
.two {
    width: calc(100% / 2 - 1.5rem);
}
.purple {
    background-color: #3b2d77;
}
.orange {
    background-color: #ff6530;
}

.blackBackground {
    display: none;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 3000;
}

.doneModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 3rem);
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 1rem;
    z-index: 4000;
}
.doneModal p {
    font-size: 1.8rem;
    font-weight: 500;
    color: #484848;
    margin-bottom: 2rem;
    text-align: center;
}
.doneModal .btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.doneModal button {
    width: calc(100% / 2 - 0.7rem);
    border-radius: 0.8rem;
    padding: 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.section.quizResult {
    margin-top: 3rem;
}
.section.quizResult .result-wrap {
    width: 25rem;
    margin: 3rem 0;
}
.section.quizResult .result-wrap img {
    width: 100%
}
.section.quizResult p {
    font-size: 1.8rem;
    font-weight: 500;
    color: #484848;
    text-align: center;
    line-height: 1.2;
}
.section.quizResult .score-wrap {
    margin-bottom: 1rem;
}
.section.quizResult .score-wrap span.score {
    font-size: 3rem;
    font-weight: 800;
    color: #a77eeb;
    display: inline-block;
    margin-right: 1rem;
    letter-spacing: 1;
}
.section.quizResult .score-wrap span.big {
    font-size: 2.5rem;
    font-weight: 500;
    color: #484848;
}
.section.quizResult p.caseText {
    margin-bottom: 5rem;
}