@charset "utf-8";
/* CSS Document */
/*-------------------------------------------------

　   COMMON

--------------------------------------------------*/
#fv {
	position: relative;
	height: 35rem;
	margin-top: 10rem;
	overflow: hidden;
	background: #fff no-repeat right / cover;
}
#fv.service {background-image: url("../img/service/fv.jpg");}
#fv.dev {background-image: url("../img/service/dev-fv.jpg");}
#fv.const {background-image: url("../img/service/const-fv.jpg");}
#fv.agri {background-image: url("../img/service/agri-fv.jpg");}
#fv.real {background-image: url("../img/service/real-fv.jpg");}
#fv.works01 {background-image: url("../img/works/fv01.jpg");}
#fv.works02 {background-image: url("../img/works/fv02.jpg");}
#fv.news01 {background-image: url("../img/news/fv01.jpg");}
#fv.news02 {background-image: url("../img/news/fv02.jpg");}
#fv.contact {background-image: url("../img/contact/fv.jpg");}
#fv .txtbox {
	position: absolute;
	left: 50%;
	bottom: 42%;
	transform: translate(-50%,50%);
	z-index: 2;
	color: #fff;
}
#fv h1 {
	margin-bottom: 4rem;
	overflow: hidden;
	font-size: 6rem;
	text-align: center;
	animation: ltxt 3s ease-in-out;
	animation-fill-mode: forwards;
	white-space: nowrap;
}
#fv h1 span {
	animation: ltxt 3s ease-in-out;
	white-space: nowrap;
}
@keyframes ltxt {
	0% {
	    overflow: hidden;
	    width: 0;
	    opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
	    width: 100%;
	    opacity: 1;
	}
}
#fv p {font-size: 2.8rem;text-align: center;}
.wp-pagenavi {display: flex;justify-content: center;align-items: center;}
.wp-pagenavi a,
.wp-pagenavi span {
	display: block;
	margin: 0 2rem!important;
	border: none!important;
	background: #fff;
	color: #000;
	font-size: 2.4rem;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {border: none;background: #fff;line-height: 1;}
.wp-pagenavi a.nextpostslink {color: #030E80;font-size: 2.7rem;}
.pagebox {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 64rem;
	margin: 0 auto;
	text-align: center;
}
.pagebox a {position: relative;font-size: 2rem;}
.pagebox a:hover {color: #030E80;}
.pagebox .prev {padding-left: 4rem;}
.pagebox .next {padding-right: 4rem;}
.pagebox .prev::before,
.pagebox .next::after {
	content: "";
	position: absolute;
	bottom: 50%;
	transform: translate(0,50%);
	width: 0;
	height: 0;
}
.pagebox .prev::before {
	left: 0;
	border-top: 10px solid transparent;
	border-right: 15px solid #030E80;
	border-bottom: 1rem solid transparent;
}
.pagebox .next::after {
	right: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 15px solid #030E80;
}
.pagebox .all {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 4rem;
}
.pagebox .all img {width: 3.3rem;}
.pagebox .all span {padding: 0 25px;}
@media only screen and ( max-width : 767px ) {
	#fv {height: 20rem;margin-top: 6rem;}
	#fv h1 {margin-bottom: 1rem;font-size: 4rem;}
	#fv p {font-size: 2rem;}
	.wp-pagenavi a,
	.wp-pagenavi span {margin: 0 1rem!important;font-size: 1.8rem;}
	.pagebox {max-width: 48rem;}
	.pagebox a {font-size: 1.4rem;}
	.pagebox .all img {width: 2.3rem;}
}
@media only screen and ( max-width : 480px ) {
	#fv {height: 15rem;}
	#fv h1 {font-size: 3rem;}
	#fv p {font-size: 1.6rem;}
	.pagebox a {font-size: 1.2rem;}
	.pagebox .prev {padding-left: 1rem;}
	.pagebox .next {padding-right: 1rem;}
	.pagebox .prev::before {
		border-top: 6px solid transparent;
		border-right: 7px solid #030E80;
		border-bottom: 6px solid transparent;
	}
	.pagebox .next::after {
		border-top: 6px solid transparent;
		border-bottom: 6px solid transparent;
		border-left: 7px solid #030E80;
	}
	.pagebox .all img {width: 1.5rem;}
	.pagebox .all span {padding: 0 5px;}
}
/*-------------------------------------------------

　   SERVICE COMMON

--------------------------------------------------*/
#service .flexbox:nth-of-type(odd) {flex-direction: row-reverse;}
#service .flexbox figure {width: 50%;}
#service .flexbox div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 50%;
	background: #0212B5;
	color: #fff;
}
#service .flexbox p {max-width: 59.2rem;margin: 0 auto;text-align: center;}
#service .flexbox p span {
	display: block;
	margin-bottom: 3rem;
	font-weight: 700;
	font-size: 1.56em;
	text-align: center;
	line-height: 1.4;
}
@media only screen and ( max-width : 1024px ) {
	#service .flexbox figure {width: 100%;}
	#service .flexbox div {width: 100%;padding: 2rem 1rem;}
}
@media only screen and ( max-width : 767px ) {
}
@media only screen and ( max-width : 480px ) {
}
/*------------------------------------------

	WORKS SINGLE

------------------------------------------*/
#works-single .ttlbox {display: flex;max-width: 64rem;margin: 0 auto 8rem}
#works-single .ttlbox p {display: flex;align-items: center;width: 50%;}
#works-single .ttlbox p span {
	width: 100%;
	max-width: 15rem;
	margin-left: 4rem;
	padding: 8px 0;
	border: 1px solid #0212B5;
	border-radius: 5rem;
	background: #fff;
	color: #0212B5;
	font-weight: 900;
	text-align: center;
}
#works-single .ttlbox h3 {width: 50%;font-size: 2rem;}
#works-single .txtbox {max-width: 64rem;margin: 0 auto 7rem;}
@media only screen and ( max-width : 767px ) {
	#works-single .ttlbox {display: block;margin-bottom: 5rem;}
	#works-single .ttlbox p {width: 100%;margin-bottom: 2rem;}
	#works-single .ttlbox p span {max-width: 10rem;}
	#works-single .ttlbox h3 {width: 100%;}
}
/*------------------------------------------

    NEWS ARCHIVE

------------------------------------------*/
#news dl {width: 100%;margin-bottom: 5rem;}
#news dl:last-child {margin-bottom: 0;}
/*------------------------------------------

    NEWS SINGLE

------------------------------------------*/
#news-single .ttlbox {
	display: flex;
	align-items: center;
	margin-bottom: 5rem;
	padding: 1rem 1rem 1rem 4rem;
	border-bottom: 1px solid #707070;
	font-weight: bold;
}
#news-single .ttlbox p {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 25.5rem;
	margin-right: 4rem;
	font-size: 1.4rem;
}
#news-single .ttlbox p span {
	display: block;
	width: 100%;
	max-width: 13.7rem;
	padding: 1rem 0;
	font-size: 1.5rem;
	text-align: center;
}
#news-single .ttlbox h3 {font-size: 1.5rem;}
#news-single .txtbox {margin-bottom: 7rem;}
#news-single .txtbox h2 {
	position: relative;
	padding: 1rem .5rem;
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 5rem;
}
/*#news-single .txtbox h2::after{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 6px;
  content: '';
  border-radius: 3px;
  background-image: -webkit-gradient(linear, right top, left top, from(#0413B5), to(#009efd));
  background-image: -webkit-linear-gradient(right, #0413B5 0%, #009efd 100%);
  background-image: linear-gradient(to left, #0413B5 0%, #009efd 100%);
}*/

