:root {
	--color-main       : #ffda2a;
	--color-beige      : #efebe1;
	--color-pointRed   : #e8380d;
	--color-mark       : #fff8d4;
	--color-sugoiBg    : #ffb32b;
	--color-accordionBg: #fff4bf;
	--color-pointGreen : #00652e;
	--color-default    : #222;
	--color-enq-hover  : #666;
	--color-resi-logo  : #F5B64C;
	--color-orange     : #F05A06;
	--color-resistu    : #fffcf9;
}
/* 規約_start */
#terms_modal {
  font-size: small;
}
/* 規約_end */

/* ログインフォーム_start */
form#loginform_new {
  max-width: 420px;
  margin: 1em auto 2em;
  padding: 1em 2em;
  background: #fff;
  border-radius: 5px;
}
form#loginform_new h1 {
  text-align: center;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 2em;
  font-weight: 700;
}
form#loginform_new h1 small {
  line-height: 1.6;
  margin-top: 0.5em;
  display: block;
}
.group {
  position: relative;
  margin-bottom: 18px;
}
form#loginform_new input:-internal-autofill-selected {
  background-color: #fff !important;
}
form#loginform_new input {
  font-size: 16px;
  padding: 10px;
  -webkit-appearance: none;
  display: block;
  color: #636363;
  width: 100%;
  border: 1px solid #b6b6b6;
  border-radius: 5px;
}
form#loginform_new input:focus {
  border-color: #0ca800;
  outline: 0;
  box-shadow: 0 0 1px #0ca800;
}
form#loginform_new input::placeholder {
  color: #a1a1a1;
}
form#loginform_new input:focus::placeholder {
  color: #cacaca;
}
#webcustomer_status {
  color: #f3332e;
  margin-bottom: 18px;
  font-size: 14px;
}
.passTxt {
  text-align: center;
  -webkit-font-smoothing: subpixel-antialiased;
  font-size: 14px;
}
.buttonLogin {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  margin: 0;
  width: 100%;
  vertical-align: middle;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  letter-spacing: 1px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #0d8301;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 5px;
  background: #0ca800;
  text-shadow: 1px 1px 0 rgb(13 131 1);
  transition: all 0.15s ease;
  font-weight: 700;
}
.buttonLogin:hover {
  background: #0a9400;
  transition: all 0.15s ease;
}
.buttonLogin:active {
  background: #087d00;
}
.buttonLogin:focus {
  outline: 0;
}
.login-line {
  border-bottom: 1px solid #dadde1;
  margin: 58px 0 24px;
  position: relative;
}
.login-line span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 10px;
  background: #fff;
  color: #777;
  font-size: 14px;
  white-space: nowrap;
}
.signUp {
  text-align: center;
}
.signUp a {
  border: 1px solid;
  padding: 6px 20px;
  border-radius: 5px;
  display: inline-block;
  transition: all 0.15s ease;
  color: #018000;
  font-size: 14px;
}
.signUp a:hover {
  background: #ebf7ea;
  text-decoration: none;
}
.modal-header {
  border-bottom: none;
}
/* ログインフォーム_end */

/* ホーム画面へ追加_start */
.add-home-style {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(12px, 3vw, 15px);
  display: none;
}
.add-home-style .glyphicon-remove-circle,
.add-home-style .text-primary {
  cursor: pointer;
}
.add-home-style .glyphicon-remove-circle:hover,
.add-home-style .text-primary:hover {
  opacity: 0.6;
}
.add-home-style small {
  font-size: x-small;
}
.add-home-style .img-hitsuji {
  max-height: 50px;
  border: 1px solid #b3b5b6;
  border-radius: 10px;
}
.add-home-style .install-message img {
  height: 10px;
}
/* ホーム画面へ追加_end */

html {
  font-size: 10px;
}

body {
  font-family: var(--font-notosans);
  color: var(--color-default);
}

.header-menu li.cart,
#search-box,
#header-nav {
  display: none;
}

.header-menu li.login:nth-child(3) a {
  padding-right: 0;
}

.main-top {
  background: var(--color-main);
  margin: 0 -15px;
  padding: 0 15px;
  overflow: clip;
}

#contents {
  padding: 0;
}

.mainblock {
  padding: 0;
}

.contents-wrap {
  /*padding: max(40px, min(5vw, 50px)) 5px 0;*/
  padding: max(80px, min(10vw, 100px)) 5px 0;
  grid-template-columns: 1fr 280px;
  max-width: 1210px;
  margin-inline: auto;
}
.after_purchase .contents-wrap {
  padding-top: max(85px, min(5vw, 50px));
}

