﻿@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 14px;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section1 {display: block;}
/* -------------------------------------------------------------- */

body{
color:#555;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
border-top:5px solid #44a93a;
background:#f4f4f4;
-webkit-text-size-adjust: none;
}

img{
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

/* リンク設定
------------------------------------------------------------*/
a{color:#bde8b9;text-decoration:none;}
a:hover{color:#d75800;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
/*width:98%;*/
position:relative;
}

.inner,.h_slide{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
#header{
overflow:hidden;
padding:20px 0;
background:#56c04c;
}

* html #header{height:1%;}


/*************
/* ロゴ
*************/
#header .logo{
float:left;
padding:0 0;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
color:#fff;
font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.logo span{
font-size:12px;
font-weight:normal;
}

h1{
font-size:24px;
padding:1.5rem;
letter-spacing: 5px;

}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:0 auto 30px;
padding:0;
width:100%;
line-height:0;
background:#fff;
}

#mainBanner .inner, #mainBanner .h_slide{position:relative;}

#mainBanner img{
max-width:100%;
height:auto;
}

.slogan h2{
color:#333;
font-size:20px;
}

.slogan h3{
font-size:14px;
color:#666;
}

ul.information{
	height:150px;
	margin:0px 10px 0px 35px;
	padding: 0px 0px 50px;
	overflow: auto;
	background-color:#bde8b9;
	}
	
	
li.information{
	padding-top:1em;
	margin:0px 0px 0px 1em;
	line-height: 1.5em;
	list-style-image: url(../img/1_listmark.01.gif);
	}
	
li.information_new{
	padding-top:1em;
	margin:0px 0px 0px 3em;
	list-style-image: url(../img/1_listmark.05.gif);
	line-height:1.5em;
	}


/**************************
/* グリッド
**************************/
.gridWrapper{
padding-top:10px 0;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid,.grid_4,.grid_3{
float:left;
background:;
box-shadow:;
}
.grid_4 img{
	border-radius:7px;
}

.grid h2,.grid h3,.grid_3 h2,.grid_3 h3{
padding:10px 0;
font-weight:bold;
color:#fff;
background:#56c04c;
text-align:center;
}

.grid p, .grid_3 p{
padding:5px 10px;
}

.grid p.img,.grid_4 .img{
padding:0;
text-align:center;
}

.readmore{clear:both;}

p.readmore{
padding:10px;
}

.grid_4{
	float:left;
	width:23%;
	margin-left:1%;
	margin-right:1%;	
}
.grid_3{
	float:left;
	width:31.3%;
	margin:10px 1%;
	padding:15px;
	box-sizing:border-box;
}
/*************
メイン コンテンツ
*************/
section1.content{
padding:0 10px 10px;
margin-bottom:20px;
overflow:hidden;
font-size:14px;
background:#fff;
box-shadow:0 0 3px #ddd;
}

* html section1.content{height:1%;}

section1.content p{margin-bottom:5px;}

h3.heading{
padding:5px 10px;
margin:0 -10px 20px;
font-size:16px;
color:#fff;
background:#56c04c;
}

section1.content img{
max-width:90%;
height:auto;
}

img.frame,#gallery img{
padding:3px;
box-shadow:0 0 3px #ddd;
}

#gallery .grid{
margin-bottom:10px;
box-shadow:none;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}



/*************
テーブル
*************/
table.table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #ccc;
}

table.table th{
text-align:right;
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#444;
background:#dedede;
}

a{color:#bde8b9;text-decoration:none;}
a:hover{color:#d75800;}

/*table.table td{border-left:#bde8b9 3px double}*/



/*************
サブ（フッター前）コンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{display:block;}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:6px;
padding:5px 0;
overflow:hidden;
}

* html #sub ul.list li{height:1%;}

#sub ul.list li img{
float:left;
margin:0 10px 0 0;
}

#sub ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター▽
*************/
#footer{
clear:both;
overflow:hidden;
color:#fff;
/*padding:10px 20px 0;*/
padding:10px;
background:#56c04c;
}
.footer_logo{
float:left;
padding-top:15px;
}
* html #footer{height:1%;}

#footer .grid{
padding:10px 0 5px;
margin:0;
background:transparent;
}

