@charset "UTF-8";

/* ~ page specific defaults */
form label {font-weight: normal;}
         p {margin-bottom: 10px;}

#content {
  width: 100%;
  background: #f9f9f9;
}

.btn {
  font-weight: normal;
  font-family: Roboto,"Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  white-space: normal;/* bootstrap overriding */
}

/* ~ Tab & badge ---------------*/
.nav .badge {
  color: #ffffff;
  background-color: #0e9af1;
  border-radius: 46%;
  text-align: center;
  padding: 2px 6px;
  font-size: 70%;
  margin: 0 0 0 10px;
}

/*~ My Cart / main blocks ------*/
.prev_page {margin-bottom: 20px;}

.prev_page a{font-size: 14px;}

.cart_wrapper {
  margin: 0 auto 24px;
  max-width: 980px;
  text-align: left;
}

.cart_wrapper h1 {
  font-size: 30px; font-size: 1.875rem;
  font-weight: normal;
  font-family: Roboto,"Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  color: #303030;
  margin: 6px 0 24px;
}
.cart_wrapper h3 {
  font-size: 18px; font-size: 1.125rem;
  font-weight: normal;
  font-family: Roboto,"Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  color: #303030;
}

.cart_row {
  margin: 12px auto 0;
}

/* ~~ Header & Help --------------*/
.cart_title,
.recommend_title {
  padding: 0 0 6px 0;
  border-bottom:1px solid rgba(0,0,0,0.2);
  box-shadow:0 1px 0 rgba(255,255,255,0.5);
}

.recommend_title .fi-lightbulb {
  font-size: 140%;
}

.recommend_title {
  margin-bottom: 0.5rem;
}

/* ~~ About --------------- */
.about_toggle {
  float: right;
  padding: 4px 0;
}

.about_toggle, .close_help {
  font-size: 13px; font-size: 0.8125rem;
}

