/* 全体的なスタイル */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #ccc;
}

/* ヘッダーのナビゲーション */
header nav {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: background-color 0.3s;
}

header nav a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

main {
    padding: 20px;
    max-width: 960px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 30px;
}

h2 {
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* トップページ */
.day-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.day-item {
    background-color: #e9f5ff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.day-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.day-item h3 {
    color: #007bff;
    margin-top: 0;
}

.day-item h3:hover {
    text-decoration: underline;
}

.cover-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.cover-photo {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

/* 日ごとのページ */
#header-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* 各日のヘッダー背景画像　20240806_081128.jpg */
#header-bg-day {
    background-image: url('/images/20240806_081128.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 100px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
#header-bg-day1 {
    background-image: url('../images/day1/header-bg.jpg');
}
#header-bg-day2 {
    background-image: url('../images/day1/header-bg.jpg');
}



.day-summary {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #d9eaff;
}

.travel-entry {
    margin-bottom: 40px;
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.photo-container {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 10px);
}

.photo-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.photo-caption {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.map-section #map {
    height: 400px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 20px;
}

/* フッターのナビゲーション */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 40px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.footer-nav a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .photo-container {
        flex: 1 1 100%;
    }
}