.mainimage {
	height: 70vh;
	background-image: url(../img/index/mainimage.jpg);
	background-size: cover;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 4%;
	background-position: left;
}

.maincolumn {
	max-width: 960px;
	margin: 0 auto;
}

.all_view {
	display: flex;
	max-width: 1000px;
	margin: 0 auto;
}

/*--- about.html ---*/

.about_column01 {
	background-color: #f1f1f1;
	margin-top: 36px;
}

.about_column02 {
	background-image: url(../img/about/about_bg.jpg);
	background-size: cover;
	padding: 4% 0;
	margin-bottom: 12%;
}

.about_wrap {
	display: flex;
	align-items: center;
	max-width: 1000px;
	margin: 0 auto;
	padding: 70px 0;
}

.about_title {
	width: 40%;
	font-size: 3.2rem;
	color: #e61e1e;
}

.about_title span {
	display: block;
	font-size: 1.6rem;
	color: #000000;
}

.about_txt {
	width: 60%;
	border-left: 1px solid #000000;
	padding-left: 40px;
}

.about_txt h4 {
	margin-bottom: 20px;
  	font-size: 2.4rem;
	border-bottom: 2px solid #000000;
}

.n_title {
	text-align: center;
	font-size: 3.2rem;
	margin-bottom: 20px;
}

.ab_box {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 10px;
	flex: 1;
	padding: 20px 10px;
	background-color: rgba(255, 255, 255, 0.5);
	box-shadow: 3px 3px 16px #adacac;
}

.ab_box h3 {
	margin-bottom: 10px;
	font-size: 1.6rem;
}

.ab_box h4 {
	font-size: 2.6rem;
	margin-bottom: 10px;
}

.greet_wrap {
	max-width: 960px;
	margin: 6% auto;
	display: flex;
}

.greet_txt {
	flex: 1;
}

.greet_txt h3 {
	font-size: 1.6rem;
}

.greet_txt h4 {
	font-size: 2.6rem;
	margin-bottom: 12px;
}

.name_txt {
	text-align: right;
	margin-top: 10px;
	font-size: 1.2rem;
}

.name_txt span {
	display: block;
}

.greet_img {
	flex: 1;
	height: 320px;
	margin-top: 28px;
	margin-left: 20px;
	background-image: url(../img/about/about_01.jpg);
	background-size: cover;
}





/*--- service.html ---*/

.service {
	background-image: url(../img/service/service_main.jpg);
	background-size: cover;
}

.service_title {
	border-bottom: 2px solid #e61e1e;
	font-size: 2.6rem;
	margin-bottom: 18px;
}

.s_column01 {
	padding: 8% 0;
	background-color: #eeeeee;
}

.s_column02 {
	padding: 8% 0;
}

.s_wrap01 {
	display: flex;
	margin-bottom: 80px;
}

.s_wrap02 {
    display: flex;
    margin-bottom: 80px;
    flex-direction: row-reverse;
}

.web {
	background-image: url(../img/service/web_01.jpg);
	background-size: cover;
	background-position: center;
}

.dtp {
	background-image: url(../img/service/dtp_01.jpg);
	background-size: cover;
	background-position: center;
}

.cad {
	background-image: url(../img/service/cad_01.jpg);
	background-size: cover;
	background-position: center;
}

.movie {
	background-image: url(../img/service/movie_01.jpg);
	background-size: cover;
	background-position: center;
}

.s_img {
	width: 50%;
}

.s_wrap01 .s_txt {
	width: 40%;
	margin-left: 50px;
}

.s_wrap02 .s_txt {
	width: 40%;
	margin-right: 50px;
}

.s_txt p {
	min-height: 300px;
}

.img_wrap {
	display: flex;
    margin-bottom: 20px;
    justify-content: center;
	}


.sr_box {
	margin: 0 10px;
	flex: 1;
	padding: 20px;
	background-color: #ffffff;
	box-shadow: 3px 3px 16px #adacac;
}

.sr_box h3 {
	margin-bottom: 10px;
	font-size: 1.6rem;
	text-align: center;
    font-weight: bold;
}

.sr_box h4 {
	font-size: 2.6rem;
	margin-bottom: 10px;
}


/*--- process.html ---*/

.process {
	background-image: url(../img/process/process_main.jpg);
	background-size: cover;
}

.process_box {
  margin-bottom: 16%;
}

.process_title  {
  font-size: 2.6rem;
  border-bottom: 2px solid #e61e1e;
  color: #c03418;
  margin-bottom: 20px;
}

.process_title span {
	margin-right: 8px;
	color: #ffffff;
	background-color: #e61e1e;
	width: 40px;
	padding: 4px 0 0;
	display: inline-block;
	text-align: center;
}

.process_txt {
	margin-bottom: 6%;
	padding-left: 20px;
}

.process_txt span {
	display: block;
	font-weight: bold;
}

.process_view {
	display: flex;
	padding-left: 20px;
}

.process_view p span {
	display: block;
	font-weight: bold;
}

.process_image {
	margin: 34px 58px 0 auto;
}



/*--- works.html ---*/

.works {
	background-image: url(../img/works/works_main.jpg);
	background-size: cover;
}

.works_title {
	font-size: 2.6rem;
	border-left: 40px solid #e61e1e;
	border-bottom: 2px solid #e61e1e;
	padding-left: 5px;
	box-sizing: border-box;
	margin-bottom: 30px;
}

