#content{
  display: block;
}

/* item overview */
.merch-wrapper {
    width: 980px;
    margin: 0 auto 29px;
    text-align: left;
    height: 100%;
}
@media screen and (max-width: 990px) {
    .merch-wrapper {
        width: 100%;
        padding: 0 15px;
    }
}
.merch-rows {
    margin-top: 24px;
    clear: both;
    position: relative;
}
.merch-img {
    width: 400px;
    float: left;
}

.img-wrapper {
    min-height: 400px;
    display: flex;
    align-items: center;
}
.merch-img #thumbMain {
    cursor: zoom-in;
    min-height: 400px;
    position: relative;
}
.merch-img #thumbMain img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 400px;
}

@media screen and (max-width: 990px) {
    .merch-img {
        width: 40%;
    }
    #thumbMain {
        min-height: auto;
    }
    #thumbMain img {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }
}
@media screen and (max-width: 769px) {
  #thumbMain img{
    max-width: 400px;
  }
  #thumbMain {
    overflow: hidden;
  }
}
.merch-img-thumbnail-container {
    margin-bottom: 30px;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.merch-img-thumbnail-container img {
    border: #eee solid 1px;
}
.merch-img-thumbnail img.active {
    border: #fff solid 1px;
    outline: solid 1px #333;
}
ul {
  list-style: disc;
  padding: 0;
}

.merch-img img { width: 100%; }

.merch-img-thumbnail {
  display: inline-block;
  width: 88px;/* ↓ dynamically ↓ */
  width: calc(100% / 4 - (16px - (16px / 4)));
  max-height: 88px;
  margin-right: 16px;
  margin-bottom: 10px;
  text-align: center;
}

.merch-img-thumbnail:nth-of-type(4n) { margin-right: 0px; }

.merch-img-thumbnail img {
  display: inline;
  max-width: 100%;
  max-height: inherit;
  vertical-align: middle;
}

@media screen and (max-width: 769px) {
  .merch-img {
    width: 100%;
  }
  .merch-img-thumbnail {
    max-height: calc(100vw / 4 - 18px);
  }
}

h2.merch-title {
    clear:none !important;
    line-height: 1.4;
}
p.merch-description-short {
    margin : 1.5rem auto;
    color : #666;
    font-size : 15px;
    line-height : 1.4em !important;
}

.merch-meta-data {
    text-align: left;
    margin-left: 430px;
}
@media screen and (min-width: 769px) {
  .merch-meta-data {
    min-height: 400px;
  }
}
@media screen and (max-width: 990px) {
    .merch-meta-data {
        margin-left: 42%;
    }
    .merch-img-thumbnail-container::after {
        content:"";
        display: block;
        width: 88px;
    }
}
@media screen and (max-width: 769px) {
    .merch-meta-data {
        margin-left: 0;
    }
}
.detail-wrapper {
    font-size: 0;
}
.detail {
    font-size: 13px;
    font-size: 0.8125rem;
    width: 345px;
    display: inline-block;
}
@media screen and (max-width: 990px) {
    .merch-meta-data .detail {
        width: 60%;
    }
}
@media screen and (max-width: 641px) {
    .merch-meta-data .detail {
        width: 100%;
    }
}
.merch-meta-data .detail p {
    margin-bottom: 6px;
}
.merch-meta-data li a {
    display: block;
}
.merch-meta-data li a:hover {
    text-decoration: none;
}

.price-text {
    text-align: right;
    width: 200px;
    display: inline-block;
    font-size: 16px;
    font-size: 1rem;
}
@media screen and (max-width: 990px) {
    .price-text {
        width: 40%;
    }
}
@media screen and (max-width: 769px) {
    .price-text {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 641px) {
    .price-text  {
        width: 100%;
    }
}
.price-text span {
    font-size: 30px;
    font-size: 1.875rem;
}

.addendum-box {
    width: 49%;
    margin-bottom: 29px; /* footer.padding.top + widget_tw.margin.top */
    padding-bottom: 4px;
    border: 1px solid #eee;
}
@media screen and (max-width: 769px) {
    .merch-addendum {
        display: block;
    }
    .addendum-box {
        width: 100%;
    }
}
.addendum-box .section-title {
    font-size: 16px;
    font-size: 1rem;
    text-align: left;
    padding: 6px 6px;
    background-color: #e2e2e2;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    color: #303030;
    font-weight: normal;
    line-height: 16px;
    box-sizing: border-box;
    height: 31px;
    margin: 0;
    margin-bottom: 6px;
}
.addendum-box p {
    font-size: 13px;
    font-size: 0.8125rem;
}
.addendum-box-text {
    padding: 10px 16px;
}

#thumbMain {
    position:relative;/* to contain cursor */
}

#zoom {
    position: absolute;
    width: 57%;
    height: 100%;
    right: 0;
    background-color: #fff;
    opacity: 0;
    z-index: -1;
    background-repeat: no-repeat;
    transition: opacity 0.15s ease-out, background-position 0.1s ease;
}
.yotei-text {
  color: #a94442;
  font-size: 18px;
  font-size: 1.125rem;
  text-align: right;
}
.additional-note-text {
  margin: 10px auto;
  font-size: 16px;
  font-size: 1rem;
  text-align: right;
}

