/* ------------------------- HEADER ------------------------- */
.header {
    width: 128rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    border-radius: 0 0 1rem 1rem;
    background: #F9F9F9;
    box-shadow: 0 4px 24px 0 rgba(201, 201, 201, 0.1);
}

@media screen and (max-width: 575px) {
    .header {
        position: fixed;
        width: 100%;
        padding: 2rem 0 1.5rem;
    }
}

.header__top {
    padding: 3rem 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media screen and (max-width: 575px) {
    .header__top {
        display: none;
    }
}

.header__top-menu {
    margin-bottom: -1.5rem;
    margin-left: 7.5rem;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header__top-menu-link {
    color: #636363;
    margin-right: 3rem;
}

.header__top-menu-link:hover {
    color: #4174b1;
}

.header__top-menu-link:last-child {
    margin-right: 0;
}

.header__top .messengers__box-link {
    width: 3.5rem;
    margin-right: 1.8rem;
}

.header__top .header__phone {
    text-align: right;
    margin-left: 2.5rem;
    margin-right: 2rem;
}

.header__top .header__phone-text {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.header__top .header__phone-link {
    font-weight: 500;
    color: #111111;
}

.header__top .header__phone-link:hover {
    color: #4174b1;
}

.header__top .t-btn {
    width: 17.5rem;
    height: 4.5rem;
    font-size: 1rem;
}

.header__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

@media screen and (max-width: 575px) {
    .header__bottom {
        display: none;
    }
}

.header .header__logo {
    width: 22rem;
    display: block;
}

.header .header__logo img {
    width: 100%;
}

.header .t-btn {
    border-radius: 0.5rem;
    box-shadow: 0 3px 0 0 #e07f55, inset 2px 2px 6px 0 rgba(255, 255, 255, 0.12), inset -3px -3px 6px 0 rgba(255, 255, 255, 0.08);
}

.header__bottom {
    padding-bottom: 3rem;
}

.header__bottom-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header__bottom-menu-link {
    margin-right: 3rem;
    color: #111111;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header__bottom-menu-link:hover {
    color: #4174b1;
}

.header__bottom-menu-link img {
    width: 1rem;
    margin-left: 0.6rem;
}

.header__bottom .search {
    width: 55rem;
}

.header__bottom .search input {
    font-size: 1.6rem;
}

.header__bottom .search button {
    width: 6rem;
}

.header__bottom .search img {
    width: 2rem;
}

/* ------------------------- HEADER FIXED ------------------------- */
header.static {
    z-index: 100;
}

@media screen and (max-width: 575px) {
    header.static {
        display: none;
    }
}

/* ------------------------- HEADER FIXED ------------------------- */
header.fixed {
    z-index: 100;
    position: fixed;
    transform: translateX(-50%) translateY(-100%);
    transition: 520ms;
    padding-bottom: 1.5rem;
    transition-timing-function: ease-in-out;
}

@media screen and (min-width: 575px) {
    header.fixed.visible {
        transform: translateX(-50%) translateY(0);
    }
}

@media screen and (max-width: 575px) {
    header.fixed {
        display: none;
        opacity: 0;
        pointer-events: none;
    }
}

header.fixed .header__menu {
    margin-left: 5rem;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

header.fixed .header__menu-link {
    margin-right: 2.5rem;
    color: #111111;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.4rem;
}

header.fixed .header__menu-link:hover {
    color: #4174b1;
}

header.fixed .header__menu-link img {
    width: 1rem;
    margin-left: 0.6rem;
}

header.fixed .search__btn {
	position: relative;
    width: 3rem;
    cursor: pointer;
}

header.fixed .search__btn-icon {
    width: 100%;
}

header.fixed .messengers__box {
    margin: 0 1.5rem;
}

header.fixed .messengers__box-link {
    width: 3rem;
    margin-right: 1.5rem;
}
.search__btn .search {
	position: absolute;
	top: -3px;
	right:0;
	width: 0;
	overflow: hidden;
	transition: width 0.3s; 
}
.search__btn.active .search {
    width: 32rem;
}
/* ------------------------- HEADER MOBILE ------------------------- */
.header__mobile {
    padding: 0;
    border-radius: 0;
    transition: height 520ms;
}

@media screen and (min-width: 575px) {
    .header__mobile {
        box-shadow: none;
        background: none;
        position: fixed;
    }
}

@media screen and (max-width: 575px) {
    .header__mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        height: 8rem;
    }

    .header__mobile.active {
        height: 100%;
        overflow-y: auto;
    }
}

.header__mobile-row {
    flex-grow: 1;
}

.header__mobile.active {
    height: 100%;
}

.open-menu {
    position: relative;
}

.open-menu .img-svg {
    margin-left: 0.5rem;
}

.open-menu:hover, .open-menu.active {
    color: #4174b1;
}

.open-menu:hover .img-svg, .open-menu.active .img-svg {
    width: 1rem;
    height: 0.7rem;
    transform: rotate(-90deg);
}

.open-menu:hover .img-svg path, .open-menu.active .img-svg path {
    fill: #4174b1;
}

@media screen and (min-width: 575px) {
    .site__menu {
        display: none;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        width: 128rem;
        top: 15.5rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .site__menu.with-fixed {
        top: 9rem;
    }
}

@media screen and (max-width: 575px) {
    .site__menu {
        padding: 0 2rem;
    }
}

.site__menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site__menu ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site__menu ul li a:hover {
    background: #FCFCFC;
    color: #457CC0;
}

.site__menu ul li a:hover .img-svg path {
    stroke: #457CC0;
}

.site__menu ul li .img-svg {
    margin-left: auto;
}

@media screen and (min-width: 575px) {
    .main__menu {
        width: 38rem;
        min-height: 29rem;
        background: #F9F9F9;
        flex-shrink: 0;
        border-radius: 1rem;
        box-shadow: 0 4px 24px 0 rgba(201, 201, 201, 0.1);
        padding: 5rem 3rem 3rem 6rem;
        position: relative;
        z-index: 20;
    }
}

@media screen and (max-width: 575px) {
    .main__menu ul li {
        border-bottom: 1px solid #BBBBBB;
    }

    .main__menu ul li:last-child {
        border: 0;
    }
}

@media screen and (max-width: 575px) {
    .main__menu ul li:first-child .img-svg {
        display: none;
    }
}

@media screen and (min-width: 575px) {
    .main__menu ul li a {
        display: none;
    }
}

@media screen and (max-width: 575px) {
    .main__menu ul li a {
        padding: 0.9rem 2rem 0.9rem 0;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 575px) {
    .main__menu ul li ul {
        padding-left: 2rem;
        padding-bottom: 1rem;
        margin-top: -0.5rem;
    }
}

@media screen and (max-width: 575px) {
    .main__menu ul li ul li {
        border: 0;
    }
}

.main__menu ul li ul li img {
    width: 2.5rem;
    margin-right: 1.5rem;
}

@media screen and (max-width: 575px) {
    .main__menu ul li ul li img {
        width: 2rem;
        margin-right: 1rem;
    }
}

.main__menu ul li ul li a {
    height: 4.5rem;
    display: flex;
}

@media screen and (max-width: 575px) {
    .main__menu ul li ul li a {
        height: auto;
        padding: 0.5rem 2rem 0.5rem 0;
        font-size: 1.4rem;
        color: #636363;
    }

    .main__menu ul li ul li a:hover {
        color: #4174b1;
    }

    .main__menu ul li ul li a:hover .img-svg path {
        stroke: #457CC0;
    }
}

.main__menu ul li ul li .img-svg {
    width: 0.9rem;
    height: 1.7rem;
    display: block !important;
}

@media screen and (min-width: 575px) {
    .sub__menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100%;
        background: #F6F6F6;
        border-radius: 1rem;
        box-shadow: 0 4px 24px 0 rgba(201, 201, 201, 0.1);
        padding-left: 42rem;
        padding-top: 6rem;
    }
}

@media screen and (max-width: 575px) {
    .sub__menu {
        font-size: 1.6rem;
        display: none;
    }
}

.sub__menu .menu-back {
    font-size: 1.2rem;
    color: #686868;
    display: none;
}

@media screen and (max-width: 575px) {
    .sub__menu .menu-back {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
    }
}

.sub__menu .menu-back img {
    margin-right: 0.6rem;
}

.sub__menu .menu-back:hover {
    color: #4174b1;
}

.sub__menu ul {
    display: none;
}

@media screen and (min-width: 575px) {
    .sub__menu ul {
        align-items: flex-start;
        justify-content: flex-start;
    }
}

.sub__menu ul li {
    flex-shrink: 0;
}

@media screen and (min-width: 575px) {
    .sub__menu ul li:nth-child(1) {
        width: 25rem;
    }

    .sub__menu ul li:nth-child(2) {
        width: 23rem;
    }

    .sub__menu ul li:nth-child(3) {
        width: 20rem;
    }

    .sub__menu ul li:nth-child(4) {
        width: 14rem;
    }
}

@media screen and (max-width: 575px) {
    .sub__menu ul li {
        margin-top: 2rem;
    }
	.sub__menu ul li a.pc {
	display: none;
}
}

.sub__menu ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    color: #2A2651;
    margin-bottom: 2rem;
}

@media screen and (max-width: 575px) {
    .sub__menu ul li a {
        color: #111111;
        padding-right: 2rem;
        margin: 2rem 0 0;
    }

    .sub__menu ul li a:hover {
        color: #111111;
    }
}

.sub__menu ul li a:hover {
    background: none;
}

.sub__menu ul li .img-svg {
    display: none;
}

@media screen and (max-width: 575px) {
    .sub__menu ul li .img-svg {
        display: block;
    }
}

.sub__menu ul li.is-open .img-svg {
    opacity: 0;
}

.sub__menu ul li ul {
    display: block;
    margin-top: -1.5rem;
    width: 100%;
}

@media screen and (min-width: 575px) {
    .sub__menu ul li ul {
        display: block;
    }
}

@media screen and (max-width: 575px) {
    .sub__menu ul li ul {
        margin-top: 1rem;
        display: none;
    }
}

.sub__menu ul li ul li {
    width: 100% !important;
}

@media screen and (max-width: 575px) {
    .sub__menu ul li ul li {
        margin: 0;
    }
}

.sub__menu ul li ul li a {
    padding-left: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #636363;
    position: relative;
}

.sub__menu ul li ul li a:hover {
    color: #4174b1;
}

.sub__menu ul li ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 0.8rem;
    background: #636363;
    border-radius: 1px;
    transition: 320ms;
}

.sub__menu ul li ul li a .img-svg {
    transform: none !important;
    opacity: 1 !important;
}

.sub__menu ul li .show-all {
    color: #636363;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 0.6rem;
}

@media screen and (max-width: 575px) {
    .sub__menu ul li .show-all {
        display: none;
    }
}

.header__mobile-top {
    display: none;
}

@media screen and (max-width: 575px) {
    .header__mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 2rem;
        height: 8rem;
        background: #f9f9f9;
        box-shadow: 0 2px 7px 0 rgba(171, 171, 171, 0.07);
    }
}

@media screen and (max-width: 575px) {
    .header__mobile-top-logo {
        width: 16rem;
    }
}

.header__mobile-top-logo img {
    width: 100%;
}

.header__mobile-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 2.2rem;
    position: relative;
}

