@charset "utf-8";
/* mainimage */
#main{
	position:relative;
	text-align:center;
	background-color:#b6f4ff;
	background-repeat:repeat-x;
}

#main img{
	margin:0 auto;
}

#main h2{
	position: absolute;/*重ねたい子要素にabsolute*/
  	top:40px;
    left: 50%;
 	-ms-transform: translate(-50%,0%);/*ベンダープレフィックス*/
  	-webkit-transform: translate(-50%,0%);/*ベンダープレフィックス*/
  	transform: translate(-50%,0%);/*センター寄せの修正*/
  	color: #333;
    font-size: 2rem;
	/*
	box-decoration-break: clone;	
	-webkit-box-decoration-break: clone;
	*/
	display: inline-block;
	padding: 5px;
	line-height: 1.4;
}

@media screen and (max-width: 950px) {
#main{
		position: relative;
		background-image:none;
}

#main h2{
	position: absolute;
  	top:8px;
    left: 50%;
	white-space: nowrap;
 	-ms-transform: translate(-50%,0%);/*ベンダープレフィックス*/
  	-webkit-transform: translate(-50%,0%);/*ベンダープレフィックス*/
  	transform: translate(-50%,0%);/*センター寄せの修正*/
    font-size: 1rem;
	/*
	box-decoration-break: clone;	
	-webkit-box-decoration-break: clone;
	*/
	display: block;
	line-height: 1.4;
}
}



.bg-white{
	background-color:#fff;
	width:100%;
	padding:20px 0;
}

.bg-yellow{
	background-color:#fffdef;
	width:100%;
	padding:20px 0;
}


h2.ttl_blk{
	color:#083976;
	font-weight:bold;
	margin:0 0 30px;
	text-align:center;
	font-size:2rem;
}

h2.ttl_blk span,div.jkas_zenkoku span,ul.choise li span{ 

	background-color: #FFE556;
	color:inherit;
}

.box-reason{
	border:6px solid #083976;
	padding:24px;
	margin:0 0 40px;
	display:flex;
	text-align:left;
	font-size:1.1rem;
	line-height:1.4;
}

.box-reason img{
	width:300px;
	margin-left:20px;
}

.box-reason h3{
	font-size:1.2rem;
	margin:0 0 20px;
}

.box-reason h3 span{
	color:#FF0000;
	font-size:2rem;
}

img.arrow{
	width:160px;
	margin:20px auto;
}
.bg-yellow .fukidashi{
	width:160px;
}

h2.ttl_red{
	font-size:2.2rem;
	color:#FF0000;
	font-weight:bold;
	margin:0 0 20px;
	text-align:center;	
}

div.jkas_zenkoku{
	font-size:2rem;
	text-align:center;
	line-height:1.8;
	margin:0 auto 30px;
}

h2.ttl_black{
	font-size:1.6rem;
	color:#333;
	font-weight:bold;
	padding:10px;
	margin:30px 0 20px;
	text-align:center;	
}

.box-madoguchi{
	display:flex;
}

.box-madoguchi div{
	width:calc(20% - 20px);
	padding:16px;
	margin:0 10px;
	background-color:#fff;	 
}

.box-img-txt{
	display:flex;
	margin:0 0 40px;
}

.box-img-txt img{
	width:460px;
	margin-left:40px;
}

.box-case{
	background-color:#e7ecf2;
	padding:30px 40px;
	margin:0 0 40px;
	text-align:left;
}

.box-case h3{
	color:#083976;
	font-size:1.8rem;
	font-weight:bold;
	margin:0 0 20px;
	text-align:left;
}

.box-case h3 strong{
	color:#333;
}

.box-case h3 span{
	font-size:1rem;
}

.box-case .inner{
	display:flex;
	align-items: flex-start;
}

.box-case .inner img{
	width:300px;
	margin-left:20px;
}

.box-case .inner div{
 flex-grow: 1;
 }

.box-case .inner dt{
	background-color:#083976;
	display:inline-block;
	padding:6px;
	font-size:1.1rem;
	color:#fff;
	font-weight:bold;
	border-radius:5px;
	margin:0 0 12px;
}

.box-case .inner dd{
	margin:0 0 30px;
}

.box-case .inner dd:last-child{
	margin:0;
}

.box-case .inner ul{
	margin-left:20px;
}

.box-case .inner li{
	list-style-type:disc;
	margin:0 0 20px;
}

ul.choise li{ 
	background-image:url(/problem/sale/wp/wp-content/themes/twentytwentyfour-child/images/index/icon-check.png);
	background-repeat:no-repeat;
	background-size:20px;
	background-position-y:5px;
	padding-left:26px;
	margin:0 0 30px;
	font-size:1.2rem;
}

