.item {
    margin: 2em auto;
    width: 400px;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.item p {
    margin: 0; 
    padding: 0;
}

.item-empty {
    margin: 20px auto;
    padding: 16px;
    width: 80%;
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
}

.item-related {
    margin: 16px;
    padding: 12px;
    border-top: 1px solid #ddd;
}

.item-related h3 {
    margin: 12px 0 8px;
    font-size: 1rem;
}

.item-related ul {
    padding-left: 1em;
}

.item-related li {
    margin: 6px 0;
    text-align: left;
}

.related-date,
.related-type {
    color: #666;
    font-size: 0.9rem;
}

.item-title {
    display: block;
    text-align: center;
    margin: auto;
    padding: 0.5em;
}

.item ul {
    display: block;
    list-style: none;
    padding: 0;
    align-content: center;
}

.item li {
    align-items: center;
    margin: auto;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transition: transform 0.3s ease;
    will-change: transform;
    width: 100%;
}

.slide {
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    width: 80%;
    padding: 5% 10% 0% 10%;
    top: 0;
    left: 0;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.affiliate-container img[width="0"],
.affiliate-container img[width="1"],
.affiliate-container img[height="0"],
.affiliate-container img[height="1"],
.affiliate-container img[hight="1"] {
    position: absolute !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 1px !important;
    max-height: 1px !important;
    opacity: 0;
    pointer-events: none;
}

.caption {
    display: block;
    text-align: center;
}

button.prev, button.next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
}

button.prev { left: 10px; }
button.next { right: 10px; }

.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}
.shop-link a {
    text-align: center;
    display: block;
}

.shop-link a.btn-link {
    color: #fff;
    background-color: #aa80eae6;
    width: 95%;
    display: inline-block;
    font-size: 0.8rem;
    position: relative;
    border-radius: 100vh;
    margin: 0.5% 2.5%;
    padding: 1.5% 0;
}

.shop-link a.btn-link:hover {
    color: #fff;
    background: #aa80ea;
}

.note a {
    display: block;
    color: rgb(83, 83, 83);
    text-align: right;
    font-size: xx-small;
}


/*shop-linkのカラー設定CSS*/
.shop-link a.btn-link.gamers {
    background-color: #ffb260;
}

.shop-link a.btn-link.gamers:hover {
    background-color: #ffb260e6;
}

.shop-link a.btn-link.animate {
    background-color: #325fab;
}

.shop-link a.btn-link.animate:hover {
    background-color: #325fabe6;
}

.shop-link a.btn-link.amazon {
    background-color: #ff9900;
}

.shop-link a.btn-link.amazon:hover {
    background-color: #ff9900e6;
}

.shop-link a.btn-link.Rakuten {
    background-color: #bf0000;
}

.shop-link a.btn-link.Rakuten:hover {
    background-color: #bf0000e6;
}

@media screen and (max-width:450px) {
    .item {
        width: 90%;
        margin: 10px auto;;
    }

    button.prev, button.next {
        font-size: 1rem;
    }

}
