@charset "utf-8";

body {
  background-color: #fff;
  color: #333;
  font-size: 16px;
  font-family: Arial, "メイリオ", sans-serif;
  line-height: 16px;
}

.inner {
  width: 960px;
  margin: auto;
}

.flex {
  display: flex;
  justify-content: space-between;
}

header {
  padding: 16px 32px;
}
h1,
h2 {
  font-family: "Kaisei Opti", serif;
  font-size: 40px;
  text-align: center;
  
}

h1:before {
  content: url(../image/h1_l.png);
  margin-right: 6px;
}

h1:after {
  content: url(../image/h1_r.png);
  margin-left: 6px;
}

h2:before {
  content: url(../image/h1_l.png);
  margin-right: 6px;
}

h2:after {
  content: url(../image/h1_r.png);
  margin-left: 6px;
}
h1{
  margin: 24px 0 80px;
}
h2{
  margin: 40px 0 50px;
}

h6 {
  display: none;
  font-size: 0px;
  line-height: 0px;
  color: transparent;
}

.totop {
  position: fixed;
  bottom: 100px;
  right: 40px;
  z-index: 9999;
  display: none;
}

footer {
  margin-top: 160px;
  padding-bottom: 75px;
}

footer small {
  display: block;
}

nav{
  background-color: #fff;
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 9999;
  display: none;
}

nav li a {
  display: block;
  border-radius: 30px;
  padding: 20px;
  margin: 8px;
  font-family: "Kaisei Opti", serif;
  font-size: 20px;
  transition-property: background-color;
  transition-duration: .5s;
}

nav li a:before {
  content: url(../image/nav_l.png);
  margin-right: 4px;
}

nav li a:after {
  content: url(../image/nav_r.png);
  margin-left: 4px;
}

nav li a:hover {
  background-color: #FFF2AB;
}
.js-fadeUp01 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s, transform .8s;
}

.js-fadeUp01.is-inview01 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .2s;
}

.js-fadeUp02 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s, transform .8s;
}

.js-fadeUp02.is-inview02 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .5s;
}

.js-fadeUp03 {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .8s, transform .8s;
}

.js-fadeUp03.is-inview03 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: .8s;
}

.js-fadeUp04 {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .8s, transform .8s;
}

.js-fadeUp04.is-inview04 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1s;
}
@media (max-width:768px) {
  footer{
    margin-bottom: 100px;
  }
nav li a:before {
  content: none;
  margin-right: 4px;
}

nav li a:after {
  content: none;
  margin-left: 4px;
}
}