* {
  margin: 0;
  padding: 0;
}

html,
body,
header,
main,
footer,
img {
  width: 100%;
}
a {
  font-size: 18px;
}
h3 {
  font-size: 20px;
  color: rgb(0, 0, 79);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}
header {
  margin: 0 auto 3%;
}
header > nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95%;
  margin: 5% auto 5px;
}
.header_company-logo {
  flex: 1;
  margin: -6% 1% -2% 1%;
  text-align: center;
}
.header_company-logo > a {
  text-decoration: none;
}
.header_nav-content {
  flex: 1;
  list-style: none;
  display: inline-block;
  text-align: center;
  position: relative;
}
.header_nav-content:not(:last-child) {
  border-right: 1px solid rgb(0, 0, 79);
}
.header_nav-content > a {
  text-decoration: none;
  color: rgb(0, 0, 79);
  display: block;
  width: 100%;
  height: 100%;
  padding: 10% 1%;
  transition: all 0.3s ease;
}
.header_nav-content > a:hover {
  background-color: rgb(217,243,252);
}
/* .header_nav-content > a:hover::after {
  content: "";
  position: absolute;
  top: 108%;
  left: 0;
  width: 101%;
  height: 10px;
  background-color: rgb(0, 0, 79);
} */
.header_top-img {
  width: 85%;
  margin: 0 auto;
}
.header_nav-line {
  width: 105%;
  height: 7px;
  margin: 0 0 2% -5%;
  background-color: rgb(217, 243, 252);
}

main {
  width: 70%;
  margin: 0 auto;
  min-height: 70vh;
}
.main_page-title {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5%;
}
.main_page-title > h3 {
  width: 30%;
  margin: 0 auto;
  border-bottom: 1px solid rgb(0, 0, 79);
}
.toppage-title > h3 {
  border-bottom: none;
}
.main_content > h3 {
  padding: 1%;
  border-left: 10px solid rgb(0, 0, 79);
  border-bottom: 1px solid rgb(0, 0, 79);
  margin: 5% 0;
  width: 55%;
  text-align: center;
}
.main_content > *:not(h3) {
  width: 90%;
  margin: 0 auto;
  background-color: rgb(217, 243, 252);
  padding: 3%;
}
.top_service-list {
  background-color: #fff !important;
}
.top_service-list-content {
  display: flex;
  list-style: none;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.top_service-list-content > * {
  padding: 5% 3%;
  flex: 1;
}
.top_service-list-content > img {
  width: 50%;
}
.top_service-list-content > h3 {
  background-color: rgb(217, 243, 252);
}




p.line{
  border-bottom: 8px #D9F3FC solid;
  position: relative;
  bottom: -50px;
}

footer > nav {
  width: 60%;
  margin: 3% auto;
  display: flex;
  justify-content: center;
}
footer > nav > a {
  color: rgb(0, 0, 79);
  flex: 1;
  padding: 3% 1%;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
footer > nav > a:hover {
  background-color: rgb(217,243,252);
}
footer > nav > a:not(:last-child) {
  border-right: 1px solid rgb(0, 0, 79);
}
/* ここからフッダー */
img.logo {
  width: 110;
  height: 110px;
  position: relative;
  top: -10px;
  }
img.phone {
  width: 25px;
  height: 25px;
  }
img.map{
  width: 300px;
  height: 178px;
}

  .foot-wrap {
    /* border-top: 6px #D9F3FC solid; */
    position: relative;
    top: 25px;
    bottom: 25px;
    max-width: 1200px;
    padding-top: 45px;
    margin-bottom: 20px;
  
  }

.foot-wrap .foot-left{
 
  display: flex;
  height: 270px;
}

.foot-wrap ul {
  list-style: none;
  padding: 0;
  /* line-height:40px; */
}
.info1 {
  margin-top: 10px;
  margin-bottom: 30px;
}
.info2 {
  background-image: linear-gradient(transparent 60%, #daebfb 50%);
  font-weight: bold;
  font-size: 21px;
  color: #666;
}

.foot-right {
  margin:auto 0 0 auto;
  position: relative;
  right: 35px;
  list-style: none;
  bottom: 20px;
}

.map{
  display: flex;
  flex-flow: column wrap;
  bottom: 20px;
  right: 8px
}

.phone{
  position: relative;
  top: 7px;
}

/* .number li:nth-of-type(1){
  font-size: 13px;
  position: relative;
  top: 10px;
} */

.number {
  position: relative;
  font-size: 28px;
}

.phone-info{
  flex: 1;
  display: flex;
}

p.line2{
  border-bottom: 5px #399DBC solid;
  position: relative;
  bottom: 5px;
}
.number {
  margin-left: 10px;

}

.map { 
  position: relative;
  top: 2px;
}


.campany-info {
  background-color: #399DBC !important;
  text-align: center;
  font-size: 12px;
  padding: 10px;

  
  /* padding: 20px, 0, 0, 0; */
}












@media screen and (max-width: 800px) {
  main {
    width: 85%;
  }
  h3 {
    font-size: 16px;
  }
  a {
    font-size: 14px;
  }
  .header_company-logo {
    margin-top: -3%;
  }
  .main_page-title > h3 {
    width: 63%;
  }
  .main_content > h3 {
    width: 90%;
  }
  footer > nav {
    width: 70%;
  }
}
