@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@400;700&display=swap');
body, main {
  overflow-x: hidden;
}

/*
font-family: 'Montagu Slab', serif;
font-family: 'Noto Serif JP', serif;

*/
/**************************************************
 Base style
**************************************************/

* {
  box-sizing: border-box;
  line-height: 170%;

}

body {
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}

a {
  text-decoration: none !important;
}

a:link, a:visited {
  color: #000;
}

a:hover {
  text-decoration: none !important;
}

img {
  max-width: 100%;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

a img {
  transition: .3s all;
}

@media screen and (max-width: 480px) {

  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }


}


/**************************************************
header
**************************************************/

header {
  width: 100%;
  background: #FFF;
  position: sticky;
  z-index: 80;
  top: 0;
  font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic',sans-serif; 
}
header > a {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 60px;
}
header h1 {
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    padding: 0 1.5rem;
    font-family: 'Montagu Slab', serif;
    color: #008899;

}


header .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  transition: .3s all;
  width: 96%;
  margin: 0 auto;
  max-width: 1140px;
  padding: .5rem 0;
}

header h2 {
  width: 20%;
    padding: .5rem 0 .5rem .5rem;
}

header h2 img {
  max-width: 280px;
}

header nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
    height: 100%;
}

header nav ul a {
    font-size: 16px;
    font-weight: 700;
    padding: .7rem;
}
header nav ul li {
    margin-right: 1rem;
}
header li.mail a {
  background: #00A0E9;
  color: #fff;
  border-radius: 20px;
  padding: .7rem 1.2rem;
}




header nav ul li:nth-of-type(-n+3) a:hover {
    color: #47468a;
}
.icon-hamburger span {
  display: none;

}
@media screen and (max-width: 1366px) {
  header nav ul {
    margin:0 auto;
    justify-content: center;
  }
}
@media screen and (min-width: 813px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}
@media screen and (max-width: 1366px) {
    header nav ul li {
        margin-right: 1rem;
    }
}
@media screen and (max-width: 1280px) {
  header > a {
    width: 50px;
  }
}
@media screen and (max-width: 1024px) {
    header nav ul li:not(.tel) {
        margin-right: 1.5rem;
    }
    header nav {
        width: 100%;
    }
    
   
}

@media screen and (max-width: 768px) {
  .icon-hamburger s {
    display: inline-block;
  }
  header nav ul li:last-of-type {
    margin-left: 0;
  }
  header nav ul li:nth-of-type(-n+3) {
    margin-right: 10px;
  }
  header nav {
    width: 70%;
  }
}

