/* 新しいヘッダー用のスタイル */
.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;
    }
}







/* General Page Styling */
body {
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

h1 {
    text-align: center;
    color: #333;
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 20px;
}

p{
margin-left: 20px;
}

/* Button and Container Styling */
.buttons {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.button {
    width: auto;
    cursor: pointer;
    margin: 0 5px;
}

/* Image Container Styling */
.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.container img {
    width: 80%;
    height: auto;
    border: 1px solid #ccc;
}

.hidden {
    display: none;
}

/* Map Section Styling */
.map-section {
    padding: 10px 15px;
    margin-bottom: 20px;
    margin-left:20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

@media (max-width: 768px) {
.map-section{
margin-right:20px;
}
}


.map-section h2 {
    color: #11114d;
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Event Item Styling */
.event-item {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    background-color: #eee;
    color: #333;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    position: relative;
    transition: background-color 0.3s;
}

.event-item:hover {
    background-color: #ddd;
}

/* Tooltip Styling */
.event-item:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: #11114d;
    color: #fff;
    border-radius: 3px;
    white-space: nowrap;
    font-size: 0.8em;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.event-item::after {
    opacity: 0;
}

/* Event List Styling */
.event-list p {
    font-size: 1.2em;
    line-height: 1.8em;
    margin-bottom: 1em;
}

.event-list span {
    font-weight: bold;
    color: #333;
    display: inline-block;
    width: 2em;
    text-align: center;
    margin-right: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Adjust container layout for mobile */
    .container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0 10px;
    }

    .container img {
        width: 100%;
    }

    .button {
        width:auto;
    }

    h1 {
        font-size: 1.5em;
        margin-top: 15px;
    }

    /* Adjust font and layout for map sections and event list */
    .map-section h2, .event-list p {
        font-size: 1em;
    }

    .event-list span {
        width: 1.5em;
    }
}




.hidden {
    display: none;
}



.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;
}








/* フッター用のスタイル */
.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;   /* フォントサイズをさらに小さく */
    }
}
