.office-top{
    padding-bottom: 60px;
}
.office-top__bgImg{
    max-width: 1920px;
    margin: 0 auto;
    padding: 60px 0;
    background-image: url("/system_panel/uploads/images/img_office_topBg01.png");
    background-size: cover;
}
.office-top__relative{
    position: relative;
}
.office-top__mainImg{
    margin: 0 -15px 0 -15px;
    padding-left: 60px;
    object-fit: cover;
    height: 300px;
}
.office-top__mainImg img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.office-top___titleBox{
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50px);
}
.office-top__title__ja{
    padding: 20px 30px;
    margin-bottom: 15px;
    background-color: #fff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 4.0rem;
    font-weight: 800;
    letter-spacing: 50;
}
@media screen and (min-width:768px){

}
@media screen and (min-width:1024px){
    .office-top{
        padding-bottom: 100px;
    }
    .office-top__mainImg{
        margin: 0 -15px 0 0;
        padding-left: 120px;
        height: auto;
    }
}
@media screen and (min-width:1230px){
    .office-top__mainImg{
        margin-right: max(calc((1200px - 100vw) / 2), -360px);
    }
}
.office-linkBox{
    padding-bottom: 60px;
}
.office-linkBox__flexBox{
    display: grid;
    grid-template-columns: repeat(auto-fill, 150px);
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
}
.office-linkBox__contents{
    padding: 20px 30px;
    margin: 0 auto;
    border: solid 1px var(--main-color);
    text-align: center;
}
.office-linkBox__contents p{
    color: var(--main-color);
}
@media screen and (min-width:768px){

}
@media screen and (min-width:1024px){
    .office-linkBox__flexBox{
        grid-template-columns: repeat(5, 1fr);
    }
    .office-linkBox{
        padding-bottom: 100px;
    }
}
@media screen and (min-width:1230px){

}
.office-message{
    padding-bottom: 60px;
    background-image: url("/system_panel/uploads/images/img_office_messageBg01.png");
    background-size: cover;
}

.office-message__subTitle{
    margin-bottom: 30px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 2.0rem;
    font-weight: 700;
    text-align: center;
}
.office-message__text{
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}
@media screen and (min-width:768px){

}
@media screen and (min-width:1024px){
    .office-message{
        padding-bottom: 100px;
    }
    .common__title__ja{
        font-size: 3.6rem;
    }
    .office-message__subTitle{
        font-size: 3.0rem;
    }
}
@media screen and (min-width:1230px){

}
.office-lawyer{
    position: relative;
    padding: 100px 0;
}
.office-lawyer__bgBox{
    content: "";
    position: absolute;
    top: 20%;
    left: 10%;
    right: 0;
    bottom: 0;
    background-color: var(--bg_blue-light);
    z-index: -1;
}
.office-lawyer__titleBox{
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 30px;
}
.office-lawyer__title__ja{
    font-size: 2.4rem;
    font-weight: 700;
    font-family: "Zen Kaku Gothic New", sans-serif;
}
.office-lawyer__title__en{
    font-size: 1.6rem;
    font-family: "IBM Plex Sans JP", sans-serif;
    color: var(--main-color);
}
.office-lawyer__img{
    text-align: center;
    margin-bottom: 60px;
}
.office-lawyer__name__ja{
    font-size: 2.0rem;
    font-weight: 700;
    font-family: "Zen Kaku Gothic New", sans-serif;
}
.office-lawyer__name__en{
    font-size: 1.8rem;
    color: var(--main-color);
}

.office-lawyer__flexBox{
    margin-bottom: 40px;
}
.office-lawyer__historyTitle{
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-color);
}
.office-lawyer__historyTitle::before{
    content: "■";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
}
.office-lawyer__tableRow{
    padding: 15px 0;
    border-bottom: solid 1px var(--main-color);
}
.office-lawyer__tableRow:first-of-type{
    border-top: solid 1px var(--main-color);
}
.office-lawyer__tableTd{
    padding-left: 1rem;
}
@media screen and (min-width:768px){

    .office-lawyer__name__ja{
        font-size: 2.5rem;
    }
    .office-lawyer__name__en{
        font-size: 2.0rem;
    }
}
@media screen and (min-width:1024px){
    .office-lawyer{
        padding: 160px 0;
    }
    .office-lawyer__bgBox{
        top: 32%;
        left: 5%;
        right: 0;
        bottom: 0;
    }
    .office-lawyer__titleBox{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        margin: inherit;
    }
    .office-lawyer__title__ja{
        writing-mode: vertical-rl;
        font-size: 3.6rem;
    }
    .office-lawyer__title__en{
        writing-mode: vertical-rl;
    }
    .office-lawyer__title__en{
        margin-left: 15px;
    }
    .office-lawyer__flexBox{
        display: flex;
        margin-bottom: 60px;
    }
    .office-lawyer__img{
        margin:0 0 0 80px;
    }
    .office-lawyer__nameBox{
        margin-left: 50px;
        padding-top: 60px;
    }
    .office-lawyer__name{
        margin-bottom: 30px;
        display: flex;
        gap: 15px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .office-lawyer__historyTitle{
        margin-bottom: 30px;
    }
    .office-lawyer__historyTable{
        max-width: 1000px;
        margin-left: 200px;
    }
    .office-lawyer__tableRow{
        display: flex;
        padding: 0;
        border: none;
    }
    .office-lawyer__tableRow:first-of-type{
        border-top: none;
    }
    .office-lawyer__tableTh{
        width: 30%;
        border-bottom: solid 1px var(--main-color);
        padding: 20px 30px;
    }
    .office-lawyer__tableRow:first-of-type .office-lawyer__tableTh {
        border-top: solid 1px var(--main-color);
    }
    .office-lawyer__tableTd{
        flex: 1;
        border-bottom: solid 1px #cccccc;
        padding: 20px 0 20px 60px;
    }
    .office-lawyer__tableRow:first-of-type .office-lawyer__tableTd {
        border-top: solid 1px #cccccc;
    }
}
@media screen and (min-width:1230px){
        .office-lawyer__name__ja{
        font-size: 3.6rem;
    }
}

.office-feature{
    padding-bottom: 60px;
    position: relative;
}
.office-feature__bgBox{
    content: "";
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--main-color);
    z-index: -1;
}
.office-feature__img{
    margin: 0 -15px;
    height: 300px;
}
.office-feature__img img{
    height: 100%;
    object-fit: cover;
}
.office-feature__gridBox{
    margin-top: 35px;
    padding: 35px;
    background-color: #43a296;
    display: grid;
    grid-template-rows: auto;
    grid-auto-columns: 10% 1fr;
    grid-template-areas:
    "feature-num01 feature-line"
    "feature-text01 feature-text01";
    row-gap: 10px;
    column-gap: 20px;
    align-items: center;
    justify-content: start;
}
.office-feature__num{
    grid-area: feature-num01;
    font-size: 4.8rem;
    font-weight: 700;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #fff;
}
.office-feature__line{
    grid-area: feature-line;
    width: 30px;
    margin-left: 15px;
}
.office-feature__textBox{
    position: relative;
    grid-area: feature-text01;
}
.office-feature__link{
    display: inline-block;
}
.office-feature__link p{
    color: #fff;
    text-align: end;
}
.office-feature__subTitle{
    margin-bottom: 10px;
    font-size: 2.4rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    color: #fff;
}
.office-feature__text{
    color: #fff;
}
.office-feature__03linkBox{
    width: fit-content;
    float: right;
    text-align: end;
}

