body {
    background-color: #f6f5f2;
}

h1, h2, h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

iframe {
    border-radius: 10px;
}
.navbar-brand {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

/* ===== Gallery ===== */

.museum-gallery {
    margin-top: 1.5rem;
    padding-bottom: 60px;
}

.museum-gallery .col-12,
.museum-gallery .col-sm-6,
.museum-gallery .col-lg-4 {
    margin-bottom: 18px;
}

.museum-frame {
    background: #ffffff;

    padding: 14px;

    border: 1px solid #eae6df;

    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 6px 18px rgba(0,0,0,0.06);

    transition: all 0.35s ease;

    position: relative;
}

/* 内側の“額縁感”を追加 */
.museum-frame::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid #f3f0ea;
    pointer-events: none;
}

.museum-item {
    display: block;
    text-decoration: none;
}

.museum-item:hover .museum-frame {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.10),
        0 4px 10px rgba(0,0,0,0.06);
}

.museum-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;

    filter: contrast(1.02) saturate(0.98);
}

.museum-caption {
    margin-top: 10px;

    font-size: 0.8rem;
    letter-spacing: 0.03em;

    color: #6f6a63;

    text-align: center;

    font-style: italic;
}

/* Hero Image */

.hero-image {
    overflow: hidden;
    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.15);
}

.hero-photo {
    width: 100%;
    height: 500px;

    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {

    .hero-photo {
        height: 280px;
    }

}

.display-4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
}

.location-info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.photo-meta {
    margin-top: 8px;

    font-size: 0.72rem;
    color: #8a857d;

    text-align: center;

    line-height: 1.6;

    opacity: 0.9;
}

.breadcrumb-container {
    font-size: 0.85rem;
    color: #8a857d;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

.breadcrumb-container a {
    color: #5a554d;
    text-decoration: none;
}

.breadcrumb-container a:hover {
    text-decoration: underline;
}

.breadcrumb-container span {
    margin: 0 6px;
    color: #b3ada3;
}

.breadcrumb-container .current {
    color: #2f2d2a;
}

/* ===== Mobile layout fix ===== */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .hero-image {
        border-radius: 10px;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-image .p-5 {
        padding: 2rem 1.25rem !important;
    }

    .hero-image .container-fluid {
        padding: 1.5rem 0 !important;
    }

    .hero-image h1,
    .display-4 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-image p {
        font-size: 1rem !important;
        line-height: 1.7;
        width: 100%;
    }

    .hero-image .btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    #areas {
        font-size: 2rem;
        margin-top: 2rem;
    }

    .museum-gallery {
        margin-top: 1rem;
        padding-bottom: 40px;
    }

    .museum-frame {
        padding: 10px;
    }

    .museum-frame::before {
        inset: 5px;
    }

    .museum-img {
        height: 220px;
    }

    .museum-frame h5 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .hero-image .p-5 {
        padding: 1.5rem 1rem !important;
    }

    .hero-image h1,
    .display-4 {
        font-size: 1.9rem;
    }

    .museum-img {
        height: 200px;
    }

    .museum-gallery .col-12 {
        margin-bottom: 12px;
    }
}

/* ===== Hero mobile adjustment ===== */

@media (max-width: 768px) {

    .hero-image {
        margin-bottom: 2rem !important;
    }

    .hero-image .p-5 {
        padding: 1.5rem !important;
    }

    .hero-image .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .hero-image h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-image p {
        font-size: 0.95rem !important;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .hero-image .btn {
        font-size: 0.9rem;
        padding: 0.45rem 0.9rem;
    }
}

/* ===== Force mobile hero compact ===== */

@media (max-width: 768px) {

    .hero-image {
        margin-bottom: 20px !important;
    }

    .hero-image > .p-5 {
        padding: 16px !important;
    }

    .hero-image .container-fluid {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .hero-image h1.display-4 {
        font-size: 1.8rem !important;
        margin-bottom: 10px;
    }

    .hero-image p {
        font-size: 0.9rem !important;
        margin-bottom: 10px;
    }

    .hero-image .btn {
        margin-top: 5px !important;
    }
}

.location-jump-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.location-chip {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: #3f3a34;
    background: #fff;
    border: 1px solid #e4ded4;
    border-radius: 999px;
    text-decoration: none;
}

.location-chip:hover {
    background: #2f2d2a;
    color: #fff;
}

@media (max-width: 768px) {
    .card-img-top {
        height: 170px !important;
    }

    .card-body {
        padding: 0.9rem;
    }

    .card-text {
        font-size: 0.9rem;
    }
}

/* ===== Mobile film gallery horizontal scroll ===== */

@media (max-width: 768px) {

    .museum-gallery {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 14px;
        padding-bottom: 20px;
        margin-left: -4px;
        margin-right: -4px;
        scroll-snap-type: x mandatory;
    }

    .museum-gallery > .col-12,
    .museum-gallery > .col-sm-6,
    .museum-gallery > .col-lg-4 {
        flex: 0 0 82%;
        max-width: 82%;
        margin-bottom: 0;
        scroll-snap-align: start;
    }

    .museum-gallery .museum-img {
        height: 260px;
    }

    .photo-meta {
        font-size: 0.7rem;
    }
}

#location-map {
    width: 100%;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    #location-map {
        height: 420px;
        border-radius: 10px;
    }
}

/* ===== Photo horizontal gallery ===== */

.photo-scroll-gallery {
    display: flex;

    gap: 24px;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 20px;

    
}

.photo-scroll-item {
    flex: 0 0 300px;

    
}


/* scrollbar */
.photo-scroll-gallery::-webkit-scrollbar {
    height: 8px;
}

.photo-scroll-gallery::-webkit-scrollbar-thumb {
    background: #c8c2b8;
    border-radius: 10px;
}


/* mobile */
@media (max-width: 768px) {

    .photo-scroll-item {
        flex-basis: 80%;
    }

}

/* ===== Full photo collection page ===== */

.photo-grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-bottom: 60px;
}

.photo-grid-item {
    min-width: 0;
}

.photo-grid-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .photo-grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .photo-grid-img {
        height: 240px;
    }
}

@media (max-width: 576px) {
    .photo-grid-gallery {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .photo-grid-img {
        height: 260px;
    }
}

/* ===== About page ===== */

.about-main-photo {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

.about-description {
    white-space: normal;
    line-height: 1.9;
}

.about-gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.about-gallery-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .about-main-photo {
        max-height: 260px;
    }

    .about-gallery-img {
        height: 160px;
    }
}

.location-description {
    max-width: 900px;
    line-height: 1.9;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .location-description {
        font-size: 1rem;
        line-height: 1.8;
    }
}