@charset "UTF-8";

/* Desktop CSS is the base at every width; only layout changes below. */
.responsive-menu-toggle, .responsive-account-link, .responsive-menu-legal,
.responsive-menu-copyright, .responsive-service-description, .responsive-copyright-break,
.responsive-service-break, .responsive-mobile-services { display: none; }

/* Account for the desktop sidebar padding and its 310px-wide widgets. */
.cont_left .side { width: 320px; box-sizing: border-box; }

@media screen and (max-width: 959px) {
  html, body { height: auto; min-height: 100%; }
  #allWrap { min-width: 0; }
  #contents, .headerIn, .localNavIn, .footerIn, .breadarea ul,
  .news_common_wrap, .news_common {
    width: calc(100% - 32px);
    max-width: 960px;
    box-sizing: border-box;
  }
  #contents { padding-bottom: 64px; }
  #contents .main, #contents .side {
    width: 100%; float: none; min-width: 0; box-sizing: border-box;
  }
  #contents .main { overflow-wrap: anywhere; }
  #contents .side { padding: 0; margin: 40px auto 0; max-width: 630px; }
  #contents .side > * { max-width: 100%; box-sizing: border-box; }
  header, footer { min-width: 0; }
  header nav.gnav { width: calc(100% - 220px); }
  header .gnav__list { width: 100%; }
  header nav.gnav li a { font-size: 13px; }
  .main img { max-width: 100% !important; height: auto !important; }
  .main iframe, .main video, .main object, .main embed { max-width: 100%; }
  .main iframe[src*="youtube"], .main iframe[src*="vimeo"] { aspect-ratio: 16 / 9; height: auto; }
  .main .pickup_list, .main .pickup_list ul,
  .main .tab_block, .main .image_2, .main .image_3, .main .img_wrap,
  .main .policy_change { width: 100%; max-width: 100%; box-sizing: border-box; }
  .main .pickup_list ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 15px; }
  .main .pickup_list ul::before, .main .pickup_list ul::after { display: none; }
  .main .pickup_list li { width: auto; float: none; margin: 0; min-width: 0; }
  .main .pickup_list li dt { line-height: 1.5; }
  .main .pickup_list li .img img { width: 100%; }
  .main .news_main, .main .news_block { overflow-wrap: anywhere; }
  .main .news_main > *, .main .news_block > * { max-width: 100%; box-sizing: border-box; }
  .main table { display: block; max-width: 100%; overflow-x: auto; }
  .main .tabs { max-width: 100%; display: flex; }
  .main .tabs li, .main .tabs li a { width: auto; flex: 1; }
  .main .about_author .tab_cont { width: 100%; box-sizing: border-box; }
  .main .tab_bottom { width: 100%; background-size: 100% 5px; }
  .main .search_block { box-sizing: border-box; }
  .main .search_block form { max-width: 100%; }
  .main .search_block .txtarea { width: calc(100% - 120px); }
  .main .search_block .txtarea input { width: 100% !important; box-sizing: border-box; }
  .main .dictionary_wrap { height: auto; box-sizing: border-box; }
  .main .dictionary_wrap form { min-width: 0; }
  .main .dictionary_wrap .txtarea { min-width: 0; }
  .main .dictionary_wrap .input_btn { flex-shrink: 0; }
  .main .dictionary_wrap .txtarea input { box-sizing: border-box; width: 100%; }
  .main .dictionary_wrap .notebook_btn_wrap { min-width: 0; }
  .main .ad__area { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .main .ad__area > * { max-width: 100%; margin: 0; }
  .main .emergency, #contents > .emergency { width: 100%; box-sizing: border-box; }
  .top .pickup_area .pickup_left { width: 66.5%; }
  .top .pickup_area .pickup_right { width: 33.5%; }
  .slider_area .slides { height: auto; }
  /* FlexSlider sets its track width before sizing slides on the next tick. */
  .slider_area .slides > li { float: left; display: block; max-width: calc(100vw - 32px); }
  .slider_area .slides img { width: 100%; }
  footer { position: relative; bottom: auto; background-repeat: repeat; }
  footer .footerIn { display: flex; flex-wrap: wrap; }
  footer .footer_block { width: 25%; min-height: 0; padding: 0 12px; }
  footer .copyright { width: 100%; overflow-wrap: anywhere; }
  footer .ad__area { width: 100%; }
}

/* An information index already contains the complete announcements list. */
.information:has(.news_area .article_list) .side > .infortamtion_area { display: none; }
