﻿
@import url("css2-Robotoitalwght010003000400050007000900110013001400150017001900_swap.css");
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+HK:wght@300;600&display=block'); */
@import url("css2-YujiSyuku_swap.css");
@import url("css2-ZCOOLQingKeHuangYou_swap.css");

* {
    word-break: keep-all;
}

#site {
    font-family: "Roboto", "notokr", sans-serif;
}

#site > .container {
    width: 100%;
    padding: 0;
}

/* variables */
:root {
    --gms: "Material Symbols Outlined";
    /* grade */
    --gradLow: "GRAD"-25;
    --gradZero: "GRAD" 0;
    --gradHigh: "GRAD" 200;
    --opsz: "opsz" 48;
    /* fill icon */
    --gms100_Fill: "FILL" 1, "wght" 100, var(--opsz);
    --gms200_Fill: "FILL" 1, "wght" 200, var(--opsz);
    --gms300_Fill: "FILL" 1, "wght" 300, var(--opsz);
    --gms400_Fill: "FILL" 1, "wght" 400, var(--opsz);
    --gms500_Fill: "FILL" 1, "wght" 500, var(--opsz);
    --gms600_Fill: "FILL" 1, "wght" 600, var(--opsz);
    --gms700_Fill: "FILL" 1, "wght" 700, var(--opsz);
    /* outlined icon */
    --gms100_Out: "FILL" 0, "wght" 100, var(--opsz);
    --gms200_Out: "FILL" 0, "wght" 200, var(--opsz);
    --gms300_Out: "FILL" 0, "wght" 300, var(--opsz);
    --gms400_Out: "FILL" 0, "wght" 400, var(--opsz);
    --gms500_Out: "FILL" 0, "wght" 500, var(--opsz);
    --gms600_Out: "FILL" 0, "wght" 600, var(--opsz);
    --gms700_Out: "FILL" 0, "wght" 700, var(--opsz);
    /* nav */
    --navHeight: 90px;
}

/* =================================== material symbol =================================== */
.material-symbols-outlined {
    font-variation-settings: var(--gms300_Out), var(--gradZero);
    user-select: none;
}

/*=================================== reset =================================== */

img {
    flex-shrink: 0;
    image-orientation: from-image;
}

.img-box {
    position: relative;
}

:is(ol, ul, li, dl) {
    margin: 0;
    padding: 0;
    font-weight: normal;
    list-style-type: none;
    list-style-position: inside;
}

:is(p, h1, h2, h3, h4, h5, h6, dt dd, th, td, li) {
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-weight: normal;
    letter-spacing: -0.034em;
}

:is(a, a:hover) {
    text-decoration: none;
}

button {
    border-radius: 0;
    background: transparent;
    border: 0;
}

br {
    visibility: visible;
    opacity: 0;
}

:where(.container, .row) {
    position: relative;
}

.row::before,
.row::after,
.container::before,
.container::after {
    content: none;
    display: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.row > * {
    float: inherit;
}

/*=================================== common =================================== */
:is(.li-dash, .li-cir) {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

:is(.li-dash, .li-cir) li {
    display: grid;
    grid-template-columns: min-content auto;
    font-size: 16px;
}

.li-dash li::before {
    content: "-";
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 10px;
}

.li-cir li::before {
    content: "";
    display: block;
    aspect-ratio: 1;
    border-radius: 50%;
    width: 4px;
    background-color: #333;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 10px;
}

/* =================================== navbar =================================== */
/* reset start*/
#gnbauth i {
    display: none;
}

.navbar .caret {
    display: none;
}

:where(.navbar-header, .navbar > .container) {
    display: flex;
}

.navbar-inverse .navbar-header {
    justify-content: flex-start;
    align-items: center;
}

.navbar-inverse > .container {
    justify-content: space-between;
}

.navbar-inverse .navbar-right {
    margin-right: 0 !important;
}

.navbar-inverse .navbar-nav > li > a:is(:hover, :focus),
.navbar-inverse .navbar-nav > li:is(:hover, :focus) .dropdown-toggle {
    color: inherit;
    background-color: inherit;
}

/* reset end */

/* 상단 메뉴 */
.navbar-inverse {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff;
    padding: 0px 0px;
    box-shadow: 5px 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    border: 0;
}

/* nav 로고 */
.navbar-brand {
    height: auto;
    margin: 0 !important;
    padding: 0;
}

.navbar-brand span {
    color: #222;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0;
}

.navbar-brand span > span {
    font-weight: 400;
    letter-spacing: -0.06em;
}

/* nav 대메뉴*/
.navbar-inverse .navbar-nav > li > a {
    position: relative;
    font-size: 19px;
    font-weight: 700;
    color: #222;
}

/* nav 서브메뉴 dropdown-menu background */
.navbar-inverse .navbar-nav .dropdown-menu {
    background: #000;
}

/* nav 서브메뉴 dropdown-menu color */
.navbar-inverse .navbar-nav :is(li.open, li) .dropdown-menu > li > a {
    color: #fff;
}

/* 
.navbar_depth{
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #eee;
    height: 80px;
}
.navbar_depth .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.navbar_depth{
    font-size: 20px;
}
.navbar_depth .depth_menu{
    display: flex;
    gap: 10px;
} */
/* nav 대메뉴&서브메뉴 hover,focus 모바일 제외 */
@media (hover: hover) {
    /* nav 대메뉴 클릭&후버 시 */
    .navbar-inverse .navbar-nav > li > a:is(:hover, :focus),
    .navbar-inverse .navbar-nav > li:is(:hover, :focus) .dropdown-toggle {
        background: none;
        color: #3557af;
    }

    /* nav 서브메뉴 dropdown-menu hover */
    .navbar-inverse .navbar-nav .dropdown-menu > li > a:hover {
        background: #1740ab;
        color: #fff;
    }
}

/* desktop */
@media (min-width: 768px) {
    #site {
        padding-top: var(--navHeight);
    }

    /* pc nav 높이 */
    .navbar-inverse {
        height: var(--navHeight);
    }

    .navbar-inverse .container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        width: 100%;
        padding: 0 30px;
    }

    .navbar-inverse :is(.container, .navbar-right, .navbar-right > li, .navbar-right > li > a) {
        height: 100%;
    }

    .navbar-inverse :is(.navbar-right, .navbar-right > li) {
        float: inherit !important;
    }

    .navbar-inverse :is(.navbar-right, .navbar-right > li > a) {
        display: flex;
    }

    /* nav 대메뉴 */
    .navbar-inverse .navbar-nav > li > a {
        justify-content: center;
        align-items: center;
        padding: 0 40px;
    }

    /* nav 서브메뉴 dropdown-menu  */
    .navbar-inverse .navbar-nav .dropdown-menu {
        /* top: calc(50% + 30px); */
        left: 50%;
        right: auto;
        transform: translate(-50%, 0);
        border-radius: 0;
        border: 0;
        padding: 0;
        text-align: center;
    }

    /* nav 서브메뉴 dropdown-menu 목록*/
    .navbar-inverse .navbar-nav .dropdown-menu > li > a {
        padding: 14px 25px;
        font-size: 15px;
        line-height: 1;
    }

    /* top & scroll */
    /* :is(.navbar-inverse, .navbar-inverse.top) {
        transition: .3s;
        height: 120px;
        background-color: transparent;
    }

    :is(.navbar-inverse, .navbar-inverse.top) .navbar-brand img {
        filter: grayscale(1) brightness(10) invert(0);
    }

    :is(.navbar-inverse, .navbar-inverse.top) .navbar-nav>li>a {
        font-weight: 500;
        color: #fff;
    }

    .navbar-inverse .navbar-nav>li>a:is(:hover, :focus),
    .navbar-inverse .navbar-nav>li:is(:hover, :focus) .dropdown-toggle {
        color: #fff;
    }

    .navbar-inverse.scroll {
        height: var(--navHeight);
        background-color: #fff;
    }

    .navbar-inverse.scroll .navbar-brand {
        width: 180px;
    }

    .navbar-inverse.scroll .navbar-brand img {
        filter: inherit;
    }

    .navbar-inverse.scroll .navbar-nav>li>a {
        color: #333;
    }

    .navbar-inverse.scroll .navbar-nav>li>a:is(:hover, :focus),
    .navbar-inverse.scroll .navbar-nav>li:is(:hover, :focus) .dropdown-toggle {
        opacity: 1;
        color: #1c54e4;
    } */
}

