body {
    background-color: black;
    color: #ffffff; /* 明るめのグレーでコントラストを出す */
    font-family: 'Shippori Mincho B1', 'Playfair Display', serif; /* 優先順位を指定 */
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: bo

}




header {
    background-color: #000000; /* ヘッダーは少し明るい黒で区別 */
    
    padding: 30px 0; /* 上下のパディングを少し増やす */
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* 影で立体感を出す */
}


header h1 {
    margin: 0;
    font-size: 3em;
    color: #ffffff; /* 金色 */
    /* ここを修正/追加 */
    font-family: 'Shippori Mincho B1', 'Playfair Display', serif; /* 優先順位を指定 */
    letter-spacing: 3px;
    text-shadow: 5px 5px 8px rgba(255, 255, 255, 0.3);
}


nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0; /* マージンを調整 */
    display: flex;
    justify-content: center;
    gap: 30px; /* メニュー間のスペースを広げる */
}

nav ul li a {
    color: #ffffff; /* 少し青みがかった白 */
    text-decoration: none;
    font-family: 'Shippori Mincho B1', 'Playfair Display', serif; /* 優先順位を指定 */
    font-weight: bold;
    font-size: 1.2em; /* ナビリンクを少し大きく */
    padding: 8px 15px;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease; /* ホバーアニメーション追加 */
    border-radius: 5px;
}

nav ul li a:hover {
    color: #ffffff; /* ホバーで淡い金色に */
    background-color: rgba(255, 215, 244, 0.37); /* 金色の薄い背景 */
    transform: translateY(-3px); /* 少し上に持ち上げる */
}



/* main 要素のスタイル */
main {
    text-align: center; /* 文字要素は中央寄せ */
    display: flex;
    flex-direction: column;
    align-items: center; /* 子要素を水平方向中央揃え */
}

/* centered-image-wrapper を追加して、中央寄せの制御を分離 */
.centered-image-wrapper {
    width: 100%; /* 必要に応じて調整 */
    display: flex;
    justify-content: center; /* 水平方向中央揃え */
    margin-bottom: 40px; /* 下の要素との間隔 */
}

/* 中央の絵のコンテナ */
#centered-image-container {
    width: 80%; /* 幅を調整 */
    max-width: 600px; /* 最大幅を調整 */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* 中央の絵 */
#centered-image-container img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* 全体を表示 */
}

/* 既存の photo-gallery と image-grid のスタイルはそのまま */
.photo-gallery {
    width: 100%;
    margin-bottom: 80px;
}

.photo-gallery h3 {
    text-align: center;
    font-size: 2.2em;
    color: #b7fde3;
    font-family: 'Shippori Mincho B1', 'Playfair Display', serif;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 6px rgba(0, 255, 217, 0.487);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
}

.image-container {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out, border-color 0.4s ease-in-out;
    background-color: #1f1f1f;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.image-container:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    border-color: #fdfdfd00;
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.image-container:hover img {
    transform: scale(1.05);
}






#centered-image-container {
    width: 80%;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    background-color: transparent !important; /* 背景を透明にする */
}













/* フッターのスタイル */
footer {
    background-color: #000000; /* ヘッダーと合わせた暗めの背景など、お好みで */
    color: #d4a2ff; /* リンクの色に合わせるなど、お好みで */
    text-align: center;
    padding: 20px 0;
    font-size: 2em;
    margin-top: auto; /* main要素が伸びていれば、フッターは最下部に配置されます */
}

footer a {
    color: #d4a2ff; /* リンクの色 */
    
    font-weight: bold;
}

footer a:hover {
    color: #d96cfd; /* ホバー時の色 */
}




