@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  color: #333; /* RGB */
  font-family: 'Noto Sans JP', "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  margin: 0;
}
h2 {
  font-family: 'Kiwi Maru', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: #004AB7;
}
a {
  text-decoration: none;
}
.common-a :hover {
  opacity: 0.5;
}
*, *:before, *:after {
  box-sizing: border-box;
}
/* header  */
.header {
  height: 80px;
  width: 100%;
  background-color: #000080;
}
.header h1 {
  color: #fff;
  text-align: left;
  padding-left: 24px;
  font-size: 2.4rem;
  line-height: 80px;
  margin: 0;
}
.header h1 a {
  color: #FFF;
  text-decoration: none;
}

/* navigation */
.open-button {
  display: none;
}
@media (max-width: 1080px) {
  .open-button {
    display: block;
    position: absolute;
    right: 10px;
    top: 18px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    z-index: 15000;
  }
  .open-button span {
    position: absolute;
    height: 3px;
    width: 30px;
    background: #fff;
    display: block;
    z-index: 100000;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }
  .open-button span:nth-child(1) {
    top: 10px;
  }
  .open-button span:nth-child(2) {
    top: 20px;
  }
  .open-button span:nth-child(3) {
    top: 30px;
  }
  /* ナビ開いてる時のボタン */
  .open-button.active {
    position: fixed;
  } 
  .open-button.active span:nth-child(1) {
    background-color: #333;
    top: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .open-button.active span:nth-child(2), .open-button.active span:nth-child(3) {
    background-color: #333;
    top: 16px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .header nav {
    display: block; /*blockで表示*/
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #FFF;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding-top: 50px;
    text-align: center;
    transform: translateX(-100%);
    transition: all 0.6s;
  }
  .guide {
    display: none;
  }
  .header nav ul {
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  .header nav ul li {
    border-bottom: solid 1px #5999E8;
    margin-bottom: 20px;
  }
  .header nav ul li a {
    font-size: 2.0rem;
    line-height: 40px;
    vertical-align: middle;
    text-decoration: none;
    color: #1C2469;
  }
  .header nav ul li a span {
    font-size: 1.6rem;
  }
 
  /* このクラスを、jQueryで付与・削除する */
  nav.header-nav.active {
    transform: translateX(0%);
  }
}
@media (min-width: 1080px) {
  .header {
    height: 120px;
  }
  .header-content-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
  }
  .header h1 {
    font-size: 3.2rem;
    line-height: 120px;
    position: absolute;
    left: 0;
    font-weight: 600;
  }
  .header nav {
    display: block;
    text-align: right;
  }
  .header nav ul {
    display: flex;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    height: 120px;
  }
  .header nav li {
    margin-left: 40px;
    list-style: none;
  }
  .services {
    display: none;
  }
  .header nav li a {
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    font-size: 2.4rem;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-align: left;
  }
   .header nav ul li a:hover {
  opacity: 0.5;
}
  .header nav li a:after {
    position: absolute;
    background-color: #FFF;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translate(-100%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
    content: "";
  }
  .header nav li a:hover:after {
    transform: translate(0, 0);
  }
}
/* footer */
.footer {
  padding: 40px 0 0 47px;
  background-color: #000080;
  color: #FFF;
  position: relative;
}
.footer-container {
  max-width: 375px;
  margin: 0 auto;
}
.footer__title {
  font-size: 2.4rem;
  padding-bottom: 45px;
  text-align: left;
}
.footer address {
  font-size: 2.0rem;
  font-style: normal;
  text-align: left;
  line-height: 3.0rem;
  margin-bottom: 30px;
}
.footer__sns {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 auto;
  padding-bottom: calc(1.6rem + 50px + 20px);
}
.footer__sns-instagram {
  width: 58px;
  height: 58px;
}
.footer__sns-facebook {
  width: 58px;
  height: 58px;
  margin-left: 30px;
}
.footer__link {
  display: none;
  list-style: none;
}
.footer__top-button {
  width: 40px;
  height: 40px;
  background-image: url("../image/top_button_sp.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: fixed;
  right: 5px;
  bottom: 5px;
  z-index: 9999;
}
.footer__copyright {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
}
@media (min-width: 1080px) {
  .footer {
    padding: 60px 0 80px;
  }
  .footer-container {
    text-align: center;
    max-width: 1080px;
  }
  .footer__title {
    font-size: 2.4rem;
    padding-bottom: 40px;
    text-align: left;
    margin: 0 auto;
    max-width: 25.5em; /*divは横いっぱいになるけどmax-widthを指定することで要素のサイズを決めることができる*/
  }
  .footer address {
    font-size: 2.4rem;
    font-style: normal;
    text-align: left;
    line-height: 3.5rem;
    margin: 0 auto 40px;
    max-width: 25.5em;
  }
  .footer__br-sp {
    display: none;
  }
  .fax {
    margin-left: 1em;
  }
  .footer__sns {
    display: none;
  }
  .footer__link {
    display: flex;
    justify-content: center;
    position: relative;
    font-size: 2.2rem;
  }
  .footer__link li {
    padding: 0 10px;
    border-left: 1px solid #fff;
  }
  .footer__link li:first-child {
    border: none;
  }
  /*ホバーした時のリンクの下線の色が白にならない→解決*/
  .footer__link li a {
    color: #FFF;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-size: 2.2rem;
    font-weight: 500;
    text-align: left;
  }
  .footer__link li a:hover {
    opacity: 0.5;
  }
  .footer__link li a:after {
    position: absolute;
    background-color: #FFF;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translate(-100%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
    content: "";
  }
  .footer__link li a:hover:after {
    transform: translate(0, 0);
  }
  .footer__top-button {
    width: 60px;
    height: 60px;
    background-image: url("../image/top_button.png");
  }
  .footer__copyright {
    font-size: 2.0rem;
    bottom: 20px;
  }
} /*footer*/