@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://use.fontawesome.com/releases/v5.7.1/css/all.css');

/*--------------------------------------------------------------------*/
/* 作品index - 作りたいものから本が探せる */
/*--------------------------------------------------------------------*/

img,video {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.ie8 img{
  width: 100%;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	line-height: 1.3;
}
ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}
em {
	font-style: normal;
}
small,
.small {
  font-size: 85%;
}
.material-icons {
  display: inline-flex;
  vertical-align: middle;
}


@-webkit-keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}
@keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}



/* 新タウン追記
--------------------------------------------------------------------*/
.pane-main {
}
/*.block-globalnav,*/
.block-category-globalnav,
.block-category-list--header,
.block-category-list--comment,
.block-category-list--goods {
	display: none;
}
.wrapper {
  margin-right: 0 !important;
  padding-right: 0 !important;
}
.pane-main .container {
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.freespace {
	padding-left: 0 !important;
	padding-right: 0 !important;
}


/*layout
--------------------------------------------------------------------*/
#loader-wp {
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0px;
  left: 0px;
  z-index: 1;
  background: rgba(125,125,125,.8)
}
#loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  z-index: 2;
}
#loader p {
  color: #fff;
  font-size: 1.25em;
  font-weight: 700;
}


/*layout
--------------------------------------------------------------------*/
#sindex {
  margin: 0;
  padding-bottom: 10px;
}
.sindex-index {
  position: relative;
  box-sizing: border-box;
  padding: 10px 0;
  margin: -5px 10px 0;
  background: url("../../../../img/usr/category/sindex/common/bg_grid.png") repeat;
  z-index: 5;
}
.sindex-book {
  background: rgba(179, 200, 0, .1);
}
.sindex-item {
  background: rgba(125, 192, 182, .1);
}



@media print, screen and (min-width: 840px){
  main {
    padding-bottom: 100px;
  }
}


/* sindex-header
--------------------------------------------------------------------*/
#sindex h1 {
  text-align: center;
}
#sindex h1.h1-main {
  background: url("../../../../img/usr/category/sindex/common/h1_bgtab.png") no-repeat 20px bottom;
  border-bottom: 2px solid #000;
  padding: 20px 80px;
  margin-bottom: 20px;
}
#sindex h1.h1-sub {
  padding: 0 40px;
}
#sindex h1.h1-cat {
  padding: 0 40px 50px;
}

@media screen and (max-width: 575px) {
  #sindex h1.h1-main {
    background-size: 30%;
  }
}

.sindex-header {
  position: relative;
  z-index: 4;
}
.sindex-header h1 {
  text-align: center;
}
.sindex-header h1.h1-main {
  background: url("../../../../img/usr/category/sindex/common/h1_bgtab.png") no-repeat 20px bottom;
  border-bottom: 2px solid #000;
  padding: 20px 0 0;
  margin-bottom: 20px;
}
.sindex-header h1.h1-sub {
  
}
.sindex-book .sindex-header,
.sindex-item .sindex-header {
  background: url("../../../../img/usr/category/sindex/common/bg_grid.png") repeat;
}

