/* =layout
-------------------------------------------------------------- */
/*reset*/
h1,h2,h3,p {
  margin: 0;
}

/*common*/
.content-width {
  width: 1024px;
  padding: 0 12px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.sp {
  display: none;
}
.sp-br {
  display: none;
}
#home::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background: url('../images/home/bg_home.jpg') no-repeat center/cover;
}
@media screen and (max-width: 640px) {
  body,
  input,
  textarea {
    font-size: 1.8rem;
  }
  .content-width {
    width: 640px;
    padding: 0 30px;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .sp-br {
    display: inline-block;
  }
  #home::before {
    background: url('../images/home/bg_home_sp.jpg') no-repeat center/cover;
  }
}
/* =header
-------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 25px 0;
  z-index: 10;
}
#header #logo-box {
  width: 160px;
}
#header #nav {
  width: 840px;
  text-align: right;
}
#header #nav li {
  padding:0 2em;
}
#header #nav li{
  padding: 4px 10px 0 20px;
}

#header #nav li.menu_text {
    padding-top:12px;
}

#header #nav li.menu_sns {
    padding-top:8px;
}

#header #nav li a {
  color: #111111;
}

#header #nav .link_btn{
	padding-left: 20px;
}

@media screen and (max-width: 640px) {
  #header {
    background: #fff;
    padding: 20px 0;
    /*box-shadow:0px 4px 4px 0px #dde4d9;
    -moz-box-shadow:0px 4px 4px 0px #dde4d9;
    -webkit-box-shadow:0px 4px 4px 0px #dde4d9;*/
  }
  #header #sp-menu {
    width: 50px;
  }
  #header #sp-menu span {
    content: '';
    display: block;
    height: 5px;
    width: 50px;
    background: #000;
  }
  #header #sp-menu span:nth-child(2) {
    margin: 12px 0;
    background: #66bd9d;
  }
  #header #logo-box {
    width: 100%;
    text-align: center;
    padding-right: 50px;
  }
  #header #logo-box .sp {
    display: inline-block;
  }
  #header #nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,.9);
  }
  #header #nav li {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 2.0rem;
    border-bottom: 1px solid #ccc;
    padding: 0;
  }
  #header #nav li a {
    display: block;
    padding: 30px 0;
  }
}

/* =footer
-------------------------------------------------------------- */
#footer {
  background: #66bd9d;
  padding: 15px 0;
}
#footer small {
  display: block;
  font-size: 1.2rem;
  color: #fff;
}
@media screen and (max-width: 640px) {
  #footer {
    padding: 15px;
  }
  #footer small {
    font-size: 1.8rem;
  }
}
/* =home common
-------------------------------------------------------------- */
.home-sec {
  padding: 30px 0;
}
.common-sec-ttl {
  text-align: center;
}
.common-sec-ttl span {
  display: block;
}
.common-sec-ttl span {
  font-size: 3.6rem;
  letter-spacing: 1.2rem;
  font-weight: normal;
  margin-top: 5px;
}
.common-sec-ttl span:last-child {
  font-size: 1.6rem;
  letter-spacing: 1rem;
  font-weight: normal;
  margin-top: 5px;
}
.common-home-bg {
  color: #fff;
}
.common-white-bg {
  background: #fff;
}
.common-beige-bg {
  background: #fefcf7;
  text-align: center;
}
.common-home-list .item-container {
  width: 80%;
  margin: 55px auto 0;
}
.common-home-list .item-box {
  display: table;
  width: 100%;
  padding: 40px 0 10px;
  margin: 0;
}
.common-form-list .item-box {
  display: table;
  width: 100%;
  padding: 20px 0 20px;
  margin: 0;
}
.common-home-list .item-box dt ,
.common-home-list .item-box dd {
  display: table-cell;
  margin: 0;
  padding: 0 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
@media screen and (max-width: 640px) {
.common-home-list .item-box dt ,
.common-home-list .item-box dd {
  display: table-cell;
  margin: 0;
  padding: 0 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
}
.common-form-list .item-box dt ,
.common-form-list .item-box dd {
  display: table-cell;
  margin: 0;
  padding: 0 0 10px;
  text-align: left;
  vertical-align: middle;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.common-home-list .item-box dt ,
.common-form-list .item-box dt {
  width: 25%;
}
.common-home-list .item-box dd,
.common-form-list .item-box dd, {
  width: 50%;
}

@media screen and (max-width: 640px) {
  .home-sec {
    padding: 50px 0;
  }
  .common-sec-ttl span:last-child {
    font-size: 2.0rem;
  }
  .common-sec-ttl span img.sp {
    display: inline-block;
  }
  .common-home-list .item-box dt ,
  .common-home-list .item-box dd {
    font-size: 2.0rem;
  }
  .common-home-list .item-box dt ,
  .common-form-list .item-box dt {
    width: 35%;
}
}
/* =home mainvisual
-------------------------------------------------------------- */
#mainvisual {
  background: url('../images/home/mv/bg_mv.jpg') no-repeat scroll center/cover;
  height: 600px;
}
#mainvisual .mv-ttl {
  padding: 280px 0 350px;
  font-size: 50px;
  letter-spacing: 1rem;
  color: #111111;
}
#mainvisual .content-width__main{
	padding:  0 20px;
    margin-top: 87px;
}
@media screen and (max-width: 640px) {
  #mainvisual {
    background: url('../images/home/bg_mv_sp.jpg') no-repeat scroll center/cover;
	height: 900px;
  }
  #mainvisual .mv-ttl {
    padding: 370px 0 470px;
	font-size: 40px;
    letter-spacing: 1rem;
    color: #111111;
    text-align: center;
}

