@charset "utf-8";

/* お知らせ（共通）
----------------------------------------------------------------------------- */
.news-wrap{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
@media screen and (max-width:768px){
    .news-wrap{
        display: block;
    }
}

/* メイン部分 */
.news-wrap-main{
    width:calc(100% - 300px);
}
@media screen and (max-width:768px){
    .news-wrap-main{
        width:100%;
    }
}

/* サイドバー */
.news-wrap-sidebar{
    background-color: #EDF1F4;
    padding: 20px;
    width:250px;
}

.news-wrap-sidebar-ttl{
    font-size: 20px;
    color: #233479;
    font-weight: bold;
    margin-bottom: 15px;
    
}
.news-wrap-sidebar-ttl img{
    width: 30px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.news-wrap-sidebar form{
    position: relative;
}
.news-wrap-sidebar form input[type="search"],
.gsc-input{
    width: 100%;
    border: 1px solid #C1C1C1;
    border-radius: 5px;
    /* padding:10px 50px 10px 10px; */
    /* margin-bottom: 30px; */
}
table.gsc-search-box td.gsc-input {
    padding-right: 0px !important;
  }
  .gsc-control-cse {
    background-color: unset !important;
    border: none !important;
    padding: 0 0 2em 0 !important;
  }
.news-wrap-sidebar form button{
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height:40px;
    border: none;
    background-color: transparent;
    font-size:20px;
}
/* 過去記事タイトル一覧 */
.wp-block-details.is-layout-flow.wp-block-details-is-layout-flow summary {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }
  .has-fixed-layout td:nth-of-type(1) {
    width: 420px;
  }
  .has-fixed-layout td:nth-of-type(2) {
    width: 320px;
    padding-left: 40px;
    color: #233479;
  }

@media screen and (max-width:768px){
    .news-wrap-sidebar{
        width:100%;
        margin-top: 30px;
    }

    .news-wrap-sidebar-ttl{
        font-size: 18px;
        margin-bottom: 10px;

    }
    .news-wrap-sidebar-ttl img{
        width: 25px;
    }
    .news-wrap-sidebar form input[type="search"]{
        margin-bottom: 20px;
    }
}

/* news-wrap-sidebar-posts */
.news-wrap-sidebar-posts{
    margin-bottom: 30px;
}
.news-wrap-sidebar-posts ul{
    
}
.news-wrap-sidebar-posts ul li{
    background-image: url("/news/images/news_sidebar_arr01.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 6px 12px;
}
.news-wrap-sidebar-posts ul li:not(:last-child){
    margin-bottom: 20px;
}
.news-wrap-sidebar-posts ul li a{
    display: block;
    text-decoration: none;
    padding-right: 15px;
    font-size: 14px;
}
.news-wrap-sidebar-posts ul li a:hover{
    text-decoration: underline;
}
.news-wrap-sidebar-posts ul li a span{
    display: block;
    font-size: 16px;
    font-weight: bold;
    color:#0168B7;
    margin-bottom: 5px;
}
@media screen and (max-width:768px){
    .news-wrap-sidebar-posts{
        margin-bottom: 20px;
    }
    .news-wrap-sidebar-posts ul li:not(:last-child){
        margin-bottom: 10px;
    }
}

/* news-wrap-sidebar-category */
.news-wrap-sidebar-category{
    margin-bottom: 30px;
}
.news-wrap-sidebar-category ul{
    
}
.news-wrap-sidebar-category ul li{
    margin-bottom: 15px;
}
.news-wrap-sidebar-category ul li a:hover{
    text-decoration: none;
}
.news-wrap-sidebar-category ul li a::before{
    width:6px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    content: "";
    background-image: url("/news/images/news_sidebar_arr02.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin-right: 10px;
}

.news-wrap-sidebar select{
    width: 100%;
}

@media screen and (max-width:768px){
    .news-wrap-sidebar-category{
        margin-bottom: 20px;
    }
    .news-wrap-sidebar-category ul li{
        margin-bottom: 10px;
    }
}


/* お知らせ一覧
----------------------------------------------------------------------------- */
.news-list{
    margin-bottom: 50px;
}
.news-list ul{
    
}
.news-list ul li{
    margin-bottom: 10px;
}
.news-list ul li::before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    width:6px;
    height: 12px;
    background-image: url("../images/link_arr.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin-right: 10px;
}
.news-list ul li a{
    display: inline-block;
}

/* ページネーション */
.news-pager{
    
}
.news-pager ul{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.news-pager ul li{
    margin: 0 5px 10px;
}
.news-pager ul li span,
.news-pager ul li a{
    text-decoration: none;
    background-color: #EDF1F4;
    width:30px;
    display: inline-block;
    text-align: center;
    padding: 5px 0;
    border-radius: 5px;
}
.news-pager ul li a:hover,
.news-pager ul li.is-current a{
    background-color: #0168B7;
    color: #fff;
}

@media screen and (max-width:768px){
    
}


/* お知らせ詳細
----------------------------------------------------------------------------- */

.news-wrap-main-header{
    margin-bottom: 50px;
}

.news-wrap-main-header-date{
    font-size: 18px;
    font-weight: bold;
    color: #0168B7;
}
.news-wrap-main-header-date span{
    display: inline-block;
    color: #fff;
    background-color: #0168B7;
    font-size: 12px;
    padding: 3px 15px;
    margin-right: 10px;
    vertical-align: middle;
}

.news-wrap-main-btn{
    margin-top: 50px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}


@media screen and (max-width:768px){
    .news-wrap-main-header{
        margin-bottom: 30px;
    }
    .news-wrap-main-header-date{
        font-size: 16px;
    }

}