/* mobile */
@media (max-width: 767px) {
    #site {
        --navHeight: 70px;
        padding-top: var(--navHeight);
    }

    .navbar-inverse {
        width: 100%;
        margin: 0;
    }

    .navbar-inverse > .container {
        flex-direction: column;
        padding: 0;
    }

    .navbar-inverse .dropdown-menu {
        float: inherit;
        padding: 0;
    }

    .navbar-inverse :is(.navbar-right, .navbar-collapse) {
        padding: 0;
        margin: 0 !important;
    }

    .navbar-inverse .navbar-header::before,
    .navbar-inverse .navbar-header::after {
        display: none;
    }

    /* nav 메뉴 버튼*/
    .navbar-inverse .navbar-toggle {
        order: 2;
        border: 0;
        padding: 9px 0;
        margin: 0 15px 0 0;
    }

    .navbar-inverse .navbar-toggle .icon-bar {
        opacity: 1;
        position: relative;
        transition: ease-in-out 0.15s all;
        background-color: #666;
    }

    .navbar-inverse .navbar-toggle:is(:hover, :focus) {
        background: none;
        border-color: #444;
    }

    .navbar-inverse .navbar-toggle:is(:hover, :focus) .icon-bar {
        background-color: #444;
    }

    .navbar-inverse :is(.navbar-collapse, .navbar-form) {
        border-color: transparent;
    }

    .navbar-inverse.open .navbar-toggle > .icon-bar:nth-of-type(1) {
        transform: rotate(45deg);
        top: 6px;
    }

    .navbar-inverse.open .navbar-toggle > .icon-bar:nth-of-type(2) {
        opacity: 0;
    }

    .navbar-inverse.open .navbar-toggle > .icon-bar:nth-of-type(3) {
        transform: rotate(-45deg);
        top: -6px;
    }

    /* nav 메뉴*/
    .navbar-inverse .navbar-header {
        justify-content: space-between;
        width: 100%;
        height: var(--navHeight);
        margin: 0 !important;
        border-bottom: 1px solid #ddd;
    }

    /* nav 로고*/
    .navbar-inverse .navbar-brand {
        order: 1;
        width: 100px;
        margin: 0 0 0 15px !important;
    }

    .navbar-brand span {
        white-space: nowrap;
        font-size: 20px;
    }

    /* nav 대메뉴, 드롭다운 메뉴 공통 */
    .navbar-inverse :is(.navbar-nav > li > a, .navbar-nav > li.open > ul.dropdown-menu > li > a) {
        display: flex;
        justify-content: start;
        align-items: center;
    }

    /* nav 대메뉴 */
    .navbar-inverse .navbar-nav > li > a {
        height: 50px;
        padding: 0 15px;
    }

    /* nav 서브메뉴 */
    .navbar-inverse .navbar-nav > li.open > ul.dropdown-menu > li > a {
        height: 45px;
        padding: 0 20px;
    }

    /* nav 드롭다운 배경 */
    /* .navbar-inverse .navbar-nav .dropdown-menu{
        background: #444;
    } */

    /* nav 드롭다운 폰트 */
    /* .navbar-inverse .navbar-nav .open .dropdown-menu>li>a{
        color: #fff;
    } */

    /* nav 드롭다운 메뉴 클릭시 */
    /* .navbar-inverse .navbar-nav .open .dropdown-menu>li>a:is(:hover,:focus){
        color: #fff;
        background: #2968d4;
    } */
}

/* =================================== footer =================================== */
#site footer {
    margin-top: 0px;
    padding: 45px 0;
    background-color: #3c3b3b;
}

.footer-wrap {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: min-content;
    align-items: flex-start;
}

/* left logo */
.footer-logo img {
    opacity: 0.25;
    margin-right: 30px;
}

/* default */
.footer-info {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    color: #fff;
    gap: 0 10px;
}

.footer-info li {
    font-weight: 300;
    letter-spacing: 0;
    color: #ccc;
}

.footer-info li.clearfix {
    width: 100%;
}

.footer-info li.corp {
    margin-bottom: 7px;
    opacity: 1;
}

.footer-info li.corp strong {
    font-weight: 400;
    font-size: 15px;
    color: #fff;
}

.footer-info li.copyright {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
}

.footer-login {
    margin-left: auto;
}

.footer-login .login-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 38px;
    background: transparent;
    color: #b9b9b9;
    border: 1px solid #888;
    font-size: 14px;
    line-height: 1;
}

.footer-login .login-btn:hover {
    background: #222;
    border-color: #222;
    color: #fff;
    font-weight: 500;
}

/* 퀵메뉴 */
.quick-menu {
    top: 32%;
    right: 25px;
    position: fixed;
    text-align: center;
    z-index: 999;
    display: none;
}

.quick-menu ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quick-menu ul > li a {
    aspect-ratio: 1;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1;
    text-decoration: none;
    background: #000;
    border-radius: 50%;
}

.quick-menu ul > li a:hover {
    background: #266fef;
}

.quick-menu .tooltip {
    font-family: "Roboto", "notokr", sans-serif;
    position: relative;
    display: inline-block;
    opacity: 1;
    line-height: 1;
}

.quick-menu .tooltip span.material-symbols-outlined {
    font-size: 29px;
    margin-top: 1px;
    line-height: 1;
    margin: 0;
}

.quick-menu .tooltip img {
    margin-top: 2px;
}

.quick-menu .tooltip .tooltiptext {
    top: 50%;
    right: 70px;
    display: inline-flex;
    justify-content: center;
    align-self: center;
    width: 150px;
    position: absolute;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background: #391b1b;
    border-radius: 3px;
    transform: translateY(-50%);
    visibility: hidden;
}

.quick-menu .tooltip .tooltiptext::after {
    content: "";
    top: 50%;
    right: -3px;
    width: 12px;
    height: 12px;
    position: absolute;
    border-radius: 50%;
    border-top-right-radius: 0;
    transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) {
    .quick-menu ul > li a:hover .tooltip .tooltiptext {
        visibility: visible;
    }
}

.quick-menu ul > li:nth-child(1) a {
    background: #2b56ef;
}

.quick-menu ul > li:nth-child(2) a {
    background: #fae300;
}

.quick-menu ul > li:nth-child(3) a {
    background: #e97600;
}

.quick-menu ul > li:nth-child(4) a {
    background: #e97600;
}

.quick-menu ul > li:nth-child(5) a {
    background: #e97600;
}

.quick-menu ul > li:nth-child(1) a:hover .tooltip .tooltiptext {
    background: #2b56ef;
    line-height: 1.35em;
    font-size: 15px;
}

.quick-menu ul > li:nth-child(1) a:hover .tooltip .tooltiptext::after {
    background: #2b56ef;
}

.quick-menu ul > li:nth-child(3) a:hover .tooltip .tooltiptext {
    background: #e97600;
}

.quick-menu ul > li:nth-child(3) a:hover .tooltip .tooltiptext::after {
    background: #e97600;
}

.quick-menu ul > li:nth-child(4) a:hover .tooltip .tooltiptext {
    background: #e97600;
}

.quick-menu ul > li:nth-child(4) a:hover .tooltip .tooltiptext::after {
    background: #e97600;
}

.quick-menu ul > li:nth-child(5) a:hover .tooltip .tooltiptext {
    background: #e97600;
}

.quick-menu ul > li:nth-child(5) a:hover .tooltip .tooltiptext::after {
    background: #e97600;
}

