@charset "UTF-8";

body{
  margin:0;
  padding: 0;
  letter-spacing: 0.1em;
  font-family: sans-serif;
}

a{
  text-decoration: none;
}


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

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

img{
    width: 100%;
}



@media screen and (max-width: 1020px){


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

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






 /*------ヘッダ-----*/

 header{
  display: flex;
  justify-content: space-between;
  padding: 10px 0 5px;
 }

 header img{
  height: 70px;
  width: auto;
}
@media screen and (max-width: 600px){
  header img{height: 50px;}
}

@media screen and (max-width: 450px){
  header img{height: 40px;}
}



 /*------フッタ-----*/
 footer{
  background-color: #e6e6e6;
  padding: 80px 0;
  text-align: center;
  color: #006d9e;
 }

 .border{
  margin: 0 auto;
  width: 50%;
  border-top:solid 2px #006d9e;
}


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

 footer img{width: 90px;}

@media screen and (max-width: 767px){
  footer{
    padding: 50px 2px;
   }
 
}





 /*------背景-----*/

  .back_blue{
    background-color: #006d9e;
    padding: 80px 0;
   }

  @media screen and (max-width: 767px){
     .back_blue{
      padding: 50px 5%;
     }
   
  }








/*------お問い合わせ-----*/

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

tr {
	width: 100%;
}

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

th {
	width: 25%;
	vertical-align: middle;
}


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;
}

input.short {
  min-width: initial;
}

.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: rgb(212, 212, 212);
	text-align: center;
	color: rgb(39, 39, 39);
	height: 60px;
	line-height: 60px;
	display: block;
	width: 230px;
	margin: 40px auto;
	border: none;
	cursor: pointer;
}

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

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


@media screen and (max-width: 767px){

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

  table{
		margin: 30px 0;
    border-left: none;
	}

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

  th{
    background-color: #e9f3ff;
  }

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

  span{font-size: 8px;}


  #page_top{
    width: 80px;
    height: 80px;
    position: fixed;
    right: 0;
    bottom: 0;
    opacity: 0.6;
  }
  #page_top a{
    width: 80px;
    height: 80px;
    text-decoration: none;
  }
  #page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f139';
    font-size: 60px;
    color: #4e4e4e;
  }
}






.main{text-align: center;}

h1{font-size: 30px;
   color: #006d9e;
   margin-top: 100px;
}

.main p{margin: 80px 0 70px;}


.back_top{
  display: block;
  width: 250px;
  text-align: center;
  line-height: 70px;
  background-color: #006d9e;
  margin: 50px auto 0;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  transition: .4s;
}

.back_top:hover{
  background-color: #1c2a66;
}
