:root {
  --black: #333;
  --darkgray: #707070;
  --gray: #636E72;
  --lightgray: #D8D8D8;
  --red: #E60011;
  --yellow: #FBB03B;
  --white: white;

  --t-large: 2.0rem;
  --t-semilarge: 1.8rem;
  --t-medium-size: 1rem;
  --t-form-title: 0.9rem;
  --t-form-input: 1rem;
  --t-form-ph: 0.8rem;
  --t-small: 0.8rem;
  --t-xsmall: 0.65rem;

  --t-bold: 500;
  --t-medium-weight: 400;
  --t-light: 300;
}

body {
  color: var(--black);
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding-bottom: 100px;
}


body > main {
  padding-top: 125px;
}

body .container,
body > main .container {
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
  overflow: hidden;
}

body span.yen {
  margin-right: 4px;
}

body > main .container h2.page-title {
  font-size: var(--t-large);
  font-weight: var(--t-bold);
  text-align: center;
  margin-bottom: 55px;
}
body > main .container h2.page-title > span.sub-title {
  font-size: var(--t-medium-size);
  display: block;
  margin-top: 10px;
  font-weight: 300;
}

body > main .container h6.caption-text {
  margin: 40px auto 45px auto;
  font-weight: 300;
  font-size: 1rem;
}

body > main .container .mypage-menu {
  margin: 20px 0;
}


body > main .container .mypage-menu > a.button-menu:hover {
  color: var(--gray);
}

body > main .container .mypage-menu > a.button-menu.active {
  color: var(--red);
}

body > main .container a.button,
body > main .container button.button {
  border: 1px solid var(--lightgray);
  background-color: var(--white);
  height: 55px;
  letter-spacing: 1px;
  font-size: var(--t-medium-size);
  font-weight: var(--t-bold);
  text-decoration: none;
}

/* submit button */
body > main .container a.button.button-submit,
body > main .container button.button.button-submit {
  background-color: var(--yellow);
  font-size: var(--t-medium-size);
  font-weight: var(--t-bold);
  border: 0;
  color: #3d3d3d !important;
}


/* cancel button */
body > main .container a.button.button-cancel,
body > main .container button.button.button-cancel {
  background-color: var(--white);
  font-size: var(--t-medium-size);
  font-weight: var(--t-bold);
}

/* remove button */
body > main .container a.button.button-remove,
body > main .container button.button.button-remove {
  background-color: var(--red);
  color: #f1f1f1;
  font-size: var(--t-medium-size);
  font-weight: var(--t-bold);
  border: 0;
}

/* detail button */
body > main .container a.button.button-detail,
body > main .container button.button.button-detail {
  width: calc(100% - 14px);
  margin-left: 14px;
  background-color: #f1f1f1;
  color: #2f3542;
  font-size: var(--t-medium-size);
  font-weight: var(--t-bold);
}

/* my page menu buttons */
body > main .container a.button.button-menu,
body > main .container button.button.button-menu {
  font-weight: var(--t-bold);
  border: 1px solid var(--lightgray);
  background-color: var(--white);
  color: black;
  width: 18%;
}

body > main .container a.button.button-menu.active,
body > main .container button.button.button-menu.active {
  color: var(--red);
}