/* mobile footer*/
@media (max-width: 767px) {
    .footer-wrap {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .footer-login {
        margin-left: inherit;
    }

    #scrolltop {
        width: 40px;
        height: 40px;
        right: 0px;
        bottom: 50px;
    }

    #scrolltop .inner :is(i, span) {
        font-size: 18px;
    }
}

/* no_content */
.maintenance {
    background: #f4f4f4;
    padding: 120px 25px;
    text-align: center;
}

.maintenance .icon {
    display: block;
    line-height: 1;
    font-size: 64px;
    margin-bottom: 10px;
}

.maintenance .big-cont {
    display: block;
    line-height: 1;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}

.maintenance .small-cont {
    display: block;
    line-height: 1.5;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: #818181;
    margin-bottom: 20px;
}

.intro-page {
    /* animation: fadeIn 2s ease 0s both; */
    z-index: 10000;
    left: 0;
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    background: #000 url(http://jeongyun.co.kr/public/img/main/intro_bg2.jpg) repeat;
    background-size: 2000px;
    background-position: 88% 50%;
}
.intro-page::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #fff;
    opacity: 0.75;
}
@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes btnUp {
    0% {
        opacity: 0;
        height: 0px;
        transform: translateY(57px);
    }

    100% {
        opacity: 1;
        height: 57px;
        transform: translateY(0px);
    }
}
.intro-page .typo {
    display: flex;
    gap: 15px;
    animation: zoomIn 3s ease 0.1s both;
}
.intro-page h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.intro-page h1 b {
    line-height: 1;
    /* font-family: "Yuji Syuku", serif; */
    font-family: "ZCOOL QingKe HuangYou", serif;
    font-weight: 400;
    font-size: 7.5em;
    color: #000;
    /* text-shadow: 0 0 2px rgba(0, 0, 0, 0.5); */
}

.intro-page h1 span {
    font-size: 0.7em;
    animation: fadeUp 2s ease 3s both;
    color: #7a6d59;
    letter-spacing: 0;
}

.intro-page h1 span strong {
    color: #4c3e28;
    font-weight: 500;
}

.intro-page .intro-caption {
    display: flex;
    flex-direction: column;
    gap: 75px 0;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* user-select: none; */
}

.intro-page .intro-btn {
    position: relative;
    overflow: hidden;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    justify-self: center;

    padding: 0 30px;
    border: 1px solid #4c3e28;
    border-radius: 5px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    color: #4c3e28;
    font-size: 1.2em;
    line-height: 1;
    transition: 0.3s;
    animation: btnUp 1.5s ease-in-out 4.5s both;
}

.intro-page .intro-btn span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 2s ease 5s both;
}

.intro-page .intro-btn span::after {
    content: "\e5df";
    font-size: 30px;
    margin-right: -12px;
    font-family: var(--gms);
}

.intro-page .intro-btn:hover {
    background-color: #4c3e28;
    color: #fff;
    font-weight: 500;
}

/* =================================== mainCarousel =================================== */

/* 슬라이드 */
#mainCarousel .carousel-inner .item {
    height: calc(100vh - var(--navHeight));
}

#mainCarousel .carousel-inner .item::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #000;
    opacity: 0.45;
}

/* caption */
.carousel-caption {
    top: 230px;
    padding: 0;
    text-align: left;
    text-shadow: none;
    font-size: 20px;
}

.carousel-caption h1 {
    /* font-family: "Yuji Syuku", serif; */
    font-family: "ZCOOL QingKe HuangYou", serif;
    font-weight: 400;
    position: relative;
    /* font-size: 54px; */
    font-size: 8.75em;
    letter-spacing: 0em;
    line-height: 1;
    margin: 0 0 0 -10px;
}

.carousel-caption h1 b {
    letter-spacing: 0.03em;
}

.carousel-caption p {
    margin-top: 50px;
    font-size: 1.45em;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.034em;
    margin-left: 5px;
}

/* control */
.carousel-control {
    display: flex;
    align-items: center;
    opacity: 1;
    width: 10%;
}

.carousel-control:is(.right, .left) {
    background: transparent;
    justify-content: center;
}

.carousel-control.right span {
    margin-right: 0;
}

.carousel-control.left span {
    margin-left: 0;
}

.glyphicon.glyphicon-chevron-right::before,
.glyphicon.glyphicon-chevron-left::before {
    color: #fff;
    font-family: var(--gms);
    font-weight: 100;
}

.glyphicon.glyphicon-chevron-right::before {
    content: "\e5e1";
}

.glyphicon.glyphicon-chevron-left::before {
    content: "\e2ea";
}

.carousel-control :is(.glyphicon-chevron-left, .glyphicon-chevron-right, .icon-next, .icon-prev) {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    height: auto;
    font-size: 54px;
}

/* indicators */
.carousel-indicators {
    top: 450px;
    bottom: inherit;
    text-align: left;
    padding-left: 7px;
}

.carousel-indicators :is(li, li.active) {
    aspect-ratio: 1/1;
    width: 11px;
    height: auto;
    border: 0;
    border-radius: 50%;
    margin: 0 3px;
    backdrop-filter: blur(10px);
}

.carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.5);
    transition: ease-in-out 0.15s all;
}

.carousel-indicators li.active {
    background: #fff;
    box-shadow: none;
}

/* =================================== mainpage common =================================== */
/* section */
.mainpage section.main-section {
    position: absolute;
    width: 100%;
    bottom: 70px;
}

.service-wrap {
    display: flex;
    gap: 30px;
}

.service-wrap .item {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 40px 45px 30px;
    background-color: #fff;
    height: 250px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid #fff;
}

.service-wrap .item h4 {
    color: #000;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-wrap .item p {
    font-size: 16px;
    color: #444;
}

.service-wrap span.more {
    margin-top: auto;
    color: #333;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
}

/* wrap */

/* =================================== subpage header =================================== */
/* default */
.subpage-header {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

[id^="law"] .subpage-header {
    background-image: url(../image/sub-top01.jpg);
}

[id^="tax"] .subpage-header {
    background-image: url(../image/sub-top011.jpg);
}

/* background */
/* .subpage-header.visual01 {
    background-image: url(/public/img/sub/sub-top01.jpg);
} */

/* .subpage-header.visual02 {
    background-image: url(/public/img/sub/sub-top02.jpg);
} */

/* .subpage-header.visual03 {
    background-image: url(/public/img/sub/sub-top03.jpg);
} */

/* .subpage-header.visual04 {
    background-image: url(/public/img/sub/sub-top04.jpg);
} */

/* .subpage-header.visual05 {
    background-image: url(/public/img/sub/sub-top05.jpg);
} */

.subpage-header::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #000;
    opacity: 0.5;
}

.subpage-header .subpage-title {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 60px;
    height: 100%;
}

.subpage-header .subpage-title h2 {
    font-size: 48px;
    line-height: 1;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    color: #fff;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    gap: 20px;
    font-size: 13px;
    display: none;
}

