@font-face {
    font-family: Roboto-Light;
    src: url(../sources/fonts/Roboto-Light.ttf);
}

#home-title-div{
    float: left;
    height: 22.22vw;
    width: 100vw;
    padding-top: 4.44vw;
    box-sizing: border-box;
    background-image: url(../sources/image/home_title_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

#home-title-c{
    margin-left: 5.7vw;
    font-family: STKaiti, DFKai-SB, BiauKai, "Times New Roman", Times, serif;
    color: #050505;
    width: max-content;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 4vw;
    height: 5vw;
    line-height: 5vw; 
    margin-top: 0.9vw;
    margin-bottom: 0.9vw;
    padding-right: 3.5vw;
}

#home-title-c label{
    letter-spacing: -2.78vw;
}

#home-title-e{
    margin-top: 0.14vw;
    margin-left: 5.7vw;
    font-family: STKaiti, DFKai-SB, BiauKai, "Times New Roman", Times, serif;
    font-weight: 100;
    color: #050505;
    width: max-content;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 3.5vw;
    line-height: 4.65vw;
    margin-top: 0.35vw;
    margin-bottom: 0.35vw;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
}

#home-title-about{
    display: none;
    margin-left: 6.2vw;
    margin-top: 0.9vw;
    color: #050505;
    font-size: 0.83vw;
    line-height: 1.18vw;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: color 0.1s;
}

#home-title-about:hover{
    color: #AA8350;
}

#home-title-about-arrow{
    display: none;
    margin-left: 9px;
    width: 20px;
    height: 10px;
}

#home-news-div{
    float: left;
    margin-left: 40px;
    width: calc(100% - 40px);
}

.home-div-name{
    margin-top: 20px;
    margin-bottom: 20px;
    color: black;
    font-size: 20px;
    line-height: 29px;
    letter-spacing: 1px;
}

#home-to-news{
    float: right;
    margin-right: 40px;
    margin-top: 23px;
    color: black;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: color 0.1s;
}

#home-to-news:hover{
    color: #AA8350;
}

.home-news-box{
    float: left;
    margin-right: 40px;
    width: calc(25vw - 50px);
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: black;
}

.home-news-title{
    height: 23px;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 1px;
    overflow: hidden;
}

.home-news-capture{
    margin-top: 10px;
    font-size: 13px;
    max-height: 80px;
    line-height: 20px;
    letter-spacing: 1px;
    overflow: hidden;
    transition: color 0.1s;
}

.home-news-box:hover .home-news-capture{
    color: #AA8350;
}

.home-news-date{
    margin-top: 23px;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

#home-service-div{
    float: left;
    margin-left: 40px;
    width: calc(100% - 40px);
    margin-bottom: 20px;
}

.home-service-title{
    float: left;
    width: calc(33.3vw - 15px);
    margin-top: 20px;
    color: black;
    font-size: 26px;
    line-height: 38px;
    letter-spacing: 1px;
}

.home-service-law{
    height: 220px;
}

.home-service-tax{
    height: 125px;
}

.home-service-content{
    float: left;
}

.home-service-name{
    float: left;
    margin-top: 15px;
    margin-left: 30px;
    margin-right: 40px;
    width: calc(33.3vw - 83px);
    border-bottom: solid 2px #E7E8EC;
    height: 35px;
    color: black;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: color 0.1s;
}

.home-service-name:hover{
    color: #AA8350;
}

.home-service-block{
    float: left;
    width: 100%;
    height: 34px;
}

#home-prof-div{
    float: left;
    margin-left: 40px;
    width: calc(100% - 80px);
}

.home-div-photo{
    float: left;
    width: 62.5%;
    height: 35.2vw;
    margin-left: 18.75%;
    margin-bottom: 50px;
    overflow: hidden;
    background-image: url('../sources/image/about/about-img-0.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

#home-prof-box{
    float: left;
    margin-top: 0px;
    width: 100%;
    height: calc(26.66vw - 79px);
}

.home-prof-arrow{
    float: left;
    width: 48px;
    height: 100%;
    background-size: contain;
    background-position: center 38%;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.1s;
}

#home-prof-left{
    background-image: url(../sources/image/arrow_left_icon.svg);
}

#home-prof-right{
    background-image: url(../sources/image/arrow_right_icon.svg);
}

.home-prof-arrow::after{
    content: attr(data-descr);
    float: left;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center 38%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: background-size 0.1s;
}

#home-prof-left::after{
    background-image: url(../sources/image/arrow_left_icon_hover.svg);
}

#home-prof-right::after{
    background-image: url(../sources/image/arrow_right_icon_hover.svg);
}

.home-prof-arrow:hover{
    background-size: 0% auto;
}

.home-prof-arrow:hover::after{
    opacity: 1;
}

#home-prof-scroll{
    float: left;
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 136px);/* 100vw - 216px;*/
    height: 100%;
    overflow: hidden;
}

#home-prof-screen{
    float: left;
    width: calc(200% + 160px);/* 200vw - 272px;*/
    height: 100%;
    margin-left: calc(-50% - 80px);/* -50vw + 28px;*//* -50vw + 28px + 50vw - 68px*/
}

