.event-content {
    display: flex;
    width: 100%;
    justify-content: center;
}

.event-box {
    justify-content: center;
    width: 33%;
}

.event-photo-tmp {
    width: 100%;
}

.event-box-1 {
    justify-content: center;
    background-image: url("/hachisai/images/event-traveler-background.png");
    background-repeat: no-repeat;
    background-size: auto;
    width: 33%;
}

.event-box-2 {
    justify-content: center;
    background-image: url("/hachisai/images/event-main-background.png");
    background-repeat: no-repeat;
    background-size: auto;
    width: 33%;
    height: 100%;
    max-height: 1413px;
}

.event-box-3 {
    justify-content: center;
    background-image: url("/hachisai/images/event-naturecup-background.png");
    background-repeat: no-repeat;
    background-size: auto;
    width: 33%;
}

.event-title {
    width: 100%;
}

.pure-hachi {
    background-image: url("/hachisai/images/event-background-pure.png");
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.sandan-box {
    background-color: #fff;
    margin: 20px;
    padding: 20px;
}

.post-photo {
    width: 100%;
}

.post-data {
    text-align: center;
    font-size: 20px;
    margin: 0;
    padding: 10px;
}

.post-content{
    display: flex;
    justify-content: center;
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 55%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}


.post-info-hr {
    display: flex;
    justify-content: center;
}

.post-info {
    text-align: center;
    justify-content: center;
    margin: auto;
    padding: 20px;
    width: 70%;
}

.post-link-box {
    background-color: #2ea7e0;
    color: white;
    padding: 10px;
    margin: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.post-link {
    color: white;
}

.post-title {
    font-size: 15px
}

.post-text {
    color: #000;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
}

@media screen and (max-width: 1100px){
    .post-content {
        justify-content: center;
        flex-wrap: wrap;
        padding: 5px;
        margin: auto;
        width: 90%;
    }

    .post-text {
        padding: 0px;
        margin: 0px;
        width: 100%;
    }

    .post-info {
        padding: 10px;
        margin: 0px;
    }

    .post-info-hr {
        flex-wrap: wrap;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
  
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}