.breadcrumb > li {
    position: relative;
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumb > li.active {
    color: #fff;
}

.breadcrumb > li + li:before {
    content: "\e5cc";
    font-family: var(--gms);
    font-weight: 400;
    position: absolute;
    left: -24px;
    display: block;
    font-size: 18px;
    line-height: 1;
}

/* =================================== snb =================================== */
.snb {
    position: relative;
    z-index: 10;
    margin-top: -56px;
}

.snb :where(ul, li > a) {
    display: flex;
}

.snb ul {
    margin: 0;
    justify-content: space-between;
    box-shadow: 0 -15px 30px 0 rgba(0, 0, 0, 0.2);
}

.snb li {
    flex: 1;
}

.snb li > a {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 56px;
    background: #3376c9;
    text-align: center;
    font-size: 17px;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.snb li.active a {
    position: relative;
    background: #fff !important;
    font-weight: 700;
    color: #222;
}

[id^="tax"] .snb li > a {
    background: #d7a465;
}

.snb_depth2 {
}

.snb_depth2 ul {
    display: flex;
    padding: 25px 0;
    justify-content: center;
    gap: 50px;
    border-bottom: 1px solid #ebeff1;
}

.snb_depth2 ul li a {
    font-size: 16px;
    color: #666;
    letter-spacing: -0.034em;
}

.snb_depth2 ul li a:hover {
    color: #b17d2e;
}

.snb_depth2 ul li.active a {
    border-bottom: 1px solid #c9b08a;
    color: #b17d2e;
    font-weight: 500;
    padding-bottom: 2px;
}

/* .snb li.active a::after {
    content: '';
    position: absolute;
    display: block;
    background: #222;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -1px;
} */

/* =================================== subpage =================================== */
.subpage-content section {
    min-height: 500px;
    padding: 80px 0 150px;
}

.subpage-content :where(li, p, dd) {
    position: relative;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    color: #444;
}

.subpage-content p + p {
    margin-top: 25px;
}

.subpage-content .se-title {
    margin-bottom: 70px;
    text-align: center;
}

.subpage-content .se-title h3 {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    letter-spacing: -0.06em;
    text-align: center;
}

.subpage-content .se-title h3 + :where(p, li) {
    font-size: 18px;
    margin-top: 50px;
    margin-bottom: 0;
    padding-bottom: 0px;
    line-height: 1.6;
    font-weight: 500;
    color: #333;
    text-align: center;
    letter-spacing: -0.06em;
}

.li-contact li b {
    font-size: 21px;
    margin-left: 5px;
    color: #163993;
}

.li-contact {
    margin-top: 35px;
    display: inline-flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 50px;
    background-color: #fff;
    border-radius: 50px;
}

#law_cs01_form .se01 .se-title {
    margin-bottom: 50px;
}

#law_cs01_form .se01 .se-title p {
    font-size: 22px;
}

.subpage-content .wp-title {
    margin-bottom: 20px;
}

.subpage-content h4 {
    font-weight: 700;
    font-size: 26px;
    line-height: 1.4;
    color: #222;
    letter-spacing: -0.034em;
    padding-left: 0;
    text-align: left;
}

.subpage-content h5 {
    font-weight: 700;
    font-size: 21px;
    color: #333;
}

.subpage-content h6 {
    font-weight: 500;
    font-size: 20px;
    color: #555;
}

.subpage-content :where(h4, h5, h6) + * {
    margin-top: 15px;
}

.subpage-content [class$="wrap"] + [class$="wrap"] {
    margin-top: 90px;
}

/* =================================== subpage content =================================== */
/* 01 */
.greet-wrap {
    display: grid;
    /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
}

.greet-wrap h4 {
    display: none;
}

.greet-wrap .wp-title {
    grid-column: span 2;
    margin: 0;
}

.greet-wrap .img-box {
    /* grid-row: span 2; */
}

.greet-wrap p.top {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: -0.06em;
}

.greet-wrap .text {
    padding:0;
}

.btn-wrap {
    grid-column: span 2;
    margin-top: 60px;
    display: flex;
    /* flex-direction: column; */
    /* padding-left: 50px; */
    gap: 15px;
}

.btn-wrap .item {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    padding: 0 30px !important;
    font-size: 16px;
    line-height: 1;
}

.btn-wrap .item {
    border: 2px solid #e1bf8f;
    color: #b17d2e;
}

.btn-wrap .item p {
    font-weight: 500;
    color: inherit;
    font-size: 17px;
}

.btn-wrap .item:hover {
    background-color: #976620;
    border-color: #976620;
    color: #fff;
}

[id^="tax"] .btn-wrap .item {
    border: 2px solid #e1bf8f;
    color: #b17d2e;
}

[id^="tax"] .btn-wrap .item:hover {
    background-color: #976620;
    border-color: #976620;
    color: #fff;
}

.link-wrap {
    display: flex;
    justify-content: center;
}

[id$="form"] .board_wrapper .btn.btn-primary,
.link-wrap .item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    padding: 0 30px !important;
    font-size: 16px;
    line-height: 1;
}

[id$="form"] .board_wrapper .btn.btn-primary {
    background-color: #976620;
    border-color: #976620;
    color: #fff;
}

[id^="law"] .board_wrapper .btn.btn-primary {
    background-color: #2e66bd;
    border-color: #2e66bd;
}

.link-wrap .item {
    border: 2px solid #e1bf8f;
    color: #b17d2e;
}

.link-wrap .item p {
    font-weight: 600;
    color: inherit;
}

.link-wrap .item:hover {
    background-color: #976620;
    border-color: #976620;
    color: #fff;
}

.adv-wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 20px;
}

.adv-wrap .wp-title {
    grid-column: span 4;
}

.adv-wrap .item {
    padding: 40px 30px 30px;
    border: 2px solid #d6e0f1;
    text-align: center;
}

.adv-wrap .item p {
    font-weight: 500;
    color: #62708d;
    line-height: 1.45em;
}

.adv-wrap span.material-symbols-outlined {
    font-size: 60px;
    margin-bottom: 30px;
    color: #215fc1;
}

.year-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}

.year-wrap .item {
    position: relative;
    width: 100%;
    border-color: #ddd;
    padding-bottom: 60px;
}

.year-wrap .item h5 {
    position: relative;
    line-height: 1;
    font-size: 36px;
    font-weight: 900;
    width: 20%;
    padding-left: 2px;
}

.year-wrap .item h5::after {
    z-index: 10;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 30px;
    width: 32px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: #2f55c1;
    border: 10px solid #e1f0ff;
}

.year-wrap .item h5::before {
    content: "";
    display: block;
    position: absolute;
    width: 2px;
    height: calc(100% + 100px);
    background: #eee;
    right: 45px;
}

.year-wrap .item:last-child h5::before {
    height: 100%;
}

.year-wrap .item ul {
    margin-top: 5px;
    padding-left: 30px;
}

.year-wrap .item .li-cir li {
    gap: 10px;
    font-size: 17px;
}

/*
.year-wrap .item:nth-child(even) {
    text-align: right;
    border-right-width: 1px;
    border-right-style: solid;
    padding-right: 50px;
}

.year-wrap .item:nth-child(even) h5::before {
    right: -19px;
}

.year-wrap .item:nth-child(even) .li-cir {
    gap: 5px 0;
}

.year-wrap .item:nth-child(even) .li-cir li {
    grid-template-columns: auto max-content min-content;
}

.year-wrap .item:nth-child(even) .li-cir li b {
    grid-column: 2;
    grid-row: 1;
}

.year-wrap .item:nth-child(even) .li-cir li::before {
    margin-left: 0px;
    margin-right: 5px;
    grid-column: 3;
    grid-row: 1;
}
*/
.year-wrap .item {
    display: flex;
}

.year-wrap .item .li-cir li {
    grid-template-columns: min-content max-content auto;
}

.year-wrap .item .li-cir li::before {
    margin-left: 5px;
    margin-right: 0px;
}

.map-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.map-wrap .wp-title {
    grid-column: span 2;
    margin-bottom: 15px;
}

.map-info + .wp-title {
    margin-top: 30px;
}

.map-wrap h4 {
}

.map-wrap .map-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 40px 45px 40px;
    background-color: #423c33;
    justify-content: flex-start;
}

.map-wrap .map-info dt {
    color: #e7b063;
    font-weight: 500;
    margin-bottom: 1px;
}

.map-wrap .map-info dd {
    color: #fff;
    font-weight: 300;
    line-height: 1.35em;
}

[id^="law"] .map-wrap .map-info {
    background: #494d52;
}

[id^="law"] .map-wrap dt {
    color: #95b2e7;
}

/* map */
:is(.root_daum_roughmap, .root_daum_roughmap .wrap_map, iframe[src^="https://www.google.com/"])
{
    width: 100% !important;
    height: 460px !important;
    padding: 0 !important;
}

iframe[src^="https://www.google.com/"]
{
    background-color: #e5e3df;
    margin-bottom: -6px;
}

/* 02 */
.member-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.member-wrap.mk2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.member-wrap + .member-wrap.mk2 {
    margin-top: 40px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.member-wrap.mk2 + .member-wrap {
    margin-top: 40px;
}
.member-wrap .item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 50px 40px;
    background-color: #f7f7f7;
    border-radius: 10px;
}
.member-wrap.mk2 .item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 345px;
    gap: 0;
    padding: 0;
}

