/* responsive.css */

@media screen and (max-width: 799px) {
/* 全般
======================================= */
img{
  max-width: 100%;
}
td img{
  max-width: none;
}
.sectionImage{
  width: 100% !important;
}
/* 共通スタイル
======================================= */
div#container{
  min-width: 0;
}
/*  ヘッダ  */
div#header{
  margin: 0;
}
div#header #headerRight{
  background-color: #F8F8F8;
  padding: 0;
  text-align: center;
}
div#header #headerRight ul.headerLink{
  text-align: center;
  margin: 10px 0;
}
div#header #headerRight ul.headerLink li.sitemap{
  background: none;
}
div#header #headerRight ul.headerLink li.english,
div#header #headerRight ul.headerLink li.toKitakyushu{
  display: inline;
  background: none;
  padding: 0 8px;
}
div#header #headerRight ul.headerLink li.english:before,
div#header #headerRight ul.headerLink li.toKitakyushu:after {
  content: "\000A";
  white-space: pre;
}
div#tool{
  text-align: center;
  background-color: #F3F3F3;
  border-top: 1px solid #CECECE;
  border-bottom: 1px solid #CECECE;
  box-sizing: border-box;
  margin-top: 0;
  padding: 15px;
  width: 100%;
}
div#tool div#search{
  background: none;
  padding: 0;
}
div#tool div#search > div{
  vertical-align: middle;
}
#search input.gsc-input{
  font-size:1.2em;
  padding: 4px 2px !important;
  max-width: none !important;
  height: 30px;
}
#search button.gsc-search-button{
  box-sizing: border-box;
  height: 30px;
}
div#tool div#read{
  background: none;
  padding: 7px 0 0 0;
}
div#header #headerLeft{
  height: auto;
  position: static;
}
div#header #headerLeft .logo{
  height: auto;
  padding: 15px 10px;
}
div#header #headerLeft .logo img{
  max-width: 180px;
  height: auto;
}
/* グローバルメニュー */
div#gNavi{
  position: static;
  margin-top: 0;
}
div#gNavi > ul{
  display: block;
}
div#gNavi > ul > li{
  border: none;
  border-bottom: 1px solid #297110;
  position: static;
  width: 100% !important;
}
div#gNavi > ul > li > a{
  color: #fff;
  font-weight: bold;
  height: auto;
  padding: 15px 0;
  text-decoration: none;
}
div#gNavi > ul > li.active > a{
  border: none;
  position: static;
}
body.top div#gNavi > ul > li.top > a,
body.kurashi div#gNavi > ul > li.kurashi > a,
body.kanko div#gNavi > ul > li.kanko > a,
body.business div#gNavi > ul > li.business > a,
body.welcome div#gNavi > ul > li.welcome > a,
body.shisei div#gNavi > ul > li.shisei > a{
  border: 1px solid #46840F;
  border-width: 3px 5px;
  padding: 15px 0;
}
/*  スマホ開閉ボタン  */
#headerMenu{
  display: inline-block;
}
.menuBtn{
  border: 1px solid #46840F;
  border-radius: 3px;
  background-color: #46840F;
  color: #fff;
  cursor: pointer;
  font-size:1em;
  font-weight: bold;
  padding: 5px 8px 6px 10px;
  position: absolute;
  right: 10px;
  top: 20px;
}
.menuBtn img{
  width: 22px;
  vertical-align: -2px;
  margin-right: 5px;
}
.gikai .menuBtn{
  border: 1px solid #79541F;
  background-color: #79541F;
}
.gikai div#header #headerRight{
  border-top: 1px solid #CECECE;
}
div#header #headerRight ul.headerLink,
#gNavi{
  display: none;
}
div#tool #search,
#headerMain.is-show #headerRight ul.headerLink,
#gNavi.is-show{
  display: block;
}
/*  メインコンテンツ  */
div#mainContents{
  float: none;
  margin-right: 0;
}
div#mainContentsInner{
  margin-right: 0;
}
div#rightContents{
  float: none;
  width: 100%;
}
div#rightContents .dotline{
  background-size: contain;
}
.enqueteBox{
  min-width: 300px;
}
.pageTopBox{
  margin: 10px;
}
.BottomAdArea .leftSpace{
  float: none;
  margin-right: 0;
  width: 100%;
}
.BottomAdArea .rightSpace{
  float: none;
  margin-left: 0;
  width: 100%;
}
.BottomAdArea .bannerSpace > p{
  padding: 15px;
}
/*  フッタ  */
div#footer .footerBottom .footerLeft{
  box-sizing: border-box;
  float: none;
  margin: 0;
  padding: 0 8px;
  width: 100%;
}
div#footer .footerBottom .footerRight{
  border-top: 1px solid #ddd;
  float: none;
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
  width: 100%;
}
/* テンプレート別スタイル
======================================= */
/*  トップページ  */
.cityArea{
  display: none;
}
.cityArea.is-show{
  display: block;
  width: 100%;
}
.cityArea.is-show h2{
  display: block;
}
.menuBox.cityArea.is-show .menuBoxInner div{
  display: none;
}
.menuBox.cityArea.is-show ul.officeMap{
  text-align: center;
}
.topMainVisual{
  position: static;
  height: auto;
}
.topMainVisual .topMainVisualInner{
  margin: 0;
}
.topMainVisual .topMainVisualInner ul.topGallery{
  height: 100%;
}
.topMainVisual .topMainVisualInner ul.topGallery li{
  height: auto;
  text-align: center;
}
.kuyakushoInfo{
  margin-top: 10px;
}
body.layoutTypeB div#leftContents{
  float: none;
  width: 100%;
}
div#rightContents .bannerArea,
div#leftContents .bannerArea{
  background-color: #F3F3F3;
  border: 1px solid #CECECE;
  padding: 20px;
}
.bannerArea ul li{
  text-align: center;
}
div#rightContents .bannerArea ul li img,
div#leftContents .bannerArea ul li img{
  display: inline-block;
}
body.layoutTypeB div#mainContents{
  float: none;
  margin: 10px 0 0 0;
}
.mainEventBox ul{
  text-align: center;
  padding-bottom: 20px;
}
.mainEventBox ul li{
  float: none;
  display: inline-block;
}
body.layoutTypeB div#mainContentsInner{
  margin: 0;
}
body.layoutTypeB div#rightContents{
  float: none;
  width: 100%;
}
.menuBox h2{
  background-image: url(/files/000757680.gif);
  background-size: contain;
}
.menuBox table.eventCalenderTopPage{
  width: 100%;
}
.menuBox table.eventCalenderTopPage td{
  padding: 5px 0;
}
.topInformationBox p.toArchive,
.topNewsBox p.toArchive {
  padding:0 0 6px 0;
}
/*  カテゴリ一覧  */
div#mainContents .twoColumnLayout .twoColumnLayoutLeft,
div#mainContents .twoColumnLayout .twoColumnLayoutRight{
  float: none;
  width: 100%;
}
/*  メニューページ  */
.twoColumn ul.linkUL li{
  box-sizing: border-box;
  width: 100% !important;
}
/*  コンテンツページ  */
div.imgLeft,
div.imgRight,
div.imgTop,
div.imgBottom{
  float: none;
  display: block;
  margin: 10px 0;
  text-align: center;
}
div.imgRight img,
div.imgLeft img,
div.imgTop img,
div.imgBottom img{
  display: inline;
}

