/*
Theme Name:  Kousai Template
Theme URI:
Description:
Version: 1.0
Author: 
Author URI:
*/


body {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
	color:#333;
	font-size:14px;
	line-height:1.75;
	letter-spacing:0.03em;
	text-align:justify;
}
a {
	color: #333;
	text-decoration: none;
	transition: 0.3s ease-out;
}
a:hover {
	color:#32613c;
}

::selection{background-color:#00943f; color: #FFF;}
::-moz-selection{background-color:#00943f; color: #FFF;}

body , header , footer{
	max-width: 1920px;
	margin: auto;
}



/*============================================================================

	#mainvisual　＊　下層のMV

============================================================================*/
#mainvisual {
	position: relative;
	width: 100%;
	max-width:1580px;
	height:285px;
	margin:auto;
	background: url(images/main_bg.jpg) center top no-repeat;
  	background-size: cover;
  	z-index: 0;
  	overflow: hidden;
}
#mainvisual .inner {
	width: 95%;
	max-width: 1200px;
	margin: auto;
}
#mainvisual p {
	position: relative;
	width: 170px;
	margin-top: 80px;
	margin-bottom: 10px;
	padding: 0 40px;
	box-sizing: border-box;
	font-size: 16px;
	font-weight: bold;
	background: rgba(255,255,255,.8);
	text-transform: capitalize;
	font-family: 'Readex Pro', sans-serif;
}
#mainvisual h2 {
	position: relative;
	display: inline-block;
	padding: 5px 40px;
	box-sizing: border-box;
	font-size: 30px;
	font-weight: bold;
	background: rgba(255,255,255,.8);
	letter-spacing: 5px;
}


/*------------------------------ ページごとにMV変更 ------------------------------*
.page-template-blog #mainvisual {background: url(images/MV_01.jpg) center top no-repeat;}
.page-template-products #mainvisual {background: url(images/MV_02.jpg) center top no-repeat;}
.page-id-94 #mainvisual {background: url(images/MV_03.jpg) center top no-repeat;}
.page-id-169 #mainvisual {background: url(images/MV_04.jpg) center top no-repeat;}
.single #mainvisual {background: url(images/MV_01.jpg) center top no-repeat;}






/*==================================================================

	ぱんくず

==================================================================*/
.breadcrumbs {	
	width:100%;
	margin:0 auto;
	padding:10px 0;
	border-bottom: 1px solid #ddd;
	font-size:13px;
	color:#444;
}	
.breadcrumbs p {	
	width:95%;
	max-width: 1200px;
	margin:auto;
}	
.breadcrumbs i {	
	color:#999;
	margin-right:5px;
}	
.breadcrumbs a {	
	color:#444;
}	



/*==================================================================

	main

==================================================================*/
main {
	background: #f7f7f7;
}
main #wrapper {
	width: 95%;
	max-width: 1000px;
	margin: auto;
	padding: 60px 0 80px;
	font-size: 15px;
}
main #wrapper section {
}
main #wrapper section:last-child {
	margin-bottom: 0;
}



/*==================================================================

	 タイトル

==================================================================*/
main #wrapper h2 {
	position: relative;
    margin-top: 10px;
    margin-bottom: 40px;
	font-size: 27px;
    font-weight: bold;
    letter-spacing: 5px;
}
main #wrapper h2::before {
	position: absolute;
	content: "";
	top: -20px;
	left: 0;
	width: 40px;
	height: 2px;
	background: #00943f;
}
h3 {
	font-weight: bold;
}
main #wrapper h3 {
	position: relative;
	font-weight: bold;
	font-size: 20px;
    margin-bottom: 20px;
	padding-top: 5px;
	padding-bottom: 7px;
	padding-left: 20px;
    letter-spacing: 2px;
	box-sizing: border-box;
}
main #wrapper h3::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #00943f;
}
main #wrapper h4 {
	font-weight: bold;
	font-size: 18px;
    letter-spacing: 2px;
	margin-bottom: 10px;
}

h5 {
}




