@media screen and (min-width: 1243px) {
#footer_fix_btn {
    display: none !important;
}
.pcNone {
    display: none;
}
.spNone {
    display: block;
}
}

@media screen and (max-width: 1242px) {
#contents3 {
    width: 100%;
    margin: 0 auto;
    padding: 2%;
    float: unset;
	box-sizing: border-box;
}
#side {
    width: 253px;
    float: unset;
    margin: 0 auto 50px;
}
	.table-sp th{
		width: 20%;
	}
.pcNone {
    display: block;
}
.spNone {
    display: none;
}

body {
    min-width: 100%;
}
#header {
    width: 100%;
    height: auto;
}
#wrapper {
width: 100%;
background: #000481;
}

.toplogo {
    position: static;
    width: 125px;
}
#header .headerCont {
    height: auto;
}
#gNavi {
    display: none;
}

#contents {
    width: 100%;
    padding: 2%;
    box-sizing: border-box;
}
#sideNav {
    width: 100%;
    float: none;
    margin: auto;
    text-align: center;
}
#sideNav .bannerArea a {
    width: 100%;
}
div.twitter {
    width: 100%;
}
#contentsRight, #subContentRight {
    float: none;
    width: 100%;
    margin: 0px auto 50px;
}
.w810 {
    width: 100% !important;
    box-sizing: border-box;
}
.topBannerArea_02 a {
    display: block;
    float: none;
}
.topBannerArea_02 a:nth-child(2n) {
    float: none;
}

img {
max-width:100%;
height:auto;
}

h2 {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: bold;
}
h3 {
   font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
   font-weight: bold;
}
h4 {
    height: auto;
    line-height: 20px;
    font-size: 16px;
    padding: 10px 20px;
}
h5 {
    padding-left: 5px;
    padding-right: 5px;
}
p {
    font-size: 14px;
}
dd {
    font-size: 14px;
}

ul {
    padding: 2%;
    box-sizing: border-box;
}


/*spmenu*/
  #sp_gnavi {
    width: 100%;
    position: absolute;
    top: 95px;
    left: 0;
    z-index: 9999;
    background-color: rgba(35, 24, 21, 0.87);
  }
  #sp_gnavi a {
    color: #fff;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  #sp_gnavi dl {
    border-top: 1px dotted #fff;
    margin-top: -1px;
  }
  #sp_gnavi dl:first-child {
    margin-top: 0;
    border-top: none;
  }
  #sp_gnavi dt {
    font-weight: bold;
    text-align: center;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    padding: 10px;
    border-bottom: 1px solid #fff;
  }

#sp_gnavi dt a{
text-align: center;
}

  #sp_gnavi ul {
    overflow: hidden;
    margin:0;
    padding:0;
    list-style: none;
  }
  #sp_gnavi ul li {
    float: left;
    width: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px dotted #fff;
    font-size:12px;
  }
  #sp_gnavi ul li:first-child, #sp_gnavi ul li:nth-child(2) {
    border-top: none;
  }
  #sp_gnavi ul li:nth-child(odd) {
    border-right: 1px dotted #fff;
  }
  #sp_gnavi ul a {
    position: relative;
    padding: 13px 10px 13px 25px;
    height: 40px;
    line-height: 1.4;
    font-size: 11px;
    box-sizing: border-box;
  }
  #sp_gnavi ul a span {
    display: block;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  #sp_gnavi ul a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 6px;
    width: 6px;
    height: 6px;
    margin-top: -4px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #sp_gnavi .close {
    border-top: 0px dotted #fff;
    text-align: center;
    padding: 5px 0 10px;
    margin: -1px 0 0 0;
}
  #sp_gnavi .close a {
    display: inline-block;
    font-weight: bold;
  }