.mv-ttl .sp {
margin:0 auto;
}

  }
}
/* =home news
-------------------------------------------------------------- */
#news .item-container {
  margin-top: 55px;
  font-weight: 600;
}
#news .item-box {
  border-top: 1px solid #ccc;
}
@media screen and (max-width: 640px) {
  #news .item-box dt {
    color: #2cc8a0;
  }
}
/* =home mission
-------------------------------------------------------------- */
#mission_body {
  padding-bottom: 70px;
}
#mission_body .item-container {
  width: 80%;
  margin: 40px auto 0;
}
#mission_body .sub-ttl {
  font-size: 2.8rem;
  margin: 50px 0;
  /*font-family: "fot-tsukubrdgothic-std",sans-serif; */
  font-weight: 500;
}
#mission_body .item-container p {
  line-height: 2.2;
  text-align: center;
}
@media screen and (max-width: 640px) {
  #mission {
    padding-bottom: 50px;
  }
  #mission .item-container {
    width: 100%;
    margin-top: 50px;
  }
  #mission .sub-ttl {
    font-size: 2.4rem;
  }
  #mission .item-container p {
    line-height: 2;
    padding: 0;
  }
  #mission_body .sub-ttl {
  font-size: 2.6rem;
  margin-bottom: 50px;
 /* font-family: "fot-tsukubrdgothic-std",sans-serif; */
  font-weight: 700;
}
 #mission_body {
  padding-bottom: 100px;
}
  #mission_body .item-container {
  width: 100%;
  margin: 60px auto 0;
}
}

/* =home service
-------------------------------------------------------------- */
#service {
  background:#fff;
  padding-bottom: 120px;
}
/*-- 280行目のbk --*/
/*-- #service {
  background: url('../images/home/bg_service.png') no-repeat fixed top center/cover;
  padding-bottom: 120px;
}  --*/
  #service h2{
    padding: 20px 0 30px;
  }

#service .item-container {
  margin-top: 30px;
}
#service .ttl-box ,
#service .text-box {
  width: 50%;
  text-align: left;
  height: 330px;
}