.hidden-sp1000,
.hidden-sp640 {
  display: none !important;
}
.visible-sp1000,
.visible-sp640 {
  display: block !important;
}
@media (min-width: 1000px) {
  .contents-wrap {
    display: grid;
    gap: 50px;
  }

  .hidden-sp1000 {
    display: block !important;
  }
  .visible-sp1000 {
    display: none !important;
  }
}

@media (min-width: 768px) {
  #header-section {
    padding: 20px 0;
  }

  #contents {
    display: block;
  }
}

@media (min-width: 640px) {
  .hidden-sp640 {
    display: block !important;
  }
  .visible-sp640 {
    display: none !important;
  }
}

@media (max-width: 1250px) {
  .contents-wrap {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  #site-logo {
    position: unset;
  }

  #header-inner {
    padding: 0;
  }
}

/* パックタイトル start */
.main-top.after_purchase .main-head {
  display: grid;
  grid-template-columns: 1fr 0.27fr;
  align-items: center;
  gap: max(25px, min(5vw, 45px));
  max-width: 680px;
  margin-inline: auto;
}

.main-head h1 {
  margin-top: 0;
  margin-bottom: max(15px, min(4.5vw, 35px));
}
.main-head h1 img {
  max-width: 540px;
  width: 93%;
}

.main-img {
  margin-bottom: max(28px, min(6vw, 50px));
  margin-inline: auto;
  max-width: 460px;
}

.introduction {
  margin-bottom: max(45px, min(5.5vw, 60px));
  display: grid;
  justify-content: center;
}
.introduction p {
  font-size: max(1.6rem, min(2.5vw, 1.8rem));
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 0;

}
.introduction p .red {
  color: #f5362b;
}
.introduction p:nth-child(1){
	margin-bottom: 0.5em;
}

.price-box{
  background: #FFF4BF;
  max-width: 300px;
  margin: -1.5em auto max(45px, min(5.5vw, 60px));
  text-align: center;
  padding: 1em;
}
.price-box p{
  margin-bottom: 0;
  font-weight: 500;
  font-size: max(14px, min(2vw, 16px));
}
.price-box .special-price{
  font-size: max(160%, min(5vw, 180%));
  line-height: 1.2;
}
.price-box p strong{
  font-weight: 900;
  margin-left: 6px;
  font-size: 120%;
}

@media (min-width: 640px){
  .price-box{
    max-width: 340px;
  }
  .price-box .special-price,
  .price-box .limited-time{
    display: inline-block;
  }
}
@media (min-width: 1000px) {
  .main-img {
    max-width: 380px;
  }
  .main-img.hitsuji {
    margin-top: -5px;
  }

  .before_purchase .main-head h1 {
    margin-top: 10px;
  }
}
@media (max-width: 999px) {
  .main-top.after_purchase .main-head {
    max-width: 530px;
  }
  .before_purchase .main-img img {
    max-width: 80%;
  }
}
/* パックタイトル end */

/* 動く下線 start */
mark {
  font-size: 120%;
  background-image: -webkit-linear-gradient(
    to right,
    transparent 50%,
    var(--color-mark) 50%
  );
  background-image: -moz-linear-gradient(
    to right,
    transparent 50%,
    var(--color-mark) 50%
  );
  background-image: linear-gradient(to right, transparent 50%, var(--color-mark) 50%);
  background-color: initial;
  font-weight: 900;
  background-repeat: repeat-x;
  background-size: 200% 0.6em;
  background-position: 0 0.7em;
  transition: all 1s ease;
  font-weight: 800;
  padding: 0;
  padding-bottom: 7px;
}
mark.active {
  background-position: -100% 0.8em;
}
/* 動く下線 end */

/* ここがすごい！ start */
.merit {
  margin-bottom: 60px;
}

.merit-title {
  background: #070606;
  color: #fff;
  font-size: max(1.4rem, min(2.5vw, 1.8rem));
  font-weight: 500;
  display: grid;
  justify-content: center;
  padding: 4px 15px;
  letter-spacing: 0;
}
.merit-content {
  background: var(--color-sugoiBg);
  padding: max(26px, min(6vw, 58px)) 20px 50px;
  display: grid;
}
.merit-item {
  display: grid;
  grid-template-columns: max(25px, min(4vw, 40px)) 1fr;
  gap: 6px;
}
.merit-content .merit-item {
  margin-bottom: 60px;
}
img[src*="merit-check"] {
  width: 35px;
  height: 32px;
  display: inline-block;
}
img[src*="merit_check_new"]{
  position: relative;
  top: -12px;
}
.merit-head {
  font-size: max(1.8rem, min(3vw, 2.5rem));
  font-weight: 700;
  margin-bottom: max(10px, min(2vw, 15px));
  line-height: 1.5;
}
.merit-detail {
  font-size: max(1.4rem, min(2vw, 1.6rem));
  font-weight: 500;
  line-height: 1.6;
}
.merit-inner {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 28px;
}
.merit-inner img[src*="merit"] {
  margin-inline: auto;
  width: 100%;
}
.merit-inner img[src*="merit01"],
.merit-inner img[src*="merit03"] {
  max-width: 100px;
}
.merit-inner img[src*="merit02"] {
  max-width: 170px;
}
.merit-inner img[src*="merit04"] {
  max-width: 75px;
  max-width: 135px;
  /* margin-top: -15px; */
}

