﻿/*
Theme Name: nankaibooks
*/

@charset "utf-8";

/* base
--------------------------------------------*/
* {
  font-family: 'Noto Sans Japanese','HiraKakuProN-W3','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3';
}
html { font-size: 62.5%; }

/* layout
--------------------------------------------*/
#container {
  width: 850px;
  margin: 0 auto;
}

/* body
--------------------------------------------*/
body {
  line-height: 1.6;
/*  background-image: url("./images/bg.gif");
  background-repeat: repeat;
  background-position: 0 0; */
  font-size: 1.4rem;
}
a {
  color: #660000;
}

/* header
--------------------------------------------*/
header {
  position: relative;
  background: repeating-linear-gradient(45deg, #fdbf43 0, #fdbf43 15px, #fc6 15px, #fc6 30px);
}
header #headerUpper {
  width: 1110px;
  margin: 0 auto;
  padding: 8px 0;
}
header #siteTitle {
  box-sizing: border-box;
}
header #siteTitle h1,
header #siteTitle .siteTitle {
  margin-bottom: 8px;
  font-size: 25px;
}
header #siteTitle a {
  text-decoration: none;
  color: #000;
}
header .search {

}
header .search input[type="text"] {
  width: 180px;
  border: solid 1px #000;
  border-radius: 0;
  -webkit-appearance: none;
}
header .search input[type="submit"] {
  line-height: 25px;
  border: none;
  background: none;
  background-color: #000;
  border-radius: 0;
  -webkit-appearance: none;
  cursor: pointer;
  color: #FFF;
}
header nav {

}
header nav li {

}
header nav li a {
  text-decoration: none;
  color: #660000;
}

/* menu */
header nav {
  position: fixed;
  top: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(255,204,102,0.9);
  z-index: 100;
}
header nav ul {
  width: 100%;
  margin: 100px 0;
}
header nav ul li {

}
header nav ul li a {
  display: block;
  margin-bottom: 0;
  padding: 30px 10px;
  border-bottom: solid 1px #000;
  background-color: rgba(255,255,255,0.5);
  text-align: center;
  font-weight: bold;
  font-size: 1.7rem;
}
#menuButton {
  position: absolute;
  right: 15px;
  top: 20px;
  display: block;
  z-index: 100000;
}
#memberButton {
  position: absolute;
  left: 0px;
  top: 0px;
  display: block;
  z-index: 100000;
}
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
  display: block;
  color: #FFF;
  font-size: 14px;
  font-size: 12px; /*add UDW 20161212*/
  height: 21px;
  overflow: hidden;
  position: relative;
  padding: 0;
  text-align: center;
  cursor: pointer;
}
.menu-trigger {
  position: relative;
  width: 40px;
  height: 32px;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background-color: #660000;
}
.underSpHeader .menu-trigger span {
  background-color: #222;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 14px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}
.menu-trigger.active span {
  background-color: #000;
  color: #000;
}
.menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(14px) rotate(-45deg);
  transform: translateY(14px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-13px) rotate(45deg);
  transform: translateY(-13px) rotate(45deg);
}

/* main
--------------------------------------------*/
#main {

}
#contents {
/*  padding: 20px; */
  box-sizing: border-box;
}
body:not(.home) #contents {
  width: 900px;
  margin: 0 auto 50px;
  padding: 40px;
  border-radius: 10px;
  background-color: #FFF;
}
#contents .content {
  padding: 60px 0;
}
#contents .content .inner {

}
body:not(.home) .content h1 {
  margin-bottom: 50px;
  padding: 0.8em 0.8em;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  border-radius: 10px;
  text-align: center;
  text-shadow: 0 0 5px white;
  font-size: 2.8rem;
  color: #010079;
}
body.page .content h2 {
  margin-bottom: 30px;
  font-size: 2.4rem;
  color: #010079;
}
body.page .content h3 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #010079;
}

/* side
--------------------------------------------*/
#side > div{
  margin-bottom: 30px;
  padding: 20px;
  border: solid 1px #000;
  box-sizing: border-box;
}
#side > div .head {
  margin-bottom: 8px;
  padding: 2px 0 5px;
  font-size: 18px;
}

