@charset "UTF-8";
 /*------背景-----*/
.box{
    max-width: 980px;
    margin: 0 auto;
}

@media screen and (max-width: 1020px){
  .box{
    padding:0 5%;
  }
}
 .back{
   background: url(../img/back-15.png) no-repeat center center / cover;
 }
.back_gray{
   background-color: #F5F5F5;
   margin: 150px 0 80px;
   padding: 80px 0 150px;
  }

  .back_gray2{
    background-color: #F5F5F5;
    margin: 150px 0 0;
    padding: 80px 0 150px;
   }

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

  @media screen and (max-width: 767px){
    .back_gray{
      margin: 80px 0 50px;
      padding: 50px 0 80px;
     }

     .back_gray2{
      margin: 80px 0 0;
      padding: 50px 0 80px;
     }

     .back_blue{
      background-color: #4363AC;
  
      padding: 50px 0;
     }
   
  }




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

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

tr {
	width: 100%;
}

th, td {
	border-top: 1px solid #4363AC;
	border-right: 1px solid #4363AC;
  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.con_span{
  font-size: 12px;
  font-weight: bold;
  padding:3px 3px 4px 4px;
  background-color: red;
  color:rgb(255, 255, 255);
}

/* Rollover */
.rollover {
  margin-top: 150px;
  position: relative;
}
.rollover img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 50%;
	display: block;
	transition: 0.7s;
}
.rollover:hover img:nth-of-type(2) {
	opacity: 0;
}

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


  .rollover {
    margin-top: 70px;
  }

  .rollover img {
    width: 80%;
  }

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