@charset "UTF-8";
@media screen and (min-width:0px) {
  body{
	  -webkit-font-feature-settings: "palt" 1;
	  font-feature-settings: "palt" 1;
	}
	
  img {
    width: 100%;
    height: auto;
  }
  .sp{display: block;}
  .pc{display: none;}
  .br_sp{display: inline-block;}
  
  .fadein {
    opacity: 0;
    transform : translate(0, 50px);
    transition : all 2000ms;
  }

  .fadein.scrollin{
    opacity: 1;
    transform: translate(0, 0);
  }
  
  #page_top{
    width: 100px;
    height: auto;
    position: fixed;
    right: 0;
    bottom: 20px;
    z-index: 50;
  }
  
  header{
    width: 100%;
    height: 75px;
    background-color: rgb(0,104,177);
    color: #fff;
    position: fixed;
    z-index: 100;
    border-bottom: solid 1px rgba(255,255,255,0.5);
  }
  header .wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  header h1{font-size: 15px;}
  header h1 img{
    max-width: 120px;
    margin-bottom: -7px;
  }
  header .nav_btn{
    width: 30px;
    height: 30px;
    position: relative;
  }
  header nav ul li{
    font-size: 16px;
    display: inline-block;
  }
  header nav ul li:last-child{
    margin: 0;
    border-radius: 3px;
    border: solid 1px #fff;
  }
  header nav ul li a{display: block;}
  header nav ul li:last-child a{padding: 12px 15px;  }
  header nav ul li:last-child i{margin-right: 0.5em;}

  header nav.sp{
    width: 100%;
    position: fixed;
    top:0;
    left: 0;
    z-index: 75;
    padding: 0 20px;
    margin: 75px 0 0;
    display: none;
    flex-wrap: wrap;
    flex-flow: column-reverse;
    justify-content: flex-end;
    align-content: space-between;
  }
  header nav.sp ul{
    display: grid;
    margin-top: 30px;
  }
  header nav.sp ul li{
    line-height: 66px;
    text-align: center;
    font-size: 2.1em;
    border-bottom: dashed 2px rgba(255,255,255,0.5);
  }

  header nav.sp ul li:last-child{border:none;}

  .nav_open {overflow-y: clip;}
  .nav_bg {
    opacity: 0;
    transition: all 0.75s;
    width: 100%;
    height: 100%;
    position: fixed;
    top:0;
    left: 0;
    padding: 0 20px;
    margin: 75px 0 0;
    z-index: -1;
    visibility: hidden;
    background: rgba(0,104,177,0.95);
    cursor: pointer;
  }
  .nav_open .nav_bg {
    opacity: 1;
    visibility: visible;
  }

  .hamburger_line{
    transition: all 0.6s;
    width: 30px;
    height: 3px;
    position: absolute;
    left: 0;
    transform: translateY(-50%);
    background-color: #000;
    display: block;
    background: #fff;
    border-radius: 1.5px;
  }

  .hamburger_line01{
    top: 25%;
  }

  .hamburger_line02{
    top: 50%;
  }

  .hamburger_line03{
    top: 75%;
  }

  .nav_open header nav.sp{
    display: flex;
  }
  .nav_open .nav_bg {
    opacity: 1;
    visibility: visible;
  }
  .nav_open .hamburger_line01 {
    transform: rotate(45deg);
    top: 50%;
  }
  .nav_open .hamburger_line02 {
    width: 0;
    left: 50%;
  }
  .nav_open .hamburger_line03 {
    transform: rotate(-45deg);
    top: 50%;
  }
   .wrap{
    width: 100%;
    height: 100%;
    max-width: 960px;
    padding: 0 20px;
    margin: 0 auto;
  }
  footer{
    background-color: rgb(0,104,177);
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    padding: 30px 0 0;
  }
  footer .wrap{
    display: block;
    padding: 0 20px;
    margin: 0 auto 40px;
    /*background-image: url("../images/common_footer_logo.png");
    background-repeat: no-repeat;
    background-position: 10% 0;
    background-size: 220px auto;*/
  }
  
  footer .logo{
    max-width: 220px;
    display: inline-block;
    margin-bottom: 30px;
  }
  
  footer .name{
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
  }
  footer .copy{text-align: center;}
}
@media screen and (min-width:560px) {
  .mv .wrap,
  .greeting .wrap{max-width: 640px;}
  header .wrap{max-width: none;}
}
@media screen and (min-width:1000px) {
    .sp{display: none;}
  .pc{display: block;}
  #page_top{width: 130px;}
  header nav{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  header nav ul li{
    font-size: 16px;
    display: inline-block;
    margin-right: 2em;
  }
  header nav ul li:last-child{
    margin: 0;
    border-radius: 3px;
    border: solid 1px #fff;
  }
  header nav ul li:last-child a{
    display: block;
    padding: 12px 15px;
  }
  .wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
  }
  footer{padding: 30px 0 0;}
  footer .logo{
    float: left;
    margin-right: 20px;
  }
  footer .wrap{
    /*padding: 0 0 0 300px;*/
    margin: 0 auto 80px;
  }
}