
/* General Page Styling */
body {
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, 
        #050937 165vh, 300vh, #141BB2 465vh, 650vh, #B5DBEF 850vh
    );
}

h1 {
    text-align: center;
    color: #333;
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 20px;
}

p{
margin-left: 20px;
}

li{
    hyphens: auto;
    word-break: normal;
}

/* 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;
    background-color: white;
    border-radius: 20px;
    margin: 0px 40px;
}
@media(max-width:768px){
    .container{
        margin: 0px 20px;
    }
}

.container img {
    object-fit: contain;
    padding: 5% 10%;
    width: auto;
    height:555px;/*555px*/
    /* border: 1px solid #ccc; */
}


.hidden {
    display: none;
}

/* Map Section Styling */
.map-section {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 40px;
    background-color: #fff;
    margin: 40px;
}

@media (max-width: 768px) {
    .map-section{
        margin:40px 20px;
    }
}


.map-section h2 {
    color: #11114d;
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: center;
}

area:hover{
    outline: 2px solid red;
    filter: brightness(1.3) saturate(0.8);/*明るくして白くする 少しくすませる */
}

/* Event Item Styling */
.event-item {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px;
    background-color: #eee;
    color: #333;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    position: relative;
    transition: background-color 0.3s;
}

#food div{
    background-color: rgb(255, 85, 85);
}

#proj div{
    background-color: rgb(115, 115, 255);
}

#sponsor div{
    background-color: rgb(255, 255, 145);
}

.event-item:hover {
    filter: brightness(1.3) saturate(0.8);/*明るくして白くする 少しくすませる*/
}

/* 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;
}

#deliteLine{
    text-decoration-line: line-through;
    text-decoration-color: rgb(0, 15, 111);
    text-decoration-thickness: 2px;       /* 太さ */
    text-decoration-style: solid;         /* solid | double | dotted | dashed | wavy */
    text-decoration-skip-ink: none;   
    pointer-events: none;
}

/* 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;
}