/* item feature */
.merch-feature-contents strong {
    display: inline-block;
    margin-bottom: 5px;
}
.merch-feature-contents {
    padding: 40px 140px;
    margin-bottom: 20px;
    line-height: 1.6;
    border: 1px solid #eee;
    background-color: #fff;
}
@media screen and (max-width: 641px) {
    .merch-feature-contents {
        padding: 10px;
    }
}
.merch-feature-contents img {
    width: 100%;
}
.merch-feature-contents h3 {
    margin: 1em 0;
    font-weight: bold;
    line-height: 1.5;
}
.merch-feature-contents p {
    margin-bottom: 1em;
}
.merch-feature-contents h1{
    margin: 12px 0;
    font-size: 1.875rem;
    line-height: 1.5;
}
.blockquote {
    margin-bottom: 24px !important;
    border: 0 !important;
    background: #f7f7f9 !important;
    border-radius: 2px;
    box-sizing: border-box;
    padding: 16px 24px;
    font-size: 13px;
    font-size: 0.8125rem;
    color: #505050;
}
.blockquote img {
    max-width: 300px;
    float: left;
    margin-right: 20px;
}
.blockquote span.strong{
    color: #d44950;
    font-weight: bold;
    font-size: 16px;
    font-size: 1rem;
}
.iframe-box{
    text-align: center;
    margin: auto;
}

/* relation items */
.section-header {
    font-size: 24px;
    font-size: 1.5rem;
    font-weight: normal;
    font-family: 'Roboto',sans-serif;
    line-height: 1.25;
    color: #303030;
    margin: 24px 0 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 1px 0 rgba(255,255,255,0.5);
    padding-bottom: 6px;
}