/*==================================================================

	table

==================================================================*/
table {
	width:100%;
	margin-bottom:30px;
}
table , table tr , table th , table td {
	height: auto !important;
}
table th , table td {
	padding:15px 20px;
	border: 1px solid #e6e6e6;
}
table th{
	width: 20%;
	font-weight:bold;
	background: #f2f2f2;
}
table td{
	width: 80%;
	background: #FFF;
}



/*==================================================================

	text

==================================================================*/
.text {
	position:relative;
	margin-bottom:50px;
}
.text p {
	margin-bottom:1em;
}
.text:last-child{
	margin-bottom:0;
}



/*==================================================================

	list　　＊　　　SDGsで使用

==================================================================*/

/*------------------------------ 左に緑の●のシンプルリスト ------------------------------*/
ul.list01 {
	position:relative;
}
ul.list01 li {
	position:relative;
	margin-bottom:5px;
	padding-left:17px;
}
ul.list01 li::before {
	position:absolute;
	content:"";
	top:9px;
	left:3px;
	width:5px;
	height:5px;
	background:#86bc24;
	border-radius:100%;
}




/*==================================================================

	btn

==================================================================*/

/*------------------------------ btn01 ------------------------------*
.btn01 {
	margin-top: 60px;
	text-align: center;
}
.btn01 a {
	position: relative;
	border: 1px solid #666;
	padding: 15px 40px;
	transition: 0.3s ease-out;
}
.btn01 a::before {
	position: absolute;
	content: "";
	top: 50%;
	left: -40px;
	width: 50px;
	height: 1px;
	background: #666;
	transition: 0.3s ease-out;
}
.btn01 a:hover {
	color: #6c503d;
	border: 1px solid #6c503d;
	background: rgba(255,255,255,.4);
}
.btn01 a:hover::before {
	left: -20px;
	width: 40px;
	background: #6c503d;
}





/*==================================================================

		$投稿一覧ページ(archive.php)

==================================================================*/
.archive_post_content {
	border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    padding-bottom: 30px;
}
.archive_post_content .date {
	position: relative;
	margin-bottom:10px;
	padding:5px 10px 7px;
	background: #eee;
	font-size:13px;
	line-height: 2;
}
.archive_post_content h4 {
	padding: 10px 0 8px;
    box-sizing: border-box;
	font-size:17px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

/*------------------------------ページネーション------------------------------*/
div.pagenum {
	text-align:center;
}
div.pagenum ul.page-numbers li  {
    display: inline-block;
    min-width: 20px;
}
div.pagenum ul.page-numbers li .page-numbers  {
	background: #ccc;
    padding: 10px 10px;
}
div.pagenum ul.page-numbers li .current {
    background :#222;
	color:#FFF;
}



/*==================================================================

		$投稿ページ(single.php)

==================================================================*/
/*#post_thumbnail {
	float:right;
	width:auto;
	max-width:350px;
	margin-bottom:30px;
	margin-left:30px;
	text-align:center;
	background:#eee9e1;
}
#post_thumbnail img {
	width:auto;
	height:auto;
	margin:auto;
	max-width:100%;
	max-height:400px;
	border:10px solid #eee9e1;
}*/
time {
	display: block;
    margin-top: -20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
    font-size: 13px;
}
time i {
	margin-right:5px;
}

/*------------------------------ページネーション------------------------------*/
.single_nav {
	text-align:center;
	border-top:1px solid #ddd;
    margin-top: 50px;
    padding-top: 30px;
}
.single_nav p {
	display:inline-block;
}
.single_nav a {
	margin:0 10px;
    padding: 8px 20px 10px;
    background: #ccc;
}



/*==================================================================

		$求人情報ページ

==================================================================*/
.page-id-36 main #wrapper a{
	display: block;
    background: #218f3a;
    padding: 15px 40px;
    color: #FFF;
    border-radius: 5px;
    text-align: center;
    width: 30%;
    margin: auto;
}
.page-id-36 main #wrapper a:hover{
    border-radius: 40px;
}



