html{
    font-size: 16px;
}

html, body{
    min-width: 320px;
}



.container{
    max-width: 1240px;    
    margin: 0 auto;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    line-height: 1.4;
}

.page .content{
    padding: 0;
    overflow: visible;
}

.center{
    overflow: visible;
}

.page-main-title__blue{
    display: none;
}

.section{
    margin-bottom: 5.25rem;
}

.page .section-header{
    font-weight: 600;
    font-size: 1.875rem;
    line-height: 1.2;
    color: #004677;
    margin-top: 0;
    margin-bottom: 2rem;
}

.page .history-years-list{
    padding-left: 0;
}

.page .history-years-item{
    margin: 0;
    box-shadow: 0px 0.25rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem; 
}

.history-period{
    font-weight: 600;
    font-size: 1.375rem;
    padding: 1.25rem 2.5rem;
    cursor: pointer;
    color: #004677;     
}

.history-period::before{
    display: inline-block;
    vertical-align: middle;
    content: "";
    width: 2rem;
    height: 2rem;
    background: url("https://cdn.specialist.ru/Content/File/layouts/center-history/img/acco-icon.png") center center no-repeat;
    background-size: 100% auto;
    margin-right: 0.75rem;
}

.page .history-years-item.active .history-period{
    color: #2580C3;
}

.page .history-years-item.active .history-period::before{
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/center-history/img/acco-item-active.png");
}

.page .history-events-list{
    display: none;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 2.5rem 1.25rem 2.5rem;
}

.page .history-years-item.active .history-events-list{
    display: flex;
}

.page .history-events-list::before{
    display: block;
    content: "";
    width: 100%;
    height: 1.625rem;
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/center-history/img/ruler.png");
    margin: 0.75rem 0;

}

.page .history-events-item{
    width: 25%;
    margin: 0;
    border-left: 1px solid #C4C4C4;
    padding: 0.75rem;    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.page .history-events-item::before{
    display: block;
    content: "";
    position: absolute;
    width: 0.4375rem;
    height: 0.4375rem;
    background: #C4C4C4;
    left: -0.3125rem;
    top: 0;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #C4C4C4;
}

.page .history-events-list:not(.el4) .history-events-item:nth-child(-n+4){
    order: -1;
}

.page .history-events-list:not(.el4) .history-events-item:nth-child(-n+4)::before{
    top: auto;
    bottom: 0;
}

.history-events-logos{
    margin-bottom: 0.75rem;
}

.page .history-events-description-list{
    padding-left: 0;
    margin-bottom: 0.625rem;
}

.page .history-event-description-item{
    margin: 0 0 0.375rem 0;
    color: #131313;
    font-size: 0.875rem;    
}

.history-events-year{
    font-weight: 600;
    font-size: 1.625rem;
    color: #000000;
}

.history-button-wrapper{
    display: none;
    width: 100%;
}

.history-button{
    display: block;
    cursor: pointer;
    width: 100%;
    padding-left: 3rem;
    height: 2rem;
    background: url('https://cdn.specialist.ru/Content/File/layouts/center-history/img/acco-item-active-rotate.png') center left no-repeat;
    background-size: auto 100%;
    font-size: 12px;
    border: none;   
    text-align: left;
    font-weight: 500;
    color: #2580C3;
    text-transform: uppercase;
}

/*Рост*/
.growth-block{
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #2580C3;
    margin-bottom: 5rem;    
}

.current.growth-block{
    border-top: 2px solid #004677;
    border-bottom: none;
    margin-bottom: 0;
}

.growth-list{
    display: flex;
    justify-content: space-between;
    width: 85%;
}

.current .growth-list{
    margin-bottom: -6rem;
}

.growth-year{
    width: 15%;
    margin-right: 1.25rem;
    font-weight: 600;
    font-size: 1.875rem;
    color: #2580C3;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0.3125rem;
}

.current .growth-year{
    align-items: flex-start;
    color: #004677;
    padding-bottom: 0;
    padding-top: 0.3125rem;
}

.growth-item{
    text-align: center;
}

.growth-item dt{
    font-weight: 600;
    font-size: 1.125rem;
    color: #000000;
    margin-bottom: 1.375rem;
    white-space: nowrap;
}

.current .growth-item dt{
    color: transparent;
    height: 1px;
    overflow: hidden;
    margin-bottom: 0;
}

.growth-item dd{
    width: 8.75rem;
    height: 8.75rem;   
    position: relative;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-left-color: transparent;
    margin: 0 auto;
}

.past .growth-item{
    transform: translateY(1.5625rem);
}

.current .growth-item{
    transform: translateY(-50%);
}

.current .growth-item dd{
    transform: rotate(45deg);
}

.past .growth-item dd{
    height: 3.125rem;   
}

.growth-item dd::before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.75rem;
    height: 3.75rem;
    border: 1px solid #004677;
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
}