#service .ttl-box_mar{
  background: url('../images/home/service/bg_service_item_1.jpg') no-repeat scroll center;
}
#service .ttl-box_web-mar{
  background: url('../images/home/service/bg_service_item_2.jpg') no-repeat scroll center;
}
#service .ttl-box_kaigai{
  background: url('../images/home/service/bg_service_item_3.jpg') no-repeat scroll center;
}

#service .sub-ttl {
  font-size: 2.2rem;
  padding: 0 0 30px 52px;
}
#service .sub-ttl span {
  line-height: 1.4;
  position: relative;
  letter-spacing: 0.3rem;
}
#service .service_color_green{
  color: #66bd9d;
}
#service .service_color_red{
  color: #ec0000;
}
#service .service_color_blue{
  color: #0c83e8;
}
#service .sub-ttl span::after {
  position: absolute;
}
#service .item-inner:first-child span::after {
  /*content: url('../images/home/ico_service01.png');
  top: -70px;
  right: 40px;*/
}
#service .item-inner:nth-child(2) span::after {
  /*content: url('../images/home/ico_service02.png');
  bottom: -85px;
  left: 15px;*/
}
#service .item-inner:nth-child(3) span::after {
  /*content: url('../images/home/ico_service03.png');
  bottom: -70px;
  right: 20px;*/
}
#service .item-box .sub-ttl em {
  font-style: normal;
}
#service .item-inner:first-child .sub-ttl em {
  color: #b93f37;
}
#service .item-inner:nth-child(2) .sub-ttl em {
  color: #dc9819;
}
#service .item-inner:nth-child(3) .sub-ttl em {
  color: #519961;
}
#service .text-box p {
  width: 78%;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
  font-weight: 500;
}
#service .item-inner:nth-child(odd) .text-box p {
  /*margin-left: 14px;*/
}

#home-access .item-box a.foods_labo {
	text-align:left;
    display: block;
    width: auto;
    padding: 0;
    margin: 15px 0;
    border: none;
}

#home-access .item-box a.foods_labo:hover {
  background: none;
}

@media screen and (max-width: 640px) {
  #service {
    background: #fff;
  }
  #service .content-width {
    width: 100%;
    padding: 0;
  }
  #service .item-inner {
    width: 640px;
    height: 600px;
    padding: 0 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #service .item-box .ttl-box ,
  #service .item-box .text-box {
    background: none;
    width: 100%;
    display: table;
  }
  .ttl-box img {
    width:100%;  
    }
    
  #service .sub-ttl {
    background: none;
    /*display: table-cell;*/
    vertical-align: middle;
    font-size: 2.8rem;
    padding-top: 25px;
  }
  #service .sub-ttl {
    font-size: 2.8rem;
    padding: 0 0 30px 0;
    text-align: center;
}
  #service .sub-ttl span {
    line-height: 1.2;
  }
  #service .item-inner:nth-child(2){
    margin-bottom: 200px;
	margin-top:  150px;
  }
  /*#service .item-inner:first-child span::after {
    content: url('../images/home/ico_service01_sp.png');
    top: -85px;
    right: 40px;
  }
  #service .item-inner:nth-child(2) span::after {
    content: url('../images/home/ico_service02_sp.png');
    bottom: -95px;
    left: 20px;
  }
  #service .item-inner:nth-child(3) span::after {
    content: url('../images/home/ico_service03_sp.png');
    bottom: -90px;
    right: 35px;
  }*/
  #service .item-box .text-box.pc {
    display: none;
  }
  #service .item-box .text-box {
    height: auto;
	margin-top: 30px;
  }
  #service .text-box p {
    width: 100%;
    font-size: 2.2rem;
    line-height: 1.6;
    /*padding-top: 80px;*/
  }
}
/* =home company
-------------------------------------------------------------- */
#company h2{
	padding-top: 40px;
}

