    .pc {
    	display: block;
    }
    .sp {
    	display: none;
    }
    .main img.top {
    	margin:1rem;
    }
    .firstmain {
    	background: url("../img/bg_main.png");
    	background-position: top center;
    	background-size: cover;
    }
    .firstmain img {
    	display: table;
    	margin: 25px auto auto;
    }
    .things {
    	background: url("../img/bg01.png");
    }
    .things ul {
    	margin-top: 20px;
    	text-align: center;
    }
    .things ul li {
    	display: inline-block;
    	margin: auto;
    }
    .bluebg {
    	background: url("../img/bg02.png");
    }
    .bluebg ul {}
    .bluebg ul li {
    	display: inline-block;
    	margin: 20px auto auto;
    	vertical-align: middle;
    }
    .consultation {
    	margin: auto;
    	display: table;
    }
    .consultation h2 {
    	color: #fff;
    	font-size: 45px;
    	padding: 0 15px 0 25px;
    }
    .diagnosis {
    	background-color: #ccdeed;
    }
    .information {
    	background: #005aa7;
    	margin: 30px auto 60px;
    	border-radius: 30px;
    }
    .whitebg {
    	background: #fff;
    	width: 95%;
    	display: table;
    	margin: 35px auto;
    }
    .whitebg ul li {
    	display: inline-block;
    }
    .whitebg ul {
    	display: table;
    	margin: 10px auto auto;
    }
    .whitebg input {
    	display: table;
    	margin: auto;
    }
    .sendform {
    	margin: 30px auto;
    }
    .mailfoam {
    	display: table;
    	margin: auto;
    	width: 52%;
    }
    .mailfoam p {
    	font-weight: bold;
    	margin: 10px 0 0;
    }
    .cp_iptxt {
    	position: relative;
    	width: 100%;
    }
    .cp_iptxt input[type='text'] {
    	font: 15px/24px sans-serif;
    	box-sizing: border-box;
    	width: 300%;
    	padding: 0.3em;
    	transition: 0.3s;
    	letter-spacing: 1px;
    	color: #aaaaaa;
    	border: 2px solid #9e9e9e;
    	border-radius: 4px;
    }
    .bgfactoring {
    	background: url("../img/bg03.png") no-repeat;
    	background-size: cover;
    }
    .bgfactoring p.redtext {
    	color: #db1e00;
    	font-size: 36px;
    	text-align: center;
    	padding-top: 70px;
    	font-weight: bold;
    }
    .bgfactoring p.blacktext {
    	color: #000;
    	font-size: 30px;
    	text-align: center;
    	padding-top: 30px;
    	padding-bottom: 50px;
    }
    .bgtrouble {
    	background: url("../img/bg04.png") no-repeat;
    	background-size: cover;
    }
    .bgtrouble img {
    	display: table;
    	margin: auto;
    }
    .trouble {
    	padding-top: 30px;
    }
    .merit img.triangle {
    	display: table;
    	margin: 30px auto auto;
    }
    .merit .firsttext {
    	text-align: center;
    	margin-top: -10px;
    }
    .merit li {
    	font-size: 50px;
    	display: inline-block;
    	vertical-align: bottom;
    }
    .merit li.imgin {
    	padding-bottom: 10px;
    }
    .forth {
    	text-align: center;
    	margin-top: 30px;
    }
    .forth ul li {
    	display: inline-block;
    }
    .forth ul li img {
    	padding: 5px;
    }
    .merit p.mixfont {
    	text-align: center;
    	font-size: 30px;
    	margin: 60px 0;
    	line-height: 1.6;
    }
    .merit p.mixfont span {
    	font-size: 36px;
    	color: #db1e00;
    	font-weight: bold;
    }
    .contA {
    	background: #fff;
    	box-shadow: 2px 2px 8px #000000;
    	margin-top: 3rem;
    	padding: 0rem 0 1rem;
    }
    .contA img.ribbon {
    	position: relative;
    	left: -12px;
    	top: 10px;
    	vertical-align: baseline;
    }
    .contA table {
    	font-weight: bold;
    	font-size: 20px;
    	margin-top: 1rem;
    }
    .contA table .fontM {
    	font-size: 16px;
    }
    .contA table .moneyF {
    	font-size: 40px;
    	color: #db1e00;
    }
    .contA table .borderR {
    	border-right: 1px solid #000000;
    }
    .contA table td {
    	padding: 0 1.5rem;
    }
    .contA p {
    	border-top: 1px solid #000000;
    	padding-top: 1.5rem;
    	margin: 1.5rem 3rem 1rem 3rem;
    	width: 590px;
    }
    .v-middle {
    	vertical-align: middle;
    }
    .ptb3r {
    	padding: 1rem 0 5rem;
    }
    .blueBoxR {
    	border: solid 3px #005aa7;
    	border-radius: 10px;
    	display: table;
    	margin: 70px auto;
    }
    .blueGr {
    	background: url("../img/bg06.png");
    	position: relative;
    	left: -14px;
    	right: -14px;
    	top: 25px;
    	width: 103%;
    }
    .blueGr p {
    	color: #fbd200;
    	font-size: 30px;
    	font-weight: bold;
    	line-height: 1;
    	padding: 16px 0px;
    	letter-spacing: 0.5px;
    	text-align: center;
    }
    .blueBoxR ul {
    	padding: 40px 30px 0;
    	text-align: center;
    	margin-bottom: 0;
    }
    .blueBoxR ul li {
    	display: inline-block;
    	width: 270px;
    	height: 70px;
    	text-align: center;
    }
    .blueBoxR ul li img {
    	text-align: center;
    }
    .bluebgg {
    	background: url("../img/bg05.png");
    }
    .bgwhite {
    	background-color: #fff;
    	border-radius: 10px;
    	margin: 50px 0;
    	text-align: center;
    	padding-bottom: 30px;
    }
    .bgwhite p {
    	font-size: 34px;
    	font-weight: bold;
    	line-height: 1.3;
    	padding-top: 20px;
    	padding-bottom: 5px;
    }
    .bgwhite p span {
    	color: #db1e00;
    }
    .bgwhite a {
    	display: table;
    	margin: auto;
    }
    .footerfirst p.name {
    	font-size: 17px;
    	margin: 12px 0 10px;
    }
    .footerfirst p.about {
    	font-size: 13px;
    }
    .footersecond p {
    	font-size: 13px;
    	margin-top: 66px;
    	text-align: right;
    }
    /*form*/
    .formArea {
    	width: 590px;
    	margin: 0 auto;
    }
    .formArea tr td {
    	padding-bottom: 2rem;
    }
    .formArea p {
    	margin-bottom: 0;
    }
    .formArea input.max_in {
    	width: 100%;
    	border: 1px solid #888888;
    	height: 2.5rem;
    	border-radius: 3px;
		padding: 8px;
    }
    .formArea textarea {
    	width: 100%!important;
    	border: 1px solid #888888;
    	height: 10rem;
    	border-radius: 3px;
		padding: 8px;
		height: auto!important;
    }
    .formArea .cp_ipselect {
    	overflow: hidden;
    	text-align: center;
    }
    .formArea .cp_ipselect select {
    	width: 100%;
    	padding-right: 1em;
    	cursor: pointer;
    	text-indent: 0.01px;
    	text-overflow: ellipsis;
    	border: none;
    	outline: none;
    	background: transparent;
    	background-image: none;
    	box-shadow: none;
    	-webkit-appearance: none;
    	appearance: none;
    }
    .formArea .cp_ipselect select::-ms-expand {
    	display: none;
    }
    .formArea .cp_ipselect.cp_sl01 {
    	position: relative;
    }
    .formArea .cp_ipselect.cp_sl01::before {
    	position: absolute;
    	top: 1em;
    	right: 1em;
    	width: 0;
    	height: 0;
    	padding: 0;
    	content: '';
    	border-left: 8px solid transparent;
    	border-right: 8px solid transparent;
    	border-top: 10px solid #005aa7;
    	pointer-events: none;
    }
    .formArea .cp_ipselect.cp_sl01 select {
    	padding: 8px 38px 8px 8px;
    	border: 1px solid #888888;
    	border-radius: 3px;
    	color: #666666;
    	width: 100%;
    }
    .formArea .mfp_element_all {
    	max-width: 100%;
    	padding: 1rem;
		
    }
    .btn_area {
    	text-align: center;
    	margin-bottom: 2rem;
    }
    button.submit_btn {
    	position: relative;
    	display: inline-block;
    	border-radius: 10px;
    	font-size: 20px;
    	font-weight: bold;
    	text-align: center;
    	cursor: pointer;
    	padding: 12px 12px;
    	background: url("../img/btn_arrow.png")no-repeat 96% center, #db1e00;
    	background-size: 6%;
    	color: #ffffff;
    	transition: .3s;
    	box-shadow: 0px 2px 2px #666666;
    	width: 400px;
    }
    .form-result {
    	text-align: center;
    	padding-bottom: 2rem;
    }
    .form-result p.resP {
    	line-height: 33px;
    	font-size: 30px;
    	font-weight: bold;
    	margin-bottom: 0.5rem;
    }
    .form-result p.resP span {
    	color: #db1e00;
    	font-size: 36px;
    }
    .form-result p.resB {
    	color: #fff;
    	background: #000000;
    	display: table;
    	margin: 0 auto;
    	padding: 0.2rem;
    }
    .form_gl ol {
    	display: none;
    	margin: 0 auto;
    	width: 100%;
    }
    .form_gl ol:first-child {
    	display: block;
    }
