@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%;
  }
}

@media screen and (max-width: 768px) {
  .col {
    min-height: 1px;
    position: relative;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  /*------------------------------------------------
   header
------------------------------------------------*/
  header {
    min-width: 100%;
    /* position: fixed; */
  }

  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;
  }

  .wrapper {
    position: sticky;
  }

  #sticky.m_fixed {
    position: static;
    padding-top: 0;
  }

  /* navi */
  #sp_menu {
    display: flex;
    position: relative;
  }

  #sp_navi {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: 5px;
  }

  #panel-btn {
    border: none;
    -webkit-font-smoothing: initial;
  }

  #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 {
    height: 34px;
    width: auto;
    padding-top: 0;
  }

  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-color: #fff;
  }

  #inner_wrap h1 {
    font-size: 2.2rem !important;
  }

  #inner_wrap h1::first-letter {
    font-size: 3.3rem;
  }

  .kids #inner_wrap h1::first-letter {
    font-size: 2.2rem !important;
  }


  h2 {
    font-size: 1.8rem;
  }

  h3,
  h4 {
    font-size: 1.6rem;
  }

  .kids h3 {
    padding: 20px 0 0 0 !important;
  }

  .kids h4 {
    margin: 14px 0 0;
  }

  .sp_header_contents {
    margin-bottom: 40px;
  }

  .sp_lang_list {
    display: flex;
    justify-content: flex-start;
    padding: 0 15px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .sp_lang_list li {
    list-style: none;
  }

  .sp_lang_list li button {
    background: #fff;
    border: 1px solid #333;
    padding: 5px 14px;
    display: block;
    border-radius: 4px;
    color: #000;
    text-decoration: none;
    line-height: 1.75;
  }

  .sp_lang {
    position: relative;
    font-weight: bold;
    margin: 0 10px;
    padding: 0 0 5px 5px;
  }

  .sp_lang::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 4px;
    background-color: #F6AC1B;
    z-index: 1;
  }

  .sp_lang::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #8F2943;
  }

  .sp_lib_btn {
    display: flex;
    justify-content: center;
    margin: 10px 0px;
  }

  #sp_btn_h_search .btn_h_search_text a {
    color: #000 !important;
  }

  #sp_d_Search p a,
  #sp_btn_h_search p a {
    font-weight: normal;
  }

  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;
  }

  nav#gnavi .container li[id^="gnav"]>a {
    margin: 0 !important;
  }

  .aboutSearch {
    display: block;
    text-align: left;
  }

  #bookSearch div, #d_libSearch div {
    font-size: 14px;
}

  /*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 {

    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;
  }

  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 #D9D9D9;
    justify-content: left;
    line-height: 1.8;
  }

  nav#gnavi li {
    float: none;
    width: 100%;
    background-color: #fff;
  }

  nav#gnavi .container li {
    text-align: left;
    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;
    content: none;
  }

  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 #D9D9D9;
    background: #fff;
    color: #10467D;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
  }

  nav#gnavi li:hover {
    background: #D9D9D9;
  }

  nav#gnavi li:nth-child(odd) a {}

  #panel-btn {}

  #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: #8F2943;
    transition: .2s;
  }

  #panel-btn-icon:before,
  #panel-btn-icon:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 2px;
    background: #8F2943;
    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: #D9D9D9;
  }

  #sp_navi_box .js-navCloseToggle {
    width: 100%;
    border: none;
    display: block;
    padding: 0.75em 10px;
    border-bottom: 2px solid #999;
    color: #333;
    margin-top: -5px;
  }

  #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: 6px;
    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: #10467D;
    font-weight: bold;
    font-size: 1.4rem;
  }

  #spForm {
    width: 100%;
    height: 3em;
    margin: 0 auto 1em;
  }

  #bookSearch_area .container {
    flex-wrap: wrap;
    border-radius: 0;
  }

  #bookSearch_area .container {

    margin-bottom: 0px;
}

  #bookSearch,
  #d_libSearch {
    display: block;
    padding: 0 0 1em !important;
    justify-content: space-between;
    margin: 0 15px;
  }

  .bookSearch_link,
  .d-bookSearch_link {
    position: relative;
    width: 100%;
    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;
    font-size: 110%;
    line-height: 1;
    padding: .2em 0 .3em;
    ;
  }

  p.bookSearch_title:before {
    content: url(../images/icon_bookSearch.png);
    margin-right: .3em;
    margin-top: .4em;
  }

  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.png);
  }

  p.d_libSearch_title::before {
    background-image: url(../images/icon_d_libSearch.svg);
  }

  #bookSearch .formTxt,
  #d_libSearch .formTxt {
    width: 65%;
  }

  .bookSearch_field,
  .d_libSearch_field {}

  #bookSearch .booksearch_btn,
  #bookSearch_sp .booksearch_btn,
  #d_libSearch .d_libsearch_btn,
  #d_libSearch_sp .d_libsearch_btn {
    width: auto;
  }

  .searchArea {
    width: 100%;
  }

  /* slider */
  .slidewrap {
    margin: 20px auto 0;
  }

  .swiper_control_wrap {
    padding: 0;
  }

  /* 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;
  }

  .slider_control_btn {
    position: absolute;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    left: initial;
}

  .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;
  }

  .important-news,
  .news_title_area,
  .event_title_area,
  .information h2,
  .access h2 {
    margin: 60px 0 16px;
  }

  .calendar_data h2,
  .important-news,
  .news_title,
  .event_title,
  .information h2,
  .access h2 {
    font-size: 2rem;
    padding-left: 60px;
  }

  .news_title,
  .event_title {
    margin: 0;
  }

  .kawagoe-pattern_red,
  .kawagoe-pattern_yellow {
    display: none;
  }

  .calendar_data h2::before,
  .important-news::before,
  .news_title::before,
  .event_title::before,
  .information h2::before,
  .access h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-size: contain;
    background-image: url(../images/top_h2.svg);
  }

  .calendar_data {
    flex-direction: row;
    align-items: center;
  }


  .news_title_area, .event_title_area {
    display: block;
}

  .newsBlock dd,
  .eventBlock dd {
    margin: 0 !important;
    padding: 0 !important;
    clear: both;
  }

  .newsBlock dd span,
  .eventBlock dd span {
    white-space: nowrap !important;
  }

  .newsBlock dt,
  .eventBlock dt {
    width: 100% !important;
  }

  .newsBlock dt p.data,
  .eventBlock dt p.data {
    margin-right: 5px;
    width: auto;
  }

  #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: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 */
  #h_background {
    padding: 30px 20px;
  }

  .contentIn {
    padding: 0px 10px;
    font-size: 14px;
  }


  div#pagelink_list {
    padding: 5px 10px;
  }

  div#pagelink_list ul li {
    white-space: normal !important;
  }

  .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;
  }

  .contentIn #contents {
    padding: 0;
}

  .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;
  }


  body.kids h1.logo img {
    width: 100%;
  }

  .kids #inner_wrap_in {

    background-size: 672px auto;
  }

  .kids ul.index_menu li {
    width: auto;
    margin: 20px;
  }

  .kids .kids_serach_area {
    margin-top: 40px;
    background-size: auto 200px;
  }

  .kids_search {
    float: none;
  }

  .kids_search label {
    display: flex;
    flex-direction: column;
    border: none;
  }



  .kids_search .search_field {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #603813;
  }

  .kids_search .search_btn {
    width: 100%;
    border-radius: 10px;
    margin: 10px 0 0 0 !important;
  }

  /* .kids ul.index_menu {
    margin: 40px 0 40px;
    gap: 30px;
  } */
  .kids ul.index_menu li {
    margin: 0;
  }

  /* .kids .index_menu li a img, .kids .lib_area li a img {
    height: 140px;
  }

  .kids_search_img{
    height: 70px !important;
  } */

  .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;
  }

  .kids .introduction_area,
  .kids #kidsmenu_box {
    text-align: center;
  }

  .kids #kidsmenu_box .edu_area {
    background-position: center;
  }

  .kids div.kids_h1 img {
    padding: 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_index.kids #inner_wrap h1 {
    padding: 0 !important;
    margin: 0;
    text-align: left;
  }

  /* .kids_index.kids #inner_wrap h1 img {
    margin-left: -7%;
  } */
  .kids #inner_wrap h1,
  .kids .eventBlock p.title_bar,
  .ya #inner_wrap h1 {
    font-size: 2.0rem;
    padding: 17px 17px 17px 76px !important;
    margin-bottom: 22px;
  }

  .kids .contentIn {
    padding: 20px;
  }

  .lib_area_content2,
  .lib_area_content3,
  .lib_area_content4,
  .lib_area_content5 {
    position: static;
  }

  .kids h2 {
    padding: 10px 10px 10px 20px;
    font-size: 1.8rem;
    background-size: auto 200px;
    margin-top: 36px;
  }

  .kids h2:before {
    background-size: auto 50px;
    height: 50px;
  }

  .ya #inner_wrap h2 {
    padding: 10px;
    font-size: 1.8rem;
    background-size: auto 200px;
    margin-top: 36px;
  }

  .ya #kidsmenu_box .search_area {
    max-width: none;
  }

  .ya .lib_area,
  .ya .lib_area li {
    max-width: none;
  }

  .ya_btn {
    display: block;
    justify-content: space-around;
    text-align: center;
  }

  .ya_btn img {
    margin-bottom: 10px;
  }

  .ya_intro {
    display: block;
    padding-top: 0;
  }

  .ya_intro p {
    padding: 0 0 20px 0 !important;

  }

  .facility-list li {
    height: auto;
    min-height: 3em;
  }

  .facility-list li span {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
  }

  .facility-list .closed {}

  h2.ico_news,
  h2.ico_event {
    font-size: 2.4rem !important;
  }

  h2.ico_news span.entxt {
    font-size: 2.4rem !important;
  }

  .pagetop {
    display: none !important;
  }

  .fixBtns {

    bottom: 0;
    width: 100%;
  }

  .fixBtns ul {
    /* display: flex;
    justify-content: space-between; */
    /* margin-bottom: 5px; */
    margin-bottom: 0;
    padding: 0;
  }

  /* LINEスタート後width50%に変更 */
  .fixBtns ul li {
    width: 100%;
  }

  .fixBtns a {
    width: 100%;
    padding: 10px 0;
    height: auto;
    min-height: auto;
  }

  .fixBtns a i {
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    margin: 0 5px;
  }

  .fixBtns-line a i {
    background-size: 25px;
  }

  .ya_osusume {
    display: block;
  }

  /* footer */
  footer {
    height: auto;
    min-width: 100%;
    padding-bottom: 32px;
  }

  footer .container {
    padding: 0;
    text-align: center;
    margin: 0 auto;
    background-size: 100%;
    height: auto;
  }

  footer .container .row {
    padding: 20px 0;
  }

  #ftr_r {
    text-align: center;
    margin-top: 20px;
  }

  p#ftr_name {
    font-size: 1.6rem;
  }

  #ftr_r ul {
    font-size: 1.4rem;
  }

  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: center;
    padding: 0 10px;
    margin: 0;
  }

  .index .newsBlock,
  .index .eventBlock {
    margin-top: 20px;
    margin-bottom: 0;
  }

  #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 .tit01 {
    font-size: 2.0rem;
  }

  .calendar_data {
    font-size: 1.4rem;
    max-height: none;

  }

  .lib_cal_wrap {
    flex-direction: column;
  }

  .facility-list {
    width: 100%;
    gap: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-list li,
  .facility-list .closed {
    width: 100%;
    background-size: 22px;
    max-width: none;
    height: 100%;
  }

  .facility-list li span {
    font-size: 1.4rem;
    text-align: left;
  }

  .facility-list li span.data-facility {
    font-size: 1.2rem;
    text-align: left;
  }

  .facility-list a {
    padding: 10px 10px 10px 50px;
  }

  .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;
  }

  .opac_calendar {
    background-size: 25px !important;
  }

  .opac_calendar a {
    font-size: 1.4rem !important;
  }

  #top_wrap .container {
    margin-bottom: 0;
  }

  .newsBlock.newsBlock-important,
  .newsBlock-news {
    padding: 20px 30px 0;
  }

  .newsBlock ul,
  .eventBlock ul {
    padding: 0 10px 20px;
  }

  .newsBlock ul li a {
    flex-direction: column;
  }

  .newsBlock ul li .data,
  .eventBlock ul li .data,
  .newsBlock ul li .name {
    width: 100% !important;
  }

  .newsBlock .btnList a,
  .eventBlock .btnList a,
  .news_title_area .btnList a {
    margin: 10px 0 10px 10px;
  }

  .news_title_area .btnList a {
    margin-top: 20px;
  }

  .eventBlock_detail {
    padding: 40px 30px;
  }

  .event_title_area_detail {
    display: block;
  }

  .event-cal,
  .kids_event {
    position: relative;
    padding-left: 6px;
    margin: 10px 0 10px 15px;
    display: block;
  }

  .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 .eventBlock ul {
    gap: 0 14px;
  }


  .event_chuo,
  .event_nishi,
  .event_kawagoeeki,
  .event_takashina {
    width: 100%;
  }

  .lib_name {
    margin-bottom: 0;
  }

  /* .index .eventBlock ul li {
    width: calc(100% / 2 - 7px);
  } */
  #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;
  }

  .about_search_cont .search_box h2,
  .about_search_cont .g_search_box h2 {
    background-size: 28px;
    padding-left: 38px;
  }

  .about_search_cont .search_box .txts,
  .about_search_cont .g_search_box .txts {
    flex-direction: column;
    align-items: flex-start;
  }

  .about_search_cont .search_box .txts .search_link_btn,
  .about_search_cont .g_search_box .txts .search_link_btn {
    display: block;
    margin-top: 1em !important;
  }

  .about_search_cont .search_box .form_box form .formTxt,
  .about_search_cont .g_search_box .form_box form .search_field {
    width: calc(100% - 90px);
  }

  .about_search_cont .search_box .form_box form .search_btn,
  .about_search_cont .g_search_box .form_box form .search_btn {
    padding: 0 16px;
    width: 90px;
  }

  .information ul li {
    width: 100% !important;
    min-width: 100%;
  }

  .name {
    font-size: 1.4rem;
  }

  .information ul li a {
    padding: 10px 20px;
  }

  .information ul li a img {
    width: 35px;
    height: 35px;
  }

  .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_info {
    display: block;
    padding: 40px;
  }

  .access_info ul {
    width: 100%;
    display: block;
  }

  .access_info ul li {
    width: 100%;
  }

  .access_info img {
    padding: 0px 10px;
  }

  .map {
    justify-content: center;
    display: flex;
  }

  .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;
  }

  /*  おすすめ本（新着図書）
----------------------------------------------*/
  #booklist_all ul li h2 {
    display: flex;
    flex-direction: column;
  }

  #booklist_all ul li h2 .sub {
    margin: 10px 0 0 0;
  }

  #booklist_all ul li .book_content {
    flex-direction: column;
  }

  #booklist_all ul li .book_content .book_content_L,
  #booklist_all ul li .book_content .book_content_R {
    width: 100%;
    margin-right: 0;
  }

  /*  デジタルアーカイブ
----------------------------------------------*/

  ul.booklist {
    padding-left: 0;
  }

  .contentsArea {
    display: block;
  }

  .contentsArea .booksL {
    width: 100%;
    padding-right: 0;
  }

  .contentsArea .booksR {
    width: 100%;
    margin-top: 10px;
  }
}