body{
    font-family: roboto mono, sans-serif;
    margin: 0;
    padding: 0;
    font-weight:400;
    letter-spacing: 1px;
    font-size: 24px;
}

a{
    color: black;
    
}

.title{
    font-weight: bold;

}
#header{
    margin-bottom: 100px;
    margin: 30px;
    position: fixed;
}
#header img{
width:300px;
}
.first{
    display: flex;
}
.about{
margin-bottom: 100px;
width: 800px;
margin: 30px;
margin-top: 200px;
}

.imgContainer{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contactIg{
    margin-left: 100px;
    margin-bottom: 100px;
    width: 600px;
    margin-top: 200px;
}
.works{
    display: flex; /* ← flexに変更 */
    align-items: flex-start; /* ← 追加：要素を上揃えにする */
    margin-bottom: 100px;
    padding: 30px;

}
.img{
width:100%;
    border: 1px solid #000;
    margin-bottom: 30px;
}

.worksLeft{
    display: flex;
    flex-direction: column;
    width: 800px;
}
.worksRight{
     margin-left: 100px;
     margin-bottom: 100px;
     position: sticky;
     top: 0;
     width: 600px;
}

@media screen and (max-width: 650px) {
    #header{
    flex-direction: column;
    gap: 0px;
}
}
@media screen and (max-width: 850px) {
    .first{
        flex-direction: column;
       
    }
    .contactIg{
        margin-left: 30px;
        margin-top: 0px;
    }
    .works{
        flex-direction: column;
        margin-bottom: 20px;
 
    }
    .worksRight{
        margin-left: 0px;
        width: 100%;
        margin-bottom: 20px;
    }
    .worksLeft{
        width: 100%;
    }
    .about{
        width: 80%;
    }
    .contactIg{
        width: 80%;
    }
   body{
    overflow-x: hidden;
   }
   .img{
    margin-bottom: 5px;
}
.imgContainer{
    gap: 10px;
}

}
#header{
    display: flex; /* ロゴと時計を横並びにする */
    gap: 30px; /* ロゴと時計の間隔 */
}

/* ★★★ 時計のコンテナのサイズを定義 ★★★ */
#digital-clock-container {
    width: 350px;
    height: 80px;
}

.copy{
    margin-left: 30px;
    font-size: 14px;
}
.back{
    margin-left: 30px;
    font-size: 50px;
    text-decoration: none;
    margin-right: 30px;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: end;
}