.ac_Menu {
    display: block;
    border-radius: 1px;
    margin:25px 4% 0 4%;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
}

  .menu-trigger,
  .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }

  .menu-trigger {
    position: relative;
    width: 43px;
    height: 43px;
    background: #ffffff;
    border-radius: 4px;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 30px;
    height: 3px;
    background-color: #000481;
    color: #000481;
    border-radius: 4px;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 5px;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 13px;
  }
  .menu-trigger span:nth-of-type(3) {
    top: 21px;
  }
  .menu-trigger span:nth-of-type(4) {
    background: transparent none repeat scroll 0 0;
    font-size: 10px;
    font-weight: 700;
    height: auto;
    position: absolute;
    text-align: center;
    top: 20px;
    width: 32px;
  }
  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
    top: 3px;
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-15px) rotate(45deg);
    transform: translateY(-15px) rotate(45deg);
    top: 28px;
  }
  .menu-trigger.active span:nth-of-type(4) {
    background: none;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    position: absolute;
    height: auto;
    width: 32px;
  }


/*フッターfix*/
#footer_fix_btn {
    display: block;
    font-size: 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fef6ea;
    box-shadow: -1px 0 3px rgba(0, 0, 0, 0.5);
    z-index: 10;
    text-align: center;
    padding: 6px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#footer_fix_btn ul li {
    font-size: 15px;
    display: inline-block;
    margin-right: 2%;
    width: 49%;
    vertical-align: middle;
}
#footer_fix_btn ul li:last-child {
    margin-right: 0;
}
#footer_fix_btn a {
    display: block;
}
#footer_fix_btn img {
    max-width: 250px;
    width: 100%;
}
ul.sp-b {
    padding: 0;
}

/*ヘッダー*/
#header .bnrTxt, #header2 .bnrTxt,
#header .bnrTxt3, #header2 .bnrTxt3,
#header .bnrTxt, #header2 .bnrTxt,
#header .logo, #header2 .logo {
    display: none;
}
.image img {
    left: 0;
    right: 0;
    margin: auto;
    position: relative;
    width: 100%;
    height: auto;
}
.image {
    height: auto;
}
.sp_header img {
    padding: 10px;
    width: 309px;
    box-sizing: border-box;
}

/*トップページ*/

.topbg000 {
    width: 100%;
}
.topbg001 {
    width: 100%;
}

#wrapper, #wrapper2 {
    width: 100%;
}
.topbg002 {
    width: 100%;
}
.w675 {
    width: 100% !important;
    margin: auto;
}

.toptext1 {
    float: none;
    width: 100%;
    margin: 20px auto;
}
.pore {
    position: relative;
    text-align: center;
}


.toptext2 {
    float: none;
}
.topbg003 {
    width: 100%;
}
.topbanner li {
    float: none;
    display: block;
    margin: 20px auto;
	text-align:center;
}
.topbanner {
    width: 100%;
}
.fll {
    display: block;
    float: none;
    width: 100%;
    text-align: center;
    padding: 2%;
    box-sizing: border-box;
}
.fll iframe {
    width: 96%;
    margin: 0 2%;
}
.mb33 {
    margin-bottom: 20px;
}
.mb50 {
    margin-bottom: 25px !important;
}
.rikon_bnr {
    padding: 2%;
    box-sizing: border-box;
	margin:auto;
}
.blog {
    width: 100%;
    float: none;
}
.ml33 {
    margin-left: auto;
}
.topmap {
    width: 100% !important;
    margin: auto !important;
}
.spOthertype01 {
    width: 100%;
    padding: 2%;
    box-sizing: border-box;
}
h2 span.addAltText {
    font-size: 24px;
    border-bottom: 1px solid;
    display: block;
}
div.ml76.mt33 {
    margin: 10px auto 30px;
    text-align: center;
}
.pu_img {
    margin: auto;
    text-align: center;
}