.box-step{
	border-bottom:4px solid #083976;
	padding-bottom:30px;
	margin-bottom:30px;
	display:flex;
	align-items:flex-start;
}

.box-step img{
	width:90px;
	margin-right:30px;
}
.box-step div{
	 flex-grow: 1;
}
.box-step div h4{
	font-weight:bold;
	font-size:1.6rem;
	margin:0 0 20px;
}


/* contents */
.area-cv{
	display:flex;
}

.area-cv .banr_sale,.area-cv .banr_line{
	width:50%;
	text-align:center;
	color:#fff;
	font-weight:700;
	font-size:1.6rem;
	padding:50px 0;
	flex-shrink: 1;
}

.area-cv .banr_sale{
	background-color:#083976;
}

.area-cv .banr_line{
	background-color:#4CC764;
}




.bg-yellow{
	padding:40px 0;
}

.box-inquiry{
	background-color:#fff;
	padding:30px 20px;
	margin:20px auto;
	text-align:center;
	display:block;
	font-size:1.2rem;
	font-weight:500;
	border-radius:5px;
}
@media screen and (max-width: 950px) {
.box-reason{
	border:4px solid #083976;
	padding:20px;
	margin:0 0 30px;
	display:block;
	font-size:1.1rem;
	line-height:1.4;
	text-align:center;
}

.box-reason >div >div{
	text-align:left;
}

.box-reason img{
	max-width:300px;
	margin:0 auto;
}

.box-reason h3{
	font-size:1.2rem;
	margin:0 0 20px;
}

div.jkas_zenkoku{
	font-size:1.2rem;
	margin:0 auto 20px;
}

h2.ttl_blk{
	margin:0 0 20px;
	font-size:1.4rem;
}

h2.ttl_black{
	font-size:1.4rem;
	padding:10px;
	margin:20px 0 20px;
}

.box-madoguchi{
	display:flex;
	 justify-content: space-between;
	 flex-wrap: wrap;
}

.box-madoguchi div{
	width:calc(33% - 20px);
	padding:10px;
	margin:0 10px 10px;
	background-color:#fff;	 
}

.box-img-txt{
	display:block;
	margin:0 0 30px;
}

.box-img-txt img{
	width:100%;
	margin:0 auto;
}

.box-case{
	padding:20px;
	margin:0 0 30px;
	text-align:left;
}

.box-case h3{
	font-size:1.3rem;
	font-weight:bold;
	margin:0 0 20px;
	text-align:left;
}


.box-case h3 span{
	font-size:1rem;
}

.box-case .inner{
	display:block;
	text-align:center;
}

.box-case .inner img{
	width:300px;
	margin:0 auto;
}

.box-case .inner div{
 flex-grow: 1;
 text-align:left;
 }


.box-case .inner ul{
	margin-left:20px;
}

.box-case .inner li{
	list-style-type:disc;
	margin:0 0 20px;
}

ul.choise li{ 
	font-size:1.1rem;
}

.box-step{
	border-bottom:2px solid #083976;
	padding-bottom:30px;
	margin-bottom:30px;
	display:block;
	text-align:center;
}

.box-step > div{
	text-align:left;
}

.box-step img{
	width:50px;
	margin:0 auto 10px;
}

.box-step div h4{
	font-weight:bold;
	font-size:1.2rem;
	margin:0 auto 10px;
	text-align:center;
}


.area-cv .banr_sale,.area-cv .banr_line{
	padding:20px 0;
	font-size:1.2rem;
}
img.arrow{
	width:100px;
	margin:20px auto;
}

}
/* about */
.bg-about{
  background-image: url(/problem/sale/wp/wp-content/themes/twentytwentyfour-child/images/index/bg_about.jpg);
  background-repeat:no-repeat;
  background-position:center bottom;
  text-align:center;
  padding-bottom:30px;
  font-size:1.2rem;
  line-height:1.8;
}

.bg-about h2{
	background-color:inherit;
	border:none;
	text-align:center;
	padding-top:100px;
	font-size:2rem;
	margin:0 0 14px;

}

.bg-about div{
  text-align:center;
}

	
@media screen and (max-width: 950px) {
/* about */
.bg-about{
	text-align:left;
}

.bg-about{
  background-position:center bottom;
  padding-bottom:30px;
  font-size:1rem;
  line-height:1.4;
}

.bg-about h2{
	background-color:inherit;
	border:none;
	text-align:center;
	padding-top:100px;
	font-size:1.4rem;
	margin:0 0 10px;
}

.bg-about div{
  text-align:left;
}



}




