/*
  Theme Name: Fairly
  Author: hoge
*/

#navMenu .logo {
  margin: 10px;
  width: 100%;
  max-width: 100px;
  height: 100%;
}

/*page-homeにのみある虹色のライン*/
.lineParts {
  position: absolute;
  top: 140px;
  width: 100%;
  height: auto;
  max-width: none;
}

.headerImage {
  position: relative;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  top: 147px;
}
.headerImage img {
   text-align: center;
   width: 100%;
   height: 100%;
}

.topTitle, .title, .singleTitle  {
  color: rgb(100, 7, 60);
}
.topTitle:hover, .title:hover {
  color: rgb(120, 100, 90);
}


#navMenu{
  position:absolute;
  top:0%;
  width:100%;
  height: auto;
  z-index: 10;
  text-align:center;
}
#navMenu li{
  list-style:none;
}

#navMenu li li{
  background-color: rgba(255, 255, 255, 0.8);
}
#navMenu .flexbox {
  align-items: flex-start;
}


#mainMenu {
  position: absolute;
  right: 0;
}
#mainMenu img {
  width:170px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  vertical-align:top;
}
#mainMenu ul{
  display: none;
}

#menuBtn{
	display:none;
}

#primary {
  position: relative;
  top: 150px;
}

#contents {
  margin-right: 5%;
}

#main {
  margin-left: 5%;
  margin-right: 5%;
}
#main .more {
  max-width: 100px;
  margin-left: auto;
}
#main .img img{
  width: auto;
  height: auto;
}

#sidebar {
  background-image: url("./images/sidebar/back.png");
  background-repeat: repeat;
}
#sidebar .title {
  position: relative;
  width: 60%;
  top: -5px;
  left: -5px;
}
#sidebar .twitter {
  overflow: scroll;
}
#sidebar a:hover {
  color: rgb(57, 166, 139)
}
#sidebar .shopInfo, .twitter  {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(255, 255, 255);
}
#sidebar .shopInfoText  {
  padding: 0 15px 15px 15px;
}


#pageTop{
  position:fixed;
  right:20px;
  bottom:20px;
}
#pageTop a {
  padding: 10px 20px;
  color: #fff;
  font-size: 11px;
  text-align: center;
  text-decoration: none;
  background: rgb(57, 166, 139) 30px 50%;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
#pageTop a:hover {
  background: rgb(80, 185, 159) 30px 50%;
}


#footer {
  position: relative;
  top: 150px;
  text-align:center;
}
#footer .img{
  width: 20%;
  height: 20%;
  text-align: right;
  margin-left: auto;
}

#footerMenu {
  width: 80%;
  text-align:center;
  margin-left: auto;
  margin-right: auto;
}
#footerMenu li :hover{
  color: rgb(57, 166, 139);
}


/*レスポンシブ*/
@media only screen and (min-width: 1080px){
  #navMiniMenu {
    display: none;
  }
}

@media only screen and (max-width: 1080px){
  #mainMenu{
    display: none;
  }

  #navMiniMenu .miniMenu{
    width: 90%;
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;

    zoom: 1;
    overflow: hidden;
    background-color: rgba(157, 242, 164, 0.9);
  }
  #navMiniMenu .miniMenu{
    box-sizing:border-box;
    border: 15px double rgba(255, 255, 255, 0.9);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  #navMiniMenu .miniMenu li{
    line-height: 250%;
    margin-top: -2px;
    border-top: 2px solid rgba(255, 255, 255, 0.9);
  }
  #navMiniMenu .miniMenu li a:hover {
    color: rgb(57, 166, 139);
  }

  #menuBtn{
    display: inline-block;
    position: absolute;
    top: 15%;
    right: 2%;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border-radius: 50%;
    background: rgb(126, 218, 133);
  }
  #menuBtn:hover{
    background: rgba(126, 218, 133, 0.8);
  }

  #menuBtnIcon{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: rgba(255, 255, 255, 1.0);
    transition: .0s;
  }
  #menuBtnIcon:before, #menuBtnIcon:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 2px;
    background: rgba(255, 255, 255, 1.0);
    transition: .0s;
  }
  #menuBtnIcon:before{
    margin-top: -6px;
  }
  #menuBtnIcon:after{
    margin-top: 4px;
  }

  #menuBtn .close{
    background: transparent;
  }
  #menuBtn .close:before, #menuBtn .close:after{
    margin-top: 0;
  }
  #menuBtn .close:before{
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #menuBtn .close:after{
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
}

@media only screen and (max-width: 750px){
  #main .flexbox {
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  #sidebar {
    margin-top:40px;
  }

  #contents {
    margin-right: 0;
  }

  #footer {
    display: none;
  }
}

/*@media screen and (max-width: 640px) {
  img {
    max-width:1080px;
    height: auto;
  }
}*/
