#case .icon {
    width: 15%;
    z-index: 5;
}
#case-first {
    position: relative;
    padding-bottom: 125px;
}
#case-first .rc {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -9%;
}
#case-first .lb {
    position: absolute;
    bottom: 0;
    left: -5%;
}
#case-first .ttl-txt {
    margin-bottom: 95px;
}
#case-first h2 {
    color: #C22F4D;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 50px;
}
#case-first .case h2 {
    margin-bottom: 65px;
    font-size: 26px;
}
#case-first .tag {
    width: fit-content;
    margin: auto;
    text-align: center;
    background-color: #fff;
    border-radius: 50px;
    border: 1px solid #333;
    padding: 13px 40px;
    font-size: 26px;
    font-weight: bold;
}
#case-first .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 210px;
}
#case-first .head .txt {
    width: calc(50% - 45px);
}
#case-first .head h3 {
    color: #C22F4D;
    font-weight: bold;
    line-height: 2.5;
    margin-bottom: 25px;
}
#case-first .head p {
    line-height: 2.7;
}
#case-first .head .image {
    width: 50%;
}
#case-first .head .image img {
    border-radius: 15px;
    aspect-ratio: 10 / 9;
    background-color: #EEE;
}
@media screen and (max-width: 768px) {
    #case-first {
        position: relative;
        padding-bottom: 25px;
    }
    #case-first .rc {
        width: 25%;
        top: 37%;
        transform: translateY(-37%);
        right: -9%;
    }
    #case-first .lb {
        width: 25%;
        left: -30px;
    }
    #case-first .ttl-txt {
        margin-bottom: 20px;
    }
    #case-first h2 {
        font-size: 16px; /* 修正済み */
        margin-bottom: 25px;
    }
    #case-first .tag {
        border-radius: 40px;
        padding: 8px 40px;
        font-size: 14px; /* 修正済み */
        font-weight: bold;
    }
    #case-first .head {
        flex-direction: column;
        margin-bottom: 60px;
    }
    #case-first .head .txt {
        width: 100%;
    }
    #case-first .head h3 {
        line-height: 2;
        margin-bottom: 15px;
    }
    #case-first .head p {
        line-height: 2.1;
        margin-bottom: 25px;
    }
    #case-first .head .image {
        width: calc(100% + 40px);
    }
    #case-first .head .image img {
        border-radius: 0;
        aspect-ratio: 75 / 56;
        object-fit: cover;
    }
    #case-first .case h2 {
        margin-bottom: 35px;
        font-size: 16px; /* 修正済み */
    }
}
#case-first .contents {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
}
#case-first .contents .item {
    width: 100%;
    display: flex;
    flex-direction: column;
}
#case-first .contents .item .ttl {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#case-first .contents .txt {
    width: 11.6%;
    margin-bottom: 5px;
}
#case-first .contents .item:first-child .num {
    width: 16.8%;
}
#case-first .contents .item .num {
    width: 20.8%;
}
#case-first .contents .item .card {
    width: 100%;
    border-radius: 30px;
    background-color: #fff;
    padding: 65px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
#case-first .contents .item h3 {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    line-height: 2.1;
    margin-bottom: 10px;
}
#case-first .contents .item p {
    font-size: 16px;
    line-height: 2.7;
    margin-bottom: 45px;
}
#case-first .contents .item span {
    color: #C22F4D;
    font-weight: bold;
}
#case-first .contents .item .card img {
    border-radius: 30px;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: #EEE;
}
@media screen and (max-width: 768px) {
    #case-first .contents {
        grid-template-columns: repeat(1, minmax(100%, 1fr));
        gap: 50px;
        margin-top: 0;
    }
    #case-first .contents .txt {
        width: 11.6%;
        margin-bottom: 5px;
    }
    #case-first .contents .item:first-child .num {
        width: 16.8%;
    }
    #case-first .contents .item .num {
        position: relative;
        z-index: 5;
        width: 20.8%;
        margin-bottom: -5px;
    }
    #case-first .contents .item .card {
        border-radius: 24px;
        padding: 35px 20px;
        height: 100%;
    }
    #case-first .contents .item h3 {
        font-size: 16px; /* 修正済み */
        line-height: 1.9;
        margin-bottom: 10px;
    }
    #case-first .contents .item p {
        font-size: 14px; /* 修正済み */
        line-height: 2.1;
        margin-bottom: 20px;
    }
    #case-first .contents .item .card img {
        border-radius: 25px;
    }
}