@charset "UTF-8";
body {
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-weight: 300;
  letter-spacing: 1px;
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
html {
  scroll-behavior: smooth;
}

.header {
  position: fixed;
  left: 0;
  top: 20px;
  width: 100%;
  height: 60px;
  z-index: 999;
}
.header a {
  text-decoration: none;
}

.header_inner {
  position: relative;
  padding: 15px;
}

.logo {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 15px;
}

/* header固定のため余白をつける。メニューのCSSには関係ない */
.main {
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {
  .nav {
    position: fixed;
    right: -320px; /* 右から出てくる */
    top: 0;
    width: 300px; /* スマホに収まるサイズ */
    height: 100vh;
    padding-top: 60px;
    background-color: #fff;
    transition: all 0.6s;
    z-index: 200;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
  }
  .hamburger {
    position: absolute;
    right: 15px;
    top: 0;
    width: 40px; /* クリックしやすい幅 */
    height: 40px; /* クリックしやすい高さ */
    cursor: pointer;
    z-index: 300;
  }
  .nav_list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav_item {
    text-align: center;
    padding: 0 14px;
  }
  .nav_item a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
  }
  .nav_item a:hover {
    background-color: #eee;
  }
  .hamburger_border {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background-color: #333;
    transition: all 0.6s;
  }
  .hamburger_border_top {
    top: 14px;
  }
  .hamburger_border_center {
    top: 20px;
  }
  .hamburger_border_bottom {
    top: 26px;
  }
  .black_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s;
    cursor: pointer;
  }
  /* 表示された時用のCSS */
  .nav-open .nav {
    right: 0;
  }
  .nav-open .black_bg {
    opacity: 0.8;
    visibility: visible;
  }
  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 20px;
  }
  .nav-open .hamburger_border_center {
    width: 0;
    left: 50%;
  }
  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 20px;
  }
  .logo {
    width: 120px;
  }
} /* sp */
@media only screen and (min-width: 769px) {
  .header_inner {
    max-width: 1780px;
    padding: 15px 30px;
    margin-left: auto;
    margin-right: auto;
  }
  .logo {
    padding: 12px 30px;
    width: 140px;
  }
  .nav_list {
    text-align: right;
  }
  .nav_list li {
    display: inline-block;
    text-align: right;
    padding-left: 20px;
  }
  .nav_list li a {
    color: #333333;
    font-weight: 600;
    font-size: 12px;
  }
} /* pc *//*# sourceMappingURL=common.css.map */