.about_toggle, .close_help,
.about_toggle:link, .close_help:link {
  cursor: pointer; color:#0277bd; text-decoration:none;
}
.about_toggle:visited, .close_help:visited { color:#0277bd;text-decoration:none; }
.about_toggle:hover, .close_help:hover,
.about_toggle:active, .close_help:active,
.about_toggle:focus, .close_help:focus {
  text-decoration: underline;
}

.about_system.clearfix {
  position: relative;
  font-size: 13px; font-size: 0.8125rem;
  display: none;
  margin: 0 0 24px;
  padding: 10px;
  background-color: #ffffff;
  border-radius: 2px;
  box-shadow:0 1px 2px 0 rgba(0,0,0,0.2);
}

.help_header {
  margin: 0px;
  font-weight: bold;
}

.close_help {
  position: absolute;
  top: 10px;
  right: 10px;
}

.about_system ul {
  margin: 5px 0 0 0;
  padding-left: 20px;
}

/* ~ Table ---------------------------- */
._cart {
  width: 100%;
  display: flex;
  flex-flow: column;
  overflow: hidden;
}

._cart .mobile_text {display: none; padding: 0 6px 0 0;}

._cart .toggle-all {
  display:none;
}

.album-row {
	background: #fff;
	line-height: 1.8;
	padding: 0px 10px 0 5px;
	font-size: 16px;
	border-bottom: 1px solid #d6d6d6;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
	min-height: 38px;
	border-right: solid 10px #eee;
	z-index: 5;
}
.album-row .album_title{
  flex: 1 0 auto;
  justify-self: flex-start;
  padding: 0 10px;
}
.album-row .format_and_price{
  flex: 0 1 auto;
  width: 18%;
}
.album-row .manipulations_album {
  flex: 0 1 auto;
  width: 10%;
}
.album-row .manipulations_album .fa,
.hires-row .manipulations .fa {
  font-size: 18px;
}
.album-row button {
  flex: 0 0 auto;
}
.album-row button .fa{
  vertical-align: top;/* fixes align on firefox..? */
}

@media screen and (max-width: 641px){
  .album-row .format_and_price,
  .album-row .manipulations_album {
    flex-shrink:0;
    width: auto;
  }
  .album-row .manipulations_album {
  margin-left: auto;
  }
  .album-row .album_title{
    flex-grow: 0;
    width: 90%;/* width - button width */
    font-weight: bold;
  }
  .album-row{
    border-right: 10px solid #eee;
    padding: 10px 5px;
  }
  ._cart .toggle-all {
    display: flex;
    margin: 0 0 5px 0;
    align-self: baseline;
  }
  .toggle-all > .fa {
    display: flex;
  }
  .toggle-all p {
    margin: 0 5px;
  }
}


.table-row.swipe-out {
  border: none;
  max-height: 0px;
  min-height: 0px;
  padding: 0px;
  flex-basis: 0px;
  transition: all 0.3s ease-out;
}
.table-row.swipe-in { transition: all 0.3s ease-out; }

.table-row {
  flex: 0 0 auto;
  min-height: 30px;
  font-size: 13px;
  font-size: 0.8125rem;
  line-height: 20px;
  border-bottom: 1px solid #d6d6d6;
  color: #303030;
  font-weight: normal;
  padding: 5px;
  width: 100%;
  will-change: height;
}

.table-row > div,
.track_data .track_left,
.track_data .track_left > div {
  float: left;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 4px;
}

.table-row:nth-child(odd) { background-color: #f9f9f9; }
.table-row:nth-child(1) { background-color: #e2e2e2; }
.table-row:nth-child(even) { background-color: #fdfcfc; }

.table-header {
  font-size: 16px;
  font-size: 1rem;
  line-height: 20px;
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  color: #303030;
  font-weight: normal;
  box-sizing: border-box;
}

.table-row .track_number { width: 2%; }
.table-row .track_data { width: 70%; }

.table-row .track_data .track_left {width: 100%;}
.table-row .album_artist{ width: 40%;}
.table-row .album_title {
  width: 40%;
  padding-right: 12px;
}
.table-row .track_title {
  line-height: 20px;
  width: 60%;
}

.table-row .format_and_price { width: 15%;}
.table-row .manipulations {
  font-size: 16px; font-size: 1rem;
  width: 13%;
}

.table-row .track_title a,
.table-row .track_title a:link,
.table-row a.album_title_text,
.table-row a.album_title_text:link,
.table-row .album_artist a,
.table-row .album_artist a:link {
  color: #0277bd;
  text-decoration: none;
}

.table-row .track_title a:hover,
.table-row .track_title a:active,
.table-row .track_title a:focus,
.table-row a.album_title_text:hover,
.table-row a.album_title_text:active,
.table-row a.album_title_text:focus,
.table-row .album_artist a:hover,
.table-row .album_artist a:active,
.table-row .album_artist a:focus {
  color: #0277bd;
  text-decoration: underline;
}

.hires-row.table-row {
  padding: 16px 10px;
  font-size: 16px;
  font-weight: bold;
  background-color: #fff;
  border-right: solid 10px #eee;
}

.hires-row .manipulations {
  width: 10%;
  float: right;
  padding-right: 0;
}

.track_data .album_title {float: right;}

._cart .js-track-format {/* select */
  font-size: 13px; font-size: 0.8125rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 8px;
  border-radius: 0;
  background: none;
  border: none;
  color: #303030;
  font-family: "Libre Franklin","Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
}

._cart .js-track-format:focus {
  outline: none
}

/* ~ recommendation slider -------------------*/
@media screen and (max-width: 768px) {
  #recommend_albums {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* ~ CSS slider setup ------------------------*/
.o-packages-grid .c-package {
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .sd\:o-scroll-container {
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: scroll;
    overflow-y: visible;
    -ms-scroll-snap-type: x proximity;
        scroll-snap-type: x proximity;
    scroll-snap-stop: always;
    /* ↓ offsets the alignment of the items towards the right */
    scroll-padding-left: 10vw;
    margin: 0;
    /* ↓⚠️ mandatory on iOS, very hard to scroll otherwise */
    -webkit-overflow-scrolling: touch;
    contain: content;
    /* helps preventing backwards/forwards motions when swiping */
    overscroll-behavior-x: contain;
    transform: translateX(0px);
    padding: 0;
  }

  .sd\:o-scroll-container .c-package {
    margin-top: 6px;
  }
  .sd\:o-scroll-container li.c-package:first-of-type {
    margin-left: 0;
  }
  .sd\:o-scroll-container li.c-package:last-of-type {
    margin-right: 0;
  }

  .sd\:o-scroll-filler-left {
    display: block;
    width: 100%;
  }
  .sd\:o-scroll-filler-right {
    display: block;
    width: 100%;
  }

  .sd\:o-scroll-container-arrow {
    display: none;
  }

  .sd\:o-scroll-hint {
    display: block;
    position: absolute;
    width: 126px;
    height: 80px;
    top: 220px;
    left: 97px;
    z-index: 3; /* above the boxes */
  }

  .sd\:o-scroll-hint.animate {
    animation-name: fadeout;
    animation-duration: 4s;
    animation-timing-function: ease;
    animation-delay: 8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
}

@keyframes fadeout {
    0% { opacity: 1; }
  100% { opacity: 0; }
}

@media screen and (min-width: 769px) {
  .ld\:o-scroll-container {
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: scroll;
    overflow-y: visible;
    margin: 0;
    /* ↓⚠️ mandatory on iOS, very hard to scroll otherwise */
    -webkit-overflow-scrolling: touch;
    contain: content;
    /* helps preventing backwards/forwards motions when swiping */
    overscroll-behavior-x: contain;
    transform: translateX(0px);
    padding: 0;
  }

  .o-packages-grid.ld\:o-scroll-container .c-package {
    margin-top: 6px;
    margin-left: 0;
    margin-right: 17px;
  }
  .ld\:o-scroll-container li.c-package:first-of-type {
    margin-left: 0px;
  }
  .ld\:o-scroll-container li.c-package:last-of-type {
    margin-right: 0px;
  }

  .ld\:o-scroll-filler-left {
    display: none;
  }
  .ld\:o-scroll-filler-right {
    display: none;
  }

  .ld\:o-scroll-container-arrow {
    position: relative;
    display: inline-block;
    font-size: 36px;
    color: hsla(0, 0%, 50%, 0.5);
    width: 74px;
    height: 310px;
    line-height: 310px;
    padding: 0 24.15px;
    margin: 6px 0px 16px 0px;
  }

  .ld\:o-scroll-indicator {
    display: none;
  }
}

/* ~~ discography ------------------------*/
.discography .album img {max-width: 100%;}

.discography .album {
  position:relative;
  display: inline-block;
  width:148px !important;
  height:310px;
  margin-right: 16px;
  background:#fff;
  box-shadow:0 1px 2px 0 rgba(0,0,0,0.2);
  white-space: normal;/* for children */
  flex: 0 0 auto;
  vertical-align: top;/* helps consistence on IE, etc */
}

.discography .album .jacket {
  width: 148px;
  height: 148px;
  display: -ms-flex;
  display: flex;
  flex-direction: row;
}

.album .jacket > a {
  display: flex;
  width: 100%;
  height: 100%;
}

.discography .album .jacket .img-outer {
  position: relative;
  max-width:  148px;
  max-height: 180px;
  overflow: hidden;
  margin: auto;
}

.discography .album .jacket .img-jacket {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 4px;
  padding-left: 4px;
}

.discography .album .jacket .img-jacket img {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
}

.discography .album .jacket .c-badge {
  position: absolute;
  width: 46px;
  height: 46px;
}

.discography .jacket .c-badge.lossless { top: 0px; right: 0px; }
.discography .jacket .c-badge.hires { top: 0px; right: 0px; }
.discography .jacket .c-badge.exclusive { bottom: 0px; right: 0px; }
.discography .jacket .c-badge.freedl { bottom: 0px; left: 0px; }
.discography .jacket .c-badge.preorder { bottom: 0px; left: 0px; }
.discography .jacket .c-badge.new { top: 0px; left: 0px; }
.discography .jacket .c-badge.prerelease { top: 0px; left: 0px; }

.discography .album .caption {padding: 6px 6px 0 6px;}

.discography .album .caption .title {
  font-size: 0.8125rem;
  font-weight:bold;
  line-height:1.5;
  height:3em;
  overflow:hidden;
  text-overflow:ellipsis;
  position:relative;
  word-break:break-all;
  -webkit-font-smoothing:antialiased;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  margin-bottom: 6px;
}

.discography .album .caption .title > a {
  line-height:1.5;
  text-decoration:none;
}

.discography .album .caption .title > a:hover { text-decoration: underline; }

.discography .album .caption .artist {
  font-size: 0.8125rem;
  color: #707070;
  line-height:1.2;
  height:1.2em;
  overflow:hidden;
  text-overflow:ellipsis;
  margin: 2px 0;
  position:relative;
  word-break:break-all;
  -webkit-font-smoothing:antialiased;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
}
.discography .album .caption .artist > a {
  font:inherit;
  color:inherit;
  line-height:1.2;
  text-decoration:none;
  display:block;
}

.discography .album .caption a:hover { text-decoration: underline; }

.discography .album .caption .review {
  font-size: 0.8125rem;
  font-weight:normal;
  line-height:1.5;
  overflow:hidden;
  text-overflow:ellipsis;
  margin: 5px 0 0 0;
  padding: 0;
  width:100%;
  word-break:break-all;
  -webkit-font-smoothing:antialiased;
  display:-webkit-box;
  height:4.5em;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  margin-top: 6px;
}

.discography .album .caption .price {
  font-size: 13px; font-size: 0.8125rem;
  font-weight: bold;
  line-height: 1;
  color: #c1272d !important;
  margin: 2px 0 0 0 !important;
  text-align: right;
  font-family: "Libre Franklin",Helvetica,sans-serif;
  height: 15px;
}

.discography .album .caption .title > a {color: #303030; }
.discography .album .caption .artist > a {color: #303030; }
.discography .album .caption .review > a {color: #303030; }

.column .fa-user { margin-right: 2px; }

/* ~~~ table controls buttons */
.add_interest {
  display: block;
  float: right;
  color: #707070;
  font-weight: bold;
  text-align: center;
  font-size: 16px; font-size: 1rem;
  padding: 0px 6px;
  box-sizing: border-box;
}

.add_interest:link,
.add_interest:visited {color: #707070;}

.add_interest:hover {
  cursor: pointer;
  color: #ee5da0;
}

.delete_list {
  display: block;
  float: right;
  color: #707070;
  font-weight: bold;
  text-align: center;
  font-size: 16px; font-size: 1rem;
  padding: 0px 6px;
}

.delete_list:link,
.delete_list:visited {color: #707070;}

.delete_list:hover {
  cursor: pointer;
  color: #c9302c;
}

.add_cart {
  display: block;
  float: right;
  font-weight: bold;
  text-align: center;
  color: #707070;
  font-size: 16px; font-size: 1rem;
  padding: 0px 4px;
}

.add_cart:visited,
.add_cart:link {color: #707070;}


.add_cart:hover {
  cursor: pointer;
	color: #2198e3;
}

button.delete_list, button.add_interest, button.add_cart {
  border: none;
}

/* ~ Check Out Zone ------------*/
.shipping_notes {
  font-size: 13px; font-size: 0.8125rem;
}

.checkout_wrapper{
  padding-top: 24px;
  padding-bottom: 16px;
  display: flex;
}

.checkout_wrapper .caption {
  font-size: 13px; font-size: 0.8125rem;
  color: #707070;
  padding-right: 1em;
}
.checkout_wrapper .caption .warn {
  color: #a94442;
}

.checkout_button_wrapper .btn,
.clear_button_wrapper .btn {
  font-size: 16px; font-size: 1rem;
  font-family: Roboto,"Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
}

.checkout_button_wrapper {flex: 1 0 auto;}

.clear_button_wrapper {
  text-align: right;
  margin: 4px auto 32px;
  color:#fff;
}

.carted-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  list-style: none;
  padding: 0;
}

/* ~! Check Out List Recap ------------*/
.carted-list-block {
  display: -ms-inline-grid;
  display: inline-grid;
  flex: 0 0 auto;
  width: calc(50% - 1em);
  -ms-grid-columns: 100px 1fr 120px;
  grid-template-columns: 100px 1fr auto;
  -ms-grid-rows: (1fr)[3] auto;
  grid-template-rows: repeat(3, 1fr) auto;
  grid-template-areas:
    "jacket title title"
    "jacket artist artist"
    "jacket price button"
    "tracks tracks tracks";
  align-items: center;
  background: #fff;
  border-radius: 8px;
  margin: 0.5em;
  overflow: hidden;
  box-shadow: 0 0 2px 1px #ddd;
}
@media screen and (max-width: 741px) {
  .select-payment + ._cart, #top-half ~ ._cart { padding: 0; }
  ._cart > p { padding: 0 1em; }
  .carted-list-block {
    width: 100%;
    position: relative;
    max-width: 100%;
    margin: 1em 0;
    box-shadow: none;
    border-radius: 0;
    background: none;
    grid-template-columns: 100px 1fr auto;
    grid-template-areas:
      "jacket title title"
      "jacket artist artist"
      "price  price button"
      "tracks tracks tracks";
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
  }
  .carted-list-block .mini-jacket {
    max-width: 80px;
    border-radius: 8px;
    box-shadow: 3px 3px 5px 0px #dfdfdf;
    margin-left: 15px;
    max-height: 80px;
    width: auto;
  }
  .carted-list-block .block-price {margin-left: 5px;}

  .carted-list-block .block-artist,
  .carted-list-block .block-album,
  .carted-list-block .block-toggle { margin-right: 15px; }

  .carted-list-block .block-tracklist-item {padding: 0 20px;}
}

img.mini-jacket {
  -ms-grid-row: 1;
  -ms-grid-row-span: 3;
  -ms-grid-column: 1;
  grid-area: jacket;
  max-height: 100px;
  max-width: 100px;
  -ms-grid-column-align: center;
      justify-self: center;
}
@supports(object-fit:contain){
  img.mini-jacket {
    height: 100px;
    width: 100px;
    object-fit: contain;
  }
}

.block-artist {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  -ms-grid-column-span: 2;
  grid-area: artist;
}

.block-album {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  -ms-grid-column-span: 2;
  grid-area: title;
  font-weight: bold;
}
.block-artist,
.block-album {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.block-price {
  -ms-grid-row: 3;
  -ms-grid-column: 2;
  grid-area: price;
}

.block-artist,
.block-album,
.block-price {
  padding: 0px 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  display: inline-block;/* helps IE */
}
[name="block-toggle-input"] {
  opacity: 0;
  z-index: -1;
  position: absolute;
}
.block-toggle {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
  grid-area: button;
  font-weight: bold;
  color: #66cc66;
  margin: 0 10px;
  -ms-grid-column-align: right;
      justify-self: right;
}
.block-toggle:focus-within {outline: auto 3px #66cc66;}

.block-tracklist {
  -ms-grid-row: 4;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  grid-area: tracks;
  list-style: none;
  padding: 0;
  max-width: 100%;
}
.block-tracklist-item {
  display: flex;
  align-items: center;
  height: 2.3em;
  padding: 0 1em;
  background: #f9f9f9;
  opacity: 1;
  max-width: 100%;
}
.block-tracklist-item:nth-of-type(2n) { background: #fff; }

.closed .block-tracklist-item {
  display: none;
  height: 0px;
  opacity: 0;
}

.transition .block-tracklist-item {
  transition: height .3s ease,
              opacity .2s ease-out .2s;
}
.closed.transition .block-tracklist-item {
  display: flex;/* show the item during transition */
  transition: height .15s .3s,
              opacity .2s;
  transition-timing-function: ease;/* IE backup */
  transition-timing-function: ease-in-out;
}

.item-artist {
  flex: 0 0 auto;
  max-width: 40%;
}
.item-track {
  flex: 1 1 auto;
}
.item-track, .item-artist {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.item-format {
  flex: 0 0 auto;
  padding-right: 5px;
}
.item-price {
  flex: 0 0 auto;
  padding-left: 0.5em;
}

/* ~ Cart is empty ----------------*/

.cart_is_empty, .wish_is_empty {
  padding-bottom: 16px;
  margin-bottom: 20px;
  width: 100%;
}

.empty_cart_icon {
  display: block;
  width: 200px;
  margin: 0 auto;
}

.wish_is_empty .fa-paperclip{
  display: block;
  font-size: 180px;
  width: 180px;
  text-align: center;
  color: #999999;
  margin: 0 auto;
}

.empty_message {margin: 16px auto 40px auto;}

.empty_message h2 {
  font-size: 24px; font-size: 1.5rem;
  font-weight: normal;
  font-family: Roboto,"Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  color: #707070;
  text-align: center;
}

.empty_message p {text-align: center;}

.invalid-data {
  background: #f2dede !important;
}

.cart_alert {
  background: #f2dede;
  padding: 15px;
  margin: 20px 10px;
}
.cart_alert ul {
  margin: 1rem 0;
  /* list-style-position: inside; */
  padding-left: 1.5em;
 }
.empty_message .cart_alert,
.empty_message .cart_alert p { text-align: left; }

/* fallback button on bottom */
.cart_confirm_button {
  margin-left: 15.5px;
  margin-right: 15.5px;
  margin: 30px auto;
  width: 55%;
  text-align: center;
}
@media screen and (max-width: 641px) {
  .cart_confirm_button {
    width: 86.4%;
  }
}

/*~ Payment method ---------------------*/
.cart-left-section {
  flex: 1 0 auto;
  width: 60%;
}

.cart-right-section {
  flex: 1 0 auto;
  max-width: 300px;
}

.select-payment {
  margin: 20px auto;
  display: flex;
  justify-content: flex-start;
}
.select-payment .cart-right-section {
  padding-top: 2rem;
}

.pay_select {
  margin-right: 2em;
  padding: 1em 1em;
}

@media screen and (max-width: 641px) {
  .select-payment {
    flex-flow: column;
    align-items: center;
  }

  .pay_select ._pay_button {
    width: 100%;
    display: block;
    padding: 10px 1em;
    text-align: center;
  }

  .pay_select [textnode] { white-space: pre-line; }
  .cart-left-section { width: 100%; }
  .cart-right-section { max-width: 100%; }
}

#payment-fieldset {
  width: 100%;
  margin-bottom: 1em;
}
#payment-fieldset [type=radio] {
  position: absolute;
  opacity: 0;
  z-index: -1;
  margin: 0 1em;
  left: 50%;/*aligns the browser error popup*/
}
#payment-fieldset [type=radio]:checked,
#payment-fieldset:invalid [type=radio][name="payment-choice"] {
  z-index: 0;
  opacity: 1;
  left: auto;
}

#radio-card[disabled] { display: none; }
#radio-card[hidden] + div ._pay_button { padding: 0; }

#payment-fieldset .form-group {
  position: relative;
  display: flex;
  align-items: center; /* Aligns the checkbox */
}

#payment-fieldset .payment-wrapper {
  display: flex;
  width: 100%;
  background: #fff;
  line-height: 2.5;
  align-items: center;
  border-radius: 6px;
  color: #707070;
  border: 1px solid transparent;
  transition: box-shadow 0.2s ease-out;
}
#pay-select:invalid .payment-wrapper,
#form-checkout:invalid .payment-wrapper,
#payment-fieldset [type=radio]:checked + .payment-wrapper {
  color: #333;
}
#payment-fieldset [type=radio]:checked + .payment-wrapper {box-shadow: 0px 0px 8px 0px rgba(185, 185, 185, 0.6);}

._pay_button {
  margin: 0;
  padding: 0 2em;
  flex: 1;
  display: flex;
  align-items: center;
  cursor: pointer;
}
._pay_button img {
  height: 2em;
  flex: 0 0 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  text-align: center;
  line-height: 2;
}

.payment-wrapper.not-available {
  margin-bottom: 15px;
}
.payment-wrapper.not-available ._pay_button {
  cursor: default;
}
.payment-wrapper.not-available ._pay_button label {
  padding: 0.5rem 2rem;
}
.payment-wrapper.not-available ._pay_button span {
  font-size: 0.8rem;
}


._pay_button [textnode] {transition: opacity 0.3s ease;}
.delay-show [textnode] { opacity: 0; }

#pay-select:invalid ._pay_button img,
#form-checkout:invalid ._pay_button img,
:checked ~ .payment-wrapper img { filter: none; }

[for="radio-priv"], [for="radio-free"] { padding-left: 3em; }

/* ~~ final confirm ---------- */
#top-half {
  display: flex;
  justify-content: space-between;
  margin: auto;
}

.last_confirm {
  padding: 1em 10px;
  margin-bottom: 2em;
  background: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: 0 0 6px 0px hsla(0, 0%, 0%, 0.05);
}

.last_confirm .last-confirm-row {
  width: 100%;
  font-size: 16px; font-size: 1rem;
  margin: 1em 0;
  display: flex;
}
.last-confirm-row span {
  margin: 0 1em;
  flex: 1;
  max-width: 50%;
}
.last-confirm-row span:first-of-type { text-align: right; }


.last-confirm-row.pay-amount { font-weight: bold; }

.last-confirm-caution { margin: 1.5em auto; }
.last-confirm-caution ul { font-size: 13px; }
.last-confirm-caution li.mercari-warning { color: #a94442;  }

.purchase_confirm {
  display: flex;
  margin: 0;
  padding: 1em;
  margin-right: 1em;
  flex-flow: column;
}

.card-info .purchase_confirm h4, #purchase_confirm .encoding-fieldset legend {margin-bottom: 0.5em;}

.card-info .purchase_confirm .form-group {
  margin-bottom: 0.7rem;
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.card-info .purchase_confirm .form-group label {
  text-align: right;
  margin: 0;
  margin-right: 1.5em;
  flex: 0 1 41%;
}
.card-info .purchase_confirm .form-group p {
  flex: 1 0 auto;
  margin: auto;
}
.purchase_confirm [name="CVV"] { width: 8em; }

.encoding-fieldset {margin: 1.5rem 0;}
.encoding-fieldset legend {
  font-size: 1rem;
  border: none;
  margin: auto;
  font-weight: bold;
}
.encoding-fieldset .encoding-type {
  display: flex;
  align-items: baseline;
  padding: 5px 0;
}
.encoding-fieldset .checkbox {margin: 0;margin-right: 3em;margin-left: 1em;}
.encoding-fieldset .checkbox > label {padding: 5px 5px 0;}

@media screen and (max-width: 641px) {
  #top-half {
    flex-flow: column;
    padding: 0 1em;
  }
  #purchase_confirm {
    margin: 0;
  }
  .purchase_confirm {
    padding: 0;
  }
  .encoding-fieldset .encoding-type {
    flex-flow: column;
  }
  .encoding-fieldset .checkbox {
    display: flex;
    align-items: center;
  }
}
/* ~~ for canceling the reservation ------ */
.reservation_list {
  display: flex;
  padding: 2em 0;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  line-height: 1.8em;
}

.reservation_box {
  padding: 2em;
  background: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: 0 0 6px 0px hsla(0, 0%, 0%, 0.05);
}

.bylaw {
  font-size: 13px; font-size: 0.8125em;
  color: #303030;
}

.center {text-align:center;}

.left {text-align:left;}

.nowrap {white-space:nowrap;}

.right {text-align:right;}

.lfont {
  font-size:150%;
  line-height:200%;
}

.debug {border:1px solid green;}

/* ~~ login confirmation screen */
.password_form {
  margin:24px auto;
  width:360px;
}

.password_form > h1{margin-bottom:16px;}

.password_form form {margin: 36px auto;}

.red {color: #d00;}

a.btn-danger,
a.btn-primary,
a.btn-success,
a.btn-info,
a.btn-warning {color:#fff;}

.paid_container .h2 { margin-bottom: 32px; }
.paid_container .h4 { margin-top: 0; }
.paid_container p { line-height: 1.5 }

.paid_container .social-widgets {
  margin: 20px 0;
  text-align: left;
}

.paid_container .social-widgets li {margin: 0 5px;}

.loader {
  font-size: 40px;
  font-size: 2.5rem;
  color: #0277bd;
  margin: 40px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bitcash-dl .error { margin: 3rem 0; display: none; }
.bitcash-dl .error.active { display: block; }
.bitcash-dl .error h2 { margin-top: 0; }
.bitcash-dl .paid_container { display: none; }

#payment-status {
  margin:16px 0;
  color:#707070;
}

#pointback-campaign {
  clear: both;
  text-align: right;
  width: 100%;
}

#pointback-campaign div{
  padding: 10px 12px;
  border-radius: 2px;
}

#pointback-campaign p{
  margin: 0;
  padding: 0;
 }

#pointback-campaign .earned {background: rgba(0, 255, 0, 0.1);}

#pointback-campaign .earned p { color: #00a65a; }

#pointback-campaign .yet {background: rgba(255, 0, 0, 0.1);}
#pointback-campaign .yet p {color: #d73925;}

#pointback-campaign-notice {
  color: #d44950;
  text-align: center;
}

/* ~~ point discount --------------------- */
.point_discount {
  margin: 1rem 2em;
  padding: 15px 15px;
  position: relative;
  max-width: calc(100% - 6em);
  text-align: center;
}
.point_discount h4 {
  font-size: 16px;
  color: #303030;
}

.point_form {
  position: relative;
  margin-bottom: 8px;
  z-index: 2;
}

.point_form [name="point"] {
  display: inline-block;
  text-align: right;
  font-size: inherit;
  width: 10em;
  padding-right: 8px;
}

.point_form .point-unit { padding-left: 8px; }

.point_form .btn { min-width: 80px; }

.point_form .success,
.point_form .error { display: none; }

.card-info {
  width: 100%;
  float: none;
  margin: 0 auto;
}

.card-info .form-group label span.text-info {font-size: 90%;}

.point_form .note.text-info{ color:#707070; }

/* ~~~ load state background for coupons and points --------------------- */
.js-load {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  /* also hide border ↴ */
  top: -1px;
  left: -1px;
  border: 1px solid #f9f9f9;
  box-sizing: content-box;
}
.pending .js-load {
  opacity: 1;
  z-index: 5;
  transition-timing-function: ease;
}
.js-load > p {
  display: flex;
  align-items: center;
}

/* ~ Media Queries -------------------------- */
@media screen and (max-width: 1020px) {
  .cart_wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .cart_row {padding: 0px;}
}

@media screen and (max-width: 910px) {
  .reco_btn { display: none;}
}

@media screen and (max-width: 641px) {
  .cart_wrapper h1 {font-size: 1.75rem;}

  .padding_row {padding: 0 10px;}

  /* Table */
  ._cart { padding: 0 10px; }
  ._cart .mobile_text {display: inline;}

  .table-header { display: none;}

  .table-row:nth-child(2) {border-top: 1px solid #ddd;}

  .table-row > div,
  .track_data .track_left,
  .track_data .track_left > div {
    flex: 1 1 auto;
    padding: 0;
  }
  .track_data .track_left .album_artist {
    margin-left: auto;
    margin-right: 0;
    flex: 0 1 auto;
    text-align: right;
  }

  .table-row {padding: 10px 10px;}
  .hires-row.table-row {
    padding-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .table-row .track_number { display: none;}
  .table-row .track_data { width: 100%; }

  .table-row .track_data .track_left {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .table-row .album_artist{width: 100%;}

  .table-row .album_artist a {margin-left: auto;}

  .table-row .album_title {
    font-size: 18px; font-size: 1.125rem;
    width:100%;
    border-bottom: 1px solid #ccc;
    padding: 4px 0 8px 0;
    margin-bottom: 6px;
  }

  .hires-row .album_title,
  .table-row .album_title.no_manipulations_album {display: none;}

  .table-row .track_title {
    width: 100%;
    margin-bottom: 4px;
  }

  .table-row .format_and_price {
    float: left;
    width: 67%;
    margin: 2px 0 0 0;
  }
  .table-row .manipulations {
    float: right;
    width: 30%;
    margin: -1px 0 1px 0;
    line-height: 16px;
  }
  .table-row .manipulations > a {
    display: block;
    box-sizing: border-box;
    height: 24px;
    padding: 4px;
    width: 50%;
  }
  .table-row .manipulations_album {
    float: right;
    width: 30%;
    margin: -4px 0 4px 0;
    line-height: 16px;
  }
  .table-row .manipulations_album > a {
    display: block;
    box-sizing: border-box;
    height: 24px;
    padding: 4px;
    width: 50%;
    float: left;
  }

  ._cart .js-track-format {
    height: 24px;
    padding: 0 0 0 17px;
  }

  .add_interest,
  .delete_list,
  .add_cart {
    font-size: 18px;
    font-size: 1.125rem;
  }

  /* ~~ Recommend */
  .carousel_wrapper {margin-bottom: 20px;}

  .recommend_title {
    padding: 0 8px;
    line-height: 1.35;
  }

  /* ~~ encoding type*/
  .encoding-type {margin-bottom: 20px;}

  .encoding-type label { line-height: 36px; }

  /* ~~ Confirms */
  .select-payment h2 {font-size: 16px; font-size: 1.125rem;}

  .password_form {
    margin: 12px auto 48px;
    width: 80%;
  }

  .password_form form {margin: 12px auto 24px;}

  /* ~~ Thanks */
  .paid_container .btn {
    display: block;
    width: 300px;
    margin: 0 auto 40px;
  }

  .shipping_notes {
    padding: 0 13px 0 10px;
  }

  .checkout_wrapper {
    margin-bottom: 6px;
    display: block;
  }

  .checkout_button_wrapper {
    margin: 16px auto 0;
    text-align: center;
    padding: 0 15px;
  }

  .clear_button_wrapper {
    margin: 16px auto 32px;
    text-align: center;
  }

  .pay_select {padding: 0 16px;}
  .point_discount {margin: 1rem auto;}

  .last_confirm {margin-bottom: 0;}

  .card-info .purchase_confirm h4 {margin-bottom: 12px;}

  .card-info .purchase_confirm .zipformat {margin-top: 8px;}

  .card-info .purchase_confirm .form-group label {
    width: 46%;
    flex: 0 0 auto;
  }

  .card-info .purchase_confirm .form-group p {width: auto;}

  .card-info .purchase_confirm .form-group input[type=text] {width: auto;}

  .pay_select, .purchase_confirm {width: 100%;}

  .password_form .btn {
    width: 100% !important;
    margin: 36px auto;
  }

  .point_form label input{font-size: 18px;}/* prevent Safari zoom */

  #js-cart-form .btn {max-width: inherit;}

  .checkout_wrapper .caption {
    float: none;
    width: 100%;
    padding: 0 13px 0 10px;
    text-align: left;
  }

  .bitcash-dl .loader {
    font-size: 30px;
    font-size: 1.875rem;
  }
}

/* ~ Paid Page -------------------------- */
.to-download-page {
  font-size: 40px;
  font-size: 2.5rem;
  color: #0277bd;
  margin: 12px 0;
}
.margin-bottom-0 {
  margin-bottom: 0;
}
.margin-bottom-30px {
  margin-bottom: 30px;
}
@media screen and (max-width: 641px){
  .toapp-or-dl-wrapper {
    border: #eee solid 4px;
    border-radius: 4px;
    padding: 20px 10px 0;
    margin-bottom: 20px;
    text-align: center;
  }
}
.open-app-wrapper {
 width: 100%;
 margin: 10px auto;
 text-align: center;
}
.open-app-wrapper img {
  max-width: 100px;
}
.open-app-wrapper p {
  font-size: 13px;
  margin-top: 5px;
}
.paid-page-toapp-btn {
  margin: 10px auto 20px;
  color: #fff;
}
.paid-page-toapp-btn a {
  display: inline-block;
  color: #fff;
}
.font-size-13px {
  font-size: 13px;
}
@media screen and (max-width: 641px){
  .paid-page-toapp-btn {
    text-align: center;
  }
  .sp-to-dlpage {
    margin: 30px auto;
    width: 100%;
  }
}
@media screen and (min-width: 640px){
  .listen-right-now p{
    display: inline-block;
    float: left;
    margin-right: 10px;
    line-height: 40px;
  }
}


/* ~ Special Banner ---------------------- */
#special-banner {padding-bottom : 16px;}

#special-banner figure {width : 100%;}

#special-banner figure img {width : 100%;}

/* ~ checkout step-flow */
.step-flow{
  text-align: center;
  margin: 16px auto 60px;
  width: 100%;
  font-size: 13px;
}

@media screen and (max-width: 641px){
  .step-flow{margin: 10px auto 30px;}
}

.step-flow ul{
  width: 100%;
  margin: 0px;
  padding: 0px;
  display: table;
  table-layout: fixed;
  border-collapse: separate;
}

.step-flow li {
  display: table-cell;
  text-align: center;
  list-style: none;
  border-right: 2px solid #f9f9f9;
}

.step-flow li span {
  width: 100%;
  color: #303030;
  text-decoration: none;
  padding: 10px 0;
  position: relative;
  display: block;
  float: left;
  background-image: linear-gradient(#e2e2e2,#e2e2e2);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 5px;
}

@media screen and (max-width: 641px){
  .step-flow li span {
    width: 100%;
    min-height: 45px;
    font-size: 12px;
    padding: 0;
    padding-bottom: 5px;
  }
}

li span.step-marks {
  background-image: linear-gradient(#0e9af1,#0e9af1);
}

.step-marks.current-mark {
  animation: slide-active 0.4s forwards ease-out;
}
@keyframes slide-active {
  0% { background-size: 0% 5px; }
  100% { background-size: 100% 5px; }
}

/* copied from ThePage html */
.text-error { color: #f56954; }
.text-success { color: #00a65a; }

.no-data {margin: 10px 0;}

.coupons {padding: 0;}

.coupons ul {
  position: relative;/* for z-index */
  padding: 0;
  z-index: 3;/* over .js-load */
}

.coupons li {
  margin: 16px 0;
  list-style: none;
  padding: 0;
}

.coupons li a {
  display: -ms-flex;
  display: flex;
  justify-content: center;
  padding: 19px;
  border: 1px solid #5bc0de;
}

.coupons a.active { border: 2px solid #2ab002; }

.coupons li a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.coupons .info h1 {
  margin: 0;
  font-size: 18px;
}

.coupons .info .price-off {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 10px;
  color: inherit;
}

.coupons .condition {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}
.coupons .active .condition { color: #2ab002; }

.coupons .info p {margin: 0;}

/* SNS share */
.share {
    margin: 2rem auto;
    background: #fff;
}

.share > div
{
    padding: 2rem 0;
    margin: 2rem auto;
    text-align: center;
    width: 40%;
}
.share.omikuji img
{
    margin: 2rem auto;
    width: 100px;
    display: block;
}
.share.omikuji .result
{
    display:none;
}
.share.omikuji .result img
{
    width: 400px;
}

@media screen and (max-width: 641px){
    .share
    {
        width: 100%;
    }
    .share > div
    {
        width: 100%;
    }
    .share.omikuji img
    {
        width: 50%;
    }
    .share.omikuji .result img {
        width: 70%;
    }
    .share.omikuji .pre .btn, .share.omikuji .result .btn {
        width: 100%;
    }
}
