/* 共通 */
:root {
  --dg-white: #fff;
  --dg-black: #000;
  --dg-color1: #e7e2e3;
  --dg-color2: #886c74;
  --dg-color3: #5f4c51;
  --dg-color4: #292123;
  --dg-color5: rgba(222, 93, 80, 0.9);
  --dg-color6: rgb(86, 149, 223);
  --dg-color7: #fafafa;
  --dg-color8: #eee;
  --dg-color9: #6c757d;
  --dg-color10: #4c7e80;
  --dg-color11: #5f9ea0;
  --dg-color12: #6a5a5a;
  --dg-color13: #d4d5d4;
  --dg-color14: #937b7b;
  --dg-color15: #f6f4f4;
  --dg-color16: #D7DADD;
  --dg-color17: #c2c2c2;
  --dg-color18: #DE5D50;
  --dg-color19: #f2f2f2;
  --dg-color20: #457173ff;
  --dg-color21: #525263;
  --dg-color22: rgba(140, 185, 187, 0.5);
  --dg-color23: #f8f9fa;
  --dg-color24: #dee2e6;
  --dg-color25: #cdbac2;
  --dg-color26: #3d6566;
  --dg-color27: #eee;
  --dg-color28: rgb(255, 255, 255, 0.2);
  --dg-color29: #333;
  --dg-color30: #ccc;
  --dg-color31: #ddd;
  --dg-color32: #999;
  --dg-color33: rgba(238, 235, 235, 0.95);
  --dg-color34: #6c757d;

  --dg-border-color-gray: var(--dg-color1);
  --dg-border-color-brown1: var(--dg-color2);
  --dg-border-color-brown2: var(--dg-color3);
}
.disp-none {
    display: none;
}
.text-no-wrap {
   white-space: nowrap; 
}
.text-center {
    text-align: center;
}
.ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNavSP {
    z-index: 99;
}
.ec-overlayRole {
    z-index: 999;
}
body {
    font-family: "Hiragino Sans", "ヒラギノ角ゴシック", "Meiryo", "メイリオ", "Yu Gothic", "游ゴシック";
}
.linemaker {
    background: linear-gradient(transparent 60%, var(--dg-color25) 60%);
    padding: 0 0.5em 0;
    clip-path: polygon(5% 0%, 100% 0%, 95% 95%, 0% 100%);
}
.linemaker2 {
    background: linear-gradient(transparent 90%, var(--dg-color25) 60%);
}

/* コンテンツタイトル */
.ec-pageHeader h1, .ec-pageHeader .h1 {
    border: none;
    text-align: center;
}
@media screen and (min-width: 768px) {
    .ec-pageHeader h1, .ec-pageHeader .h1 {
        border-bottom: 1px solid var(--dg-border-color-gray);
    }
    .ec-off1Grid {
        justify-content: center;
    }
}
/* 入力フォーム */
.ec-borderedDefs dl {
    border: none;
}
.ec-borderedDefs {
    border: none;
    margin: auto;
}
.ec-input input, .ec-birth input, .ec-select input, .ec-halfInput input,
.ec-numberInput input, .ec-zipInput input, .ec-telInput input{
    border: none;
    border-bottom: 1px solid var(--dg-border-color-gray);
    background: var(--dg-color7)
}
@media only screen and (min-width: 768px) {
    .ec-borderedDefs dl {
        flex-wrap: nowrap;
        padding: 0;
    }
    .ec-borderedDefs dt {
        padding-top: 10px;
        width: 30%;
        max-width: 180px;
        line-height: 1.5;
    }
    .ec-borderedDefs dd {
        width: 70%;
        line-height: 1.5;
    }
}