/*==================================================================

		$SDGsページ

==================================================================*/
/*SDGsとは*/
.SDGs_box01 {
	display: flex;
}
.SDGs_box01 p {
	line-height: 2.3;
}
.SDGs_box01 img {
	position: relative;
	top: -20px;
	margin-left: 40px;
	border-radius: 5px;
}

/*以降のリスト*/
.SDGs_box02 {
	background: #FFF;
	border-top: 3px solid #86bc24;
	border-radius: 0 0 10px 10px;
	box-sizing: border-box;
	padding: 30px 30px 5px;
	margin-bottom: 30px;
}
.SDGs_box02 .img-box {
	margin-bottom: 30px;
	text-align: center;
}
.SDGs_box02 table th {
	width: 28%;
}
.SDGs_box02 table td {
	width: 72%;
}
.SDGs_box02 .list01 li:last-of-type {
	margin-bottom: 0;
}



/*==================================================================

		$BCPページ

==================================================================*/
/*BCPとは*/
.BCP_box01 {
	display: flex;
}
.BCP_box01 p {
	line-height: 2.3;
}
.BCP_box01 img {
	position: relative;
	top: -20px;
	margin-left: 40px;
	border-radius: 5px;
}

/*以降のリスト*/
.BCP_box02 {
	background: #FFF;
	border-top: 3px solid #86bc24;
	border-radius: 0 0 10px 10px;
	box-sizing: border-box;
	padding: 30px 30px 5px;
	margin-bottom: 30px;
}
.BCP_box02 .img-box {
	margin-bottom: 30px;
	text-align: center;
}
.BCP_box02 table th {
	width: 28%;
}
.BCP_box02 table td {
	width: 72%;
}
.BCP_box02 .list01 li:last-of-type {
	margin-bottom: 0;
}



/*==================================================================

		$会社案内ページ　受賞歴の賞状の画像サイズ調整

==================================================================*/
.page-id-9 .SDGs_box02 .img-box img {
	width: 60% !important;
	max-width: 250px !important;
}



/*==================================================================

		$お問い合わせページ　＊　Contact Form 7カスタマイズ

==================================================================*/
@media(max-width:500px) {
	.inquiry th,.inquiry td {
		display:block!important;
		width:100%!important;
		border-top:none!important;
		-webkit-box-sizing:border-box!important;
		-moz-box-sizing:border-box!important;
		box-sizing:border-box!important;
	}
	.inquiry tr:first-child th{ border-top:1px solid #d7d7d7!important; }
	.inquiry .haveto,.inquiry .any { font-size:12px; }
}

.inquiry {
	width:100%;
	margin-bottom:40px;
	border-bottom:solid 1px #fff;
}
.inquiry th{
	width:30%;
	padding:20px 20px;
}
.inquiry td{
	padding:20px 30px;
}
.inquiry td input{
	padding:10px 20px;
    box-sizing: border-box;
}
.inquiry td select{
	padding:10px 20px;
}
.inquiry td textarea{
	width:100%;
	padding:10px 20px;
    box-sizing: border-box;
}
.inquiry td .your-pref{
	margin-bottom: -20px;
    display: block;
}


.spam {
	padding:5px 10px;
	background:#fcfaf4;
	text-align:center;
}
.spam span {
	margin-right:5px;
}


/*------------------------------ 必須 ------------------------------*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:15px;
 position:relative;
 bottom:1px;
}
/*------------------------------ 任意 ------------------------------*/
.any{
 font-size:7px;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:15px;
 position:relative;
 bottom:1px;
}
/*------------------------------ 送信ボタン ------------------------------*/
#formbtn{
 display: block;
 padding:15px;
 width:350px;
 background:#218f3a;
 color:#fff;
 font-size:15px; 
 border-radius:2px;
 margin:25px auto 0;
 border:1px solid #218f3a;
	-webkit-appearance: none;
}
#formbtn:hover{
 background:#fff;
 color:#218f3a;
 border:1px solid #218f3a;
}