#news-single .txtbox h3 {
	font-size: 1.8rem;
	font-weight: bold;
    margin: 0 0 20px;
    position: relative;
    border-bottom: 1px solid #3c3c3c;
    padding: 5px 0;
}

#news-single .txtbox h3::after{
	content: "";
    width: 100px;
    height: 4px;
    background: #0413B5;
    position: absolute;
    bottom: -2px;
    left: 0;
}

#news-single .txtbox p {max-width: 64rem;margin: 0 auto 5rem;}
@media only screen and ( max-width : 767px ) {
	#news-single .ttlbox {display: block;margin-bottom: 3rem;padding: 0 0 1rem;}
	#news-single .ttlbox p {margin: 0 0 2rem;}
}
@media only screen and ( max-width : 480px ) {
}
/*-------------------------------------------------

　   CONTACT

--------------------------------------------------*/
#contact ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	position: relative;
	max-width: 64rem;
	margin: 0 auto 5rem;
}
#contact ul::before {
	content: '';
	position: absolute;
	top: 4rem;
	left: 50%;
	z-index: -1;
	transform: translate(-50%,0);
	width: 100%;
	height: 1px;
	background: #BFBEBD;
}
#contact li {font-size: 1.8rem;text-align: center;}
#contact li.graout {color: #BFBEBD;}
#contact li span {
	display: block;
	width: 7.6rem;
	height: 7.6rem;
	margin-bottom: 2.5rem;
	border: 7px solid #9398D8;
	border-radius: 50%;
	background: #0212B5;
	color: #fff;
	font-size: 3rem;
	text-align: center;
	line-height: 6.6rem;
}
#contact li.graout span {border-color: #BFBEBD;background: #BFBEBD;}
#contact h4 {margin-bottom: 6.5rem;text-align: center;}
#contact table {
	margin-bottom: 7rem;
	padding: 7rem 7rem 0 0;
	border-top: 1px solid #707070;
	border-collapse: inherit;
	border-spacing: 0 2rem;
}
#contact th {
	width: 28rem;
	padding-right: 2rem;
	overflow: hidden;
	vertical-align: top;
}
#contact th span {
	float: right;
	padding: .5rem 1rem;
	border-radius: 1rem;
	color: #fff;
	font-size: 1.8rem;
}
#contact th span.mand {background: #D93636;}
#contact th span.any {background: #707070;}
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea {
	width: 100%;
	padding: 2rem 3rem;
	border: 1px solid #BFBEBD;
	border-radius: .5rem;
	background: #EBE9E7;
	font-size: 1.6rem;
	resize: vertical;
}
#contact textarea {height: auto;}
input:focus,
textarea:focus {outline: none;box-shadow: 0 0 10px #A69DBF;}
::placeholder {color: #ccc;}
#contact td p {margin-bottom: 1rem;color: #72706E;}
#contact input[type="submit"],
#contact a {
	display: block;
	transition: .5s;
	width: 100%;
	max-width: 58rem;
	margin: 0 auto;
	padding: 5.5rem 0;
	border: 2px solid #0212B5;
	background: #0212B5;
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: .3em;
	text-align: center;
}
#contact input[type="submit"].btn_wht {
	border-color: #fff;
	box-shadow: 0 0 2rem rgba(0,0,0,.3);
	background: #fff;
	color: #000;
}
#contact input[type="submit"].btn_blue:hover,
#contact a:hover {background: #fff;color: #0212B5;}
#contact input[type="submit"].btn_wht:hover {box-shadow: none;}
@media only screen and ( max-width : 767px ) {
	#contact li {font-size: 1.6rem;}
	#contact li span {margin-bottom: 1rem;}
	#contact table {margin-bottom: 3rem;padding: 2rem 0 0;border-spacing: 0;}
	#contact th {display: block;width: 100%;padding: 1rem 0;}
	#contact th span {font-size: 1.6rem;}
	#contact td {display: block;width: 100%;margin-bottom: 1rem;}
	#contact input[type="text"],
	#contact input[type="email"], 
	#contact input[type="tel"], 
	#contact textarea {padding: 1rem;font-size: 1.4rem;}
	#contact input[type="submit"],
	#contact a {padding: 2rem 0;font-size: 1.8rem;}
	#contact input[type="submit"].btn_wht {margin-top: 2rem;}
}
@media only screen and ( max-width : 480px ) {
	#contact ul::before {top: 3rem;}
	#contact li {font-size: 1.4rem;}
	#contact li span {
		width: 5.6rem;
		height: 5.6rem;
		border-width: 5px;
		font-size: 2rem;
		line-height: 4.6rem;
	}
}
/*-------------------------------------------------

　   PHP

--------------------------------------------------*/
#contact.confirm .confirmbox {display: flex;flex-wrap: wrap;justify-content: space-between;}
#contact.confirm .confirmbox input[type="submit"] {width: 48%;}
@media only screen and ( max-width : 767px ) {
	#contact.confirm .confirmbox input[type="submit"] {width: 100%;}
}