@charset "utf-8";

/* CSS Document */
/************************************
	clearfix 
************************************/
ul.tab {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2%;
}

.tab li span {
    cursor: pointer;
    display: block;
    background: #fee6e6;
    margin-right: 5px;
    padding: 10px 20px;
    border-radius: 10px 10px 0 0;
    color: #d4599f;
    font-weight: bold;
    text-underline-offset: 0.2em;
}

.tab li.is-active-tab span {
    background: #d4599f;
    color: #fff;
}

.tab li span:hover {
    text-decoration: underline;
}

.area {
    display: none;
    opacity: 0;
    background: #fff;
    padding: 2% 3%;
    border: solid 3px #d4599f;
    height: 350px;
    border-radius: 0 15px 15px 15px;
    overflow: auto;
}

.area.is-active-area {
    display: block;
    /*表示*/
    opacity: 1;
}


.news_date {
    display: block;
    background: url(../img/news_date_bg.png);
    width: 50px;
    height: 50px;
    border-radius: 5px;
    float: left;
}

.news_ttl {
    height: 50px;
    display: flex;
    align-items: center;
    float: left;
    margin-left: 5%;
    width: auto;
    color: #333;
    font-weight: bold;
}

.news_ttl_f {
    margin-left: 2%;
}

.news_item a {
    display: block;
    border-bottom: dotted 1px #ccc;
    padding: 2% 0;
}

.news_item a:hover .news_ttl {
    text-decoration: underline;
}

.news_end_img {
    width: 10%;
    float: left;
    margin-top: 1%;
    margin-left: 2%;
}

.news_date_1 {
    display: block;
    font-size: 0.8em;
    text-align: center;
    color: #fff;
    margin-top: 9%;
}

.news_date_2 {
    display: block;
    font-size: 1em;
    text-align: center;
    color: #fff;
}

.naka_news_item a:hover span {
    text-decoration: underline;
}

@media screen and (max-width:960px),
print {
    .tab li span {
        border-radius: 10px 10px 10px 10px;
        margin-bottom: 3px;
    }

    .area {
        border-radius: 15px 15px 15px 15px;
    }

    /*
.area {
    border-radius: 0 5px 15px 15px;
}
ul.tab{
	display: block;
}
.tab li span {
    border-radius: 0;
    border-left: solid 10px #FF5B5B;
}
ul.tab:before{
	content:"カテゴリー名をタップするとおしらせの表示が切り替わります。";
	display:block;
	padding: 0 2% 2% 2%;
}
ul.tab_f:before {
    content: "タップした年度のファイル一覧が表示されます。";
    display: block;
    padding: 0 2% 2% 2%;
}
.tab li.is-active-tab span {
    filter: drop-shadow(2px 1px 2px black);
}
*/
}

@media screen and (max-width:600px) {
    .area {
        padding: 3% 5%;
    }
}