/* CSS Document */

#main #event {
    padding: 0;
}

#main .category {
    margin: 40px 40px 80px;
}

#main .category h4 {
    background: #00A71F;
    color: #fff;
    border-radius: 20px;
    padding: 5px 10px;
    font-weight: 500;
    position: relative;
    top: 20px;
    transition: all .4s;
}

#main .category h4:hover {
    cursor: pointer;
    background: #4DC263;
    transition: all .4s;
}

#main .category h4::before {
    content: url("../module/img/i_category.svg");
    display: inline-block;
    width: 10px;
    height: 28px;
    margin: 0 10px;
}

#main .category .block {
    border: 1px solid #00A71F;
    padding: 30px;
    display: none;
}

#main .category .block dl {
    padding: 20px;
}

#main .category .block dl.genre {
    border-bottom: 1px dotted #ccc;
}

#main .category .block dl dt {
    font-size: 1.8rem;
    text-align: center;
}

#main .category .block dl dt::after {
    content: url("../module/img/line1.svg");
    width: 140px;
    height: 28px;
    display: block;
    margin: auto;
}

#main .category .block dl dd {
    padding: 20px 20px 10px;
}

#main .category .block dl dd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#main .category .block dl dd ul li {}

#main .category .block dl dd ul li input[type="checkbox"] {
    display: none;
}

#main .category .block dl dd ul li label {
    font-weight: 500;
}

#main .category .block dl dd ul li label:hover {
    cursor: pointer;
}

#main .category .block dl dd ul li label::before {
    content: url("../module/img/checkbox_off.svg");
    width: 18px;
    height: 28px;
    display: inline-block;
    vertical-align: text-top;
    margin-right: 5px;
}

#main .category .block dl dd ul li input[type="checkbox"]:checked~label {
    color: #00A71F;
}

#main .category .block dl dd ul li input[type="checkbox"]:checked~label::before {
    content: url("../module/img/checkbox_on.svg");
}

#main .map {
    margin-top: .7em;
}

#main .map iframe {
    width: 100%;
    height: 40vh;
}

#main .month {
    margin: 40px 40px 80px;
}

#main .month ul {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

#main .month ul li {}

#main .month ul li a {
    display: block;
    border: 1px solid #00A71F;
    color: #00A71F;
    letter-spacing: 5px;
    text-decoration: none;
    border-radius: 20px;
    width: 120px;
    text-align: center;
    position: relative;
    font-weight: 600;
}

#main .month ul li:nth-of-type(1) a::before,
#main .month ul li:nth-of-type(3) a::before {
    content: url("../module/img/list1.svg");
    width: 5px;
    height: 28px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#main .month ul li:nth-of-type(1) a::before {
    transform: translateY(-50%) rotate(180deg);
    left: 10px;
}

#main .month ul li:nth-of-type(3) a::before {
    right: 10px;
}

#main .month ul li:nth-of-type(2) a {
    background: #00A71F;
    color: #fff;
}

#main .month time {}

#main .month h3 {
    font-size: 1.8rem;
    text-align: center;
}

#main .Archive {
    margin: 40px;
}

#main .Archive ul li {
    margin-bottom: 60px;
}

#main .Archive ul li dl {
    display: flex;
    justify-content: space-between;
}

#main .Archive ul li dl dt {
    width: 250px;
}

#main .Archive ul li dl dt img {
    vertical-align: middle;
}

#main .Archive ul li dl dd {
    width: calc(100% - 280px);
}

#main .Archive ul li dl dd h3 {
    font-size: 1.5rem;
    line-height: 1.4em;
    /* padding: 3px 0 0 35px; */
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-bottom: .5em;
    /* justify-content: stretch; */
}

#main .Archive ul li dl dd h3 i {
    background: #00A71F;
    width: 30px;
    height: 30px;
    display: block;
    padding: 5px;
    margin-right: 0.5em;
    box-sizing: border-box;
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
}