#footer #info .logo, #footer #info .info{float:none;}

#footer #info .info{
clear:both;
padding:10px 0 0 15px;
text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{font-size:12px;}

ul.footnav{
	text-align:center;
	border-bottom:#fff solid 1px;
}

ul.footnav li{
margin-bottom:10px;
padding:0 7px 0 8px;
border-right:1px solid #ffffff;
display:inline;
}

#footer a{color:#fff;}

#footer a:hover{color:#444;}

.event table tr td{padding:0;}

.topimg_shadow{ box-shadow:#4F81BC -2px 2px 4px;}

.news{ margin-top:60px !important; margin-bottom:60px !important; padding:10px 20px 30px; box-sizing:border-box; box-shadow:#E3E3E3 1px 1px 2px,#E3E3E3 0px 0px 1px;}


/*slide追記*/
.bxslider {
		/*overflow: hidden;*/
	}
	.bxslider .bxslider {
		max-width: 1000px;
		width: 100%;
		margin: 0 auto;
	}
	.bxslider ul li img {
		width: 100%;
		height: auto;
	}
	.bxslider .bx-viewport {
		overflow: visible !important;
	}
	.bxslider {
		position: relative;
	}
	.bxslider ul {
		opacity: 0;
	}


	.bx-loading:before,
	.bx-loading:after,
	.bx-loading {
	  border-radius: 50%;
	  width: 1em;
	  height: 1em;
	  -webkit-animation-fill-mode: both;
	  animation-fill-mode: both;
	  -webkit-animation: load7 1.8s infinite ease-in-out;
	  animation: load7 1.8s infinite ease-in-out;
	}
	.bx-loading {
	  color: #000;
	  font-size: 10px;
	  position: absolute;
	  top: 40%;
	  left: 50%;
	  text-indent: -100%;
	  -webkit-transform: translateZ(0);
	  -ms-transform: translateZ(0);
	  transform: translateZ(0);
	  -webkit-animation-delay: -0.16s;
	  animation-delay: -0.16s;
	}
	.bx-loading:before {
	  left: -3.5em;
	  -webkit-animation-delay: -0.32s;
	  animation-delay: -0.32s;
	}
	.bx-loading:after {
	  left: 3.5em;
	}
	.bx-loading:before,
	.bx-loading:after {
	  content: '';
	  position: absolute;
	  top: 0;
	}	

/*----------------追記-----------------*/
.clearfix:after {
    display: block;
    clear: both;
    height: 0px;
    line-height: 0px;
    visibility: hidden;
    content: ".";
}
.clearfix {
    display: block; /* for IE8 */
}

.w_middle{
	margin:0 auto 40px;
}

#title_text{
	text-align:center;
	margin:40px 0;
	font-size:1.2rem;
	font-weight:bold;
}
.contents_title_text{
	text-align:center;
	margin:40px 0;
	font-size:1.0rem;
	font-weight:bold;
	line-height:2rem;
}
.contents_top_text{
	 margin: 40px auto;
	font-size:1.0rem;
	line-height:2rem;
	width:40rem;
}
.contents_top_text h1{
	text-align:center;
	font-weight:bold;
	margin-bottom:0;
}
.contents_second_text{
	 margin:0 auto;
	font-size:1.0rem;
	line-height:2rem;
}

.contents_title_text h2{
	font-size:1.1rem;
	margin-bottom:2rem;
}
.top_sale{
	font-size:1.1rem;
	font-weight:bold;
	text-align:center;
	width:100%;
	/*height:200px;*/
	/*display:table-cell;*/
	/*vertical-align:middle;*/
	padding-bottom:30px;
}
.red_text{
	color:#ff0000;
}

.table0 {
    margin: 0 auto;
	width:100%;
	font-size:1.0rem;
}
table {
    margin: 0 auto;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
.table0 th {
    background: #bde8b9;
    color: #fff;
}
table th {
    text-align: center;
    font-weight: normal;
}
table th, table td {
    padding: 0.5em 1em;
	vertical-align:middle;
}
.table0 th, .table0 td{
    border: 3px solid #f4f0e7;
}

.col {
    float: left;
}
table {
    margin: 0 auto;
}
.table-default td {
    background: #fff;
}
.table-default th, .table-default td {
    border: 1px solid #ccc;
}
table th, table td {
    /*padding: 0.5em 1em;*/
	padding: 0.2em 1em;
}

td, th {
    padding: 0;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
user agent stylesheet
td, th {
    display: table-cell;
    vertical-align: inherit;
}

.th{
	background-color:#DDDDDD;
	width:25%;
	padding-left:1rem !important;
}
.th_l{
	background-color:#EEEEEE;
	width:25%;
	text-align:center;
	padding-left:1rem !important;
}

.td a,.th_l a{
	color:#44a93a;
}
.td{
	padding-left:1rem !important;
}
.reverse>.col:last-child, :not(.reverse)>.col:first-child {
    margin-left: 0;
}

.col:not(:last-child) {
    margin-bottom: 0;
}
.col:not(:last-child) {
    margin-bottom: 3%;
}

.gutters .span_6 {
    width: 49%;
	float:left;
}

.gutters .col {
    margin-left: 2%;
}

.gutters .span_12 {
    width: 100%;
}

.pc-text-left img,.pc-text-right img{
	width: 100%;
}

.highlight {
    padding: 4% 0;
    background: #f4f0e7;
    color: #222222;
}

.no_highlight{
	padding:4% 0;
}

.indent1{
	margin-left:1rem;
}
.indent2{
	margin-left:2rem;
}

.text_red{
	color:#ff0000;
}

.plant-no{
	font-size:1.1rem; text-align:center;
}
.plant-name{
	font-size:1.1rem; text-align:center; letter-spacing:5px; font-weight:bold;
}
.plant-comment{
	font-size:1.1rem; text-align:center;
}
.b1 {
	border: 1px solid #ccc;
	background : #ffffff;
}
.pc-text-left{
	text-align:left;
}
.pc-text-right{
	text-align:right;
}
.pc-text-center{
	text-align:center;
}
.pc-text-left img, .pc-text-right img, .pc-text-center img{
	width:90%;
}

.al_left{
	text-align:left;
}
.al_right{
	text-align:center;
}
.mtop-1rem{
	margin-top:1rem;
}
/*------------------*/


/* ▽メールフォーム　*/
#formWrap {
	width:80%;
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:90%;
}
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}
.form_textarea{
	width:90%;
	margin-left:auto;
	margin-right:auto;
	min-height:250px;
}
/* △メールフォーム　*/

/* ▽matingページ　*/
  .mating_table table{width:580px; padding:40px 0;}
  .t_no{ text-align:left;}
  .t_name{ text-align:left; margin-left:1rem;}
  .t_price{ text-align:right;}
  .mating_table table{border-collapse: collapse;}
  .mating_table table tr th,.mating_table table tr td{ border:#ccc solid 1px;}
  .mating_table table tr th{ background-color:#E1E1E1;}
/* △matingページ　*/
.companyimg_top{
	margin:40px 0;
}
.companyimg_top img{
	width:16%;
}
.company_topimage{
	margin-right:0.5%;
}

/* ▽ページトップへ　*/
#pageTop {
  position: fixed;
  bottom: 0;
  right: 10px;
}
#pageTop a {
  display: block;
  z-index: 999;
}
#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}
/* △ページトップへ　*/
.row_b40{
    padding-bottom: 4%;
}
.pp_button a{
	color:#56c04c;
	margin-bottom:40px;
}


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
		.footer_info{
		float: right;
		width: 310px;
		text-align: right;
		margin-top: 25px;
	}
	.minheight{
	 min-height: 650px;
}
.mb_80{
	margin-bottom:80px;
}
.about_c{
	padding:0 ; box-sizing:border-box; overflow:hidden;
}
.about_c_left{
	clear:both; float:left; width:5rem; box-sizing:border-box; padding:5px;
}
.about_c_right{
	float:right; width:35rem; box-sizing:border-box; text-align:left; padding:5px;
}
.about_c_right p{
	line-height:1rem;
	padding-top:0.5rem;
}

}

