* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #f8f8f8;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}


.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

header {
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    margin-bottom: 60px;
}

h1 {
    font-size: 2.5em;
    font-weight: normal;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
}

.town-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .town-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.town-card {
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #222;
    display: block;
}

.town-card:hover {
    border-color: #999;
}

.town-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
}

.town-info {
    padding: 20px;
}

.town-info h2 {
    font-size: 1.5em;
    font-weight: normal;
    margin-bottom: 8px;
}

.town-info .count {
    color: #666;
    font-size: 0.95em;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.photo-thumbnail {
    background: #fff;
    border: 1px solid #ddd;
    padding: 5px;
    text-decoration: none;
    color: #222;
    display: block;
}

@media (min-width: 768px) {
    .photo-thumbnail {
        padding: 10px;
    }
}

.photo-thumbnail:hover {
    border-color: #999;
}

.photo-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-thumbnail .label {
    margin-top: 8px;
    font-size: 0.85em;
    color: #666;
    text-align: center;
}


.navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.nav-btn {
    background: #fff;
    border: 1px solid #999;
    color: #222;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 1em;
    font-family: Georgia, serif;
    display: inline-block;
}

.nav-btn:hover {
    background: #f0f0f0;
}

.image-container {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .image-container {
        padding: 20px;
    }
}

.image-comparison {
    position: relative;
    background: #000;
}

.image-comparison img {
    width: 100%;
    height: auto;
    display: block;
}

.image-comparison .now-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.image-comparison:hover .now-image {
    opacity: 1;
}

.view-hint {
    text-align: center;
    color: #999;
    font-size: 0.9em;
    margin-top: 15px;
    font-style: italic;
}


.metadata {
    background: #fff;
    border: 1px solid #ddd;
    padding: 30px;
}

.metadata p {
    margin-bottom: 12px;
}

.metadata a {
    color: #3366cc;
    text-decoration: none;
}

.metadata a:hover {
    text-decoration: underline;
}