@charset "UTF-8";
/*==========================================
 *Subpage ContentS
==========================================*/
/*------------------------------------------
 *Commmon
------------------------------------------*/
#sub #mainvisual {
	clear: both;
	position: relative;
	width: 100%;
	height: 280px;
	background-size: cover;
	background-repeat: no-repeat;
}
#sub.company #mainvisual,
#sub.business #mainvisual,
#sub.works #mainvisual,
#sub.contact #mainvisual,
#sub.news #mainvisual {
	background-image: url("../images/sec_header.jpg");
	background-position: center top;
}

#sub #mainvisual h2 {
	position: absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);

	width: 460px;
	margin-top: 46px;
	text-align: center;
	color: #fff;
	font-size: 4.5rem;
	font-weight: 900;
	text-shadow: 0 0 10px #000;
	text-align: center;
	letter-spacing: 0.3rem;
}
#sub #mainvisual h2 span {
	font-size: 1.8rem;
	font-weight: 400;
	display: block;
	line-height: 1.2;
}


/* subpage title  ------------------------*/
.title1 {
	margin-bottom: 32px;
	color: #1d5aa4;
	font-size: 3rem;
	font-weight: 500;
}
.title2 {
	margin-bottom: 16px;
	font-size: 2.4rem;
}
.area1 {
	padding-top: 80px;
	padding-bottom: 80px;
}
.area2 {
	padding-top: 80px;
}

