/* 既存のコードのまま */
body {
    font-family: 'Noto Serif JP', serif;
    background-color: #f0f0f0;
    margin: 0;
    text-align: center; /* 中央寄せ */
}

/* ボタンの色を青に設定 */
.date-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.date-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    background-color: #007bff; /* 青色 */
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.date-buttons button:hover {
    background-color: #0056b3;
}

.date-buttons button.active {
    background-color: #004080; /* 選択中のボタンの色を濃い青に変更 */
    color: white;
    font-weight: bold;
}

.schedule-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* 写真の中央寄せ */
.slide-image {
    width: 70%;
    height: auto;
    border-radius: 8px;
}

/* 表の見方の写真 */
.info-picture {
    width: 50%;
    margin-top: 20px;
}

.info-image {
    width: 50%;  /* パソコンでの幅を50%に設定 */
    height: auto;
    margin: auto;
}

/* テーブル */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

/* スライドショー用のスタイル */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.slides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* スマホ版のデザイン */
@media (max-width: 768px) {
    .date-buttons button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .info-image {
        width: 80%; /* スマホでは写真を大きくして幅を80%に */
    }
}

h3{
    text-align: left;
    color: #3399FF;
}






.example2{
    display: flex;
    margin: 20px;
    align-items: center;

    justify-content: center;
    align-items: center;
}
.example2 label{
    display: block;
    width: 150px;
    background: #BAD3FF;
    color: #000;
    padding: 10px;
    margin: 10px;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
}
.example2 input:checked+label{
    background: #0056b3;
    color: #FFF;
}
.example2 input{
    display: none;
}












/* 新しいヘッダー用のスタイル */
.new-header {
    background-color: #11114d;
    color: white;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

.new-header-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.new-logo {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.new-header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.new-header-title {
    margin: 0;
    font-size: 1.5em;
    font-family: 'Noto Serif JP', serif;
    color: white;
}

.new-header-info p {
    margin-top: 5px;
    font-size: 0.8em;
    font-family: 'Noto Serif JP', serif;
    color: white;
}

.new-teisai-container {
    margin-left: auto; /* 左側のスペースを自動的に埋めることで右端に配置 */
    text-align: right;
    display: flex;
    align-items: center;
}

.new-teisai {
    font-family: 'Noto Serif JP', serif;
    font-size: 3em;
    color: white;
    margin: 0;
}

/* HOMEリンクのスタイル */
.new-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.new-nav ul li {
    margin: 0;
}

.new-nav ul li a {
    color: white;
    text-decoration: none;
}

.new-nav ul li a:visited,
.new-nav ul li a:hover,
.new-nav ul li a:active {
    color: white;
}

/* 新しいリンクスタイル */
.new-logo-link, .new-info-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.new-logo-link:hover,
.new-info-link:hover,
.new-logo-link:active,
.new-info-link:active {
    color: inherit;
}

/* スマホ対応のためのメディアクエリ */
@media (max-width: 768px) {
    .new-header {
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }

    .new-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .new-header-title {
        font-size: 1.2em;
    }

    .new-header-info p {
        font-size: 0.7em;
    }

    .new-teisai {
        font-size: 2.5em;
    }

    .new-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .new-nav ul li {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .new-header {
        padding: 15px;
    }

    .new-logo {
        width: 35px;
        height: 35px;
    }

    .new-header-title {
        font-size: 1em;
    }

    .new-header-info p {
        font-size: 0.6em;
    }

    .new-teisai {
        font-size: 2em;
    }
}









/* フッター用のスタイル */
.footer-container {
    background-color: #333;  /* フッターの背景色を黒に固定 */
    color: white;            /* フッターのテキスト色を白に固定 */
    padding: 20px 0;         /* 上下のパディング */
    font-family: 'Noto Serif JP', serif;  /* フッター用フォント */
    padding-left: 8%;        /* 左からの余白を追加 */
    width: 100%;             /* フッターの幅を全体に広げる */
    box-sizing: border-box;  /* パディング込みで幅を調整 */
}

.footer-contact {
    margin-bottom: 10px;     /* お問い合わせセクションの下の余白を狭める */
    text-align: left;        /* お問い合わせ情報を左寄せ */
    padding: 10px;           /* お問い合わせセクション内のパディングを狭める */
    color: white;            /* テキスト色を白に固定 */
}

.footer-contact h4 {
    margin-bottom: 8px;      /* タイトルと次の段落の間隔を狭める */
    font-size: 1.5rem;
    color: white;            /* タイトルの色を白に固定 */
}

.footer-contact p {
    margin: 5px 0;           /* 各段落の間隔を狭める */
    line-height: 1.4;        /* テキスト間の行間を狭める */
    color: white;            /* 段落のテキスト色を白に固定 */
}

.footer-link {
    color: white;;          /* リンクの色を青に固定 */
    text-decoration: none;   /* 下線をなくす */
}

.footer-link:hover {
    text-decoration: underline;  /* ホバー時に下線を追加 */
}

.footer-bottom {
    text-align: center;      /* すべてのテキストを中央寄せ */
    margin-top: 15px;        /* 上に余白を追加 */
    font-size: 0.9em;        /* 少し小さめのフォントサイズ */
    color: white;            /* フッターテキストを白に固定 */
}

.footer-bottom p {
    color: white;            /* フッターの段落テキストも白に固定 */
}

/* スマホ対応のためのメディアクエリ */
@media (max-width: 768px) {
    .footer-container {
        padding: 15px 5%;   /* スマホ向けにパディングを小さく */
    }

    .footer-contact {
        padding: 8px;
        text-align: left;   /* スマホでもお問い合わせ情報は左寄せのまま */
    }

    .footer-contact h4 {
        font-size: 1.2rem;  /* タイトルのフォントサイズを小さく */
    }

    .footer-contact p {
        font-size: 0.8rem;  /* 段落のフォントサイズを小さく */
    }

    .footer-bottom {
        text-align: center; /* フッターの下部はスマホでも中央寄せ */
        font-size: 0.8em;   /* フッターのフォントサイズをさらに小さく */
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 10px 3%;   /* さらにパディングを小さく */
    }

    .footer-contact {
        text-align: left;   /* スマホの小さい画面でもお問い合わせ情報は左寄せ */
        padding: 5px;
    }

    .footer-contact h4 {
        font-size: 1rem;    /* タイトルのフォントサイズを小さく */
    }

    .footer-contact p {
        font-size: 0.7rem;  /* 段落のフォントサイズを小さく */
    }

    .footer-bottom {
        text-align: center; /* フッターの下部は常に中央寄せ */
        font-size: 0.7em;   /* フォントサイズをさらに小さく */
    }
}
