@charset "utf-8";
@media only screen and (min-width: 767px) and (max-width: 768px) {
  body {
    min-width: 100%;
  }
  .container {
    min-width: 100%;
  }
  #contentsBox, .md-1, .md-2, .md-3, .md-4, .md-5, .md-6, .md-7, .md-8, .md-9, .md-10, .md-11, .md-12, nav#gnavi .container ul {
    width: 100%;
  }
  .banner_area li {
    width: 49.3%;
  }
  /*  #sp_navi_box {
    display: block !important;
  }*/
}

/*pc*/
  .pc-view{
    display:block ;
  }
  .sp-view{
    display: none;
  }

@media screen and (max-width: 768px) {
  
  .pc-view{
    display: none;
  }
  .sp-view{
    display: block;
  }
  
  body{
    font-size: 1.4rem;
  }
  ul li a .event_summary{
    display: block!important;
  }
  ul li a .date,
  ul li a .title{
   /* display: block;*/
    width: 100%!important;
  }
  
  .col {
    min-height: 1px;
    position: relative;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  /* header */
  header {
    min-width: 100%;
    height: 97px;
    /*    padding-top: 10px;*/
  }
  header .container {
    padding: 0 !important;
    margin: 0 auto;
    text-align: center;
    height: 100%;
  }
  header .character, #header_search, .search_link_btn {
    display: none;
  }
  header .md-8 {
    padding: 0;
  }
  /* navi */
  #sp_menu {
    display: flex;
    position: relative;
    /* height: 40px; */
  }
  #sp_navi {
    display: block;
    position: absolute;
    top: -90px;
    right: 0;
    /*width: 100%;*/
    text-align: center;
  }
  #panel-btn {
    border: none;
    -webkit-font-smoothing: initial;
  }
  #sp_navi_txt {
    display: block;
    position: absolute;
    top: 5px;
    left: 20px;
    z-index: 100;
    font-weight: bold;
    pointer-events: none;
    color: #fff;
  }
  #sp_navi_txt::before {
    content: "メニューを開く";
  }
  #sp_navi_txt.open {
    left: 20px;
  }
  #sp_navi_txt.open::before {
    content: "メニューを閉じる";
  }
  #sp_navi_login a {
    display: flex;
    flex-direction: column;
    min-width: 58px;
    align-items: center;
    color: #333;
    text-decoration: none;
  }
  #sp_navi_login img {
    height: 21px;
    margin: 6px 0 3px;
  }
  #sp_navi_login_label {
    font-size: 1.2rem;
    line-height: 1;
  }
  header .container .row {
    justify-content: space-between;
    padding: 4px 10px;
    padding-right: 0;
    position: relative;
  }
  header .container .row:before, header .container .col:before, header .container .row:after, header .container .col:after {
    content: none;
  }
  h1#header_logo, p#header_logo {
    position: static;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    font-size: 100%;
    line-height: 1.8;
  }
  h1#header_logo, p#header_logo a {
    display: block;
    line-height: 0;
    text-align: left;
  }
  #header_logo img {
    width: 100%;
    padding-top: .75em;
  }
  header .container .col {
    position: static;
    padding: 0;
  }
  #sp_navi_box {
    display: none;
    width: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
    z-index: 150;
    overflow-y: scroll;
    width: 100vw;
/*    background: #FFFFFF;*/
  }
  header .nav_upper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5em 10px;
    background: #fff;
  }
  header .nav_upper .nav_upper_links {
    margin-bottom: 1.5em;
  }
  header .nav_upper .nav_upper_links ul a {
    font-size: 1.6rem;
  }
  /*slide*/
  .flex-viewport {
    max-width: none;
  }
  .slidewrap {
    width: 100%;
    float: none;
    height: auto;
    margin-bottom: 0px;
  }
  .flex-control-nav {
    display: none;
  }
  .flexslider {
    text-align: center !important;
    margin: 0 0 40px !important;
  }
  .flexslider .slides {
    margin-left: 0 !important;
  }
  .flexslider .slides > li {
    margin-left: 0 !important;
  }
  .custom_nav_number span {
    margin-right: 2em !important;
    font-size: 1.6rem !important;
  }
  .flex-pauseplay {
    width: 20px !important;
    height: 20px !important;
  }
  .flex-pauseplay a {
    width: 20px !important;
    height: 20px !important;
    background-size: 100% !important;
  }
  .flex-direction-nav {
    height: 20px !important;
  }
  .flex-direction-nav .flex-prev, .flex-direction-nav .flex-next {
    width: 16.5px !important;
    height: 20px !important;
    background-size: 100% !important;
  }
  .swiper-button-prev, .swiper-button-next {
    width: 18px;
    height: 22px;
  }
  .swiper_control .btn_center {
    font-size: 1.4rem;
  }
  .slider_control_btn.stop .icon_stop:before, .slider_control_btn.start .icon_start:before {
    width: 22px;
    height: 22px;
    background-size: 22px;
  }
  .swiper-slide {
    margin-bottom: 10px;
  }
  /*navi*/
  nav#gnavi {
    min-width: 100%;
  }
  nav#gnavi .container {
    padding: 0;
  }
  nav#gnavi ul {
    width: 100% !important;
    border-top: solid 1px #bbb;
    /*flex-direction: column;*/
    background: #FFFFFF;
  }
  
  nav#gnavi .container ul {
    flex-wrap: wrap;
    padding-top: 15px;
  }
  
  nav#gnavi .container ul li {
  /*width: calc(100% / 2 - 8px) !important;*/
  width: 50%;
        margin: 0 !important;
        }
  
  nav#gnavi .container li:first-child {
    border-left: none;
  }
