@charset "utf-8";
/*
  CSS のみのドロップダウンメニュー
  Copyright Rectus Inc, 2019
  https://www.rectus.co.jp/
  Released under the MIT license
 */



/*-------------------------------------------
Header
-------------------------------------------*/
#header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
#header .logo {
  max-width: 200px;
  max-height: 76px;
  line-height: 1;
  padding-top: 4px;
}

h1.logo {
margin: 0;
padding: 0;
line-height: 1.0;
}
#header .logo a {
  display: block;
}
#header .navi .menu {
  display: flex;
  align-items: center;
  font-size: 16px;
}
#header .navi .menu > li {
  margin-left: 40px;
}
#header .navi .menu .menu-first {
  position: relative;
}
#header .navi .menu .menu-first span {
  cursor: pointer;
}
#header .navi .menu .menu-first span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: solid 1px #1f1f1f;
  border-right: solid 1px #1f1f1f;
  margin: 0 auto;
  transform: rotate(135deg);
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
}
#header .navi .menu .menu-first .menu-second {
  width: 200px;
  background-color: #fff;
  padding: 10px 16px;
  padding-bottom: 0;
  position: absolute;
  top: 50px;
  left: 0;
  display: none;
}
#header .navi .menu .menu-first .menu-second li {
  margin-bottom: 10px;
}
#header .navi .menu .menu-first .menu-second li::last-child {
  margin-bottom: 0;
}
#header .navi .menu .menu-contact a {
  background-color: #0169b0;
  border-radius: 30px;
  color: #fff;
  display: block;
  font-weight: 500;
  padding: 8px 30px;
  text-align: center;
}
#header .mask {
  display: none;
}

.anchor {
    position: relative;
    top: -80px;
	height: 0;
    display: block;
}

/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 1024px) {
 

  /*-------------------------------------------
  Header
  -------------------------------------------*/
  #header {
    height: 80px;
  }
  
#header .logo {
    max-width: 160px;
  max-height: 76px;
  line-height: 1;
  padding-top: 4px;
}


  #header .navi {
    width: 80%;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -120%;
    z-index: 20;
    transition: all 0.6s;
  }
  #header .navi.active {
    left: 0;
  }
  #header .navi .menu {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 60px 0;
    overflow: auto;
  }
  #header .navi .menu > li {
    width: 100%;
    border-top: solid 1px #1f1f1f;
    margin-left: 0;
  }
  #header .navi .menu > li a {
    width: 100%;
    display: block;
    padding: 20px;
  }
  #header .navi .menu .menu-first span {
    display: block;
    padding: 18px 18px;
  }
  #header .navi .menu .menu-first span::before {
    content: "";
    width: 15px;
    height: 1px;
    background-color: #1f1f1f;
    position: absolute;
    top: 30px;
    right: 20px;
	z-index: 10000;
  }
  #header .navi .menu .menu-first span::after {
    width: 1px;
    height: 15px;
    background-color: #1f1f1f;
    border: none;
    transform: none;
    position: absolute;
    top: 23px;
    right: 26px;
    left: auto;
	z-index: 100;
  }
  #header .navi .menu .menu-first span.active::after {
    content: none;
  }
  #header .navi .menu .menu-first .menu-second {
    width: 100%;
    position: static;
    padding: 0 0 0 40px;
  }
  #header .navi .menu .menu-first .menu-second li {
    border-top: solid 1px #eee;
    margin-bottom: 0;
  }
  #header .navi .menu .menu-contact {
    padding: 30px 0;
  }
  #header .navi .menu .menu-contact a {
    max-width: 160px;
    margin: 0 auto;
  }
  #header .hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: relative;
    top: 0px;
    right: -16px;
    z-index: 30;
  }
  #header .hamburger span {
    width: 30px;
    height: 1px;
    background-color: #1f1f1f;
    display: inline-block;
    position: absolute;
    left: 10px;
    transition: all 0.4s;
  }
  #header .hamburger.active span {
    background-color: #fff;
  }
  #header .hamburger span:nth-of-type(1) {
    top: 16px; 
  }
  #header .hamburger span:nth-of-type(2) {
    top: 25px;
  }
  #header .hamburger span:nth-of-type(3) {
    top: 34px;
  }
  #header .hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
  }
  #header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }
  #header .hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
  }
  #header .mask.active {
    width: 100%;
    height: 100%;
    background: #000;
    display: block;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
  }
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 640px) {
  .pc {
    display: none;
  }
  }

/*-------------------------------------------
タイトル
-------------------------------------------*/
#title {
background: #f0f7ff;
padding: 0 0;
margin: 0;
margin-top: 80px;
width: 100%;
}
.title {
display: block;
margin: 0 auto;
max-width: 1080px;
}
@media screen and (max-width: 1080px) {

.title {
padding: 0 16px;
margin-bottom: 16px;
}
  }