#leftside {
    float: left;
    margin-bottom: 50px;
}
#leftside .status_icon {
    position: relative;
    margin: 10px auto;
    display: table;
}
#leftside .status_icon li {
    float: none;
    display: table-cell;
    margin-right: 0;
    padding: 0 5px;
}
#detailphotobloc {
    width: 500px;
    margin-bottom: 45px;
}
#detailarea {
    max-width: 100%;
}
#detailarea .main_comment {
    background: #f5f5f5;
}
.category_cartBox {
    border-top: 1px dashed #ccc;
    padding: 20px 0;
}
.category_cartBox .leftBox {
    width: 120px;
    margin-right: 30px;
}
.category_cartBox .rightBox {
    position: relative;
    width: auto;
    float: left;
}
.category_cartBox .price {
    margin-bottom: 0;
}
.category_cartBox .subttl {
    font-size: 16px;
    margin-top: -3px;
    font-weight: bold;
    margin-bottom: 9px;
}
.category_cartBoxWrap {
    float: left;
}
.price .default_price {
    font-size: 13px;
}
.price .price01_default {
    display: inline-block;
}
span.price02_default.st.c_orange {
    font-size: 17px;
}
.cartbtn_box {
    width: auto;
    float: right;
    background: none;
    margin-top: 0;
    display: block;
    padding: 35px 20px;
    box-sizing: border-box;
}
.cartbtn_box .cartin {
    width: 240px;
}
#cartbtn_default a:not(.not_cart) {
    background-position: left 20px center;
    height: 44px;
    line-height: 44px;
    padding: 0 0 0 30px;
}
.cartbtn_box .quantity {
    width: auto;
}
.cartbtn_box .quantity dd select {
    width: 70px;
}
#product_detail .ttlarea {
    //  width: 520px;
}
#product_detail h2 {
    margin-top: -4px;
    min-height: 44px;
}
.detail_notes {
    margin-bottom: 50px;
}
.detail_notes .shipping_cost {
    height: 40px;
    text-align: center;
    border: 1px solid #4f6129;
    box-sizing: border-box;
    line-height: 40px;
    color: #4f6129;
    background: #ffffcc;
    margin-top: 25px;
}
.detail_notes .other_notes {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}
.detail_notes .other_notes p {
    margin-bottom: 5px;
}
.detail_notes .other_notes a {
    text-decoration: underline;
    color: #4f6129;
}
#anchorLink_area ul {
    margin: 60px auto 20px;
    left: 50%;
    position: relative;
    display: inline-flex;
    transform: translateX(-50%);
}
#anchorLink_area ul li {
    display: inline-block;
    margin: 0 10px;
}
.anchor_btn,
.anchor_btn:link,
.anchor_btn:visited {
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 2;
    width: 350px;
    min-height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    color: #436201;
    font-size: 18px;
    box-sizing: border-box;
    border: 1px solid #436201;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.anchor_btn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 3;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-bottom: 1px solid #4f6129;
    border-right: 1px solid #4f6129;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.anchor_btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 0%;
    height: 100%;
    background: #9eb270;
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.anchor_btn:hover {
    color: #fff;
}
.anchor_btn:hover::before {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}
.anchor_btn:hover::after {
    width: 100%;
    opacity: 1;
}
.anchor_btn span {
    position: relative;
    z-index: 4;
}

/* 追記 */
.ec-productRole.boxCont {
    margin-top: 30px;
    overflow: unset;
}

.ec-productRole .main_comment img {
    width: auto;
}

.ec-productRole .ec-productRole__description img {
    width: auto;
}

.ec-productRole .ec-productRole__tag {
    color: #fff;
    border: unset;
}

.ec-productRole .ec-productRole__tag.tag_1 {
    background-color: #1f7035;
}
.ec-productRole .ec-productRole__tag.tag_2 {
    background-color: #e3164df1;
}
.ec-productRole .ec-productRole__tag.tag_3 {
    background-color: #27b66cf9;
}
.ec-productRole .ec-productRole__tag.tag_4 {
    background-color: #e37507;
}
.ec-productRole .ec-productRole__tag.tag_5 {
    background-color: #03a9f4;
}
.ec-productRole .ec-productRole__tag.tag_6 {
    background-color: #4caf50;
}
.ec-productRole .ec-productRole__tag.tag_7 {
    background-color: #ff9800;
}
.ec-productRole .ec-productRole__tag.tag_8 {
    background-color: #47829d;
}
.ec-productRole .ec-productRole__tag.tag_9 {
    background-color: #c424f1;
}
.ec-productRole .ec-productRole__tag.tag_10 {
    background-color: #3bbd91;
}
.ec-productRole .ec-productRole__tag.tag_11 {
    background-color: #f0251b;
}
.ec-productRole .ec-productRole__tag.tag_12 {
    background-color: #f9e507fd;
    color: #ff0000 !important;
}
.ec-productRole .ec-productRole__tag.tag_13 {
    background-color: #036687ef;
}
.ec-productRole .ec-productRole__tag.tag_14 {
    background-color: #24e403;
}
.ec-productRole .ec-productRole__tag.tag_15 {
    background-color: #dfd005;
}
.ec-productRole .ec-productRole__tag.tag_16 {
    background-color: #6cabc4e3;
}
.ec-productRole .ec-productRole__tag.tag_17 {
    background-color: #ce6376;
}
.ec-productRole .ec-productRole__tag.tag_18 {
    background-color: #40944c;
}

.slick-slider {
    margin-bottom: 30px;
}

.slick-dots {
    position: absolute;
    bottom: -45px;
    display: block;
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}

.slick-dots li button:before {
    content: " ";
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    text-align: center;
    opacity: 0.25;
    background-color: black;
    border-radius: 50%;
}

.slick-dots li.slick-active button:before {
    opacity: 0.75;
    background-color: black;
}

.slick-dots li button.thumbnail img {
    width: 0;
    height: 0;
}

/* 商品画像追随  */
.ec-sliderItemRole {
    position: sticky;
    top: 140px;
}

.gd-dev .gd-dev-tabs {
    position: sticky;
    top: 140px;
    background: #fff;
    padding-top: 60px;
    z-index: 20;
}
@media screen and (max-width: 768px) {
    .gd-dev .gd-dev-tabs {
        position: sticky;
        top: 40px;
        background: #fff;
        padding-top: 60px;
        z-index: 20;
    }
}
.gd-dev .gd-dev-tabs ul {
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2px;
    padding-left: unset;
}
.gd-dev .gd-dev-tabs ul li {
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--main-txt, #222);
    white-space: nowrap;
    padding: 11px 10px 10px;
    background: var(--monotone-gray_30, #eee);
    border-radius: 5px 5px 0 0;
    box-sizing: border-box;
    width: 300px;
    height: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.gd-dev .gd-dev-tabs ul li.cur {
    padding-block: 13px 8px;
    background: linear-gradient(
        to bottom,
        var(--main-brand, #00a000),
        var(--main-brand, #00a000) 5px,
        var(--bg-bg_brand, #fff) 6px,
        var(--bg-bg_brand, #fff)
    );
    height: 43px;
}
.gd-dev .gd-dev-tabs ul li:hover {
    height: 43px;
}

#detailarea.gd-dev-tabs-view {
    float: unset;
}

.gd-dev .gd-dev-tabs-view {
    padding: 40px 0;
}
.gd-dev .gd-dev-tabs-view > div {
    margin-bottom: 80px;
}
.gd-dev .gd-dev-tabs-view > div:last-child {
    margin-bottom: 0;
}
.gd-dev .gd-dev-tabs-view > div h3 {
    color: var(--main-brand, #db534e);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}
.gd-dev .gd-dev-tabs-view > div h4 {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 31px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.ec-productRole__btn.js-scroll {
    max-width: 450px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
    padding: 10px 16px;
    background: var(--white-80, rgba(255, 255, 255, 0.8));
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
}

/* プレースホルダーは見えないが高さだけ確保 */
.ec-productRole__btn-placeholder {
    display: block;
}

.ec-productRole__btn-sentinel--top,
.ec-productRole__btn-sentinel--bottom {
    height: 1px;
}

.ec-sliderItemRole .item_nav {
    display: flex;
}

/* 数量エリアを横並びに */
.ec-numberInput {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* - input + の並び */
.ec-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ボタン */
.ec-qty__btn {
    width: 49px;
    height: 49px;
    border: 0;
    border-radius: 6px;
    background: #eee;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.ec-qty__btn:active {
    transform: translateY(1px);
}

/* 入力 */
.ec-numberInput input[type="number"].ec-qty__input {
    width: 80px;
    height: 49px;
    text-align: center;
    margin-bottom: unset;
}

/* number input のスピンボタンを消す */
.ec-numberInput input[type="number"].ec-qty__input::-webkit-outer-spin-button,
.ec-numberInput input[type="number"].ec-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* slick画像 */
.item_visual {
    opacity: 0;
}

.item_visual.is-ready {
    opacity: 1;
}

/* エラーメッセージ後のオーバーレイを解除 */
#page_product_detail .bg-load-overlay {
    display: none !important;
    pointer-events: none !important;
}

/*お気に入りボタン*/
.ec-productRole__btnRow {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}
.ec-productRole__btnMain {
    flex: 1 1 auto;
}
.ec-productRole__btnFav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.ec-favIcon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background: center / contain no-repeat;
    background-image: url("../icon/ico-favorite.svg");
}
.ec-favIcon:hover {
    background-image: url("../icon/plus.svg");
}

.ec-favCircle {
    width: 44px;
    height: 44px;
    border: 2px solid #ed1515ff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-decoration: none;
}

.ec-favCircle.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.js-login-pop {
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 0.5em 0.6em;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.js-login-pop__arrow {
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #000;
}

@media only screen and (max-width: 768px) {
    .js-login-pop {
        font-size: 9px;
    }
}

/* 医薬品区分 */
.product-drugs-class li {
    display: inline-block;
    border: 1px solid #525263;
    padding: 2px 4px;
}

/* 規格一覧 */
.product-classes-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.product-class-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.product-img-name-container {
    display: flex;
    align-items: center;
    flex: 1;
}

@media only screen and (max-width: 768px) {
    .product-class-item {
        flex-direction: column;
    }
    .product-class-col.action-col {
        width: 100%;
        flex: unset;
    }

    .product-class-price {
        margin-top: 0.5em;
    }

    .product-class-col.quantity-col {
        align-self: flex-start;
    }
}

.product-class-item:last-child {
    border-bottom: none;
}

.product-class-col {
    padding: 0 10px;
}

/* 4カラムの横幅配分（最低限） */
.image-col {
    flex: 0 0 120px;
}

.info-col {
    flex: 1;
    min-width: 0; /* 長い商品名がある場合のはみ出し対策 */
}

.quantity-col {
    flex: 0 0 110px;
    text-align: center;
    align-content: center;
}

.action-col {
    flex: 0.5;
    text-align: center;
}

/* テキストの最低限 */
.product-class-name {
    font-size: 16px;
    margin-bottom: 5px;
}

.product-class-price {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 3px;
}

.product-class-code {
    font-size: 12px;
}

/* 数量入力 */
.quantity-input {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: center;
}

/* ボタンはEC-CUBE既存クラスが効くので幅だけ指定 */
.add-cart-btn,
.favorite-btn {
    width: 100%;
}

.favorite-btn {
    font-size: 12px;
}

/* ページタイトル */
.ec-role.customh1 {
    max-width: 1040px;
}

.ec-layoutRole__contents .ec-role.customh1 {
    width: 92%;
    margin-top: 16px;
    padding-left: unset;
    padding-right: unset;
}

@media only screen and (min-width: 768px) {
    /* .customh1 .ec-pageHeader h1 {
        margin: 10px 0 48px;
    } */
}

/* その他ページフッター上余白 */
.cart_page #gFooter,
.other_page #gFooter {
    margin-top: 100px;
}

@media only screen and (max-width: 768px) {
    .cart_page #gFooter,
    .other_page #gFooter {
        margin-top: 16px;
    }
}

/* 買い物かごの中 */

.cart_page .boxCont {
    overflow: auto;
}

.boxCont .ec-cartRole {
    padding-left: unset;
    padding-right: unset;
}

@media only screen and (min-width: 768px) {
    .ec-cartRole .ec-cartRole__cart {
        margin: 0;
    }

    .ec-cartRole .ec-cartRole__actions {
        margin-right: unset;
    }
}

/* ご注文手続き */
.ec-orderRole {
    width: 92%;
    max-width: 1040px;
    padding-right: unset;
    padding-left: unset;
}

@media only screen and (min-width: 768px) {
    .ec-orderRole .ec-orderRole__detail {
        padding: 0 16px 0 0;
    }

    .ec-orderRole .ec-orderRole__summary {
        padding: 0 0 0 16px;
    }

    .ec-totalBox {
        position: sticky;
        top: 200px;
    }
}

/* お届け先の指定 */
#page_shopping_shipping .ec-registerRole {
    width: 92%;
    max-width: 1040px;
    padding-right: unset;
    padding-left: unset;
}

/* お届け先の追加 */
#page_shopping_shipping_edit .ec-registerRole {
    padding-right: unset;
    padding-left: unset;
}

/* 商品購入ログイン */
.cart_page .ec-role {
    width: 92%;
    max-width: 1040px;
    padding-right: unset;
    padding-left: unset;
}

@media only screen and (min-width: 768px) {
    .cart_page .ec-login {
        margin: 0 16px 0 0;
    }

    .cart_page .ec-guest {
        margin: 0 0 0 16px;
    }
}

/* ゲスト購入 */
#page_shopping_nonmember .ec-customerRole {
    padding-left: unset;
    padding-right: unset;
    width: 92%;
    max-width: 1040px;
}

#page_shopping_nonmember .ec-customerRole h1 {
    margin-top: 16px;
}

/* 購入者ログイン */
#page_shopping_login #customer {
    scroll-margin-top: 100px;
}

#page_shopping_login .ec-errorMessage {
    padding: 10px 30px 20px;
    color: #de5d50;
}

#page_shopping_login .login_btn input[type="submit"] {
    line-height: unset;
}