@media screen and (max-width: 812px) {
  header .inner {
    padding: .8rem 0;
  }
    header h1 {
        padding: 0;
    }
  header h2 {
    width: 28%;
  }
  header h2 img {
    max-width: 180px;
  }
  header {
    position: fixed;
    top: 0;
    z-index: 999;
  }
  header nav {
    width: 100%;
  }
  .menuBtn {
    position: fixed;
    top: 30px;
    right: 15px;
    width: 20px;
    height: 27px;
    line-height: 50px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    z-index: 999;
  }
  .menuBtn span {
    display: block;
    width: 17px;
    height: 2px;
    background: #000;
    position: relative;
    overflow:visible;
    transition: .3s all;
  }
  .menuBtn span:after,
  .menuBtn span:before  {
    content: "";
    display: block;
    width: 17px;
    height: 2px;
    position: absolute;
    top: -5px;
    left: 0;
    background: #000;
    transition: .3s all;
  }
  .menuBtn span:before {
    bottom:-5px;
    top: auto;
  }
  /* 開閉用ボタンがクリックされた時のスタイル */


  nav {
    position: fixed;
    display: table;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #81e1ffe6;
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: hidden;
    opacity: 0;
    max-width: none !important;
  }
  nav ul {
    display: table-cell;
  }
  header, header nav {
    display: block;
  }
  header nav h1 {
    margin-top: 20px;
  }

 
  /* 開閉用ボタンがクリックされた時のスタイル */
  header nav {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .open nav {
    cursor: url(../images/cross.svg), auto;
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: visible;
    opacity: 1;
    z-index: 2;
  }
  header nav ul {
    width: 90%;
    margin: 0 auto;
      flex-wrap: wrap;
      height: auto;
      overflow: scroll;
    }

  header nav>div {
    width: 84%;
    margin: 1rem auto 0;
  }
  header nav ul a:link {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    padding: .5rem;
    letter-spacing: .2rem;
      width: 100%;
  }
    header li.mail img {
        margin-top: .2rem;
    }
  header nav ul li {
    text-align: center;
        height: auto !important;
      margin-left: 0 !important;
      width: 100%;
  }
  header nav ul li:nth-of-type(-n+3) {
    margin-right: 0;
  }

    header nav ul li.tel {
        padding:.8rem ;
    }
    header nav ul li.tel a {
        line-height: 100%;
    margin: 0 auto ;
        padding: 0;
    }
    header nav ul li.mail {
        margin-top: 2rem;
        border-bottom: none;
    }
    header nav ul li.mail a {
        border-bottom: none;
        text-align: center;
        position: relative;
        padding: 0;
        height: 45px;
        line-height: 45px;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 28px;
        padding: .3rem;
        margin: 0 auto;

    }
    header > a {
      top: 1rem;
      width: 40px;
      right: auto;
      left: 1rem;
    }
    header h1 img {
      height: 40px;
        font-size: 14px;
    }
    header h2 img {
        max-width: 180px;
    }
    header .inner {
       padding: 0 .3rem;
        width: 100%;
                background: #fff;
    }
    header h2 {
        padding: 0;
    }
    .menuBtn {
        top: 25px;
    }
    header + figure,
header + figure img{
    width: 100%;
    height: 240px;
    object-fit: cover;
}
    header {
        background: none;
    }
    .open .menuBtn span {
      transform: rotate(-45deg);
    }
    .open .menuBtn span:after {
      transform: rotate(-90deg);
      top: 0;
    }
    .open .menuBtn span:before {
      display: none;

    }
}
/**************************************************
footer
**************************************************/

footer {
  font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic',sans-serif; 
  font-size: 16px;
  text-align: center;
  width: 100%;
  padding: 1rem;
  background: #000;
  color: #fff;
  position: relative;
  margin-top: 15rem;
}
footer:before {
  content: "";
  width: 200px;
  height: 200px;
  background: url(../img/footer_pic.svg);
  background-size: contain;
  display: block;
  position: absolute;
  right: 10vw;
  bottom: 100%;
}
aside {
  position: fixed;
  bottom: 20px;
  right: 20px;
}
aside a{
  display: block;
}
aside a#return{
  background: #00A0E9;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  padding: .3rem;
  margin-top: 1rem;
  min-width: 120px;
  border-radius: 5px;
}
@media screen and (max-width: 812px) {
   
}
@media screen and (max-width: 480px) {
  footer {
    margin-top: 10rem;
  }
  aside {
    width:110px;
    bottom: 80px;
   }
   footer:before {
    content: "";
    width: 140px;
    height: 135px;
    background: url(../img/footer_pic.svg) no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    right: 50vw;
    bottom: 100%;
  }
}



/**************************************************
link
**************************************************/
.link a {
    background: #007BBB;
    color: #fff;
    text-align: center;
    font-size: 16px;
    max-width: 290px;
    border-radius: 8px;
    display: block;
    padding: .4rem;
}
.btn a {
  display: block;
  background: linear-gradient(to bottom, #ffffff 0%,#d7d7d7 100%);
  padding: 1.2rem 0;
  max-width: 280px;
  border-radius: 10px;
  box-shadow: 0 5px 5px #156572;
  font-size: 22px;
  margin: 2rem auto 2rem;
  font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic',sans-serif; 
}
@media screen and (max-width: 480px) {
  .btn a {
    font-size: 18px;
  }
}

/**************************************************
title
**************************************************/
.roboTtl {
    font-size: 2rem;
    text-align: center;
    color: #E61673;
    border-bottom:2px solid #E61673;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 4rem;
}
.roboTtl.blue {
  color: #00A0E9;
  border-bottom: none;
}
.roboTtl span {
  display: inline-block;
  background: url(../img/robo.png) no-repeat 5% center ,url(../img/robo.png) no-repeat 95% center;
  padding: 3rem 12rem;

}
.roboTtl.blue span {
  padding: 1rem 12rem;
  border-radius: 10px;
  border: solid 3px #00A0E9;
  background: url(../img/title_robo2.svg) no-repeat 5% center ,url(../img/title_robo2.svg) no-repeat 95% center,#fff;
} 
.ttl02 {
     color: #5b7e91;
    font-size: 30px;
    margin:  8rem auto 1.5rem;
    text-align: center;
}

.inner {
  max-width: 1080px;
  width: 94%;
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  .roboTtl {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}
.roboTtl span {
    background: url(../img/robo.png) no-repeat center 1rem;
    background-size:60px;
    padding: 5rem 0rem 1.5rem;
}
.roboTtl.blue span {
  padding: 3rem 1rem .5rem;
  background: url(../img/title_robo2.svg) no-repeat center 15% ,#fff;
  background-size:55px;
  display: block;
  width: 94%;
  margin: 0 auto;
} 
.roboTtl.blue {
  margin-bottom: 1rem;
}
}