.tab{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border-bottom:3px solid #005192;
}
.tab-menu{
  width: 33.333%;
  text-align: center;
  padding: 15px;
  color:#000;
  border-right:2px solid #fff;
  background-color: #d9e3f1;
  cursor: pointer;
  font-size:14px;
  margin: 0;
}

.tab-menu.is-active{
  background-color: #005192;
  color:#fff;
  font-weight:bold;
}
.content-box{
  display: none;
  /* height: 60vh;*/
  background-color: #fff;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 20px;
}

.content-box ul{
 display:table;
 width: 100%;
   padding: 0;
margin: 0;
}
.content-box ul li{
 display:inline-block;
width:calc( 100% / 3 );
vertical-align: top;
  padding: 0;
margin: 0;
}
.content-box ul li .item{
 display:block;
border-bottom:3px solid #ccc;
margin:1em;
}
.content-box ul li .data{
 display:inline-block;
}

.content-box ul li .cat{
 display:inline-block;
border:0px solid #ccc;
background:#2c8600;
border-radius:2px;
color:#fff;
padding:.2em .5em;
font-size:.9em;
margin-left:1em;
margin-bottom:1em;
}
.content-box ul li .title{
border-top:1px dotted #ccc;
padding-top:1em;
padding-bottom:1em;
min-height:8em;
}
.content-box.is-active{
  display: flex;
}

.text-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}
.catarchive{
	text-align:right;
    margin-right: 0;
    margin-left: auto;
}
.new-txt{
	font-weight:bold;
	color:#f00;
}

.wpnews{
	margin-top:2em;
	margin-bottom:2em;
}
.wpdate{
	text-align:right;
	margin-bottom:2em;
}

ul.catlist .data{
	display:inline-block;
}
ul.catlist .cat{
 display:inline-block;
border:0px solid #ccc;
background:#2c8600;
border-radius:2px;
color:#fff;
padding:.2em .5em;
font-size:.8em;
margin-left:1em;
margin-bottom:0em;
}
ul.catlist .new-txt{
	font-weight:bold;
	color:#f00;
}
ul.catlist .title{
	margin-top:.5em;
}
ul.catlist .item{
	width:100%;
	border-bottom:1px dotted #aaa;
	margin-bottom:1em;
}

.wpnews ul,
ol {
	font-family: var(--list--font-family);
	margin: 0;
	padding-left: calc(2 * var(--global--spacing-horizontal));
}

.wpnews ul.aligncenter,
.wpnews ol.aligncenter {
	list-style-position: inside;
	padding: 0;
}

.wpnews ul.alignright,
.wpnews ol.alignright {
	list-style-position: inside;
	text-align: right;
	padding: 0;
}

.wpnews ul {
	list-style-type: disc;
	margin-left:3em;
}

.wpnews ul ul {
	list-style-type: circle;
	margin-left:3em;
}

.wpnews ol {
	list-style-type: decimal;
	margin-left:3em;
}

.wpnews ol ul {
	list-style-type: circle;
	margin-left:3em;
}

.wpnews dt {
	font-family: var(--definition-term--font-family);
	font-weight: bold;
}

.wpnews dd {
	margin: 0;
	padding-left: calc(2 * var(--global--spacing-horizontal));
}

.wpnews table,
.wpnews .wp-block-table {
	width: 100%;
	min-width: 240px;
	border-collapse: collapse;
}

.wpnews table thead,
.wpnews table tfoot,
.wpnews .wp-block-table thead,
.wpnews .wp-block-table tfoot {
	text-align: center;
}

.wpnews table th,
.wpnews .wp-block-table th {
	font-family: var(--heading--font-family);
}

.wpnews table td,
.wpnews table th,
.wpnews .wp-block-table td,
.wpnews .wp-block-table th {
	padding: 0.5em;
	border: 1px solid;
}

.wpnews table figcaption,
.wpnews .wp-block-table figcaption {
	color: var(--global--color-primary);
	font-size: var(--global--font-size-xs);
}

.wpnews table.is-style-regular .has-background,
.wpnews table.is-style-stripes .has-background,
.wpnews table.is-style-stripes .has-background thead tr,
.wpnews table.is-style-stripes .has-background tfoot tr,
.wpnews table.is-style-stripes .has-background tbody tr,
.wpnews .wp-block-table.is-style-regular .has-background,
.wpnews .wp-block-table.is-style-stripes .has-background,
.wpnews .wp-block-table.is-style-stripes .has-background thead tr,
.wpnews .wp-block-table.is-style-stripes .has-background tfoot tr,
.wpnews .wp-block-table.is-style-stripes .has-background tbody tr {
	color: var(--table--has-background-text-color);
}

.wpnews table.is-style-stripes,
.wpnews .wp-block-table.is-style-stripes {
	border-color: var(--table--stripes-border-color);
}

.wpnews table.is-style-stripes th,
.wpnews table.is-style-stripes td,
.wpnews .wp-block-table.is-style-stripes th,
.wpnews .wp-block-table.is-style-stripes td {
	border-width: 0;
}

.wpnews table.is-style-stripes tbody tr:nth-child(odd),
.wpnews .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--table--stripes-background-color);
}

.wpnews table.is-style-stripes .has-background tbody tr:nth-child(odd),
.wpnews .wp-block-table.is-style-stripes .has-background tbody tr:nth-child(odd) {
	background-color: var(--global--color-white-90);
}

.wpnews table.wp-calendar-table td,
.wpnews table.wp-calendar-table th {
	background: transparent;
	border: 0;
	text-align: center;
	line-height: 2;
	vertical-align: middle;
	word-break: normal;
}

.wpnews table.wp-calendar-table th {
	font-weight: bold;
}

.wpnews table.wp-calendar-table thead,
.wpnews table.wp-calendar-table tbody {
	color: currentColor;
	border: 1px solid;
}

.wpnews table.wp-calendar-table caption {
	font-weight: bold;
	text-align: left;
	margin-bottom: var(--global--spacing-unit);
	color: currentColor;
}



@media screen and (max-width: 700px) {
	/* 480px以下に適用されるCSS（スマホ用） */
.content-box{

  margin-top: 0px;
}

.tab{
  display: block;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border-bottom:3px solid #005192;
}


.tab-menu{
  display: inline-block;
  width: 47%;
  text-align: center;
  padding: 3px;
  color:#000;
  border-right:2px solid #fff;
  background-color: #d9e3f1;
  cursor: pointer;
  margin: 0;

}
.content-box ul li{
 display:block;
width:100%;
vertical-align: top;
  padding: 0;
margin: 0;
}

.content-box ul li .title{
border-top: 0px dotted #ccc;
    padding-top: 0em;
    padding-bottom: 1em;
min-height:1em;
}

.content-box ul li .item{
	font-size:14px;
}

}
@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */
.tab-menu{
  width: 100%;
}
}