@charset "UTF-8";
/* CSS Document */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none; }

/*
html {
  height: 100%;
  color: #212121;
  font: 10px AvenirNext-Heavy;
}

body {
  height: 100%;
  background: #f8f8f2;
}*/
[href] {
  color: #212121;
  text-decoration: none; }

.btn {
  cursor: pointer; }

.result {
  visibilty: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -100px;
  width: 200px;
  height: 200px;
  font-size: 20rem;
  line-height: 200px;
  text-align: center;
  opacity: 0; }

#btnMenu {
  display: block;
  position: fixed;
  margin: 0;
  border: 0;
  width: 68px;
  height: 68px;
  top: 0px;
  left: 0px;
  z-index: 5;
  transition: background .2s ease-in-out, width 0s .2s ease-in-out, height 0s .2s ease-in-out;
  -webkit-appearance: none;
  background: #000; }
  #btnMenu:focus {
    outline: none; }
  #btnMenu:before {
    position: absolute;
    top: 32px;
    left: 20px;
    width: 28px;
    height: 4px;
    background: #bdbdbd;
    content: "";
    box-shadow: 0 -8px 0 #bdbdbd, 0 8px 0 #bdbdbd; }
  #btnMenu:checked {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: background .2s ease-in-out; }

#menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -50%;
  width: 40%;
  background: #fff;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  transition: left ease-in-out .2s;
  /*&:before {
    box-sizing: border-box;
    display: block;
    margin: 10px 0;
    padding: 0 10px;
    border-bottom: solid 1px #bdbdbd;
    width: 100%; 
    color: #bdbdbd;
    font-size: 1.4rem;
    content: "レトロフリーク4周年記念キャンペーン";
    line-height: 130%;
  }

  &:after {
    box-sizing: border-box;
    display: block;
    position: absolute;
    bottom: 0; left: 0;
    padding-left: 20px;
    border-top: solid 1px #bdbdbd;
    width: 100%; height: 40px;
    color: #bdbdbd;
    font-size: 1rem;
    content: "";
    line-height: 40px;
  }*/ }
  #menu div {
    overflow-y: auto;
    height: calc(100vh - (1.4rem + 20px));
    /* これを追加 */ }
  #menu .btn {
    box-sizing: border-box;
    display: block;
    padding-left: 20px;
    width: 30%;
    height: 44px;
    font-size: 1.4rem;
    line-height: 44px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.2); }
  #btnMenu:checked + #menu {
    left: 0; }
  #menu h1 {
    color: #666;
    font-weight: normal;
    border-bottom: 1px solid #DDD;
    text-align: left;
    padding: 0 10px;
    margin: 10px 0 0 0; }
  #menu a, #menu p {
    display: block;
    margin: 10px;
    padding: 0; }
  #menu a:hover img {
    opacity: 0.6; }
  #menu img {
    width: 100%;
    height: auto; }

.result:target {
  visibilty: visible;
  opacity: 1; }

@media (max-width: 1040px) {
  #menu {
    left: -80%;
    width: 70%; }
    #menu .btn {
      width: 60%;
      height: 44px; } }
