@charset "UTF-8";

html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    
}

.card-container {
    width: 320px;
    height: 520px;
    background-color: #dedada;
    box-shadow: 0px 0px 28px 3px #ededed;
    border-radius: 20px;
    margin: 50px 30px;
    
}

.image img {
    width: 100%;
    border-radius: 20px 20px 0 0;
}



h1 {
    font-size: 24px;
    text-align: center;
    margin-top: -10px;
}

h2 {
    font-size: 12px;
    text-align: center;
}

.sns ul {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    text-align: center;
}

.sns ul li {
    width: 30px;
    transition: all .5s;
    margin-right: 35px;
}


.sns ul li img {
    width: 100%;
}

.sns ul li:hover {
    transform: translateY(-10px);
}

.card-body {
    width: 80%;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.heading .social ul li {
    text-align: center;
   
} 

button {
    display: inline-block;
    padding: 7px 20px;
    width: 200px;
    background: rgb(55, 55, 55);
    box-shadow: 0px 0px 28px 3px;
    transform: skew(-21deg);
    font-size: 1rem;
    color: #fff;
    margin-top: 2rem;
    position: relative;
}

button span {
    display: inline-block;
    transform: skew(21deg);
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    left: 0;
    transition: all .5s;
    background: #FF00FF;
}

button:hover {
    color: #FCFCF5;
}

button:hover::before {
    right: 0;
}

.type3 {
    position: relative;
}
.card-body-type3 {
    width: 80%;
    padding: 32px ;
    position: absolute;
    bottom: 160px;
    background-color: #dedada;
}

.description {
    margin-top: 2rem;
    display: none;
    
}

.description p {
    font-size: 14px;
}

.type3 .image.open img {
    filter:brightness(70%);
    transition: all .6s;

}