/*  nav#gnavi .container li[id^="gnav"] > a {
    width: 100%;
    height: auto;
    padding: 0.75em 5px 0.75em 10px;
    margin-top: 0;
    font-size: 100% !important;
    border-bottom: 1px solid #D9D9D6;
    justify-content: left;
    line-height: 1.8;
  }*/
  nav#gnavi li {
    float: none;
    width: 100%;
    background-color: #fff;
  }
  nav#gnavi .container li {
    text-align: center;
    height: auto;
    border-left: none;
    border-right: none;
  }
  nav#gnavi .container li, nav#gnavi .container li a, nav#gnavi .container li a:hover, nav#gnavi .container li a.current {
    background-image: none !important;
  }
/*  nav#gnavi .container li#gnav1 a:before, nav#gnavi .container li#gnav2 a:before, nav#gnavi .container li#gnav3 a:before, nav#gnavi .container li#gnav4 a:before, nav#gnavi .container li#gnav5 a:before, nav#gnavi .container li#gnav6 a:before {
    margin-right: 10px;
    position: relative;
    top: 5px;
    left: 0;
    margin-left: 0;
  }*/
  nav#gnavi .container li#gnav6, nav#gnavi .container li#gnav7 {
    display: block;
  }
  nav#gnavi .container li#gnav6 img, nav#gnavi .container li#gnav7 img {
    display: inline-block;
  }
  nav#gnavi li span.hide {
    display: block;
    font-size: 1.6rem;
  }
  nav#gnavi ul li img {
    display: none;
  }
  nav#gnavi ul #gnav2 img {
    display: block;
  }
  nav#gnavi li a {
    display: block;
    position: relative;
    padding: 10px 25px 10px 10px;
    border-bottom: 1px solid #D9D9D6;
    background: #fff;
    color: #566313;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
  }
  nav#gnavi li:hover {
    background: #efefef;
  }
  nav#gnavi li:nth-child(odd) a {}
  #panel-btn {
    /*    display: inline-block;
    position: relative;
    width: 100%;
    height: 40px;
    border: 1px solid #F6F6F6;
    background: #F6F6F6;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;*/
  }
  .navi_sp_link{
    background: #FFF;
    padding: 1px 0 10px;
  }
  .navi_sp_link {
  display: block;
  text-align: center;
  flex-wrap: wrap;
  
}
  #inner_wrap_pankuzu .container{
    padding: 0;
  }
  ol#topicpath{
    margin-top: -10px;
    margin-bottom: 10px;
  }
.navi_sp_link ul {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-around;
  padding-left: 0;
  margin:10px auto;
}

