/* ---------------------

case

--------------------- */

.case_list {
    display: flex;
    flex-wrap: wrap;
}

.textarea {
    padding: 1rem;
    display: flex;
    display: flex;
    flex-direction: column;
}

.case_list .item .head {
    font-size: 1.1rem;
    font-weight: bold;
}

.case_list .item .head p {
    font-size: 1.1rem;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media screen and (max-width: 540px) {
    .case_list .item .head {
        font-size: 1rem;
        font-weight: bold;
    }
}

.case_list .item {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.case_list .item .info {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: auto;
    display: block;
    color: #636363;
}

@media screen and (max-width: 540px) {
    .case_list .item .info {
        font-size: 0.8rem;
        font-weight: bold;
        margin-top: auto;
        display: block;
        color: #636363;
    }
}



.case_list .item {
    width: 31%;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
    border-radius: 0.5rem;
    background-color: #fff;
    position: relative;
    margin: 1%;
    margin-bottom: 2.5rem;
}

@media screen and (max-width: 540px) {
    .case_list .item {
        width: 48%;
        margin-bottom: 2rem;
    }
}

.case_list .item .image {
    height: 10rem;
    overflow: hidden;
}

@media screen and (max-width: 540px) {
    .case_list .item .image {
        height: 7rem;
    }
}



.case_list .item .image img {
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: 0.3s ease;
}

.case_list .item:hover .image img {
    transform: scale(1.075);
    transition: 0.3s ease;
}

.case_list .item .image img:hover {
    opacity: 1;
}

.case_list .card_link {
    background-color: #00C17C;
    border-radius: 0px 0px 0.5rem 0.5rem;
    text-align: center;
    padding: 1rem 0;
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.case_detail_contents .head {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

@media screen and (max-width: 540px) {
    .case_detail_contents .head {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.case_detail_contents .company {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

@media screen and (max-width: 540px) {
    .case_detail_contents .company {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
}

.case_detail_contents .logo {
    width: 4rem;
    margin-right: 1.5rem;
}

.case_detail_contents .company .name {
    font-size: 1.3rem;
}

.case_detail_contents .company .info {
    font-size: 0.9rem;
    color: #5F5F5F;
}

.case_detail_contents p {
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 3rem;
}

.case_detail_contents .image {
    margin-bottom: 2rem;
}

.case_detail_contents h2 {
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

@media screen and (max-width: 540px) {
    .case_detail_contents h2 {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
}

.case_detail_contents h3 {
    line-height: 1.5;
    font-size: 1.1rem;
    padding-left: 2.4rem;
    margin-bottom: 0.75rem;
    color: #4586F4;
    position: relative;
    font-weight: 600;
}

.case_detail_contents h3::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0rem;
    transform: translateY(-50%);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    width: 1.5rem;
    height: 2px;
    background-color: #4586F4;
}

.case_detail_contents .cvbutton {
    margin: 6rem 0;
    width: 100%;
    text-align: center;
}

.case_detail_contents .cvbutton .button {
    width: 100%;
}

.case_detail_contents .cvbutton .main {
    justify-content: center;
}

/* ---------------------

case

--------------------- */

.materials_list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (max-width: 540px) {
    .materials_list {
        display: block;
    }
}

.textarea {
    padding: 1.5rem 1.5rem 1rem;
    height: 13rem;
}

@media screen and (max-width: 540px) {
    .textarea {
        padding: 1.25rem;
        height: 11em;

    }
}

.materials_list .item .head {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.materials_list .item {
    width: 46.5%;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
    border-radius: 0.5rem;
    background-color: #fff;
    position: relative;
    margin-bottom: 4rem;
}

@media screen and (max-width: 540px) {
    .materials_list .item {
        width: 100%;
        margin-bottom: 2.5rem;
    }
}

.materials_list .item .image {
    height: 17rem;
    overflow: hidden;
}

.materials_list .item .image img {
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: 0.3s ease;

}

.materials_list .item:hover .image img {
    transform: scale(1.075);
    overflow: hidden;
    transition: 0.3s ease;
}

.materials_list .item .image img:hover {
    opacity: 1;
}


.materials_list .card_link {
    background-color: #00C17C;
    border-radius: 0px 0px 0.5rem 0.5rem;
    text-align: center;
    padding: 1rem 0;
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.materials_list .textarea {
    height: 16rem;
}

.materials_list .textarea .sentence {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


.materials_detail_contents .head {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.materials_detail_contents .sentence {
    line-height: 1.8;
    font-weight: 400;
}

.materials_detail_contents h3 {
    border-left: 4px solid;
    line-height: 1;
    font-size: 1.1rem;
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
}

.materials_detail_contents h2 {
    border-left: 4px solid;
    line-height: 1;
    font-size: 1.1rem;
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
}

.top_document.materials_detailform {
    padding: 4rem 0;
}

.document_read {
    margin-bottom: 3rem;
}

.document_content {
    margin-bottom: 2rem;
}

.document_code {
    margin-bottom: 4rem;
}

.case_detail_contents .wp-block-column {
    box-shadow: 3px 4px 20px 0px rgba(0, 0, 0, 0.10);
}

.case_detail_contents .wp-block-column h5 {
    font-size: 0.8rem;
    background-color: #d3e3ff;
    margin: initial;
    padding: 0.75rem 1rem;
    font-weight: 500;
}


.case_detail_contents .wp-block-column p {
    font-size: 0.8rem;
    padding: 1rem;
    padding-top: 0.5rem;
    font-weight: 400;
    margin-bottom: 0;
}

.wp-container-core-columns-layout-1.wp-container-core-columns-layout-1 {
    margin-bottom: 3rem;
}

.document_thanks {
    height: 50vh;
}

.document_thanks{
    text-align: center;
}

.document_thanks .head{
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.document_thanks .sentence{
    margin-bottom: 2.5rem;
    line-height: 2;
}

.document_thanks a{
padding: 1rem 5.5rem;
display:block;
width: 80%;
margin: auto;
margin-top: 1rem;
max-width: 25rem;
color: #fff;
position: relative;
z-index: 1;
font-size: 1.7rem;
transition: .3s;
background: #00C17C;
border: 1px solid #00C17C;
line-height: 1;
}

.document_thanks .btnarea a span{
    font-size: 0.8rem;
}