.toSample {
  text-align: center;
  display: grid;
  justify-content: center;
}
.toSample a {
  color: var(--color-pointGreen);
  font-size: max(1.6rem, min(2.5vw, 1.8rem));
  font-weight: 500;
  border: solid 1px var(--color-pointGreen);
  padding-left: 10px;
  position: relative;
  transition: all 0.25s;
  width: 224px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #ffc34a;
  border-radius: 5px;
}
.toSample a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 10px;
  height: 10px;
  border: 1px solid;
  border-color: var(--color-pointGreen) var(--color-pointGreen) transparent transparent;
  transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  transition: all 0.2s;
}
.toSample a:hover {
  text-decoration: none;
  color: var(--color-hover);
  background: #fcce73;
  border-color: var(--color-hover);
}
.toSample a:hover::before {
  border-color: var(--color-hover) var(--color-hover) transparent transparent;
}

.merit-content .toPurchase {
  margin-top: max(25px, min(4.5vw, 35px));
}

@media (min-width: 1000px) {
  .merit .toPurchase {
    display: none;
  }
}

@media (min-width: 768px) {
  .merit-content .merit-item.merit-last {
    margin-bottom: 0;
  }

  .merit-item:nth-of-type(2) .merit-inner {
    align-items: center;
  }
}

@media (max-width: 999px) {
  .merit {
    margin: 0 0 50px;
  }

  .merit-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 767px) {
  .merit {
    margin: 0 -20px 0;
  }
  .merit-content .merit-item{
    margin-bottom: 30px;
  }
  .merit-content .merit-item img[src*="check"]{
    position: relative;
    top: 3px;
  }
  .merit-inner {
    grid-template-columns: 1fr 80px;
    gap: 15px;
    align-items: center;
  }
  .merit1 .merit-inner{
    grid-template-columns: 1fr 75px;
  }
  .merit3 .merit-inner{
    grid-template-columns: 1fr 70px;
  }
  .merit-content img[src*="merit_check_new"]:not(:root){
  top: -5px;
  }

}
/* ここがすごい！ end */

/* アコーディオンリスト start */
.main-bottom {
  position: relative;
  padding-bottom: 10px;
  padding-top: 60px;
}
.main-bottom * {
  position: relative;
}
.main-bottom::before {
  content: "";
  position: absolute;
  width: 200vw;
  height: 100%;
  background: var(--color-beige);
  z-index: 0;
  top: 0;
  left: calc(50% - 50vw);
  right: 0;
  bottom: 0;
}
.list-head {
  border-bottom: 2px solid var(--color-default);
  margin-bottom: 20px;
  margin-top: 0;
  position: relative;
}
.list-head > span {
  font-size: max(1.6rem, min(2vw, 1.8rem));
  background: var(--color-default);
  color: #fff;
  width: fit-content;
  height: max(28px, min(4vw, 33px));
  line-height: max(28px, min(4vw, 33px));
  text-align: center;
  border-radius: 5px 5px 0 0;
  display: flex;
  align-items: center;
  margin-bottom: -2px;
  padding: 0 10px 0 6px;
}
.list-head img {
  height: max(20px, min(2.5vw, 22px));
  display: inline-block;
  margin-right: 8px;
}
#fav-list-area img,
#theme-list-area img {
  margin-right: 6px;
}
.list-head .text {
  position: relative;
  top: -1px;
  white-space: nowrap;
}

.accordionList-wrap {
  display: grid;
  gap: max(15px, min(2.5vw, 25px));
  position: relative;
}
.accordion-inner a:hover {
  text-decoration: none;
}
.accordion-head {
  position: relative;
  cursor: pointer;
  transition-duration: 0;
  font-size: max(1.7rem, min(2.1vw, 1.7rem));
  font-weight: 700;
  padding: 0.8em 25px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  line-height: 24px;
}
.accordion-head:first-of-type {
  /*gap: 16px;*/
  align-items: baseline;
}

.accordion-content {
  display: none;
  box-sizing: border-box;
  background: #fff;
}

