.onlineItems{
    width: 100%;
}
.onlineItems .title{
    display: flex;
    width: 100%;
    height: 30vh;
    align-items: center;
    background-color: #c5c5c5;
}
.onlineItems .title .flex{
    width: 55%;
    margin: auto;
}
.onlineItems .title .flex h2{
    font-size: 3rem;
}
.onlineItems .title .flex h3{
    font-size: 1.4rem;
}
.onlineItems .mainItems{
    display: flex;
    min-width: 55%;
    width: max-content;
    max-width: 90%;
    margin: auto;
    margin-top: 50px;
    justify-content: space-evenly;
}
.onlineItems .mainItems .but{
    display: block;
    width: 250px;
    height: 60px;
}
.onlineItems .mainItems .but:nth-child(1){
    display: none;
}
.onlineItems .mainItems .but a{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    color: #000;
}
.onlineItems .mainItems .but:hover a{
    color: #333;
}
.onlineItems .mainItems .but a .flex{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.onlineItems .mainItems .but a .flex div{
    text-align: center;
}
.onlineItems .mainItems .but a .flex p{
    font-size: 1.2rem;
}
.onlineItems .mainItems .but a .flex i{
    font-size: 0.9rem;
}
.onlineItems .mainItems .but a .flex div p:nth-child(2){
    font-size: 0.8rem;
    color: #222;
}
.onlineItems .mainItems .but a .hoverAnime{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.onlineItems .mainItems .but a .hoverAnime div:nth-child(1),
.onlineItems .mainItems .but a .hoverAnime div:nth-child(3){
    width: 2px;
    height: 100%;
    position: absolute;
    background-color: #000;
    transition: all 0.5s;
}
.onlineItems .mainItems .but a .hoverAnime div:nth-child(1){
    top: 0;
    left: 0;
}
.onlineItems .mainItems .but a .hoverAnime div:nth-child(3){
    right: 0;
    bottom: 0;
}
.onlineItems .mainItems .but:hover a .hoverAnime div:nth-child(1),
.onlineItems .mainItems .but:hover a .hoverAnime div:nth-child(3){
    width: 2px;
    height: 20px;
}
.onlineItems .mainItems .but a .hoverAnime div:nth-child(2),
.onlineItems .mainItems .but a .hoverAnime div:nth-child(4){
    width: 100%;
    height: 2px;
    position: absolute;
    background-color: #000;
    transition: all 0.5s;
}
.onlineItems .mainItems .but a .hoverAnime div:nth-child(2){
    top: 0;
    left: 0;
}
.onlineItems .mainItems .but a .hoverAnime div:nth-child(4){
    right: 0;
    bottom: 0;
}
.onlineItems .mainItems .but:hover a .hoverAnime div:nth-child(2),
.onlineItems .mainItems .but:hover a .hoverAnime div:nth-child(4){
    width: 20px;
    height: 2px;
}
@media screen and (max-width:1025px){
    .onlineItems .title .flex h2{
        font-size: 2.5rem;
    }
    @media screen and (max-width:480px){
        .onlineItems .title .flex{
            width: 90%;
        }
        .onlineItems .title .flex h2{
            font-size: 2.3rem;
        }
        .onlineItems .title .flex h3{
            font-size: 1.3rem;
        }
    }
}
/*レスポンシブ対応済み　スマホ、タブレット*/