@charset "UTF-8";
html {
  font-size: 62.5%;
}

body {
  position: relative;
  margin: 0;
  padding: 0 0 60px;
  font-size: 1.6rem;
  line-height: 2.1;
  color: #797e81;
  box-sizing: border-box;
  overflow-x: hidden;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: 600;
}

a {
  color: #797e81;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul li {
  list-style: none;
}

header {
  height: 100px;
  background-color: #0d4d91;
  display: flex;
  justify-content: space-between;
}

header h1 {
  margin-left: 50px;
  font-size: 30px;
  text-align: center;
  height: 100px;
  line-height: 100px;
} /*
header h1::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url(img/toplogo.png);
  background-size: contain;
} */
header h1 a {
  color: #eaf6f3;
}

.header__menu-btn {
  display: none;
}

.menu {
  margin-right: 50px;
  display: flex;
  line-height: 70px;
}
.menu li {
  margin-right: 30px;
}
.menu a {
  color: #eaf6f3;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.menu a:hover {
  text-decoration: none;
}

.menu img {
  width: 18px;
}

main {
  margin: 20px 50px;
}

section {
  margin-bottom: 50px;
}

#toppage {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
}

#info-nb,
#info-sale {
  width: 1000px;
  height: 100%;
  margin: 0 auto;
}

#about .wrapper p {
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 20px;
}

#ranking .sliderarea {
  width: 800px;
  margin: 0 auto;
}
#ranking .content-blk {
  margin-bottom: 10px;
  margin-right: 5px;
  width: 180px;
  height: 330px;
  background-color: #eaedef;
}
#ranking .rank {
  margin-left: 70px;
}
#ranking img {
  margin: 0 auto;
  width: 90px;
  height: 128px;
}

#ranking h4 {
  height: 65px;
  margin: 2px 5px;
  font-weight: 500;
  line-height: 1.1em;
  text-align: center;
}
#ranking p {
  line-height: 0.5em;
  text-align: center;
}
#ranking .discount {
  margin-left: 10px;
  color: rgb(171, 0, 0);
}

#newbook h3 {
  margin-left: 40px;
}

#newbook .content-blk {
  display: block;
  width: 1200px;
  margin-top: 10px;
  background-color: #eaedef;
  box-sizing: border-box;
}

#newbook .catalog {
  margin: 0px auto;
  height: 128px;
  display: flex;
}

#newbook .catalog li {
  margin-right: 10px;
}
#newbook .catalog img {
  width: 90px;
  height: 128px;
}
#newbook p {
  margin: 5px 60px 0 30px;
  padding-bottom: 10px;
  line-height: 1.5em;
}

#sale h4 {
  margin: 5px 0 0 40px;
}
#sale .content {
  margin-bottom: 20px;
}
#sale .content-blk {
  background-color: #eaedef;
}

#sale .content-blk ul {
  margin-top: 0px;
  margin-bottom: 0px;
  width: auto;
  height: 128px;
  display: flex;
}
#sale .content-blk ul li {
  position: relative;
  margin-right: 12px;
}

#sale .content-blk img {
  width: 90px;
  height: 128px;
}

#sale .point-btn {
  margin: 0;
  position: absolute;
  background-color: rgb(0, 0, 199);
  top: 0;
  left: 0;
  width: 40px;
  height: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

#sale p {
  margin: 5px 50px 0 30px;
  padding-bottom: 10px;
  line-height: 1.3em;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  background-color: #0d4d91;
  text-align: center;
  color: #eaf6f3;
  line-height: 50px;
}

.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #0d4d91;
  border: 1px solid #eaf6f3;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}
.pagetop__arrow {
  display: block;
  height: 10px;
  width: 10px;
  border-top: 3px solid #eaf6f3;
  border-right: 3px solid #eaf6f3;
  transform: translateY(20%) rotate(-45deg);
}

#info-nb a,
#info-sale a {
  color: #797e81;
}
#info-nb .company-list a:hover {
  text-decoration: underline;
}

.accordion {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: 1s all;
}
.accordion:hover {
  text-decoration: none;
}

.accordion::before {
  content: "▶";
}

.accordion.open::before {
  content: "▼";
}

.accordion::before {
  content: "▶";
}
.company-list {
  display: none;
}

#info-nb ul {
  padding-left: 0;
}

#info-nb .wrapper .content,
#info-sale .wrapper .content {
  display: flex;
  flex-wrap: wrap;
}

#info-nb .wrapper .content-blk,
#info-sale .wrapper .content-blk {
  position: relative;
  padding: 0 5px;
  margin-bottom: 10px;
  margin-right: 5px;
  width: 180px;
  height: 350px;
  background-color: #eaedef;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.5s;
}

#info-nb .wrapper .content-blk:hover,
#info-sale .wrapper .content-blk:hover {
  background-color: #fff;
}

#info-nb .wrapper h4,
#info-sale .wrapper h4 {
  margin-bottom: 10px;
  line-height: 1.1em;
  font-size: 15px;
  font-weight: normal;
}

#info-nb .wrapper .content-blk p,
#info-sale .wrapper .content-blk p {
  margin: 0;
  line-height: 20px;
  vertical-align: bottom;
}

#info-nb .wrapper .discount,
#info-sale .wrapper .discount {
  margin-left: 10px;
  color: rgb(171, 0, 0);
  font-weight: 500;
}