.accordion-item {
  background-color: var(--color-accordionBg);
  color: var(--color-pointGreen);
  border-radius: 5px;
  transition: all 0.25s;
}
@media (hover: hover) {
  .accordion-item:hover {
    background-color: #fff0aa;
  }
}

.accordion-item .book-name {
  /* font-size: 78%; */
  font-size: max(1.5rem, min(1.9vw, 1.5rem));
  line-height: 1.4;
  margin-top: 0.5em;
  margin-left: 16px;
}
.accordion-inner ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.accordion-inner ul li {
  padding: 0 max(15px, min(2.5vw, 25px));
}
.accordion-inner ul li>a {
  padding: 1em 1.6em 1em 0;
  font-size: max(1.4rem, min(2vw, 1.6rem));
  color: var(--color-default);
  position: relative;
  transition: all 0.3s;
  display: block;
}
.accordion-inner ul li>a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: max(5px, min(1vw, 10px));
  width: 10px;
  height: 10px;
  border: 1px solid;
  border-color: #746e4e #746e4e transparent transparent;
  transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  transition: all 0.25s;
}
.main-top .accordion-inner ul li:not(:last-of-type)>a,
.main-top
  #fav-list-area
  + .favorite-list-wrap
  .accordion-inner
  ul
  li:not(:last-of-type)
  a {
  border-bottom: var(--color-pointGreen) dashed 1px;
}
.accordion-inner ul li>a:hover {
  color: var(--color-yodosha);
}
.accordion-inner ul li>a:hover::before {
  right: max(2px, min(1vw, 6px));
  border-color: var(--color-yodosha) var(--color-yodosha) transparent
    transparent;
}
.accordion-item .more {
  display: flex;
  justify-content: flex-end;
  font-size: max(1.2rem, min(1.5vw, 1.2rem));
  color: #746e4e;
}
.accordion-item .more .caret {
  width: 8px;
  height: 8px;
  border: 1px solid;
  border-color: #746e4e #746e4e transparent transparent;
  transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transition: 0;
  margin-right: 10px;
  position: relative;
  bottom: 3px;
}
.accordion-item.menu-open .caret {
  transform: rotate(-45deg);
  top: 3px;
  position: relative;
}
.accordion-item.menu-open .more .txt {
  display: none;
}
.accordion-item.menu-open .more::after {
  content: attr(data-label);
}

.accordion-inner ul li .free,
.accordion-head .free {
  background: var(--color-pointRed);
  color: #fff;
  padding: 0 4px;
  font-size: 80%;
  height: 17px;
  line-height: 17px;
  display: inline-block;
  margin-left: 4px;
  top: -1px;
}

.accordion-head .free {
	font-weight: 400;
}

.magazine .free {
	font-size: larger;
}

.favorite-list-wrap {
  margin-bottom: 60px;
  position: relative;
}
.favorite-list-wrap p {
  margin: 0;
  font-size: 1.4rem;
}
.favorite-list-wrap .accordion-inner {
  background: #fff;
}
.favorite-list-wrap .accordion-content {
  display: block;
}
.favorite-list-wrap .accordion-content li.favorite_over6 {
  display: none;
}
.main-top
  .favorite-list-wrap
  .accordion-item:not(.menu-open)
  .accordion-inner
  ul
  li:nth-child(5)
  a {
  border-bottom: none !important;
}

.after_purchase #fav-list-area + .favorite-list-wrap ul li a {
  padding: 0.8em 1.6em 0.6em 0;
}

.favorite-list-wrap.noFav {
  background: rgb(255 255 255/ 30%);
  padding: 1.2em 1.5em;
}
.favorite-list-wrap p.announce {
  font-weight: 700;
  font-size: 1.6rem;
}
.favorite-list-wrap p.method {
  margin-top: 1.2em;
  font-size: 90%;
  display: grid;
  justify-content: center;
  color: rgb(0 0 0/70%);
}
.favorite-list-wrap p.method .favBtn {
  border: 1px solid rgb(0 0 0/20%);
  width: 1.6em;
  height: 1.6em;
  text-align: center;
  display: inline-block;
  margin: 0 2px;
}
.favorite-list-wrap img[src*="howto-fav"] {
  margin-top: 1.8em;
  border-radius: 5px;
  max-width: 200px;
  width: max(60%, min(12vw, 72%));
}

@media (max-width: 999px) and (min-width: 460px) {
  .favorite-list-wrap p {
    font-size: max(1.4rem, min(2vw, 1.6rem));
  }
}
@media (max-width: 999px) {
  .main-bottom {
    margin: 0 calc(50% - 50vw);
    padding: 50px max(20px, min(5.5vw, 60px)) 0;
  }
  .main-top .main-article #fav-list-area.list-head > span {
    padding: 0 max(6px, min(1vw, 8px));
  }
  .main-top .main-article .accordion-inner ul li a {
    font-size: max(1.4rem, min(2vw, 1.6rem));
  }
}
@media (max-width: 767px) {
  .accordion-head {
    padding: 1em 15px;
  }
  .accordion-inner ul li>a {
    padding: 1.3em 1.65em 1.3em 0;
  }
}
@media (max-width: 460px) {
  .main-top #fav-list-area {
    margin-top: -10px;
  }
}
/* アコーディオンリスト end */

