/* PC */
:target {
    scroll-margin-top: 215px;
}
#mobile_header{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    background-color: #fff;
}
#pc_header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    background-color: #fff;
}
.pc_header_upper, .pc_header_lower{
    width: 100%;
}
.pc_header_upper>div{
    display: inline-flex;
    vertical-align: top;
}
.pc_header_upper{
    height: 132px;
    border-bottom: solid 1px #4A595B;
}
.pc_header_lower{
    border-bottom: solid 1px #4A595B;
    display: flex;
}
.pc_header_lower>div{
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.pc_header_logo{
    width: 117px;
    height: 100%;
}
.pc_header_logo>img{
    margin-left: 39px;
    height: 100%;
}
.pc_header_title{
    width: calc(100% - 117px - 117px);
    text-align: center;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.pc_header_title>h1{
    font-weight: 700;
    font-size: 48px;
}
.pc_header_lower{
    padding: 15px 0;
}
.pc_call_me_button{
    flex: 0 0 360px;
}
.pc_call_me_button>button{
    font-family: 'Times New Roman', Times, serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    background-color: #4A595B;
    padding: 7px 10px;
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    border: #4A595B solid 1px;
}
.pc_navbar_wrapper{
    padding: 0 15px;
    border-right: 1px solid #4A595B;
    flex-grow: 1;
    text-align: center;
}
.pc_navbar_wrapper>a{
    text-decoration: none;
    color: #4A595B;
    font-size: 32px;
    font-weight: 700;
}
.pc_phone_number{
    flex: 0 0 300px;
}
.pc_phone_number>b>a{
    text-decoration: none;
    color: #343434;
    font-size: 36px;
    font-weight: 700;
}
.pc_header_upper {
    transition: transform 0.2s ease, opacity 0.2s ease, height 0.2s ease;
    transform-origin: top;
}
.pc_header--upper-hidden .pc_header_upper {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    border-bottom: none;
}
.pc_header--upper-hidden .pc_header_lower {
    border-top: solid 1px #4A595B;
}
.pc_call_me_button>button:hover {
    color: #4A595B;
    background-color: #ffffff;
    transition: 0.2s;
    border: #4A595B solid 1px;
}
.pc_navbar_wrapper>a:hover {
    color: #2a3839;
    transition: all 0.25s ease;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #111717;
}

@media screen and (max-width: 1750px){
    :target {
        scroll-margin-top: 210px;
    }
    .pc_header_upper{
        height: 112px;
    }
    .pc_header_logo{
        width: 100px;
    }
    .pc_header_logo>img{
        margin-left: 33px;
    }
    .pc_header_title{
        width: calc(100% - 100px - 100px);
    }
    .pc_header_title>h1{
        font-size: 41px;
    }
    .pc_header_lower{
        padding: 10px 0;
    }
    .pc_call_me_button{
        flex: 0 0 306px;
    }
    .pc_call_me_button>button{
        margin: 0 20px;
        font-size: 28px;
    }
    .pc_navbar_wrapper{
        padding: 0 10px;
    }

    .pc_navbar_wrapper>a{
        font-size: 28px;
    }
    .pc_phone_number{
        flex: 0 0 255px;
    }
    .pc_phone_number>b>a{
        font-size: 31px;
    }
}
@media screen and (max-width: 1550px){
    :target {
        scroll-margin-top: 174px;
    }
    .pc_header_upper{
        height: 90px;
    }
    .pc_header_logo{
        width: 80px;
    }
    .pc_header_logo>img{
        margin-left: 26px;
    }
    .pc_header_title{
        width: calc(100% - 80px - 80px);
    }
    .pc_header_title>h1{
        font-size: 33px;
    }
    .pc_header_lower{
        padding: 8px 0;
    }
    .pc_call_me_button{
        flex: 0 0 245px;
    }
    .pc_call_me_button>button{
        font-size: 22px;
    }
    .pc_navbar_wrapper{
        padding: 0 8px;
    }

    .pc_navbar_wrapper>a{
        font-size: 22px;
    }
    .pc_phone_number{
        flex: 0 0 204px;
    }
    .pc_phone_number>b>a{
        font-size: 25px;
    }
}
@media screen and (max-width: 1200px){
    :target {
        scroll-margin-top: 140px;
    }
    .pc_header_upper{
        height: 72px;
    }
    .pc_header_logo{
        width: 64px;
    }
    .pc_header_logo>img{
        margin-left: 21px;
    }
    .pc_header_title{
        width: calc(100% - 64px - 64px);
    }
    .pc_header_title>h1{
        font-size: 26px;
    }
    .pc_header_lower{
        padding: 5px 0;
    }
    .pc_call_me_button{
        flex: 0 0 196px;
    }
    .pc_call_me_button>button{
        margin: 0 10px;
        font-size: 18px;
    }
    .pc_navbar_wrapper{
        padding: 0 5px;
    }
    .pc_navbar_wrapper>a{
        font-size: 18px;
    }
    .pc_phone_number{
        flex: 0 0 163px;
    }
    .pc_phone_number>b>a{
        font-size: 20px;
    }
}





/* MOBILE */
@media screen and (max-width: 1000px){
    :target {
        scroll-margin-top: 140px;
    }
    #pc_header{
        display: none;
    }
    #mobile_header{
        display: block;
        width: 100%;
    }
    .mobile_header_upper{
        background-color: #D9D9D9;
        height: 100px;
        border-bottom: #4A595B 1px solid;
    }
    .mobile_header_upper>div{
        display: inline-block;
        vertical-align: middle;
    }
    .mobile_header_logo{
        width: 60px;
        height: 100%;
    }
    .mobile_header_logo>img{
        height: 100%;
    }
    .mobile_call_me_button{
        width: 80px;  
    }
    .mobile_call_me_button>a{
        text-decoration: none;
    }
    .mobile_call_me_button>a>img{
        width: 50px;
        margin: 0 15px;
    }
    .mobile_header_title{
        width: calc(100% - 70px - 80px);
        text-align: left;
    }
    .mobile_header_title>h1{
        font-weight: 700;
        font-size: 35px;
        color: #4A595B;
        margin-left: 20px;
    }
    .mobile_header_lower{
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: #4A595B 1px solid;
    }
    .mobile_header_lower_disabled{
        transition: 0.1s;
        opacity: 0;
        
    }
    .mobile_navbar_wrapper{
        margin: 5px 7px;
    }
    .mobile_navbar_wrapper>a{
        text-decoration: none;
        color: #4A595B;
        font-size: 25px;
        font-weight: 700;
    }
}
@media screen and (max-width: 675px){
    :target {
        scroll-margin-top: 130px;
    }
    .mobile_header_title>h1{
        font-size: 20px;
    }
    .mobile_navbar_wrapper>a{
        font-size: 16px;
    }
    .mobile_navbar_wrapper {
        margin: 5px 15px;
    }
}
@media screen and (max-width: 565px){
    .mobile_navbar_wrapper {
        margin: 5px 10px;
    }
}
@media screen and (max-width: 505px){
    .mobile_navbar_wrapper {
        margin: 5px;
    }
}
@media screen and (max-width: 470px){
    :target {
        scroll-margin-top: 75px;
    }
    .mobile_header_upper{
        height: 50px;
    }
    .mobile_header_lower{
        justify-content: space-between;
    }
    .mobile_header_logo{
        width: 40px;
    }
    .mobile_call_me_button{
        width: 50px;  
    }
    .mobile_call_me_button>a>img{
        width: 35px;
        margin: 0;
    }
    .mobile_header_title{
        width: calc(100% - 100px);
    }
    .mobile_header_title>h1{
        font-size: 20px;
        margin-left: 10px;
    }
    .mobile_navbar_wrapper>a{
        font-size: 14px;
    }
    .mobile_navbar_wrapper {
        margin: 4px 5px;
    }
}
@media screen and (max-width: 385px){
    .mobile_navbar_wrapper>a{
        font-size: 12px;
    }
}