.member-wrap + .member-wrap.mk2 .info {
    padding: 30px;
}
.member-wrap + .member-wrap.mk2 .item {
    display: flex;
    height: auto;
}
.member-wrap + .member-wrap.mk2 .item .img-box {
    display: none;
}

.member-wrap + .member-wrap.mk2 ul {
    margin-top: 10px;
}

.member-wrap.mk2 .info {
    min-height: 0px;
    display: flex;
    flex-direction: column;
    padding: 30px 20px 22px 30px;
}
.member-wrap.mk2 .info :is(.name, h4) {
    text-align: left;
}
.member-wrap.mk2 .name + ul.li-email {
    margin-top: 7px;
    margin-bottom: 17px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
}
ul.li-email li {
    color: #000;
}
.member-wrap.mk2 .name + .dl-carrer {
    margin-top: 20px;
}
.member-wrap:not(.mk2) .item .img-box {
    width: 150px;
    margin: 0 auto;
}

.member-wrap .item .img-box {
    overflow: hidden;
    border-radius: 5px;
}
.member-wrap .item .img-box img {
    z-index: -1;
    transform: translate3d(0, 0, -1px);
}

.member-wrap .item .name {
    text-align: center;
}

.member-wrap .item .name h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 3px;
    text-align: center;
}

.member-wrap .item .name span {
    font-size: 16px;
    color: #b17d2e;
}
.member-wrap .item > ul {
    margin-top: 0;
}
.member-wrap ul {
    gap: 7px;
    margin-top: 30px;
}

.member-wrap ul li {
    font-size: 15px;
}

.member-wrap ul li::before {
    margin-top: 9px;
}
.img-box.none_profile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background-color: #dedede;
}

.img-box.none_profile::after,
.img-box.none_profile::before {
    font-size: 24px;
    color: #000 !important;
}
#law_mb01 .img-box.none_profile::before {
    content: "법무법인";
}

.img-box.none_profile::after {
    content: "별하늘법률사무소";
    font-weight: 700;
}

.member-wrap .dl-carrer {
    background: #f9f9f9;
    overflow-y: scroll;
    padding: 5px 15px 5px 0px;
    line-height: 1.7;
    color: #666;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.member-wrap .dl-carrer .overview + dd{
    word-break: break-all;
    text-align: justify;
}
.member-wrap .dl-carrer dt {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
    line-height: 1;
}
.member-wrap .dl-carrer :is(dd, li) {
    font-size: 13px;
}
.member-wrap .dl-carrer ul {
    margin: 0;
    gap: 2px;
}
.member-wrap .dl-carrer ul li{
    padding-left: 10px;
    display: block;
}
.member-wrap .dl-carrer ul li::before {
    margin-right: 7px;
    width: 3px;
    color: #ccc;
    margin-left: 0;
    position: absolute;
    left: 0;
    top:  0px;
}
.member-wrap .dl-carrer::-webkit-scrollbar {
    width: 3px;
    background: #dedede;
    border-radius: 50px;
}

.member-wrap .dl-carrer::-webkit-scrollbar-thumb {
    background: #b89868;
    border-radius: 50px;
}

/* [id^="law"] .member-wrap dd .inner .info {
    display: none !important;
}

[id^="law"] .member-wrap .table_blog2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

[id^="law"] .member-wrap .table_blog2 .inner {
    display: grid;
    grid-template-columns: 150px auto;
    gap: 30px;
    padding: 20px;
    border: 1px solid #ddd;
}

[id^="law"] .member-wrap .table_blog2 .inner:hover {
    border-color: #1c54e4;
}

[id^="law"] .member-wrap .table_blog2 .inner .top a .thumb {
    aspect-ratio: 4/5;
}

[id^="law"] .member-wrap .table_blog2 .bottom a span {
    font-size: 24px;
    font-weight: 500;
}

[id^="law"] .member-wrap .table_blog2 .bottom a::after {
    content: "상세 보기";
    margin-top: 30px;
    display: flex;
    justify-content: center;
    width: 90px;
    padding: 11px 12px 9px;
    font-size: 14px;
    line-height: 1;
    border: 1px solid #2e66bd;
    color: #2e66bd;
    font-weight: 500;
}

[id^="law"] .member-wrap .table_blog2 .inner:hover .bottom .title a::after {
    color: #fff;
    background: #2e66bd;
} */

.tab-wrap .nav-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    border: 0;
}
.tab-wrap .nav-tabs a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 55px;
    border: 1px solid #ccc;
    font-weight: 700;
    font-size: 17px;
    color: #777;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    border-color: #3376c9;
    color: #3376c9;
}
.tab-wrap .nav-tabs::before,
.tab-wrap .nav-tabs::after {
    display: none;
    content: none;
}
.tab-wrap .tab-content {
    margin-top: 80px;
}
.tab-wrap .wp-title {
    text-align: center;
    margin-bottom: 70px;
}
.tab-wrap .wp-title h4 {
    text-align: center;
}
.tab-wrap .wp-title h4::before {
    content: "";
    display: block;
    width: 28px;
    height: 4px;
    background-color: #3376c9;
    margin: 0 auto 15px;
    border-radius: 50px;
}
.tab-wrap .inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tab-wrap .inner ul {
    gap: 6px;
}
.tab-wrap .inner .info {
    aspect-ratio: 5/3;
    padding: 50px;
    background-color: #f7f7f7;
}
.tab-wrap .inner .info li {
    font-size: 17px;
}
.tab-wrap .img-box {
    position: relative;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.tab-wrap .img-box img {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.35) contrast(0.75);
}
.tab-wrap .img-box::after,
.tab-wrap .img-box::before {
    font-size: 34px;
    color: #fff !important;
}
.tab-wrap .img-box::before {
    content: "법무법인";
}

.tab-wrap .img-box::after {
    content: "별하늘법률사무소";
    font-weight: 700;
}
/* 03 */
.busi-wrap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 90%;
    margin: auto;
}

.busi-wrap .logo {
    z-index: 5;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    width: 220px;
    background-color: #cfa25e;
    /* background: linear-gradient(312deg, #f7c37a 0%, #d39a4c 100%); */
    /* box-shadow: 0px 0px 15px 5px rgb(235 228 218); */
    border: 16px solid #f7e6c9;
}

.busi-wrap .logo h4 {
    color: #fff;
    font-size: 30px;
    line-height: 1.2em;
    letter-spacing: 0.02em;
    text-align: center;
}

.busi-wrap .logo h4 span {
    display: block;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.034em;
}

.busi-wrap .item {
    display: flex;
    flex-direction: column;
    height: 290px;
    padding: 40px 50px;
    border: 2px solid #f1e6d6;
    text-align: center;
}

.busi-wrap .item:hover {
    border-color: #e9b66a;
}

.busi-wrap .item p {
    color: #777;
}

.busi-wrap .item span.material-symbols-outlined {
    font-size: 60px;
    color: #b57c17;
    margin-bottom: 10px;
}

.busi-wrap .item .detail {
    display: none;
}

.busi-wrap span.more {
    margin: auto;
    display: flex;
    justify-content: center;
    padding: 15px 0 3px;
    color: #b17d2e;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.034em;
    border-bottom: 1px solid #d1bea0;
}

.detail-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 100px;
    grid-template-columns: 0.9fr 1fr;
}

.detail-wrap h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 50px;
}

