* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

:root {
    --text-color: #000;
    --big-font: 6.6rem;
    --title-font: 2rem;
    --p-font: 1.5rem;
    --logo-font: 1.5rem;
}

body {
    color: var(--text-color);
}

header {
    background-color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}

header a {
    display: inline-block;
    margin: 0 8px;
    color: var(--text-color);
    font-size: var(--logo-font);
    transition: all 0.6s ease;
}

.hero img {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(48px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about {
    padding: 100px 5%;
    /* text-align: center; */
    /* max-width: 800px; */
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.about.animate {
    opacity: 1;
    transform: translateY(0);
}

.title {
    font-size: var(--title-font);
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 64px;
    text-align: center;
}

.text {
    font-size: var(--p-font);
    line-height: 1.8;
    margin-bottom: 256px;
}

/* --- ギャラリー --- */
.gallery {
    padding: 100px 5%;
}

.artist {
    padding: 100px 5%;
}

.map {
    padding: 100px 5%;
}

.map-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 2px 2px 16px #d1d1d1, -2px -2px 8px #ffffff;
}

.gallery-title {
    font-size: var(--title-font);
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 32px;
    text-align: center;
}

/* カルーセルコンテナ */
.carousel {
    display: flex;
    flex-direction: row;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* padding-bottom: 16px; */
    padding: 32px;
}

/* 各カード */
.card {
    flex: 0 0 auto;
    max-width: 800px;
    background: #f0f0f3;
    border-radius: 16px;
    box-shadow: 2px 2px 16px #d1d1d1, -2px -2px 8px #ffffff;
    /* padding: 24px; */
    padding-bottom: 16px;
    scroll-snap-align: start;
    text-align: center;
    transition: transform 0.3s ease;
}

/* .card:hover {
    transform: translateY(-8px);
} */

.card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    padding: 0 16px;
}

/* スマホ（768px以下）では縦並びに切り替え */
@media screen and (max-width: 768px) {
    .carousel {
        flex-direction: column;
        overflow-x: hidden;
    }

    .card {
        width: 100%;
    }
}

footer {
    width: 100%;
    height: 120px;
    text-align: center;
    padding: 50px 0;
    background-color: #0a2f1c;
    color: #fff;
}

.info {
    padding: 100px 5%;
}

.info-container {
    max-width: 800px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 64px;
}

.info-table th,
.info-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.info-table th {
    width: 30%;
    font-weight: 600;
    color: #333;
}

.info-table td {
    color: #666;
    line-height: 1.6;
}