#company .item-container {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 0 20px;
　font-size: 1.6rem;
}
#company .item-box {
  border-top: 1px solid #fff;
}
@media screen and (max-width: 640px) {
  .common-home-list .item-box dt ,
  .common-home-list .item-box dd {
    padding-left: 0;
    font-size: 2.2rem;
    line-height: 1.4;
  }
  .common-home-list .item-box dt {
    width: 20%;
  }
  .sm_sp{
	font-size: 2.0rem;		
  }
}
/* =home access
-------------------------------------------------------------- */
#home-access #map-box {
  margin-top: 30px;
}
#home-access .item-box {
  margin-top: 20px;
}
#home-access .item-box .address {
  text-align: center;
  font-weight: 600;
  /*margin-bottom: 25px;*/
}
#home-access .item-box a {
  color: inherit;
  /*display: block;
  width: 356px;
  padding: 15px 0;
  margin: 0 auto;
  border: 2px solid #cdcdcd;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  
  text-decoration: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;*/
}
#home-access .item-box a:hover {
  background: #cdcdcd;
}
@media screen and (max-width: 640px) {
  #home-access #map-box {
    margin-top: 50px;
}
  #home-access .item-box {
    margin-top: 50px;
}
  #home-access #map-box iframe {
    height: 400px;
  }
  #home-access .item-box .address {
    font-size: 2.2rem;
    text-align: center;
    /*margin-bottom: 70px;*/
  }
  #home-access .item-box a {
    width: 420px;
    font-size: 2.4rem;
    border-radius: 70px;
  }

}

#news .item-box a {
    display: inline;
    width: auto;
    padding: 0;
    border: none;
    font-size: 1.4rem;
}



/* =form
-------------------------------------------------------------- */
#contact h2{
	padding-top: 40px;
}
#contact .item-box {
  margin-top: 0px;
}
#contact .text_form{
	margin-top: 60px;
	margin-bottom: 30px;
}
#contact .text_form_end{
	margin-top: 20px;
	text-align: left;
}
#contact .item-container {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 0 50px;
}
#contact .item-box {
  border-bottom: 1px solid #cccccc;
}
#contact .container-form{
  width: 1000px;
  margin: 0 auto;
}
#contact .form_body{
	/*width: 1000px;*/
	margin: 0 auto;
}
@media screen and (max-width: 640px) {
	#contact h2{
	padding-top: 0px;
}
	#contact .form_body{
	width: 540px;
	margin: 0 auto;
}
#contact .container-form{
  width: 640px;
  margin: 0 auto;
}
}
@media screen and (max-width: 640px) {
  .common-home-list .item-box dt ,
  .common-home-list .item-box dd {
    padding-left: 0;
    font-size: 2.4rem;
    line-height: 1.6;
  }
  .common-home-list .item-box dt {
    width: 35%;
  }
}

.sec_form{
	margin:80px 0px 0px;
	background: #f8f8f8;
}

.green{
	color:#e30000;
}

.form_bg{
	background: url(../img/bg/bg_form.jpg);
	background-size: cover;
	padding: 50px 0;
	color: #fff;
}

@media screen and (max-width: 640px) {
	.form_bg{
	background: url(../img/sp/bg/bg_form.jpg);
	background-size: cover;
	padding: 50px 0;
	color: #fff;
}
}

.form_content{
	width: 1200px;
	margin: 80px auto 0px;
	padding-bottom: 100px;
}

@media screen and (max-width: 640px) {
	.form_content{
	width: 640px;
	margin: 80px auto 0px;
	padding-bottom: 100px;
}
}

.form_text{
	border: solid 2px #ec9b00;
	border-radius: 5px;
	width: 900px;
	margin: 0 auto;
	padding: 20px 0;
	background: #fff;
}

@media screen and (max-width: 640px) {
	.form_text{
	border: solid 2px #ec9b00;
	border-radius: 5px;
	width: 600px;
	margin: 0 auto;
	padding: 20px 0;
	background: #fff;
}
}

.form_text_left{
	padding-top: 8px;
}

.form_tel{
	font-size: 2.0rem;
	padding-right: 10px;
}

@media screen and (max-width: 640px) {
	.form_tel{
	font-size: 2.2rem;
	padding-right: 10px;
}
	.form_text_left{
	font-size: 20px;
	line-height: 30px;
}
}