.thanks {
	padding: 5rem 0;
}

button.submit_btn[disabled] {
    background-color: #aaa;
    cursor: not-allowed;
}
    @media screen and (min-width:1024px) {}
    @media screen and (max-width:768px) {
    	.pc {
    		display: none !important;
    	}
    	.sp {
    		display: block;
    	}
    	.main img.top {
    		margin: 10px auto;
    		display: table;
    		width: 90%;
    		text-align: center;
    	}
    	.main {
    		display: table;
    		margin: 10px auto;
    	}
    	.firstmain img {
    		width: 100%;
    		margin: 10px auto auto;
    	}
    	.bluebg {
    		background-size: 100% 100%;
    	}
    	.bluebg li img {}
    	.bluebg ul li {
    		display: table;
    	}
    	.bluebg ul li:first-child {}
    	.bluebg ul li:last-child {}
    	.consultation h2 {
    		padding: 3px 5px 0 5px;
    		font-size: 34px;
    		text-align: center;
    	}
    	.bluebg ul li {
    		margin: 10px auto;
    	}
    	.bluebg ul {
    		margin-bottom: 0;
    	}
    	.information {
    		width: 95%;
    	}
    	.bgfactoring p.redtext {
    		font-size: 20px;
    		padding-top: 43px;
    	}
    	.bgfactoring p.blacktext {
    		font-size: 20px;
    		padding-bottom: 36px;
    	}
    	.bgtrouble img {
    		width: 100%;
    	}
    	.trouble {
    		padding-top: 13px;
    	}
    	.merit img.triangle {
    		width: 60%;
    	}
    	.merit li.imgin {
    		font-size: 28px;
    		padding-top: 20px;
    	}
    	.firsttext img {
    		width: 100%;
    	}
    	.forth ul li img {
    		width: 100%;
    	}
    	.forth {
    		margin-top: 20px;
    	}
    	.merit p.mixfont {
    		font-size: 20px;
    		margin: 50px 0;
    	}
    	.merit p.mixfont span {
    		font-size: 22px;
    	}
    	.things img {
    		width: 100%;
    	}
    	.bgwhite {
    		width: 95%;
    		margin: 20px auto;
    	}
    	.bluebgg {
    		background-size: 100% 100%;
    	}
    	.bgwhite p {
    		display: table;
    		margin: auto;
    		width: 90%;
    		font-size: 20px;
    		padding-bottom: 15px;
    	}
    	.bgwhite img {
    		width: 90%;
    	}
    	.bgwhite {
    		padding-bottom: 20px;
    	}
    	.footersecond p {
    		text-align: inherit;
    		margin-top: inherit;
    	}
    	.blueBoxR {
    		margin: 40px auto;
    		display: inherit;
    		width: 93%;
    	}
    	.blueGr {
    		width: 109%;
    		background-size: 100% 100%;
    	}
    	.blueGr p {
    		font-size: 25px;
    	}
    	.blueBoxR ul {
    		padding: 30px 0;
    	}
    	.blueBoxR ul li {
    		height: inherit;
    		padding: 15px 5px;
    		width: 45%;
    	}
    	.blueBoxR ul li img {
    		width: 100%;
    		padding: 0 10px;
    	}
    	.v-middle {
    		width: 100%;
    	}
    	.contA img.ribbon {
    		top: 20px;
    	}
    	.contA table {
    		margin-top: 1.5rem;
    	}
    	.contA p {
    		margin: 1rem 1rem 0.5rem;
    		width: 90%;
    		padding-top: 1.3rem;
    		padding-bottom: 1rem;
    	}
    	.ptb3r {
    		padding: 0 0 3rem;
    	}
    	.whitebg {
    		display: inherit;
    	}
    	.whitebg ul {
    		width: 100%;
    		text-align: center;
    		padding-top: 20px;
    	}
    	.whitebg ul li img {
    		width: 85%;
    	}
    	.cp_iptxt input[type='text'] {
    		width: inherit;
    		font: inherit;
    	}
    	.mailfoam {
    		width: 75%;
    	}
    	.whitebg input {
    		width: 90%;
    		display: table;
    		margin: auto;
    		padding-bottom: 20px;
    	}
    	.spsize {
    		display: table;
    		margin: auto;
    		width: 60%;
    	}
    	.spsize img {
    		width: 100%;
    	}
    	.firstimg {
    		padding-right: 10px;
    	}
    	.lastimg {
    		width: 45%;
    	}
    	.mainsp {
    		width: 100%;
    		display: table;
    		margin: auto;
    		overflow: hidden;
    	}
    	.mainsp img {
    		width: 109%;
    		margin-left: -16px;
    		padding-bottom: 10px;
    	}
    	.trouble_sp {}
    	.trouble_sp img {
    		width: 109%;
    		margin-left: -16px;
    	}
    	.spmain img {
    		width: 49%;
    		padding: 10px 3px;
    	}
    	.spmain {
    		display: table;
    		margin: auto;
    	}
    	.spmain_1 {
    		padding-left: 0;
    		padding-right: 0;
    	}
    	.formArea {
    		width: 90%;
    	}
    	.form-result p.resP {
    		line-height: 1.7rem;
    		font-size: 1.5rem;
    	}
    	.form-result p.resP span {
    		font-size: 1.7rem;
    	}
    	.btn_area {
    		padding-bottom: 1rem;
    	}
		.form-result p.resB{
			font-size: .8rem;
		}
		.thanks {
	padding: 5rem 2rem;
}
            button.submit_btn {

    	width: 96%;
    }
    }
    @media screen and (max-width:320px) {
    	.bgfactoring p.redtext {
    		font-size: 20px;
    	}
    	.bgfactoring p.blacktext {
    		font-size: 20px;
    	}
    	.merit li.imgin {
    		font-size: 22px;
    	}
    	.merit p.mixfont {
    		font-size: 19px;
    		margin: 50px 0;
    	}
    	.merit p.mixfont span {
    		font-size: 21px;
    	}
    	.bgwhite p {}
    	.blueGr {
    		left: -12px;
    	}
    	.blueGr p {
    		font-size: 20px;
    	}
    	.blueBoxR ul li {}
    	.cp_iptxt input[type='text'] {
    		font: 15px/24px sans-serif;
    	}
    	.mainsp img {
    		width: 112%;
    		margin-left: -16px;
    	}
    	.trouble_sp img {
    		width: 111%;
    		margin-left: -16px;
    	}
		
    }