.home-prof-info{
    float: left;
    margin-left: 40px;
    margin-right: 40px;
    width: calc(25% - 80px); /* 50vw - 148px;*/
    height: calc(26.66vw - 79px);
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: solid 3px #979797;
    box-sizing: border-box;
    overflow: hidden;
}

.home-prof-photo{
    display: none;
    width: 100%;
    height: calc(26.66vw - 79px);
    object-fit: cover;
}

.home-prof-name{
    margin-top: 7.6vw;
    color: black;
    font-size: 26px;
    line-height: 38px;
    letter-spacing: 1px;
    text-align: center;
}

.home-prof-title{
    float: left;
    margin-left: 50%;
    margin-top: 0px;
    color: black;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 1px;
    text-align: center;
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.home-prof-title-hover{
    margin-top: 6px;
    height: 4px;
    background-color: #AA8350;
    width: 0%;
    transition: width 0.2s;
}

.home-prof-info:hover .home-prof-title-hover{
    width: 100%;
}

#home-prof-des{
    float: left;
    margin-left: 68px;
    margin-right: 68px;
    margin-top: 30px;
    margin-bottom: 50px;
    width: calc(100% - 136px);
    color: black;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 1px;
}


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

    .home-prof-name{
        margin-top: 5vw;
    }
}