.growth-item dd::after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6.4375rem;
    height: 6.4375rem;
    border: 1px solid #C4C4C4;
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
}

.past .growth-item dd::before, .past .growth-item dd::after{
    display: none;
}

.growth-item dd span{
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    width: 3.125rem;
    height: 3.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #2580C3;
    background: white;
    border-radius: 50%;   
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.current .growth-item dd span{
    transform: translate(-50%, -50%) rotate(-45deg);
    border-color: #004677;
}

.current .growth-item:nth-child(3) dd{
    border-color: rgba(196, 196, 196, 0.4);
    border-top-color: transparent;
    border-left-color: transparent;
}

.current .growth-item:nth-child(4) dd::after{
    border-color: transparent;
}

/*виды обучения*/
.learning-types-list{
    display: flex;
    justify-content: space-between;  
    align-items: flex-start;
    position: relative;  
}

.learning-types-list::before{
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #C4C4C4;
    top: 9.125rem;
    z-index: -1;
}

.learning-type-item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    flex-shrink: 1;
}

.learning-type-item:nth-child(2n){
   padding-top: 5.375rem;
}

.learning-type-item:nth-child(2n-1) .learning-type-year{
    order: 2;
}

.learning-type-item:nth-child(2n-1) .type-svg-icon{
    order: 1;
}

.learning-type-year{
    font-weight: 600;
    font-size: 1.75rem;
    color: #2580C3;
    text-align: center;
}

.learning-type{
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    height: 4.5rem;
    position: relative;
    padding-top: 0.4375rem;
    display: flex;
}

.learning-type::before{
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2.75rem;
    height: 2px;
    background: #2580C3;
}

.learning-type-item:nth-child(2n) .learning-type{
    padding-top: 0;    
    padding-bottom: 7px;
    align-items: flex-end;
}

.learning-type-item:nth-child(2n) .learning-type::before{
    bottom: 0;
    top: auto;
}

.type-svg-icon{
    flex-grow: 0;
    flex-shrink: 0;
    display: block;
    max-width: 100%;
}

.learning-type-item:hover .learning-type{
    color: #2580C3;
}

.learning-type-item:hover .learning-type-year{
    color: #FF6500;
}

.learning-type-item .type-svg-icon-hover{
    display: none;
}

.learning-type-item:hover .type-svg-icon{
    display: none;
}

.learning-type-item:hover .type-svg-icon-hover{
    display: block;
}

/*топ запросов*/
/*здесь размеры строго в пикселях, а адаптив - уменьшением масштаба*/
.page .top-requests-list{
    position: relative;
    padding-left: 0;
    height: 600px;
    width: 1240px;
    transform-origin: top left;    
}

.page .top-requests-list::before{
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: "";
    width: 100%;
    height: 15px;
    background-color: white;
    z-index: 2;
}

.page .top-request-item{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -1000px;
    border-radius: 50%;
    margin: 0;
}

.page .top-request-item .top-request-link-wrapper{
    position: absolute;
    display: block;
    color: black;
    padding-left: 8px;
}

.page .top-request-item .top-request-link-wrapper.down{
    position: absolute;
    display: block;
    color: black;
    padding-left: 8px;
    top: auto;
}

.top-request-link-wrapper a{
    color: black;
}

.top-request-link-wrapper a:hover{
    color: #2580C3;
}

