@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  background-color: rgb(35, 35, 36);
}

.header {
  position: fixed;
  background-color: rgb(15, 15, 15);
  width: 100%;
  height: 50px;
  z-index: 3000;
}

.navigation2 {
  display: none;
}

#nav-bar {
  height: 50px;
  width: 100%;
  position: fixed;
  z-index: 100;
}

.nav-bar {
  background-color: rgb(26, 102, 138);
  left: 0;
  top: 0;
  padding: 1.1rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-bar .brand a {
  font-family: sans-serif;
  font-size: .7rem;
  color: white;
  text-decoration: none;
}

.nav-bar .nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
}

 .hamburger {
  height: auto;
  border: 3px solid crimson;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  transition: .3s ease transform;
  cursor: pointer;
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #fff;
}

.hamburger.active {
  transform: rotate(360deg);
}

.hamburger.active .bar:before {
  top: 0;
  transform: rotate(45deg);
}

.hamburger.active .bar:after {
  top: 0;
  transform: rotate(-45deg);
}

.hamburger.active .bar {
  background-color: transparent;
}

.hamburger .bar {
  height: 3px;
  width: 20px;
  background-color: crimson;
  position: relative;
  display: flex;
}

.hamburger .bar::before,
.hamburger .bar::after {
  content:'';
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: crimson;
  transition: .3s ease all;
}

.hamburger .bar::before {
  top: 8px;
}

.hamburger .bar::after {
  bottom: 8px;
}

.nav-bar .nav-list ul {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgb(26, 61, 82);
  padding: 10rem 0 5rem 0;
  transform: translatey(-100%);
  transition: .3s ease transform;
  text-align: center;
  z-index: -1;
}

.nav-bar .nav-list ul li {
  list-style: none;
  display: block;
  padding:  0;
  position: relative;
}

.nav-bar .nav-list ul li:hover:after {
  transform: translateX(-50%) scale(1);
}

.nav-bar .nav-list ul li:after {
  content: '';
  position: absolute;
  width: 5rem;
  height: 0.2rem;
  background-color: white;
  left: 50%;
  transform: translateX(-50%) scale(0);
  bottom: 0;
  transition: .3s ease transform;
}

.nav-bar .nav-list ul li a {
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  display: block;
  letter-spacing: 0.15rem;
  padding: 1rem 3rem;
}

.nav-bar .nav-list.open ul {
  transform: translateY(60px);
}

.info {
  position: relative;
  text-align: center;
}

.info .box a {
  display: block;
  margin-bottom: 20px;
  margin-left: 30px;
  font-size: 0.8rem;
  text-decoration: none;
  color: yellow;
  position: absolute;
  top: 50px;
  z-index: 3000;
}

.box {
  width: 100%;
  height: 80px;
}

.keirou {
  margin: 0 auto;
}

.keirou p {
  color: white;
}

.keirou p span {
  font-size: 1.5rem;
  background-color: crimson;
}

.slider {
  width: 80vw;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  background: url(/images/002a.jpg);
  opacity: .7;
  margin: 0px auto;
  animation: slide 20s infinite;
}

.info .f-view img {
  display: none;
}

.info .about h2 {
  font-size: 1.3rem;
  color: red;
}

.info .about p {
  font-size: .9rem;
  color: #fff;
}

.about span {
  color: red;
}

.info .about a {
  text-decoration: none;
  color: #4cf808;
}

.info .about a:hover {
  color: #216406;
}

.info .tel h2 {
  font-size: 1.3rem;
  color: red;
}

.info .tel p {
  font-size: .9rem;
  font-weight: bold;
  color: #fff;
}

.tel span {
  color: red;
}

.tel .nmb {
  display: inline-block;
  font-size: 1.3rem;
  letter-spacing: .5rem;
  border-bottom: 2px solid yellow;
}

@keyframes slide {
  25% {
    background: url(/images/004.jpg);
  }
  50% {
    background: url(/images/005.jpg);
  }
  75% {
    background: url(/images/006.jpg);
  }
  100% {
    background: url(/images/002a.jpg);
  }
}

