body {
    text-align: center;
    color: #6f4a3b;
    overflow: hidden;
    width: 100%;
    background: #ffffff;
}

a{
   text-decoration: none;
    outline: unset;
}
a img:hover{
    opacity: 0.6;
}
html {
    overflow-x: hidden;
    background-color: #ffffff;
}
ul li {
    list-style: none;
}
img{
    vertical-align: bottom;
}
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 700px) {
.pc { display: none !important; }
.sp { display: block !important; }
}
img.sp {
    width: 100%;
}



/*header*/
header {
    position: fixed;
    background-color: rgba(43, 161, 255, 0.5);
    width: 100%;
    text-align: left;
    z-index: 2;
}
header img {
    width: 30%;
    max-width: 200px;
    margin: 1%;
    vertical-align: middle;
}
header .header_logo{
    width: 50%
}
.pc {
    width: 100%;
}
nav.pc {
    position: absolute;
    right: 16px;
    top: 0px;
    text-align: right;
    width: 50%;
}
nav.pc ul {
    display: inline-flex;
}
nav.pc ul li> a {
    color: #ffffff;
    padding: 0 20px;
    margin-right: 10px;
    font-size: 2vmax;
    letter-spacing: 1px;
    line-height: normal;
    border-right: solid 2px;
}


/*main */
div#main {
    background-color: #ffffff;
}

div#main .about_cont{
    position: relative;
    max-width: 1200px;
    margin: auto;
}
div#main .about_cont .about_cont_btn{
    position: absolute;
    bottom: 15%;
    right: 11%;
    text-align: left;
    width: 24%;
}
div#main .about_cont .about_cont_btn img{
    width: 100%;
    display: block;
    margin-bottom: 3%;
}

div#goods{
    background-image: url(../image/goods_bg.jpg);
    background-size: 100%;
    background-repeat: repeat-y;
    padding-top: 90px;
}
div#goods .cont{
    max-width: 1200px;
    margin: auto;
    position: relative;
}
.cont .absolute{
  position: absolute;
  width: 23%;
}
div#goods .absolute img{
  width: 100%;
}
div#goods .item_cont{
    position: relative;tive;
}
div#goods .item_cont .item_cont_btn{
    position: absolute;
    bottom: 3%;
    right: 2%;
    width: 31%;
}
div#goods img{
    width: 100%;
}


div#goods2{
    background-image: url(../image/goods_bg.jpg);
    background-size: 100%;
    background-repeat: repeat-y;
    padding-top: 90px;
}
div#goods2 .cont{
    max-width: 1200px;
    margin: auto;
    position: relative;
}
div#goods2 .item_cont{
    position: relative;
}
div#goods2 .item_cont .item_cont_btn{
    position: absolute;
    bottom: 3%;
    right: 2%;
    width: 31%;
}
div#goods2 img{
    width: 100%;
}
/*footer*/
footer {
    background-color: #ffe158;
    text-align: center;
    width: 100%;
}
footer img {
    margin: 36px 98px;
    width: 23%;
}



/*other*/
a >.top {
    position: fixed;
    right: 51px;
    bottom: 32px;
    background-color: #000000;
    padding: 23px 27px;
    border-radius: 14px;
    opacity: .7;
    letter-spacing: 2px;
    font-size: 26px;
    color: #ffffff;
}
div#snsbtn {
    position: absolute;
    top: 115px;
    display: inline-flex;
    right: 0;
}


/* ----- 1050 ----- */
@media screen and (max-width:1050px){
div#snsbtn {
    top: 85px;
    /*top: 139px;*/
}
}



/* ----- 700 ----- */
@media screen and (max-width:700px){

div#goods{
    padding-top: 0px;
    margin-top: 30px;
}
div#goods2{
    padding-top: 0px;
    margin-top: 30px;
}
footer img {
    width: 45%;
}
div#snsbtn {
    position: relative;
    top: 0px;
    right: 0px;
    margin-top: 20px;
}
header {
    text-align: center;
    position: relative;
}
header img {
    width: 43%;
    margin: 1% 1%;
    vertical-align: middle;
}
header .header_logo{
    width: 80%;
    text-align: center;
}
a >.top {
    padding: 10px 10px;
}
iframe#twitter-widget-0 {
    margin-right: 13px;
}
nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;
}

nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.66);
}

nav.globalMenuSp ul li {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 2px dotted #969696;
}

/* 最後はラインを描かない */
nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

nav.globalMenuSp ul li a {
    display: block;
    color: #ffffff;
    padding: 1.7em 0;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateY(0%);
}
.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 13px;
    top: 12px;
    width: 42px;
    height: 51px;
    cursor: pointer;
    z-index: 3;
    background: #ed6492;
    text-align: center;
}

.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 30px;
    border-bottom: solid 3px #eee;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
}

.navToggle span:nth-child(1) {
    top: 9px;
}

.navToggle span:nth-child(2) {
    top: 18px;
}

.navToggle span:nth-child(3) {
    top: 27px;
}

.navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 9px;
    font-weight: bold;
    top: 34px;
}
/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
img.coming {
    bottom: 0px;
}
}


/* ----- 450 ----- */
@media screen and (max-width:450px){


  footer img {
    margin: 12px 0px;
}
}



    .r18 {
      position: fixed;
      display: none;
      z-index: 9999;
      top: 40%;
      left: 50%;
      width: 587px;
      height: 361px;
      margin: -120px 0 0 -220px;
      padding: 2px;
      text-align: center;
      background: #fff url(https://www.melonbooks.co.jp/special/b/0/fair_shoseki/20180405_killtime_onlyshop/images/cushion.gif) right top no-repeat;
      border: solid 4px #f00;
    }

    .r18 p {
      margin-bottom: 10px;
      line-height: 1em;
      font-size: 0.9em;
    }

    .r18 a {
      cursor: pointer;
    }

    .cushion {
      padding: 60px 200px 0 30px;
    }

    .cushion h2 {
      color: #e40d0d;
      font-size: 26px;
      padding: 0px;
    }

    .cuhion p {
      font-size: 13px;
      line-height: 1.6;
    }

    .cushion .mb20 {
      padding: 5px;
    }

    .cushion a {
      background: url(https://www.melonbooks.co.jp/special/b/0/fair_shoseki/20180405_killtime_onlyshop/images/btn_yesno.gif) left top no-repeat;
      display: inline-block;
      color: rgba(0, 0, 0, 0);
      line-height: 35px;
      width: 169px;
      height: 35px;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }


    .cushion>a.yes {
      background-position: 0px 0px;
      margin-left: 8px;
    }

    .cushion>a.no {
      background-position: -169px 0px;
      margin-left: 8px;
    }

    .cushion>a.yes:hover {
      background-position: 0px -35px;
    }

    .cushion>a.no:hover {
      background-position: -169px -35px;
    }


/*ポップアップ*/
.popup_wrap input {
  display: none;
}
.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(255, 215, 215, 0.4);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}
.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}
.popup_content {
    position: relative;
    align-self: center;
    max-width: 700px;
    width: 80%;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4em;
    transition: 0.5s;
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(94, 94, 94, 0.7);
    padding: 10px 20px;
    height: 90vh;
    overflow-y: scroll;
}
.popup_content p {
    padding: 20px 20px 5px 20px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #432f6e;
}
.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
  color:#37beb0;
}
.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}
.open_btn {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}
.open_btn img {
    max-width: 100%;
}
.open_btn:hover {
    background-color: #f0cdcd;
}
img.opacity:hover{
  opacity: 0.6;
}