#footer {
    min-width: 100%;
    height: auto;
}
#footer-inn {
    width: 100%;
    height: auto;
    margin: auto;
}
#footer .footNav {
display: none;
}
.pageTop {
    position: relative;
    left: unset;
    top: unset;
}
#footer-inn .footBnr1 {
    position: relative;
    width: 100%;
    height: auto;
    right: unset;
    top: unset;
    margin: 0 auto 15px;
	text-align:center;
}
.navbox ul:after {
    clear: both;
    display: block;
    content: "";
}
#footer .footNav .navbox li, #footer .footNav2 .navbox li {
    width: 100%;
    box-sizing: border-box;
    margin: auto;
}
#footer-inn .copy {
    position: relative;
    width: 100%;
    right: 0;
    bottom: 0;
    height: auto;
    margin-top: 30px;
}
.sp_navbox ul {
    letter-spacing: -8px;
    width: 90%;
    margin: 0 5%;
}
.sp_navbox li {
    display: inline-block;
    width: 42%;
    padding: 1% 4%;
    letter-spacing: 0;
}
.sp_navbox li:before {
    content: "◇";
    color: #fff;
    padding-right: 1%;
}
.sp_navbox li a {
    color: #fff;
}
.sp_navbox p {
    margin-bottom: 0;
    width: 76%;
    margin: auto;
}
.sp_navbox p a {
    width: 100%;
    color: #fff;
    margin: auto;
    display: block;
    font-weight: bold;
    text-decoration: none;
}


img.spimage0 {
    max-width: 260px;
    margin: auto;
}
	
/*よくある質問*/
.gNavL {
    display: none;
}
#header2 {
    display: none;
}
#container {
    width: 100%;
    min-width: 100%;
}
#contents2 {
    width: 100%;
    margin: auto;
    padding: 2%;
    box-sizing: border-box;
}
#sub {
    width: 100%;
    min-width: 100%;
}
#sub-in {
    width: 100%;
    background-image: none;
}

/*当事務所について*/
.mr35 {
    margin-right: auto !important;
}
.mb30 {
    margin: auto !important;
}
.about_sec img {
    margin-bottom: 10px;
}

/*流れ*/
.box-t3 {
    width: 100%;
    box-sizing: border-box;
}
.floatR {
    float: none;
    margin: 10px auto;
    display: block;
}

/*お問い合わせ*/
.wpcf7-form .wpcf7-submit {
    width: 50%;
    margin: 0 25%;
}
#sub .privacy {
    width: 100%;
    box-sizing: border-box;
}
.tableBase {
    width: 100% !important;
    border: 1px solid #999999;
    table-layout: fixed;
	box-sizing:border-box;
}

/*調査項目一覧*/
.lsitSec a {
    display: block;
    width: 49%;
    margin-right: 2%;
    margin-bottom: 2%;
    float: left;
}
.lsitSec a:nth-child(2n) {
    margin: 0;
}
.lsitSec:after {
    display: block;
    clear: both;
    content: "";
}
.mb50.lsitSec {
    margin-bottom: 0 !important;
}

/*リスト個別*/
.uwakibanner {
width: 100% !important;
}
.imgR {
    float: none;
    margin: 10px auto;
    display: block;
}
.soudan{
	width: 71%;
    margin-bottom: 10px;
}
.space-top-10{
	margin-top: 10px;
}
.space-top-20{
	margin-top: 20px;
}
.wpcf7-form-control.g-recaptcha.wpcf7-recaptcha {
    width: 50%;
    margin: 20px 5%!important;
}
.main-img {
    padding-top: 0;
}
.topbg001 {
    margin-top: 15px;
}
.main-img iframe {
    width: 100%;
    height: 60vw;
}
.main-img-badge {
    position: absolute;
    bottom: 4%;
    right: 14%;
}
}


@media screen and (max-width: 500px) {
	.sp{
		display: block;
	}
	#contat-info{
		margin-top: 0;
	}
	.line{
		width: 188px;
		padding-left: 2%;
	}
.main-img-badge {
    position: absolute;
	bottom: 5%;
    right: 10px;
}
 .main-img-badge img {
        width: 45vw;
 }

}