#eBox{display:flex;flex-wrap:wrap;width:100%;padding:100px 15px;background-repeat:no-repeat;background-position:center center;background-size:cover;box-sizing:border-box;} #eCal{width:100%;max-width:600px;margin:0 auto 40px;padding:15px;box-sizing:border-box;border:solid 1px #ccc;background:rgba(255,255,255,0.7);} #eCal .hide{display:none;} #eCal .cals{position:relative;width:100%;height:300px;} #eCal .cals > div{position:absolute;top:0;right:0;left:0;width:100%;} #eCal h2{font-size:1.5em;margin-bottom:10px;} #eCal .btn{position:absolute;top:0;display:block;width:60px;height:30px;padding:10px;font-family:monospace;font-weight:bold;cursor:pointer;} #eCal .btn.cprev{left:0;text-align:left;} #eCal .btn.cnext{right:0;text-align:right;} #eCal table{width:100%;border-collapse:collapse;border-top:solid 1px #999;border-left:solid 1px #999;font-size:15px;} #eCal th, #eCal td{padding:5px;text-align:center;vertical-align:2em;border-right:solid 1px #999;border-bottom:solid 1px #999;} #eCal td span{display:inline-block;border-radius:10em;width:1.75em;height:1.75em;line-height:1.75em;} #eCal td.hold{cursor:pointer;opacity:1;transition: all 0.3s ease-out;} #eCal td.hold:hover{opacity:0.8;} #eList{width:100%;padding:0;box-sizing:border-box;} #eList .inner{position:relative;width:100%;max-width:800px;height:500px;margin:0 auto;border:solid 1px #ccc;background:rgba(255,255,255,0.7);overflow:hidden;} #eList .event{position:absolute;top:15px;right:15px;left:15px;opacity:0;z-index:-1;transition:all 0.5s ease-out;} #eList .event.show{opacity:1;z-index:2;} #eList h3{padding-bottom:5px;margin-bottom:20px;border-bottom:dotted 1px #666;font-size:1.125em;} #eList h4{margin-bottom:10px;font-size:1.125em;} #eList .list{width:100%;max-height:400px;overflow:auto;} #eList .detail{display:flex;width:100%;flex-wrap:wrap;padding-bottom:20px;margin-bottom:20px;border-bottom:dotted 1px #999;} #eList .detail:last-child{margin:0;} #eList .detail .tmb{width:100%;margin-bottom:15px;} #eList .detail .msg{width:100%;} #eList .detail .tmb img{display:block;width:100%;height:auto;margin:0 auto;} #eList .detail table{margin-bottom:1em;} #eList .detail th{width:50px;white-space:nowrap;} #eList .detail th span{display:block;padding:2px 5px;} #eList .detail td{padding:2px 5px 0 10px;} @media all and (min-width:600px){ #eCal .cals{height:350px;} #eCal h2{font-size:2em;margin-bottom:20px;} #eCal .btn{width:80px;font-size:1.25em;} #eCal .cals{height:420px;} #eCal table{font-size:16px;} #eCal th, #eCal td{padding:10px;} #eList{padding:0 15px;} #eList h3{margin-bottom:20px;font-size:1.25em;} #eList h4{margin-bottom:20px;font-size:1.25em;} #eList .detail .tmb{width:25%;margin-bottom:0;} #eList .detail .msg{width:100%;padding:0;} #eList .detail .tmb + .msg{width:75%;padding:0 15px;box-sizing:border-box;} #eCal td span{width:2em;height:2em;line-height:2em;} } @media all and (min-width:1000px){ #eCal, #eList{width:50%;} #eList .inner{margin:0;} }