.navbar {

    padding: 30px 110px;
    margin: 0px;
    width: 100%;
    height: 50px;
    position:fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 200; ;
}

.name{
    position:fixed;
    z-index:300;
}

.navbar ul {
    list-style: none;
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 10px 30px;

}

.navbar ul li{
    display: inline;
    margin-right:15px;
}

 .profile{
    padding: 180px 160px;
} 
/*ハンバーガーメニュー*/
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    margin-top: 15px;
    margin-right: 15px;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: black;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check{
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: black;
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px black;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:black;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}

.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: white;
    transition: all 0.7s;/*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}
/*変更したとこ*/


body{
    margin: 0;
}

.content {
    padding: 100px 0px 300px 0px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    background: white;
    flex-wrap: wrap;
}



.product {
    padding: 30px 20px 20px 20px;
    height: 100%;
    width: calc(50% - 40px);
    background-color: white;
}

.product_img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

/*ホバー機能*/
 img.hover-brightness {
	transition: 1s;
    z-index: 50;
    position: relative;
}

img.hover-brightness:hover {
	filter: brightness(0.5); 
} 
/*変更した*/

@media screen and (max-width:460px) {

    .page-name {
        width: calc(100% - 40px - 10%);
        max-height: 35px;
    }

    .page-works {
        max-width: 244px;
    }

    .page-profile {
        max-width: 258px;
    }

    .modal-link {
        width: 40px;
        height: 35px;
    }
}
.product__title {
    text-align: center;
    visibility: hidden;
    /*
    通常時は隠しておく
    */
}
.product:hover .product__title {
    visibility:visible;
    /*
    product(作品）をホバーしたときに、タイトルを見えるようにする
    */

}


