.bookinfo-wrap {
  max-width: 1000px;
}

div.bookimages {
  padding-top: 30px;
}
div.bookimages img.book-cover {
  box-shadow: none;
  border: 1px solid #ddd;
}
div.bookimages div#book-inside ul li img{
  box-shadow: 0 0px 4px 0 rgb(0 0 0 / 0%), 0 2px 8px 0 rgb(0 0 0 / 25%), 0 0px 2px 0 rgb(0 0 0 / 15%);
}

#authors,
#bookdata {
  font-size: max(12px, min(2vw, 14px));
}

section.option,
section#selling {
  border: 1px solid #ddd;
}

section#selling {
  margin: 30px 0 25px;
  padding: 20px 25px 25px;
}

#selling i {
  margin-right: 6px;
  font-size: 115%;
}

div:has(.cart-btn-wrap):not(:has(.pdf-btn-wrap))
  + .other-selling:has(.ebook_pr) {
  border-top: 1px dotted #e7e7e7;
  margin-top: 18px;
}

div.ebook_pr {
  margin: 0;
}
section#selling div.booktocart {
  margin: 15px 0 0;
}
.booktocart .tocart {
  background-color: #ff9501;
  color: #fff;
  padding: 0.7em 2em;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 330px;
  margin-inline: auto;
  box-shadow: 0px 3px 0px #c67400;
  line-height: 1;
}
.booktocart .tocart img:not(:root) {
  width: 28px;
  margin: 0;
}
.booktocart .tocart:hover {
  background-color: #f98500;
  text-decoration: none;
}

.booktocart + .pdf-btn-wrap {
  border-top: 1px dotted #e7e7e7;
  padding-top: 17px;
  margin-top: 20px !important;
}
.booktocart .pdf-btn {
  width: 330px;
  margin-inline: auto;
  border-radius: 5px;
  border: 1px solid #146ebe;
  background: #146ebe;
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  height: 40px;
  box-shadow: 0px 3px 0px #0b5496;
  font-size: 14px;
  line-height: 1;
}
.booktocart .pdf-btn:hover {
  color: #fff;
  background: #146ebe;
  opacity: 0.8;
  text-decoration: none;
}

div:has(.pdf-btn-wrap) + .other-selling {
  margin-top: 5px;
}

.price > strong {
  font-size: 180%;
  line-height: 1;
}
.price .unit {
  font-size: 60%;
}

section#selling ul.bookdatalist {
  margin-bottom: 0;
}
section#selling ul.bookdatalist li.status .text-info {
  font-size: max(14px, min(2vw, 16px));
  color: #a0a0a0;
}
section#selling ul.bookdatalist li:last-child {
  margin-bottom: 0;
}

.sub-btn {
  display: grid;
  gap: 15px;
}

.other-selling {
  /* background: #f5f5f5; */
  /* padding: 10px; */
}
.other-selling a span {
  display: flex;
  align-items: center;
}
.other-selling a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.other-selling .other-selling-inner {
  width: 330px;
  margin-inline: auto;
  /* display: flex; */
  /* justify-content: center; */
  /* gap: 10px; */
}

.other-selling .other-selling-inner .ebook_pr {
  width: 100%;
  margin-top: 15px;
}

.other-selling-inner .other-selling-btn {
  /* background: #f1f6fa; */
}

.other-selling-btn,
.oshirase-btn-wrap a {
  border: 1px solid #146ebe;
  color: #146ebe;
  border-radius: 5px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  white-space: normal;
  padding: 0;
  line-height: 40px;
  font-weight: 700;
}
.other-selling-btn:hover,
.oshirase-btn-wrap a:hover {
  background: #ebf3fc;
  opacity: 1;
  border-color: #146ebe;
  color: #146ebe;
}