.wrapper {
  width: 100%;
  height: auto;
  text-align: center;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.section-title  {
  width: 90%;
  margin: 0 auto;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  padding-top: 60px;
  padding-bottom: 2px;
  border-bottom: 2px solid crimson;
}

.section-title span {
  color: crimson;
}

#cosme .container{
  width: 90%;
}

#cosne .sale {
  text-align: center;
}

#cosme .sale p {
  color: #fff;
  font-size: 1.2rem;
  padding-top: 20px;
}

#cosme .sale p span {
  color: red;
  font-size: 1.8rem;
}

#cosme .flexbox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
}
  
#cosme .flexbox:hover img {
  opacity: 0.5;
}

#cosme .flexbox .item {
  margin-top: 20px;
  position: relative;
  width: 49%;
  z-index: 1;
}

#cosme .flexbox .item img {
  width: 100%;
  display: block;
  transition: all 0.28s;
}

#cosme .flexbox .item .title {
  color: #fff;
}

#cosme .flexbox .item:hover img {
  opacity: 1;
}

.mens, 
.ladys {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #ffffff;
  margin: 10px 0;
}

.mens p, 
.ladys p {
  font-size: 0.5rem;
}

#menu .container table {
  width: 100%;
  text-align: center;
  color: #ffffff;
}

#menu .container table th {
  width: 60%;
  font-size: 0.8rem;
}

#menu .container table th,
#menu .container table td {
  border: 1px solid #999;
}

#menu .container table th span {
  font-size: 0.3rem;
}

#menu .container table .main-ttl {
  text-align: left;
  font-size: 1rem;
  color: #fff;
  background: #333;
  border-bottom: 1px solid #999;
}

#menu h4 {
  color: yellow;
  font-size: 1rem;
  margin-top: 15px;
}

#menu .icon {
  color: #fff;
  padding: 10px;
}

#event .pikaso,
#event .uruhada, 
#event .lesson {
  width: 100%;
  height: auto;
  padding: 20px;
  margin: 20px 0;
  color: #fff;
  border: 1px solid #fff;
}

#event .pikaso h3,
#event .uruhada h3, 
#event .lesson h3 {
  padding-bottom: 10px;
}

#event .pikaso p,
#event .uruhada p, 
#event .lesson p {
  font-size: 0.8rem;
}

#event .pikaso .red {
  color: red;
}
#event .pikaso .yellow {
  color: yellow;
}
#event .pikaso .blue {
  color: blue;
}

#event .red {
  color: red;
}

#event .yellow {
  color: yellow;
}

#gallery .container{
  width: 90%;
}

#gallery .flexbox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
}
  
#gallery .flexbox:hover img {
  opacity: 0.5;
}

#gallery .flexbox .item {
  margin-top: 20px;
  position: relative;
  width: 100%;
  z-index: 1;
}

#gallery .flexbox .item img {
  width: 100%;
  display: block;
  transition: all 0.28s;
}

#gallery .flexbox .item .title {
  color: #fff;
}

#gallery .flexbox .item:hover img {
  opacity: 1;
}

.button {
  display: block;
  width: 100px;
  margin: 30px auto;
  padding: 5px;
  text-align: center;
  background-color:  #4cf808;
  text-decoration: none;
  border: 2px solid #216406;
  border-radius: 30px;
}

.button:hover {
  background-color: #0bfc53;
  color: yellow;
}

.map iframe {
  margin: 20px 0;
}

#map a {
  text-decoration: none;
  color: #4cf808;
}

#map a:hover {
  color: #216406;
} 

/* #social {
  margin-bottom: 10px;
}

#social .icon {
  color: #fff;
  padding: 10px;
}

#social p {
  padding: 5px;
} */

#footer {
  background-color: rgb(49, 49, 49);
  color: #999;
}

#footer p {
  text-align: center;
  padding-top: 20px;
}

.footer {
  display: flex; 
  justify-content: space-around;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 40px;
}

.footer h2 {
  font-size: .8rem;
}

