
.content{
    width: 100%;
    max-width: 1200px;
    height: 650px;
    margin: 50px auto;
}

.content .box{
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 500px;
}

.content .box img{
    position: absolute;
    left: 2%;
    top: 20px;
    width: 700px;
    height: auto;
    object-fit: cover;
}

.content .box p{
    position: absolute;
    right: 2%;
    background: #fff;
    z-index: 100;
    top: 80px;
    width: 500px;
    height:  auto;
    padding: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    text-align: justify;
    border: 1px solid #ddd
}

.content.h3 .h4{
    font-weight: 600;
}


@media only screen and (max-width: 479px){

.content .box{
    position: relative;
    width: 100%;
    padding: 2%;
    box-sizing: border-box;
}

.content .box img{
    position: static;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: cover;
}

.content .box p{
    position: static;
    background: #fff;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #fff
}

}

@media only screen and (max-width: 767px)and (max-width: 991px){

.content{
    width: 100%;
    height: 900px;
}

.content .box{
    position: relative;
    width: 100%;
    padding: 2%;
    box-sizing: border-box;
}

.content .box img{
    position: static;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: cover;
}

.content .box p{
    position: static;
    background: #fff;
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    border: 1px solid #fff
}
}

@media only screen and (max-width: 1200px){

.content .box p{
    right: 2%;
}
}
}




/*ステップフローのCSS*/
ul.stepflow {
	border: none;
	margin: 1em 0.5em;
	padding: 0;
	list-style: none;
}
ul.stepflow > li:before, ol.stepflow > li:before {
	background-color:#cccccc!important;
}
.stepflow li {
    position: relative;
    padding: 0 0 1.5em 2em;
}
.stepflow>li:before {
	content: "";
	width: 7px;
	background: #cccccc;
	display: block;
	position: absolute;
	top: 40px;
	bottom: 0;
	left: 50px;
}
.stepflow-black {
	content: '';
	display: inline-block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 100px;
	height: 70px;
}
.stepflow-black p{
	font-size:1.1em;
	font-weight:600;	
	text-align:center;
	padding:10px;
	background-color: #bc1f01;
	box-shadow: 0px 5px 3px -3px rgba(0,0,0,0.4);
	color: #ffffff;
}
.stepflow_label {
	padding: 10px 0px 8px 90px;
	margin-bottom:8px;
	color: #999999;
	font-size: .9em;
	font-weight: bold;
}
.stepflow_title {
	font-size: 1.1em;
	line-height: 1.5;
	padding:0 0 0 90px;
	margin-bottom:15px;
}
.stepflow_content {
	font-size: .9em;
	line-height: 1.5;
	margin-top: .5em;
	margin-left:40px;
	padding:0 0 10px 50px;
	border-bottom: dashed 1px #cccccc;
}
.stepflow_content img {
	padding:0 20px 20px 0;
	float:left;
	max-width:300px;	
}
/*ステップフローのCSSここまで*/