.detail-wrap dl {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-wrap dl div {
    display: grid;
    grid-template-columns: 120px auto;
}

.detail-wrap dl dt {
    font-size: 17px;
    border-top: 1px solid #d2a360;
    padding-top: 15px;
    padding-right: 20px;
    color: #95641a;
    font-weight: 500;
    letter-spacing: -0.034em;
}

.detail-wrap dl dd {
    font-size: 16px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}

/* 04 */
.li-contact li {
    font-size: 18px;
    font-weight: 500;
}

.order-wrap .item h5 {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
}

.order-wrap .item h5 b {
    font-weight: 500;
    color: #cce6fd;
}

.order-wrap .item p {
    color: #fff;
    margin-top: 5px;
}

.order-wrap .item p b {
    font-size: 28px;
    font-weight: 500;
    margin-left: 5px;
}

.order-wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.order-wrap .item {
    padding: 25px;
    text-align: center;
    background: #253670;
    border-radius: 2px;
    background: linear-gradient(330deg, #076a91 0%, #32468b 100%);
}

.process-wrap {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.process-wrap .item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    width: calc((100% - (30px * 4)) / 5);
    padding: 15px 30px;
    text-align: center;
    background: #f7f3ec;
    border: 1px solid #efeae1;
}

.process-wrap .item + .item::before {
    color: #ddaa6b;
    content: "\e409";
    position: absolute;
    left: -53px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--gms);
    font-size: 60px;
}

.process-wrap .item span.material-symbols-outlined {
    font-size: 50px;
    margin-bottom: 20px;
    color: #b57c17;
    background: #fff;
    border-radius: 50%;
    padding: 16px;
}

.process-wrap .item p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35em;
}

.process-wrap + .link-wrap {
    margin-top: 80px !important;
}

[id$="form"] .subpage-content {
    background: #f0f0f0;
}

.form-wrap {
    background: #fff;
    padding: 50px 50px 50px;
    box-shadow: 4px 4px 10px 4px rgba(0, 0, 0, 0.05);
    margin-top: 50px !important;
}

[id$="form"] .board_wrapper {
    /* padding: 0 30px; */
    margin-bottom: 0 !important;
}

[id$="form"] .board_wrapper table {
    border: 0 !important;
}

[id$="form"] .board_wrapper table > tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
}

[id$="form"] .board_wrapper table > tbody > tr {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

[id$="form"] .board_wrapper table > tbody > tr > :is(th, td) {
    padding: 0 !important;
    border: 0 !important;
}

[id$="form"] .board_wrapper table > tbody > tr .required_text,
[id$="form"] .board_wrapper table > tbody > tr#item_email .text-muted {
    display: none;
}

[id$="form"] .board_wrapper table > tbody > tr:is(#item_name, #item_email, #item_0, #item_1) th span::after {
    content: "(필수)";
    color: #e54949;
    margin-left: 3px;
    font-size: 14px;
}

[id$="form"] .board_wrapper table > tbody > tr#item_2 {
    grid-column: span 2;
}

[id$="form"] .board_wrapper table > tbody > tr#item_captcha td {
    display: flex;
}

[id$="form"] .board_wrapper table > tbody > tr#item_captcha input {
    width: 100%;
    margin-top: 0 !important;
    margin-left: 10px;
}

[id$="form"] .board_wrapper table > tbody > tr#item_captcha img {
    width: 150px;
}

[id$="form"] .board_wrapper .table.board_write_table :is(.input-group.input-group-big, .form-control.form-control-big, .btn, .form-control) {
    width: 100%;
    background-color: #f7f7f7;
}

[id$="form"] .board_wrapper .text-center {
    margin-top: 30px;
}

.modal-open .modal {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-right: 0 !important;
}

.modal-body {
    overflow: hidden;
    padding: 50px;
    background-color: #fff;
}

.modal-body h4 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
}

.modal .modal-content {
    background-color: transparent;
}

.modal .modal-content button.close {
    z-index: 100;
    position: absolute;
    right: -40px;
    top: 0px;
    aspect-ratio: 1;
    width: 30px;
    float: inherit;
    opacity: 0.65;
}

.modal .modal-content button.close span.material-symbols-outlined {
    font-size: 32px;
    color: #bbb;
}

.modal .modal-content button.close:hover {
    opacity: 1;
}

.modal.fade .modal-dialog {
    transform: translate(0, 0) !important;

    margin: 0;
    box-shadow: 8px 8px 25px rgba(0, 0, 0, 0.35);
}

.modal-open .modal {
    background: rgba(0, 0, 0, 0.4);
}

/* 05 */

/* =================================== board, bbs =================================== */
.page-header h4 {
    display: inline-block;
}

.page-header a.pull-right i::before {
    content: "\e145";
    font-family: var(--gms);
    font-size: 24px;
    font-weight: 500;
    color: #000;
}

:is(.board_wrapper, .pagination_wrap, .search_wrap) {
    content-visibility: hidden;
}

.bbs-area :is(.board_wrapper, .pagination_wrap, .search_wrap) {
    content-visibility: auto;
}

[class^="board_box"] {
    margin-bottom: 0 !important;
}

.category_wrap ul {
    display: flex;
    gap: 0 20px;
}

.category_wrap li {
    margin: 0 !important;
}

.category_wrap li a {
    color: #888;
    font-weight: 500;
    font-size: 15px;
    padding-bottom: 0;
    border-bottom: 0;
}

.category_wrap li a:hover {
    color: #111;
}

.category_wrap li.on :where(a, a:hover, a:focus) {
    color: #000;
    font-weight: 600;
}

:is(.table_video, .table_blog2) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 20px;
    margin: 0;
}

:is(.table_video, .table_blog2) > dd {
    width: 100%;
    padding: 0;
}

:where(.table_video, .table_blog2, .table_pd) .inner {
    border: 0;
}

:where(.table_video, .table_blog2, .table_pd) .inner .top a .thumb {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    background-size: cover;
}

:is(.table_video, .table_blog2) dd {
    margin-bottom: 0;
}

:is(.table_video, .table_blog2) dd .inner .bottom {
    margin-top: 15px;
    padding: 0;
}

:is(.table_video, .table_blog2) dd:not([class]) {
    width: 100%;
    grid-column: span 3;
}

:is(.table_video, .table_blog2, .table_blog) dd :is(.inner .bottom, .right) .title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px 0;
    padding: 0;
}

:is(.table_video, .table_blog2) dd :is(.inner .bottom) .title a {
    display: block;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 500;
}

:is(.table_video, .table_blog2, .table_blog) dd :is(.inner .bottom, .right) .info {
    display: flex;
    gap: 10px;
}

:is(.table_video, .table_blog2, .table_blog) dd :is(.inner .bottom, .right) .info span {
    padding: 0;
}

.bbs-area .reply_wrap h4 {
    font-size: 18px;
    text-align: left;
}

.bbs-area .search_wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
    gap: 5px;
}

.board_wrapper {
    margin-top: 0 !important;
}