/* button */
.ec-blockBtn--action {
  color: var(--dg-white);
  background-color: var(--dg-color3);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  border: 3px solid var(--dg-border-color-brown2);
  line-height: 18px;
}
.ec-blockBtn--action:hover, .ec-blockBtn--action:active {
  color: var(--dg-white);
  background: var(--dg-color2);
  border: 3px solid var(--dg-border-color-brown2);
}
a.ec-blockBtn--cancel {
    background: var(--dg-color1);
    border: none;
    border-radius: 8px;
    color: var(--dg-color2);
    border: 3px solid var(--dg-border-color-gray);
}
a.ec-blockBtn--cancel:hover, a.ec-blockBtn--cancel:active {
    background: var(--dg-color1);
    color: var(--dg-color2);
    border: 3px solid var(--dg-border-color-brown1);
}

/* body */
.ec-layoutRole {
    background: var(--dg-white);
    margin-top: 0;
}

/* header */
.ec-layoutRole__header {
    display: flex;
    height: 65px;
    border-bottom: 1px solid var(--dg-border-color-gray);
}
.ec-layoutRole__header .ec-headerNaviRole {
    padding: 0;
    margin: 0;
}
.ec-layoutRole__header .ec-headerTitle h1 a {
    font-size: 1em;
    height: 40px;
    margin: 0;
    padding: 0;
}
.ec-layoutRole__header .ec-headerTitle img.shop_logo {
    width: auto;
    height:40px;
}
.ec-layoutRole__header .ec-headerNaviRole {
    padding: 0;
    margin: 0;
    justify-content: center;
    padding-right: 60px;
}
.ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel {
    display: flex;
}
.ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-cartNavi {
    padding: 2em 0 0;
}
.ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerRole__cart .shopping-cart {
    position: relative;
}
.ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerRole__cart .shopping-cart:before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 0.5em;
    background-image: url(../img/icon/icon_cart.svg);
}
.ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNavSP {
    left: unset;
    right: 10px;
}
.ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-cartNavi .ec-cartNavi__badge {
    position: relative;
    top: -4em;
    left: 1.5em;
    background: var(--dg-color5);
}
@media screen and (min-width: 768px) {
     .ec-layoutRole__header {
        align-items: baseline;
        height: 80px;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        max-width: 1150px;
    }
    .ec-layoutRole__header .ec-headerTitle h1 a {
        height: 50px;
        font-size: 1em;
    }
    .ec-layoutRole__header .ec-headerTitle img.shop_logo {
        height:45px;
    }
    .ec-layoutRole__header .ec-headerNaviRole {
        padding-right: 10px;
        justify-content: right;
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav {
        display: flex;
        justify-items: center;
        align-items: center;
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav .ec-headerNav__item {
        width: 90px;
        display: flex;
        text-align: center;
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav .ec-headerNav__item .ec-headerNav__itemLink {
        justify-items: center;
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav .ec-headerNav__item .ec-headerNav__itemLink:before {
        content: '';
        display: block;
        width: 25px;
        height: 25px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        margin-bottom: 0.5em;
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav .ec-headerNav__item.favorite .ec-headerNav__itemLink:before {
        background-image: url(../img/icon/icon_favorite_gray_menu.svg);
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav .ec-headerNav__item.mypage .ec-headerNav__itemLink:before,
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav .ec-headerNav__item.entry .ec-headerNav__itemLink:before {
        background-image: url(../img/icon/icon_mypage.svg);
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav .ec-headerNav__item.login .ec-headerNav__itemLink:before,
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-headerNav .ec-headerNav__item.logout .ec-headerNav__itemLink:before {
        background-image: url(../img/icon/icon_login.svg);
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-cartNavi {
        min-width: 70px;
        padding: 12px 17px 10px;
    }
    .ec-layoutRole__header .ec-headerNaviRole__custom_menus_panel .ec-cartNavi .ec-cartNavi__badge {
        top: -0.5em;
        left: -1em;
    }
}

/* footer */
.ec-footerRole {
    background-image: linear-gradient(0deg, var(--dg-color4) 2%, var(--dg-color3));
}

/* drawer */
.ec-drawerRole.is_active {
    width: 80%;
    min-width: 260px;
    max-width: 450px;
}
.ec-drawerRoleClose {
    left: Calc(80% + 10px);
}
.ec-drawerRole .ec-headerLinkArea {
    background-image: linear-gradient(0deg, var(--dg-color4) 2%, var(--dg-color3));
}
.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search {
    background-image: linear-gradient(0deg, var(--dg-color4) 2%, var(--dg-color3));
}

/* カート */
.ec-blockBtn--action.add-cart {
    background: var(--dg-color8);
    border: 1px solid var(--dg-color6);
    color: var(--dg-color6);
    border-radius: 20px;
    margin-top: 1em;
}
.ec-blockBtn--action:disabled:before {
    content: ' ';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 0.25em;
    background-image: url('../img/icon/icon_add_cart_gray.svg');
}
.ec-blockBtn--action:disabled {
    background-color: none;
    border: 1px solid var(--dg-border-color-gray);
    background-color: var(--dg-color8);
    border-radius: 20px;
}
.ec-blockBtn--action.add-cart:before {
    content: ' ';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 0.25em;
    background-image: url('../img/icon/icon_add_cart.svg');
}
.ec-blockBtn--action.add-cart .label,.ec-blockBtn--action .label {
    display: none;
}
@media screen and (min-width: 768px) {
    .ec-blockBtn--action.add-cart {
        font-size: 1.2em;
        width: 80px;
        height: 70px;
    }
}

/* お気に入り関連 */
.product_favorite {
    padding-bottom: 10px;
}
.product_favorite .ec-productRole__btn {
    text-align: center;
}
.ec-blockBtn--cutum_favorite:before {
    content: ' ';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 0.25em;
}
.ec-blockBtn--cutum_favorite {
    border: none;
    background: none;
    font-weight: 700;
    vertical-align: middle;
    color: var(--dg-color9);
    font-size: 0.8em;
}
.ec-blockBtn--cutum_favorite.add-favorite:before {
    background-image: url('../img/icon/icon_favorite_gray.svg');
}
.ec-blockBtn--cutum_favorite.delete-favorite:before {
    background-image: url('../img/icon/icon_favorite.svg');
}
@media screen and (min-width: 768px) {
    #page_product_detail .product_favorite {
        text-align: center;
    }
    .ec-blockBtn--cutum_favorite {
        font-size: 1em;
    }
    #page_product_list .ec-blockBtn--cutum_favorite .label {
        display: none;
    }
    #page_product_detail .ec-blockBtn--cutum_favorite .label {
        display: inline-block;
    }
}

/* 商品一覧*/
#page_product_list .ec-numberInput {
    display: none;
}
#page_homepage p.ec-shelfGrid__item-image, 
#page_product_list p.ec-shelfGrid__item-image {
    width: 100%;
    height: 60vw;
}
#page_homepage .ec-shelfGrid__item-image img, 
#page_product_list .ec-shelfGrid__item-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: top -12px left 0px;
}
#page_homepage .product_name, 
#page_product_list .product_name {
    font-weight: 700;
}
#page_homepage .price02-default, 
#page_product_list .price02-default {
    text-align: center;
}
.price02-sold {
    text-align: center;
    font-size: 0.8rem;
    color:var(--dg-color34);
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    #page_homepage .product_name, 
    #page_product_list .product_name {
        height: 4em;
        font-size: 1.1em;
    }
    #page_homepage .price02-default, 
    #page_product_list .price02-default {
        font-size: 1.2em;
        font-weight: 700;
    }
    .price02-sold {
        font-size: 1rem;
        margin-top: 5px;
    }
    #page_homepage p.ec-shelfGrid__item-image, 
    #page_product_list p.ec-shelfGrid__item-image {
        height: unset;
    }
    #page_homepage .ec-shelfGrid__item-image img, 
    #page_product_list .ec-shelfGrid__item-image img {
        height: 380px;
        object-position: top -20px left 0px;
        object-fit: cover;
    }
    #page_product_list .ec-productRole__btn {
        margin: 0;
        padding-bottom: 1em;
    }
    #page_product_list .custom-list-buttons {
        display: flex;
        width: 100%;
        padding: 5px;
        align-items: baseline;
    }
    #page_product_list .product_favorite {
        width: 100%;
    }
    #page_product_list .ec-productRole__btn {
        width: 100%;
        padding-left: 1em;
    }
    #page_product_list .ec-blockBtn--cutum_favorite.add-favorite:before,
    #page_product_list .ec-blockBtn--cutum_favorite.delete-favorite:before{
        width: 46px;
        height: 46px;
    }
    #page_product_list .ec-shelfGrid .ec-shelfGrid__item {
        border-bottom: 1px dotted var(--dg-border-color-gray);
        margin-bottom: 0.5em;
    }
}