#page_shopping_login .guest_btn a {
    height: 50px;
    line-height: 50px;
    background: #d24a67;
    text-align: center;
    display: block;
    border: none;
    color: #fff;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    #page_shopping_login #customer {
        scroll-margin-top: 200px;
    }
}

@media only screen and (max-width: 767px) {
    #page_shopping_login .entry_area {
        display: flex;
        flex-direction: column;
    }

    #page_shopping_login .entry_login_area {
        float: unset;
        width: 100%;
    }

    #page_shopping_login .guest_btn {
        width: 312px;
    }

    #page_shopping_login .login_btn input[type="submit"],
    #page_shopping_login .rg_area .regist_btn a,
    #page_shopping_login .guest_btn a,
    #page_shopping_login .long_customer_btn a {
        width: 312px;
        margin-bottom: 15px;
    }

    #page_shopping_login .rg_area {
        float: unset;
        width: 100%;
        margin-left: unset;
    }

    #page_shopping_login .rg_area .entry_regist_area,
    #page_shopping_login .rg_area .entry_guest_area {
        margin-bottom: 20px;
        height: auto;
    }

    #page_shopping_login .long_customer_area {
        padding: unset;
    }

    #page_shopping_login .long_customer_article,
    #page_shopping_login .long_customer_btn {
        display: block;
    }

    #page_shopping_login .long_customer_article .lc_subtitle {
        font-size: 14px;
        height: 50px;
        align-content: center;
        border-bottom: 1px dotted #000;
        padding: 0.4em;
    }

    #page_shopping_login .long_customer_article {
        padding-right: unset;
    }

    #page_shopping_login .long_customer_article article {
        padding: 15px 30px 15px;
    }

    #page_shopping_login .privilegeMove,
    #page_shopping_login #privilege {
        display: none;
    }
}

/* クーポン利用画面 */
#page_plugin_coupon_shopping .ec-registerRole {
    width: 92%;
    max-width: 1040px;
    padding-left: unset;
    padding-right: unset;
}

/* 注文完了 */
.ec-cartCompleteRole {
    padding-left: unset;
    padding-right: unset;
    width: 92%;
    max-width: 1040px;
}

.ec-reportHeading {
    border-top: unset;
    font-size: 16px;
}

.ec-reportHeading h2 {
    margin: 0 0 25px;
    padding: 8px;
}

#page_shopping_complete h2 {
    text-align: center;
}

#page_shopping_complete .ec-reportDescription {
    text-align: left;
}

#page_shopping_complete .surveyRequest {
    border: 2px solid #eba40b;
    background-color: #e8ede6;
    padding: 16px 32px 32px;
}

#page_shopping_complete .boxCont.ec-text-ac {
    width: auto;
}

#page_shopping_complete .ec-off4Grid__cell .ec-blockBtn--action {
    background: #eba40b;
}