.board_wrapper .text-center {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.board_wrapper .text-center :is(.btn.btn-lg, .btn + .btn) {
    min-width: 200px;
}

.board_wrapper .text-center .btn + .btn {
    margin: 0;
}

.btn.btn-primary {
    font-family: "notokr";
    background-color: #555;
    border: 1px solid #555;
    color: #fff;
}

.btn.btn-primary:is(:hover, :focus) {
    background-color: #222;
    border-color: #222;
}

/* member */
.member_wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

.member_wrapper h1 {
    margin-top: 0;
}

.member_wrapper .btn {
    transition: all ease 0.3s;
}

.member_wrapper .table tbody tr th {
    background-color: rgba(0, 0, 0, 0.03);
}

.member_wrapper .table tbody tr th span {
    color: #5dae57;
}

.table_blog dd::after,
.table_blog dd .right .info {
    display: none;
}

.table_blog dd {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding: 25px 25px;
}

.table_blog dd a {
    font-weight: 500;
}

.table_blog dd .right {
    width: auto;
    flex-grow: 1;
    padding-top: 10px;
}

.table_blog dd .right .text p {
    padding: 0;
}

.table_blog dd .left a .thumb {
    aspect-ratio: 5/3;
    width: 250px;
    height: auto;
}

.table_blog dd :where(.left, .right) {
    width: auto;
    height: auto;
}

.table.table_default tbody tr th.num {
    font-weight: normal;
}

.table.table_default tbody .subject a {
    font-size: 17px;
    color: #333;
}

.table.table_default tr :is(th, td) {
    font-size: 15px;
    border-bottom: 1px solid #ddd;
}

.table.table_default thead th {
    background: #fff;
    border-bottom: 1px solid #ccc;
    font-weight: 500;
}

.table_default {
    border-top: 1px solid #333;
}

.table.table_default tr td {
    color: #777;
}

.table.table_default tr td:only-child {
    display: table-cell;
}

.text-muted {
    font-size: 14px !important;
    margin-top: 8px !important;
}

input.form-control {
    font-family: "notokr", sans-serif;
}

/* wrapper */
.board_wrapper .text-center .btn {
    padding: 15px 0 !important;
}

.board_wrapper .table.board_write_table :is(.input-group.input-group-big, .form-control.form-control-big, .btn, .form-control) {
    width: 50%;
}

.board_wrapper .table.board_write_table .files .fileInput .file_add {
    padding: 6px 7px 5px;
}

.board_wrapper .table.board_write_table .files + .sumChk {
    padding-bottom: 0;
    margin-bottom: 0;
    border: 0;
}

.board_wrapper .table.board_write_table tbody tr th {
    background-color: transparent;
    font-size: 15px;
    font-weight: 700;
}

.board_box_blog2 .row {
    margin-left: -5px;
    margin-right: -5px;
}

.board_box_blog2 .row > div[class^="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

.board_box_blog2 .inner {
    margin-top: 0;
    margin-bottom: 0;
}

.board_box_blog2 .inner .bottom {
    padding: 12px 10px;
}

.board_box_blog2 .inner .bottom .title {
    font-size: 25px;
    letter-spacing: -0.02em;
}

.board_box_blog2 .inner .bottom .title a {
    font-size: 14px;
}

.board_data_view {
    border-top: 1px solid #333;
}

.board_data_view .header_wrap {
    border-bottom: 1px solid #ddd;
}

.board_data_view .header_wrap .title {
    font-size: 26px;
}

.board_box_blog2 .inner .bottom .info {
    display: none;
}

.board_box_blog2 .inner .top a .thumb {
    height: 180px;
}

.board_wrapper .option_wrap .list_btn_wrap {
    margin-top: 0;
}

.board_wrapper .reply_wrap {
    margin-top: 0 !important;
}

:is(#form_history_list, #form_history_nologin) .board_wrapper {
    padding: 0;
    background: transparent;
    min-height: auto;
}

:is(.checkbox label, .radio label) {
    font-size: 15px;
    letter-spacing: -0.06em;
}

.custom_checkbox + span a {
    font-weight: 500;
}

.privacy_body {
    font-size: 16px;
    line-height: 1.6em;
    padding: 0 100px;
}

#mainPopup {
    position: relative;
    top: calc(var(--navHeight) - 140px);
}

.main_popup {
    border: 0;
    border-radius: 0;
    background-color: transparent !important;
}

.main_popup_optional {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    padding: 7px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    backdrop-filter: blur(10px);
}

.main_popup_optional :is(label, div) {
    opacity: 0.8;
}

.main_popup_optional :is(label, div):is(:hover, :focus) {
    opacity: 1;
}

.main_popup_optional :is(label, div, span) {
    float: inherit !important;
    line-height: 1;
}

.main_popup_optional label {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
}

.main_popup_optional label span.material-symbols-outlined {
    font-size: 18px;
    margin-right: 2px;
}

.main_popup button.close {
    opacity: 1;
    margin: 0;
    height: auto;
    color: inherit;
    font-size: 22px;
}

.main_popup span.material-symbols-outlined {
    font-variation-settings: var(--gms100_Out);
    font-size: inherit;
}

.main_popup_contents {
    overflow: hidden;
    padding: 10px;
    background: #fff;
}

.main_popup_contents img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* login */
:is(#find_btn, #login_btn) {
    margin-top: 25px;
}

:is(#find_idpw, .join_wrapper, .login_wrapper) {
    z-index: 10;
    width: 100%;
    padding: 100px 0 120px;
    background: #f7f7f7;
}

:is(#find_idpw, .login_wrapper) {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - var(--navHeight));
}

@media (max-height: 761px) {
    :is(#find_idpw, .login_wrapper) {
        height: auto;
    }
}

:is(#find_idpw, .login_wrapper) .container {
    width: 100%;
}

.join_wrapper .member_wrapper {
    width: auto;
}

:is(#find_idpw, .join_wrapper, .login_wrapper) .member_wrapper {
    padding: 50px 40px;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-width: inherit;
    background: #fff;
}

:is(#find_idpw, .login_wrapper) .member_wrapper {
    width: 400px;
    margin: 0 auto;
}

.member_wrapper .form-group {
    position: relative;
    margin: 0 !important;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.member_wrapper .form-group:focus-within {
    z-index: 100;
    border-color: #007cbe;
}

.member_wrapper .form-group:focus-within span.material-symbols-outlined {
    opacity: 1;
}

.member_wrapper .form-group:nth-of-type(1) {
    margin-bottom: -1px !important;
}

.member_wrapper .form-group label span.material-symbols-outlined {
    opacity: 0.5;
    transform: translateY(1px);
    font-variation-settings: var(--gms400_Out);
    font-size: 18px;
    color: #000;
}

.member_wrapper .form-group > label:nth-child(1) {
    width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.member_wrapper .form-group > div:nth-child(2) {
    flex: 1;
}

.member_wrapper .form-group > * {
    width: auto;
    padding: 0 !important;
}

.member_wrapper :is(#login_form, fieldset) {
    display: flex;
    flex-direction: column;
}

.member_wrapper :is(#login_form, #login_form input) {
    font-size: 13px;
}

.member_wrapper #login_form input {
    border: 0;
    padding-left: 0;
}

.member_wrapper h1 + p {
    line-height: 1.35;
}

.member_wrapper h1 {
    font-size: 30px;
    border: 0;
    margin-bottom: 20px;
    padding-bottom: 0px;
}

.member_wrapper .login_extra ul {
    display: flex;
    justify-content: center;
    gap: 0 15px;
}

.member_wrapper .login_extra ul li a {
    font-size: 13px;
}

.member_wrapper .login_extra ul li + li {
    margin-left: 0;
}

.member_wrapper .login_extra ul li + li::before {
    content: none;
}

.member_wrapper .login_extra {
    margin-top: 30px;
}

/* =================================== mobile =================================== */
/* mainpage */
@media (max-width: 767px) {
    /* carousel */
    #mainCarousel .carousel-inner .item {
        height: calc(100svh - 70px);
    }

    .carousel-caption {
        left: 5%;
        right: 5%;
        top: 45%;
        text-align: center;
    }
    .carousel-caption h1 {
        font-size: 142px;
    }
    .carousel-caption p {
        font-size: 20px;
    }
    #mainCarousel.is_fade .carousel-control {
        display: none;
    }
    .carousel-indicators {
        bottom: 30px;
        text-align: center;
        top: inherit !important;
    }
    .carousel-indicators :is(li, li.active) {
        aspect-ratio: 1;
        width: 10px;
        margin: 0 6px;
    }
    .mainpage section.main-section {
        background-color: #215fc1;
        position: static;
        padding: 30px;
    }
    .mainpage section.main-section .container {
        padding: 0;
    }
    .service-wrap {
        flex-direction: column;
    }
    .service-wrap .item {
        width: 100%;
        height: auto;
        background-color: #fff;
        aspect-ratio: 2/1.75;
    }
    .intro-page h1 b {
        font-size: 5em;
    }
}