/* Background ----------------------------*/
.bg-blue {background-color: #f0f7fc;}
.bg-w {background-color: #fff;}
.bg-gr {background-color: #f4f5f7;}


@media screen and (max-width: 768px) { /*for Mobile*/
	#sub #mainvisual h2 {
		width: 100%;
		margin-top: 40px;
		/*font-size: 3.8rem;*/
		font-size: 4rem;
		line-height: 1.4;
	}

	/* subpage title  ------------------------*/
	.title1 {
		margin-bottom: 16px;
		font-size: 2.6rem; /*元：3*/
	}
	.title2 {
		margin-bottom: 16px;
		font-size: 2.2rem; /*元：2.4*/
	}

	.area1 {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.area2 {
		padding-top: 40px;
	}
}


/*------------------------------------------
 breadcrumb
------------------------------------------*/
.breadcrumb ul {
	margin-top: 16px;
	font-size: 1.4rem;
}
.breadcrumb ul li {
	display: inline-block;
}
.breadcrumb ul li a:first-child {
	color: #0071B6;
}
.breadcrumb ul > li a:hover {
	text-decoration: underline;
}
.breadcrumb ul > li + li:before {
	padding: 0 0.5rem;
	font-family: 'FontAwesome';
	content: '\f105';
}


/*------------------------------------------
 *news
------------------------------------------*/
/* news list -----------------------------*/
.news .news-list dl {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid #a7a7a7;
}
.news .news-list dl dt {
	margin-bottom: 8px;
	color: #1d5aa4;
}
.news .news-list a:hover {
	opacity: 0.7;
}

.wp-pagenavi a, .wp-pagenavi span {
	color:#fff;
	background-color:#888;
	border:solid 1px #888;
	padding: 8px 15px;
	margin:0 2px;
	white-space: nowrap;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}
.wp-pagenavi span.current{
	color: #fff;
	background-color: #333;
	border: solid 1px #333;
}
.wp-pagenavi span.pages {
	color:#333;
	background-color:#fff;
	border:solid 1px #888;
}
.wp-pagenavi a:hover{
	background-color:#333;
	border-color:#333;
}

/* news detail ---------------------------*/
.news-detail .area1 {
	padding-bottom: 40px;
}
.detail-head {
	margin-bottom: 40px;
	padding: 0 0 20px;
	border-bottom: solid 1px #a7a7a7;
}
#work .detail-head {
	border-top: solid 3px #333;
}
.detail-head h2 {
	font-size: 2.6rem;
	font-weight: 500;
}
.detail img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 30px auto;
}
.detail-head .date {
	margin-bottom: 8px;
	color: #1d5aa4;
}
.detail p {
	margin-bottom: 1rem;
	line-height: 1.8;
}

/* pager*/
.pager {
	width: 100%;
	margin-bottom: 80px;
	padding: 16px 0;
	height: 60px;
	position: relative;
	border-top: solid 1px #c6c6c6;
	border-bottom: solid 1px #c6c6c6;
}
.pager .prev {
	position: absolute;
	left: 8px;
}
.pager .next {
	position: absolute;
	right: 8px;
}
.pager .prev::before,
.pager .next::after {
	font-family: "Font Awesome 5 Free";
	color: #333;
	font-weight: normal;
}
.pager .prev::before {
	padding-right: 8px;
	font-weight: 600;
	content: "\f104";
}
.pager .next::after {
	padding-left: 8px;
	font-weight: 600;
	content: "\f105";
}
.pager .prev a,
.pager .next a {
	color: #000;
}
.pager .prev a:hover,
.pager .next a:hover {
	color: #555;
}


@media screen and (max-width: 900px) { /*タブレット以下*/
	/* news list -----------------------------*/
	.wp-pagenavi {
		width: 80vw;
		margin: 40px 0;
	}
}

@media screen and (max-width: 768px) { /*タブレット*/
	/* news list -----------------------------*/
	.news .news-list dl {
		margin-bottom: 16x;
		padding-bottom: 16px;
	}
	.news .news-list .btn01 a {
		margin: 0;
	}

	/* news detail ---------------------------*/
	/* pager*/
	.pager {
		margin-bottom: 40px;
	}
}

@media screen and (max-width: 600px) { /*スマートフォン*/
	/* news list -----------------------------*/
	.news .news-list {
		padding-top: 10px;
	}
	.news .news-list dl {
		margin-bottom: 10px;
		padding-bottom: 10px;
	}
	.news .news-list dl dt {
		margin-bottom: 4px;
	}

	.wp-pagenavi a, .wp-pagenavi span {
		color:#fff;
		background-color:#888;
		border:solid 1px #888;
		padding: 4px;
		margin:0 2px;
	}
}


/*------------------------------------------
 contact
------------------------------------------*/
.contact .area2 {padding-bottom: 40px;}
.contact h3 {
	margin-bottom: 32px;
	font-size: 2.4rem;
	font-weight: 400;
	text-align: center;
}

.contactform {
	width: 800px;
	max-width: 100%;
	margin: 60px auto 0;
	padding: 0 15px;
}
.contactform dl dt {
	padding-bottom: 16px;
}
.contactform dl dd {
	margin: 0 0 40px;
}
.contactform input,
.contactform textarea {
	width: 100%;
	padding: 16px;
	border: solid 1px #ccc;
	border-radius: 4px;
	font-size: 100%;
	font-weight: normal;
	line-height: 1.4;
}
.contactform .submit {
	text-align: center;
}
.contactform .submit input {
	width: 180px;
	color: #fff;
	background-color: #1d5aa4;
	border: solid 1px #1d5aa4;
	border-radius: 6px;
}
.contactform .submit input:hover {
	color: #1d5aa4;
	background-color: #fff;
	border: solid 1px #1d5aa4;
	transition: 0.4s ease-in-out;
}

.contactform span.required {
	margin-left: 6px;
	color: #f00;
}

@media screen and (min-width: 769px) { /*for Mobile*/
	.contact p {
		text-align: center;
	}
	.contact .onlyPC {display: none;}

/*修正*/
	.contactform {
		width: 800px;
	}
	.contactform dl {
		display: flex;
		flex-wrap: wrap;
	}
	.contactform dl dt {
		width: 25%;
	}
	.contactform dl dd {
		width: 75%;
	}
}

@media screen and (max-width: 768px) { /*for Mobile*/
	.contact h3 {
		margin-bottom: 24px;
	}

	.contactform {
		margin: 0 auto;
		padding: 0;
	}
	.contactform dl dt {
		padding-bottom: 12px;
	}
	.contactform dl dd {
		margin: 0 0 30px;
	}
}


/*Contact Form7---------------------------*/
div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.5em 1em;
	border-radius: 4px;
}

div.wpcf7-mail-sent-ok {
	color: #fff;
	background-color: #3fa3ef;
	border: 2px solid #3fa3ef;
}
div.wpcf7-mail-sent-ng {
	color: #fff;
	background-color: #ff0000;
	/*border: 2px solid #ff0000; 赤*/
}
div.wpcf7-spam-blocked {
	background-color: #ffa500;
	/*border: 2px solid #ffa500; オレンジ*/
}
div.wpcf7-validation-errors {
	background-color: #f7e700;
	 /*border: 2px solid #f7e700;黃*/
}


/*==========================================
 *Print
==========================================*/
@media print {
	body {font-size: 90%;}
	.gNav-pc,
	.gnav-mobile {display: none;}
	.header-cont {margin-bottom: 20px;}
	#header {
		margin-bottom: 30px;
		background: none;
		box-shadow: none;
		position: static;
	}
	#sub #mainvisual {
		margin: 0;
		padding: 0;
		height: 0px;
		background: none !important;
		position: relative;
	}
	#sub #mainvisual h2 {
		margin: 0;
		padding: 50px 0 0;
		background: none;
		position: absolute;
		color: #1d5aa4;
		font-size: 4rem;
		font-weight: 900;
		text-shadow: 0 0 0 #000;
	}
	.companyArea {
		background-color: none;
	}

	footer nav ul {display: none;}
}
