/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');
body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  font-size: 1rem;
  overflow-x: hidden;
  background-color: #000;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
img {
  max-width: 100%;
}
.nav-btn {
  position: absolute;
  top: 20px;
  right: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu-btn {
  position: absolute;
  top: 25px;
  right: 16px;
  display: flex;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: #6d5915;
}
.menu-btn span, .menu-btn span:before, .menu-btn span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #fff;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
#menu-btn-check {
  display: none;
}
.menu-content {
  width: 25%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background-color: #333;
  transition: all 0.5s;
}
.menu-content ul {
  padding: 70px 10px 0;
}
.menu-content ul li {
  border-bottom: solid 1px #fff;
  list-style: none;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}
.menu-content ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 16px;
}
#menu-btn-check:checked ~ .menu-content {
  left: 75%;
}
/*-----SP-----*/
@media screen and (max-width: 520px) {
  .menu-btn {
    top: 8px;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #333;
    transition: all 0.5s;
  }
  #menu-btn-check:checked ~ .menu-content {
    left: 0;
  }
}
h1.logo {
  width: 289px;
  height: 66px;
  display: inline-block;
  margin: 0;
  padding: 0;
}
/*-----PC-----*/
@media screen and (min-width: 961px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  .wrapper {
    width: 1170px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
  }
  #header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 12px;
    display: block;
    background-color: #6d5915;
    position: fixed;
    top: 0;
    z-index: 80;
  }
  .opengym {
    width: 400px;
    display: inline-block;
    position: absolute;
    margin: 0 10px 0 40px;
  }
  .g_nav {
    display: inline-block;
    position: absolute;
    right: 80px;
  }
  .g_nav li {
    height: 68px;
    line-height: 68px;
    float: left;
    margin-right: 5px;
  }
  .g_nav li img {
    vertical-align: middle;
  }
  #main {
    width: 100%;
    height: auto;
    margin-top: 110px;
    padding: 0 0 50px 0;
  }
  .sidebtn {
    width: 96px;
    display: block;
    position: fixed;
    bottom: 80px;
  }
  #footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: #6d5915;
    color: #fff;
    font-size: 0.9rem;
  }
  .footer_list {
    display: flex;
    justify-content: center;
  }
  .footer_list li {
    padding: 0;
  }
  .footer_list li img {
    vertical-align: bottom;
  }
  .copyright {
    text-align: center;
    margin: 10px auto;
  }
  h2.title {
    margin: 30px auto;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 4px;
  }
}
/*-----Tablet-----*/
@media screen and (min-width: 521px) and (max-width: 960px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  .wrapper {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
  }

.menu-content {
  width: 40%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background-color: #333;
  transition: all 0.5s;
}
#menu-btn-check:checked ~ .menu-content {
  left: 60%;
}
  #header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 16px;
    display: block;
    background-color: #6d5915;
    position: fixed;
    top: 0;
    z-index: 80;
  }
  .opengym {
    width: 35%;
    display: block;
    position: absolute;
    margin: 0 10px;
  }
  .g_nav {
    display: inline-block;
    position: absolute;
    right: 80px;
  }
  .g_nav li {
    height: 68px;
    line-height: 68px;
    float: left;
    margin-right: 5px;
  }
  .g_nav li img {
    vertical-align: middle;
  }
  #main {
    width: 100%;
    height: auto;
    margin-top: 130px;
    padding: 0;
  }
  .sidebtn {
    width: 96px;
    display: block;
    position: fixed;
    top: 130px;
    right: 0;
    z-index: 100;
  }
  #footer {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: #6d5915;
    color: #fff;
    font-size: 0.9rem;
  }
  .footer_list {
    display: flex;
    justify-content: center;
  }
  .footer_list li {
    padding: 0;
  }
  .footer_list li img {
    vertical-align: bottom;
  }
  .copyright {
    text-align: center;
    margin: 10px auto;
  }
  h2.title {
    margin: 30px auto;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 4px;
  }
}
/*-----SP-----*/
@media screen and (max-width: 520px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .wrapper {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
  }
  #header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px;
    display: block;
    background-color: #6d5915;
    position: fixed;
    top: 0;
    z-index: 80;
  }
  .opengym {
    width: 100%;
    /*right: 300px;*/
    margin: 10px auto 0px auto;
  }
  h1.logo {
    width: auto;
    height: auto;
    display: inline-block;
    margin: 0;
    padding: 0;
  }
  h1.logo img {
    max-width: 60%;
  }
  .g_nav {
    display: none;
    position: absolute;
    right: 0px;
  }
  .g_nav li {
    max-width: 40%;
    height: 68px;
    line-height: 68px;
    float: left;
    margin-right: 5px;
  }
  .g_nav li img {
    vertical-align: middle;
  }
  #main {
    width: 100%;
    height: auto;
    margin: 37% 0 70px 0;
    padding: 0;
  }
  .sidebtn {
    display: none;
  }
  #footer {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: #6d5915;
    color: #fff;
    font-size: 0.9rem;
    position: fixed;
    bottom: 0;
  }
  .footer_list {
    display: flex;
    justify-content: center;
  }
  .footer_list li {
    padding: 0;
  }
  .footer_list li img {
    vertical-align: bottom;
  }
  .copyright {
    text-align: center;
    margin: 10px auto;
  }
  h2.title {
    margin: 30px auto;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 4px;
  }
}