/* footer
--------------------------------------------*/
footer {

}
footer #page-top {
  position: fixed;
  right: 10px;
  bottom: 20px;
  display: none;
  width: 54px;
}
footer .footerContent {
  background-color: #FFF;
}
footer ul {
  width: 1160px;
  margin: 0 auto;
  padding: 60px 0 40px;
}
footer ul li {
  float: left;
  width: calc((100% - 60px) / 3);
  margin-right: 30px;
  margin-bottom: 20px;
  padding: 5px;
  border: solid 4px #ff992b;
  border-radius: 10px;
  box-sizing: border-box;
}
footer ul li:last-child {
  margin-right: 0;
}
footer ul li a {
  position: relative;
  display: block;
  line-height: 90px;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, #fff 0, #fff 15px, #fef 15px, #fef 30px);
  letter-spacing: 3px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: bold;
  font-size: 2rem;
  color: #ff992b;
}
footer ul li a:hover {
  opacity: 0.7;
}
footer ul li a:after {
  position: absolute;
  display: block;
  content: "";
  background-positon: 0 0;
  background-repeat: no-repeat;
}
footer ul li:nth-child(1) a:after {
  left: -82px;
  bottom: -110px;
  width: 200px;
  height: 341px;
  background-image: url("./images/ic_02.png");
  transform: scale(0.48);
}
footer ul li:nth-child(2) a:after {
  right: -78px;
  bottom: -106px;
  width: 200px;
  height: 323px;
  background-image: url("./images/ic_01.png");
  transform: scale(0.45);
}
footer ul li:nth-child(3) a:after {
  right: -78px;
  bottom: -67px;
  width: 200px;
  height: 210px;
  background-image: url("./images/ic_03.png");
  transform: scale(0.45);
}
footer #copyright {
  padding: 10px 0 15px;
  background-color: #ff992b;
  text-align: center;
}

/* slider
---------------------------------------------*/
.metaslider {
  margin-bottom: 70px;
}

/* TOP
---------------------------------------------*/
#tw {
  margin-bottom: 50px;
}
#blog {
  margin-bottom: 20px;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #FFF;
}
#blog h2 {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(15,70,100,.12);
  background: repeating-linear-gradient(45deg, #fdbf43 0, #fdbf43 15px, #fc6 15px, #fc6 30px);
  text-align: center;
  font-size: 2.7rem;
  font-weight: normal;
}
#blog ul {
  padding: 35px 20px;
  background-color: #FFF;
}
#blog li {
  margin-bottom: 20px;
}
#blog li a {
  text-decoration: none;
  font-size: 1.6rem;
}
#blog li a .date {
  margin-right: 10px;
}
#blog li a .title {
  
}
#blog .more {
  clear: both;
  padding: 10px;
  text-align: right;
}
#blog .more a {

}
body.home .more {
/*  float: left;
  width: calc((100% - 30px) / 2); */
}
body.home .more a {
  display: block;
  line-height: 100px;
  background-color: #ff992b;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 1.8rem;
  color: #FFF;
}
body.home .more a:hover {
  opacity: 0.7;
}
#contents .content#tw {
  background-color: #70b9e5;
  background-image: url("./images/bg-pattern.jpg");
  background-repeat: repeat;
  background-position: center 0;
}
#contents .content#blog .inner {
  background-image: url("./images/kamifubuki.png");
  background-size: 500px auto;
  background-repeat: repeat-x;
  background-position: center -65px;
}
#contents .content#blog .inner .chara {
  float: left;
  width: 460px;
  text-align: center;
}
#contents .content#blog .inner .list {
  float: right;
  margin-bottom: 60px;
  border: solid 3px #ff992b;
  border-radius: 20px;
  box-shadow: 4px 4px 0 0 #ddd;
  overflow: hidden;
}
#contents .content#tw .inner .chara {
  float: right;
  width: 460px;
  margin-top: 30px;
  text-align: center;
}
#contents .content#tw .inner .list {
  float: left;
}
#contents .content#tw .inner .list iframe {
   border-radius: 20px;
}
#contents .content#tw .inner .list iframe html {
  
}
.timeline-InformationCircle-widgetParent {
  
}


/* SHOP
---------------------------------------------*/
body.shop #contents {
  position: relative;
}
body.shop #contents:after {
  position: absolute;
  display: block;
  content: "";
  right: calc(50% - 490px);
  bottom: -157px;
  width: 400px;
  height: 554px;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-image: url("./images/ic_04.png");
  transform: scale(0.4);
}
body.shop #contents {
  width: auto;
  padding: 40px 0;
}
body.shop .article {
  text-align: center;
}
body.shop #text {
  margin-bottom: 20px;
}
body.shop .auth {
  margin-bottom: 50px;
}
body.shop .info {
  margin-bottom: 30px;
}
body.shop #shopPhotos {
  position: relative;
  margin-bottom: 50px;
  padding: 50px;
  background-color: #FFF0D1;
  background: url("./images/bg-pattern.jpg");
}
body.shop #shopPhotos .chara1 {
  position: absolute;
  top: -60px;
  left: calc(50% - 522px);
}
body.shop #shopPhotos ul {
  position: relative;
  height: 100%;
}
body.shop #shopPhotos li {
  
}
body.shop #shopPhotos li a {
  display: inline-block;
  width: 110px;
  height: 110px;
  border-radius: 70px;
  text-align: center;
  /*! overflow: hidden; */
  position: relative;
}
body.shop #shopPhotos li a:after {
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  display: none;
  content: "";
  width: 110px;
  height: 110px;
  position: absolute;
  top: -5px;
  left: -16px;
  border-radius: 70px;
  z-index: 1;
}
body.shop #shopPhotos li img {
  border-radius: 74px;
  width:110px;
  height: 110px;
  z-index: 2;
  position: relative;
}
body.shop #shopPhotos li span {
  display: block;
}