/* ログイン*/
.ec-login {
    background: none;
}
.ec-login__icon {
    display: none;
}
.ec-login__actions .ec-blockBtn--cancel, .ec-mypageRole .ec-blockBtn--cancel{
  color: var(--dg-white);
  background-color: var(--dg-color3);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  border: 3px solid var(--dg-border-color-brown2);
  line-height: 18px;
}
.ec-login__actions .ec-blockBtn--cancel:hover, .ec-login__actions .ec-blockBtn--cancel:active,
.ec-mypageRole .ec-blockBtn--cancel:hover, .ec-mypageRole .ec-blockBtn--cancel:active {
  color: var(--dg-white);
  background: var(--dg-color2);
  border: 3px solid var(--dg-border-color-brown2);
}
.ec-login .ec-grid2 {
    display: inline-block;
    width: 100%;
}
.ec-login .ec-grid2 .ec-grid2__cell {
    width: 100%;
    text-align: center;
}
.ec-login__actions .ec-blockBtn--cancel {
    max-width: 300px;
    margin: auto;
}
.ec-login .ec-login__link {
    margin-top: 10px;
    margin-left: 0;
}
.ec-login .ec-login__link:nth-child(2) .ec-link {
    /*background: var(--dg-color1);*/
    border: none;
    border-radius: 8px;
    color: var(--dg-color2);
    padding: 5px 10px;
    margin: 10px 0 0;
    width: 100%;
    max-width: 300px;
    display: inline-block;
    line-height: 2.5;
    font-weight: 700;
}
.ec-login .ec-login__link:nth-child(2) .ec-link:hover, .ec-login .ec-login__link:nth-child(2) .ec-link:active {
    opacity: 0.7;
}

