body {
  display: none;
}
img {
  width: 100%;
}
ul {
  list-style: none;
}
p {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1E415E;
}
h1, h2, h3, h4, h5 {
  font-family: 'Noto Serif JP', serif;
  color: #1E415E;
}
.ym {
  font-family: 'Noto Serif JP', serif;
}
a {
  text-decoration: none;
  color: #1E415E;
}
.button {
  border: solid 1px #1E415E;
  border-radius: 100px;
  padding-top: min(0.8vw, 15px);
  padding-bottom: min(0.8vw, 15px);
  padding-right: min(1.5vw, 30px);
  padding-left: min(1.5vw, 30px);
  position: relative;
  transition: 0.5s;
}
/*トップ*/
.headerWrapper .logo {
  width: 12%;
  max-width: 50px;
}
.headerWrapper {
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}
.header__nav {
  justify-content: flex-end;
}
.headerTitleWrapper {
  width: 30%;
  align-items: center;
  display: flex;
}
.headerTitleWrapper .ttl {
  margin-left: 10%;
}
.headerTitleWrapper p, .header__nav p {
  font-size: min(1.6vw, 24px);
  white-space: nowrap;
}
.header__nav {
  width: 35%;
  align-items: center;
}
.header__nav .nav {
  margin-right: 10%;
}
.nav__items.nav-items {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: 400;
}
.footerWrapper .button a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.topImage {
  width: 80%;
  margin: 0 0 0 auto;
}
.relative {
  position: relative;
}
.title {
  position: absolute;
  top: 50%;
  left: -15%;
  transform: translate(0, -50%);
}
.title h1 {
  font-size: min(3.8vw, 60px);
  letter-spacing: 0.05em;
  line-height: min(6.1vw, 96px);
}
.title h2 {
  font-size: min(1.8vw, 30px);
  margin-top: min(1.5vw, 30px);
}
/*お問い合わせ*/
#Inquiry .inquiryButton {
  border: solid 1px #1E415E;
  border-radius: 100px;
  width: 27%;
  max-width: 500px;
  padding-top: min(2.9vw, 51px);
  padding-bottom: min(2.9vw, 51px);
  color: #1E415E;
  margin: 0 auto;
  transition: 0.5s;
}
.InquiryWrapper {
  background-image: url("../img/InquiryBG.png");
  background-size: cover;
  padding-bottom: min(7.8vw, 145px);
}
.InquiryWrapper h3 {
  font-size: min(52px, 2.82vw);
  margin-bottom: min(4.25vw, 90px);
  padding-top: min(7.8vw, 145px);
  text-align: center;
}
.InquiryWrapper p {
  width: 75%;
  margin: 0 auto;
  text-align: center;
  font-size: min(23.2px, 1.25vw);
  line-height: min(45px, 2.5vw);
  margin-bottom: min(4.8vw, 90px);
}
#Inquiry .inquiryButton p {
  color: #1E415E;
  font-size: min(32px, 1.8vw);
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  margin-bottom: 0;
}
.footerWrapper {
  width: 90%;
  margin: 0 auto;
  padding-top: 40px;
}
.footerLogoWrapper .logo {
  width: 63.5%;
  max-width: 50px;
}
.footerNaviWrapper {
  width: 35%;
  align-items: center;
  display: flex;
  justify-content: flex-end;
}
.footerFlex {
  display: flex;
  justify-content: space-between;
  padding-bottom: min(10.1vw, 188px);
}
.footerNaviWrapper .nav {
  margin-right: 10%;
}
.footerNaviWrapper p {
  font-size: min(1.6vw, 24px);
  white-space: nowrap;
}
.footerNaviWrapper .button p {
  font-size: min(1.2vw, 20px);
}
.copyright p {
  text-align: center;
  margin-bottom: min(40px, 3vw);
  font-size: min(19px, 1vw);
}
.header__hamburger.hamburger {
  display: none;
}
.button.nav-items__item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.header__nav .button {
  position: relative;
}
.button.nav-items__item p {
  font-size: min(1.2vw, 18px);
}
#Inquiry .inquiryButton a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#Inquiry .inquiryButton {
  position: relative;
}
@media not screen and (min-width:767px) {
  .header__hamburger.hamburger {
    display: initial;
  }
  a {
    text-decoration: none;
  }
  ul, li {
    list-style: none;
  }
  main {
    background-color: #f1f1f1;
    height: 800px;
    display: flex;
  }
  a.currentLocation {
    opacity: 0.5;
  }
  .main {
    margin: auto;
  }
  .footer {
    background-color: #f6f6f6;
    height: 200px;
    display: flex;
  }
  .footer div {
    margin: auto;
  }
  /* ヘッダー */
  .header {
    background-color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
  }
  /* ヘッダーのロゴ部分 */
  .header__title {
    width: 80px;
  }
  @media screen and (min-width: 767px) {
    .header__title {
      width: 120px;
    }
  }
  .header__title img {
    display: block;
    width: 100%;
    height: 100%;
  }
  /* ヘッダーのナビ部分 */
  .header__nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    transform: translateX(100%);
    background-color: #fff;
    transition: ease .4s;
  }
  @media screen and (min-width: 767px) {
    .header__nav {
      position: static;
      transform: initial;
      background-color: inherit;
      height: inherit;
      display: flex;
      justify-content: end;
      width: 50%;
    }
  }
  @media screen and (min-width: 767px) {
    .nav__items {
      width: 100%;
      display: flex;
      align-items: center;
      height: initial;
      justify-content: space-between;
    }
  }
  .nav-items {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
  }
  @media screen and (min-width: 767px) {
    .nav-items {
      position: inherit;
      top: 0;
      left: 0;
      transform: translate(0, 0);
    }
  }
  /* ナビのリンク */
  .nav-items__item a {
    color: #1E415E;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 20px;
    margin-bottom: 24px;
  }
  .nav-items__item:last-child a {
    margin-bottom: 0;
  }
  @media screen and (min-width: 767px) {
    .nav-items__item a {
      margin-bottom: 0;
    }
  }
  /* ハンバーガーメニュー */
  .hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
  }
  @media screen and (min-width: 767px) {
    .hamburger {
      display: none;
    }
  }
  @media not screen and (min-width:767px) {
    .nav__items.nav-items {
      display: block;
    }
    .header__nav .nav {
      margin-right: 0%;
    }
    .nav-items__item a {
      color: #1E415E;
      font-size: min(26px, 4.8vw);
      margin-bottom: min(66px, 12vw);
    }
    .nav-items__item.button p {
      color: #1E415E;
      font-size: min(21px, 3.84vw);
      margin-bottom: 0;
    }
    .button {
      padding-top: min(23px, 4.2vw);
      padding-bottom: min(23px, 4.2vw);
      padding-left: min(46px, 8.4vw);
      padding-right: min(46px, 8.4vw);
      position: relative;
    }
  }
  /* ハンバーガーメニューの線 */
  .hamburger span {
    width: 100%;
    height: 1px;
    background-color: #1E415E;
    position: relative;
    transition: ease .4s;
    display: block;
  }
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  .hamburger span:nth-child(3) {
    top: 0;
  }
  /* ハンバーガーメニュークリック後のスタイル */
  .header__nav.active {
    transform: translateX(-5%);
  }
  .hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
    left: 6px;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: -13px;
    width: 24px;
    transform: rotate(-45deg);
    left: -6px;
  }
  .headerWrapper {
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
    background-color: #ffffff;
  }
  .headerTitleWrapper {
    width: 65%;
  }
  .headerTitleWrapper p, .header__nav p {
    font-size: min(3.5vw, 17px);
  }
  .headerWrapper .logo {
    width: 10%;
    max-width: 28px;
    margin-right: max(3vw, 12px);
  }
  .headerTitleWrapper .ttl {
    margin-left: 0%;
  }
  .hamburger span:nth-child(1) {
    width: 24px;
    height: 1px;
  }
  .hamburger span:nth-child(2) {
    width: 18px;
    height: 1px;
    margin-left: 6px;
  }
  .hamburger span:nth-child(3) {
    width: 12px;
    height: 1px;
    margin-left: 12px;
  }
}
@media not screen and (min-width:767px) {
  .InquiryWrapper h3 {
    font-size: min(6.7vw, 36px);
    padding-top: min(17vw, 93.5px);
    margin-bottom: min(8.4vw, 48px);
  }
  .InquiryWrapper p {
    width: 90%;
    font-size: min(3.8vw, 20px);
    line-height: min(35.6px, 6.76vw);
    margin-bottom: min(66px, 12vw);
  }
  #Inquiry .inquiryButton {
    border: solid 1px #1E415E;
    border-radius: 100px;
    width: 60%;
    color: #1E415E;
    margin: 0 auto;
    padding-top: min(5.12vw, 28px);
    padding-bottom: min(5.12vw, 28px);
    max-width: 300px;
  }
  #Inquiry .inquiryButton p {
    font-size: min(4.8vw, 25px);
  }
  .InquiryWrapper {
    background-image: url(../img/InquiryBGSP.png);
    background-size: cover;
    padding-bottom: min(27vw, 150px);
  }
  /*フッター*/
  .footerWrapper {
    padding-top: min(13.5vw, 75px);
  }
  .footerFlex {
    display: block;
    padding-bottom: min(110px, 20vw);
    font-weight: 700;
  }
  .footerLogoWrapper .logo {
    width: 6.5%;
    max-width: 28px;
  }
  .footerName {
    margin-left: -3px;
    font-size: min(3.5vw, 17px);
    margin-top: min(4vw, 22px);
  }
  .footerNaviWrapper {
    width: 100%;
    display: block;
    margin-top: min(103px, 18.8vw);
  }
  .footerNaviWrapper .nav {
    margin-left: -3px;
  }
  .footerNaviWrapper p {
    white-space: nowrap;
    font-size: min(3.8vw, 20px);
  }
  .SPSecondNav {
    margin-top: min(38px, 7vw);
  }
  .footerNaviWrapper {
    position: relative;
  }
  .footerNaviWrapper .button {
    border: solid 1px #1E415E;
    border-radius: 100px;
    padding-top: min(4vw, 28px);
    padding-bottom: min(4vw, 28px);
    padding-right: min(1.5vw, 30px);
    padding-left: min(1.5vw, 30px);
    position: absolute;
    top: 0;
    right: 0;
    max-width: 280px;
    width: 47.4%;
    text-align: center;
  }
  .footerNaviWrapper .button p {
    font-size: min(3.8vw, 20px);
  }
  .copyright p {
    font-size: min(3.5vw, 16px);
    margin-bottom: min(38px, 7vw);
  }
  .button {
    padding-top: min(23px, 4.2vw);
    padding-bottom: min(23px, 4.2vw);
    padding-left: min(46px, 8.4vw);
    padding-right: min(46px, 8.4vw);
  }
}
@media not screen and (min-width:767px) {
  .SPnone {
    display: none;
  }
}
@media screen and (min-width:767px) {
  .PCnone {
    display: none;
  }
}
/*アニメーション関係*/
@media screen and (min-width:767px) {
.button {
  transition: 0.5s;
}
.button:hover {
  background: #1E415E;
}
.turnColor.buttonText {
  color: #ffffff;
}
#Inquiry .inquiryButton {
  transition: 0.5s;
}
.inquiryButton:hover {
  background: #1E415E;
}
#Inquiry .inquiryButtonText.turnColor {
  color: #ffffff;
}
}
@media not screen and (min-width:767px) {
body.active {
  position: fixed;
  /*奥行きを管理*/
  z-index: -1;
  /*下2つで背景を元のサイズのまま表示することができる*/
  width: 100%;
  height: 100%;
}
}