.footer p {
  font-size: .3rem;
}

#footer .tel p {
  padding: 0%;
  font-size: .8rem;
}

#footer .copyright {
  background-color: #999;
  color: #222;
  padding: 0; 
}

@media screen and (min-width: 560px) {

  .nav {
    top: 65%;
    left: 70%;
  }

  .navigation2 {
    display: none;
  }

  .check:checked ~ .nav-back {
    transform: scale(30);
  }
  
  .keirou p .mobile {
    display: none;
  }

  .slider {
    display: none;
  }

  .info .f-view img {
    display: block; 
    width: 80%;
    /* height: 50vh; */
    object-fit: cover;
    /* opacity: .5; */
    border-radius: 20px;
    margin: 0 auto;
  }

  .info .tel h2 {
    font-size: 1.3rem;
    color: red;
  }
  
  .info .tel p {
    font-size: .9rem;
    color: #fff;
  }
  
  .tel span {
    color: red;
  }

  .tel .nmb {
    display: inline-block;
    font-size: 1.3rem;
    letter-spacing: .5rem;
    border-bottom: 2px solid yellow;
  }

  .wrapper {
    height: auto;
    min-height: auto;
  }

  .container {
    width: 80%;
  }
  
  .section-title  {
    width: 80%;
  }

  #cosme .container{
    width: 80%;
  }

  #cosme .container .flexbox {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  
  #cosme .container .flexbox .item {
    width: 49%;
  }

  #event .picso,
  #event .uruhada,
  #event .lesson {
    width: 100%;
  }

  #gallery .container{
    width: 80%;
  }

  #gallery .container .flexbox {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  
  #gallery .container .flexbox .item {
    width: 49%;
  }

  /* #map .wrapper {
    min-height: auto;
  } */

  .map iframe {
    width: 60%;
    height: 350px;
  }

  /* #social .wrapper {
    min-height: auto;
  } */

}

@media screen and (min-width: 960px) {

  .info .f-view img {
    display: block; 
    width: 80%;
    height: 50vh;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 auto;
  }

  .header .navigation {
    display: none;
  }
  
  .navigation2 {
    display: block;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    padding-top: 10px;
  }
  
  .logo2 {
    color: #fff;
  }

  .nav2 {
    display: flex;
    list-style: none;
  }
  
  .nav2 li a {
    text-decoration: none;
    color: #fff;
    font-size: .7rem;
    letter-spacing: .3rem;
    border-bottom: 1px solid #fff;
    margin-left: 2rem;
  }

  .nav2 .new a {
    text-decoration: none;
    color: yellow;
    font-size: .7rem;
    letter-spacing: .3rem;
    border-bottom: 1px solid #fff;
    margin-left: 2rem;
  }
  
  .nav2 li a:hover {
    color: crimson;
    font-weight: bold;
    border-bottom: 1px solid crimson;
  }

  .nav2 .new a:hover {
    color: crimson;
    font-weight: bold;
    border-bottom: 1px solid crimson;
  }

  .about {
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
  }

  .info .tel h2 {
    font-size: 1.3rem;
    color: red;
  }
  
  .info .tel p {
    font-size: .9rem;
    color: #fff;
  }
  
  .tel span {
    color: red;
  }
  
  .tel .nmb {
    display: inline-block;
    font-size: 1.3rem;
    letter-spacing: .5rem;
    border-bottom: 2px solid yellow;
  }

  .wrapper {
    min-height: 100vh;
    /* height: auto; */
  }

  /* #social .wrapper {
    height: auto;
  } */

  #cosme .container .flexbox .item {
    width: 24%;
  }

  #menu .container {
    display: flex;
  }
  
  #menu .container .box1,
  #menu .container .box2 {
    width: 50%;
  }

  #event .container {
    display: flex;
  }
  
  #event .container .picaso {
    width: 50%;
    height: auto;
  }

  #gallery .container .flexbox .item {
    width: 24%;
  }

  .map iframe {
    width: 50%;
    height: 400px;
  }

}