/* quantity */
.quantity
{
    padding: 7px 10px;
}
@media screen and (max-width: 641px) {
  .quantity {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* buttons */
.btn-slim.cart_button, .btn-slim.wish_button, .btn-slim.express_checkout_button {
    display:block;
    text-align: center;
    font-size: 16px;
    font-size: 1rem;
    font-family:
        Roboto,"Hiragino Kaku Gothic ProN",HiraKakuPro-W3,Meiryo,"ＭＳ Ｐゴシック",sans-serif;
    margin: 0;
}
.add2cart {
    display:table-cell;
    margin: 0;
    height: 40px;
    vertical-align: middle;
    text-align: center;
    width: 174px;
}
.each2cart .fa, .add2cart .fa {
    font-size: 15px;
}
.add2cart .fa.fa-spinner, .add2wish .fa.fa-spinner
{
    font-size: 1.2rem;
    line-height: 1.5rem;
}
.cart_button a,
.wish_button a,
.express_checkout_button a,
.cart_button a:link,
.wish_button a:link,
.express_checkout_button a:link,
.cart_button a:visited,
.wish_button a:visited,
.express_checkout_button a:visited,
.cart_button a:hover,
.wish_button a:hover,
.express_checkout_button a:hover {
    font-weight: normal;
    color: #fff;
    text-decoration: none;
}
.variation-select {
    margin: 20px 0;
}
.variation-select li{
    vertical-align: middle;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

li.active .variation_button{
  font-weight: bold;
  border: 1px solid #0c8ad8;
}
@media screen and (max-width: 990px) {
    .variation-select li {
        float: right;
    }
}
.variation-select-sp {
    display: none;
}

@media screen and (max-width: 990px) {
}

.variation_button {
    flex: 1 0 auto;
    margin-right: 5px;
    font-size: 16px;
    font-size: 1rem;
    background-color: #fff;
    border: solid #eee 1px;
    box-sizing: border-box;
    border-radius: 2px;
    cursor: pointer;
}

.variation_text {
    display: inline-block;
    padding-left: 10px;

}
.item-thumbnail {
    height: 38px;
    width: auto;
}
.purchase_buttons {
    flex: 0 0 auto;
}
@media screen and (max-width: 990px) {
    .purchase_buttons {
        float: left;
    }
}
.cart_button {
    height: 40px;
    flex: 0 0 auto;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}
.cart_button > .fa {
    margin-left: 5px;
}

@media screen and (max-width: 769px) {
    .variation-select {
        display: none;
    }
    .variation-select-sp {
        display: block;
        margin-bottom: 20px;
        height: 100px;
    }
    .variation-select-sp .variation_buttons {
        width: 100%;
        margin-bottom: 10px;
    }
    .variation-select-sp .variation_button {
        font-size: 16px;
        font-size: 1rem;
        background-color: #fff;
        border: solid #eee 1px;
        box-sizing: border-box;
        border-radius: 2px;
        cursor: pointer;
        background: url(/common/images/downmark_sound_format_dark.png) right center no-repeat #fff;
    }
    .variation-select-sp .variation_button.single {
        pointer-events: none;
        background: #fff;
    }
    .variation-select-sp .variation_text {
        display: inline-block;
        padding-left: 10px;
    }
    .variation-select-sp .item-thumbnail {
        height: 43px;
        width: auto;
    }
    .variation-select-sp .purchase_buttons {
        width: 100%;
    }
    .variation-select-sp .cart_button {
        height: 45px;
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }
    .variation-select-sp .fa {
        font-size: 20px;
    }
}

/* read more button */
.readmore-box *, .readmore-box *:before, .readmore-box *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.readmore-box {
    position: relative;
}
.readmore-box label {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 40px;
    width: 100%;
    height: 160px;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(to bottom, rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 1) 100%);
    margin-left: -40px;
}
.merch-feature-contents.readmore-box label {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    margin-left: -140px;
}
@media screen and (max-width: 641px){
    .readmore-box label {
        bottom: 0;
        margin-left: -10px;
    }
}
.readmore-box label:after {
    line-height: 2.5rem;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    width: 300px;
    font-family: FontAwesome;
    content: '\f078'' もっとみる';
    transform: translate(-50%, 0);
    letter-spacing: 0.05em;
    font-weight: normal;
    background: #f7f7f7;
    color: #666;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
    border: 1px solid #ccc;
}
.readmore-box label:hover:after {
    background: #fff;
}
.readmore-box .readmore-container {
    overflow: hidden;
    max-height: 140px;
    transition: max-height 0.2s ease-out;
    padding-bottom: 20px;
    text-align: left;
}
label.open {
    background: inherit;
    bottom: 0;
}
label.open:after {
    font-family: FontAwesome;
    content: '\f077'' 折りたたむ';
}
.readmore-container.open {
    max-height: 13000px;/* anything bigger than the content, fixed vale needed for animating */
    transition: max-height 0.3s ease-in;
}
@media screen and (max-width: 641px){
    .readmore-container.open {
        padding-bottom: 60px;
    }
}

/* size select dropdown */
.size-select {
    height: 20px;
    line-height: 12px;
}

/* purchase bonus */
.item-bonus-ribbon {
    position: relative;
    height: 28px;
}
.item-bonus-ribbon p {
    text-align: right;
    display: inline-block;
    position: relative;
    height: 28px;
    line-height: 28px;
    vertical-align: middle;
    text-align: center;
    padding: 0 10px 0 20px;
    background: #ed8721;
    box-sizing: border-box;
    border-radius: 2px;
    position: absolute;
    right: 0;
    color: #fff;
    margin: 0;
    font-size: 16px;
    overflow: hidden;
}
.item-bonus-ribbon p:before, .item-bonus-ribbon p:after {
    position: absolute;
    content: '';
    width: 0px;
    height: 0px;
    z-index: 1;
}

.item-bonus-ribbon p:before {
    top: 0;
    left: 0;
    border-width: 14px 0px 14px 10px;
    border-color: transparent transparent transparent #f9f9f9;
    border-style: solid;
}

.item-bonus-ribbon a {
    color: #fff;
}

@media screen and (max-width: 641px){
    .item-bonus-ribbon {
        margin-bottom: 10px;
    }

    .dropdown {
        position: relative;
    }
    .dropdown button {
        width: 100%;
        text-align: left;
        padding: 0;
    }
    .dropdown-menu {
        display: none;
        padding-left: 0;
        list-style: none;
    }
    .dropdown-menu>li>a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: 400;
        line-height: 1.42857143;
        color: #333;
        white-space: nowrap;
    }
}

/* description, spec, bonus tab articles */
@media screen and (min-width: 641px){
  article{
    padding: 20px;
  }
}
article ul.normal-list{
  list-style-type: disc;
  padding-left: 1.5em;
}
article ol.number-list{
 list-style-type: decimal
 padding-left: 1.5em;
}
article ul.normal-list li,
article ul.number-list li{
  margin-bottom: 5px;
}
article p.notice-red{
  color: #d44950;
}

/* tab */
.js-tab {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    border-bottom: 1px solid #aaa;
    margin-bottom: 0;
}
.js-tab-bottom {
  border-bottom: none;
  border-top: 1px solid #aaa;
}
.js-tab:after {
    display: block;
    content: "";
    clear: both;
}
.js-tab > div {
    align-self: stretch;
    min-width: 24.9%;
    padding: 10px;
    border-right: #ccc 1px solid;
    color:#303030;
    text-align: center;
    cursor:pointer;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border: 1px solid #aaa;
    background: #e2e2e2;
    margin-right: 2px;
    margin-bottom: -1px;
}
.js-tab-bottom > div {
  margin-top: -1px;
  margin-bottom: 0px;
}
@media screen and (max-width: 641px){
.js-tab > div {
    min-width: 24.6%;
    padding: 10px 5px;
  }
}

.js-tab > div:last-child{
    margin-right: 0;
}

.js-tab > div.active {
    color: #000;
    font-weight: bold;
    background-color: #f9f9f9;
    border-bottom: 1px solid #f9f9f9;
}

.bar-bottom .js-tab > div {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.bar-bottom .js-tab > div.active {
    border-top: 1px solid #f9f9f9;
    border-bottom: 1px solid #aaa;
}

.js-tab_content {
    display:none;
    padding-bottom: 40px;
}
.js-tab_content.active {
    display:block;
}

.js-tab_content article.article {
    max-width : 960px;
    padding : 16px auto;
}

.js-tab_content article.article figure {
  width : 100%;
}

.js-tab_content article.article figure > img {
    width : 100%;
}


/* description */
.merch-description-contents strong {
    display: inline-block;
    margin-bottom: 5px;
}
.merch-description .bar{
    color: #303030;
    font-weight: normal;
    border-bottom: #aaa;
}
.merch-description .bar-bottom{
    color: #303030;
    font-weight: normal;
    border-top: #aaa;
}
.merch-description-contents {
    padding: 40px 64px;
    line-height: 1.6;
    border: 1px solid #eee;
    text-align: center;
}
.merch-description-contents .article {
    margin : 0 auto;
    text-align : left;
}

@media screen and (max-width: 641px) {
    .merch-description-contents {
        padding: 10px;
    }
}
.merch-description-contents img {
    width: 100%;
}
.merch-description-contents h3 {
    margin: 1em 0;
    font-weight: bold;
    line-height: 1.5;
}
.merch-description-contents p {
    margin-bottom: 1em;
}
.merch-description-flexbox {
    display: flex;
    margin: 20px 0;
}
@media screen and (max-width: 641px) {
    .merch-description-flexbox {
        display: block;
    }
}
figure.img-margin-right, figure.img-margin-left{
  max-width: 300px;
  min-width: 100px;
}
.merch-description-flexbox figure img {
    border: #ccc solid 1px;
}
.img-margin-right{
    margin: 0 20px 0 0;
    background-color: transparent;
}
.img-margin-left {
    margin: 0 0 0 20px;
    background-color: transparent;
}

@media screen and (max-width: 641px) {
    .img-margin-right, .img-margin-left {
        margin: 10px auto;
    }
}
@media screen and (max-width: 641px) {
  .js-tab_content article.article figure {
    text-align: center;
}
    .js-tab_content article.article figure.img-sp-small > img{
      width: 50%;
      margin: auto auto 10px;
    }
}
.small-text {
    font-size: 13px;
    font-size: 0.8125rem;
}
.merch-addendum {
    display: flex;
    justify-content: space-between;
    clear: both;
}
.comment-box{
  background: #f2f1f2;
  padding: 20px 20px 5px;
  border-radius: 4px;
}
.comment-box p.name{
  margin-bottom: .5em;
}

/* spec */
table.spec {
    /* max-width : 960px; */
    /* min-width: 80%; */
    width: 100%;
    margin: 16px auto;
    border-top: 1px solid #d7d7d7;
}

table.spec th, table.spec td {
    padding: 10px 10px;
    border-bottom : 1px solid #d7d7d7;
    word-break : break-all;
}

/* faq */
dl.faq {
    max-width : 720px;
    margin: 40px auto;
    padding : 0;
}

dl.faq dt {
    /* margin-left : 2em; */
    margin-bottom : 16px;
    font-weight : bold;
}
dl.faq dt:befere {
    display : inline;
    content : "Q";
    font-weight : bold;
}
dl.faq dd {
    margin-left : 2em;
}
dl.faq dd:first-child:befere {
    display : inline;
    content : "A";
    font-weight : bold;
}

.alert-danger {
  clear: both;
}