/* キリトリ線 start */
.cutting-line {
  margin: 50px 0 0;
  border: 1px dashed #fff;
  position: relative;
}

.after_purchase .cutting-line {
  margin-bottom: 50px;
}
@media (min-width: 1000px) {
  .before_purchase .cutting-line {
    display: none;
  }
}
@media (max-width: 1235px) {
  .accordion-head:first-of-type {
    gap: 0;
    display: grid;
  }
  .magazine {
	margin-left: 1.5em;
  }
}
/* キリトリ線 end */

/* 購入についてBOX start */
.purchase-box {
  background: #fff;
  border: 2px solid #b2b2b2;
  border-radius: 5px;
  padding: 13px;
  color: var(--color-default);
  font-weight: 400;
  font-size: 1.3rem;
  margin-inline: auto;
}
.purchase-box .title {
  font-weight: 700;
  margin-bottom: 18px;
  margin-left: 1.2em;
}
.purchase-box .list-price,
.purchase-box .limited-time {
  font-weight: 500;
}
.purchase-box .title::before {
  content: "\25CF";
  color: #808080;
  margin-right: 4px;
  font-size: 85%;
  margin-left: -1.4em;
}
.purchase-box .title .sub {
  font-weight: 500;
  font-size: 1.2rem;
  display: block;
}
.purchase-box .list-price,
.purchase-box .limited-time {
  text-align: center;
}
.purchase-box .list-price,
.purchase-box img[src*="arrow"] {
  margin-bottom: 5px;
}
.purchase-box img[src*="arrow"] {
  width: 8px;
}
.purchase-box .limited-time {
  color: #e60012;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

/* 販売終了 */
.purchase-box .limited-time.soldout {
	color: var(--color-default);
}

.purchase-box .limited-time b {
  font-size: 145%;
  font-weight: 700;
}
.purchase-box .limited-time small {
  font-size: 85%;
  font-weight: 400;
}
.purchase-box .toPurchase {
  margin: 20px 0;
}
.purchase-box p a,
.description-item a {
  color: inherit;
  text-decoration: underline;
}
.purchase-box p a:hover,
.description-item a:hover {
  text-decoration: none;
}
.purchase-box .description-item {
  margin: 15px 0;
}
.purchase-box .description-item dt {
  float: left;
}
.purchase-box .description-item dd {
  line-height: 1.6;
}
.purchase-box .description-item dd:not(:last-of-type) {
  margin-bottom: 0.5em;
}

.toPurchase {
  display: grid;
  justify-content: center;
}
.toPurchase a {
  background: #e8531a;
  color: #fff;
  font-size: 1.8rem;
  width: 224px;
  height: 50px;
  display: grid;
  place-items: center;
  font-weight: 500;
  position: relative;
  border-radius: 5px;
  padding-left: 10px;
  transition: all 0.25s;
}
.toPurchase a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 10px;
  height: 10px;
  border: 1px solid;
  border-color: #fff #fff transparent transparent;
  transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  transition: all 0.2s;
}
.toPurchase a:hover {
  background: #ff6930;
  text-decoration: none;
}

/* 販売終了 */
.toPurchase.soldout a {
	background: #808080;
	pointer-events: none;
}

@media (min-width: 1000px) {
  .before_purchase .sticky-wrap {
    position: sticky;
    top: 20px;
  }

  .main-top .columns_02 {
    margin-bottom: 60px;
  }
}

@media (max-width: 999px) {
  .main-top .columns_02 {
    position: relative;
    padding: 50px 0 10px;
  }
  .after_purchase .columns_02 {
    padding: 0 0 60px;
  }
  .main-top .columns_02::before {
    content: "";
    position: absolute;
    margin: 0 calc(50% - 50vw);
    background: #efebe1;
    width: 100vw;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
  }
  .sticky-wrap {
    position: relative;
  }
}
/* 購入についてBOX end */

/* スマホ用固定購入ボタン start */
#sp-fixed-purchase {
  position: fixed;
  bottom: 65px;
  left: 10px;
  z-index: 3;
  transition: 0.3s;
}
#sp-fixed-purchase a {
  display: block;
  position: relative;
  width: 78px;
}
#sp-fixed-purchase .close-btn {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  top: -5px;
  right: -2px;
  background: #c8c9ca;
  z-index: 9;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
