@charset "UTF-8";
/* 企業一覧 */
#page {
    background: #F3F3F3;
}
h1 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 20px auto 40px;
    text-align: center;
}
#client_list div.list {
    margin: 10px auto 50px;
    width: 900px;
}
#client_list .client_box {
    background: #FFF;
    border: 1px solid #FFF;
    border-radius: 10px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 1), 3px 3px 3px rgba(0, 0, 0, 0.3);
    height: fit-content;
    margin: 10px auto 20px;
    padding: 20px;
}
#client_list .client_box .client_info {
    padding: 0 0 0 20px;
    width: 80%;
}
#client_list .client_box .client_logo,
#client_list .client_box .client_info {
    float: left;
}
#client_list .client_box .client_logo {
    width: 110px;
    text-align: center;
}
#client_list .client_box .client_logo img {
    border: 1px solid #EFEFEF;
}
#client_list .client_box .client_name {
    margin-bottom: 20px;
    text-decoration: underline;
}
#client_list .client_box .description p {
    font-size: 12px;
    line-height: 22px;
    overflow-wrap: anywhere;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}
@media screen and (max-width: 768px) {
    #client_list .client_box .client_name {
        padding-left: 120px;
    }
    #client_list .client_box .client_info {
        float: none;
        padding: 0;
        width: 100%;
    }
    #client_list .client_box .description {
        float: inline-end;
        margin-top: 10px;
    }
}
@media screen and (max-width: 1200px) {
    .main {
        margin-bottom: 0;
        width: auto;
    }
    #client_list div.list {
        margin: 10px auto 50px;
        width: 90%;
    }
}

/* 企業詳細 */
#client_content {
    background: #FFF;
    border: 1px solid #FFF;
    border-radius: 5px;
    display: inline-block;
    margin: 0 auto 0 20px;
    padding: 20px;
    width: 720px;
}
#client_content .client_header .client_name,
#client_content .client_header .client_logo {
    display: inline-block;
    vertical-align: middle;
}
#client_content .client_header .client_name h2 {
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}
#client_content .client_header .client_logo img {
    border: 1px solid #EFEFEF;
}
#client_content .description {
    font-size: 12px;
    line-height: 22px;
    margin-top: 10px;
    overflow-wrap: anywhere;
}
#client_content  h2 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
}
@media screen and (max-width: 1200px) {
    #client_content {
        display: block;
        margin: 0 auto;
        width: 90%;
    }
}
