.main {
    text-align: center;
    padding-top: 20px;
}

.contents{
    display: flex;
    padding-top: 30px;
}

.item {
    padding: 0.5em 1em;
    margin: 2em 0;
    background: #FFF;
    border: solid 3px #252323;
    border-radius: 10px;
    width: 520px;
    height: 680px;
    margin: auto;
}

.imge {
    width: 100%;
}

.ptag{
    font-size: 22px;
}

.button {
    background-color: #0d6efd;
    color: white; 
    padding: 15px 32px; 
    text-align: center;
    text-decoration: none;
    display: inline-block; 
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 50px;
}

.button:hover {
    background-color: #0b5ed7;
}

.button-{
    padding-top: 35px;
    text-align: center;
}

.footer{    
    height: 120px;
    width: 100%;
    background-color: #313338;
}

.footer-moji {
    color: #f5f5f5;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}

.footer-moji:link {
    color: #f5f5f5;
}

.footer-moji:visited {
    color: #f5f5f5;
}

.footer-top {
    padding-top: 10px;
    font-size: 30px;
}

/* スマホ用 */
@media screen and (max-width: 768px) {
    
    .footer{    
        height: 120px;
        width: 100%;
        background-color: #313338;
    }
    
    .footer-moji {
        color: #f5f5f5;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 15px;
    }
    
    .footer-moji:link {
        color: #f5f5f5;
    }
    
    .footer-moji:visited {
        color: #f5f5f5;
    }
    
    .footer-top {
        padding-top: 10px;
        font-size: 25px;
    }

    .contents{
        display: block;
        padding-top: 30px;
    }
    
    .item {
        padding: 0.5em 1em;
        background: #FFF;
        border: solid 3px #252323;
        border-radius: 10px;
        width: 100%;
        height: 695px;
        margin-bottom: 5px;
    }

    .button-{
        padding-top: 10px;
        text-align: center;
    }
}