.oshirase-btn-wrap {
  display: flex;
  margin-bottom: 15px;
  justify-content: center;
}
.oshirase-btn-wrap a {
  width: 330px;
  background: #ebf3fc;
  border-color: #ebf3fc;
  font-weight: 400;
}

section.subscription a,
section.gairon {
  margin: 25px 0;
  display: block;
}

div.btn_sub {
  font-size: max(16px, min(3vw, 20px));
}

.series-btn-wrap {
  text-align: right;
}
.series-btn-wrap .series-btn {
  margin: 0 20px 0 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  font-size: 14px;
  display: inline-block;
  transition: 0.15s all;
  color: #428bca;
  color: inherit;
  position: relative;
  /* text-decoration: underline; */
}
.series-btn-wrap .series-btn::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s all;
}
.series-btn-wrap .series-btn:hover {
  /* text-decoration: none; */
}

section#selling ul.revisioninfo {
  margin: 15px 0 0;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  justify-content: center;
  text-align: left;
  text-indent: -1em;
  margin-left: 1em;
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
}

/* 電子版・電子書店リスト */
#selling svg {
width: 13px;
fill: #6faee6;
position: relative;
top: 3px;
margin-right: 1px;
}
#selling svg.book-icon{
width: 14px;
margin-right: 2px;
top: 2px;
}

div#ebook{
border: none;
background-color: #efefef;
border-radius: 5px;
padding: max(1.5em, min(3vw, 2em)) max(1em, min(3vw, 2em)) max(1em, min(3vw, 2em));
}

