/* ページ別 */
/* トップイメージ */
#TopImageBox{
    width: 100% ;
    height: 400px;
    margin: 0 auto;
    margin-top: 70px;
    background-image: url();

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#TopImage{
    width: 100%;
    height: 400px;

}
@media screen and (max-width: 500px) { 
    #TopImageBox{
        width: 100% ;
        height: auto;
        margin: 0 0;
        margin-top: 70px;
        padding: 0;
        background-color: white;
    }
    #TopImage{
        width: 100%;
        height: auto;
    }
}
/* トップイメージ　終了 */


/* ■メインコンテンツ■ */
main{
    width: 100%;
    margin: 0 auto;
    background-color: white;
    z-index: -10;
}

#onboarding1{
    display: flex ;
    flex: 1;
    flex-direction: row;
}

.onboarding_photo{
    height: 300px;
    width: 400px;
}

.onboarding_textbox{
    padding-left: 20px;
}
.onboarding_text{
    /* margin-left: 20px; */
}

.home_h2{
    font-size: 70px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    border-bottom: 5px solid transparent;
    border-color: azure;
}
@media screen and (max-width: 500px) { 
    main{
        width: 100%;
        margin: 0;
        background-color: white;
    }
    
    #onboarding1{
        flex-direction: column;
    }
    
    .onboarding_photo{
        width: 80%;
        height: auto;
        margin: 0 auto;
    }
    
    .onboarding_textbox{
        padding-left: 20px;
    }
    .onboarding_text{
        /* margin-left: 20px; */
    }
    
}


/* ポートフォリオ */
.portfolio_box{
    width: 1000px;
    height: 500px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    background-color: rgb(185, 183, 183);
}

#portfolio_listing_box{
    width: 900px;
    height: 340px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    -webkit-justify-content: space-between; /* Safari */
    justify-content:         space-between;

    position : absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);

}

.portfolio_card{
    width: 250px;
    height: 300px;
    margin: 20px 0;
    background-color: bisque;
}

.SNS_card_area{
    display: flex;
    position: relative;
    padding: 20px;
    margin: 0 auto;
}


@media screen and (max-width: 500px){
    .SNS_card_area{
        flex-direction: column;
    }
    .skill_area{
        flex-direction: column;
    }

}

.SNS_card_area a{
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
}


.card{
    width: 250px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    background-color: var(--color-main);
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .4);
    overflow: hidden;
    color: aliceblue;
    font-size: 32px;
    text-align: center;
}

.card a{
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
}

.card:hover{
    
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .8);


}

.card_img{
    padding-top:10px ;
    width: 250px;
    height: 187.5px;
}

.roundButton{
    width: auto;
    border-radius: 10px;
    padding: 10px;
    margin: 0 auto;
    position : absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    color: azure;
    font-size: 20pt;
    background-color:var(--color-main);

}

.roundButton:hover{
    background-color:var(--color-main-deep);
    color: aliceblue;
    border-color: azure;
}

@media screen and (max-width: 500px){
    .portfolio_box{
        width: 100%;
        height: 1130px;
    }
    #portfolio_listing_box{
        display: block;
        width: 100%;
        height: 1000px;
    }
    
    .portfolio_card{
        width: 250px;
        height: 300px;
        margin: 20px auto;
        background-color: bisque;
    }
    .roundButton{
        width: 80%;
        font-size: 18px;
        text-align: center;
    }
}




/* JS関数向けCSS */

/* ■スライドイン■ */
.scroll-fade-side{
    opacity: 0;
    transition-duration: 1000ms;
    transition-property: opacity, transform;
}

.sideIn_up   {transform: translate(  0px,  70px);}
.sideIn_down {transform: translate(  0px, -70px);}
.sideIn_right{transform: translate( 70px,   0px);}
.sideIn_left {transform: translate(-70px,   0px);}

.scroll-in{
    opacity: 1;
    transform: translate(0, 0);
}

@media screen and (max-width: 500px){
    .sideIn_up   {transform: translate(  0px,  70px);}
    .sideIn_down {transform: translate(  0px, -70px);}
    .sideIn_right{transform: translate(  0px,  70px);}
    .sideIn_left {transform: translate(  0px, -70px);}

}
/* ■スライドイン終了■ */


/* ■レスポンシブ　スマホ向けサイト■ */

/* ■レスポンシブ　スマホ向けサイト 終了■ */



/* スクロール */

#flickscroll {
	margin: 0 auto;
	width: 400px;
	height: 400px;
	text-align: left;
	position: relative;
}
#flickscroll ul {
	top: 0;
	left: 0;
	height: 400px;
	position: absolute;
	overflow: hidden;
}
#flickscroll ul li {
	width: 400px;
	height: 400px;
	float: left;
	display: inline;
	overflow: hidden;
}

#flickscroll #moveprev {
	top: 0;
	left: -30px;
	width: 30px;
	height: 400px;
	background: transparent url(../img/moveprev.jpg) no-repeat left top;
	position: absolute;
	cursor: pointer;
}

#flickscroll #movenext {
	top: 0;
	right: -30px;
	width: 30px;
	height: 400px;
	background: transparent url(../img/movenext.jpg) no-repeat left top;
	position: absolute;
	cursor: pointer;
}