.page .top-request-item .top-request-link-wrapper::before{
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    background-image: url("https://cdn.specialist.ru/Content/File/layouts/center-history/img/top-request.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center center;
}

.page .top-request-item .top-request-link-wrapper.down::before{
    top: auto;
    bottom: 0;
}

.top-request-item:nth-child(1){
    left: 0; 
    background: rgba(17, 209, 198, 0.29);
    width: 42px;
    height: 42px;    
}

.top-request-item:nth-child(2){
    left: 35px; 
    background: rgba(23, 226, 212, 0.5);
    width: 54px;
    height: 54px;    
}

.top-request-item:nth-child(3){
    left: 70px; 
    background: rgba(23, 226, 212, 0.5);
    width: 204px;
    height: 204px;    
}

.top-request-item:nth-child(3) .top-request-link-wrapper{
    left: 55px;
    top: -103px;
    padding-left: 12px;
}

.top-request-item:nth-child(3) .top-request-link-wrapper.down{
    bottom: -103px;    
}

.top-request-item:nth-child(3) .top-request-link-wrapper::before{
    height: 148px;
}

.top-request-item:nth-child(3) .top-request-link-wrapper a{
    font-weight: 700;
    font-size: 20px;
}

.top-request-item:nth-child(4){
    left: 257px;
    width: 98px;
    height: 98px;
    background: rgba(0, 240, 255, 0.7);
}

.top-request-item:nth-child(4) .top-request-link-wrapper{
    left: auto;
    right: 30px;
    top: -56px;
    padding-right: 12px;
}

.top-request-item:nth-child(4) .top-request-link-wrapper.down{
    bottom: -56px;
}

.top-request-item:nth-child(4) .top-request-link-wrapper::before{
    height: 70px;
    right: 0;
    left: auto;
}

.top-request-item:nth-child(4) .top-request-link-wrapper a{
    font-weight: 500;
    font-size: 14px;
}

.top-request-item:nth-child(5){
    left: 322px;
    width: 128px;
    height: 128px;
    background: rgba(0, 178, 255, 0.83);
}

.top-request-item:nth-child(5) .top-request-link-wrapper{
    left: 75px;
    top: -105px;
    padding-left: 12px;
}

.top-request-item:nth-child(5) .top-request-link-wrapper.down{
    bottom: -105px;    
}

.top-request-item:nth-child(5) .top-request-link-wrapper::before{
    height: 124px;
}

.top-request-item:nth-child(5) .top-request-link-wrapper a{
    font-weight: 700;
    font-size: 14px;
}

.top-request-item:nth-child(6){
    left: 417px;
    width: 246px;
    height: 246px;
    background: #0085FF;    
}

.top-request-item:nth-child(6) .top-request-link-wrapper{
    left: auto;
    right: 50px;
    top: -153px;
    padding-right: 12px;
    text-align: right;
}

.top-request-item:nth-child(6) .top-request-link-wrapper.down{
    bottom: -153px;
}

.top-request-item:nth-child(6) .top-request-link-wrapper::before{
    right: 0;
    left: auto;
    height: 207px;
}

.top-request-item:nth-child(6) .top-request-link-wrapper a{
    font-weight: 700;
    font-size: 20px;  
}

.top-request-item:nth-child(7){
    left: 630px;
    width: 118px;
    height: 118px;
    background: rgba(5, 0, 255, 0.65);
}

.top-request-item:nth-child(7) .top-request-link-wrapper{
    left: 43px;
    top: -46px;
    padding-left: 12px;    
}

.top-request-item:nth-child(7) .top-request-link-wrapper.down{
    bottom: -46px;
}

.top-request-item:nth-child(7) .top-request-link-wrapper::before{    
    height: 70px;
}

.top-request-item:nth-child(7) .top-request-link-wrapper a{
    font-weight: 500;
    font-size: 14px;  
}

.top-request-item:nth-child(8){
    left: 715px;
    width: 86px;
    height: 86px;
    background: rgba(112, 0, 255, 0.49);
}

.top-request-item:nth-child(8) .top-request-link-wrapper{
    left: 26px;
    top: -46px;
    padding-left: 12px;    
}

.top-request-item:nth-child(8) .top-request-link-wrapper{
    bottom: -46px;
}

.top-request-item:nth-child(8) .top-request-link-wrapper::before{    
    height: 60px;
}

.top-request-item:nth-child(8) .top-request-link-wrapper a{
    font-weight: 500;
    font-size: 13px;  
}

.top-request-item:nth-child(9){
    left: 787px;
    width: 60px;
    height: 60px;
    background: rgba(144, 37, 195, 0.4);
}

.top-request-item:nth-child(10){
    left: 832px;
    width: 142px;
    height: 142px;
    background: rgba(144, 37, 195, 0.8);
}

.top-request-item:nth-child(10) .top-request-link-wrapper{
    left: 0;
    top: -80px;
    padding-right: 12px;    
    text-align: right;
}

.top-request-item:nth-child(10) .top-request-link-wrapper.down{
    bottom: -80px;
}


.top-request-item:nth-child(10) .top-request-link-wrapper::before{  
    right: 0;
    left: auto;  
    height: 100px;
}

.top-request-item:nth-child(10) .top-request-link-wrapper a{
    font-weight: 700;
    font-size: 14px;  
}

.top-request-item:nth-child(11){
    left: 941px;
    width: 192px;
    height: 192px;
    background:  #C3258D;    
}

.top-request-item:nth-child(11) .top-request-link-wrapper{
    left: 42px;
    top: -105px;
    padding-left: 12px;       
}

.top-request-item:nth-child(11) .top-request-link-wrapper.down{
    bottom: -105px;
}

.top-request-item:nth-child(11) .top-request-link-wrapper::before{  
    height: 144px;
}

.top-request-item:nth-child(11) .top-request-link-wrapper a{
    font-weight: 700;
    font-size: 20px;  
}

.top-request-item:nth-child(12){
    left: 1114px;
    width: 58px;
    height: 58px;
    background: rgba(195, 37, 65, 0.5);
}

.top-request-item:nth-child(12) .top-request-link-wrapper{
    left: -60px;
    top: -106px;
    padding-right: 12px;
    text-align: right;       
}

.top-request-item:nth-child(12) .top-request-link-wrapper::before{  
    height: 121px;
    right: 0;
    left: auto;
}

.top-request-item:nth-child(12) .top-request-link-wrapper.down::before{
    display: none;
}

.top-request-item:nth-child(12) .top-request-link-wrapper a{
    font-weight: 400;
    font-size: 14px;  
}

.top-request-item:nth-child(13){
    left: 1166px;
    width: 34px;
    height: 34px;
    background:  rgba(195, 37, 37, 0.2);
}

/*Почему нас выбирают*/
.advantages-block{
   position: relative;
}

.diagram-block{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 300px;
    height: 100%;
}

.diagram-block svg{
    width: 100%;    
}

.diagram-block.right{
    left: auto;
    right: 0;
}

.diagram-block text{
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 4px 5px rgba(0, 0, 0, 0.5);
}

.text-person{
    font-weight: 600;
    font-size: 1.25rem;
    width: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #C3258D;
}

.text-person-right{
    width: 60%;
    left: auto;
    right: 0;
    text-align: right;
}

.page .prefers-list{
    padding-left: 0;
    padding-top: 110px;
}

.page .prefer-item{
    margin: 0;
    text-align: center;
    border-top: 1px solid black;
}   

.prefer-item span{
    display: inline-block;
    padding: 0.625rem 1.25rem;
    position: relative;
    top: -1.5625rem;    
    background: white;
    font-weight: 500;
    font-size: 1.25rem;
}

.page .prefer-item:nth-child(1){
    margin-bottom: 110px;
}

.page .prefer-item:nth-child(2){
    margin-bottom: 56px;
}

.page .prefer-item:nth-child(3){
    margin-bottom: 56px;
}

.page .prefer-item:nth-child(4){
    margin-bottom: 10px;
}

.page .prefer-item:nth-child(5){
    margin-bottom: -10px;
}

.only-mobile{
    display: none;
}

@media (max-width: 1220px) {
    .page .content{
        padding: 20px;
    }
}

@media (max-width:850px) {
    .diagram-block{
        display: flex;
        flex-direction: column;
        width: 200px;
        height: auto;
    }

    .text-person{
        position: relative;
        order: -1;
        width: 100%;
        height: 2.5rem;
        transform: none;
    } 

    .page .prefers-list{
        padding-top: 115px;
    }

    .prefer-item span{
        padding: 0.5rem 1rem;
    }

    .page .prefer-item:nth-child(1){
        margin-bottom: 65px;
    }

    .page .prefer-item:nth-child(2){
        margin-bottom: 22px;
    }

    .page .prefer-item:nth-child(3){
        margin-bottom: 16px;
    }

    .page .prefer-item:nth-child(4){
        margin-bottom: 0px;
    }
}

@media (max-width: 800px) {
    html{
        font-size: 15px;
    }

    .page .section-header{
        font-size: 1.25rem;
    }

    .page .growth-section-header{
        margin-bottom: 0.4rem;
    }

    .page .history-events-list{
        padding: 0 1.25rem 1rem 1.25rem;
    }

    .page .history-events-item{
        width: 50%;
        margin-bottom: 1.5rem;
    }

    .page .history-events-list::before{
        order: -1;
    }

    .page .history-events-list:not(.el4) .history-events-item:nth-child(-n+4)::before{
        bottom: auto;
        top:0;
    }

    .growth-block.only-mobile{
        display: flex;
    }

    .growth-block.past{
        margin-bottom: 4rem;
    }

    .current.growth-block:not(.only-mobile){
        margin-bottom: 2rem;
    }

    .growth-list{
        justify-content: space-around;
    }

    .growth-item{
        flex-shrink: 0;
    }

    .growth-item:nth-child(3), .growth-item:nth-child(4){
        display: none;
    }

    .growth-item.with-border dd{
        border: 1px solid transparent;
        border-color: rgba(196, 196, 196, 0.4);
        border-top-color: transparent;
        border-left-color: transparent;
        border-radius: 50%;             
    }

    .growth-item.no-border dd::after{
        display: none;
    }

    .learning-types-list{
        flex-direction: column;
    }

    .learning-types-list::before{
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
    }

    .learning-type-item{
        flex-direction: row-reverse;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .learning-type-item:nth-child(2n){
        padding-top: 0;
    }

    .learning-type-year{
        width: 33%;
        flex-shrink: 0;
        flex-grow: 0;
        text-align: left;
        padding-left: 20px;
    }

    .learning-type-item:nth-child(2n-1) .learning-type-year{
        text-align: right;
        padding-right: 20px;
    }

    .type-svg-icon{
        transform: translateX(25px) rotate(-90deg) scale(-1, 1);
        width: 100px;
        width: 97px;
        flex-shrink: 0;
        flex-grow: 0;
    }

    .learning-type{
        display: none;
    }

    .learning-type.only-mobile{
        display: flex;        
        height: auto;
        width: 33%;
        flex-shrink: 0;
        flex-grow: 0;
        text-align: left;
    }

    .learning-type-item:nth-child(2n) .learning-type.only-mobile{
        text-align: right;
        justify-content: flex-end;        
    }

    .learning-type-item:nth-child(2n-1) .type-svg-icon{
        transform: translateX(-25px) rotate(-90deg) scale(-1, 1);
    }

    .learning-type::before{
        left: 0;
        transform: none;
    }

    .learning-type-item:nth-child(2n) .learning-type::before{
        left: auto;
        right: 0;
    }

    .page .prefer-item:nth-child(2){
        margin-bottom: 32px;
    }
}


@media (max-width: 550px){
    .top-requests-section{
        height: auto!important;
    }

    .page .top-requests-list{
        width: 100%;  
        height: auto;      
    }

    .page .top-requests-list::before{
        top: 0;
        left: 50%;
        width: 5px;
        height: 101%;
        transform: translateX(-50%) translateY(0);
    }

    .page .top-request-item{
        position: static;        
        display: flex;
        justify-content: center;
        background: none!important;
        width: 100%;
        height: auto;
        transform: none;
        margin-bottom: -8px;
    }

    .page .top-request-item::before{
        display: block;
        content: "";
        order: 1;
        flex-shrink: 0;
        border-radius: 50%;        
    }

    .page .top-request-item .top-request-link-wrapper{
        position: relative;
        top: 0;
        left: 0;
        padding-left: 0;
        padding-right: 20px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-shrink: 0;
        text-align: right;
    }

    .page .top-request-item .top-request-link-wrapper.down{
        position: relative;
        top: 0;
        left: 0;
        display: flex;
        justify-content: flex-start;
        order: 2;
        text-align: left;
        padding-left: 20px;
    }

    .page .top-request-item .top-request-link-wrapper::before{
        background: url("https://cdn.specialist.ru/Content/File/layouts/center-history/img/top-request-horizontal.svg") center center no-repeat;
        background-size: cover;
        height: 4px;
        width: 20px;
        transform: translateX(-15px);
        position: absolute;      
        top: 50%;
        left: 100%;
        
    }

    .page .top-request-item .top-request-link-wrapper.down::before{
        left: auto;
        top: 50%;
        right: 100%;    
        transform: translateX(15px);
    }    

    .top-request-item:nth-child(1){
        display: none;
    }
    
    .top-request-item:nth-child(2)::before{
        background: rgba(145, 255, 235, 0.7);
        width: calc(16px);
        height: calc(16px);       
    }

    .top-request-item:nth-child(3)::before{
        width: calc(51px);
        height: calc(51px);
        background: rgba(20, 244, 231, 0.6);
    }

    .top-request-item:nth-child(3) .top-request-link-wrapper{
        width: calc((100% - 51px)/2);
    }

    .top-request-item:nth-child(3) .top-request-link-wrapper a{
        font-size: 11px;
    }

    .top-request-item:nth-child(4)::before{
        width: 25px;
        height: 25px;
        background: rgba(0, 240, 255, 0.7);
    }

    .top-request-item:nth-child(4) .top-request-link-wrapper{
        width: calc((100% - 25px)/2);
    }

    .top-request-item:nth-child(4) .top-request-link-wrapper a{
        font-size: 9px;
    }

    .top-request-item:nth-child(5)::before{
        width: 32px;
        height: 32px;
        background: rgba(0, 178, 255, 0.83);
    }

    .top-request-item:nth-child(5) .top-request-link-wrapper{
        width: calc((100% - 32px)/2);
    }

    .top-request-item:nth-child(5) .top-request-link-wrapper a{
        font-size: 9px;
    }

    .top-request-item:nth-child(6)::before{
        width: 62px;
        height: 62px;
        background: #0085FF;
    }

    .top-request-item:nth-child(6) .top-request-link-wrapper{
        width: calc((100% - 62px)/2);
    }

    .top-request-item:nth-child(6) .top-request-link-wrapper a{
        font-size: 11px;
    }

    .top-request-item:nth-child(7)::before{
        width: 30px;
        height: 30px;
        background: rgba(5, 0, 255, 0.65);
    }

    .top-request-item:nth-child(7) .top-request-link-wrapper{
        width: calc((100% - 30px)/2);
    }

    .top-request-item:nth-child(7) .top-request-link-wrapper a{
        font-size: 9px;
    }

    .top-request-item:nth-child(8)::before{
        width: 22px;
        height: 22px;
        background:rgba(112, 0, 255, 0.49);
    }

    .top-request-item:nth-child(8) .top-request-link-wrapper{
        width: calc((100% - 22px)/2);
    }

    .top-request-item:nth-child(8) .top-request-link-wrapper a{
        font-size: 9px;
    }

    .top-request-item:nth-child(9)::before{
        width: 15px;
        height: 15px;
        background:rgba(144, 37, 195, 0.4);
    }

    .top-request-item:nth-child(10)::before{
        width: 36px;
        height: 36px;
        background:rgba(144, 37, 195, 0.8);
    }

    .top-request-item:nth-child(10) .top-request-link-wrapper{
        width: calc((100% - 36px)/2);
    }

    .top-request-item:nth-child(10) .top-request-link-wrapper a{
        font-size: 9px;
    }

    .top-request-item:nth-child(10){
        margin-bottom: -4px;
    }

    .top-request-item:nth-child(11)::before{
        width: 48px;
        height: 48px;
        background:#C3258D;
    }

    .top-request-item:nth-child(11) .top-request-link-wrapper{
        width: calc((100% - 48px)/2);
    }

    .top-request-item:nth-child(11) .top-request-link-wrapper a{
        font-size: 11px;
    }

    .top-request-item:nth-child(11) .top-request-link-wrapper.down{
        width: calc((100% - 48px)/2);        
    }

    .top-request-item:nth-child(11) .top-request-link-wrapper.down a{
        font-size: 9px;
    }

    .top-request-item:nth-child(12)::before{
        width: 15px;
        height: 15px;
        background:#C3258D;
    }

    .top-request-item:nth-child(12) .top-request-link-wrapper{
        width: calc((100% - 15px)/2);
    }

    .top-request-item:nth-child(12) .top-request-link-wrapper a{
        font-size: 9px;
    } 

    .top-request-item:nth-child(12) .top-request-link-wrapper.down::before{
        display: none;
    }
}    

@media (max-width: 650px){
    
    .prefer-item span{
        font-size: 1rem;
        top: -1.25rem;
        padding: 0.3rem 1rem;
    }

    .diagram-block {
        width: 150px;
    }

    .page .prefers-list{
        padding-top: 95px;
    }

    .page .prefer-item:nth-child(1){
        margin-bottom: 50px;
    }

    .page .prefer-item:nth-child(2){
        margin-bottom: 20px;
    }

    .page .prefer-item:nth-child(3){
        margin-bottom: 12px;
    }

    .page .prefer-item:nth-child(4){
        margin-bottom: 6px;
    }

    .page .prefer-item:nth-child(5){
        margin-bottom: -4px;
    }
} 



@media (max-width: 480px) {
    html{
        font-size: 14px;
    }

    .page .history-events-item{
        width: 100%;
    }  

    .history-button-wrapper{
        display: block;
    }  



    .diagram-block {
        width: 100px;
    }

    .text-person{
        font-size: 0.875rem;
    }

    .page .prefers-list{
        padding-top: 68px;
    }

    .page .prefer-item{
        border-top-color: #aaa;
    }

    .prefer-item span{
        font-size: 10px;
        top: -14px;
        padding: 5px;
    }

    .page .prefer-item:nth-child(1){
        margin-bottom: 30px;
    }

    .page .prefer-item:nth-child(2){
        margin-bottom: 15px;
    }

    .page .prefer-item:nth-child(3){
        margin-bottom: 6px;
    }

    .page .prefer-item:nth-child(4){
        margin-bottom: -6px;
    }

    .page .prefer-item:nth-child(5){
        margin-bottom: -6px;
    }
}

@media (max-width: 390px) {
    .container{
        padding: 10px;
    }
   
    .growth-list{
        width: 90%;
    }

    .growth-year{
        width: 10%;
    }

    .growth-year{
        font-size: 1rem;
    }

    .current .growth-item {
        transform: translateY(-33%);
    }

    .growth-item dt{
        font-size: 12px;
    }

    .growth-item dd{
        width: 70px;
        height: 70px;
    }
    
    .growth-item dd::before{
        width: 38px;
        height: 38px;
    }

    .growth-item dd::after{
        width: 54px;
        height: 54px;
    }

    .growth-item dd span {
        font-size: 10px;
        width: 30px;
        height: 30px;
    }

    .learning-type-year{
        padding-right: 5px;
        text-align: right;
        padding-left: 0;
    }

    .learning-type{
        font-size: 12px;
        flex-basis: 102px;
    }

    .learning-type-item:nth-child(2n) .learning-type-year{
        text-align: left;
        padding-left: 30px;
        padding-right: 0;
    }

    .type-svg-icon{
        transform: translateX(32px) rotate(-90deg) scale(-1, 1);
    }

    .learning-type-item:nth-child(2n-1) .type-svg-icon{
        transform: translateX(-31px) rotate(-90deg) scale(-1, 1);
    }

    .growth-block.past{
        margin-bottom: 2.5rem;
    }
   
    
}

@media (max-width: 369px){
    .type-svg-icon{
        transform: translateX(28px) rotate(-90deg) scale(-1, 1);
    }

    .learning-type-item:nth-child(2n-1) .type-svg-icon{
        transform: translateX(-25px) rotate(-90deg) scale(-1, 1);
    }
}

@media (max-width: 336px){
    .type-svg-icon{
        transform: translateX(28px) rotate(-90deg) scale(-1, 1);
    }

    .learning-type-item:nth-child(2n-1) .type-svg-icon{
        transform: translateX(-22px) rotate(-90deg) scale(-1, 1);
    }
}

@media (max-width: 330px){
    .learning-type-item:nth-child(2n-1) .type-svg-icon{
        transform: translateX(-16px) rotate(-90deg) scale(-1, 1);
    }
}