/* MyPage */
.ec-navlistRole .ec-navlistRole__navlist {
    border: none;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item {
    border: 1px solid var(--dg-color13);
    width: 78px;
    height: 78px;
    font-size: 10px;
    background: var(--dg-color1);
    color: var(--dg-color3);
    display: flex;
    flex-wrap: wrap;
    font-weight: 400;
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item > a {
    padding: 2px;
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item.active {
    background: var(--dg-white);
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item.active > a {
    color: var(--dg-color3);
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item > a:before {
    content: '';
    display: block;
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 0.5em;
    margin-top: 12px;
    margin-left: 20px;
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item:nth-child(1) > a:before {
    background-image: url(../img/icon/icon_cart_gray.svg);
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item:nth-child(2) > a:before {
    background-image: url(../img/icon/icon_favorite_gray_menu.svg);
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item:nth-child(3) > a:before {
    background-image: url(../img/icon/icon_memo2_gray.svg);
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item:nth-child(4) > a:before {
    background-image: url(../img/icon/icon_memo_gray.svg);
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item:nth-child(5) {
    background: none;
    border: none;
    width: 54px;
    height: 20px;
    margin: 0px;
}
.ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item:nth-child(5) > a:before {
    display: none;
}
@media screen and (min-width: 768px) {
    .ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item {
        width: 130px;
        height: 130px;
        font-size: 16px;
    }
    .ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item > a:before {
        width: 64px;
        height: 64px;
        margin-top: 18px;
        margin-left: 30px;
    }
    .ec-navlistRole .ec-navlistRole__navlist > li.ec-navlistRole__item:nth-child(5) {
        width: 120px;
        margin-left: 40%;
        margin-right: 40%;
    }
}

/* ヘッダーカートボタン */
.ec-cartNaviIsset .ec-cartNaviIsset__action .ec-blockBtn--action {
    line-height: 56px;
}
.ec-cartNaviIsset .ec-cartNaviIsset__action .ec-cartNavi--cancel {
    border-radius: 8px;
}

/* 決済Step */
.ec-orderCoupon #coupon_button {
	border-radius: 8px;
    margin-bottom: 0.5rem;
}
.ec-progress .ec-progress__number {
	border-radius: 25%;
    background: #fff;
    border: 2px solid var(--dg-color25);
    color: var(--dg-color25);
    line-height: 26px;
}
.ec-progress .is-complete .ec-progress__number {
	border-color: var(--dg-color2);
    background: var(--dg-color2);
    color: var(--dg-white);
}
.ec-progress .is-complete .ec-progress__label {
    color: var(--dg-color2);
}
.ec-progress .ec-progress__label {
    color: var(--dg-color25);
        font-size: 11px;
}
.ec-progress .ec-progress__item:after {
    background: var(--dg-color25);
    top: calc(1.25em - 4px);
}
.ec-progress {
        margin-bottom: 30px;
        padding: 0;
        background: var(--dg-color15);
        padding: 5px 0 5px;
}
.ec-alert-warning {
	border: 2px solid var(--dg-color5);
    background: var(--dg-white);;
}
.ec-alert-warning .ec-alert-warning__text {
	color: var(--dg-color5);
}
.custom-cart-delete-icon .ec-icon img {
    max-width: 18px;
}
.custom-cart-delete-icon {
    position: absolute;
    bottom: 15%;
    margin: 1rem 0;
    width: 100%;
}
.ec-cartRow .ec-cartRow__amountColumn {
    position: relative;
}
.ec-cartRole img.custom-img-size {
    max-height: 200px;
    object-fit: cover;
    object-position: top -20px left 0px;
}
#page_cart .ec-blockBtn--action {
    line-height: 56px;
}
.ec-cartRole .ec-cartRole__actions > a:nth-of-type(1) {
    margin-bottom: 15px;
}
#form_cart.ec-cartRole {
    padding: 0;
}
.ec-cartTable {
    border: none;
}
.ec-cartRole .ec-cartRole__cart {
    margin: 0;
    border: 1px solid var(--dg-color2);
    border-radius: 5px;
    padding: 0 10px;
}
#shopping_login,.ec-login {
    background: var(--dg-color1);
    border-radius: 5px;
}
.ec-guest {
    background: none;
    padding: 2rem 13%;
}
.ec-guest .ec-guest__actions a {
    color: var(--dg-color2);
    background: #fff;
    border: 2px solid var(--dg-color2);
}
.ec-orderAccount, .ec-orderDelivery, .ec-orderPayment, .ec-orderConfirm, .ec-orderCoupon {
    border: 1px solid var(--dg-color17);
    border-radius: 5px;
    padding: 0;
    position: relative;
    margin-bottom: 1rem;
}
.ec-orderAccount .ec-rectHeading, .ec-orderDelivery .ec-rectHeading,
.ec-orderPayment .ec-rectHeading, .ec-orderConfirm .ec-rectHeading, .ec-orderCoupon .ec-rectHeading {
    margin: 0 0 0.25em;
    padding: 5px;
    background: var(--dg-color17);
}
.ec-orderConfirm .ec-rectHeading {
    margin: 0
}
.ec-orderAccount .ec-rectHeading h2, .ec-orderDelivery .ec-rectHeading h2,
.ec-orderPayment .ec-rectHeading h2, .ec-orderConfirm .ec-rectHeading h2, .ec-orderCoupon .ec-rectHeading h2 {
    background: unset;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #fff;
    
}
.ec-orderAccount .ec-orderAccount__account, .ec-orderDelivery > div, .ec-orderPayment > div,  .ec-orderCoupon > div {
    padding: 5px;
    margin: 0;
}
#customer, .ec-orderDelivery .ec-orderDelivery__title .ec-orderDelivery__change > button {
    border: none;
    background: none;
    position: absolute;
    top: 0;
    right:0;
    height: 26px;
    content:'';
    font-size: 14px;
    padding: 0 16px 0 25px;;
    color: #fff;
    line-height: 26px;
}
#shopping_order_message {
    border: none;
}
.ec-orderDelivery .ec-orderDelivery__title .ec-orderDelivery__change > button  {
    top: -31px;
}
#customer:before, .ec-orderDelivery__change > button:before {
    content: '';
    background-image: url(../img/icon/icon_pencil_white.svg);
    width: 16px;
    height: 16px;
    margin: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    position: absolute;
    top: 4px;
    right: 3.4em;
    
}
.ec-orderRole__summary {
    margin: 0;
}
.ec-totalBox {
    border-radius: 5px;
}
.ec-totalBox .ec-totalBox__btn .ec-blockBtn--cancel {
    color: var(--dg-color2);
}
.ec-orderAccount .ec-borderedDefs.non-customer-edit {
    padding: 0 10px;
}
.ec-orderAccount .mod-button {
    text-align: center;
    margin-bottom: 1rem
}
.ec-orderAccount .mod-button > span {
    padding: 10px;
    width: 140px;
    display: inline-block;
}
.ec-orderAccount .mod-button button {
    width: 120px;
    border-radius: 3px;
}
.ec-orderAccount .mod-button #customer-ok button {
    color: var(--dg-white);
    border-color: var(--dg-color2);
    background: var(--dg-color12);
}
.cart_page .ec-cartCompleteRole {
	margin-bottom: 30px;
}
.cart_page .ec-cartCompleteRole .ec-reportHeading h2 {
	color: var(--dg-color2);
}
.cart_page .ec-cartCompleteRole .ec-reportDescription {
	font-size: 14px;
	color: var(--dg-color2);
}
#page_shopping_confirm .custom_input_message {
    display: inline-block;
    width: 100%;
    padding: 5px;
}
@media screen and (min-width: 768px) {
    .ec-progress {
        padding: 5px 10px 5px;
    }
    .ec-progress .ec-progress__label {
        font-size: 12px;
    }
    .ec-progress .ec-progress__item:after {
        background: var(--dg-color25);
        top: calc(1.25em + 2px);
    }
    .ec-progress .ec-progress__number {
        line-height: 42px;
    }
    .ec-cartRole img.custom-img-size {
        max-height: 150px;
        object-position: top -15px left 0px;
    }
    .custom-cart-delete-icon {
        bottom: 0;
    }
    .ec-cartHeader .ec-cartHeader__label {
        background: #FFF;
        color: #999;
        font-weight: 400;
        border-bottom: 1px dotted var(--dg-color2);
        margin: 0;
        padding: 0.25rem;
    }
    .ec-cartRole .ec-cartRole__actions {
        width: 100%;
    }
    .ec-cartRole .ec-cartRole__actions > a {
        width: 35%;
        margin-left: auto;
        margin-right: auto;
    }
    .ec-cartRole .ec-cartRole__cart {
        margin: 0 10%;
    }
    #page_shopping_login .ec-grid3 {
        flex-wrap: wrap;
    }
    #page_shopping_login .ec-grid3 .ec-grid3__cell2,
    #page_shopping_login .ec-grid3 .ec-grid3__cell{
        width: 100%;
        padding: 0 20%
    }
    .ec-orderAccount .ec-orderAccount__account, .ec-orderDelivery > div, .ec-orderPayment > div, #page_shopping_confirm .custom_input_message {
        padding: 8px 1rem;
    }
}