#info-nb .wrapper img,
#info-sale .wrapper img {
  margin-top: 10px;
  width: 128px;
  height: 182px;
}
#info-nb .wrapper .point-btn,
#info-sale .wrapper .point-btn {
  margin: 0;
  position: absolute;
  background-color: rgb(0, 0, 199);
  top: 10px;
  left: 32px;
  width: 40px;
  height: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}
#info-nb .wrapper .free-btn,
#info-sale .wrapper .free-btn {
  margin: 0;
  position: absolute;
  background-color: rgb(171, 0, 0);
  top: 10px;
  left: 31px;
  width: 100px;
  height: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

#info-sale #about h3 {
  margin-top: 20px;
  color: rgb(171, 0, 0);
  font-size: 40px;
  line-height: 1.2em;
}
#info-nb .attention,
#info-sale .attention {
  line-height: normal;
}
#new-late #about h3,
#sale-late #about h3 {
  color: rgb(171, 0, 0);
  font-size: 40px;
  line-height: 1.2em;
}
#new-late #about h3,
#sale-late #about h3 {
  color: rgb(171, 0, 0);
  font-size: 40px;
  line-height: normal;
}
#new-late #about .attention,
#sale-late #about .attention {
  margin-top: 15px;
  line-height: normal;
}
#new-late #about .attention,
#sale-late #about .attention {
  margin-top: 15px;
  line-height: normal;
}
#new-late #latelist ul,
#sale-late #latelist ul {
  padding-left: 0;
}

#new-late #latelist li,
#sale-late #latelist li {
  margin-bottom: 10px;
  line-height: normal;
}
@media screen and (max-width: 480px) {
  /*　画面サイズが480px以下の場合ここの記述が適用される　*/

  header {
    position: relative;
  }

  header h1 {
    font-size: 20px;
  }

  .toggle {
    display: block;
    position: fixed;
    position: absolute;
    top: 25px;
    right: 9%;
    width: 42px;
    height: 42px;
    text-align: right;
  }

  .toggle span {
    display: block;
    position: relative;
    width: 43px;
    border: 2px solid #eaf6f3;
    -webkit-transition: 0.35s ease-in-out; /*変化の速度を指定*/
    -moz-transition: 0.35s ease-in-out; /*変化の速度を指定*/
    transition: 0.35s ease-in-out; /*変化の速度を指定*/
  }

  .toggle span:first-child {
    top: 5px;
  }

  .toggle span:nth-child(2) {
    top: 17px;
  }

  .toggle span:nth-child(3) {
    top: 29px;
  }

  .toggle.active span:first-child {
    top: 20px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .toggle.active span:nth-child(2) {
    top: 17px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .toggle.active span:nth-child(3) {
    top: 13px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  header .menu {
    position: fixed;
    top: 100px;
    right: -20px;
    margin: 0;
    padding: 0 0 0 20px;
    width: 200px;
    height: 250px;
    display: block;
    background: #0d4d91;
    z-index: 1000;
    transition: all 0.8s;
    transform: translate(200px);
  }
  header .menu.open {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
  header .menu li {
    border-bottom: 1px solid #eaf6f3;
  }

  header .menu a {
    color: #eaf6f3;
    text-decoration: none;
  }
  h2 {
    line-height: 1.3em;
    margin: 20px 0;
  }

  h3 {
    line-height: 1.3em;
    margin-top: 20px;
  }
  #toppage {
    width: 350px;
  }

  #ranking .sliderarea {
    width: 350px;
  }
  #ranking .content-blk {
    width: 170px;
  }
  #info-nb,
  #info-sale {
    width: 350px;
  }
  #newbook .content-blk {
    width: 350px;
  }

  #newbook .catalog li {
    margin-right: 22px;
  }
  #newbook .catalog li:nth-child(n + 4) {
    display: none;
  }

  #newbook h3 {
    margin-left: 15px;
  }

  #newbook .catalog {
    margin-left: 15px;
    padding-left: 0;
  }

  #newbook p {
    margin: 5px 10px 0 15px;
  }

  #sale h4 {
    margin-left: 15px;
    line-height: 1.5em;
  }

  #sale .imglist {
    margin-left: 15px;
    padding-left: 0;
  }
  #sale .content-blk ul li {
    margin-right: 22px;
  }

  #sale .imglist li:nth-child(n + 4) {
    display: none;
  }
  #sale p {
    margin: 5px 10px 0 10px;
  }
  #info-nb .wrapper .content,
  #info-sale .wrapper .content {
    display: block;
  }
  #info-nb .wrapper .content-blk,
  #info-sale .wrapper .content-blk {
    margin-right: 0;
    padding-right: 0;
    width: 350px;
  }
  #info-nb .wrapper .point-btn,
  #info-sale .wrapper .point-btn {
    margin: 0;
    position: absolute;
    background-color: blue;
    top: 10px;
    left: 115px;
    width: 40px;
    height: 20px;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
  #info-nb .wrapper .free-btn,
  #info-sale .wrapper .free-btn {
    margin: 0;
    position: absolute;
    background-color: rgb(171, 0, 0);
    top: 10px;
    left: 115px;
    width: 100px;
    height: 20px;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
  #info-sale #about h3 {
    font-size: 30px;
  }
  #new-late #about h3,
  #sale-late #about h3 {
    font-size: 30px;
    line-height: 1.2em;
  }
}
