@media screen and (max-width: 767px){
    .head .logo img {
        width: 180px !important;
    }
}
@media screen and (max-width: 500px) {
    ul.flex.f-link li:first-child {
        border-right: 1px solid;
    }
    ul.flex.f-link {
        width: 270px;
        margin: 0 auto 20px;
    }
    .profile a.contact span {
        font-size: 13px;
    }
}

@media screen and (max-width: 350px) {
    .hero-content h2.ttl {
        margin-bottom: 10px;
        font-size: 23px;
    }
    .hero-content .search span {
        font-size: 12px;
        background-size: 20px 20px;
    }
    .hero-content .search .search-form input::placeholder {
        font-size: 12px;
    }
}

.archive h4.ttl {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    width: 100%;
    -webkit-box-orient: vertical;
    margin-bottom: 22px;
    display: -webkit-box;
}

.archive .list .item .img img {
    object-fit: cover;
    object-position: top;
}

span,p {
    word-break: break-all;
}

@media screen and (max-width: 991px) {
    .head .h-link.desktop {
        display: none;
    }
    .head .h-link.mobile {
        display: block;
    }
    .head .h-link.mobile a {
        background-image: url('../img/h-magnifying.png');
        width: 50px;
        height: 50px;
        margin-right: 52px;
    }
}

@media screen and (min-width: 991px) {
    .head .h-link.mobile {
        display: none;
    }
}