/* 税込み表示 */
.ec-price .ec-price__tax {
    white-space: nowrap;
}

/* 2025.12.17 ヘッダーのズレ微調整*/
@media screen and (min-width: 768px) {
    .ec-headerTitle .ec-headerTitle__title {
        text-align: left;
    }
}

/*フッター関連*/
.sns-btns {	
    display: flex;	
    gap: 20px;	
    align-items: center;
    list-style: none;
    justify-content: center;
/*    padding-top: 20px;
    padding-bottom: 20px;*/
}	
.sns-btns img {	
    width: 40px;	
    height: 40px;	
    object-fit: contain;	
}
.ec-footerTitle {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}
@media screen and (min-width: 768px) {
    .ec-footerTitle {
        gap: 50px;
    }
}

.ec-footerTitle__qr img {
    width: 60px;
    height: 60px; 
    object-fit: contain;
    display: block;
}
@media screen and (min-width: 768px) {
    .ec-footerTitle__qr img {
        width: 100px;
        height: 100px;
    }
}

.ec-footerTitle__spacer {
    width: 60px;
    height: 60px;
}
@media screen and (min-width: 768px) {
    .ec-footerTitle__spacer {
        width: 100px;
        height: 100px;
    }
}

.ec-footerTitle__text {
    display: flex;
    flex-direction: column;
}
.ec-footerTitle__logo img {
    height:30px;
    width:auto;
    display:block;
    margin:0 auto;
}
@media screen and (min-width: 768px) {
    .ec-footerTitle__logo img {
        height:60px;
    }
}

