@charset "utf-8";

section.staff .heading.black {
    display: flex;
    flex-wrap: wrap;
}
section.staff .heading.black::before {
    display: none;
}
section.staff .heading.black span.main {
    color: #000;
    font-size: 36px;
    width: 100%;
}
section.staff .heading.black span.sub {
    color: #999;
    font-size: 20px;
    font-weight: normal;
}
section.staff .heading.black::after {
    display: block;
    border-bottom: 1px solid #999999;
    content: "";
    flex-grow: 1;
    margin-bottom: 7px;
    margin-left: 1rem;
}
section.staff p.text {
    font-size: 1.8rem;
    line-height: 1.5555555556;
    font-weight: 500;
    margin: 3rem 0 5rem;
}
section.staff ul {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 10rem;
}
section.staff ul li {
    width: 340px;    
}
section.staff ul li p {
    font-weight: bold;
    padding: 5px 0;
    text-align: right;
}
section.staff div.consult {
    position: relative;
    padding: 0 20px 50px;
}
section.staff div.consult p {    background: #D8D0C2;
    border-radius: 600px;
    padding: 140px 90px 0 150px;
    box-sizing: border-box;
    max-width: 600px;
    height: 600px;
    position: absolute;
    top: 50px;
    left: 490px;
    z-index: 1;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2;
}
section.staff div.consult a {
    position: relative;
    z-index: 2;
}
section.staff div.consult img {
    max-width: 580px;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    section.staff .heading.black span.main {
        font-size: 2.4rem;
    }
    section.staff .heading.black span.sub {
        font-size: 1.6rem;
    }
    section.staff p.text {
        font-size: 1.6rem;
        line-height: 1.8;
    }
    section.staff div.consult {
        padding: 0;
    }
    section.staff div.consult p {
        position: relative;
        font-size: 1.6rem;
        padding: 40px 20px;
        border-radius: 50px;
        left: 0;
        top: -10px;
        height: auto;
    }
}