html, body {
    overflow: scroll !important; /* スクロールを無効化 */
}
/* 全共通 */
h3{
    font-size: 2.4rem;
    letter-spacing: 0.16rem;
    color: #1a1515;
    font-weight: 400;
}

p{
    font-size: 1.4rem;
    line-height: 2.8rem;
    letter-spacing: 0.16rem;
}
img{
    width: 100%;
}
header a{
    color: #1a1515;
}

.exhibition-main {
    height: calc(100vh - 80px); /* ヘッダー高さに応じて調整 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
/* 横並びの画像ギャラリー */
.image-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    padding-left:0;
}

/* 画像とキャプションのセット */
.gallery-item {
    width: 350px;
    text-align: center;
}

.gallery-item a{
    text-decoration: none !important;
}

/* 画像スタイル */
.gallery-img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    object-fit: cover;
}

.gallery-img:hover{
	opacity:0.5;
	transition:0.5s;
}

/* キャプションリンク */
.caption {
    margin-top: 10px;
    text-align: left;
}

.caption a {
    text-decoration: none !important;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.caption a:hover {
    color: #c00;
}

/* 小さな右向き三角形 */
.arrow {
    font-size: 0.8rem;
    vertical-align: middle;
}

/* 下部の他ページリンク */
.page-links p {
    margin: 10px 0;
}

.page-links a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.page-links a:hover {
    color: #c00;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .gallery-item {
        width: 45%;
    }
    .image-gallery {
        gap: 20px;
    }
    header .icon span{
        background-color: #1A1515;
    }
}