@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');


/*.social{
    display:block;
    flex-flow: column;
    color: black;
    text-align: center;
    font-family: "MS Pゴシック",sans-serif;
}
.pchan{
    color: black;
    text-align: center;
    font-family: "MS Pゴシック",sans-serif;
}
a{
    display: block;
}
#counter{
    width: 100%;
    padding: 1em 0;
    font-size: large;
    text-align: center;
}
#btnAdd, #btnReset, #btnMinus{
    width: 100%;
    font-size: large;
}
*/
.navbar .nav-link{
    color:#fff !important;
    font-size: 14px;
    font-weight: 700;
}


:root{
    --purple:#4f2660;
    --lime: #b5da62;
    --dark:#000000;

    --box-shadow:0 8px 22px rgba(0,0,0,0.2);
}
body{
    font-family: 'Righteous', cursive;
    line-height: 1.7;
    color: var(--dark);
}

h1,
h2,
h3,
h4,
h5,
h6{
   color:var(--purple);
    font-weight:700;
}

a{
    color: var(--lime);
    text-decoration: none;
}

/* .hero{
    background-image: url(face_1.jpg);
    background-position: center;
    background-size:cover;
    background-attachment: fixed;

    position: relative;
    z-index: 2;
}   
.hero::after{
    content: "";
    position: absolute;
    width:100%;
    height:100%;
    top:0;
    left: 0;   
    background-color: rgba(0,0,0, 0.7);
    z-index: -1;

} */

#card-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.card-effect {
    box-shadow: var(--box-shadow);
    background-color: #fff;
    padding: 25px;    
    transition: all 0.35s ease;
}

.card-effect:hover{
    box-shadow: none;
    transform: translateY(5px);

}
.iconbox{
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lime);
    color: #fff;
    font-size: 32px;
    border-radius: 100px;
    flex: none;
}

.cards{
    position: relative;
    z-index: 2;
    overflow: hidden;
    
}
.cards::after{
    content: "";
    position: absolute;
    top:-100%;
    left:0;
    background-color: var(--lime);
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;

}
.cards:hover h5,
.cards:hover p{
    color:white;
}
.cards:hover .iconbox{
    background-color: #fff;
    color: var(--lime);
}

.cards:hover::after{
    opacity: 1;
    top: 0;
}

.col-img{
    background-image: url(face_1.jpg);
    background-position: center;
    background-size: cover; /* 画像の全部を収めることができる。 */
    min-height: 500px;

}
.col-img2{
    width: 50%;
    height: 50%;
    background-image: url(C:\Users\pippi\code\pchan\images\face_1.jpg);
    background-position: center;
    background-size: cover; /* 画像の全部を収めることができる。 */
    min-height: 400px;
}
body {
    padding-top: 150px ;
}
.p_p {
    margin-bottom: 50px;
    /* max-height: 300px; */
    overflow: hidden;
}