@charset "utf-8";
/* CSS Document */


body .sp{
    display: block;
}

body .pc{
    display: none;
}



/*ここからハンバーガーメニュー*/
#menu-btn-check {
    display: none;
}

.menu-btn {
    position: fixed;
    top: 0;
    left: 15px;
    display: flex;
    width: 70px;
    height: 80px;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-repeat: no-repeat;
    background-size: cover;
}

.menu-btn span{
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("../img/hamburger-open.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#menu-btn-check:checked~.menu-btn span {
    background-image: url("../img/hamburger-close.png");
}


.menu-content {
    width: 50%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 100%;
    z-index: 9998;
    background-color: #000;
    transition: all 0.5s;/*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
    right: 50%;/*メニューを画面内へ*/
}

.menu-content ul {
    width: 70%;
    margin: 0 auto;
    padding: 90px 5px 0;
    color: #fff;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    padding: 15px 3em;
}

/*ここまでハンバーガーメニュー*/

nav.sp ul li{
    line-height: 3;
}

nav.sp ul li:first-child{
    width: 85%;
}

nav.sp ul li:nth-child(2){
    width: 75%;
}

nav.sp ul li:last-child{
    width: 93%;
}




#wrap{
    width: 85%;
    margin-top: 30px;
    margin-bottom: 8vw;
    border-radius: 35px;
}

#wrap .tensaku{
    width: 20%;
    margin-top: -2.8vw;
    margin-left:63vw;
}

.about-portfolio {
  font-size: 18px;
}

#scroll{
    width: 7%;
    margin: 5vw auto 0;
}

#about-here{
    font-size: 16px;
}

#work{
    width: 40%;
}

main .workbox{
    width: 60%;
    flex-wrap: wrap;
    margin: 7vw auto;
}

.workbox-in p.more{
    width: 20vw;
}

.workbox-in{
    width: 80%;
    margin: 0 auto;
    order: 2;
}

.workbox-img{
    order: 1;
    width: 80%;
    margin: 0 auto;
}

.workbox-img .workbox-img-in .banner-img{
    width: 45%;
    margin: 0 auto;
}

.workbox-in .banner-h3{
    width: 75%;
}

main #about-me img{
    width: 55%;
}

main .about-me-wrap {
    width: 90%;
    display: block;
}

main .about-me-wrap .me-img {
    width: 50%;
    margin: 0 auto;
}

main .about-me-wrap .about-me-wrap-in {
    width: 75%;
    margin: 2.5vw auto 0;
}

main .about-me-wrap .about-me-wrap-in h3 {
    width: 23%;
    margin-left: 3em;
    margin-top: 2em;
}

main .about-me-wrap .about-me-wrap-in .aboutme-name {
    margin: 1.2em auto;
}

main .aboutme-skill-h3 {
    margin: 10vw auto 4vw;
}

main .aboutme-skill-h3 .skill-in-l {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 20px;
}

main .aboutme-skill-h3 .skill-in-r {
    display: block;
    padding-left: 0;
    margin-top: 1em;
    font-size: 14px;
}

main .aboutme-skill {
    width: 80%;
}

main .aboutme-skill p {
    vertical-align:text-top;
}

main .mailto img {
    width: 5vw;
}