@charset "UTF-8";
/* CSS Document */
html{
  font-size: 100%;
}
body{
  font-family: "Hiragino Kaku Gothic ProN",sans-serif;
  color: #333;
}

a{
  text-decoration: none;
}

a{
  cursor: pointer;
}

.quicksand{
  font-family: 'Quicksand', sans-serif;
}

.bold{
  font-weight: bold;
}

.text-about-sp{
  display: none;
}



body{
  font-size: 16px;
}

nav{
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  position: fixed;
  width: 100%;
  box-shadow: 1px 1px 5px #cdcdcd;
  z-index: 100000;
  height: 60px;
  background-color: #fff;
}

nav ul{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 60px;
  background-color: #fff;
}

nav h1{
  width: 120px;
  margin-right: auto;
  margin-left: 20px;
}

nav li:last-child{
  width: 200px;
}

nav li:last-child a{
background-color: #ff8de3;
width: 200px;
}

nav a{
  display: block;
  width: 100px;
  color: #333;
  padding: 20px 10px;
  font-size: 1.125rem;
  text-align: center;
  height: 20px;
}

.hover a:hover{
  background-color: #F8D32F;
  transition-duration: 0.5s;
}

p.form {
  width: 180px;
  color: #fff;
  font-size: 1rem;
}

.logo {
  width: 120px;
  margin-right: auto;
  display: inline;
}

.logo img{
  width: 100px;
}

.nav__icon{
  display: none;
}
.nav__icon {
    width: 36px;
    height: 28px;
    position: relative;
    cursor: pointer;
}

.nav__icon span {
    background: #333;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
}

.nav__icon span:nth-of-type(1) {
    top: 0;
}

.nav__icon span:nth-of-type(2) {
    top: 12px;
}

.nav__icon span:nth-of-type(3) {
    bottom: 0;
}

.nav__icon.active span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg);
}

.nav__icon.active span:nth-of-type(2) {
    display: none;
}

.nav__icon.active span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
    transform: translateY(-12px) rotate(45deg);
}

/* ---------- nav ---------- */

footer{  background-color: #333;}
footer h2{  padding: 30px 0px 30px 40px;}
footer ul{
  padding-left: 40px;
  display: flex;
  justify-content:flex-start;
  padding-bottom: 20px;
}
footer h2 img{  width: 180px;}
footer li,
footer ul p{
   color: #ccc;
   font-size: .75rem;
}
footer li:first-child { width: 80px;}
footer li:lasr-child { width: 400px;}
footer a{
  color: #ccc;
  font-size: .75rem;
}
.f-right li:last-child{
  margin-right: 40px;
  color: #ccc;
}

.f-right a:hover{text-decoration: underline;}

footer p{
  font-size: 0.75rem;
  color: #ccc;
  padding-bottom: 30px;
}

.f-right p{
    margin-left: auto;
    margin-right: 40px;
}

.f-right {
    display: flex;
}

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

  /* body{
    max-width: 375px;
  } */

  nav{
    width: 100%;
    z-index: 100;
  }

  header {
      position: relative;
      z-index: 999;
      width: 100%;
  }
  nav h1 {
      margin: 0 auto;
      }
  nav ul {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    background: rgba(0, 0, 0, .8);
    position: absolute;
    top: 60px;
    left: 0px;
    width: 100%;
    z-index: 980;
    }
  nav ul li {
      text-align: center;
  }
  nav ul li a {
      display: block;
      background: transparent;
      margin: 0px;
      color: #fff;
  }
  nav li,
  nav li a{
    width: 100%;
  }
  p.form{
    width: 100%;
  }
  nav li:last-child,
  nav li:last-child a{
    width:100%;
  }

  nav a{
    padding: 20px 0px;
  }

  .hover a:hover{
    background-color: #F8D32F;
  }

  .nav__icon{
    position: absolute;
    right: 10px;
  }
  .nav__icon,
  .nav__icon span {
      display: inline-block;
      transition: all .4s;
      box-sizing: border-box;
      z-index: 999;
  }


footer h2{
  padding: 30px 0px;
  text-align: center;
}

footer h2 img{
  width: 150px;
}

footer ul{
  padding: 0px;
  display: block;
  text-align:center;
}

.f-right ul{
  width: 50%;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content:space-between;
}

footer li:first-child{
  width: auto;
}

footer li{
  padding:0px 0px 10px 0px;
}

.f-right li:last-child{
  margin: 0px;
}

.f-right {
    display: block;
}

.f-right a{
  text-decoration: underline;
}

.f-right p{
  margin: 0px;
}

.text-about{
  display: none!important;
}

.text-about-sp {
    display: block;
}

p.text-about-sp {
    width: 82%;
    margin: 0 auto;
}

h3.text-about-sp {
    font-size: 2.5rem;
    padding-bottom: 40px;
    margin-top: -20px;
    height: 40px;
}



}
