@charset "UTF-8";
/* //////////////////////////////////////////////////

　サイト全般のスタイル
　header,footer,modules

////////////////////////////////////////////////// */
/*
  FONT
-------------------------------------------------- */
body {
  color: #000;
  font-family: 'Montserrat','Noto Sans JP', sans-serif;
  font-size: 18px;
}
@media screen and (max-width: 960px) {
  body {
    font-size: 15px;
  }
}
@media screen and (max-width: 560px) {
  body {
    font-size: 13px;
  }
}

p {
  line-height: 2.2;
}

li, dt, dd, th, td, address {
  line-height: 1.8;
}

a {
  color: #000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

i, em {
  font-style: normal;
}

input, textarea, select {
  font-size: 16px;
}

.ffM {
  font-family: 'Montserrat', sans-serif;
}

/*
  LAYOUT
-------------------------------------------------- */
#wrapper {
  overflow: hidden;
}

#contents {
  margin-top: 100px;
}
@media screen and (max-width: 1200px) {
  #contents {
    margin-top: 60px;
  }
}

.container {
  padding-left: calc(50% - 500px);
  padding-right: calc(50% - 500px);
}
.container.wide {
  padding-left: calc(50% - 700px);
  padding-right: calc(50% - 700px);
}
@media screen and (max-width: 960px) {
  .container {
    padding: 0 20px;
  }
}

/*
  HEADER
-------------------------------------------------- */
#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  background: #fff;
  transition: all .3s;
}
#header :not(.logo) a {
  text-decoration: none;
  transition: all .3s;
}
#header :not(.logo) a:hover {
  opacity: .5;
}
#header .logo {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}
#header .logo a {
  display: block;
  margin-left: 15px;
  width: 200px;
  height: 70px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url("../img/common/logo_header.png");
  background-position: center;
  text-indent: -9999px;
}
#header .buttons {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}
#header .buttons .contact {
  background: url("../img/common/mrk_contact.png") no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin: 0 20px;
  font-size: 0.8889em;
}
#header .buttons .cart {
  display: block;
  width: 100px;
  height: 100%;
  background: #000 url("../img/common/ico_cart.png") no-repeat center;
  background-size: 63px;
  text-indent: -9999px;
}
#header.hide {
  opacity: 0;
}
#header.fix {
  position: fixed;
  opacity: 1;
  border-bottom: 1px solid #eee;
}
#header button {
  display: none;
}
@media screen and (max-width: 1200px) {
  #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    opacity: 1 !important;
  }
  #header .logo a {
    margin-left: 10px;
    width: 126px;
    height: 46px;
  }
  #header .buttons .contact {
    display: none;
  }
  #header .buttons .cart {
    width: 35px;
    height: 35px;
    background: url("../img/common/ico_cart_sp.png") no-repeat center;
    background-size: 100%;
  }
  #header.fix {
    height: 60px;
  }
  #header.fix .cart {
    width: 35px;
    height: 35px;
  }
  #header button {
    display: block;
    position: relative;
    z-index: 200;
  }
}

/*
  MENU BUTTON
-------------------------------------------------- */
#btn_menu {
  margin: 10px;
  padding: 5px;
}
#btn_menu span {
  display: block;
  width: 30px;
  height: 3px;
  background: #000;
  transition: all .4s;
}
#btn_menu span + span {
  margin-top: 7px;
}
#btn_menu.active span:nth-child(1) {
  /* translateの数値は barの高さ + margin */
  transform: translateY(10px) rotate(135deg);
}
#btn_menu.active span:nth-child(2) {
  opacity: 0;
}
#btn_menu.active span:nth-child(3) {
  /* translateの数値は barの高さ + margin */
  transform: translateY(-10px) rotate(-135deg);
}

/*
  MENU
-------------------------------------------------- */
#menu {
  flex-grow: 2;
}
#menu h2 {
  display: none;
}
#menu .gnavi {
  display: flex;
  justify-content: center;
}
#menu .gnavi li {
  line-height: 1.2;
}
#menu .gnavi li + li {
  margin-left: 40px;
}
#menu .gnavi li a {
  display: flex;
  align-items: center;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 42px;
  padding-left: 50px;
  height: 44px;
  white-space: nowrap;
}
#menu .gnavi .home {
  display: none;
}
#menu .gnavi .home a {
  background-image: url("../img/common/ico_home.png");
}
#menu .gnavi .zukan a {
  background-image: url("../img/common/ico_zukan.png");
}
#menu .gnavi .special a {
  background-image: url("../img/common/ico_special.png");
}
#menu .gnavi .about a {
  background-image: url("../img/common/ico_about.png");
}

#menu .gnavi .map a {
  background-image: url("../img/common/ico_map.png");
}

#menu .fnavi, #menu .social {
  display: none;
}
@media screen and (max-width: 1200px) {
  #menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    padding-top: 60px;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
  }
  #menu.active {
    opacity: 1;
    pointer-events: inherit;
  }
  #menu h2 {
    display: block;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
  }
  #menu .gnavi {
    display: block;
    border-top: 1px solid #ddd;
  }
  #menu .gnavi li {
    border-bottom: 1px solid #ddd;
  }
  #menu .gnavi li + li {
    margin-left: 0;
  }
  #menu .gnavi li a {
    background-position: left 20px center;
    background-size: 30px;
    padding: 0 20px;
    padding-left: 60px;
    height: 50px;
  }
  #menu .gnavi .home {
    display: block;
  }
  #menu .fnavi {
    display: block;
    margin: 30px 0;
  }
  #menu .fnavi li {
    margin-bottom: 15px;
    text-align: center;
  }
  #menu .fnavi .contact {
    display: inline-block;
    background: url("../img/common/mrk_contact.png") no-repeat left center;
    background-size: 14px;
    padding-left:20px;
    font-size: 1em;
  }
  #menu .social {
    display: flex;
    justify-content: center;
    margin-top: 50px;
  }
  #menu .social a + a {
    margin-left: 25px;
  }
}

/*
  FOOTER
-------------------------------------------------- */
#footer {
  position: relative;
  background: #2c2c2c;
  text-align: center;
  padding: 80px 10px 40px;
  color: #fff;
}
#footer address {
  margin: 40px 0;
}
#footer address span {
  display: inline-block;
}
#footer .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}
#footer .nav li {
  margin-right: 20px;
}
#footer .nav li::after {
  margin-left: 20px;
  content: "/";
}
#footer .nav li:last-child {
  margin-right: 0;
}
#footer .nav li:last-child::after {
  display: none;
}
#footer a {
  color: #fff;
  transition: all .3s;
}
#footer a:hover {
  text-decoration: none;
  opacity: .5;
}
#footer .copyright {
  font-size: 0.778em;
}
#footer .pagetop {
  position: absolute;
  right: 5%;
  bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 50%;
}
@media screen and (max-width: 560px) {
  #footer {
    padding: 40px 20px;
  }
  #footer address {
    margin: 20px 0;
  }
  #footer .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 35px;
  }
  #footer .nav li {
    margin-right: 10px;
  }
  #footer .nav li::after {
    margin-left: 10px;
  }
  #footer .pagetop {
    right: 20px;
    bottom: 30px;
    width: 40px;
    height: 40px;
  }
}