.navi_sp_link ul li {
  list-style-type: none!important;
  width: 50%;
}

  #panel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 15px 5px 5px;
    background: none;
    color: #000000;
    text-decoration: none;
    min-width: 58px;
  }
  #panel-btn #sp_navi_label {
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 1em;
  }
  #panel-btn-icon {
    display: block;
    position: relative;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #10467d;
    transition: .2s;
  }
  #panel-btn-icon:before, #panel-btn-icon:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 2px;
    background: #10467d;
    transition: .3s;
  }
  #panel-btn-icon:before {
    margin-top: -8px;
  }
  #panel-btn-icon:after {
    margin-top: 6px;
  }
  #panel-btn .close {
    background: transparent;
  }
  #panel-btn .close:before, #panel-btn .close:after {
    margin-top: 0;
  }
  #panel-btn .close:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  #panel-btn .close:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  ul.topicpath {
    width: 100%;
    margin: 0 0 10px;
    background: #efefef;
  }
  #sp_navi_box .js-navCloseToggle {
    width: 100%;
    border: none;
    display: block;
    padding: 0.75em 10px;
    border-bottom: 2px solid #999;
    color: #333;
  }
  #sp_navi_box .js-navCloseToggle span {
    position: relative;
    padding-left: 20px;
    line-height: 1;
    color: #333;
  }
  #sp_navi_box .js-navCloseToggle span:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 2px;
    background: #000;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    margin-top: -1px;
  }
  #sp_navi_box .js-navCloseToggle span:after {
    display: block;
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 2px;
    background: #000;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    margin-top: -1px;
  }
  /* opac navi*/
  #sp_opac_navi {
    display: block;
    z-index: 9999;
    margin-top: 20px;
  }
  #sp_opac_navi ul {
    margin: 10px;
    border: 1px solid #999;
    border-radius: 5px;
    background-color: #f4feff;
  }
  #sp_opac_navi ul:after {
    content: "";
    display: block;
    clear: both;
  }
  #sp_opac_navi ul li {
    list-style: none;
    float: left;
    width: 50%;
    min-width: 130px;
    height: 45px;
    line-height: 45px;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
	
  .box_l #bookSearch {
    display: none;
  }
  #sp_opac_navi ul li:nth-child(even) {
    border-right: none;
  }
  #sp_opac_navi ul li:nth-last-child(1), #sp_opac_navi ul li:nth-last-of-type(2) {
    border-bottom: none;
  }
  #sp_opac_navi ul li:nth-last-of-type(2):nth-child(even) {
    border-bottom: 1px solid #999;
  }
  #sp_opac_navi ul li a {
    display: block;
    padding-left: 15px;
    height: 45px;
    color: #566313;
    font-weight: bold;
    font-size: 1.4rem;
  }
  #spForm {
    width: 100%;
    height: 3em;
    margin: 0 auto 1em;
  }
  #bookSearch_area .container {
    flex-wrap: wrap;
  }
  #bookSearch, #d_libSearch {
    display: block;
    padding: 0em !important;
    justify-content: space-between;
  }
  .bookSearch_link, .d-bookSearch_link {
    position: relative;
    width: 100%;
    display: block;
    text-align: left;
    margin-left: .5em;
    line-height: 1;
  }
		.booksearch_btn, .d_libsearch_btn {
		text-align: center;
		padding: 0 3px;
	}
	p.bookSearch_title, 
  p.d_libSearch_title {
		text-wrap: nowrap;
		
		padding: .2em 0 .3em;;
	}
  #btn_mypage_area .btn_mypage {
    margin-top: 1em!important;
  }
	p.bookSearch_title::before, p.d_libSearch_title::before {
		content: "";
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        background-size: contain;
        background-repeat: no-repeat;
        margin: 0 .2em 0 0;
	}
	p.bookSearch_title::before {
		background-image: url(../images/icon_bookSearch.svg);
	}
	p.d_libSearch_title::before {
		background-image: url(../images/icon_d_libSearch.svg);
	}
  
  #bookSearch_area {
    background: url("../images/bg_search.png") repeat;
    margin-top: 0;
  }
  #bookSearch_area .container{
        padding: 0 10px;
  }
	#bookSearch .formTxt, #d_libSearch .formTxt {
		width: 75%;
    font-size:1.3rem; 
    }
	.bookSearch_field, .d_libSearch_field {
	}
  #bookSearch{
    margin: 0;
  }
  .index .bookSearch_field form{
    display: flex;
  }
  .index .bookSearch_field form .booksearch_btn{
    width: 25%!important;
  }
  #bookSearch .linkarea ul li a{
    font-size: 1.2rem;
  }
	#bookSearch .booksearch_btn, #bookSearch_sp .booksearch_btn, #d_libSearch .d_libsearch_btn, #d_libSearch_sp .d_libsearch_btn {
		width: auto;
	}
  
  #bookSearch .linkarea ul {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
  }
  
   #bookSearch .linkarea ul li {
   width: 30%!important;
  }
  
  #bookSearch .linkarea ul li.kids {
  display: block;
  background: #61610E;
  color: #FFFFFF;
  border-radius: 10px;
}

