﻿@charset "utf-8";

:root {
  --mz-order-gray-1: #969696;
}

/*-- 共通 --*/
@media all {

  body:is(.page-cart, .page-method, .page-estimate, .page-order) #header #gNav,
  body:is(.page-cart, .page-method, .page-estimate, .page-order) #header #headerUtil {
    visibility: hidden;
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .btn:hover {
    opacity: var(--mz-opacity-hover);
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-cart--body {
    padding: 0;
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .pane-contents main {
    margin-top: 0;
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .pane-contents .block-topic-path {
    margin-bottom: 20px;
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-order-step {
    padding: 21px 0 64px;
    margin-top: 20px;
    overflow: hidden;
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-order-step-list {
    display: flex;
    justify-content: space-between;
    max-width: 662px;
    margin-left: auto;
    margin-right: auto;
    counter-reset: listnum;
    list-style: none;
    background-image: linear-gradient(var(--mz-order-gray-1), var(--mz-order-gray-1));
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: center center;
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-order-step-list li {
    position: relative;
    width: 12px;
    height: 12px;
    background-color: var(--mz-order-gray-1);
    border-radius: 50%;
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-order-step-list li.current {
    background-color: var(--mz-color-2);
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-order-step-list li::before {
    position: absolute;
    top: -21px;
    left: -75px;
    right: -75px;
    counter-increment: listnum;
    content: counter(listnum, decimal-leading-zero);
    margin-left: auto;
    margin-right: auto;
    font-weight: var(--mz-fw-medium);
    line-height: calc(17 / 14);
    font-size: var(--mz-fs-14);
    text-align: center;
    color: var(--mz-order-gray-1);
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-order-step-list li.current::before {
    color: var(--mz-color-1);
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-order-step-list li span {
    position: absolute;
    top: 19px;
    left: -75px;
    right: -75px;
    margin-left: auto;
    margin-right: auto;
    color: var(--mz-order-gray-1);
    font-weight: var(--mz-fw-medium);
    line-height: calc(21 / 14);
    font-size: var(--mz-fs-14);
    text-align: center;
  }

  body:is(.page-cart, .page-method, .page-estimate, .page-order, .page-salesdestchange) .block-order-step-list li.current span {
    font-weight: bold;
    color: var(--mz-color-1);
  }
}

/*-- 一覧 --*/
@media all {
  body:is(.page-cart, .page-estimate) .block-cart--goods-list {
    border: 1px solid var(--mz-color-8);
  }

  body:is(.page-cart, .page-estimate) .block-cart--goods-list>li {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
  }

  body.page-cart .block-cart--goods-list .mz-item-flex-container {
    position: relative;
    padding: 20px min(5.5%, 44px) 20px min(2.5%, 20px);
    border-top: 1px solid var(--mz-color-8);
    border-bottom: 0;
    display: flex;
    gap: 0 30px;
  }

  body.page-estimate .block-cart--goods-list .mz-item-flex-container {
    position: relative;
    padding: 20px 0;
    border-top: 1px solid var(--mz-color-8);
    border-bottom: 0;
    display: flex;
    gap: 0 30px;
  }

  body:is(.page-cart, .page-estimate) .mz-gods-list-detail-contents {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 140px - 30px);
    padding: 0 0 0 0;
  }

  body:is(.page-cart, .page-estimate) .block-cart--goods-list .mz-alert-wrapper {
    padding: 0 min(5.5%, 44px) 0 min(2.5%, 20px);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list li:first-child .mz-item-flex-container {
    border-top: none;
  }

  .block-promotion-message--container+.block-cart--goods-list>li:first-of-type .mz-item-flex-container {
    border-top: 0;
  }

  .block-goods-agreement {
    margin: 0;
    padding: 10px;
  }

  .block-goods-agreement--header {
    margin: 0;
  }

}

/*-- カート/注文確認画面　商品情報 --*/
@media all {

  body:is(.page-cart, .page-estimate) .mz--goods-list-link {
    width: 100%;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-link:has(.mz--goods-list-image) {
    width: 140px;
    flex-shrink: 0;
    flex-grow: 0;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-image {
    width: 100%;
    min-width: 100%;
    flex-basis: 100%;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-image figure {
    border: 1px solid var(--mz-color-7);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-image figure img {
    width: 100%;
  }

  body:is(.page-cart, .page-estimate) .disabled-return-message {
    margin-top: 5px;
    font-size: var(--mz-fs-12);
    color: var(--mz-color-9);
  }

  body:is(.page-cart, .page-estimate) .mz--contents {
    width: calc(100% - 350px - 2.54%);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-container {
    display: block;
    font-size: var(--mz-fs-13);
    max-width: calc(100% - (165px + 4.5%));
    padding: 0;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item .mz--goods-list-item-name {
    margin-bottom: 5px;
    line-height: calc(26 / 14);
    font-weight: bold;
    font-size: var(--mz-fs-14);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-name2-sex-value {
    display: flex;
    gap: .5em;
    margin-bottom: 4px;
    font-size: var(--mz-fs-13);
    line-height: calc(22 / 13);
    color: var(--mz-color-9);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-container .variation-name,
  body:is(.page-cart, .page-estimate) .mz--goods-list-item-container .variation-group {
    display: flex;
    font-size: var(--mz-fs-13);
    line-height: calc(22 / 13);
    gap: 0 10px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-container .variation-name .variation-name-color {
    display: flex;
    gap: 0 10px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-container .variation-name .variation-name-color>*:empty {
    display: none;
  }

  body:is(.page-cart, .page-estimate) .variation-name-color-title,
  body:is(.page-cart, .page-estimate) .variation-name-size-title,
  body:is(.page-cart, .page-estimate) .variation-group-title {
    min-width: 54px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-price-box {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
    gap: 5px 5px;
    align-items: center;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list .mz--goods-list-item .mz--goods-list-item-price-info {
    flex-grow: 0;
    order: 0;
    text-align: left;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-price {
    font-size: var(--mz-fs-15);
    font-weight: normal;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-price.sale-price {
    color: var(--mz-color-4);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-price span {
    font-size: var(--mz-fs-13);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-price-wrap .tax-comment {
    font-size: var(--mz-fs-13);
    margin-left: -5px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-price-wrap .no-tax-comment {
    font-size: var(--mz-fs-13);
    margin-left: 3px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-price-wrap .no-tax-comment span {
    color: var(--mz-color-1);
  }

  body:is(.page-cart, .page-estimate) .mz-goods-option {
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--mz-color-8);
  }

  body:is(.page-cart, .page-estimate) .mz-goods-option p {
    font-size: var(--mz-fs-13);
    line-height: calc(23 / 13);
  }

  body:is(.page-cart, .page-estimate) .mz-goods-option .title {
    font-size: var(--mz-fs-14);
    margin-bottom: 12px;
    line-height: calc(23 / 14);
  }

  body:is(.page-cart, .page-estimate) .mz-goods-option table {
    width: 100%;
    border: 1px solid var(--mz-color-8);
    border-bottom: 0;
    table-layout: fixed;
  }

  body:is(.page-cart, .page-estimate) .mz-goods-option table th,
  body:is(.page-cart, .page-estimate) .mz-goods-option table td {
    border-bottom: 1px solid var(--mz-color-8);
    padding-top: 16px;
    padding-bottom: 14px;
    font-size: var(--mz-fs-13);
    line-height: calc(19 / 13);
    vertical-align: middle;
  }

  body:is(.page-cart, .page-estimate) .mz-goods-option table th {
    width: 36.12%;
    max-width: 220px;
    padding-right: 18px;
    padding-left: 20px;
    background-color: var(--mz-color-6);
  }

  body:is(.page-cart, .page-estimate) .mz-goods-option table td {
    padding-right: 22px;
    padding-left: 22px;
    border-left: 1px solid var(--mz-color-8);
  }

  body:is(.page-cart, .page-estimate) .mz-goods-option table~p {
    margin-top: 10px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-discount-rate {
    color: #fff;
    padding: 5px 4px;
    background-color: var(--mz-color-4);
    font-size: var(--mz-fs-12);
    font-weight: var(--mz-fw-medium);
    line-height: 1;
    height: fit-content;
  }

  body:is(.page-cart, .page-estimate) .pane-contents .mz--goods-list .block-common-alert-list {
    margin-top: 10px;
    border: 0;
    padding: 0;
    gap: 0;
  }

  body:is(.page-cart, .page-estimate) .pane-contents .mz--goods-list .block-common-alert-list li {
    padding: 0;
    border: 0;
    font-size: var(--mz-fs-12);
    line-height: calc(18 / 12);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-input {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    max-width: calc(165px + 4.5%);
    padding-left: 4.5%;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-input-comment {
    margin-left: auto;
    font-size: var(--mz-fs-12);
    line-height: calc(18 / 12);
    color: var(--mz-color-9);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-input>div.mz--goods-list-item-qty-money {
    align-items: flex-end;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-input select {
    width: 86px;
    height: 40px;
    margin-left: auto;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-money {
    margin-top: 9px;
    margin-right: -5px;
    font-size: var(--mz-fs-16);
    font-weight: var(--mz-fw-medium);
    line-height: calc(19 / 16);
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-money span {
    font-size: var(--mz-fs-13);
    line-height: calc(23 / 13);
    font-weight: normal;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-money span.total {
    margin-right: 3px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-money span.tax {
    margin-left: -4px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-delete,
  body:is(.page-cart, .page-estimate) .mz--goods-list-item-input>div.mz--goods-list-item-delete {
    position: absolute;
    display: block;
    top: 9px;
    right: 9px;
    width: 25px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-input>div.mz--goods-list-item-delete>input.mz--goods-list-item-delete-btn {
    display: block;
    width: 25px;
    height: 25px;
    padding: 0;
    background-color: transparent;
    background-image: url('../../img/usr/btn_close_50x50.png');
    background-size: contain;
    background-repeat: no-repeat;
    border: 0;
    font-size: 0;
  }

  body.page-cart .block-goods-customer-limited-order {
    padding-left: min(2.5%, 20px);
    padding-right: min(5.5%, 44px);
    font-size: var(--mz-fs-12);
  }

  body.page-estimate .block-goods-customer-limited-order {
    padding-left: 0;
    padding-right: 0;
    font-size: var(--mz-fs-13);
    margin-top: 5px;
  }
}

@media (width<992px) {
  body:is(.page-cart, .page-estimate) .block-cart--goods-list .mz-item-flex-container {
    flex-wrap: wrap;
    gap: 0 5%;
  }

  body:is(.page-cart, .page-estimate) .block-cart--goods-list>li {
    flex-wrap: wrap;

    & .mz--goods-list-link {
      margin-bottom: 10px;
    }

    & .mz-gods-list-detail-contents {
      width: 100%;
    }
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-input-comment,
  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-input,
  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-container {
    max-width: 100%;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list>li .mz--goods-list-item-input {
    padding: 0;
    margin-top: 10px;
  }

  body:is(.page-cart, .page-estimate) .mz--goods-list-item-input-comment {
    margin: 0;
  }

}


@media all {
  body:is(.page-cart, .page-method, .page-estimate) .pane-contents .block-cart--form-post {
    display: flex;
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
    gap: 10px 30px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--form-post>.block-cart--contents {
    order: 1;
    width: calc(100% - 350px - 30px);
    flex-grow: 0;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--form-post>.block-cart--procedure-container-wrapper {
    order: 2;
    width: 350px;
    flex-shrink: 0;
  }

  body:is(.page-cart, .page-estimate) .block-cart--form-post>.mz-cart-free-message {
    order: 3;
    width: 100%;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--procedure-container-menu {
    top: 20px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--procedure {
    margin: 0;
    padding: 0;
    border: 0;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--procedure-container {
    padding: 30px;
    background-color: var(--mz-color-6);
  }


  body:is(.page-cart, .page-method, .page-estimate) .block-cart-shipping-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
    margin: 0 -10px;
    color: var(--mz-color-2);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart-shipping-box:not(:has(>*)) {
    display: none;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart-shipping-box:after {
    content: '';
    display: block;
    width: 100%;
    height: 20px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart-shipping-timing {
    font-size: var(--mz-fs-13);
    font-weight: bold;
    line-height: calc(15 / 13);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart-ship-today,
  body:is(.page-cart, .page-method, .page-estimate) .block-cart-ship-tomorrow {
    display: flex;
    gap: 4px;
    min-width: 73px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart-ship-today::after,
  body:is(.page-cart, .page-method, .page-estimate) .block-cart-ship-tomorrow::after {
    content: '';
    display: block;
    width: 41px;
    min-width: 41px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../../img/usr/icon_shipping.png');
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart-ship-schedule-message {
    font-size: var(--mz-fs-13);
    line-height: calc(16 / 13);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart-ship-schedule-message span {
    font-size: var(--mz-fs-16);
    font-weight: bold;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--subtotal-container {
    padding: 0;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--subtotal-detail {
    margin-bottom: 12px;
    border-bottom: 1px solid var(--mz-color-8);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--subtotal-container .block-cart--subtotal {
    display: flex;
    justify-content: space-between;
    font-size: var(--mz-fs-14);
    margin-bottom: 9px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--subtotal-container .block-cart--subtotal span {
    font-size: var(--mz-fs-16);
    font-weight: normal;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--subtotal-container .block-cart--subtotal-price {
    color: var(--mz-color-1);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--postage {
    display: flex;
    justify-content: space-between;
    font-size: var(--mz-fs-14);
    margin-bottom: 9px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--postage span {
    font-size: var(--mz-fs-16);
    font-weight: normal;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--total {
    display: flex;
    justify-content: space-between;
    font-size: var(--mz-fs-14);
    margin-bottom: 9px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--total span {
    font-size: var(--mz-fs-16);
    font-weight: normal;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--promotion-discount p {
    display: flex;
    justify-content: space-between;
    font-size: var(--mz-fs-14);
    margin-bottom: 9px;
    color: var(--mz-color-4);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--promotion-discount p span {
    font-size: var(--mz-fs-16);
    font-weight: normal;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--promotion-criteria-list-container {
    padding-bottom: 0;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--promotion-criteria-list-container>*:last-of-type {
    margin-bottom: 11px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--payment-amount {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    font-size: var(--mz-fs-15);
    font-weight: bold;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--payment-amount-price {
    line-height: calc(20 / 17);
    font-size: 17px;
    font-weight: var(--mz-fw-medium);
    margin-right: -7px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--payment-amount-price span {
    font-size: var(--mz-fs-13);
    font-weight: normal;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--promotion-criteria-list-container .promotion-criteria-list-message {
    font-size: var(--mz-fs-13);
  }

  body:is(.page-cart, .page-method, .page-estimate) .promotion-criteria-list-message>span {
    color: var(--mz-color-1);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart-available_method_comment {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--mz-color-4);
    font-size: var(--mz-fs-12);
    line-height: calc(18 / 12);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--procedure-container .action-buttons .action .btn {
    font-size: var(--mz-fs-16);
    padding: 0 0 0;
    background-color: var(--mz-color-3);
    border-radius: 5px;
    border: 1px solid var(--mz-color-3);
    height: 60px;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--procedure-container .action-buttons .action .btn:hover {
    background-color: var(--mz-color-3);
    border: 1px solid var(--mz-color-3);
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--order .block-cart--continue-shopping {
    margin: 0;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--order .block-cart--continue-shopping-link {
    width: 100%;
    height: auto;
    border: 0;
    font-size: var(--mz-fs-14);
    font-weight: normal;
    text-decoration: underline;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--order-text {
    margin-top: 1px;
    font-size: var(--mz-fs-12);
    line-height: calc(22 / 12);
  }
}

@media (width < 992px) {
  body:is(.page-cart, .page-method, .page-estimate) .pane-contents .block-cart--form-post {
    gap: 10px 3%;
  }

  body:is(.page-cart, .page-method, .page-estimate) .block-cart--form-post>.block-cart--contents {
    width: calc(100% - 350px - 3%);
  }
}

/*-- 共通（フォーム） --*/
@media all {
  .fieldset-vertical .form-control {
    font-size: var(--mz-fs-14);
    line-height: calc(24 / 14);
  }

  select[name="card_m"] {
    width: fit-content;
    margin-right: 5px;
  }

  select[name="card_y"] {
    width: fit-content;
    margin-right: 5px;
    margin-left: 10px;
  }
}