#sp-fixed-purchase .close-btn img {
  width: 12px;
}
#sp-fixed-purchase.close,
#sp-fixed-purchase.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 1000px) {
  #sp-fixed-purchase {
    display: none;
  }
}

@media (max-width: 499px) {
  #sp-fixed-purchase {
    bottom: 54px;
  }
}
/* スマホ用固定購入ボタン end */

/* スマホ用固定メニュー start */
#sp-fixed-menu {
  position: fixed;
  width: 100%;
  bottom: 0px;
  left: 0;
  top: auto;
  z-index: 4;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#sp-fixed-menu ul:not([class]) {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 60px;
  background: #e5e5e5;
  position: relative;
  border-top: 1px solid #ccc;
}
#sp-fixed-menu li:not([class]) {
  text-align: center;
  width: 50%;
  padding: 0;
  margin: 0;
  display: grid;
  align-items: center;
}
#sp-fixed-menu li:not([class]) > * {
  display: grid;
  justify-content: center;
  gap: max(5px, min(1vw, 6px));
}
#sp-fixed-menu li:not([class]) a {
  color: #4d4d4d;
}
#sp-fixed-menu li:not([class]) a:hover {
  text-decoration: none;
}
#sp-fixed-menu li:not([class]) img {
  height: 26px;
  margin-inline: auto;
}
#sp-fixed-menu li:not([class]) p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 0;
  line-height: 1;
}
#sp-fixed-menu li:not([class]) .btn-grayout > img,
#sp-fixed-menu li:not([class]) .btn-grayout > p,
#sp-fixed-menu li:not([class]) .btn-grayout .search-icon {
  opacity: 0.3;
}

@media (min-width: 1000px) {
  #sp-fixed-menu {
    display: none;
  }
}

@media (max-width: 499px) {
  #sp-fixed-menu ul:not([class]) {
    height: 50px;
  }
  #sp-fixed-menu li:not([class]) img {
    height: 20px;
  }
  .sp-menu .open-btn:not(:root),
  .sp-menu .search-icon:not(:root),
  .sp-menu .list-open:not(:root) {
    height: 20px;
  }
  #sp-fixed-menu li:not([class]) p {
    font-size: 1rem;
  }
}
/* スマホ用固定メニュー end */

/* 検索フォーム start */
.sp-menu .open-btn,
.sp-menu .search-icon,
.sp-menu .list-open {
  bottom: 0px;
  right: 0;
  background: url("/smart_rn/images/sp-menu_search.svg")
    no-repeat bottom;
  background-size: contain;
  width: auto;
  height: 26px;
  position: relative;
}
.sp-menu .list-open {
  background: url("/smart_rn/images/sp-menu_contents.svg")
    no-repeat bottom;
}
.sp-menu .open-btn,
.sp-menu .list-open {
  cursor: pointer;
}
.sp-menu .open-btn.btnactive,
.sp-menu .btnactive .list-open {
  background: url("/smart_rn/images/sp-menu_searchClose.svg")
    no-repeat center;
}

#search-wrap {
  position: fixed;
  top: auto;
  bottom: -50px;
  z-index: -1;
  left: 0;
  width: 100%;
  transition: all 0.4s;
  display: block !important;
}
#search-wrap.panelactive {
  bottom: 50%;
  z-index: 1;
}
#search-wrap + .search-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  position: fixed;
}
#search-wrap.panelactive + .search-backdrop {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
  opacity: 0.5;
  visibility: visible;
  z-index: -1;
  touch-action: none;
  overflow: hidden;
}

.searchform {
  transition: transform 0.4s;
  display: block;
  position: relative;
  margin-inline: auto;
  opacity: 1;
  width: 100%;
}

.searchform .input-group {
  margin-inline: auto;
  width: 85%;
  max-width: 420px;
}

.searchform input {
  -webkit-appearance: none;
  outline: none;
  cursor: text;
  color: var(--color-default);
}

.searchform input[type="text"]:not(:root) {
  border-bottom: 2px solid #ccc;
  transition: all 0.5s;
  height: 38px;
  padding: 10px 37px 10px 20px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 100vh;
  font-size: 1.4rem;
}
.search-pc.grayout .searchform input[type="text"]{
  font-size: 1.25rem;
}

#sp-fixed-menu .searchform input[type="text"] {
  box-shadow: 0 2px 6px rgb(0 0 0/ 30%);
}
.searchform ::placeholder {
  color: #9e9e9e;
}
.searchform input[type="text"]:focus {
  background: #fff;
  outline: auto;
  outline-color: #808080;
  box-shadow: none;
}