#bookSearch .linkarea ul li.kids a {
  background: #61610E;
  color: #FFFFFF;
}
  
  #btn_mypage_area .btn_mypage {
    width: 100%;
    margin: 0 auto;
  }
  #btn_mypage_area .btn_mypage a{
    padding: 0em;
    height: auto;
    width: 100%;
  }
  #btn_mypage_area .btn_mypage a .name{    
    font-size: 1.6rem;
    text-align: center;
    margin: 0;
    padding: .5em;
  }
  #btn_mypage_area .btn_mypage {
    /*background: url(../images/icon_mypage.png) no-repeat 50px center #FFC037;*/
    }
	
  /* index */
  #honbun_btn, .design_control, .searchBlock, .sidemenu, .libLink, nav#sp {
    display: none;
  }
  #top_wrap .container {
    width: 100%;
    padding: 0 !important;
    margin-bottom: -80px;
  }
  #main_visual .container {
    padding: 0;
  }
  #main_visual {
    margin: 0;
    padding: 0;
    height: auto;
  }
  #mainVisual .txt_greeting {
    right: 10px;
  }
  .usemenu_link li.ft {
    font-size: 1.6rem;
    margin: 1em 0;
  }
  .top_row {
    display: flex;
    display: -webkit-flex;
    flex-flow: column nowrap;
    width: 100%;
    padding: 0 10px;
  }
  .top_row .box_c {
    order: 1;
    -webkit-order: 1;
    margin: 0;
  }
  .top_row .box_r_top {
    order: 3;
    -webkit-order: 3;
    text-align: center;
  }
  .top_row .box_l {
    order: 2;
    -webkit-order: 2;
    margin-bottom: 1em;
  }
  .banner_area {
    margin-top: 0px;
    text-align: center;
    margin-bottom: 20px;
  }
  .top_row .box_l .banner_area {
    text-align: center;
  }
  .top_row .box_l .banner_area ul li {
    display: inline;
    width: 40%;
    height: auto;
    margin: .2em;
  }
  .top_row .box_l .banner_area p img {
    width: auto;
    height: auto;
  }
  #top_wrap .box_l, #inner_wrap .box_l {
    padding-right: 0 !important;
  }
  .newsBlock dd, .eventBlock dd, .tenjiBlock dd {
    margin: 0 !important;
    padding: 0 !important;
    clear: both;
  }
  .newsBlock dd span, .eventBlock dd span, .tenjiBlock dd span {
    white-space: nowrap !important;
  }
  .newsBlock dt, .eventBlock dt {
    width: 100% !important;
  }
  .newsBlock dt p.data, .eventBlock dt p.data, .tenjiBlock dt p.data {
    margin-right: 5px;
    width: auto;
  }
  
  .newsBlock ul li .data .date, .eventBlock ul li .data .date, .tenjiBlock ul li .event_summary .date, .listPage ul li .event_summary .date{
    font-size:inherit;
  }
  
  #top_wrap .box_r_top {
    padding-left: 0 !important;
    margin-bottom: 1em;
  }
  .usemenu_link_r {
    margin-bottom: 1em;
  }
  /*#top_wrap .box_r_top ul li {
	display: inline;
}*/
  #top_wrap .box_r_top ul li:nth-child(even) {}
  #top_wrap .box_r_top img {
    height: auto;
    margin: 1%;
  }
  #top_wrap .box_r_top .usemenu_link {
    margin: 20px 0;
  }
  #top_wrap .box_r_top .usemenu_link li {
    display: block;
  }
  #top_wrap .box_r_top #bn_map {
    display: none;
  }
  .newsBlock {
    margin-top: 10px;
    margin-bottom: 0;
  }
  .eventBlock .tab_area .tab_menu .tab_tit a {
    font-size: 1.2rem;
  }
  .link_btn_list li, div#banner_area ul.slides li {
    padding: 1px 0 0;
    vertical-align: top;
    line-height: 1;
    display: table;
    width: calc(50% - 20px);
    margin: 10px;
    box-sizing: border-box;
  }
  .link_btn_list li a {
    line-height: 1.8;
  }
  table {
    width: 100% !important;
  }
  table th {
    white-space: normal !important;
    width: 30%;
  }
  /* inner */
  .contentIn {
    padding: 20px 10px 0;
    padding: 20px 0;
  }
  div#pagelink_list {
    padding: 5px 10px;
  }
  div#pagelink_list ul li {
    white-space: normal !important;
    /*    padding-left: 4em;
    text-indent: -3em;*/
  }
  .inner_row {
    display: flex;
    display: -webkit-flex;
    flex-flow: column nowrap;
    width: 100%;
    padding: 0 10px;
  }
  .inner_row .box_l {
    order: 2;
    -webkit-order: 2;
    margin: 0;
  }
  .inner_row .box_c {
    order: 1;
    -webkit-order: 1;
    margin: 0;
  }
  .inner_row .box_r {
    order: 3;
    -webkit-order: 3;
    margin: 0;
  }
  #top_wrap, #inner_wrap {
    padding-top: 15px;
  }
  #top_wrap {
    padding-top: 0;
  }
  #inner_wrap .container {
    padding: 0;
      padding-left: 10px;
  padding-right: 10px;
  }
  .lib_acc_l, .lib_acc_r {
    float: none;
    width: 100%;
  }
  .lib_acc_r {
    margin-top: 1.5em;
  }
  .booksR .pc {
    display: none !important;
  }
  .booksR .sp {
    display: block !important;
  }
  .kids #inner_wrap_in {
    padding-bottom: 10px;
    background-size: 672px auto;
  }
  .kids ul.index_menu li {
    width: auto;
    margin: 20px;
  }
  .kids_search_title {
    font-size: 1.4rem;
    padding-left: 70px;
    background: url(../images/kids/icn_kids_index.png) no-repeat 0 0px;
    background-size:auto 60px;
    min-height: 60px;
}

  .kids .kids_serach_area {
    background-size: auto 90px;
    padding: 0px 0 20px 0px !important;
    
    background:none;
    }

  .kids_search {
    float: none;
    display:block;
  }
  .kids_search label {

  }
  .kids_search .search_field {
    width: 70%;
  }
  .kids_search .search_btn {
    width: 30%;
  }
  .kids_search .search_btn_detail{
    width: 100%;
    margin-top: 20px;
  }
  
  .kids ul.index_menu {
    margin: 10px 0 40px;
    gap: 10px;
  }
  .kids ul.index_menu li {
    margin: 0;
    width: calc(100% / 2 - 10px);
  }
  .kids .index_menu li a img, .kids .lib_area li a img {
    height: 110px;
    width: auto;
  }
  .kids .md-4, .kids .md-8, .ya .md-4, .ya .md-8 {
    width: 100%;
  }
  .kids div.kids_h1, .kids .contents_area, .kids h2.ico_event, .kids .contents_area .kids #inner_wrap h2.pen {
    background-size: 100% !important;
    height: auto;
    padding: 0 !important;
  }
  .kids_index .kids #inner_wrap h1 {
    background-size: 100% !important;
    padding: .3em .5em;
    padding: 0 !important;
    margin-bottom: 20px;
    margin-left: -15%;
  }
  .kids #contentsBox {
    margin-bottom: 40px;
  }
  .kids #kidsmenu_box .lib_area li {
    margin: 0 auto 20px;
  }
  .kids .introduction_area, .kids #kidsmenu_box {
    text-align: center;
  }
  .kids #kidsmenu_box .edu_area {
    background-position: center;
  }
  .kids div.kids_h1 img {
    padding: 10px;
    margin-left: 0;
  }
  .kids .eventBlock .btnList a {
    top: 0;
    right: 20px !important;
    margin: 2px;
  }
  .kids .contents_area, .kids_btn {
    width: 100%;
  }
  .kids #eventarea, .ya #eventarea {
    padding: 0;
  }
  /*  .kids #inner_wrap h1, .kids .eventBlock p.title_bar {
    background-repeat: repeat-y !important;
    border-radius: 5px;
  }
  .kids .kids_guide h2 {
    background-size: cover !important;
  }*/
  .kids_index.kids #inner_wrap h1 {
    padding: 0 !important;
    margin: 0;
    text-align: left;
  }
  .kids_index.kids #inner_wrap h1 img {
  }
  .kids #inner_wrap h1, .kids .eventBlock p.title_bar, .ya #inner_wrap h1 {
    font-size: 2.0rem;
    padding: 0 0 12px !important;
    margin-bottom: 22px;
  }
  .kids h2 {
    padding: 10px 10px 10px 60px;
    font-size: 1.8rem;
    background-size: auto 200px;
    margin-top: 36px;
  }
  .kids h2:before {
    background-size: auto 50px;
    height: 50px;
  }
  
  .ya_link{
    padding: 1em;
  }
  
  .lib_info_link li{
   list-style-type: none;
   width: 50%;
    padding: 8px 18px;
}
  .ya #contentsBox{
    margin-bottom: 0;
  }
  .ya ul.index_menu {
    display: flex;
    flex-wrap: wrap;
  gap: 20px;
    margin: 20px 0;
    padding: 0;
    
}

  .ya .index_menu li {
  width:calc(100% / 2 - 20px);
}
    .ya .index_menu li a img, .ya .lib_area li a img {
        
    }
  .ya .inner_wrap h1{
    margin: 10px 0 20px;
  }
  
  .ya:not(.ya_index) .inner_wrap{
    background-size: 100%;
    padding-bottom: 150px;
  }
  
  .ya #inner_wrap h2 {
    padding: 10px;
    font-size: 1.8rem;
    background-size: auto 200px;
    margin-top: 36px;
  }
  #contentsBox p.ya_lead{
    text-align:left;
  }
  #contentsBox p.ya_lead br{
    display: none;
  }
  .ya .inner_wrap_search .yasubmenu_wrap .yasubmenu_usemenu{
    max-width:90px;
      top: -190px;
  right: 100px;
  }
  .ya .inner_wrap_search .yasubmenu_wrap .yasubmenu_newbook{
    max-width:90px;
      top: -210px;
  right: 10px;
  }
  .ya .inner_wrap_search .yasubmenu_wrap .yasubmenu_pop{
      top:-270px;
    left: 10px;
    max-width:170px;
  }
  
  .ya .inner_wrap_search {
  background: url("../images/ya/bg_ya_search.png") no-repeat center top,linear-gradient(
    to bottom,
    transparent 70%,
     #FFFAEE 70%
  );
        padding-top: 120px;
    background-size: 100%;
  }
  
  .ya_index .ya_search .search_field {
    width: 80%;
}

  .newsBlock span.title, .eventBlock span.title, .tenjiBlock span.title{
    font-size: inherit;
  }
  
