@charset "utf-8";

/*-----------------------------------------------------	*/
/*	 スマホ用定義
/*-----------------------------------------------------	*/

@media screen and (max-width: 640px) {
/* 基本スタイル
=============================================== */

html {
  overflow-y: visible;
}
body {
  min-width: 100%;
}
#contents {
  width: 100%;
  margin: 0;
  overflow: hidden;
  padding: 30px 20px;
}
#contents img {
  max-width: 100%!important;
}
.dn {
  display: none;
}
/* コンテンツ
=============================================== */

#container {
  min-width: 100%;
}
#main {
  float: none;
	width: 100%;
	padding: 20px;
  margin-bottom: 30px;
}
#sub {
	width: 100%;
	padding: 0px;
}
#sub #sideBnr {
  text-align:center;
    margin-bottom: 20px;
}

/* ヘッダー
=============================================== */
#pageHeader {
width: 100%;
min-width: 100%;
  height: 74px;
  margin-bottom: 0;
}
#pageHeader #header_inner {
	width: 100%;
    min-width: 100%;
    max-width: 100%;
}
#pageHeader h1 {
  position: absolute;
  top: 17px;
  left: 20px;
  margin: 0;
  padding: 0!important;
}
#pageHeader h1 img {
  height: 40px;
}
#primary {
  display: none;
}

.fixed {
    background: rgba(255,255,255,0);
    width: 100%;
    height: 74px!important;
    box-shadow:none;
}
.fixed h1 {
  display: none;
}
.fixed #gNav {
    top: 0;
}


/* フッター
=============================================== */

#pageFooter #footerNav {
  display: none;
}
#pageFooter {
  min-width: 100%;
}

/* ページトップ
=============================================== */

#footNav {
  margin: 0px auto 0px;
  width: auto;
}

/* パンくずナビ
=============================================== */

#topicpath ul {
  width:100%;
}

/* ページ送り
=============================================== */

#pager {
  margin-top: 40px;
}

/* 共通タイトル
=============================================== */

#cTitle {
  padding: 40px 0;
  width: 100%;
  height: auto;

  text-align:center;
  margin: 0;
}
#cTitle h2 {
    line-height: 1;
  font-size: 24px;
    padding: 0;
    background: none;
}


#cTitle h1 {
  font-size: 24px;
}
h2.ttl {
    font-size: 20px;
    margin: 40px 0 20px;
}
.cont_ttl {
    margin: -20px -20px 30px -20px;
}


/* メッセージ
=============================================== */

#privacy #text {
    width: 100%;
}


/* インフォ・ブログ
=============================================== */

#post #contents {
  width: 100%;
}
#main .entry .title {
  padding: 20px 0;
  height: auto;
  display: block;
  width: 100%;
}
#main .entry .title h2 {
  display: block;
  padding-right: 0;
  margin-bottom: 10px;
}

#main .entry .title span {
  border: none;
  display: block;
  padding: 0;
}
#main .entry img {
	height: auto!important;
}

/* 今週の週報
=============================================== */

#weekly #magazine .image {
    float: none;
    margin: 0 0 30px 0 ;
}


/* トップページ
=============================================== */

#home .homeTtl {
    margin: -20px -32px 20px -20px;
}
#home .homeTtl span{
  display: block;
}
#home #visual {
  width: 100%;
  margin: 0;
}
#home #visual img {
  max-width: 100%;
}
#home #visual .copy {
    position: absolute;
    width: 60%;
    top: 35%;
    left: 5%;
}
#home #accessSec .flag {
  display: none;
}
#home #accessSec {
  padding: 20px;
}
#home #accessSec .text {
  float: none;
  width: 100%;
  overflow: hidden;
}
#home #accessSec .text figure {
  float: none;
  width: 100%;
  margin: 0 0 12px;
}
#home .officeBox .text {
    float: none;
  width: 100%;
  margin-bottom: 20px;
}
#home .officeBox figure {
    float: none;
  width: 100%;
}
#home #reportSec {
  padding: 20px;
  background: #fff;
}
#home #reportSec li + li {
    margin-top: 15px;
    padding-top: 15px;
}
#home .infoBox {
  padding:20px;
}
#home .infoBox h3 {
  font-size: 16px;
}
#home .infoBox .text {
  float: right;
  width: 70%;
}
#home .infoBox figure {
  width: 25%;
}


/* スマホ用メニューボタン
=============================================== */

#spMenu {
  z-index: 20000;
  position: fixed;
  top: 12px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: #02328D;
}
#spMenu span {
  display: block;
  background: #fff;
  width: 30px;
  height: 2px;
  position: absolute;
  left: 10px;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
}
#spMenu span.b1 {
  top: 16px;
}
#spMenu span.b2 {
  top: 24px;
}
#spMenu span.b3 {
  top: 33px;
}
#spMenu.active {
  background: none;
}
#spMenu.active span.b1 {
  -webkit-transform: translateY(9px) rotate(45deg);
  -moz-transform: translateY(9px) rotate(45deg);
  -ms-transform: translateY(9px) rotate(45deg);
  transform: translateY(9px) rotate(45deg);
  background: #fff;
}
#spMenu.active span.b2 {
  opacity: 0;
  background: #fff;
}
#spMenu.active span.b3 {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  -moz-transform: translateY(-9px) rotate(-45deg);
  -ms-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
  background: #fff;
}


/* ドロワー
=============================================== */


#gNav {
  display: block;
  width: 280px;
  margin-right: -280px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background-color: rgba(0,0,0,0.9);
  padding: 20px 40px;
  font-size: 14px;
}
#gNav a:before {
  display: none;
}
.active #gNav {
  right: 280px;
}
#gNav,
#spMenu {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
#gNav a {
  color: #fff!important;
  padding: 12px 0;
}
#gNav a:hover {
  color: #F1B741!important;
  text-decoration: none;
  background: none!impotant;
}
#gNav ul {
  margin-top: 50px;
}
#gNav li {
  position: relative;
  text-align: left;
  display: block;
  width: 100%;
}
#gNav li::after {
  display: block;
  content: '';
  position: absolute;
  top: 3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#gNav li+li {
  margin: 15px 0px 0px;
}
}
