section.page-title .menu {
    display: flex;
    align-items: center;
}
section.page-title .menu li {
    margin-left: 2.5rem;
    font-size: 1.2rem;
    font-weight: 400;
    color: #999999;
    padding-bottom: 0.25rem;
    border-bottom: 3px solid #ffffff;
}
section.page-title .menu li.on {
    border-bottom: 3px solid #6eb43f;
    color: #333333;
    font-weight: 600;
}
section.list-container {
    /* max-width: 1200px; */
    padding: 0;
    margin: 1rem auto;
}
.list-container:last-of-type{
    border:0;
}
section.list-container h1.month{
    font-size: 2rem;
    font-weight: 600;
    margin:0 auto 1.5rem auto;
    max-width: 1200px;
    border-top: 1px solid #dfdfdf;
    padding-top: 1.5rem;
}
section.list-container h1.month:first-of-type{
    border-top: 0;
}
section.list-container h1#tbCalendarYM{
    border:0;
    padding-top: 0;
    width: 12rem;
    margin:1.5rem auto;
    text-align: center;
    font-size: 2.3rem;
}

section .item-list {
    max-width: calc(1200px + 2rem);
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
}
section .item-list .item {
    width: calc(100% / 4 - 2rem);
    margin: 0 1rem 3.5rem;
    font-size: 0;
    position: relative;
}
section .item-list .item .badge-box {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    display: flex;
    z-index: 1;
}
section .item-list .item .img-box {
    height: 160px;
}
section .item-list .item .img-box img {
    transition: 1s;
    transform-origin: center;
}
section .item-list .item .badge-box .badge {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    background: #88b337;
    color: #ffffff;
    font-weight: 600;
}
section .item-list .item h1 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
}
section .item-list .item .date {
    font-size: 0.9rem;
    color: #999999;
}
section .item-list .item .btn-box {
    display: block;
    width: 100%;
    margin: 0;
    margin-top: 0.5rem;
}
section .item-list .item a.reserv {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6eb43f;
    background: url(/images/icon-arrow-right-green.svg) no-repeat center right;
    background-size: 0.8rem;
    border: 1px solid rgba(110,180,63,0.7);
    padding: 0.5rem 2rem 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    background-position-x: calc(100% - 0.5rem);
    border-radius: 4px;
}
section .item-list .item a.reserv.end{
   color: gray;
   background: none;
   padding: 0.5rem 1rem;
   border: 0;
   background: #efefef;
}
/* section .item-list .item a.reserv.on {
    color: #6eb43f;
    background: url(/images/icon-arrow-right-green.svg) no-repeat center right;
    background-size: 0.8rem;
    padding-right: 1.2rem;
} */
.y-m-box{
    display: flex;
    justify-content: center;
    position: relative;
}
.y-m-box .box{
    display: flex;
    align-items: center;
}
button[data-action="move-prev"],
button[data-action="move-next"]{
    width: 3rem;
    height: 3rem;
    font-size: 0;
    background-color: #f00;
    color: #fff;
    background: rgba(255,255,255,0.9) url(/images/icon-arrow-right.svg) no-repeat center;
    background-size: 1rem;
    cursor: pointer;
}
button[data-action="move-prev"]{
    transform: rotate(180deg);
}
button[data-action="move-today"]{
    position: absolute;
    right: 0;
    top: 1.5rem;
    border:1px solid #dddddd;
    border-radius: 4px;
    padding:0.4rem 0.5rem;
    color: #666666;
}
#calendar{
    height: 1000px;
    border:1px solid #e5e5e5;
    border-top: 0;
    margin-bottom: 3.5rem;
}

@media (max-width: 640px) {
    section.page-title {
        position: relative;
        padding: 1.5rem 20px;
        /* border-top: 1px solid #e5e5e5; */
    }
    section.page-title h1{
        font-size: 1.4rem;
    }
    section.page-title .menu li{
        font-size: 0.9rem;
        margin-left: 1rem;
        padding: 0.15rem 0;
        border-bottom-width: 2px;
    }
    /* section.page-title .menu li.on{
        border-bottom-width: 2px;
    } */
    section.list-container {
        padding: 0 20px;
    }
    section .item-list {
        display: flex;
        flex-wrap: wrap;
    }
    section.list-container h1.month{
        font-size: 1.6rem;
        margin-top: 0;
        margin-bottom: 0;
    }
    section.list-container h1.month:first-of-type{
        padding-top: 0.5rem;
    }
    section .item-list .item {
        width: 100%;
        margin:0;
        padding: 1rem 0;
        display: flex;
        flex-wrap: wrap;
        position: relative;
        /* border-top: 1px solid #efefef; */
    }
    section .item-list .item:last-of-type{
        margin-bottom: 2rem;
    }
    section .item-list .item > a{
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    section .item-list .item .badge-box{
        top: 1rem;
    }
    section .item-list .item .badge-box .badge {
        font-size: 0.7rem;
        padding: 0.5rem;
    }
    section .item-list .item .img-box {
        width: 100px;
        height: 100px;
    }
    section .item-list .item .txt-box{
        width: calc(100% - 100px - 1rem);
    }
    section .item-list .item h1 {
        font-size: 1.1rem;
        margin: 0 0 0.5rem;
        word-break: break-word;
    }
    section .item-list .item .date {
        font-size: 0.8rem;
    }
    section .item-list .item .btn-box{
        position: absolute;
        width: auto;
        right: 0;
        bottom: 1rem;
    }
    section .item-list .item a.reserv{
        font-size: 0.9rem;
        border:0;
        padding-top: 0;
        padding-bottom: 0;
    }
    section .item-list .item a.reserv.end{
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
        font-weight: 500;

    }
    #calendar{
        height: 900px;
    }
    section.list-container h1#tbCalendarYM{
		font-size: 1.8rem;
		width: 8rem;
        margin:1rem auto;
	}
    button[data-action="move-today"]{
        font-size: 0.8rem;
        top: 1.35rem;
        padding: 0.2rem 0.3rem;
        border:0;
    }

}
