body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #fafafa;
    color: #333;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    padding: 2rem 1rem 1rem;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

h2 {
    text-align: center;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
    display: inline-block;
}

section {
    text-align: center;
    margin-bottom: 3rem;
}

/* === ギャラリー === */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 1rem;
    max-width: 1200px;
    margin: auto;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.2s;
    display: none; /* 初期は非表示（JSで制御） */
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* PCのみ4列に変更 */
@media (min-width: 1024px) {
    .gallery {
    grid-template-columns: repeat(4, 1fr);
    }
}

/* もっと見るボタン */
.load-more {
    display: block;
    margin: 1.5rem auto 2rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.load-more:hover {
    background: #555;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.swiper {
    width: 90%;
    max-width: 800px;
}

.swiper-slide img {
    width: 100%;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}