#main .Archive ul li dl dd h3 p {
    align-items: center;
    display: flex;
}

#main .Archive ul li dl dd .lead {
    padding: 20px 5px 5px;
    line-height: 1.8em;
}

#main .Archive ul li dl dd time {
    display: block;
    padding: 5px 5px 15px;
    font-size: 1.3rem;
}

#main .Pagination {
    margin-top: 0;
}

#main .Detail {
    margin: 40px 40px 120px;
}

#main .Detail h3 {
    font-size: 2rem;
    text-align: center;
    margin: 0 0 20px;
}

#main .Detail time {
    text-align: center;
    font-weight: 500;
    display: block;
    margin: 0 0 30px;
    letter-spacing: 2px;
}

#main .Detail .lead {
    margin-bottom: 40px;
}

#main .Detail .data {}

#main .Detail .data table.tb01 {
    margin: 40px 0;
}

#main .Detail .data table.tb01 th,
#main .Detail .data table.tb01 td {
    border: 1px solid #E0F2E0;
    padding: 12px 20px;
    line-height: 1.6em;
}

#main .Detail .data table.tb01 td a[target="_blank"]::after {
    content: " (外部リンク)";
}

#main .Detail .data table.tb01 th {
    vertical-align: middle;
    color: #04A620;
    text-align: left;
    font-weight: normal;
    width: 120px;
}

#main .Detail .photo {
    border-bottom: solid 1px #eee;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

#main .Detail .photo ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#main .Detail .photo ul li {
    width: 23%;
    margin-bottom: 2%
}

#main .Detail .photo ul li:first-child {
    width: 100%;
}

#main .Detail .photo ul li:empty {
    height: 0;
    border: none;
    margin: 0;
}

#main .Detail .photo ul li img {}

#main .Archive .eventicon {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}

#main .Archive .eventicon li {
    padding: 0;
    margin: 0;
    border-radius: .6em;
    padding: .2em .6em;
    margin-right: .3em;
    border: solid 1px #00A71F;
    line-height: 1;
    font-weight: bold;
    color: rgb(47, 126, 38);
}

@media screen and (max-width: 480px) {
    #main #event {}
    #main .category {
        margin: 40px 0 60px;
    }
    #main .category .block {
        padding: 20px;
    }
    #main .category .block dl {
        padding: 10px 0;
    }
    #main .category .block dl dd {
        padding: 10px 0 0;
    }
    #main .category .block dl dd ul {
        justify-content: flex-start;
    }
    #main .category .block dl dd ul li {
        width: 48%;
        margin: 1%;
    }
    #main .month {
        margin: 40px 0 60px;
    }
    #main .month ul li a {
        width: 90px;
    }
    #main .Archive {
        margin: 40px 0 0;
    }
    #main .Archive ul li dl {
        display: block;
    }
    #main .Archive ul li dl dt {
        width: auto;
    }
    #main .Archive ul li dl dd {
        width: auto;
    }
    #main .Archive ul li dl dd .btn1 {
        text-align: center;
    }
    #main .Detail {
        margin: 40px 0 60px;
    }
    #main .Detail h3 {
        font-size: 1.6rem;
        text-align: left;
        margin: 0 0 5px;
    }
    #main .Detail time {
        text-align: left;
        margin: 0 0 15px;
    }
    #main .Detail .data table.tb01 th,
    #main .Detail .data table.tb01 td {
        width: auto;
        display: block;
    }
    #main .Detail .data table.tb01 th {
        background: #E0F2E0;
        text-align: center;
        padding: 2px 5px;
    }
    #main .Detail .data table.tb01 td {
        padding: 10px 20px 20px;
    }
}


/* 点滅 */

.blinking {
    -webkit-animation: blink .5s ease-in-out infinite alternate;
    -moz-animation: blink .5s ease-in-out infinite alternate;
    animation: blink .5s ease-in-out infinite alternate;
}

@-webkit-keyframes blink {
    0% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}