/* archive
---------------------------------------------*/
body.archive .content ul {
  margin-bottom: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}
body.archive .content ul li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: solid 1px #000;
}
body.archive .content ul li a {
  text-decoration: none;
}
body.archive .content ul li .date {
  margin-right: 10px;
}
body.archive .content ul li .title {
  
}
body.archive .content .pagenation {
  text-align: center;
  text-decoration: none;
}
body.archive .content .pagenation a,
body.archive .content .pagenation span {
  padding: 10px 15px;
  background-color: #cce7ff;
  border: solid 2px #cce7ff;
  text-decoration: none;
}
body.archive .content .pagenation a.prev,
body.archive .content .pagenation a.next {
  border: none;
  background-color: transparent;
}
body.archive .content .pagenation span.page-numbers {
  background-color: transparent;
}

/* single
---------------------------------------------*/
body.single .content {
  
}
body.single .content .date {
  margin-bottom: 30px;
  text-align: right;
}
body.single .content .cap {
  margin-bottom: 30px;
}
body.single .content .cap img {
  max-width: 100%;
  height: auto;
}
body.single .content .cap h2 {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: dashed 2px #010079;
  color: #010079;
  font-size: 2.5rem;
}
body.single .content .cap h3 {
  margin-bottom: 30px;
  padding: 0.1em 0.5em;
  border-left: solid 5px #010079;
  background: transparent;
  font-size: 2.1rem;
  color: #010079;
}
body.single .content .cap h4 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #010079;
}
body.single .content .cap table {
  
}
body.single .content .cap table th,
body.single .content .cap table td {
  padding: 10px 15px;
  border: solid 1px #000;
}
body.single .content .cap table th {
  background-color: #e9f4ff;
  color: #010079;
}
body.single .content .cap table td {
  
}
body.single .content .cap ul {
  
}
body.single .content .cap ul li {

}
body.single .content .cap ul li:before {
  content: "■";
  margin-right: 5px;
  color: #010079;
}
body.single .content .screen-reader-text {
  display: none;
}
body.single .content .nav-links {
  max-width: 500px;
  margin: 0 auto;
}
body.single .content .nav-links:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility:
  hidden;
}
body.single .content .nav-links .nav-previous {
  float: left;
}
body.single .content .nav-links .nav-next {
  float: right;
}



