#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    z-index: 999;
    background: #fff;
}

#sub {
    padding-top: 75px;
    @media (max-width: 768px) {
        padding-top: 60px;
    }
}

#header:hover .gnb-box .gnb>li>a {
    color: #333;
}


#header .logo {
    position: absolute;
    top: 10px;
    left: 100px;
    width: 264px;
    height: 57px;
    background: url("../images/common/logo.svg") no-repeat;
    background-size: contain;
}

#header:hover .logo {
    background: url("../images/common/logo.svg") no-repeat;
}

#header .logo a {
    font-size: 20px;
    font-weight: 600;
    color: 333;
}

#header .gnb-box {
    display: flex;
    justify-content: center;
    max-height: 75px;
    position: relative;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#header .gnb-box:before {
    content: '';
    position: absolute;
    top: 75px;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f8f8f8;
}

#header .gnb-box.open {
    max-height: 340px;
    transition: all 0.3s cubic-bezier(0.8, 0.05, 0.8, 0.05);
}

#header .gnb-box .gnb {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#header .gnb-box .gnb>li {
    display: block;
    /*float: left;*/
    /*width: 200px;*/
    padding: 0 1.5rem 0;
}

#header .gnb-box .gnb>li>a {
    position: relative;
    display: block;
    padding: 25px 0;
    color: #000;
    font-weight: 500;
    line-height: 24px;
    transition: all .5s;
    font-size: 18px;
    text-align: center;
}

#header .gnb-box .gnb>li>a span {
    display: block;
    position: relative;
}

#header .gnb-box .gnb>li>.depth {
    height: 361px;
    padding: 6px 0 110px;
}

#header .gnb-box .gnb>li>.depth>li {
    margin-top: 20px;
}

#header .gnb-box .gnb>li>.depth>li>a {
    display: block;
    padding: 5px 0;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

#header .gnb-box .gnb>li>.depth>li>a:hover {
    color: #3f729c;
    text-decoration: underline;
    transition: 0.2s;
}

#main {
    overflow: hidden;
}


.on {
    background: #fff;
    box-shadow: 1px 1px 5px rgba(0 0 0 / 10%);
}

#header.on .gnb-box .gnb>li>a span {
    color: #333;
}

#header.on .logo {
    background: url("../images/common/logo.svg") no-repeat;
    background-size: contain;
}

footer {
    border-top: 1px solid rgba(0 0 0 / 5%);
}

footer .logo {
    float: left;
    width: 264px;
    height: 57px;
    background: url("../images/common/logo.svg") no-repeat;
}

footer .foo-menu-wrap {
    padding: 50px 0;
}

footer .foo-menu {
    float: right;
}

footer .foo-menu .tit {

    font-weight: 800;
    margin-bottom: 10px;
}

footer .foo-menu ul {
    float: left;
    width: 120px;
    height: 210px;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #f4f4f4;
}

footer .foo-menu ul:last-child {
    border-right: 0;
}

footer .foo-menu a {
    display: block;
    font-weight: 300;
    margin-bottom: 15px;

}

footer .foo-menu a:hover {
    color: #3786d5;
    transition: 0.2s;
}

footer .bottom {
    background: #f9fbff;
    padding: 50px 0;
}


footer .bottom .cbox-1 {
    float: left;

}

footer .bottom .cbox-1 .tit {

    font-weight: 800;
}

footer .bottom .cbox-1 .copy {
    margin-top: 30px;
    /* color: #ddd; */

}

footer .bottom .cbox-2 {
    float: right;

}

footer .bottom .cbox-2 .topmenu li {
    float: left;
}

footer .bottom .cbox-2 .topmenu li:first-child a {
    font-weight: 600;
}

footer .bottom .cbox-2 .topmenu li:nth-child(2) {
    margin: 0 30px;
}

footer .bottom .cbox-2 .sns {
    float: right;
    margin-top: 20px;
}

footer .bottom .cbox-2 .sns li {
    float: left;
    margin-right: 10px;
}

footer .bottom .cbox-2 a {
    font-weight: 300;

}

.gnb-btn {
    display: none;
}

