/* ============== info：事務所のご案内 ============== */
#info_message,
#info_outline {
    scroll-margin-top: 130px;
}
#contact_form {
    scroll-margin-top: 130px;
}
main {
    width: 100%;
    z-index: 0;
    padding-top: calc(var(--top-height) - 60px);
    opacity: 1;
}
.info, .contact {
    width: 1080px;
    margin: 0 auto;
    background-color: var(--color-sub-thin-d);
    border-radius: 20px;
    padding: 130px 0 80px;
}
.message {
    margin-bottom: 70px;
}
.info .message_title {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--color-sub-strong);
    font-weight: 700;
    margin-bottom: 60px;
}
.message_inner {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.message_inner .txt {
    flex: 1;   
}
.message_inner .title {
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 40px;
}
.message_inner .description {
    font-size: 1.04rem;
    line-height: 1.7;
}
.message_inner .description p {
    margin-bottom: 18px;
}
.message_inner .image_wrap {
    width: 300px;
}
.message_inner .image {
    width: 300px;
    aspect-ratio: 3 / 4;
    background-image: url(img/message_photo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 16px;
}
.message_inner .name_wrap {
    width: 100%;
    text-align: right;
}
.message_inner .name_wrap .sub {
    font-size: 0.85rem;
    line-height: 1;
    margin-bottom: 7px;
}
.message_inner .name_wrap .name {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;   
}
.office_outline {
    width: 80%;
    margin: 0 auto;
}
.office_outline_item {
    display: flex;
    margin-bottom: 5px;
}
.office_outline_item:last-child {
    margin-bottom: 0;
}
.office_outline_term {
    flex: 0 0 180px; /* 左のラベル幅（お好みで） */
    background-color: var(--color-primary-green);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    padding: 12px 0 14px;
    font-size: 0.95rem;
    margin-right: 5px;
}
.office_outline_desc {
    flex: 1 1 auto;
    background-color: #fff;
    border-radius: 0 10px 10px 0;
    padding: 12px 16px 14px;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 1180px) {
    .info, .contact {
        width: 90%;
    }
}
@media (max-width: 1080px) {
    .message_inner {
        width: 90%;
        gap: 30px;
    }
    .office_outline {
        width: 90%;
    }
    .message_inner .title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    .message_inner .description {
        font-size: 0.95rem;
    }
}
@media (max-width: 980px) {
    .message_inner .image_wrap {
        width: 280px;
    }  
    .message_inner .image {
        width: 280px;
    } 
}
@media (max-width: 880px) {
    .message_inner {
        width: 80%;
        gap: 30px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
}
@media (max-width: 780px) {
    .office_outline_item {
        margin-bottom: 10px;
        flex-direction: column;
    }
    .office_outline_item:last-child {
        margin-bottom: 0;
    }
    .office_outline_term {
        flex: 0 0 50px; /* 左のラベル幅（お好みで） */
        background-color: var(--color-primary-green);
        color: #fff;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 10px 10px 0 0;
        padding: 12px 0 14px;
        font-size: 0.95rem;
    
        margin-right: 0;
    }
    .office_outline_desc {
        flex: 1 1 auto;
        background-color: #fff;

        border-radius: 0 0 10px 10px;
        padding: 12px 16px 14px;
        font-size: 0.95rem;
        line-height: 1.5;
    }
}


@media (max-width: 680px) {
    .info, .contact {
        width: 92%;
        padding: 90px 0 30px;
    }
    .info .message_title {
        margin-bottom: 50px;
    }
    .message_inner {
        width: 90%;
        gap: 30px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    .message_inner .title {
        font-size: 1.4rem;
        line-height: 1.25;
        margin-bottom: 25px;
    }
    .message_inner .description {
        font-size: 0.9rem;
    }
}

.contact {
    height: 1000px;
}