.searchform .input-group-btn {
  position: unset;
}
.searchform button[type="submit"] {
  position: absolute;
  top: 50%;
  right: 20px;
  background: transparent;
  width: 20px;
  height: 26px;
  border: none;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0;
  opacity: 0.75;
}

@media (min-width: 1000px) {
  .search-pc {
    margin-bottom: 30px;
  }
  .search-pc.grayout {
    opacity: 0.4;
  }

  .search-pc .searchform .input-group {
    width: 100%;
  }

  .search-pc.grayout .searchform ::placeholder {
    color: #000;
  }
  .search-pc.grayout input,
  .search-pc.grayout button[type="submit"] {
    pointer-events: none;
  }

  .search-pc .searchform input[type="text"] {
    border-color: #000;
  }
  .search-pc.grayout .searchform input[type="text"] {
    background: #bfbfbf;
    padding-left: 15px;
  }
  .search-pc.grayout .searchform button[type="submit"] {
    right: 15px;
    opacity: 1;
  }
}

@media (max-width: 999px) {
  .searchform button[type="submit"] {
    width: 25px;
    height: 30px;
  }

  .searchform input[type="text"]:not(:root) {
    height: 45px;
    padding-right: 42px;
  }
}
/* 検索フォーム end */

/* tooltip start*/
.sp-menu .tooltip {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  font-size: 1.2rem;
  color: white;
  background: rgb(0 0 0 /70%);
  padding: 14px 10px;
  border-radius: 5px;
  bottom: 50%;
  left: calc(50% - 150px);
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  display: grid;
  justify-content: center;
  z-index: 1;
  animation-delay: 0.3s;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgb(0 0 0 /20%);
  line-height: 1.5;
}

#sp-fixed-menu .tips .tooltip {
  animation: tips-open 0.4s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes tips-open {
  0% {
    opacity: 0;
  }
  10% {
    transform: scale(1.2);
    opacity: 1;
    visibility: visible;
  }
  20% {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
  }
  100% {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
  }
}
@-webkit-keyframes tips-open {
  0% {
    opacity: 0;
  }
  10% {
    transform: scale(1.2);
    opacity: 1;
    visibility: visible;
  }
  20% {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
  }
  100% {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
  }
}
/* tooltip end*/

@media (max-width: 999px) {
  .totop {
    bottom: 122px;
    z-index: 3;
  }
}
@media (max-width: 767px) {
  .totop {
    bottom: 110px;
  }
}

@media (max-width: 499px) {
  .totop {
    bottom: 98px;
  }
}

.font-size12 {
  font-size: 1.2rem;
}

.keyword {
	background-color: yellow;
}

/* レジデントノートとは */
.about-rnote {
	margin-top: 0.8em;
	margin-bottom: 2em;
	font-weight: 500;
	font-size: max(1.4rem, min(2vw, 1.5rem)) !important;
}
.about-rnote a {
	color: #3d3d3d;
	text-decoration: underline;
}
/* レジデントノートとは */

/* テーマ一覧 */
.book-theme span {
	background-color: white;
	border-radius: 21px; /* 角を丸くする */
	padding: 0 13px 3px 13px;
}
.magazine {
	/* font-size: x-small; */
	font-size: max(0.9rem, min(1.1vw, 0.9rem));
	color: #666666;
}
/* テーマ一覧 */

.word-instructions-link {
	display   : block;
	margin-top: 0.5em;
}


/* 病棟対応バナー */
.to-wm2024 {
	margin-top: 1em;
}
.to-wm2024 img {
	border: 1px solid #b2b2b2;
	border-radius: 5px;
	max-width: 400px;
}
.to-wm2024 img:hover {
	opacity: 0.9;
}

@media (max-width: 460px) {
	.to-wm2024 img {
		max-width: 100%;
	}
}
/* 病棟対応バナー */


/* 販売終了モーダル */
#soldout_modal img {
	width: 20%;
}
/* 販売終了モーダル */

/* 2024誘導モーダル */
#to2024_modal .img-div {
	margin-top   : 3em;
	margin-bottom: 3em;
}
#to2024_modal .glyphicon-arrow-right {
	margin-left : 1em;
	margin-right: 0.5em;
}
#to2024_modal img {
	width: 40%;
}
/* 2024誘導モーダル */

/* レジのロゴ */
#rn_logo {
	width: 250px;
	position: absolute;
	left: -200px; /* 画面外に配置 */
	transition: left 1s; /* アニメーションの時間を設定 */
	background-color: var(--color-resi-logo);
	padding: 0.5em 2em;
}
.orange-bar {
	position: absolute;
	left: -200px; /* 画面外に配置 */
	height: 4px;
	background-color: var(--color-resi-logo);
}
#bar1 {
	top: 55px; /* 任意の位置に配置 */
	width: 205px;
	transition: left 1.2s; /* アニメーションの時間を設定 */
}
#bar2 {
	top: 62px; /* 任意の位置に配置 */
	width: 173px;
	transition: left 1.4s; /* アニメーションの時間を設定 */
}
#bar3 {
	top: 69px; /* 任意の位置に配置 */
	width: 141px;
	transition: left 1.6s; /* アニメーションの時間を設定 */
}

