

/* Debug */



/* 変数定義 */
:root {
    --color-main: rgba(109, 206, 219, 1);
    --color-main-deep: rgba(8, 132, 149, 1);
    --color-accent: red;
    --color-base: rgba(255, 218, 146, 1);
}

/* サイト内共通部 */
html{
    background-color: var(--color-base)
}


body{
    margin: 0 auto;
    width: 100%;
    z-index: -100;
    /* container-type: inline-seize; */
}

h2{
    padding: 20px;
    margin: 0;
    animation: SlideIn 1.6s;
}
/* @keyframes SlideIn {
    0% {
    opacity: 0;
    transform: translateX(64px);
    }
    100% {
    opacity: 1;
    transform: translateX(0);
    }
}  */



/* ヘッダー */

header{
    height: 70px;
    width: 100%;
    /*layout*/
    position:fixed;
    top: 0;
    left: 0;
    z-index:10000 ;
    /*style*/
    background-color: var(--color-main);
    color: azure;
}

#header_hide{
    height: 70px;
    width: 100%;
}

#headerDiv{
    max-width: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex : 1;
    padding: 0 10px;
}


h1{
    text-align: center;
    line-height: 70px;
    margin: 0;
}


#header_nav{
    height: 70px;
    width: 70%;
    margin: 0 0 0 0;
    /*style*/
    /* background-color: white;
    color: black; */
}

#header_nav_list{
    height: 70px;
    margin: 0 0 0 0;
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
}

li{
    /*layout*/
    flex : 1;
    text-align: center;
    height: 70px;
    margin: 0 auto;
    display: block;
    
    /*style*/
    font-size: 20px;
    /* Debug */
    /* padding: 10px 20px; */
    background-color: var(--color-main);
    color: #3e3d3c;
    border-bottom: 5px solid transparent;
    border: black;
}
li:hover{
    background-color: var(--color-main-deep);
    color: aliceblue;
    height: 65px;
    border-bottom: 5px solid transparent;
    border-color: azure;
}
a.navlist{
    display: block;
    height: 20px;
    padding-top: 30px;
    padding-bottom: 10px;
    text-decoration: none;
    color: azure;
}

#hamburger_menu{
    height: 70px;
    margin: 0;
    /* display: none; */
    z-index:10001 ;
}
#sidemenu{
    position: absolute;
    display: none;
}
.close_sidemenu{
    position: absolute;
    display: none;
}
.hamburger_icon{
    display: none;
    height: 75px;
    width: auto;
    margin: 0 0 0 0;
    font-size: 60px;
    font-weight: 80;
    text-align: center;
    line-height: 75px;
}
@media screen and (max-width: 500px) {
    header{
        height: 70px;
        width: 100%;

    }
    #headerDiv{
        width: 100%;
    }
    h1{
        font-size: 30px;
        line-height: 70px;
        padding-left: 5px;
    }
    #header_nav{
        width: 0px;
    }

    #header_nav_list{
        display: inline;
        width: 100%;
        position: absolute;
        top: -300px;
        left: 0px;
        padding: 0;
    }
    .hamburger_icon{
        display: block;
        position: absolute;
        top: 0;
        right: 0;

    }
    input[type="checkbox"]:checked ~ #header_nav_list{
        width: 100%;
        top: 70px;
        left: 0px;
        
    }
    input[type="checkbox"]:checked ~ .hamburger_icon{
        display: none;
    }
    input[type="checkbox"]:checked ~ .back_sidemenu{
        position: fixed;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0,0,0,0.6);
    }
    input[type="checkbox"]:checked ~ .close_sidemenu{
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        font-size: 50px;
        z-index:10005 ;
    }
}

/* ヘッダー　終了 */

/* フッター */
footer{
    width: 100%;
    height: 300px;
    background-color: var(--color-main);
    margin: 0 auto;

}
/* フッター　終了 */
/* サイト内共通部　終了 */




/* ページ別 */
/* トップイメージ */
#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);}

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


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

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


/* プロフィールページ */
#profileBox{
    width: 100%;
    height: 500px;
    padding-top: 70px;
    display: flex;
    flex-direction : row;
    flex-wrap: wrap;
    z-index: -10;
    display: none;
}

#profileBox1{

    width: calc(50%);
	height: 500px;
	background: red;
    z-index: 0;
}
#profileBox1::before{
    content: "";
    position: absolute;
    left: calc(50% - 50px);
    width: 50px;
    height: 500px;
	background: #e7d2d2;
    transform: skewX(11.3deg);
    z-index: 3;
}

#profileBox2{
    width: calc(50%);
	height: 500px;
	background: #6011c7;
    position: absolute;
    right: 0;
    z-index: 0;
}
#profileBox2::before{
    content: "";
    position: absolute;
    left: calc(- 25px);
    width: 50px;
    height: 500px;
	background: #0c0101;
    transform: skewX(11.3deg);
    z-index: 1;
}

#profile_history{
    height: 100%;
    width: 100%;
    background-color: antiquewhite;
}

/* 開店 */
.skill_area{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* flex: 1; */
    justify-content: center;
    margin: 10px auto;
}


.skill_card{
    width: 200px;
    height: 200px;
    margin: 20px;
    position: relative;
    cursor: pointer;
}

/* .skill_card::before{
    content: "";
    display: block;
    padding-top: 0;
} */

.skill_card .front,
.skill_card .back{
    max-width: 200px;
    max-height: 200px;
    transition: all 1s;
    position: absolute;
    backface-visibility: hidden;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .2);
}

.skill_card .back {
    transform: rotateY(-180deg);
}
.skill_card:hover .front {
    transform: rotateY(180deg);
}
.skill_card:hover .back {
    transform: rotateY(0);
}
@media screen and (max-width: 500px){
    .skill_area{
        /* flex-direction: column; */
    }

}


スクロール

#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;
}