@media screen and (max-width: 768px) {
    .ec-footerNavi {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
.ec-footerNavi .ec-footerNavi__link a {
    padding: 10px 0;
    border-bottom: none;
}

/*ヘッダー*/
.ec-headerRole {
    min-width: 240px;
}
.ec-headerTitle {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 5px;
}

.ec-headerTitle__caption{
    font-size: 0.8rem;
    font-weight: bold;
    color:var(--dg-color21);
}
@media screen and (min-width: 768px) {
    .ec-headerTitle__caption {
        font-size:1rem;
    }
}
/*画面上部に出すバナー用*/
.ec-topBanner{
    flex: 0 0 100%;
    width: 100%;
    background: var(--dg-color2);
    color: var(--dg-white);
    height: 40px;
    display: flex;
    align-items: center;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
.ec-topBanner__inner{
    width: 100%;
    padding: 0 1rem;
}
.ec-topBanner__text{
    margin: 0;
    text-align: center;
    font-size: 10pt;
    line-height: 1; 
}
@media screen and (min-width: 768px){
    .ec-topBanner{
        height: 50px;
    }
    .ec-topBanner__text{
        font-size: 16pt;
    }
}

/*トップページに表示するおすすめ商品*/
.recommend-header{
    margin-top: 2rem;
}
.toppage-title {
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem; 
    font-weight: bold;
}
@media screen and (min-width: 768px){
    .recommend-header{
        margin-top: 3rem;
    }
    .toppage-title {
        font-size: 1.5rem; 
    }
}

/*#page_homepage*/ p.ec-shelfGrid__item-image {
    position: relative;
    margin: 0;
}
.ec-shelfGrid__item-image.product_sold_out_img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    pointer-events: none;
}
.ec-shelfGrid__item-image .sold-badge {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: .2em;
    color: var(--dg-color1);
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
    mix-blend-mode: normal;
    pointer-events: none;
    z-index: 1; 
}

.recommend-coordinator {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height:20%;
    width: 100%;
    box-sizing: border-box;
    color: var(--dg-color1);
    background: color-mix(in srgb, var(--dg-color2) 90%, transparent);
    pointer-events: none;
    display: flex;
    align-items: center; 
    justify-content: flex-start;
}
.recommend-coordinator__text {
    padding-left:5px;
    width: 100%;
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; 
    overflow: hidden; 
}
.recommend-price {
    text-align: right;
    font-size: 0.8rem;
}
.recommend-price__sold {
    text-align: right;
    font-size: 0.8rem;
    color:var(--dg-color34);
    font-weight: bold;
    margin-right: 10px;
}
@media screen and (min-width: 768px) {
    .recommend-coordinator {
        font-size:1rem;
    }
    .recommend-coordinator__text {
        font-size:1rem;
    }
    .recommend-price {
        font-size: 1rem;
        margin-top: 5px;
    }
    .recommend-price__sold {
        font-size: 1rem;
        margin-top: 5px;
    }
}

.recommend-footer {
    display: flex;
    justify-content: center; 
}
.recommend-moreBtn {
    display: inline-block;
    text-align: center;
    font-size:16pt;
    padding: 12px;
    background: var(--dg-color1);
    color: var(--dg-color2);
    text-decoration: none;
    border: 3px solid var(--dg-border-color-gray);
    border-radius: 5px;
    font-weight: bold;
    transition: filter .2s ease, transform .05s ease;
    width: 80%;
}
.recommend-moreBtn:hover, .recommend-moreBtn:active {
    background: var(--dg-color1);
    color: var(--dg-color2);
    border: 3px solid var(--dg-border-color-brown1);
}
@media screen and  (min-width: 768px) {
    .recommend-moreBtn {
        width: 30%;
    }
}    
@media screen and  (max-width: 767px) {
    .ec-newsRole__newsBox{
        border: 1px solid var(--dg-border-color-gray,);
        border-radius: 5px;
        padding: 12px 14px;
        background: #fff;
    }
}
/* トップページスライダー */
.ec-sliderRole .main_visual,
.ec-sliderRole .main_visual__item,
.ec-sliderRole .main_visual__item picture {
    width: 100%;
}
.ec-sliderRole .main_visual__item img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}
.ec-sliderRole {
    visibility: hidden;
}
.ec-sliderRole .main_visual.slick-initialized {
    visibility: visible;
}

/* トップページ画像 */
div.top_safety img.pc {
    width: 100%;
    display: none;
}
div.top_safety img.sp {
    width: 100%;
    display: block;
}
@media screen and (min-width: 768px) {
    div.top_safety img.pc {
        display: block;
    }
    div.top_safety img.sp {
        display: none;
    }
}

/* 「Dandy-GGとは？」バナー */
.top-help-banner {
    display: block;
    position: relative;
    width: 100%;
    height: 150px;
    text-decoration: none;
    background: color-mix(in srgb, var(--dg-color25) 50%, transparent);
    color: #525263; 
    transition: background-color .2s ease, color .2s ease;
}
.top-help-banner::before {
    content: '';
    position: absolute;
    inset: 17px;
    border: 2px solid var(--dg-white);
    pointer-events: none;
}
.top-help-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background .2s ease;
    pointer-events: none;
}
.top-help-banner:hover::after {
    background: rgba(255, 255, 255, 0.30);
}
.top-help-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    height: 100%;
    box-sizing: border-box;
}
.top-help-banner__line1 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.top-help-banner__line1-logo {
    height: 28px;
    width: auto;
}
.top-help-banner__line1-text {
    font-size: 1.2rem;
    font-weight: bold;
}
.top-help-banner__line2 {
    display: inline-block;
    border: 1px solid currentColor;
    border-radius: 9999px; 
    padding: 8px 20px;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
@media screen and (min-width: 768px) {
    .top-help-banner {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    .top-help-banner__inner {
        flex-direction: row;
        align-items: center; 
        justify-content: center;
        gap: 30px;
    }
    .top-help-banner__line1-logo {
        height: 40px;
    }
    .top-help-banner__line1-text {
        font-size: 1.5rem;
    }
    .top-help-banner__line2 {
        font-size: 1.2rem;
        font-weight: 700;
    }
}