/* foreign_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:nth-child(2){
  background: none;
  padding: 0 8px;
}
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: 20px;
  width: 100%;
}
div#tool div#search{
  background: none;
  padding: 0;
}
#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.info div#gNavi ul li.info a,
body.about div#gNavi ul li.about a,
body.projects div#gNavi ul li.projects a,
body.links div#gNavi ul li.links 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;
}
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%;
}
/* テンプレート別スタイル
======================================= */
/*  トップページ  */
body.layoutTypeC div#mainContents{
  float: none;
  margin: 0;
}
body.layoutTypeC div#mainContentsInner{
  margin: 0;
}
.topMainVisual{
  float: none;
  position: static;
  height: auto;
}
.topMainVisual .topMainVisualInner{
  height: auto;
  background: none;
  margin: 0;
}
.topMainVisual .topMainVisualInner p {
  text-indent: 0;
}
.topSideVisual{
  box-sizing: border-box;
  background-color: #F3F3F3;
  border: 1px solid #CECECE;
  float: none;
  padding: 10px;
  margin: 20px 0;
  width: 100%;
}
.topSideVisual li{
  text-align: center;
}
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.layoutTypeC div#leftContents{
  float: none;
  min-width: 0;
  position: static;
  width: 100%;
}
/*  カテゴリ一覧  */
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;
}

/*  検索  */
.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;
}
/*  非表示要素  */
div#header #headerRight ul.headerLink li.toContents,
div#header #headerRight ul.headerLink li.mobile,
div#tool ul#fontsize,
div#gNavi ul li.contents,
div#gNavi ul li.active p.gNaviSubBar,
div#gNavi .gNaviSub,
#pankuzu .printBtn,
div.download,
.mobileBox,
.bx-items{
  display: none !important;
}

}