@media only screen and (max-width:959px){
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}
	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer .logo,#footer .info{
	width:100%;
	float:none;
	}
	
	#footer .logo p{float:none;display:block;}
	#footer .logo img{float:none;padding:0;}
	
	.footer_info{
		float: right;
		width: 310px;
		text-align: right;
		margin-top: 1rem;
	}
	.mb_80{
	margin-bottom:60px;
}
.about_c{
	padding:0 ; box-sizing:border-box; overflow:hidden;
}
.about_c_left{
	clear:both; float:left; width:5rem; box-sizing:border-box; padding:5px;
}
.about_c_right{
	float:right; box-sizing:border-box; text-align:left; padding:5px;
}
.about_c_right p{
	line-height:1rem;
	padding-top:0.5rem;
}
}
/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	.footer_info, .footer_logo{
		float:none !important;
		text-align: center;
		width:100%;
	}
	.mb_80{
	margin-bottom:60px !important;
}
.about_c{
	padding:0 ; box-sizing:border-box; overflow:hidden;
}
.about_c_left{
	clear:both; float:left; width:5rem; box-sizing:border-box; padding:5px;
}
.about_c_right{
	float:right; box-sizing:border-box; text-align:left; padding:5px;
}
.about_c_right p{
	line-height:1rem;
	padding-top:0.5rem;
}
}
/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.footer_info{
		float: none !important;
		width:100%;
		text-align: center;
		margin-top: 1rem;
	}
	.footer_logo {
		float:none !important;
		text-align: center;
		width:100%;
	}
	.mb_80{
	margin-bottom:60px !important;
}
.about_c{
	padding:0 ; box-sizing:border-box; overflow:hidden;
}
.about_c_left{
	float:none; box-sizing:border-box; margin-top:20px; padding: 0 0 0 5px;
}
.about_c_right{
	float:none; box-sizing:border-box; text-align:left; padding:5px;
}
.about_c_right p{
	line-height:1rem;
	padding-top:0;
}
.al_left, .pc-text-right, .pc-text-left, .pc-text-center{
	text-align:center !important;
}

}
/*************
/* フッター△
*************/