@media only screen and (min-width: 1440px){

    #home-title-div{
        height: 320px;
        width: 1440px;
        padding-top: 62px;
    }
    
    #home-title-c{
        margin-left: 82px;
        font-size: 58px;
        height: 72px;
        line-height: 72px;
        margin-top: 13px;
        margin-bottom: 13px;
        padding-right: 50px;
    }
    
    #home-title-c label{
        letter-spacing: -40px;
    }
    
    #home-title-e{
        margin-top: -4px;
        margin-left: 182px;
        font-size: 51px;
        line-height: 67px;
        padding-left: 7px;
        padding-right: 7px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    #home-title-about{
        margin-left: 89px;
        margin-top: 13px;
        font-size: 12px;
        line-height: 26px;
        margin-bottom: 70px;
    }
    
    .home-news-box{
        width: 310px;
    }
    
    .home-service-title{
        width: 465px;
    }

    .home-service-content{
        width: 934px;
    }
    
    .home-service-name{
        width: 397px;
    }

    #home-prof-box{
        height: 305px;
    }
    
    .home-prof-info{
        height: 305px;
    }
    
    .home-prof-photo{
        height: 0px;
    }


    .home-prof-name{
        margin-top: 110px;
    }

    .home-div-photo{
        margin-left: 270px;
        width: 900px;
        height: 507px;
    }
}


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

    .pc{
        display: none;
    }

    #home-title-div{
        height: 37vw;
        width: 100vw;
        padding-top: 4vw;
        background-position: 0% 50%;
    }
    
    #home-title-c{
        margin-left: 5.33vw;
        font-size: 7.5vw;
        line-height: 10vw;
        height: 10vw;
        margin-top: 0.86vw;
        margin-bottom: 0.86vw;
        padding-right: 10vw;
        
    }
    
    #home-title-c label{
        letter-spacing: -8vw;
    }
    
    #home-title-e{
        margin-top: 0vw;
        margin-left: 5.33vw;
        font-size: 5vw;
        line-height: 7.2vw;
        height: 7.2vw;
        padding-left: 1vw;
        padding-right: 1vw;
    }
    
    #home-title-about{
        margin-left: 5.33vw;
        margin-top: 2.4vw;
        font-size: 3.47vw;
        line-height: 4.8vw;
        margin-bottom: 0vw;
    }
    
    #home-title-about-arrow{
        margin-left: 2vw;
        width: 4.53vw;
        height: 1.87vw;
        transform: translateY(-10%);
    }

    #home-news-div{
        margin-left: 5.33vw;
        width: 89.34vw;
    }
    
    .home-div-name{
        margin-top: 5.33vw;
        margin-bottom: 5.33vw;
        text-align: center;
        font-size: 4.27vw;
        line-height: 5.87vw;
        font-weight: 600;
    }
    
    #home-to-news{
        display: none;
    }
    
    .home-news-box{
        float: left;
        margin-right: 0px;
        width: 100%;
        height: auto;
        border-top: solid 1px #E7E8EC;
    }
    
    .home-news-title{
        float: left;
        height: auto;
        width: 66.67vw;
        margin-top: 3.2vw;
        margin-bottom: 3.2vw;
        font-size: 3.47vw;
        line-height: 4.27vw;
    }
    
    .home-news-capture{
        display: none;
    }
    
    .home-news-date{
        display: none;
    }
    
    .home-news-mob-date{
        float: left;
        margin-top: 3.2vw;
        font-size: 3.47vw;
        line-height: 4.27vw;
        letter-spacing: 1px;
        color: #999999;
        text-align: right;
        width: 22.5vw;
    }
    
    #home-service-div{
        margin-left: 5.33vw;
        width: 89.34vw;
    }
    
    .home-service-title{
        float: left;
        width: 89.34vw;
        margin-top: 0vw;
        font-size: 4.27vw;
        line-height: 14.4vw;
        letter-spacing: 1px;
        font-weight: 600;
        border-bottom: solid 1px #E7E8EC;
    }
    
    .home-service-law,
    .home-service-tax{
        height: auto;
    }
    .home-service-content{
        float: left;

    }
    
    .home-service-name{
        float: left;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        width: 89.34vw;
        margin-top: 0vw;
        font-size: 3.47vw;
        line-height: 14.4vw;
        border-bottom: solid 1px #E7E8EC;
        height: auto;
        background-image: url(../sources/image/menu-mobile-arrow.svg);
        background-repeat: no-repeat;
        background-position: 100% 50%;
        background-size: 18px 18px;
    }
    
    .home-service-block{
        float: left;
        width: 100%;
        height: 5.33vw;
    }
    
    #home-prof-div{
        margin-left: 0px;
        width: 100vw;
    }
    
    #home-prof-box{
        float: left;
        margin-top: 0px;
        width: 100%;
        height: 61vw;
    }
    
    .home-prof-arrow{
        width: 6.4vw;
        background-position: center 35%;
    }
    
    #home-prof-left{
        display: none;
        position: relative;
        z-index: 1;
        margin-left: 1.6vw;
        background-image: url(../sources/image/arrow_left_mob.svg);
    }
    
    #home-prof-right{
        display: none;
        background-image: url(../sources/image/arrow_right_mob.svg);
    }

    .home-prof-arrow:hover{
        background-size: contain;
    }
    
    .home-prof-arrow:hover::after{
        opacity: 0;
    }
    
    #home-prof-scroll{
        margin-left: 0vw;
        margin-right: 0vw;
        width: 100vw;
        height: 56.8vw;
    }
    
    #home-prof-screen{
        width: 368vw;
        margin-left: -88vw;
        height: 56.8vw;
    }
    
    .home-prof-info{
        margin-left: 1.33vw;
        margin-right: 1.33vw;
        width: 89.33vw;
        height: 56.8vw
    }
    
    .home-prof-photo{
        height: 56.8vw;
    }

    .home-prof-msg-box{
        float: left;
        width: 89.34vw;
        margin-left: 5.33vw;
    }

    .home-prof-mobile-info{
        float: left;
        width: 89.34vw;
        height: 16.8vw;
        opacity: 0;
        -webkit-transition: opacity 0.2s;
        -moz-transition: opacity 0.2s;
        -o-transition: opacity 0.2s;
        transition: opacity 0.2s;
    }
    
    .home-prof-name{
        position: relative;
        float: left;
        width: 89.34vw;
        margin-top: 20vw;
        font-size: 4.8vw;
        line-height: 6.67vw;
    }
    
    .home-prof-title{
        position: relative;
        float: left;
        max-width: 89.34vw;
        margin-top: 0vw;
        font-size: 3.47vw;
        line-height: 4.8vw;
    }
    
    .home-prof-title-hover{
        display: none;
        float: left;
        margin-top: 1.07vw;
        height: 0.53vw;
        width: 100%;
    }
    
    .home-prof-mobile-info[num="1"]{ margin-top: -16.8vw; }
    .home-prof-mobile-info[num="2"]{ margin-top: -16.8vw; }
    .home-prof-mobile-info[num="3"]{ margin-top: -16.8vw; }

    .home-prof-msg-box[num="0"] > [num="0"],
    .home-prof-msg-box[num="1"] > [num="1"],
    .home-prof-msg-box[num="2"] > [num="2"],
    .home-prof-msg-box[num="3"] > [num="3"]{ opacity: 1; }
    #home-prof-line{
        float: left;
        height: 1px;
        margin-left: 28.8vw;
        margin-right: 28.8vw;
        width: 42.4vw;
        background-color: #E7E8EC;
    }

    .home-prof-dot{
        float: left;
        margin-top: 5.33vw;
        margin-left: 2.67vw;
        width: 2.67vw;
        height: 2.67vw;
        background-color: #E7E8EC;
        transition: background-color 0.2s;
    }

    .home-prof-dot[num="0"]{
        margin-left: 35.325vw;
    }
    
    .home-prof-msg-box[num="0"] > .home-prof-dot[num="0"],
    .home-prof-msg-box[num="1"] > .home-prof-dot[num="1"],
    .home-prof-msg-box[num="2"] > .home-prof-dot[num="2"],
    .home-prof-msg-box[num="3"] > .home-prof-dot[num="3"]{
        background-color: #999999;
    }
    
    #home-prof-des{
        float: left;
        margin-left: 8vw;
        margin-right: 8vw;
        margin-top: 0vw;
        margin-bottom: 6.4vw;
        width: 84vw;
        font-size: 3.47vw;
        line-height: 4.8vw;
    }

    .home-div-photo{
        width: 89.34vw;
        height: 59.34vw;
        margin-left: 5.33vw;
        margin-top: 4.53vw;
    }
}