/* スマホの場合 */
@media (max-width: 999px) {
	#rn_logo {
		left: 0 !important;
		width: 100%;
		height: 40px;
	}
	#bar1 {
		top: 43px; /* 任意の位置に配置 */
		width: 150px;
	}
	#bar2 {
		top: 50px; /* 任意の位置に配置 */
		width: 120px;
	}
	#bar3 {
		top: 57px; /* 任意の位置に配置 */
		width: 90px;
	}
}
/* レジのロゴ */


/* 発売日 */
.release-date-pc {
	padding-top: 50px;
}
.release-date-sp {
	display:none;
}
/* スマホの場合 */
@media (max-width: 999px) {
	.release-date-pc {
		display:none;
	}
	.release-date-sp {
		display:block;
		padding-top: 50px;
	}
}
/* 発売日 */




/* アンケート */
.enq-div i.fa-bullhorn{
	margin-right: 5px;
}
.enq-div .list-head {
	border-bottom: 2px solid #64c8de;
}
.enq-div .list-head > span {
	background: #64c8de;
}
.favorite-list-wrap p.enq-info {
	font-size: max(1.5rem, min(1.9vw, 1.5rem));
	display: grid;
	justify-content: center;
	color: rgb(0 0 0/70%);
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}
.favorite-list-wrap p.enq-info span {
	margin-bottom: 0.5em;
}
.favorite-list-wrap p.enq-info a {
	color: var(--color-default);
	text-decoration: underline;
}
.favorite-list-wrap p.enq-info a:hover {
	text-decoration: none;
}
.toEnq {
	text-align: center;
	display: grid;
	justify-content: center;
	margin-bottom: 0.5em;
}
.toEnq a {
	color: var(--color-default);
	font-size: max(1.2rem, min(2.5vw, 1.4rem));
	font-weight: 500;
	border: solid 1px var(--color-default);
	padding-left: 10px;
	position: relative;
	transition: all 0.25s;
	width: 200px;
	height: 35px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 5px;
}
.toEnq a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 5px;
	width: 10px;
	height: 10px;
	border: 1px solid;
	border-color: var(--color-default) var(--color-default) transparent transparent;
	transform: translateY(-50%) rotate(45deg);
	-moz-transform: translateY(-50%) rotate(45deg);
	-webkit-transform: translateY(-50%) rotate(45deg);
	z-index: 2;
	transition: all 0.2s;
}
.toEnq a:hover {
	text-decoration: none;
	color: var(--color-enq-hover);
	background: rgba(255, 255, 255, 0.8);
	border-color: var(--color-enq-hover);
}
.toEnq a:hover::before {
	border-color: var(--color-enq-hover) var(--color-enq-hover) transparent transparent;
}
/* アンケート */




/* なる前バナー */
.to-other-pack {
	margin-top: 1em;
}
.to-other-pack img {
	border: 1px solid #b2b2b2;
	border-radius: 5px;
}
.to-other-pack img:hover {
	opacity: 0.9;
}
.to-other-pack-2ormore {
	margin-top: 0.3em;
}
.to-other-pack-after-purchase img {
	max-width: 400px;
}
@media (max-width: 460px) {
	.to-other-pack-after-purchase img {
		max-width: 100%;
	}
}
/* なる前バナー */




/* レジスタ */
#resistu-area {
	margin-top: 5em;
	border: 2px solid var(--color-orange);
	background-color: var(--color-resistu);
}
#resistu-area>div.free-icon {
	display: -webkit-flex;
	display: flex;
	align-items: center;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	gap: 10px;
	font-size: large;
	font-weight: bold;
	margin-top: 10px;
}
#resistu-area>div.free-icon>div {
	-webkit-flex-grow: 0; 
	flex-grow: 0;
}
#resistu-area>div.free-icon>div img {
	width: 50px;
}
#resistu-area>div.free-icon>div span {
	font-size: small;
	color: var(--color-orange);
}
#resistu-area>p {
	margin-top: 1em;
	margin-bottom: 1em;
}
#resistu-area .toPurchase {
	margin-top: 0;
}
#resistu-area .toPurchase a {
	font-size: 1.7rem;
	background: var(--color-orange);
}
/* レジスタ */

/* ヘッダとの境界線を消す */
#header-section{
	border-bottom: none !important;
}