@charset "UTF-8";
*{
  color: #333;
}

a{
	text-decoration: none;
  color: #005243;
}

a:hover{
  transition: all .3s;
  color: #00a497;
  text-shadow: 1px 1px 1px #2f4f4f;

}

.wrapper{
  width: 100%;
  max-width: 1920px;
  margin: auto;
  background: url("../images/back_img.png") fixed;
}

header,
.header_inner,
footer{
  background: #eee8aa;
}

header{
  width: 100%;
  max-width: inherit;
  position: fixed;
  /*height: auto;*/
}

.header_inner{
  width: 100%;
  padding: 1.5em;
  display: flex;
  justify-content: space-between;
}

.header_left{
  flex-basis: 20%;
}

h1 a img{
  width: 16vw;
  height:auto;
}

.header_right{
  flex-basis: 80%;
}

.sns{
  text-align: right;
  padding-bottom: 1em;
}

.sns img{
  width: 2.5em;
}

.sns a{
  margin-left: 1em;
}

#nav-toggle {
  display: none;
}

.global_navi ul{
  display: flex;
  justify-content: flex-end;

}

.global_navi li+li{
  padding-left: 2vw;
}

.contents{
  padding: 0 5%;
}

h2{
  font-size: 1.8em;
}

h3{
  font-size: 1.5em;
}

h4{
  font-size: 1.2em;
}

.eye_catch img{
  width: 100%;
  object-fit: cover;
}

footer{
  text-align: center;
  padding: 1.5em 0;
}

.footer_logo{
  display: none;
}

.footer_navi ul{
  display: flex;
  justify-content: center;
}

.footer_navi li+li::before{
  content: "　|　";
}

footer p{
  padding-top: 1em;
}

footer p small{
  font-size: 0.8em;
}

footer p small br{
  display: none;
}

/*カレントページのリンクの設定*/
#page_home .nav1,
#page_service .nav2,
#page_guideline .nav3,
#page_access .nav4,
#page_query .nav5,
#page_sitemap .nav6{
  color: #00a497;
text-shadow: 1px 1px 1px #2f4f4f;
}





@media screen and (max-width:640px){
  header{
    /*height: /*5emauto;*/
    padding: 1em 2%;
  }

  .header_inner{
    padding: 0;
  }

  h1 a img{
    width: /*28vw*/100%;
  }

  .header_left{
    flex-basis: 35%;
  }

  .header_right{
    display: flex;
    flex-basis: 60%;
    justify-content: flex-end;
  }

  .sns{
    display: flex;
    padding-bottom: 0;
    justify-content: flex-end;
    align-items: flex-start;
    }

  .sns img{
    width: 8vw;
  }

  /*ハンバーガーボタン*/
  #mobile-head {
    display: inline-block;
    width: /*20%*//*100*/30%;
    height: /*56px:*//*3em*/auto;
    z-index: 999;
    position: relative;
    /*margin-left: 0.5em;*/
  }

  .global_navi {
   position: absolute;
   /* 開いてないときは画面外に配置 */
   top: -500px;
   right: 0;
   background: rgba(0,0,0,0.5);
   width: 100%;
   text-align: center;
   padding: 10px 0;
   transition: .5s ease-in-out;
  }

  .global_navi ul {
   display: block;
   position: static;
   right: 0;
   bottom: 0;
   font-size: 14px;
   line-height: 2em;
  }

 .global_navi ul li {
   display: block;
   position: static;
   /*padding-right: 2em;*/
  }

 .global_navi ul li a{
   width: 100%;
   display: block;
   color: #fff;
   padding: 1em 0;
  }

 .global_navi li+li::before{
   display: none;
  }

 /*ハンバーガーボタン*/
 #nav-toggle {
   display: inline-block;
   position: absolute;
   top: 0;
   right: /*5vw*/0;
   width: /*34px*/8vw;
   height: 36px;
   cursor: pointer;
   z-index: 101;
   margin: /*auto*/0 1em 1em;
  }

 #nav-toggle div {
   position: relative;
  }

 #nav-toggle span {
   display: block;
   position: absolute;
   height: 4px;
   width: 100%;
   background: #333;
   left: 50%;
   text-align: right;
   transition: .35s ease-in-out;
  }

 #nav-toggle span:nth-child(1) {
   top: 0;
   left: 0;
 }

 #nav-toggle span:nth-child(2) {
   top: /*11px*/3vw;
   left: 0;
 }

 #nav-toggle span:nth-child(3) {
   top: /*22px*/6vw;
   left: 0;
 }

 /* #nav-toggle 切り替えアニメーション */
 .open #nav-toggle span:nth-child(1) {
     top: 11px;
     transform: rotate(135deg);
 }

 .open #nav-toggle span:nth-child(2) {
     width: 0;
     left: 50%;
 }

 .open #nav-toggle span:nth-child(3) {
   top: 11px;
   transform: rotate(-135deg);
 }

 /* #global-nav スライドアニメーション */
 .open .global_navi {
   transform: translateY(580px);
 }

 .contents{
   padding: 0;
 }

 .footer_logo{
   display: block;
   text-align: center;
 }

 .footer_logo img{
   width: 30vw;
 }

 .footer_navi{
   display: none;
 }

 footer p small br{
   display: inline;
 }
}


@media screen and (min-width:1920px){
  .wrapper{
    position: relative;
  }

  .header_inner{
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
  }
}
