.buy-btn {
    width: 100%;
    display: block;
    margin: 0 auto 10px;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.buy-btn img {
    max-width: 100%;
    width: 100%;
    display: block;
    margin: 3% 0 0 0;
}

.flex__content .content__item {
    margin: 0 0px 1rem 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flex__content .content__item .content__text {
    height: 100px;
}

/* CSSは変更なし（そのまま利用してください） */
#latest_result .flex__content.active {
    padding: 32px 1rem;
    margin: 0 0rem !important;
}

#latest_result .flex {
    margin-bottom: 20px;
    background-color: #f2f2f2;
    border-radius: 24px;
    margin-top: 3rem;
}

#latest_result .flex__content .content__item .content--name {
    font-weight: 600;
    line-height: 1.228571;
}

#latest_result .select__wrapper {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

#latest_result #categorySelector {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    background-color: transparent;
    width: 100%;
    padding: 11px 65px 11px 25px;
    font-size: 1.3em;
    font-weight: bold;
    color: #000;
    background-color: #ffffff;
    border: 3px solid #e60012;
    border-radius: 12px;
    cursor: pointer;
}

#latest_result #categorySelector span {
    color: #e60012;
}

#latest_result #categorySelector::-ms-expand {
    display: none;
}

#latest_result .select__wrapper::after {
    content: "";
    position: absolute;
    top: 30%;
    right: 6%;
    transform: rotateZ(90deg);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none;
    background-image: url(/assets/img/common/icon_arrow_red01.png);
    background-repeat: no-repeat;
    background-position: center;
}

#latest_result .titleMain--main {
    font-size: 1.8rem;
    font-weight: bold;
}

#latest_result .titleMain--lead {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
    font-weight: 600;
}

#latest_result .selecterTitle {
    font-weight: bold;
    font-size: 1.5rem;
    margin: 1rem;
    text-align: center;
    padding-top: 5%;
}

#latest_result .selecterTitle span {
    color: #e60012;
}

#latest_result .flex__content.active {
    background-color: none;
    border-radius: 24px;
}

#latest_result .flex__content {
    position: static;
    width: auto;
}

/* #latest_result a.img__link .img::before {
        background: #e60012;
        border-radius: 24px;
        right: 7px;
        bottom: 7px;
        width: 24px;
        height: 24px;
        opacity: 1;
    } */

#latest_result
    .flex
    .flex__tabContents
    .flex__content
    .content__list
    .img__link
    .img {
    border-radius: 24px;
    overflow: hidden;
}

#latest_result .flex__content .content__item .content--price span {
    font-weight: bolder;
}

#latest_result .flex__content .content__item .content--price {
    font-size: 1.4rem;
}

#latest_result .content__item.is-hidden {
    display: none !important;
}

#latest_result .btn__accordion {
    text-align: center;
    margin: 10px auto 15px;
    display: none;
}

#latest_result .js-accordion-trigger {
    padding: 0.75rem 40px 0.75rem 25px;
    background-color: #fff;
    color: #000;
    border: 1px solid #bebebe;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s;
    position: relative;
}

#latest_result .js-accordion-trigger:hover {
    background-color: #666;
}

#latest_result .js-accordion-text {
}

#latest_result .icon-cross {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
}

#latest_result .icon-cross::before,
#latest_result .icon-cross::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #000;
    transition: transform 0.3s ease;
}

#latest_result .icon-cross::before {
    width: 100%;
    height: 2px;
    margin-top: -1px;
    margin-left: -10px;
}

#latest_result .icon-cross::after {
    width: 2px;
    height: 100%;
    margin-top: -10px;
    margin-left: -1px;
}

#latest_result .js-accordion-trigger.is-open .icon-cross::before {
    transform: rotate(45deg);
}

#latest_result .js-accordion-trigger.is-open .icon-cross::after {
    transform: rotate(45deg);
}

#latest_result .content__list.is-open {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
}

#latest_result .btn__red.btnToSogo > a {
    background-color: #fff;
    color: #e60012;
    border: 2px solid #e60012;
    transition: all 0.3s ease;
}

#latest_result .btn__red.btnToSogo > a:hover {
    background-color: #e60012;
    color: #fff;
}

#latest_result .btn__red.btnToSogo > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    pointer-events: none;
    background-image: url(/assets/img/common/icon_arrow_red01.png);
    background-repeat: no-repeat;
    background-position: center;
}

#latest_result .btn__wrap > a {
    font-weight: 800;
    padding: 0.45rem 40px 0.45rem 25px;
}

@media (min-width: 767px) {
    #latest_result .btn__red.btnToSogo > a,
    #latest_result .btn__wrap > a {
        padding: 0.95rem 40px 0.95rem 25px;
    }
}

#latest_result .btn__accordion > a {
    padding: 0.95rem 40px 0.95rem 25px;
}

#latest_result .content__list .content__item .img__link img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

#latest_result .btn__wrap.btn__red.btnToSogo {
    display: block;
    text-align: center;
    margin: 10px auto 15px;
    width: 100%;
    max-width: 392px;
}

@media (max-width: 767px) {
    #latest_result .btn__wrap.btn__red.btnToSogo {
        width: 90%;
    }
}

#latest_result .flex__content {
    display: none;
}

#latest_result .flex__content.active {
    display: block;
}
