@charset "UTF-8";

html{
    font-size: 100%;
    font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "メイリオ", "Meiryo", "verdana", sans-serif;
    background-color: #fdfff0;
}

.wrapper{
    max-width: 960px;
    padding: 3%;
    margin: 0 auto;
}

body{
    margin-top: 76px;
}

a{
    text-decoration: none;
    color: #444;
}

p{
    color: #444;
}

img{
    max-width: 100%;
}

li {
    list-style: none;
    display: flex;
}

/* ---ヘッダー--- */
#header{
    justify-content: center;
    display: flex;
    padding: 20px 0;
    background-color:#ffdd6d;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

.menu{
    display: flex;
    margin: 0 auto;
    
}
.menu li a{
    margin: 10px;
    color: #444;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.menu li a:hover{
    color: #ffffff;
}

/* ---MV--- */
#mv{
    width: 90%;
    height: 70vh;
    margin: 150px auto;
    flex-direction: column;
}

#mv img{
    width: 400px;
    height: 400px;
}
.mv-img{
    display: flex;
    justify-content: space-evenly;
}

h1{
    color: #ffaa00;
    font-size: 3rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    letter-spacing: 1px;
}

h2{
    color: #444;
    font-size: 2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    margin: 3rem 0;
}

h3{
    color: #444;
    text-align: center;
    margin: 2rem auto;
}

/* ---WORKS--- */
.works-h3-border{
    width: 50%;
    display: flex;
    align-items: center;
}
.works-h3-border:before,
.works-h3-border:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #ffe59d;
}
.works-h3-border:before {
    margin-right: 1rem;
}
.works-h3-border:after {
    margin-left: 1rem;
}


.box{
    display: flex;
    flex-wrap: wrap;
}

#works ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#works li{
    width: 31%;
    margin: 10px;
    
}
#works img{
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin: 10px;
    box-shadow: 2px 2px 15px #666666;
    border-radius: 10px;
    transition:all 0.4s ease;
}
#works img:hover{
    box-shadow: 0 3px 6px 0 #333;
	transform: translateY(-0.1875em);
}
.works-each h2{
    margin-top: 150px;
    font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "メイリオ", "Meiryo", "verdana", sans-serif;
}


/* ---ABOUT--- */
/* ---私について--- */
.profile{
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 100px;
}
.profile img{
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 30px;
}
.profile-text-all{
    width: 40%;
    letter-spacing: 1px;
    line-height: 2;
}
.profile-text{
    margin-top: 15px;
}
.profile img{
    width: 300px;
    height: 300px;
    object-fit: cover;
}

/* ---できること--- */
.skill{
    display: flex;
    margin: 0 auto;
}
.skill img{
    width: 30px;
    height: 30px;
}
.skill-1, .skill-2{
    width: 50%;
    margin-left: 10%;
}
.skill-each{
    margin-bottom: 20px;
}
.skill-name{
    margin-bottom: 1rem;
}
.skill-line{
    margin: 1rem 0;
    height: 1px;
    width: 50%;
    background-color: #555;
}

/* ---CONTACT--- */
.contact-box{
    display: block;
    text-align: center;
}

/* ---works-each(遷移先ページ)--- */
.works-each img{
    width: 40%;
    display: block;
    margin: 0 auto;
    box-shadow: 5px 5px 10px #333;
}
.table{
    width: 80%;
    margin: 20px auto;
}
.table a:hover{
    color: #ffb700;
}
.table th{
    width: 30%;
    border-bottom: 1px solid #b5b1b1;
    padding: 20px;
}
.table td{
    width: 70%;
    border-bottom: 1px solid #b5b1b1;
    padding: 20px;
}
.table-text{
    letter-spacing: 1px;
    line-height: 1.2rem;
}

/* ---フッター--- */
footer{
    text-align: center;
    margin: 50px;
    color: #897155;
}


/* ====レスポンシブ==== */
@media (max-width:750px) {
    h1{
        font-size: 2.5rem;
        letter-spacing: -1px;
        line-height: 60px;
    }
    #mv{
        height: 200px;
        margin-bottom: 300px; 
    }
    h3{
        margin: 1rem auto;
    }
    
    #works li{
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    #works img{
        width: 70%;
        height: 380px;
        object-fit: cover;
    }
    .profile{
        flex-direction: column;
    }
    .profile img{
        margin: 30px auto;

    }
    .profile-text-all{
        margin: 0 auto;
        width: 80%;
    }
    .skill-1, .skill-2{
        width: 50%;
        margin-left: 15%;
    }
    .works-each img{
        width: 60%;
    }
    
}


@media (max-width:420px){
    h1{
        font-size: 2rem;
    }
    h2{
        font-size: 1.2rem;
    }
    h3{
        font-size: 0.7rem;
    }
    .menu li a{
        font-size: 13px;
    }
    #mv{
        margin: 100px auto 150px auto;
    }
    #mv img{
        width: 200px;
        height: 200px;
    }
    #works img{
        width: 250px;
        height: 200px;
        object-fit: cover;
        
    }
    .profile img{
        width: 200px;
        height: 200px;
        object-fit: cover;
    }
    .profile-text-all{
        width: 80%;
        font-size: 0.7rem;
        margin: 0 auto;
    }
    .skill img{
        width: 15px;
        height: 15px;
    }
    .skill-1, .skill-2{
        margin-left: 10%;
    }
    .skill-name{
        font-size: 0.7rem;
    }
    .skill-line{
        width: 80%;
    }
    .table tr{
        padding: 7px;
    }
    .table th,.table td{
        width: 100%;
        padding: 7px;
        display: block;
        text-align: left;
    }
    .table th{
        border-bottom: 0px;
    }
    .table td{
        margin-bottom: 7px;
    }
}


@media (max-width:375px) {
    h1{
        font-size: 2rem;
    }
    h2{
        font-size: 1.2rem;
    }
    h3{
        font-size: 0.7rem;
    }
    .menu li a{
        font-size: 13px;
    }
    #mv{
        margin: 100px auto 150px auto;
    }
    #mv img{
        width: 180px;
        height: 180px;
    }
    #works img{
        width: 150px;
        height: 150px;
        object-fit: cover;
        
    }
    .profile img{
        width: 150px;
        height: 150px;
        object-fit: cover;
    }
    .profile-text-all{
        width: 80%;
        font-size: 0.7rem;
        margin: 0 auto;
    }
    .skill img{
        width: 15px;
        height: 15px;
    }
    .skill-1, .skill-2{
        margin-left: 10%;
    }
    .skill-name{
        font-size: 0.7rem;
    }
    .skill-line{
        width: 80%;
    }
    .table tr{
        padding: 7px;
    }
    .table th,.table td{
        width: 100%;
        padding: 7px;
        display: block;
        text-align: left;
    }
    .table th{
        border-bottom: 0px;
    }
    .table td{
        margin-bottom: 7px;
    }

}