@charset "utf-8";

*{
  margin:0;
  padding:0;
  box-sizing: border-box;
  font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  color:rgb(50, 50, 50);
}
span{
  display:inline-block;
}
a{
  text-decoration:none;
}
.atag_reverse{
  text-decoration:underline;
}
.atag_reverse:hover{
  text-decoration:none;
}
ul{
  list-style:none;
}
body{
  background-image:linear-gradient(0deg, transparent calc(100% - 1px), #99ccff7e calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #99ccff91 calc(100% - 1px));
  background-size: 3px 3px;
}
header{
  display:block;
  text-align: center;
  border-bottom:solid 1px rgb(225, 225, 225);
  background-color:white;
  font-size:0;
}
.top_a{
  background-color:#3894cc;
}
.top_a p{
  width:100%;
  max-width:980px;
  margin:0 auto;
  padding:5px 0;
  font-size:12px;
  text-align: left;
  color:white;

}
.top_b{
  display:inline-block;
  width:100%;
  max-width:980px;
  height:75px;
  position:relative;
}
h1{
  display:inline-block;
  width:400px;
  position:absolute;
  top:10px;
  left:0;
}
.top_b .right{
  display:inline-block;
  text-align:right;
  width:400px;
  position:absolute;
  top:10px;
  right:0;
  padding-right:15px;
}
.tel{
  font-weight:bold;
  color:#3894cc;
  font-size:22px;
  vertical-align: middle;
  letter-spacing:1px;
}
.tel img{
  margin-right:15px;
}

.address{
  font-size:12px;
}
main{
  display:block;
  width:100%;
  max-width:980px;
  height:2150px;
  margin:0 auto;
  background-color:white;
  position:relative;
}
.menutgr{
  display:none;
}
#nav{
  position:absolute;
  top:0;
  left:0;
}
#nav li{
  border-bottom:solid 1px rgb(225, 225, 225);
}
#nav a{
  display:inline-block;
  width:245px;
  line-height:60px;
  padding-right:15px;
  text-align:right;
}
#nav a:hover{
  border-right:solid 4px #3894cc;
  border-radius:2px;

}
.main{
  position:absolute;
  top:0;
  left:250px;
  width:calc(100% - 250px);
}
.company{
  display:inline-block;
  text-align:center;
  position:absolute;
  top:500px;
  left:0;
  width:235px;
  margin:0 5px;
  padding:10px 5px;
  text-wrap:wrap;
  background-color:#dcf2ff;
  border:solid 1px #0b7dc4;
  border-radius:5px;
}
.company p{
  margin:15px;
}
h2{
  width:100%;
  background-image:url(../internet/img/bgtree.png);
  background-size:100%;
  background-repeat:no-repeat;
  aspect-ratio: 730/111;
  padding-left:50px;
  color:white;
  font-weight: normal;
  display:flex;
  justify-content: left;
  align-items: center;
}
footer{
  display:block;
  height:100px;
  margin:0 auto;
  background-color:#3894cc;
  padding-top:20px;
}
footer p{
  text-align:center;
  background-color:white;
}
h2 img{
  width:100%;
  padding:0 10px;
}
h3{
  display:inline-block;
  margin:25px;
  margin-bottom:0;
  font-size:18px;
  color:#0e7bbf;
  padding-right:15px;
}
h4{
  display:inline-block;
  margin:25px;
  margin-bottom:0;
  font-size:18px;
  color:#3894ce;
  padding-right:15px;
  width:calc(100% - 50px);
}
h5{
  display:inline-block;
  margin:25px;
  margin-bottom:10px;
  font-size:16px;
  color:#3894ce;
  padding-right:15px;
  width:calc(100% - 50px);
}
h6{
  display:inline-block;
  margin:0 25px;
  font-size:16px;
  color:rgb(50, 50, 50);
  padding-right:15px;
  width:calc(100% - 50px);
  font-weight:normal;
  border-bottom:dotted 3px #3894ce;
}
.erea{
  margin:0 25px;
}
.tip{
  color:#0e7bbf;
  margin:0 25px;
}
table{
  border-collapse:collapse;
  margin:0 25px;
  width:calc(100% - 50px);
}
th,td{
  border:solid 1px black;
  padding:5px;
}
.th1{
  width:22%;
}
.th2{
  width:39%;
}
tr td:first-child{
  text-align: center;
}
td div{
  margin-top:25px;
}
.gakuwari{
  font-size:12px;
}
.anser{
  margin-top:15px;
  margin-left:50px;
  margin-bottom:25px;
  width:calc(100% - 75px);
}

.red{
  color:red;
}
.bold{
  font-weight:bold;
}
.flex{
  display:flex;
}
.title{
  width:100%;
  font-size:22px;
  margin-bottom:15px;
  color:#008000;
}
.collabo_img{
  display:inline-block;
  margin:25px;
  margin-bottom:0;
  max-width:calc(100% - 50px);
}
.main p{
  margin:0 25px;
}
.blank{
  margin-top:50px;
}
.margin_left{
  margin-left:25px;
}
@media screen and (max-width:916px){
  #menutgr{
    font-size:0;
  }
  #menutgr{
    display:block;
    width:100%;
    height:50px;
    background-color:#3894cc;
    text-align:right;
  }
  #menubtn{
    display:inline-block;
    width:50px;
    height:50px;
    position:relative;
  }
  #menubtn span{
    display:block;
    width:36px;
    height:5px;
    background-color:white;
    position:absolute;
    top:0;
    right:15px;
    border-radius:2px;
  }
  #menubtn span:first-child{
    top:9px;
  }
  #menubtn span:nth-child(2){
    top:22px;
  }
  #menubtn span:nth-child(3){
    top:35px;
  }
  .none{
    display:none;
  }
  #nav{
    position:static;
    text-align:center;
  }
  #nav a{
    width:100%;
    text-align:center;
  }
  .top_a p{
    padding-left:20px;
  }
  h1{
    width:45%;
  }
  .h1 img{
    width:100%;
  }
  
  .tel{
    font-size:20px;
  }
  main{
    height:auto;
    padding-bottom:20px;
  }
  .main{
    position:static;
    width:100%;
  }
  h3{
    font-size:26px;
  }
  .company{
    position:static;
    width:50vw;
    margin:15px 25vw;
  }
}
@media screen and (max-width:560px){
  header{
    padding-bottom:10px;
  }
  h1{
    width:100%;
    position:static;
    margin:15px auto;
  }
  .top_b .right{
    position:static;
  }
}