/*追加*/

.w_middle content h3{ text-align:center; font-size:1.2rem; font-weight:bold; margin:20px 0; text-decoration:underline;}
.top_sale_area h3{ text-align:center; font-size:1.2rem; font-weight:bold; margin:20px 0; text-decoration:underline;}

/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper,.inner{
	/*width:940px;*/
	padding:0;
	}
	.w_middle{
	width:940px;
	}
	.w_wide{
	width:100%;	
	}
	.h_slide{
	width:100%;
	padding:0;
	}
	.bx-viewport{
		overflow: visible !important;
	}
	
	/*#wrapper{padding-bottom:20px;}*/
	
  nav div.panel{
	display:block !important;
	float:right;
	}

	a#menu{display:none;}

	nav#mainNav ul{
	float:right;
	overflow:hidden;
	}

	* html nav#mainNav ul{height:1%;}

	nav#mainNav ul li{
	float:left;
	text-align:center;
	border-right:1px solid #eee;
	}
	
	nav#mainNav ul li:last-child{border:0;}

	nav#mainNav ul a{
	font-size:13px;
	display:block;
	padding:30px 15px;
	line-height:1.2;
	color:#d75800;
	background:#fff;
	}
	
	nav#mainNav ul span{
	font-size:10px;
	}

	nav#mainNav ul li.active a,nav#mainNav ul a:hover{
	color:#fff;
	background:#44a93a;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	padding-top:60px;
	width:100%;
	margin:0;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
	float:left;
	width:18%;
	margin-left:1%;
	margin-right:1%;
	}
	

	/* サブコンテンツ + フッター グリッド(3カラム) */
	/*#sub .grid, #footer .grid{width:298px;}*/
	#sub .grid, #footer .grid{width:33.3%;}
	#footer .grid{border:0;}
	
