@charset "utf-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url(https://fonts.googleapis.com/earlyaccess/sawarabimincho.css);

html {
  font-size: 62.5%;
}

body {
  font-family: 'Noto Sans Japanese',メイリオ,Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #444;
  background: #f5f5f5;
}

@media (max-width:575px){
  body {
    font-size: 1.3rem;
  }
}

a {
  color: #e50112;
}
@media (max-width:575px){
  a:hover {
    color: #e50112;
  }
  a:active {
    color: #ed4e5a;
  }
}
@media (min-width:576px){
  a:hover {
    color: #ed4e5a;
  }
}

a:active,
a:visited,
a:hover {
  text-decoration: none;
}

hr {
  margin-top: 0;
  margin-bottom: 0;
}

/* ----- common ----- */
header,
main,
footer {
  max-width: 928px;
  margin: 0 auto;
}

.inner {
  padding: 30px;
}


/* ----- header ----- */
header {
  width: 100%;
  background: #fff;
}

h1 {
  margin: 0;
  display: inline-block;
}

h1 a {
  display: block;
  padding: 10px;
}
@media (max-width:575px){
  h1 a {
    padding: 7px;
  }
}

.logo {
  width: 200px;
  height: 40px;
}
@media (max-width:575px){
  .logo {
    width: 140px;
    height: 28px;
  }
}



/* ----- main ----- */
main {
  background: #fff;
}

article {
  padding-bottom: 50px;
}

@media (max-width:575px){
  article {
    padding-bottom: 30px;
  }
}

article:last-child {
  padding-bottom: 0;
}

.headline {
  text-align: center;
  padding-bottom: 0;
}

.headline .inner {
  padding: 30px 15px;
}

.headline p {
  font-size: 2.4rem;
  font-weight: 600;
}

.lead {
  font-size: 1.8rem;
  font-weight: 500;
}

@media (max-width:767px){
  .headline p {
    text-align: left;
  }

}

@media (max-width:575px){
  .headline p,
  .lead {
    font-size: 1.5rem;
  }
}


h3 {
  padding: 10px;
  text-align: center;
  font-weight: 600;
  background: #000;
  line-height: 1.3;
}

h3.first {
  border-bottom: 5px solid #ceae75;
  color: #ceae75;
  font-size: 4.2rem;
}
h3.second {
  border-bottom: 5px solid #cecece;
  color: #cecece;
  font-size: 4.2rem;
}
h3.third {
  color: #c6a230;
  font-size: 2.4rem;
}

@media (max-width:767px){
  h3.first,
  h3.second {
    font-size: 3.0rem;
  }
}

@media (max-width:575px){
  h3.first,
  h3.second {
    font-size: 2.2rem;
  }
  h3.third {
    font-size: 1.6rem;
  }
}

h4 {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed #fff;
  text-align: center;
  font-size: 2.4rem;
  font-family: "Sawarabi Mincho";
  color: #fff;
  letter-spacing: 1px;
}

@media (max-width:575px){
  h4 {
    font-size: 1.5rem;
  }
}

.book-item-group a {
  color: #444;
  text-decoration: none;
}

.book-item {
  margin-top: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

@media (max-width:575px){
  .book-item-group a:active {
    color: #e50112;
  }
  .book-item-group a:active .book-item {
    box-shadow: 0 0 9px 2px rgba(255,255,255,0.6);
  }
}
@media (min-width:576px){
  .book-item-group a:hover {
    color: #e50112;
  }
  .book-item-group a:hover .book-item {
    box-shadow: 0 0 9px 2px rgba(255,255,255,0.6);
    transition: 0.2s;
  }
}

.book-item img {
  max-height: 240px;
  width: auto;
  border: 1px solid #bbb;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
}
.book-item img.wide {
  
}

@media (max-width:575px){
  .book-item img {
    max-height: 180px;
    width: auto;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
  }
}

.book-item p {
  text-align: left;
  font-size: 1.6rem;
  padding-left: 15px;
}

.book-item img.wide + p {
  padding-left: 0;
  padding-top: 5px;
}


@media (max-width:575px){
  .book-item p {
    font-size: 1.3rem;
  }
}

.more {
  margin-top: 15px;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 400;
}

@media (max-width:767px) {
  .more {
    font-size: 1.5rem;
  }
}
@media (max-width:575px) {
  .more {
    font-size: 1.3rem;
  }
}

.more a {
  display: inline-block;
  padding: 10px;
  border: 1px solid #e50112;
  border-radius: 4px;
}
.more span {
  position: relative;
  padding-left: 25px;
}
.more span::after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 1px #e50112;
  border-right: solid 1px #e50112;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -4px;
  margin-left: 0px;
}

@media (max-width:575px){
  .more a:active {
    background: #e50112;
    color: #fff;
  }
  .more a:active span::after {
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
  }
}

@media (min-width:576px){
  .more a:hover {
    background: #e50112;
    color: #fff;
    transition: 0.2s;
  }
  .more a:hover span::after {
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transition: 0.2s;
  }
}

@media (max-width:575px){
  .img-thumbnail {
    width: 60%;
    height: auto;
  }
}

/* ----- footer ----- */
footer {
  padding: 15px;
  background: #242424;
  text-align: center;
  color: #fff;
}

footer p,
address{
  font-size: 1.2rem;
}

@media (max-width:767px){
  footer p {
    text-align: left;
  }
}


/* Page scroll */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 0;
  margin: 0;
  line-height: 0;
}

#page-top a {
  display: block;
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.7);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

#page-top a:hover {
  background: rgba(0,0,0,0.9);
}

#page-top::after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  right: 50%;
  margin-top: -2px;
  margin-right: -6px;
}