

.box11{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box11 p {
    margin: 0; 
    padding: 0;
}

.box28 {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #FFC107;
}
.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
}
.box28 p {
    margin: 0; 
    padding: 0;
}

.box12{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5989cf;
    background: #c6e4ff;
    border-bottom: solid 6px #aac5de;
    border-radius: 9px;
}
.box12 p {
    margin: 0; 
    padding: 0;
}

/*本文のフォントサイズ*/
p{
font-size: 14px;
font-size:1.2rem;
/*14px=1rem*/
}
/*固定ページのh2フォントサイズ*/
.post .material h2{
font-size:1.4rem;
/*1.2rem=18px*/
}

.post .material h3{
font-size:1.4rem;
/*1.2rem=18px*/
}

.post .material h4{
font-size:1.4rem;
/*1.2rem=18px*/
}

/* Title文字の大きさ */
.wp-show-posts-entry-header {
  pointer-events: none;
  text-align: left!important;
  color: #151515!important;
}

/*カテゴリーイベント一覧*/

.cat-event {
    display: flex;
    margin: 0 -185px;
}
.event-wrap {
    display: block;
    position: relative;
    width: 220px;
    height: 300px;
    padding: 10px;
    margin: 10px 25px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 3px #aaa;
}
.event-wrap:hover {
    transition: 0.2s ease-in-out;
    transform: translate(0px, -2px);
    box-shadow: 1px 1px 10px 5px #ccc;
}

.event-wrap a {
    display: block;
    position: absolute;
    color: #333;
    text-decoration: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.event-date {
    font-size: 0.9em;
    margin-bottom: 10px;
    border-bottom: 1px solid #aaa;
}

.evevtimg {
    display: block;
    width: 220px;
    height: 165px;
    overflow: hidden;
}

.evevt-title {
    padding: 5px;
}

@media only screen and (max-width: 420px){
.cat-event {
    display: block;
    margin: 30px 0;
	}
.event-wrap {
    display: block;
    position: relative;
    width: 95%;
    height: 110px;
    padding: 5px;
    margin: 10px 0;
    box-shadow: 1px 1px 5px #aaa;
}

.evevtimg {
    display: block;
    width: 30%;
    height: 73px;
    overflow: hidden;
    float: left;
    margin-right: 15px;
}
.evevt-title {
    font-size: 0.9em;
    height: 68px;
    padding: 0 5px;
    overflow: hidden;
}

}