@charset "UTF-8";

/*--------------------------------
 COMMON
---------------------------------*/
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
     font-size: 16px;
     letter-spacing: 0.1em;
      color:#333;
      display:flex;
      flex-direction: column;
      min-height: 100vh;
}

a {
  text-decoration: none;
  color:#333;
}

a:hover {
  opacity: 0.8;
  transition: .3s;
}

img {
  max-width: 100%;
}

.wrapper {
  max-width: 980px;
  margin: 0 auto;
}

li {
  list-style: none;
}

h1 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.8em;
}

/*--------------------------------
HEADER
---------------------------------*/
#header {
    width: 100%;
}

#header .wrapper {
  display: flex;
  align-items: center;
}

#navi {
  margin-left: auto;
}

#header ul {
  display: flex;
}

#header li {
  margin-left: 30px;
  margin-top: 10px;
}

#header li a {
  color: #24292e;
}

#header li a:hover {
  opacity: 0.7;
}

#header .header-logo {
  font-size: 1em;
  font-weight: 600;
  line-height: 1.2;
  margin: 2rem ;
  letter-spacing: .05em;
}

#header .header-logo a {
  background-color: #c21c1c;
  color: #fff;
  padding: 10px 20px;
}

#header .header-cart  {
  width:40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fac61e;
  color: #fff;
  margin-top: -12px;
  display: flex;
  justify-content: center; 
  align-items: center; 
}

/*  footer */
#footer {
  background-color: #d6f0f1;  
  width: 100%;
  height: 240px;
  position: relative;
}

#footer .wrapper {
  max-width: 980px;
  margin: 0 auto;
}

#footer ul {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  font-size: 0.94em;
}

#footer .tel {
    margin: 2rem ;
}

#footer .footer-logo {
  font-size: 1.0em;
  font-weight: 600;
  line-height: 1.2;
  margin: 2rem ;
  letter-spacing: .05em;
}

#footer .footer-logo span {
  font-size: 1.4em;
  margin-top: -12px;
  margin-right: 5px;
}

#footer .footer-logo a {
  border:  2px solid #c21c1c;
  color: #c21c1c;
  padding: 10px 20px;
}

#footer-navi {
  display: flex;
  flex-direction: column;  
}

#footer .footer-container {
  background-color: #c21c1c;  
  padding: 8px 0;
  width: 100%;
  left: 0;
  bottom:0;
  position:absolute;
}

#footer .copyright {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  font-size: 0.8em;
  font-weight: 500;
  text-align: center;
}

/*--------------------------------
GO TOP
---------------------------------*/
.go-top{
  display: block;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  background: #fac61e;
  border: 2px solid #fac61e;
  border-radius: 50%;
  padding-top: 30px;
  text-align: center;
  font-size: 0.8em;
  text-decoration: none;
  color: #fff;
  opacity: 1.0;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 10000;
}
.go-top::before{
  content: "";
  display: block;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  width: 25%;
  height: 25%;
  top: 25%;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg);
}
.go-top:hover{
  opacity: 0.85;
}

/*--------------------------------
SP
---------------------------------*/
@media screen and (max-width: 960px) {

 /*  SP-HEADER  */
  #header {
    width: 100%;
    height: 70px;
    padding: 30px 20px;
    z-index: 10;
    overflow-y: hidden;
  }

  #header .header-logo {
    margin: 0rem;
  }

  #header ul {
    display: flex;
    flex-direction: column;  
    text-align: center;
  }

    #navi {
    width: 100%;
    background: #D6F0F1;
    padding: 25px;
    position: fixed;
    top: 0;
    left:0px;
    bottom: 0;
    opacity: 0;
    overflow-y: auto;
    transition: 0.5s;
    z-index: 20;
  }

 #header .header-cart {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0; 
  }

  .open #navi {
    left: 0;
    opacity: 1;
  }

  #navi ul.nav-menu {
    margin-bottom: 30px;
  }

  #navi ul li {
    padding: 10px 0;
  }

  .hamburger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: fixed;
    top: 22px;
    right: 18px;
    transition: 0.5s;
    z-index: 20;
  }

  .hamburger span {
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    display: block;
    position: absolute;
    left: 0;
    transition: 0.5s;
  }
  .hamburger span:nth-child(1) {
    top: 4px;
  }
  .hamburger span:nth-child(2) {
    top: 14px;
  }
  .hamburger span:nth-child(3) {
    bottom: 4px;
  }
  .open .hamburger span {
    background-color: #333;
  }
  .open .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }
  .open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .open .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }

/*  footer */
#footer {
  height: auto;
}

#footer .wrapper {
  padding-bottom: 40px;
}

#footer ul {
  flex-direction: column;
}

#footer-navi {
  padding-left: 20px;
}


#footer .copyright {
  font-size: 0.7em;
}

}