@media screen and (max-width:640px) {
  html {
    font-size: 52.5%;
  }
  /* header */
  header {
    width: 100%;
  }
  header #headerUpper {
    width: 100%;
  }
  header #siteTitle {
    width: 100%;
    margin-bottom: 0;
  }
  header #siteTitle h1, 
  header #siteTitle .siteTitle {
    margin-bottom: 0;
  }
  header .search {
    width: 100%;
    text-align: center;
  }

  /* main */
  #contents {

  }
  #contents .content {
    width: calc(100% - 20px);
    margin: 0 10px 30px;
  }
  body:not(.home) #contents {
    width: 100%;
    padding: 40px 10px;
  }
  .article {
    margin: 0 10px 30px;
  }
  #side {
    width: calc(100% - 20px);
    margin: 0 10px 30px;
  }

  /* footer */
  footer ul {
    width: 100%;
    padding: 60px 10px 40px;
    box-sizing: border-box;
  }
  footer ul li {
    float: none;
    width: 100%;
    margin-right: 0;
  }
  footer ul li a {
    line-height: 62px;
  }
  footer ul li:nth-child(1) a::after {
    transform: scale(0.4);
  }
  footer ul li:nth-child(2) a::after {
    right: -67px;
    transform: scale(0.4);
  }
  footer ul li:nth-child(3) a::after {
    right: -60px;
    bottom: -82px;
    transform: scale(0.33);
  }

  /* slider */
  body.home .metaslider {
    height: 230px;
    width: 500px;
    margin-bottom: 30px;
    overflow: hidden;
  }
  body.home .metaslider > div {
    position: relative;
    left: 50%;
    width: 500px;
    height: 200px;
    margin-left: -250px;
  }
  body.home .metaslider .slides li {
    width: 500px !important;
    height: 200px !important;
  }
  body.home .metaslider .slides li img {
    width: 100%;
    height: auto;
  }


  /* top */
  body.home .more {
    float: none;
    width: 100%;
    box-sizing: border-box;
  }
  body.home .more a {
    line-height: 70px;
    font-size: 1.4rem;
  }
  #contents .content#blog {
    padding-top: 0;
  }
  #contents .content#blog .inner {
    padding-top: 30px;
    background-repeat: repeat;
  }
  #contents .content#blog .inner .chara {
    display: none;
  }
  #contents .content#blog .inner .list {
    float: none;
  }
  #contents .content#tw {
    width: 100%;
    margin: 0 0 30px;
  }
  #contents .content#tw .inner {
    position: relative;
    width: calc(100% - 20px);
    margin: 0 auto;
  }
  #contents .content#tw .inner .list {
    float: none;
  }
  #contents .content#tw .inner .chara {
    position: absolute;
    top: -185px;
    right: 0;
    width: 120px;
    height: auto;
  }
  #contents .content#tw .inner .chara img {
    width: 100%;
    height: auto;
  }

  /* shop */
  body:not(.home) .content h1 {
    margin: 0 10px 50px;
    font-size: 2.4rem;
  }
  body:not(.home) #contents {
    padding: 40px 0 0;
  }
  body.shop #contents::after {
    display: none;
    right: -128px;
    bottom: -275px;
    transform: scale(0.3);
  }
  body:not(.home) #contents .content {
    width: 100%;
    margin: 0 auto 30px;
    padding: 30px 0 0;
  }
  body:not(.home) #contents .content .article {
    margin: 0 auto 30px; 
  }
  body.shop #shopPhotos li {
    margin-bottom: 30px;
  }
  body.shop #shopPhotos li:last-child {
    margin-bottom: 0;
  }
  body.shop #shopPhotos .chara1 {
    left: 20px;
    width: 100px;
    height: auto;
  }
  body.shop #shopPhotos .chara1 img {
    width: 100%;
    height: auto;
  }

  /* archives */
  body.archive .content .pagenation a,
  body.archive .content .pagenation span {
    padding: 5px 7px;
  }

  /* single */
  body.single #contents .content .article {
    margin: 0 10px 30px;
    font-size: 1.6rem;
  }
  body.single .content h1 {
    margin: 0 0 50px;
  }

  /* common */
  .pc {
    display: none;
  }
}

@media screen and (min-width:641px) {
  header {
    min-width: 1200px;
    box-sizing: border-box;
  }
  header #siteTitle {
    float: left;
  }
  header #headerLeft {
    float: right;
    margin-bottom: 20px;
  }
  #main {

  }
  #contents {

  }
  #contents .content {

  }
  #contents .content .inner {
    width: 1030px;
    margin: 0 auto;
    padding: 0px 80px;
    box-sizing: border-box;
  }
  #contents .content .inner .list {
    width: 380px;
  }
  #contents .content#tw {

  }
  #side {
    display: none;
  }
  footer {
    min-width: 1200px;
  }

  /* TOP */
  body.home .content {
  /*  float: left;
    width: calc((100% - 30px) / 2);
    margin-right: 30px; */
  }
  body.home .content:nth-child(2n) {
    margin-right: 0;
  }
  body.home #tw.content {

  }

  /* shop */
  body.shop #contents h1 {
    width: 900px;
    margin: 0 auto 50px;
  }
  body.shop #text {
    width; 900px;
    margin: 0 auto 20px;
  }
  body.shop #shopPhotos {
    height: 550px;
  }
  body.shop #shopPhotos ul {
    width: 900px;
    margin: 0 auto;
  }
  body.shop #shopPhotos li {
    position: absolute;
  }
  body.shop #shopPhotos li:nth-child(1) {
    top: 0;
    left: 185px;
  }
  body.shop #shopPhotos li:nth-child(2) {
    top: 0;
    right: 116px;
  }
  body.shop #shopPhotos li:nth-child(3) {
    top: 130px;
    left: -65px;
  }
  body.shop #shopPhotos li:nth-child(4) {
    top: 130px;
    left: calc(50% - 70px);
  }
  body.shop #shopPhotos li:nth-child(5) {
    top: 130px;
    right: -65px;
  }
  body.shop #shopPhotos li:nth-child(6) {
    top: 265px;
    left: 137px;
  }
  body.shop #shopPhotos li:nth-child(7) {
    top: 265px;
    right: 170px;
  }
  body.shop #shopPhotos li:nth-child(8) {
    top: 400px;
    left: -97px;
  }
  body.shop #shopPhotos li:nth-child(9) {
    top: 400px;
    right: 311px;
  }
  body.shop #shopPhotos li:nth-child(10) {
    top: 400px;
    right: -70px;
  }
  body.shop #shopPhotos li a {
    
  }
  body.shop #shopPhotos li a:after {
    
  }
  body.shop #shopPhotos li img {
    
  }
  body.shop .info,
  body.shop .time {
    width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  /* common */
  .sp {
    display: none;
  }
}