/* cart box */
body > main .container form > .cart-box,
body > main .container .wrapper > .cart-box {
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  margin-left: 20px;
  height: 216px;
  background-color: rgba(241, 241, 241, 0.68);
  padding: 10px;
}
body > main .container form > .cart-box.short,
body > main .container .wrapper > .cart-box.short {
  height: 246px;
}
body > main .container form > .cart-box > h3.title,
body > main .container .wrapper > .cart-box > h3.title {
  font-weight: 500;
  margin-bottom: 30px;
}
body > main .container form > .cart-box > dl,
body > main .container .wrapper > .cart-box > dl {
  height: 30px;
}
body > main .container form > .cart-box > dl.grand-total,
body > main .container .wrapper > .cart-box > dl.grand-total {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 500;
  height: 40px;
  padding: 0 5px;
  /*border-top: 1px solid #989fa8;*/
}
body > main .container form > .cart-box > dl > dt,
body > main .container .wrapper > .cart-box > dl > dt {
  width: 140px;
  color: #989fa8;
  font-size: .8rem;
}
body > main .container form > .cart-box > dl > dd,
body > main .container .wrapper > .cart-box > dl > dd {
  width: calc(100% - 140px);
  justify-content: flex-end;
}
body > main .container form > .cart-box > dl.grand-total > dd,
body > main .container .wrapper > .cart-box > dl.grand-total > dd {
  font-size: 1.2rem;
}
body > main .container form > .cart-box > a.prev,
body > main .container .wrapper > .cart-box > a.prev {
  height: 40px;
  width: 100%;
  background-color: #ffffff;
  font-size: .8rem;
  margin-bottom: 10px;
  margin-top: 10px;
}
body > main .container form > .cart-box > a.next,
body > main .container form > .cart-box > button.next,
body > main .container .wrapper > .cart-box > a.next,
body > main .container .wrapper > .cart-box > button.next {
  font-size: .8rem;
  height: 40px;
  width: 100%;
  background-color: var(--yellow);
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}


/*!***/
/*ここからヘッダー*/
/***!*/
header#header {
  position: fixed;
  z-index: 11;
  width: 100%;
  height: 65px;
  background-color: #ffffff;
  border-bottom: 1px solid #E5E5E5;
  transition: all .3s;
  box-sizing: border-box;
}

header#header.scrolled {
  height: 50px;
  box-shadow: rgba(0, 0, 0, 0.04) 0 3px 5px;
}


/* left / brand */
header#header .container {
  width: 100%;
  overflow: initial;
}

header#header .container > .brand {
  width: 200px;
  max-width: 200px;
}

header#header .container > .brand > img {
  transition: .5s ease;
  height: 26px;
}

header#header.scrolled .container > .brand > img {
  height: 22px;
}


/* right / navigation */
header#header .container > nav {
  height: 100%;
  width: calc(100% - 200px);
}

header#header .container > nav#hamburger {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: none;
}

/* login */
header#header .container > nav > a {
  transition: .5s ease;
  font-size: .85rem;
  height: 34px;
  width: 80px;
  text-align: center;
}

header#header.scrolled .container > nav > a {
  font-size: .8rem;
  height: 30px;
  width: 80px;
  text-align: center;
}

header#header .container > nav > a.register {
  border: 1px solid #e63946;
  color: #e63946;
  font-weight: 500;
  width: 120px;
  border-radius: 35px;
  transition: .5s ease;
}

header#header .container > nav > a.login:hover {
  color: #e63946;
}

header#header .container > nav > a.register:hover {
  background-color: rgba(230, 57, 70, 0.05);
}

/* logged in */
header#header .container > nav > a.logout,
header#header .container > nav > a.logged-in {
  width: auto;
  overflow: initial;
}

header#header .container > nav > a.logged-in:hover > .wrapper > span.my-page {
  color: #e63946;
}

header#header .container > nav > a.logged-in > span.wrapper > span.email {
  font-size: .7rem;
  color: #989fa8;
  font-weight: 400;
}

header#header .container > nav > a.logged-in > span.wrapper > span.my-page {
  font-size: 1rem;
  color: #2f3542;
  font-weight: 500;
  transition: .5s ease;
}

header#header.scrolled .container > nav > a.logged-in > span.wrapper > span.my-page {
  font-size: .9rem;
  color: #2f3542;
  font-weight: 500;
}

