* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 16px;
  line-height: 30px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #000;
  scroll-behavior: smooth;
  position: relative;
  letter-spacing: 0.1em;
  font-weight: 400;
  background-color: #ffd800;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
  transition: all 0.3s;
}

a:active,
a:visited {
  color: #000;
  outline: none;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}
img {
  display: block;
}

.sp {
  display: none !important;
}

.pc {
  display: block !important;
}
.smallwidth {
  display: none !important;
}

@media (max-width: 750px) {
  .sp {
    display: block !important;
  }

  .pc {
    display: none !important;
  }
  .smallwidth {
    display: none !important;
  }
}

#mv {
  text-align: center;
}
.topimg {
  max-width: 680px;
  margin: 1rem auto;
  width: 100%;
}
.logo {
  max-width: 280px;
  margin: 1rem auto;
}
h1 {
  color: #003780;
  font-size: 1.3rem;
  text-align: center;
  margin: 1rem auto;
  padding: 1rem;
}
h1 .big {
  font-weight: 800;
  font-size: 2.5rem;
}
#intro {
  background-color: #590f14;
  color: #fff;
  text-align: center;
  position: relative;
  margin: 4rem auto;
  padding: 80px 0 40px;
}
h2 {
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: url(./images/ribbon.webp) no-repeat center;
  background-size: contain;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
h2 .rb_top,
.rb_bottom {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
h2 .rb_top {
  font-weight: 300;
  font-size: 0.9rem;
}
h2 .rb_middle {
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffd800;
}
h2 .rb_bottom {
  font-size: 1.3rem;
}

.imgflex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 40px auto 2rem;
}
.imgitem {
  width: 330px;
  height: auto;
  position: relative;
}
.imgtitle {
  background: url(./images/ribbon_wh.webp) no-repeat center;
  background-size: contain;
  color: #003780;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 45px;
  width: 100%;
  height: 60px;
  position: absolute;
  top: -36px;
  left: 0;
  right: 0;
  margin: auto;
}
.imgtitle span{
  font-size: .9rem;
}
.imgitem img {
  width: 330px;
}

#data {
  padding-bottom: 3rem;
}
.content_wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.item {
  max-width: 900px;
  width: 100%;
  background-color: #fff;
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  position: relative;
  box-shadow: 0px 2px 40px 0px #ffae00;
}
.tokuten {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: auto;
}
.toparea {
  display: flex;
  padding: 2rem 3rem;
  gap: 2rem;
}
.thumgnail {
  max-width: 200px;
  max-height: 300px;
  margin: 0 auto;
  width: 280px;
}
.right_content {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  line-height: 1.3rem;
  gap: 1rem;
  align-items: flex-start;
}
.popbox {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.popimg {
  max-height: 170px;
  max-width: 390px;
  height: auto;
  width: auto;
  object-fit: contain;
}
.name {
  color: #590f14;
}
.name span {
  margin-right: 0.4rem;
}
.titlearea {
  display: flex;
  background-color: #f6f6f6;
  padding: 1rem 3rem;
  justify-content: space-between;
  align-items: center;
}
.title {
  font-size: 1.1rem;
  font-weight: 500;
}
.author {
  font-size: 0.8rem;
}
.addlist_btn {
  background-color: #a12932;
  color: #fff;
  border-radius: 100px;
  height: 40px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin: 0.5rem 0;
}
.addlist_btn:active,
.addlist_btn:visited {
  color: #fff;
  outline: none;
  text-decoration: none;
}
.small {
  font-size: 0.8rem;
  color: #dfcacc;
  line-height: 1.4rem;
  display: block;
  padding: 0 1rem;
  margin: 1rem auto;
}
@media (max-width: 750px) {
  h1 {
    margin-bottom: 0;
  }
  h1 .big {
    font-size: 3.5rem;
    line-height: 4rem;
  }
  .topimg {
    margin-top: 0;
    padding: 1rem;
  }
  .imgflex{
    flex-direction: column;
    gap: 4rem;
  }
  .content_wrapper {
    gap: 2rem;
  }
  .item {
    margin: 0 1rem;
    width: auto;
  }
  .tokuten {
    width: 160px;
  }
  .toparea {
    flex-direction: column;
    padding: 1rem;
    align-items: center;
    padding-top: 4rem;
  }
  .right_content {
    gap: 2rem;
    margin-bottom: 1rem;
    width: 100%;
  }
  .popbox {
    align-items: center;
    justify-content: center;
  }
  .popimg {
    width: 100%;
  }
  .titlearea {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .addlist_btn {
    margin: 0.5rem auto;
  }
  @media (max-width: 450px) {
    h2 .rb_top,
    .rb_bottom {
      width: 360px;
    }
    h2 .rb_top {
      line-height: 1.4rem;
    }
    .smallwidth {
      display: block !important;
    }
  }
}
