/* CSS Document */
#main {
    box-sizing: border-box;
    overflow: hidden;
    float: left;
    width: 68%;
}
#sub {
    box-sizing: border-box;
    overflow: hidden;
    float: right;
    width: 28%;
}
.main {
    float: none;
    width: 100%;
}
#contents-header {
    overflow: hidden;
    width: 980px;
    margin: 20px auto;
    background: #fff;
}
.event-flex {
    display: flex; /* フレックスボックスにする */
    margin-top: 1em;
    margin-bottom: 1em;
}
.event-flex .txt {
    margin-left: 1em;
}
.event-flex .txt h4 {
    font-weight: bold;
    border-style: none;
    color: #333333;
}
h1.event {
    font-size: 2em;
}
h2.event {
    margin-top: 3em;
    margin-bottom: 0.5em;
    padding: 10px 0;
    font-size: 21px;
    color: #333;
    border-top: 3px solid #710000;
    border-bottom: 1px dotted #710000;
}
strong.event {
    color: #003399;
}
.eventbnr {
    overflow: hidden;
}
.eventbnr ul {
    overflow: hidden;
}
.eventbnr li {
    margin: 20px 0 20px 0;
    padding: 0;
    list-style: none;
    text-align: center;
}
.eventbnr li a:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
}
.eventbnr img {
    width: 100%;
}
.pochitto_btn_blue {
    display: inline-block;
    padding-top: 0.5em;
    padding-right: 1em;
    padding-left: 1em;
    padding-bottom: 0.5em;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #0C88CA;
    border-bottom: 4px solid #005691;
    border-radius: 4px;
    transition: .0s;
}
.pochitto_btn_blue:hover {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background: #005691;
    transform: translate3d(0, 4px, 0);
    transition: .0s;
    border-bottom: none;
}
/*================================================
 *  タブレット向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:979px) {
    #contents-header {
        box-sizing: border-box;
        width: 100%;
        padding: 0 2rem;
    }
    h1.event {
        font-size: 2rem;
    }
  .event-flex {
    display: block;
  }
  .event-flex .txt {
    margin-left: 0;
  }
    .eventbnr img {
        width: 75%;
    }
    #main, #sub {
        float: none;
        width: 100%;
    }
}