.site-map {
    display: none;
}


#sub .visual-wrap {
    position: relative;
    background-repeat: no-repeat;
    height: 500px;
    background-size: cover;
}

#sub .visual-wrap .inner {
    position: relative;
    height: 100%;
}

#sub .visual-wrap.vs-1 {
    background-image: url("../images/sub/2025/visual-1.png");
}

#sub .visual-wrap.vs-2 {
    background-image: url("../images/sub/2025/visual-2.png");
}

#sub .visual-wrap.vs-3 {
    background-image: url("../images/sub/2025/visual-3.png");
}

#sub .visual-wrap.vs-4 {
    background-image: url("../images/sub/2025/visual-4.png");
}

#sub .visual-wrap.vs-5 {
    background-image: url("../images/sub/2025/visual-5.png");
}

#sub .visual-wrap .tbox {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#sub .visual-wrap .tbox .tit {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.3em;
    margin-bottom: 30px;

    color: #fff;
}

#sub .visual-wrap .tbox .txt {
    color: #fff;
}

#sub .visual-wrap .bc-wrap {
    position: absolute;
    bottom: 50px;
    right: 0;
}

#sub .visual-wrap .bc-wrap li {
    float: left;

    color: #fff;
}

#sub .visual-wrap .bc-wrap li:nth-child(2) {
    margin: 0 10px;
}

#sub .visual-wrap .bc-wrap li:nth-child(1)::after {
    content: "/";
    display: inline-block;
    color: #fff;
    margin: 0 10px;
}

#sub .visual-wrap .bc-wrap li:nth-child(3)::before {
    content: "/";
    display: inline-block;
    color: #fff;
    margin: 0 10px;
}

#sub .sub-tit {
    margin: 30px auto;
    text-align: center;
}

#sub .sub-tit .tit {
    position: relative;
    display: table;
    /*background: url("../images/sub/st-badge.png") left 3px no-repeat;*/
    padding: 10px 0 20px;
    font-size: 45px;
    font-weight: 800;
    margin: 0 auto;
    letter-spacing: -0.05em;
}

#sub .sub-tit .tit:before {
    content: "";
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    left: -50px;
    top: -5px;
    opacity: .15;
    filter: blur(1px);
    background: url("../images/common/logo-symbol.svg") no-repeat;
}

#sub .sub-tit .txt {
    margin: 0 auto;
    font-size: 20px;
    font-weight: 400;

}

#sub .sub-nav {
    border-top: 1px solid rgba(0 0 0 / 10%);
    border-bottom: 1px solid rgba(0 0 0 / 10%);
}

#sub .sub-nav ul {
    display: table;
    margin: 0 auto;
}

#sub .sub-nav li {
    float: left;
}

#sub .sub-nav li a {
    display: block;
    padding: 15px 40px;
    text-align: center;

}

#sub .sub-nav li.active {
    border-bottom: 2px solid #3f729c;
}

#sub .sub-nav li.active a {
    color: #3f729c;
    font-weight: 800;
}


/**/
.review-wrap {
    background: url("../images/common/rv-bg.png") no-repeat;
    background-size: auto;
    background-position: left bottom;
    padding: 100px 0;
    height: 720px;
}

.review-wrap .cbox {
    position: relative;
    float: left;
    margin-left: 20%;
    width: 380px;
}

.review-wrap .cbox .tit {

    font-size: 35px;
    font-weight: 800;
    margin-bottom: 20px;
}

.review-wrap .cbox .txt {
    width: 65%;
}

.arrowSlider {
    display: flex;
    position: relative;
    z-index: 9;
    margin-top: 20px;
}

.arrowSlider span {
    cursor: pointer;
    display: block;
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
}

.arrowSlider span:hover {
    box-shadow: 1px 1px 10px rgba(0 0 0 / 10%);
    transition: 0.2s;
}

.arrowSlider .prev {
    background-image: url("../images/common/arr-pre-b.png");
    margin-right: 10px;
}

.arrowSlider .next {
    background-image: url("../images/common/arr-nxt-b.png");
}

.review-wrap .slick-prev:before,
.review-wrap .slick-next:before {
    font-size: 0;
}

