*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Arial, sans-serif;

    background:#111;

    color:white;

}

.hero{

    height:100vh;

    background-image:url("images/hero.jpg");

    background-size:cover;

    background-position:center;

    position:relative;

}

.overlay{

    position:absolute;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.45);

}

.hero-text{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    text-align:center;

}

.hero h1{

    font-size:72px;

    letter-spacing:5px;

}

.hero h2{

    margin-top:20px;

    font-weight:300;

}

.hero p{

    margin-top:40px;

    line-height:2;

}

.button{

    display:inline-block;

    margin-top:60px;

    color:white;

    border:1px solid white;

    padding:15px 35px;

    text-decoration:none;

}

.button:hover{

    background:white;

    color:black;

}

#about{

    padding:120px;

}
#gallery{

    padding:120px;

    background:#181818;

}

#gallery h2{

    text-align:center;

    margin-bottom:60px;

    font-size:40px;

}

/* ===== ギャラリー ===== */

#gallery{
    padding:120px 10%;
    background:#181818;
}

#gallery h2{
    text-align:center;
    font-size:40px;
    margin-bottom:60px;
    letter-spacing:2px;
}

/* 2列表示 */
.gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

/* 写真 */
.gallery img{
    width:100%;
    aspect-ratio:16 / 9;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s ease;
}

/* マウスを乗せたとき */
.gallery img:hover{
    transform:scale(1.03);
    opacity:0.9;
}
