@charset "utf-8";
/* CSS Document */

.workBlock {
    background: url(../img/work_bg.png) no-repeat right center;
        background-size: auto auto;
    background-size: cover;
    padding: 50px;
}
.workBlock h1 {
	color: #fff;
}
.commonBlock h1:before, .commonBlock h1:after {
	background: #fff;
}

.wrap ul {
	display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.work ul li img {
	width: 100%;
}
.work ul li {
    margin: 2% 1% 2%;
    width: 30%;
	text-align:center;
}
.work ul li:nth-child(3n) {
	margin-right:0;
}
.work ul li span.small {
	display: block;
	line-height: 1.4;
	font-size: 80%;
}
.work ul li span.orenge {
	border: 1px solid #e47930;
	color: #e47930;
	font-size: 81%;
	padding: 1px 12px;
	border-radius: 50px;
	margin-top: 10px;
}



/*******************************
/* メイン画像
*******************************/

.main {
	position: relative;
	height: 350px;
	width: 100%;
}
.marquee {
	display: inline-block;
	overflow: hidden;
	top: 0;
	right: 0px;
	position: absolute;
}
.marquee::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	background: #e66c00;
	animation-name: marquee;
	animation-timing-function: ease;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	width: 815px;
	height: 480px;
}
.main_text {
	display: inline-block;
	overflow: hidden;
	font-size: 390%;
	font-weight: bold;
	position: absolute;
	top: 115px;
	left: 12%;
	font-family: 'Josefin Sans', sans-serif;
	z-index: 2;
}
.main_text::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	background: #e66c00;
	animation-name: marquee;
	animation-timing-function: ease;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	animation-delay: 1s;
}
.main_text span {
	font-size: 28%;
	font-weight: normal;
	line-height: 1.7;
	display: block;
	margin-top: 15px;
	margin-left: 10px;
	font-family: "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif
}
 @keyframes text {
 from {
transform: translate(0%);
}
 99%, to {
transform: translate(100%);
}
}
.marquee img {
	width: 815px;
	height: 350px;
	object-fit: contain;
	text-align: right;
	display: block;
	object-fit: cover;
}
 @keyframes marquee {
 from {
transform: translate(0%);
}
 99%, to {
transform: translate(100%);
}
}
.mainimg {
	padding-top: 70px;
	height: 700px;
	width: 100%;
	position: relative;
}
.mainimg img {
	width: 100%;
	height: 700px;
	object-fit: cover;
	transform: scale(1);
	transition-duration: 4s;
	transition-timing-function: cubic-bezier(.075, .82, .165, 1);
	transition-property: -webkit-transform;
	transition-property: transform;
	transition-property: transform, -webkit-transform;
}
.logo_bg {
	position: absolute;
	left: 5%;
	top: 15%;
	display: inline-block;
}
.logo_bg img {
	width: 300px;
	height: auto;
	animation: in 3s ease 0s 1 forwards;
}
/*---------------------------
/*コンテンツ 共通箇所
---------------------------*/
.workCotents {
	width: 800px;
	margin: 0 auto;
	padding: 80px 0;
}

/*---------------------------
/*ヒアリング
---------------------------*/
.Bflex {
	display:flex;
}
.imgBlock {
	width:40%;
	margin-left:6%;
}
.imgBlock img {
	width:100%;
}

.txtBlock{
	width:60%;
}
.txtBlock h1{
	font-size:1rem;
	padding-bottom:7px;
	border-bottom:1px solid #000;
	margin-bottom:15px;
}
h2 {
	    font-weight: bold;
    margin-bottom: 20px;
	font-size:0.9rem;
	margin-top:25px;
	border-top:1px solid #ccc;
	padding-top:25px;
}

.txtBlock p {
	font-size:0.8rem;
	line-height:1.9;
}
table {
	font-size:0.8rem;
}
table th {
width: 20%;

text-align: left;
}
/*------------------------------------------------------------
	スマホ版
------------------------------------------------------------*/
@media all and (min-width: 0) and (max-width: 767px) {
.workCotents {
	width:auto !important;
	 padding: 40px 0;
}
.wrap ul {
	display: block;
	margin-top:35px;
}
.work ul li {
	width: 80%;
	margin:20px auto;
}
.work ul li:nth-child(3n){
	margin:20px auto;
}
.workBlock {
    padding: 15px;
}
.workBlock h1{
	font-size: 125%;
}
.Bflex {
	display:block;
}

.imgBlock {
	width:80%;
	margin: 0 auto;
}
.imgBlock img {
	width:100%;
}

.txtBlock{
	width:80%;
	margin:0 auto 7%;
}
.main {
	line-height: 0;
}

.main, .main img {
	width: 100%;
	height: auto;
}


.marquee {
	position: inherit;
	width: 100%;
	margin-top: 0;
}


}



 @media all and (min-width: 768px) and (max-width: 1270px) {
	 .workCotents {
		 width:90%;
		 margin:0 auto;
	 }
	 
 }