/* subpage */
@media (max-width: 767px) {
    .subpage-header .subpage-title {
        padding: 0;
    }
    .subpage-header .subpage-title h2 {
        margin-top: 10px;
        font-size: 42px;
    }
    .snb {
        margin-top: 15px;
        border: 0;
    }

    .snb ul {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .snb li {
        margin: 0;
        /* flex: 1 0; */
        width: 100%;
    }

    .snb li + li {
        margin-top: 5px;
    }

    .snb li > a {
        font-size: 16px;
        height: 50px;
    }

    .subpage-header {
        height: 170px;
    }
    .greet-wrap {
        display: flex;
        flex-direction: column;
    }
    .greet-wrap .text {
        padding: 0;
        margin-top: 30px;
    }
    .adv-wrap {
        display: flex;
        flex-direction: column;
    }

    .adv-wrap .item + .item {
        margin-top: 20px;
    }

    .year-wrap .item {
        width: auto;
        display: flex;
        flex-direction: column;
        border-left: 1px solid #ccc;
        margin-left: 25px;
    }
    .year-wrap .item h5,
    .year-wrap .item ul {
        padding-left: 40px;
        margin-bottom: 20px;
    }
    .year-wrap .item h5::after {
        top: 3px;
        right: 48px;
    }
    .year-wrap .item h5::before {
        height: 100%;
        display: none;
    }
    .map-wrap {
        display: flex;
        flex-direction: column;
    }
    :is(.root_daum_roughmap, .root_daum_roughmap .wrap_map, iframe[src^="https://www.google.com/"])
    {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1;
    }
    #law_mb01 .member-wrap.mk2 {
        display: flex;
        flex-direction: column;
    }
    #law_mb01 .member-wrap.mk2 .item {
        position: relative;
        display: flex;
        height: 450px;
    }
    #law_mb01 .member-wrap.mk2 .item .img-box {
        position: absolute;
        left: 0;
        top: 0;
        width: calc(45%);
        aspect-ratio: 4/5;
        margin-right: 20px;
        margin-bottom: 20px;
    }
    #law_mb01 .member-wrap.mk2 .info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        padding: 0;
    }
    #law_mb01 .member-wrap.mk2 .info::before {
        content: "";
        display: block;
        aspect-ratio: 4/5;
        grid-row: span 2;
    }
    #law_mb01 .member-wrap.mk2 .name {
        grid-row: 1;
        grid-column: 2;
    }
    #law_mb01 .member-wrap.mk2 .li-email {
        grid-row: 2;
        grid-column: 2;
    }
    #law_mb01 .member-wrap ul li {
        font-size: 13px;
    }
    #law_mb01 .member-wrap.mk2 .dl-carrer {
        grid-column: span 2;
    }
    .img-box.none_profile::after,
    .img-box.none_profile::before {
        font-size: 19px;
    }
    #law_mb01 .member-wrap.mk2 + .member-wrap {
        display: flex;
        flex-direction: column;
    }
    #law_mb01 .member-wrap .item {
        padding: 20px;
    }
    .tab-wrap .nav-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tab-wrap .inner {
        display: flex;
        flex-direction: column;
    }
    .tab-wrap .img-box {
        aspect-ratio: 5/3;
    }
    .tab-wrap .inner .info {
        padding: 35px;
        aspect-ratio: inherit;
    }
    .tab-wrap .inner .info li {
        font-size: 15px;
    }
    .li-contact {
        display: flex;
        flex-direction: column;
        border-radius: 0;
        padding: 30px;
        gap: 12px;
    }
    .order-wrap {
        display: flex;
        flex-direction: column;
    }
    .form-wrap {
        padding: 25px;
    }
    .board_wrapper .table.board_write_table tbody tr :where(th, td) {
        margin-bottom: 8px;
    }
    .board_wrapper .table.board_write_table tbody tr th {
        margin-bottom: 5px;
    }
    [id$="form"] .board_wrapper table > tbody > tr#item_captcha td {
        display: flex !important;
    }
    [id$="form"] .board_wrapper table > tbody > tr {
        padding-bottom: 7px;
    }
    .btn-wrap {
        display: flex;
        flex-direction: column;
    }
    [id^="tax"] .btn-wrap .item {
        padding: 15px 25px !important;
    }
    .quick-menu {
        width: 100%;
        top: inherit;
        left: inherit;
        right: inherit;
        bottom: 20px;
    }
    .quick-menu ul {
        justify-content: center;
        flex-direction: row;
    }
    #tax_mb01 .member-wrap {
        display: flex;
        flex-direction: column;
    }
    #tax_mb01 .member-wrap .item {
        gap: 20px;
    }
    #tax_mb01 .member-wrap.mk2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .busi-wrap {
        display: flex;
        flex-direction: column;
    }
    .busi-wrap .logo {
        transform: none;
        margin: 0 auto;
        position: static;
    }
    .busi-wrap .item {
        height: auto;
    }
    .snb_depth2 {
        margin-top: 20px;
    }
    .snb_depth2 ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .detail-wrap {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .process-wrap {
        display: flex;
        flex-direction: column;
    }
    .process-wrap .item {
        width: 100%;
        aspect-ratio: 5/3;
    }
    .process-wrap .item + .item::before {
        left: inherit;
        top: -26px;
        transform: translateY(-50%) rotate(90deg);
    }
}

/* bbs, etc */
@media (max-width: 767px) {
    .member_wrapper {
        padding: 70px 15px;
    }

    .privacy_body {
        padding: 0 30px;
    }

    .table_default :is(colgroup, .num, .regdate, .hits, .writer) {
        display: none;
    }

    .table_default .subject {
        width: 100%;
    }

    .member_wrapper #join_form .table :is(.input-group.input-group-big, .form-control.form-control-big),
    .board_wrapper .table.board_write_table :is(.input-group.input-group-big, .form-control.form-control-big, tbody tr td .btn, tbody tr td .form-control, .input-group.input-group-big, .form-control.form-control-big) {
        width: 100%;
    }

    :is(.table_video, .table_blog2) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 30px;
    }

    .search_wrap {
        margin-bottom: 0 !important;
    }

    .board_data_view .download_wrap tr {
        display: flex;
        flex-direction: column;
    }

    .board_data_view .download_wrap tr > * {
        width: 100%;
    }

    .board_data_view .download_wrap tr th {
        padding-bottom: 10px;
    }

    .board_data_view .download_wrap tr li a {
        word-break: break-all;
    }

    .board_data_view .download_wrap tr li + li {
        margin-top: 10px;
    }

    .board_wrapper div.text-center {
        margin-top: 0;
        margin-bottom: 50px;
        padding-top: 30px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .board_wrapper .text-center .btn.btn-lg {
        padding: 0;
        height: 50px;
    }

    .board_wrapper .text-center :is(.btn.btn-lg, .btn + .btn) {
        flex: 1;
        min-width: inherit;
    }

    .table.board_write_table tbody tr th span:nth-of-type(2) {
        margin-left: 0px;
    }

    .table.board_write_table tbody tr th span:only-child {
        margin: 0;
    }

    .table.table_responsive tbody tr th {
        padding: 15px !important;
        margin-left: 0 !important;
    }

    .main_popup_contents {
        padding: 10px;
    }

    :is(#find_idpw, .join_wrapper, .login_wrapper) {
        position: relative;
        padding: 30px 0;
    }

    :is(#find_idpw, .join_wrapper, .login_wrapper) .member_wrapper {
        padding: 40px 20px 40px;
    }

    :is(#find_idpw, .join_wrapper, .login_wrapper) .container {
        width: 100%;
        padding: 0 15px;
    }

    .member_wrapper {
        width: 100% !important;
        margin: 0 !important;
    }

    .member_wrapper .form-group div:last-child {
        width: 100%;
    }

    .member_wrapper {
        padding-top: 50px;
    }

    .member_wrapper .login_extra ul {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .member_wrapper .login_extra ul li + li::before {
        content: none;
    }
}

/* bbs-reset */
:is(.form-wrap, form) #list_btn {
    display: none;
}

.board_data_view .contents_wrap {
    padding-left: 0;
    padding-right: 0;
}

.board_data_view .contents_wrap p {
    font-size: inherit;
}

.board_data_view .contents_wrap :is(li, dl) {
    margin: inherit;
    padding: inherit;
    list-style-position: inside !important;
}

.board_data_view .contents_wrap ul li {
    list-style-type: disc !important;
}

.board_data_view .contents_wrap ol li {
    list-style-type: decimal !important;
}
