@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@800&family=Noto+Sans+JP:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700;900&display=swap");

.top-hr {
    background-color: #DEDEDE;
    border: none;
    height: 1px;
    max-width: 1400px;
    margin: 0px auto;
    width: 95%;
}

.topInstagram {
    margin: 0 auto;
    padding: 70px 0;
}

@media only screen and (max-width: 800px) {
    .topInstagram {
        padding: 52px 0;
    }
}

.topInstagram .instaList {
    display: flex;
}

@media only screen and (max-width: 800px) {
    .topInstagram .instaList {
        flex-wrap: wrap;
    }
}

.topInstagram .instaList .instaItem {
    display: block;
    aspect-ratio: 0.8 / 1;
    overflow: hidden;
    width: calc(100% / 6);
}

@media only screen and (max-width: 800px) {
    .topInstagram .instaList .instaItem {
        width: calc(100% / 3);
    }
}

@media only screen and (max-width: 599px) {
    .topInstagram .instaList .instaItem {
        width: calc(100% / 2);
    }
}

.topInstagram .instaList .instaItem a {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 124.9%;
    overflow: hidden;
    transition: all .3s;
}

.topInstagram .instaList .instaItem a:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: all .3s;
}

.topInstagram .instaList .instaItem a img {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 業務案内　コンテンツ追加 */
.solution .txtBox__txt.margin{
    margin-top: 50px;
}
@media only screen and (max-width: 1023px) {
.solution .txtBox__txt.margin{
    margin-top: 0px;
}
}

.listType01 li .head{
    vertical-align: top;
}

.listType01 li .body{
    display: inline-block;
    width: calc(100% - 65px);
}
@media only screen and (max-width: 800px) {
.listType01 li .body br{
display: none;
}}

.content__photo.education img{
    height: unset;
    object-position: unset;
}