@charset "UTF-8";

*{box-sizing: border-box;}

body{
  margin:0 auto;
  padding: 0;
  letter-spacing: 0.1em;
  color:rgb(59, 59, 59);
  font-weight: normal;
}

a{
  text-decoration: none;
}


p{
  font-size: 16px;
  line-height: 2;
}

.box{
    max-width: 980px;
    margin: 0 auto;
}

img{
    width: 100%;
}

.inner{
  max-width: 980px;
  margin: 0 auto;
}


@media screen and (max-width: 1000px){
  .inner{padding:0 3%;}
}

@media screen and (max-width: 767px){
  p{
    font-size: 14px;
    line-height: 1.6;
  }
}


@media screen and (max-width: 450px){
  p{
    font-size: 12px;
    line-height: 1.6;
  }
}




/*--ヘッダー--*/
header{
  display: flex;
  justify-content: space-between;
  background-color: #0073bb;
}

.logo{
  width: 200px;
  padding: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.logo:hover{opacity: 0.7;}

.contact-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  width:30%;
  background-color: #4c4948;
  color: #fff;
  font-size: 24px;
  transition: 0.3s;
  cursor: pointer;
}

.contact-btn:hover{background-color: #000;}

.contact-btn img{
  width: 50px;
  height: 35px;
  margin-right: 10px;
}



@media screen and (max-width: 767px){
  .logo{
    width: 20%;
    margin: 0 auto;
  }
  .contact-btn{
    width:50%;
    font-size: 18px;
  }
  .contact-btn img{
    width: 40px;
    height: 25px;
  }
}

@media screen and (max-width: 450px){
  header{align-items: center;}
  .logo{width: 40%;}
  .contact-btn{
    height: 100px;
    font-size: 14px;
  }
  .contact-btn img{
    width: 30px;
    height: 20px;
    margin-right: 5px;
  }
}


/*------メインビジュアル-----*/
.mv{
  height: 600px;
  background: url(../img/mv.png) no-repeat center center / cover;
  margin-bottom: 90px;
}

.banner{
  cursor: pointer;
  transition: 0.3s;
}

.banner:hover{opacity: 0.7;}

video{
  width: 100%;
  height: auto;
  margin: 100px auto;
  border: 1px solid #a8a8a8;
}


.sv{
  height: 400px;
  position: relative;
}

.sv{
  height: 400px;
  max-width: 100%;
  position: relative;
}

.sv h2{
  font-size: 50px;
  letter-spacing: 0.15em;
  font-weight: normal;
  color:#fff;
  text-align: center;
  position: absolute;
  top: 35%; 
  left: 50%; 
  width: 100%;
  transform: translateY(-50%) translateX(-50%); 
  -webkit-transform: translateY(-50%) translateX(-50%);
}

.contact{background: url(../img/contact.png) no-repeat center center / cover;}
.privacy{background: url(../img/privacy.png) no-repeat center center / cover;}



@media screen and (max-width: 767px){
  .mv{height: 350px;}
  video{margin: 70px auto;}
  .sv{
    height: 250px;
    margin-bottom: 80px;
  }
  .sv h2{font-size: 40px;}
}

@media screen and (max-width: 400px){
  .mv{height: 250px;}
  video{margin: 50px auto;}
  .sv h2{font-size: 30px;}
}




/*------工場見学-----*/
h1{
  background-color: #0073bb;
  padding:15px;
  color:#fff;
  text-align: center;
  margin:50px auto 100px;
  font-size: 30px;
  font-weight: normal;
}

iframe{
  margin: 50px auto;
  width: 100%;
  height: 500px;
}

@media screen and (max-width: 767px){
  h1{
    font-size: 20px;
    margin:30px auto 60px;
  }
  iframe{
    height: 300px;
  }
}
@media screen and (max-width: 400px){
  h1{margin:10px auto 30px;}
  iframe{
  margin: 30px auto;
  height: 300px;
}
}








/*------お問い合わせ-----*/
h4{
  background-color: #4c4948;
  padding:15px;
  color:#fff;
  text-align: center;
  margin:120px auto 40px;
  font-size: 25px;
  font-weight: normal;
}

.tel{text-align: center;}
.tel h2{
  color: #0073bb;
  font-size: 40px;
  font-weight: normal;
  margin-bottom: 10px;
}
.tel p{line-height: 1;}

table {
	width: 100%;
  text-align: left;
	font-size: 16px;
	line-height: 1.5;
	border-left: 1px solid #0073bb;
	border-bottom: 1px solid #0073bb;	
}

tr {
	width: 100%;
}

th, td {
	border-top: 1px solid #0073bb;
	border-right: 1px solid #0073bb;
  background-color: #fff;
	padding: 1.5em;
  box-sizing: border-box;
  font-weight: normal;
}

th {
	width: 25%;
	vertical-align: middle;
  background-color: #e9f1ff;
}


td p{
  line-height: 1.5;
  margin: 10px 0 0;
}


input[type='text'], textarea {
	min-width: 97%;
	padding: 0.5em;
	font-size: 16px;
	background-color: #fff;
	border: 1px solid #a5a5a5;
	border-radius: 5px;
}



.mb1em{
  margin: 15px 0;
}


textarea {
  min-width: 97%;
	min-height: 120px;
	line-height: 1.5;
}

.submit-btn {
	font-size: 16px;
  font-weight: bold;
	background-color: #6fba2c;
	text-align: center;
	color: rgb(255, 255, 255);
	height: 60px;
	line-height: 60px;
	display: block;
	width: 230px;
	margin: 40px auto;
	border: none;
	cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
	background-color: #0073bb;
}

span{
  font-size: 12px;
  font-weight: bold;
  padding:3px 3px 4px 4px;
  background-color: rgb(219, 32, 32);
  color:rgb(255, 255, 255);
}

.check {
  font-size: 14px;
  text-align: center;
  margin: 50px auto;
}

.check a{text-decoration:underline;}



@media screen and (max-width: 767px){
  h4{
    font-size: 20px;
    margin:80px auto 30px;
  }
  .tel h2{
    font-size: 30px;
  }

  .back_blue .box{
    margin: 0;
    padding: 0;
    width: 100%;
  }

  table{
		margin: 30px 0;
	}

  th, td {
		display: block;
		width: 100%;
		font-size: 13px;
		padding: 1.2em 0.8em;
	}

	.submit-btn {
		font-size: 18px;
		height: 60px;
		line-height: 50px;
		width: 50%;
    margin-bottom: 80px;
	}

  span{font-size: 8px;}
}


@media screen and (max-width: 400px){
  h4{margin:60px auto 20px;}
  .tel h2{font-size: 24px;}
}





/*------プライバシーポリシー-----*/
.left{
  margin-bottom: 30px;
}

.box{
  padding:5px 20px;
  margin: -10px auto 20px;
  border: 1px solid #000;
}






/*------フッター-----*/
footer{
  background-color: #0073bb;
  margin-top: 100px;
  padding-top: 30px;
}

.company{
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content:center;
  align-items: center;
}

.company img{
  width: 30%;
  margin-right: 50px;
}

.about{
  color:#fff;
}

h3{
  margin: 0;
  line-height: 1;
  font-size: 24px;
}

.about p{
  line-height: 1.5;
}

.f-contact-btn{
  display: inline-block;
  text-align: center;
  width:100%;
  line-height: 2.5;
  border-radius: 5px;
  background-color: #f2f2f2;
  color: #0073bb;
  font-size: 24px;
  transition: 0.3s;
  cursor: pointer;
}

.f-contact-btn:hover{background-color: rgb(49, 49, 49); color:#fff;}

.copylight{
  background-color: #4c4948;
  color: #fff;
  text-align: center;
  line-height: 2.5;
  font-size: 12px;
  font-weight: normal;
  margin-top: 30px;
  margin-bottom: 0;
}

@media screen and (max-width: 600px){
  footer{margin-top: 40px;}
  .company{
    display: block; 
    text-align:center;}
  .company img{
    width: 30%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .f-contact-btn{
    font-size: 20px;
    width: 80%;
    display: inline-block;
  }
  .copylight{font-size: 8px;}
}

@media screen and (max-width: 600px){
.about p{font-size: 10px; }
}


/*------サンクス-----*/
h5{
  font-size: 40px;
  color: #0073bb;
  margin: 150px auto 50px;
  text-align: center;
}

.center{text-align: center;}

.back_top{
  display: block;
  text-align: center;
  margin: 50px auto;
  width:280px;
  line-height: 3;
  border-radius: 5px;
  background-color: #0073bb;
  color: rgb(255, 255, 255);
  font-size: 20px;
  transition: 0.3s;
  cursor: pointer;
}