@media screen and (min-width:768px){
    .office-feature__img{
        height: auto;
    }
    .office-feature__subTitle br{
        display: none;
    }
}
@media screen and (min-width:1024px){
    .office-feature{
        padding-bottom: 100px;
    }
    .office-feature__bgBox{
        top: 25%;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .office-feature__gridBox{
        grid-template-areas:
        "feature-num01 feature-line feature-text01" ;
        grid-auto-columns: auto;
    }
    .office-feature__num{
        font-size: 8.0rem;
    }
    .office-feature__line{
        width: 65px;
        margin-left: inherit;
    }
    .office-feature__subTitle{
        font-size: 3.0rem;
    }
}
@media screen and (min-width:1230px){
    .office-feature__img{
        margin-right: max(calc((1200px - 100vw) / 2), -360px);
    }
}
.office-office{
    position: relative;
    padding: 60px 0;
}
.office-office::before{
    content: "";
    position: absolute;
    top: 60%;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("/system_panel/uploads/images/img_office_officeBg01.png");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}
.office-office__flexBox{
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 60px;
}
.office-office__img{
    text-align: center;
    margin-bottom: 60px;
}
.office-office__tableRow{
    padding: 15px 0;
    border-bottom: solid 1px var(--main-color);
}
.office-office__tableRow:first-of-type{
    border-top: solid 1px var(--main-color);
}
.office-office__tableTd{
    padding-left: 1rem;
}
.office-office__img__flexBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.office-office__contents_img{
    max-width: 150px;
}
@media screen and (min-width:768px){

}
@media screen and (min-width:1024px){
    .office-office{
        padding: 100px 0;
    }
    .office-office::before{
        top: 200px;
    }
    .office-office__flexBox{
        flex-direction: row;
        gap: 50px;
    }
    .office-office__infoTable{
        width: 50%;
    }
    .office-office__img{
        flex: 1;
        margin-bottom: 0;
    }
    .office-office__tableRow{
        display: flex;
        padding: 0;
        border: none;
    }
    .office-office__tableRow:first-of-type{
        border-top: none;
    }
    .office-office__tableTh{
        width: 30%;
        border-bottom: solid 1px var(--main-color);
        padding: 20px 25px;
    }
    .office-office__tableRow:first-of-type .office-office__tableTh {
        border-top: solid 1px var(--main-color);
    }
    .office-office__tableTd{
        flex: 1;
        border-bottom: solid 1px #cccccc;
        padding: 20px 30px 20px 60px;
    }
    .office-office__tableRow:first-of-type .office-office__tableTd {
        border-top: solid 1px #cccccc;
    }
    .office-office__tableTd p{
    }
    .office-office__img__flexBox{
        flex-wrap: nowrap;
    }
    .office-office__contents_img{
        max-width: 300px;
    }
}

.office-access{
    padding-bottom: 80px;
}
.office-access__googlemap{
    height: 300px;
    width: 100%;
    margin-bottom: 60px;
}
.office-access__googlemap iframe{
    width: 100%;
    height: 100%;
}
.office-access__method{
    position: relative;
    padding-left: 30px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-color);
}
.office-access__method::before{
    content: "■";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
}
.office-access__flexBox{
    margin-bottom: 20px;
}
.office-access__flexBox:nth-last-of-type(1){
    margin-bottom: 0px;
}
@media screen and (min-width:768px){
    .office-access__googlemap{
        height: 400px;
    }
}
@media screen and (min-width:1024px){
    .office-access{
        padding-bottom: 160px;
    }
    .office-access__googlemap{
        height: 640px;
    }
    .office-access__flexBox{
        display: flex;
        gap: 30px;
    }
}