.review-list {
    margin-left: 40%;
}

.review-list .slick-slide {
    margin-left: 20px;
}

.review-list .img {
    width: 100%;
    height: 410px;
    overflow: hidden;
}

.review-list .img img {
    width: 100%;
}

.review-list .tbox {
    margin-top: 20px;
}

.review-list .tbox .tit {

    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

.review-list .tbox .date {
    color: #ddd;
}

.review-list .arr-box {
    height: 0;
    overflow: hidden;
    position: relative;
    background: #3c83d9;
    left: 0;
    margin-left: 10px;
    margin-top: 20px;
}

.review-list .item {
    cursor: pointer;
}

.review-list .item.arr-on .arr-box {
    height: 40px;
    overflow: visible;
    transition: 0.2s;
}

.review-list .item:hover .arrow {
    animation-name: bounceAlpha;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.review-list .item:hover .arrow.primera {
    animation-name: bounceAlpha;
    animation-duration: 1.4s;
    animation-delay: 0.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.review-list .item:hover {
    transform: translateY(-20px);
    transition: 0.2s;
}



.counse-box {
    z-index: 99;
    position: fixed;
    bottom: 210px;
    right: 0;
    width: 210px;
    height: 210px;
    background: url("../images/main/counse-bg.png") no-repeat;
    background-size: cover;
    padding: 20px;
    color: #fff;
}

.blog-box {
    z-index: 99;
    position: fixed;
    right: 0;
    bottom: 0;
    background: url("../images/main/blog-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
}

.counse-box>div {
    width: 80%;
    margin: 0 auto;
    background: url("../images/main/counse-arr.png") no-repeat;
    background-position: top right;
    text-align: center;
    margin-top: 20px;
    padding-top: 25px;

}

.counse-box p:nth-child(2) {
    font-size: 22px;
    font-weight: 800;
}

.counse-box a {
    display: block;
    background: #fff;
    padding: 5px 10px;
    text-align: center;
    border-radius: 50px;
    width: 80%;
    margin: 10px auto 0 auto;
}

@media screen and (max-width: 1600px){
    body{
        margin: 0 auto;
    }

    #header {
        position: fixed;
        height: 60px;
        background: #fff;
    }

    #header .gnb-box {
        display: none;
    }

    #header .logo {
        top: 10px;
        left: 20px;
        width: 171px;
        height: 40px;
        background: url("../images/common/logo.svg") no-repeat;
        background-size: contain;
    }

    #header .mem-box {
        display: none;
    }

    #header .logo a {
        font-size: 18px;
    }

    #header:hover .logo {
        width: 171px;
        height: 40px;
        background-size: contain;
    }

    
    .gnb-btn {
        display: block !important;
        position: absolute;
        right: 10px;
        top: 8px;
        z-index: 10;
    }

    .m-scr-wrap .sns-wrap {
        width: 333px;
    }


    .gnb-btn button {
        position: relative;
        width: 40px;
        height: 40px;
        border: 0;
        background: transparent;
    }

    .gnb-btn button span {
        position: absolute;
        display: block;
        height: 2px;
        width: 22px;
        background: #333;
        top: 50%;
        margin-top: -1px;
        left: 50%;
        margin-left: -11px;
        transition: all 0.5s;
    }

    .gnb-btn button span:before {
        position: absolute;
        content: '';
        display: block;
        height: 100%;
        width: 100%;
        background: #333;
        top: -7px;
        transform: rotate(0deg);
        transition: all 0.5s;
    }

    .gnb-btn button span:after {
        content: '';
        display: block;
        height: 100%;
        width: 100%;
        background: #333;
        position: absolute;
        top: 7px;
        transform: rotate(0deg);
        transition: all 0.5s;
    }

    .gnb-btn.gnb-btn-active button span {
        background: transparent;
    }

    .gnb-btn.gnb-btn-active button span:before {
        transform: rotate(135deg);
        top: 0;
    }

    .gnb-btn.gnb-btn-active button span:after {
        transform: rotate(-135deg);
        top: 0;
    }

    .site-map {
        display: none;
        z-index: 9999;
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0, 0.6);
        justify-content: flex-end;
    }

    #mobile-nav {
        margin-left: 30%;
        width: 70%;
        height: 100%;
        background-color:#f1f1f1;
    }

    #mobile-nav li {
        border-top: 1px solid rgba(255,255,255, .1);
    }

    #mobile-nav li ul li {
        border-top: 1px solid lightgray;
    }

    .site-map>.inner {
        padding: 50px;
    }

    .site-map h4 {
        font-weight: 600;
        line-height: 1.6em;
    }

    .site-map .row {
        border-bottom: 1px solid #d8d8d8;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .site-map .row:last-child {
        border-bottom: 0;
    }

    .site-map ul li {
        margin-bottom: 0px;
    }

    .review-wrap {
        padding: 50px 0;
        height: auto;
    }

    .review-wrap .cbox {
        position: relative;
        float: none;
        margin-left: 20px;
        width: 100%;
    }

    .review-wrap .cbox .tit {
        line-height: 1.5em;
    }

    .review-list {
        margin-left: 20px;
    }

    .review-list .img {
        height: auto;
    }

    .review-list .slick-slide {
        margin: 10px !important;
    }

    footer .foo-menu-wrap {
        display: none;
    }

    footer .bottom {
        background: #f9fbff;
        padding: 40px 0 160px;
    }

    footer .bottom .cbox-1 {
        float: none;
    }

    footer .bottom .cbox-1 p {
        font-size: 13px;
        line-height: 20px;
    }

    footer .bottom .cbox-2 {
        float: none;
    }

    footer .bottom .cbox-2 a {
        font-size: 13px;
    }

    footer .bottom .cbox-2 .sns {
        float: none;
        margin-top: 10px;
    }

    footer .bottom .cbox-1 .copy {
        margin: 10px 0;
    }

    footer .bottom .cbox-2 .topmenu li:nth-child(2) {
        margin: 0 10px;
    }

    #mobile-nav li {
        background: #272726;
    }

    #mobile-nav li a {
        display: block;
        padding: 15px;
        background-color: #272726;
        text-decoration: none;
        color: #fff;
        background-repeat: no-repeat;
        background-image: url("../images/common/ico_snb_down.png");
        background-position: 93% center;
        transform: none;

    }

    #mobile-nav li.active {
        background-color: #0082d2;
        background-image: url("../images/common/ico_snb_up.png");
        background-position: 93% center;
    }

    #mobile-nav li a.active {
        padding: 15px;
        background-color: #0082d2;
        color: #fff;
    }

    #mobile-nav li ul {
        display: none;
    }


    #mobile-nav li ul li a {
        padding: 15px;
        background: #fff;
        box-shadow: 2px 1px 3px rgb(0 0 0 / 15%);
        color: #333;
        font-weight: 400;
    }

    #mobile-nav > li{
        font-weight: 800;
    }

    #sub .visual-wrap{
        height: 150px;
        padding: 20px;
        background-size: cover;
        background-position: center bottom;
    }

    #sub .visual-wrap .tbox{
        left: 10px;
        top: calc(10% + 30px);
    }

    #sub .visual-wrap .tbox .tit {
        margin-bottom: 0;
        font-size: 15px;
    }

    #sub .visual-wrap .tbox .txt {
        display: none;
    }
    
    #sub .visual-wrap .bc-wrap {
        /* display: none; */
        position: absolute;
        bottom: 0;
        font-size: 13px !important;
    }

    #sub .visual-wrap .tbox .tit{
        font-size: 30px;
        font-weight: 600;
    }

    #sub .sub-tit .tit{
        font-size: 25px;
    }

    #sub .sub-nav{
        display: flex;
    }

    #sub .sub-nav .inner{
        padding: 0;
    }

    #sub .sub-nav li a{
        padding: 10px;
        font-size: 14px;
    }

    #sub .sub-tit{
        padding: 0 20px;
    }


}


@media screen and (max-width: 1024px) {

    body{
        /* width: 100%; */
        overflow-x: hidden;
    }

    .clinic-wrap .tbox .tit span {
        display: inline !important;
    }



}