.sindex-tab {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.sindex-tab li {
  width: 40%;
  text-align: center;
  margin: 0 5px;
}
.sindex-tab li a {
  display: block;
  height: 50px;
  line-height: 50px;
  border-radius: 5px 5px 0 0; 
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.sindex-tab li.nav-book a {
  background: rgba(179, 200, 0, 1);
}
.sindex-tab li.nav-book a:hover {
  background: rgba(179, 200, 0, .8);
}
.sindex-tab li.nav-item a {
  background: rgba(125, 192, 182, 1);
}
.sindex-tab li.nav-item a:hover {
  background: rgba(125, 192, 182, .8);
}
.sindex-tab li.current a {
}

@media print, screen and (min-width: 576px) {
  .sindex-tab li a {
    font-size: 18px;
  }
}



/* sindex-nav
--------------------------------------------------------------------*/
.sindex-nav-wrap {
  
}
.sindex-nav-header {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}
.sindex-topnav {
  max-width: 1200px;
	display: flex;
	flex-wrap: wrap;
  margin: 0 auto 20px;
  padding: 15px 0;
}
.sindex-topnav li {
  width: calc(100% - 30px);
   margin: 0 15px 20px;
}

@media (min-width: 576px) {
  .sindex-topnav li {
    width: calc(100% / 2 - 30px);
  }
}

@media print, screen and (min-width: 768px) {
  .sindex-nav-header {
    width: 100%;
  }
}



/* sindex-main
--------------------------------------------------------------------*/
.sindex-main {
  position: relative;
  box-sizing: border-box;
  padding: 10px 0;
  margin: -5px 10px 0;
  background: url("/img/usr/category/sindex/sewing/bg_grid.png") repeat;
  z-index: 5;
}

/* Contents List */
.contents-nav {
  padding: 20px 0;
}
.sindex-book .contents-nav {
  text-align: center;
}
.book-list {
  margin: 0 auto;
}
.cat-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.cat-list li {
  margin: 0 5px 10px;
}
.cat-list li a {
  display: block;
	border: 1px solid #999;
  background: #fff;
  font-size: 14px;
	text-align: center;
  padding: .5em 1em;
}
.cat-list li a::before {
  content: "\f0d7";
  color: rgba(214, 99, 114, 1);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: .5em;
}
.cat-list li a:hover {
  background: #f0f0f0;
  text-decoration: none;
}

@media print, screen and (min-width: 768px) {
  .cat-list {
    margin: 0 10px;
  }
}


.list-block {
  margin: 0;
  padding: 30px 0;
}

/* List Header */
.list-header {
  position: relative;
  background: #fff;
  border-top: 5px solid #eaeaea;
  padding: 30px 0 15px;
}
.list-header .ribbon {
  position: absolute;
  top: -15px;
  left: 20px;
  display: inline-block;
  width: 30px;
  height: 10px;
  text-align: center;
}
.list-header .ribbon::before,
.list-header .ribbon::after {
  position: absolute;
  content: '';
}
.list-header .ribbon::before {
  right: -10px;
  width: 0;
  height: 0;
}
.list-header .ribbon::after {
  top: 50%;
  left: 0;
  display: block;
  height: 50%;
}
.sindex-book .list-header .ribbon {
  background: rgba(179, 200, 0, 1);
}
.sindex-book .list-header .ribbon::before {
  border-bottom: 10px solid #809500;
  border-right: 10px solid transparent;
}
.sindex-book .list-header .ribbon::after {
  border: 15px solid rgba(179, 200, 0, 1);
  border-bottom-width: 15px;
  border-bottom-color: transparent;
}
.sindex-item .list-header .ribbon {
  background: rgba(125, 192, 182, 1);
}
.sindex-item .list-header .ribbon::before {
  border-bottom: 10px solid #4A8D83;
  border-right: 10px solid transparent;
}
.sindex-item .list-header .ribbon::after {
  border: 15px solid rgba(125, 192, 182, 1);
  border-bottom-width: 15px;
  border-bottom-color: transparent;
}

@media print, screen and (min-width: 768px) {
  .list-header .ribbon {
    width: 52px;
    height: 30px;
  }
  .sindex-book .list-header .ribbon::before {
    border-bottom: 10px solid #809500;
    border-right: 10px solid transparent;
  }
  .sindex-book .list-header .ribbon::after {
    border: 26px solid rgba(179, 200, 0, 1);
    border-bottom-width: 15px;
    border-bottom-color: transparent;
  }
  .sindex-item .list-header .ribbon::before {
    border-bottom: 10px solid #4A8D83;
    border-right: 10px solid transparent;
  }
  .sindex-item .list-header .ribbon::after {
    border: 26px solid rgba(125, 192, 182, 1);
    border-bottom-width: 15px;
    border-bottom-color: transparent;
  }
}

/* Book Header */
.book-header {
  max-width: 1000px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 auto;
}
.book-cover {
  width: 40%;
  text-align: center;
  padding: 0 10px;
}
.book-cover img {
  border: 1px solid #f0f0f0;
}
.book-info {
  width: 58%;
}
.book-info h2 {
  font-size: 1.2rem;
  margin: 0 0 .5em;
  padding: 0;
  text-align: left;
}
.book-info .author {
  margin-bottom: .5em;
}
.book-info ul {
  padding: 1em 0;
}
.book-info li {
  font-size: 12px;
  line-height: 1;
  margin-bottom: .7em;
}
.book-info li em {
  display: inline-block;
  width: 4em;
  border-right: 5px solid #999;
  margin-right: 1em;
}
@media print, screen and (min-width: 576px) {
  .book-cover {
    width: 45%;
  }
  .book-info {
    width: 50%;
  }
  .book-info h2 {
    font-size: 1.4rem;
  }
  .book-info li {
    font-size: 0.9rem;
  }
}

/* Cat */
.cat-header h2 {
  font-size: 1.2rem;
  padding: 0 0 .5em;
  text-align: center;
}
@media print, screen and (min-width: 576px) {
  .cat-header h2 {
    font-size: 1.6rem;
    margin-top: 1em;
  }
}

/* List */
.item-list {
  max-width: 1000px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
  margin: 0 auto;
  padding: 15px 0;
}
.item-list li {
  width: 33.3333%;
}
@media (min-width: 576px) {
  .item-list li {
    width: 25%;
  }
}
@media (min-width: 768px) {
  .item-list li {
    width: 20%;
  }
}
@media print, screen and (min-width: 992px) {
  .item-list li {
    width: 16.6666%;
  }
}

/* Book Footer */
.book-footer {
  margin-top: 20px;
  text-align: center;
}
.book-footer h2 {
  font-size: 1.2rem;
  margin-bottom: .5em;
}

@media (min-width: 576px) {
  .book-footer h2 {
    font-size: 1.4rem;
  }
}



/* Modal
--------------------------------------------------------------------*/

header .block-headernav {
  z-index: 99999 !important;
}
.remodal {
  position: relative;
  padding: 20px;
}
.remodal-cancel {
  position: absolute;
  display: block;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  line-height: 38px;
  overflow: visible;
  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  border: 0;
  outline: 0;
  padding: 0;  
  background: #888;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
}
.remodal-cancel:hover {
  background: #999;
}
.remodal img {
  max-height: 50vh;
}
.remodal .item-name {
  text-align: center;
  margin-top: .5em;
}
.remodal .item-size {
  font-size: 0.8rem;
  text-align: center;
  margin-top: .25em;
}
.remodal .book-title-header {
  font-weight: bold;
  text-align: center;
  margin-top: .5em;
}
.remodal .book-title-header span {
  border-bottom: 2px solid #333;
  font-size: .8rem;
  padding-bottom: .3em;
}
.remodal .book-title-pbook {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 1em;
}
.remodal .book-title {
  font-size: 1.1rem;
  text-align: center;
  margin-top: .5em;
}
.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  color: #95979c !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}
.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}
.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

@media print, screen and (min-width: 768px) {
  .modal-wrapper {
    position: fixed;
    top: 0;
  }
  .modal-wrapper .modal-window {
    width: 70%;
    max-width: 600px;
  }
  .remodal {
    max-height: 90vh;
  }
  .remodal img {
    max-height: 60vh;
  }
  
}


/* sindex-footer
--------------------------------------------------------------------*/
.sindex-footer {
  background: url("../../../../img/usr/category/sindex/common/bg_grid.png") repeat;
}
.sindex-footer h1 {
  text-align: center;
  padding: 20px 0;
}


/* Coomon
--------------------------------------------------------------------*/

.btn-others {
  display: block;
  max-width: 16em;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  background: rgba(179, 200, 0, 1);
  color: #fff;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  margin: 10px auto;
  padding: .75em 1em;
}
.btn-others:hover {
  background: rgba(179, 200, 0, .8);
  text-decoration: none;
}
.btn-buy {
  display: block;
  max-width: 16em;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  background: rgba(214, 99, 114, 1);
  color: #fff;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  margin: 10px auto;
  padding: .75em 1em;
}
.btn-buy:hover {
  background: rgba(214, 99, 114, .8);
  text-decoration: none;
}
.list-header .btn-buy {
  font-size: 1rem;
}
.book-footer .btn-buy {
  font-size: 1rem;
}
.remodal .btn-others,
.remodal .btn-buy {
  font-size: 0.9rem;
}

@media print, screen and (min-width: 768px) {
  .list-header .btn-buy {
    font-size: 1.2rem;
    max-width: 10em;
  }
  .book-footer .btn-buy {
    font-size: 1.2rem;
    max-width: 10em;
  }
  .remodal .btn-others,
  .remodal .btn-buy {
    font-size: 1rem;
  }
}



.br-mb {
}
.br-pc {
  display: none;
}
.br-pc::after {
  content: " ";
}

@media print, screen and (min-width: 768px){
  .br-mb {
    display: none;
  }
  .br-mb::after {
    content: " ";
  }
  .br-pc {
    display: inherit;
  }
  .br-pc::after {
    display: none;
  }
}