.ebooks{
  margin-top: max(4em, min(7vw,5em));
}
.onlineShop-head{
  font-weight: 700;
  margin-top: 0;
  margin-bottom: max(1.2em, min(3vw, 1.4em));
  font-size: max(15px, min(2.5vw,18px));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
.onlineShop-head.announce{
  margin-bottom: max(1.6em, min(3vw, 1.8em));
}
.onlineShop-head:nth-child(n+3){
  margin-top: 2.6em;
}
.onlineShop-head svg{
  padding-right: 8px;
  fill: #999;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: max(24px, min(4vw, 27px));
  position: relative;
  top: max(3px, min(1vw, 4px));
}
.onlineShop-head.announce svg{
  width: max(28px, min(4vw, 33px));
}
.onlineShop-head.bookstore svg{
  width: max(24px, min(4vw, 27px));
}
.onlineShop-head.e-book svg{
  width: max(23px, min(4vw, 26px));
}

.onlineShop-head.announce a{
  color: inherit;
  text-decoration: underline;
  color: #146ebe;
}
.onlineShop-head.announce a:hover{
  text-decoration: none;
}
.onlineShop-head.announce span{
  position: relative;
}
.onlineShop-head.announce span::before, .onlineShop-head.announce span::after {
  content: '';
  position: relative;
  display: inline-block;
  width: max(16px, min(3vw, 18px));
  height: 2px;
  background-color: #464646;
  background-color: #146ebe;
  margin-bottom: 5px;
}
.onlineShop-head.announce span::before {
  left: -15px;
  transform: rotate(50deg);
}
.onlineShop-head.announce span::after {
  right: -15px;
  transform: rotate(-50deg);
}

.onlineShop-subhead{
  position: relative;
  display: block;
  margin-bottom: max(2.2em, min(5vw,2.6em));
}
.onlineShop-subhead span{
  color: #999;
  color: #333;
  font-weight: 700;
  position: absolute;
  background: #efefef;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 14px;
  text-align: center;
  white-space: nowrap;
  font-size: max(14px, min(2.5vw,16px));
  font-size: max(15px, min(2.5vw,18px));
}
.onlineShop-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.onlineShop-list a{
  background: #fff;
  padding: 15px 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  position: relative;
  transition: all .1s ease-in;
}
.onlineShop-list a::after{
  transition: box-shadow .25s ease-in;
}
.onlineShop-list a:hover{
  transform: translateY(-0.2rem);
  text-decoration: none;
  transition: all .1s ease-in;
}
.onlineShop-list a:hover::after {
  content: '';
  box-shadow: 0 0.35rem rgba(151, 151, 151, 0.1);
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.onlineShop-list a img{
  max-height: 100%;
}
.onlineShop-list a:hover img{
  opacity: 1;
}
#ebook .asterisk:not(:root){
  margin: 1.4em 0 0;
  font-size: max(12px, min(2.5vw,14px));
  text-align: right;
  max-width: inherit;
  padding: 0;
}

@media (min-width: 599px){
.onlineShop-list{
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.onlineShop-list a{
  padding: 5px 40px;
  height: 100px;
}
.onlineShop-list.ebook a{
  padding-left: 20px;
  padding-right: 20px;
}
.sevenNet-btn:not(:root),
.molcom-btn:not(:root){
  padding: 5px 20px;
}
.m3-btn:not(:root){
  padding: 5px 35px;
}
.ehon-btn img:not(:root){
  max-height: 70%;
}
.amazon-btn img:not(:root){
  max-height: 35%;
}
.tsutaya-btn:not(:root){
  padding: 5px 50px;
}
.honto-btn img:not(:root){
  max-height: 60%;
}
.yodobashi-btn img:not(:root){
  max-height: 40%;
}
.mj-btn img:not(:root){
  max-height: 60%;
}
.yodosha-btn:not(:root){
  padding: 5px 50px;
}
.honyaclub-btn:not(:root){
  padding: 5px 25px;
}
.kinokuniya-btn:not(:root){
  padding: 5px 35px;
}
}
@media (max-width: 600px){
.dmmbooks-btn img:not(:root){
  max-height: 150%;
}
.honyaclub-btn img:not(:root){
  max-height: 140%;
}
.amazon-btn img:not(:root){
  max-height: 50%;
}
.yodosha-btn img:not(:root){
  max-height: 80%;
}
.honyaclub-btn:not(:root){
  padding: 5px 15px;
}
}

		.border-img{
			margin: 2em auto max(3.2em, min(4.5vw,5em));
			margin: 2em auto clamp(3.2em,4.5vw,5em);
		}
		.topContents-menu_left .border-img{
			margin: 2em auto max(2.8em, min(4.5vw,5em));
		}

@media not all and (min-width: 768px) {
  section#bookinfo_sp * {
    font-size: 14px;
  }

  .booktocart .tocart {
    font-size: 16px;
    height: 50px;
    line-height: 50px;
  }

  section#selling {
    padding: 18px 20px 24px;
    margin-bottom: 20px;
  }

  #selling a,
  .other-selling-inner,
  .oshirase-btn-wrap a {
    width: 100%;
  }

  .other-selling {
    grid-template-columns: repeat(2, 1fr);
    font-size: 12px;
  }
  .other-selling .other-selling-inner {
    width: 100%;
  }

  .oshirase-btn-wrap {
    padding: 0 20px;
  }

  .oshirase-btn-wrap a,
  .series-btn-wrap .series-btn {
    font-size: 12px;
  }

  .series-btn-wrap .series-btn::before {
    width: 0.6rem;
    height: 0.6rem;
  }

  div.tab-content div.bookdetaildata {
    padding: 8px 0px;
  }

  h2.magazines {
    margin: 20px 0 5px 0;
  }
  div.h3div {
    margin: 5px 0;
  }
  div.plannerc {
    margin: 0px 0 5px;
  }
  div.h4titles {
    margin: 5px 0 5px 20px;
  }
  img[src*="articles/images/title"] {
    max-width: 180px;
    margin-inline: auto;
  }
}

@media not all and (min-width: 375px) {
  section#selling {
    padding: 15px;
  }
}

/* Android用 */
.Android section#selling {
  padding: 20px 20px 25px;
}
.Android .oshirase-btn-wrap {
  padding: 0 20px;
}