/*  区役所サブトップ  */
body.layoutTypeB div#IntroContents{
  margin: 0;
}
body.layoutTypeB div#LeftCenterArea{
  float: none;
  margin-right: 0;
}
div#LeftCenterArea .kuyakushoMainvisualInner{
  height: auto;
}
div#LeftCenterArea .kuyakushoMainvisual div.image img{
  height: auto;
}
/*  市議会トップ  */
.topMenuBox ul{
  height: auto;
}
.topMenuBox ul li{
  border: 1px solid #DADADA;
  width: 50% !important;
  box-sizing: border-box;
  background: none;
}
.topMenuBox ul li a{
  margin: 10px;
}
/*  市長の部屋  */
.mayorMainBoxInner h1 img{
  width: 100%;
}
div#mainContents .mayorText{
  width: 100%;
  margin: 5px;
  min-height: 0;
}
/*  イベントカレンダー  */
div#leftContents table.eventCalendar{
  width: 100%;
}
/*  動画  */
.movieBtn iframe{
  width: auto !important;
  height: auto !important;
}

/*  施設マップ  */
body.layoutTypeC div#mainContents{
  float: none;
  margin: 0;
}
body.layoutTypeC div#mainContentsInner{
  margin: 0;
}
body.layoutTypeC div#leftContents,
#leftContents .shisetsuSearchBox,
#leftContents .shisetsuSearchBox h2,
#leftContents .shisetsuSearchBox h3,
#leftContents .shisetsuOtherLink,
#leftContents .shisetsuOtherLink h2,
#leftContents .shisetsuOtherLink ul li{
  width: 100%;
}
#leftContents .shisetsuSearchBox h2,
#leftContents .shisetsuOtherLink h2{
  background-image: url(/files/000757680.gif);
  background-size: contain;
}
#leftContents .shisetsuSearchBox h3{
  background-image: url(/files/000757681.gif);
  background-size: contain;
}
.shisetsuOtherLinkInner{
  background-color: #F3F3F3;
  border: 1px solid #CECECE;
  padding: 20px;
}
#leftContents .shisetsuOtherLink ul li{
  float: none;
  text-align: center;
}
#leftContents .shisetsuOtherLink ul li img{
  display: inline;
}
#map_canvas{
  height: 300px !important;
  margin-top: 10px;
}
/*  検索  */
.gsc-results .gsc-cursor-box .gsc-cursor-page{
  border-color: #E9E9E9;
  background-color: #FFFFFF;
  color: #0000CC;
  font-size: 1.5em;
  padding: 5px 12px;
  display: inline-block !important;
  border: 1px solid #ddd;
  margin: 2px;
}
/*  ブロックの並び順  */
#header{
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-direction: column-reverse; /* Safari */
  flex-direction: column-reverse;
}
#headerMain{
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-direction: column-reverse; /* Safari */
  flex-direction: column-reverse;
}
#contents{
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-direction: column; /* Safari */
  flex-direction: column;
}
#header > *,
#headerMain > *,
#contents > *{
  min-height: 0%;
}
#contents #topArea,
#contents #emergencyArea{
  -webkit-order: -2; /* Safari */
  order: -2;
}
#contents #mainContents{
  -webkit-order: -1; /* Safari */
  order: -1;
}
#contents #IntroContents{
  -webkit-order: -2; /* Safari */
  order: -2;
}
#LeftCenterArea{
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-direction: column; /* Safari */
  flex-direction: column;
}
.BottomAdArea ul li{
  padding: 0 1px 5px 1px;
}
/*  非表示要素  */
div#header #headerRight ul.headerLink li.toContents,
div#header #headerRight ul.headerLink li.mobile,
div#tool ul#fontsize,
div#gNavi ul li.mokuji,
div#gNavi ul li.active p.gNaviSubBar,
div#gNavi .gNaviSub,
#pankuzu .printBtn,
div.download,
.mobileBox,
.bx-items{
  display: none !important;
}


}