@charset "utf-8";

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

header {
  width: 100%;
  height: 60px;
  background-color: rgba(252, 193, 0, 0.9);
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  top: 0;
}

header h1 a img {
  width: 125px;
  height: auto;
  padding-top: 7px;
}

.burger {
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  z-index: 20;
}

.burgerBtn {
  display: block;
  width: 20px;
  height: 1px;
  background: #ffffff;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(0) translate(-50%,-50%);

    /* これはなんだ */
  /* transform-origin: top left;
  transition: top 100ms 150ms,transform 100ms;
 */

 }

.burgerBtn:nth-child(1){
  top: 25%;
}

.burgerBtn:nth-child(3){
  top: 75%;
}

/* .navOpen .btnInner:nth-child(1){
  top: 50%;
  transform:rotate(45deg) translate(-50%,-50%);
}
.navOpen .btnInner:nth-child(2){
  opacity: 0;
}
.navOpen .btnInner:nth-child(3){
  top: 50%;
  transform:rotate(-45deg) translate(-50%,-50%);
} */


nav {
  position: fixed;
  z-index: 9990;
  background-color: rgba(252, 193, 0, 0.9);
  font-family: 'Roboto', sans-serif;
  top: 60px;
  right: 0;
  left: 0;
  bottom: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: bottom 1000ms;
}

.navOpen nav {
  bottom: 0;
}

nav ul {
  list-style: none;

}

nav ul li {
  text-align: center;
  padding: 10px 0 20px 0;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s;
}

nav ul li a:hover {
  font-size: 2.5rem;

}

nav ul li a img {
  width: 60%;
  padding-top: 20px;
}

nav ul li a small {
  font-size: 1.0rem;
}

main {
  margin-top: 60px;
}

h2 {
  font-family: 'Sacramento', sans-serif;
  text-align: center;
  padding: 40px 0 30px;
  font-weight: normal;
  font-size: 5.3rem;
  line-height: 1.0;
}

h2 small {
  font-size: 1.6rem;
  line-height: 1;
}

footer {
  color: #A19E9E;
  text-align: center;
  font-size: 2.0rem;
}

.last {
  font-family: 'Caveat', cursive;
  padding: 50px 0 65px;

}

.sns {
  display: flex;
  justify-content: center;
  list-style: none;

}

.sns img {
  width: 50px;
  height: 50px;
  margin: 20px 10px;
}

.copyright {
  padding: 15px 0;

}



@media screen and (min-width: 960px) {
  /*ウィンドウ幅が767px以上の場合に適用*/

   header {
    height: auto;
    display: block;
    position: relative;
    padding: 30px 30px 0;
  }

   header h1 a img {
    width: 195px;
    height: auto;
    padding-top: 7px;
  }

  .burger {
    display: none;
  }


  nav {
    position: static;
    background: none;
  }

  nav ul {
    display: flex;
    justify-content: flex-end;
  }

  nav ul li {
    margin: auto 30px;
    padding: 0;
  }

  .telWrap {
    position: absolute;
    right: 30px;
    top: 30%;
    transform: translateY(-50%);
    padding: 0;
    margin: 0;

  }
  
  .telWrap img {
    padding: 0;
    width: 250px;

  }

  main{
    margin: 0;
  }

  h2 {
    padding: 90px 0 30px;
  }

  .ancherPoint {
    display: block;
    padding-top: 100px;
    margin-top: -100px;
  }

 }

 @media screen and (min-width: 1250px) {

  header {
    height: 110px;
    display: flex;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 0;
  }

  header h1 a img {
   margin-right: 30px;
  }

  .telWrap {
    top: 50%;
  }
}


@media screen and (max-width: 479px) {
    /*ウィンドウ幅が最大479pxまでの場合に適用*/






}




/*
font-family: 'Bad Script', cursive;
font-family: 'Caveat', cursive;
font-family: 'Chewy', cursive;
font-family: 'Roboto', sans-serif;
font-family: 'Sacramento', cursive;

font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;  ヒラギノが入ってない場合違うもの
 */