/* 追加 */
	
/* トップスライド（追加） */
.topslide{ width:940px; margin:0 auto; position:relative;}
	
/*.top_sale_area_img{ float:left; width:250px; box-sizing:border-box;}*/
.top_sale_area{background-color:#f4f0e7; padding:20px 0 40px; margin:60px 0;}
.top_sale_area_text{ text-align:center; width:100%;}
.top_tenji{ background-color:#f4f0e7; padding:20px 0 60px; margin:60px 0 1px;}
.second_sub{ position:relative; padding-top:10px; padding-bottom:3px; padding-right:160px; text-align:right;}
.second_sub_text{ position:absolute; left:200px; bottom:10px;}

}


/* モニター幅940px以下 */
@media only screen and (max-width:940px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	#header{padding:10px 0 0;}
	
	#header .logo,#footer .logo{
	float:none;
	text-align:center;
	padding:10px 5px;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background:#d75800;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	color:#fff;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #fff;
	color:#fff;
	background:#bde8b9;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{border-top:1px dashed #fff;}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a,nav#mainNav ul li a:hover{background:#d75800;}

	nav div.panel{float:none;}
	
	/*.grid{
	float:left;
	width:48%;
	margin:10px 1%;
	}*/
	.grid{
	float:left;
	width:18%;
	margin-left:1%;
	margin-right:1%;
	}
	
	.grid img{
	/*float:left;*/
	margin-right:5px;
	}

	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:23%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	

/* 追加 */

	/* トップスライド（追加） */
	.topslide{ width:100%; margin:0 auto; position:relative;}
	
/*.top_sale_area_img{ float:left; width:30%; box-sizing:border-box;}*/
.top_sale_area{background-color:#f4f0e7; padding:20px 0 40px; margin:40px 0;}
.top_sale_area_text{ text-align:center; width:100%; box-sizing:border-box;}
.top_tenji{ background-color:#f4f0e7; padding:20px 0 40px; margin:40px 0 1px;}
.second_sub{ position:relative; padding-top:10px; padding-bottom:3px; padding-right:120px; text-align:right;}
.second_sub_text{ position:absolute; left:20px; bottom:15px;}

.gridWrapper{
	padding-top:60px;
}
	
}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}
	
	#sub ul.list{padding:10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom:10px;
	margin-bottom:8px;
	}
	
/*.top_sale_area_img{ float:left; width:30%; box-sizing:border-box;}
.top_sale_area_img img{width:90%;}*/
.top_sale_area{background-color:#f4f0e7; padding:20px 0 40px; margin:20px 0;}
.top_sale_area_text{ text-align:center; box-sizing:border-box;}	
.top_tenji{ background-color:#f4f0e7; padding:20px 0 20px; margin:0 0 1px;}
.second_sub{ position:relative; padding-top:10px; padding-bottom:3px; padding-right:20px; text-align:right;}
.second_sub_text{ position:absolute; left:10px; bottom:10px;}
	
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#footer .grid p{text-align:center;}
	
	.grid img{
	float:none;
	margin:0 auto;
	}
	
	.grid p,#sub .grid li{text-align:left;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}
	
/*.top_sale_area_img{ float:left; width:30%; text-align:center; box-sizing:border-box;}
.top_sale_area_img img{width:90%;}*/
.top_sale_area{background-color:#f4f0e7; padding:20px 0 40px; margin:0;}
.top_sale_area_text{text-align:center; box-sizing:border-box;}	
.top_tenji{ background-color:#f4f0e7; padding:20px 0 15px; margin:0 0 1px;}
.second_sub{ position:relative; padding-top:10px; padding-bottom:3px; padding-right:20px; text-align:right;}
.second_sub_text{ position:absolute; left:10px; bottom:10px;}

.gridWrapper{
	padding-top:40px;
}

}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#mainBanner h2,#mainBanner h3{font-size:75%;}
	.subImg .slogan{right:-30px;}
	
	.grid img{max-width:100%;height:auto;}
	.grid h2{ height:5rem;}
	
	#sub .grid{
	float:none;
	width:98%;
	}
	
	#sub .grid h3{padding:10px 5px;}
	
	#sub ul.list{padding:10px;}
	
	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}
	nav#mainNav ul span{
		display:none;
	}
	
/*.top_sale_area_img{ width:100%; text-align:center; box-sizing:border-box;}
.top_sale_area_img img{width:90%;}*/
.top_sale_area{background-color:#f4f0e7; padding:20px 0 40px; margin:0;}
.top_sale_area_text{ text-align:center; width:100%; box-sizing:border-box;}	
.top_tenji{ background-color:#f4f0e7; padding:20px 0 15px; margin:0 0 1px;}
.second_sub{ position:relative; padding-top:10px; padding-bottom:3px; text-align:center;}
.second_sub_text{ position:absolute; bottom:0; padding:15px; text-align:left;}
	
}





@media (max-width: 767px) {
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col:not(:last-child) {
    margin-bottom: 1em;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure {
    overflow: hidden;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure img {
    float: left;
    width: 32%;
    margin-bottom: 10px;
    vertical-align: middle;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure figcaption {
    float: right;
    width: 66%;
    margin-top: 0;
    vertical-align: middle;
  }
  .sp_image_cols.sp_col2 .col {
    /*width: 49%;*/
  }
  .sp_image_cols.sp_col2 .col:nth-child(odd) {
    clear: both;
    float: left;
  }
  .sp_image_cols.sp_col2 .col:nth-child(even) {
    float: right;
  }
  .sp_image_cols.sp_col3 .col {
    float: left;
    width: 32%;
  }
  .sp_image_cols.sp_col3 .col:nth-child(3n+1) {
    clear: both;
    margin-right: 2%;
  }
  .sp_image_cols.sp_col3 .col:nth-child(3n) {
    float: right;
  }
  
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col:not(:last-child) {
    margin-bottom: 1em;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure {
    overflow: hidden;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure img {
    float: left;
    width: 32%;
    margin-bottom: 10px;
    vertical-align: middle;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure figcaption {
    float: right;
    width: 66%;
    margin-top: 0;
    vertical-align: middle;
  }
  .sp_image_cols.sp_col2 .col {
    /*width: 49%;*/
  }
  .sp_image_cols.sp_col2 .col:nth-child(odd) {
    clear: both;
    float: left;
  }
  .sp_image_cols.sp_col2 .col:nth-child(even) {
    float: right;
  }
 /*-------------------------*/
   .sp_image_cols:not(.sp_col2):not(.sp_col3) .col:not(:last-child) {
    margin-bottom: 1em;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure {
    overflow: hidden;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure img {
    float: left;
    width: 32%;
    margin-bottom: 10px;
    vertical-align: middle;
  }
  .sp_image_cols:not(.sp_col2):not(.sp_col3) .col figure figcaption {
    float: right;
    width: 66%;
    margin-top: 0;
    vertical-align: middle;
  }
  .sp_image_cols.sp_col2 .col {
    /*width: 49%;*/
  }
  .sp_image_cols.sp_col2 .col:nth-child(odd) {
    clear: both;
    float: left;
  }
  .sp_image_cols.sp_col2 .col:nth-child(even) {
    float: right;
  }
  .sp_image_cols.sp_col3 .col {
    float: left;
    width: 32%;
  }
  .sp_image_cols.sp_col3 .col:nth-child(3n+1) {
    clear: both;
    margin-right: 2%;
  }
  .sp_image_cols.sp_col3 .col:nth-child(3n) {
    float: right;
  }

  .sp_image_left {
    overflow: hidden;
  }
  .sp_image_left .col:first-child {
    display: inline-block;
    float: left;
    width: 32%;
    margin-right: 2%;
    margin-bottom: 0.5em;
  }
  .sp_image_left .col:last-child {
    float: none;
  }

  .sp_image_right {
    overflow: hidden;
  }
  .sp_image_right .col:first-child {
    display: inline-block;
    float: right;
    width: 32%;
    margin-left: 2%;
    margin-bottom: 0.5em;
  }
  .sp_image_right .col:last-child {
    float: none;
  } 
  
  col:not(:last-child) {
    margin-bottom: 3%;
}

.col {
    float: none;
}
.col {
    display: block;
    float: left;
    /*width: 100%;*/
}
}

/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
.gutters .span_6 {
    width: 100%;
}
table th, table td {
    /*padding: 0.5em 1em;*/

}
col:not(:last-child) {
    margin-bottom: 30px;
}

.sp_w100{
	width:100% !important;
	padding-left:1rem;
}

.mtop-1rem{
	margin-top:0 !important;
}

.th_l img{
    max-width:100%;	
}
.th_l{
    padding:2px !important;	
}

}
/* スマートフォン 縦(ポートレート) */


@media only screen and (max-width:599px){
.contents_top_text{
	width:100%;
}
.contents_top_text h1{
	text-align:center;
	font-weight:bold;
	margin-bottom:0;
}

.mating_table table{width:90%; padding:40px 0;}
.t_name{ text-align:left; margin-left:0;}
.mating_table table tr th,.mating_table table tr td{ padding:3px;}
.companyimg_top{
	margin:5px 0;
}

.w_middle{
	margin:0 auto;
}
.companyimg_top img{
	width:30%;
}
.company_topimage{
	margin-right:0.5%;
	margin-bottom:3px;
	
}
.company_topimage2{
	margin-bottom:3px;
	
}

#formWrap {
	width:95%;
}
}

/* Movie */
@media only screen and (min-width:560px){
.movie{
	width:560px;
	margin:40px auto;
}
.contents_second_text{
	width:40rem;
}
}
@media only screen and (max-width:559px){
.movie{
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin-bottom:20px;
}
.movie iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/* for macIE \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
ul#newsList {
	margin: 0 0 15px;
	padding: 0;
	font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
ul#newsList li {
	color: #666;
	/*font-size: 12px;*/
	font-size: 1rem;
	margin: 0;
	padding: 5px 0;
	margin-bottom: 3px;
	border-bottom: 1px dotted #ccc;
	line-height: 120%;
	list-style-type: none;
}
a {
	color: #36F;
	text-decoration: underline;
}
a:hover {
	color: #039;
	text-decoration: none;
}
.catName {
	display: inline-block;
	padding: 3px 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 11px;
	line-height: 100%;
	margin: 0 2px;
}
.newMark {
	display: inline-block;
	border: 1px solid #F00;
	padding: 1px 4px;
	font-size: 11px;
	line-height: 100%;
	background: #F00;
	color: #fff;
	box-shadow: 1px 1px 1px #999;
	border-radius: 8px;
	font-style: italic;
}
.comment {
	display: block;
	padding: 3px 0;
	float: left;
	overflow: hidden;
	width: 500px;/* 本文部分の幅。ここは特に設置ページ合わせて変更下さい */
}
.thumbNailWrap {
	display: block;
	width: 110px;
	float: left;
	height: 80px;
	overflow: hidden;
}