.header__mobile-top-btn img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

.header__mobile-top-btn .close {
    display: none;
    width: 2.1rem;
}

.header__mobile-top-btn.active .open {
    display: none;
}

.header__mobile-top-btn.active .close {
    display: block;
}

.header__mobile-second {
    display: none;
}

@media screen and (max-width: 575px) {
    .header__mobile-second {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 2rem 2rem;
    }
}

.header__mobile-second .search {
    width: 20.5rem;
    height: 4rem;
}

.header__mobile-second .search input {
    padding-left: 1rem;
    font-size: 1.4rem;
}

.header__mobile-second .search button {
    width: 4rem;
}

.header__mobile-second .search button img {
    width: 1.6rem;
}

.header__mobile-second .messengers__box {
    justify-content: flex-start;
}

.header__mobile-second .messengers__box-link {
    width: 3.3rem;
}

.header__mobile-foot {
    display: none;
}

@media screen and (max-width: 575px) {
    .header__mobile-foot {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        padding: 3rem 2rem 1.5rem;
    }
}

.header__mobile-foot-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.header__mobile-foot-text-title {
    margin-bottom: -0.3rem;
    font-size: 1rem;
    color: #959595;
}

.header__mobile-foot-text-link {
    font-size: 1.4rem;
    color: #000817;
    margin-top: 0.8rem;
}

.header__mobile-foot-text-link:hover {
    color: #4174b1;
}

.header__mobile-foot .t-btn {
    width: 16rem;
    height: 4rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}