.work_nav {
	display: flex;
    justify-content: center;
	margin-bottom: 30px;
}

.work_nav li {
	margin: 0px 10px;
	font-weight: bold;
}

.work_nav li a {
	color: #000000;
	transition: 0.7s;
}

.work_nav li a:hover {
	color: #e61e1e;
	text-decoration: underline;
}


.works_txt {
	text-align: right;
}

.works_img {
	font-size: 0;
	border: 2px solid #000000;
}


.works_img img {
	width: 100%;
}



/*--- company.html ---*/

.company {
	background-image: url(../img/company/company_main.jpg);
	background-size: cover;
	background-position: center;
}

.column01 {
	max-width: 960px;
	margin: 0 auto;
	border-top: 2px solid #c03418;
	border-bottom: 2px solid #c03418;
	padding: 50px 0;
}

.company_table {
	margin: 0 auto;
}

.company_table tr {
	vertical-align: top;
}

.company_table tr td {
	padding-bottom: 16px;
}

.company_table tr td:first-child {
	padding-right: 30px;
	font-weight: bold;
}


/*--- contact.html ---*/

.form_con {
	text-align: center;
}


/*--- consluting.html ---*/

.consluting_txt {
	text-align: center;
	padding-bottom: 4%;
}

.consluting_box {
	padding-bottom: 40px;
}

.consluting_con {
	display: flex;
}

.consluting_con p {
	margin-left: 10px;	
}



/*--- pp.html ---*/

.pp_txt {
	border-top: 2px solid #c03418;
	border-bottom: 2px solid #c03418;
	padding: 50px 0;
}


/*--- sitemap.html ---*/

.site_nav li a {
	display: block;
	color: #000000;
	padding: 20px 0 20px 20px;
	border-left: 12px solid #c03418;
	border-bottom: 2px solid #c03418;
	transition: 0.7s;
}

.site_nav li a:hover {
	color: #ffffff;
	background-color: #bfbfbf;
	padding-left: 30px;
}


@media screen and (max-width: 960px) {

	/*--- 共通 ---*/

	.maincolumn {
		margin: 0 16px;
	}

	.column01 {
		margin: 0 16px;
	}


	.s_wrap01 .s_txt,.s_wrap02 .s_txt {
		width: 40%;
	}


	.a_wrap {
		margin: 0 10px;
	}

	.a_txt {
		padding-left: 20px;
	}

	.g_con {
		margin: 6% 10px;
	}



}



@media screen and (max-width: 480px) {

	/*--- 共通 ---*/

	.mainimage {
		margin-bottom: 10%;
	}

	.all_view {
		margin: 0 10px;
		flex-direction: column;
	}


	/*--- about.html ---*/

	.about_column {
		margin-bottom: 12%;
	}

	.about_column02 {
		background-image: url(../img/about/about_bg_sp.jpg);
	}

	.about_wrap {
		flex-direction: column;
		padding: 30px 10px;
	}

	.about_title {
		width: auto;
		font-size: 3rem;
	}

	.about_txt {
		width: auto;
		border-left: 0;
		padding-left: 0;
		padding-top: 20px;
	}
	
	.about_txt h4 {
		font-size: 2rem;
	}
	
	.n_title {
		font-size: 3rem;
	}

	.ab_box {
		margin: 0 10px 30px;
	}


	.greet_wrap {
		flex-direction: column-reverse;
	    margin: 12% 10px;
	}
	
	.greet_img {
		margin-left: 0;
		margin-bottom: 28px;
	}



	/*--- service.html ---*/
	.s_column01 {
		padding: 0 0 16% 0;
	}

	.s_column02 {
		padding: 0 0 16%;
	}

	.s_wrap01 {
		flex-direction: column;
		margin-bottom: 10px;
	}

	.s_wrap02 {
		flex-direction: column;
		margin-bottom: 10px;
	}

	.s_img {
		width: auto;
		height: 150px;
		margin-bottom: 20px;
	}

	.s_wrap01 .s_txt, .s_wrap02 .s_txt {
		width: auto;
		margin: 0 10px;
	}

	.s_txt p {
		min-height: auto;
		padding-bottom: 6%;
	}

	.sr_box {
		margin: 0 10px 30px;
	}


	/*--- process.html ---*/

	.process_box {
		margin-bottom: 24%;
	}

	.process_title  {
		font-size: 2rem;
	}

	.process_title span {
		width: 32px;
		height: 30px;
	}

	.process_view {
		flex-direction: column;
	}

	.process_image {
		margin: 20px auto 0;
	}
	
	
	/*--- works.html ---*/
	
	.works {
		background-image: url(../img/works/works_mainsp.jpg);
	}
	
	.works_title {
		font-size: 2rem;
		border-left: 10px solid #e61e1e;
	}

	/*--- company.html ---*/
	
	.company {
		background-image: url(../img/company/company_mainsp.jpg);
	}

	.company_table tr td:first-child {
    	padding-right: 0;
	    width: 100px;
	}

	.company_table tr td {
	    padding-bottom: 10px;
	}
	
	
	/*--- consluting.html ---*/
	
	.consluting_con {
		flex-direction: column;
	}
	
	.consluting_img {
		margin-bottom: 10px;
	}
	
	.consluting_img img {
		width: 100%;
	}


}