header#header .container > nav > a.cart {
  width: 40px;
}
header#header .container > nav > a.logged-in > img,
header#header .container > nav > a.cart > img {
  margin-left: 14px;
  height: 26px;
}
header#header .container > nav > a.cart > img {
  height: 28px;
}
header#header .container > nav > a.cart > span.item-count {
  width: 14px;
  border-radius: 50%;
  font-size: .6rem;
  height: 14px;
  position: absolute;
  right: -8px;
  top: -5px;
  background-color: #e63946;
  color: #ffffff;
}

header#header .container > nav > a.logout {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 2px solid rgba(152, 159, 168, 0.35);
  color: #e63946;
  font-weight: 500;
}

header#header .container > nav > a.logout > img {
  width: 30px;
}


/*!***/
/*ここからフッター*/
/***!*/
footer#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background-color: #22223b;
}

footer#footer > .container {
  height: 60px;
}

footer#footer > .container > .brand {
  width: 200px;
}

footer#footer > .container > .brand > img {
  transition: .5s ease;
  height: 22px;
}

footer#footer > .container > .nav {
  width: calc(100% - 200px);
}

footer#footer > .container > .nav > a {
  font-size: .75rem;
  color: rgba(241, 241, 241, 0.63);
  height: 30px;
  margin-left: 20px;
}

footer#footer > .container > .nav > a:first-child {
  margin-left: 0;
}

footer#footer > .container > .nav > a:hover {
  color: #E60011;
}

footer#footer > .bottom-bar {
  height: 40px;
  border-top: 1px solid rgba(19, 19, 33, 0.75);
}

footer#footer > .bottom-bar > p.copywrite {
  font-size: .7rem;
  color: rgba(241, 241, 241, 0.48);
  text-align: center;
}


/* smart phone queries*/
@media screen and (max-width: 768px) {
  a.button-menu {
    height: 40px;
    width: 48% !important;
    margin-bottom: 10px;
  }

  a.button-cancel,
  a.button-details {
    width: 140px;
    height: 45px;
  }
}

@media screen and (max-width: 500px) {

  :root {
    --t-large: 1.4rem;
    --t-semilarge: 1.2rem;
    --t-medium-size: 1rem;
    --t-form-title: 1rem;
    --t-form-input: 1rem;
    --t-form-ph: 1rem;
    --t-small: .8rem;
    --t-xsmall: 0.8rem;
  }

  body > main {
    padding-top: 115px;
    padding-bottom: 110px;
  }

  a.button-menu {
    height: 40px !important;
    font-size: .8rem !important;
  }

  /* header */
  header#header {
    height: 55px;
  }

  header#header .container > .brand {
    width: 100px;
  }

  header#header .container > .brand > img {
    height: 18px !important;
    width: auto;
  }

  header#header .container > nav {
    width: calc(100% - 100px);
  }

  header#header .container > nav > a {
    font-size: .75rem;
    height: 30px;
  }

  header#header .container > nav > a.login {
    width: 56px;
  }

  header#header .container > nav > a.register {
    width: 100px;
  }

  header#header .container > nav > a.logged-in {
    width: 135px;
  }

  header#header .container > nav > a.logged-in > span.wrapper > span.email {
    font-size: .6rem;
    display: none;
  }

  header#header .container > nav > a.logged-in > span.wrapper > span.my-page {
    font-size: .8rem;
  }

  header#header .container > nav > a.logged-in > img {
    width: 20px;
  }
  header#header .container > nav > a.logout > img {
    height: 22px;
  }

  /* product details */
  .product-details > .product-content {
    flex-direction: column !important;
  }
  .product-details > .product-content > .left {
    width: 100% !important;
  }
  .product-details > .product-content > .right {
    width: 100% !important;
  }

  /* footer */
  footer#footer {
    height: 210px;
  }

  footer#footer > .container {
    height: 170px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    justify-content: space-around;
  }

  footer#footer > .container > .brand {
    position: relative;
    bottom: 6px;
    display: flex;
    justify-content: center;
  }

  footer#footer > .container > .nav {
    width: 100%;
    flex-direction: column;
  }

  footer#footer > .container > .nav > a {
    margin-left: 0;
  }
}