.form_ssl{
	margin: 20px;
}

.form_ssl p{
	display: inline-block;
    vertical-align: top;
    padding-top: 30px;
	margin-left:20px;
	border-bottom: solid #ec9b00;
	font-size: 1.2rem;
	font-weight: bold;
}

@media screen and (max-width: 640px) {
.form_ssl p{
	padding-top:10px;
}
}

.form_text_left{
	display: inline-block;
}

.tel_form{
	display: inline-block;
    width: 50%;
    vertical-align: top;
}
.form_table{
	width: 900px;
	margin: 50px auto;
}
.form_table th,.form_table td{
	text-align: left;
	padding-top: 20px;
}
.form_table th{
	width: 45%;
	border-bottom: 1px solid #888;
	vertical-align: top;
	padding-bottom: 20px;
}
.form_table td{
	width: 50%;
	padding-left: 40px
}
.form_table td label{
	padding-right: 30px;
	line-height: 30px;
}
.form_block{
	width: 98%;
	height: 50px;
	font-size: 16px;
	color: #888;
	border-radius: 3px;
	padding-left: 10px;
}
.form_text_area{
	width: 98%;
	height: 150px;
	font-size: 16px;
	color: #888;
	padding: 10px 0 0 10px;
	border-radius: 3px;
}
.btn-submit{
	background: #fff;
	border-radius: 10px;
	width: 300px;
	height: 52px;
	font-size: 14px;
	border: 2px solid #66bd9d;
	color: #66bd9d;
	transition: 0.5s ;
}
.btn-submit:hover{
	background: #66bd9d;
	border-radius: 10px;
	width: 300px;
	height: 52px;
	font-size: 14px;
	border: 2px solid #66bd9d;
	color: #fff;
	transition: 0.5s ;
}
.tel_form th {
	width: 60%;
}
.tel_form_tb{
	margin: 0 auto;
	padding-left: 5px;
	width: 480px;
	border-bottom:solid 1px #ec9b00;
}

.form_tel_text{
	font-size: 0.8rem;
    text-align: left;
    width: 35%;
    color: #303030;
}
.cv_btn{
	margin: 50px 0 100px;
}
@media screen and (max-width: 640px) {
.form_block{
	width: 98%;
	height: 100px;
	font-size: 18px;
	color: #888;
	border-radius: 3px;
	padding-left: 10px;
}
.btn-submit{
	background: #fff;
	border-radius: 10px;
	width: 360px;
	height: 72px;
	color: #fff;
	font-size: 18px;
	border: 2px solid #66bd9d;
	color: #66bd9d;
}
}


label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    cursor: pointer;
}
label.error {
    padding: 3px 8px 2px;
    color: #fff;
    cursor: default;
    background-color: #d20913;
}
label.error {
    padding: 3px 8px 2px;
    color: #fff;
    cursor: default;
    background-color: #d20913;
}

/* =thanks
-------------------------------------------------------------- */
#thanks {
	text-align: center;
	color:#111111;
	margin: 250px 0 300px;
}

#thanks .thx_h2 ,
#thanks .thx_txt {
	padding-bottom: 50px;
}

#thanks .return_btn{
	padding-top: 15px;
	padding-bottom: 15px;
	border-radius: 10px;
	width: 300px;
	font-size: 14px;
	background: #1f955b;
	margin: 0 auto;
	text-decoration: none;
}
.white{
	color:#fff;
}

/* =thanks
-------------------------------------------------------------- */


/* =validation
-------------------------------------------------------------- */
.with-validate {
    display: block;
    position: relative;
}

.with-validate label.error {
    display: inline-block;
    position: absolute;
    z-index: 5;
    left: -5px;
    bottom: 100%;
    margin-bottom: 10px;
    background: #c3272a;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
}

.with-validate label.error::before {
    content: "";
    background-color: transparent;
    position: absolute;
    top: 100%;
    margin: 0;
    left: 20px;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: #c3272a transparent transparent;
}