.ya h2.ico_news {
    padding-right: 0 !important;
    padding-bottom: 1em;
    min-width: 300px;
}

.ya .newsBlock ul li {
  margin-bottom: 0!important;
  padding-bottom: 0!important;
}

.ya .newsBlock ul li a {
    padding-bottom: 0 !important;
    padding-top: 0.5 !important;
    text-decoration: none;
}

.ya .inner_wrap_search h2 {
  text-align: center;
  margin-bottom: .5em;
}

.ya_search_title {
  font-size: 93%;
}

.inner_wrap_news .inner_row {
  padding: 0 !important;
}
  
  .ya .inner_wrap_news {
  padding-top: 0px;
  padding-bottom: 0px;
    background: url("../images/ya/bg_ya_news_sp.png") no-repeat,
  linear-gradient(
    to bottom,
    #F2ECDC 40%,
    #F2ECDC 80%,
    #FFFFFE 100%
  );
    background-size: 100%;
}
  .ya .ya_top_tit{
    text-align: center;
  }
  .ya .newsBlock {
    display: block;
    /*flex-direction: column;*/
    }
    
   .ya .newsBlock .right_box .btnList {
        display: block;
        margin-top: 20px;
    }
    
    .ya .newsBlock .left_box .btnList {
    display: none;
    text-align: center;
}
  
  .ya #kidsmenu_box .search_area {
    max-width: none;
  }
  .ya .lib_area, .ya .lib_area li {
    max-width: none;
  }
  .facility-list li {
    height: auto;
    min-height: 3em;
  }
  .facility-list li span {
    text-align: center;
    /*display: table-cell;*/
    vertical-align: middle;
  }
  .facility-list .closed {
    /*    padding: 0px !important;*/
  }
  
  h2.ico_news, h2.ico_event,h2.ico_tenji {
    font-size: 2rem !important;
  }
  .index .newsBlock-important h2.ico_news{
    margin-left: 0!important;
  }
  h2.ico_news span.entxt {
    font-size: 2rem !important;
  }
  .pagetop {
    display: none !important;
  }
  /* footer */
  footer {
    height: auto;
    min-width: 100%;
    background-position: left -140px top;
  }
  footer .container {
    padding: 0;
    text-align: left;
    margin: 0 auto;
    background-size: 100%;
    height: auto;
  }
  footer .container .row {
    padding: 10px;
  }
  #ftr_r {
    text-align: left;
    margin-top: 20px;
  }
  p#ftr_name {
    font-size: 1.6rem;
  }
  #ftr_r ul {
    margin: .5em 0!important;
  }
  #copyright,
  #ftr_address,
  #ftr_r ul{
      font-size: 78%;
  }
  
  #annotation {
    text-align: left;
  }
  div#banner_area ul {
    justify-content: space-evenly;
  }
  #bookSearch .search_btn, #bookSearch_sp .search_btn {}
  #sp_opac_navi .bookSearch_field {
    text-align: center;
    padding: 20px 10px;
  }
  #bookSearch_sp {
    margin: 0 10px;
    border-radius: 6px 6px 0 0;
  }
  header .header_search {
    padding: 10px;
  }
  header .header_search .tab_area_wrap .tab_nav {
    width: 144px;
  }
  header .header_search .tab_area_wrap .tab_nav .tab_tit {
    font-size: 1.2rem;
    padding: 6px 0 6px 5px;
  }
  header .header_search .tab_area_wrap .tab_area_inner {
    width: calc(100% - 144px);
    padding: 10px 5px 10px 14px;
  }
  .header_search .tab_area .tab_content {
    font-size: 1.3rem;
  }
  header .header_search .tab_area_wrap .tab_area_inner #contentA fieldset .formTxt, header .header_search .tab_area_wrap .tab_area_inner #contentA label .formTxt, header .header_search .tab_area_wrap .tab_area_inner #contentB .search-input .formTxt {
    width: calc(100% - 55px);
  }
  header .header_search .tab_area_wrap .tab_area_inner #contentA fieldset .search_btn, header .header_search .tab_area_wrap .tab_area_inner #contentA label .search_btn, header .header_search .tab_area_wrap .tab_area_inner #contentB .search-input .d_libsearch_btn {
    width: 55px;
    padding: 3px 5px;
  }
  footer {
    margin-top: 60px;
  }
  footer .footer_sitemap {
    display: none;
  }
  footer .container .row {
    flex-direction: column;
  }
  footer .footer_txts {
    margin-top: 0;
    padding: 0 10px;
  }
  footer .footer_txt_area .md-5 {
    margin-top: 0;
  }
  #ftr_r {
    align-items: start;
    padding: 0 10px;
    margin: 0;
  }
  .index .newsBlock, .index .eventBlock ,.index .tenjiBlock{
    margin-top:30px;
    margin-bottom: 0;
    padding: 20px 10px;
  }
  #toposusume {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .newsBlock ul, .eventBlock ul {
    padding: 0 10px;
  }
  .eventBlock ul li .event_img {
    max-width: 100px;
    margin-right: 10px;
  }
  .calendar_area {
  margin-top: 2em;
  }
  .newsBlock ul li .data, .eventBlock ul li .data {}
  .calendar_area .tit01 {
    font-size: 2.0rem;
  }
  .calendar_data {
    font-size: 1.4rem;
    max-height: none;
    padding: 3px 0px;
  }
  .calendar_data h2{
    background-size: 1em auto;
    font-size: 1.6rem;
    padding-left:28px;
  }
  
  .lib_cal_wrap {
    flex-direction: column;
  }
  .facility-list {
    width: 100%;
    gap: 12px 10px;
  }
  .facility-list li{
    border-top-width: 10px!important;
  }
  .facility-list li, .facility-list .closed {
    display: block;
    display: flex;
        width: calc(100% / 3 - 12px);
    /*background-size: 40px;*/
    max-width: none;
    background: none;
  }
  .data-facility::before{
    content:"";
    display: block;
    width: 100%;
    height: 50px;
    background: url("../images/topr-open.svg") no-repeat center center;
    background-size: 100%;
  background-size: 70px auto;
  }
  .facility-list .closed .data-facility::before{
    background-image: url("../images/topr-close.svg");
  }
  .facility-list li:nth-child(5) .data-facility{
    margin-top: auto;
  }
  .facility-list li:nth-child(5) .data-facility::before{
    display: none;
  }
  .facility-list a{
    display: block!important;
    width: 100%;
  }
  .facility-list li span {
    font-size: 2rem;
  }
  .facility-list .closed a, .facility-list .closed .tit-facility {
 /* padding-left: 20px;*/
  }
  .facility-list li span.tit-facility{
    line-height:1.5!important;
    margin-bottom: 0;
    font-size: 1.6rem;
  }
  .tit-facility::after{
    white-space: normal;
    font-size: 1.3rem;
  }
  .facility-list li span.data-facility {
    font-size: 1.3rem;
  }
  .facility-list::after {
    /*display: block;
    content:"";
    width:33%;
        width: calc(100% / 3 - 12px);*/
    display: none;
}

  .facility-list a {
    padding-left: 5px;
  }
  
  .facility-list li:nth-child(5) a {
    padding-right: 6px;
  }
  .calendar_area .calendar_title_area {
    margin-bottom: 0;
  }
  .lib_cal_links {
    width: 100%;
  }
  .lib_cal_links ul {
    flex-direction: column;
    gap: 16px;
  }
  .lib_cal_links ul li {
    width: 100%;
    background-size: 28px auto !important;
    background-position: left 10px center !important;
  }
  .lib_cal_links ul li a {
    padding: 10px 10px 10px 48px;
    align-items: flex-start;
  }
  .lib_cal_links ul li a .name {
    font-size: 1.4rem;
  }
  .lib_cal_links ul li a .txt {
    font-size: 1.2rem;
  }
  #top_wrap .container {
    margin-bottom: 0;
  }
  .newsBlock.newsBlock-important {
    padding: 10px 10px 0;
  }
  .newsBlock ul, .eventBlock ul, .tenjiBlock ul {
    padding: 0 10px;
  }
  .newsBlock ul li a,
  .tenjiBlock ul li a{
    flex-direction: column;
  }
  .newsBlock ul li .data, .newsBlock ul li .name, .eventBlock ul li .data, .tenjiBlock ul li .data, .tenjiBlock ul li .name {
    width: 100% !important;
  }
  .newsBlock .btnList a, .eventBlock .btnList a {
    margin: 10px auto;
  }
  .newsBlock-important ul li{
    margin-left: 0;
    padding-left: 0;
  }
  .top_btn_area {
    flex-direction: column;
    gap: 14px;
    margin: 40px 0;
    margin-bottom: 0;
  }
  .top_btn_area .btn_search {
    width: 100%;
  }
  .top_btn_area .btn_right {
    width: 100%;
    gap: 14px;
  }
  .top_btn_area .btn_right div {
    width: calc(100% / 2 - 7px);
  }
  .top_btn_area .btn_search a, .top_btn_area .btn_right div a {
    font-size: 1.8rem;
    padding: 45px 10px 10px;
    background-size: auto 30px;
    line-height: 1.8;
  }
  .top_btn_area .btn_search a {
    background: #fff;
    padding: 25px 10px;
  }
  .top_btn_area .btn_search a span {
    display: flex;
    align-items: center;
  }
  .top_btn_area .btn_search a span:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(../images/icon_btns_search.svg) no-repeat;
    background-size: 30px;
    margin-right: 10px;
  }
  .top_btn_area .btn_guide a {
    background: url(../images/icon_btns_guide.svg) no-repeat center 10px #fff;
  }
  .top_btn_area .btn_mypage a {
    background: url(../images/icon_btns_mypage.svg) no-repeat center 10px #fff;
  }
  .top_btn_area .btn_facility a {
    background: url(../images/icon_btns_facility.svg) no-repeat center 10px #fff;
  }
  .top_btn_area .btn_kidspage a {
    background: url(../images/icon_btns_kids.svg) no-repeat center 10px #fff;
  }
  .top_btn_area .btn_yapage a {
    background: url(../images/icon_btns_ya.svg) no-repeat center 10px #fff;
  }
  .top_btn_area .btn_denshi a {
    background: url(../images/icon_btns_denshi.svg) no-repeat center 10px #fff;
  }
  .index .newsBlock ul, .index .eventBlock ul, .index .tenjiBlock ul {
  margin-top: 0px;
  }
  .index .eventBlock ul {
    gap: 0 14px;
  }
  .index .eventBlock ul li {
    width: calc(100% / 2 - 7px);
  }
  div#service_link ul li {
    width: 100% !important;
    margin-bottom: .5em;
    flex: none !important;
  }
  #toposusume .booklist {
    padding: 0;
  }
  #toposusume .booklist .open, .kidsosusumetop .booklist .open {
    flex-wrap: wrap;
    margin: 0;
  }
  #toposusume .booksWrap {
    width: calc(100% / 3);
  }
  #toposusume .booklist .open li a, .kidsosusumetop .booklist .open li a {
    padding: 10px;
  }
  #toposusume .booksWrap img {
    width: 100%;
    height: auto;
    min-width: 80px;
  }
  #toposusume .booksWrap small {
    line-height: 1.8;
  }
  #toposusume .booklist .open li p.books_title, .kidsosusumetop .booklist .open li p.books_title {
    font-size: 1.4rem;
  }
  div#link_area ul li {
    width: calc(100% / 2 - 8px)!important;
    margin: 0 !important;
    text-indent: -1em;
    padding-left: 1em;

  }
  #calloutElm h2 {
  font-size: 124%;
  margin-top: 2em;
  }
  
  .info_area {
    flex-direction: column;
  }
  .info_area .information {
    width: 100%;
    padding: 20px 10px;
    margin: 0 0 50px;
  }
  .info_area .information .links {
    gap: 10px;
    flex-direction: column;
    margin: 0;
  }
  .info_area .information .links li {
    width: 100%;
  }
  .info_area .information .links li a {
    min-height: 66px;
    padding: 4px 10px;
    padding-left: 64px;
    font-size: 1.6rem;
  }
  .info_area .information .links li.info .name span {
    font-size: 1.2rem;
  }
  .info_area .X_area {
    text-align: center;
  }
  .info_area .X_area .title {
    display: inline-block;
    font-size: 2.0rem;
  }
  .twitter-timeline {
    margin: 0 auto;
  }
  .twitter-timeline iframe {
    height: 300px !important;
    left: 0;
  }
  .access_area {
    margin: 50px 0;
    margin-bottom: 0;
  }
  .access_area .txt_area h2 {
    margin: 0 0 20px;
  }
  .access_area .txt_area p.name {
    font-size: 1.6rem;
    margin-bottom: 0;
  }
  .access_area .map_area {
    flex-direction: column;
  }
  .access_area .txt_area {
    width: 100%;
    margin-right: 0;
  }
  .access_area .txt_area .line_bnr {
    text-align: center;
  }
  .access_area .map_area {
    position: initial;
    margin-top: 20px;
    display: block;
  }
  .access_area .map_area:before {
    content: none;
  }
  .access_area .map_area .map_area_inner {
    width: 100% !important;
  }
  ol#topicpath {
    line-height: 1.8;
    font-size: 1.4rem;
  }
  ol#topicpath > li:after {
    padding: 5px 10px;
  }
  #ya_osusume .booklist {
    padding: 0 30px;
  }
  #ya_osusume .ya_newbook .swiper-button-prev, #ya_osusume .ya_newbook .swiper-button-next {
    width: 24px;
    height: 24px;
  }

#calloutElm {
        position: static;
        border-top: none !important;
    }
    
    #calloutElm ul.slides li {

  
}
    
    #calloutElm ul.slides {
  width: 100%;
  max-width: 1200px !important;
  padding-left: 0;
  padding-right: 0;
    }
    
        #closeButton {
        display: none;
    }


}