/* no compile */

/* common */
#shop-hcaptcha-badge-container,
.grecaptcha-badge {
  display: none !important;
}
h1:focus-visible,
.form__message:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Prime Review */
.mxpr-favorites-header {
  h2 {
    font-size: 0;
    padding: 16px 0;
  }
  h2::before {
    content: "お気に入り";
    font-size: calc(var(--font-heading-scale) * 2rem);
  }
}
.mxpr-favorites-cart-add {
  background-color: #0081cc !important;
  border: 1px solid #0081cc !important;
}
.gridjs-summary {
  display: none !important;
}
@media only screen and (min-width: 750px) {
  .mxpr-favorites-header {
    h2 {
      padding: 20px 0;
    }
    h2::before {
      font-size: calc(var(--font-heading-scale) * 2.4rem);
    }
  }
}

/* 領収書 */
#nameModal {
  .field::before,
  .field::after {
    display: none;
  }
  .field__input {
    padding: 1.5rem !important;
    background: #F7F8F9;
    border: none;
  }
  #downloadBtn {
    appearance: none;
    width: calc((270 / 375)* 100vw);
    max-width: 450px;
    margin: 0 auto !important;
    border-radius: 6px;
    font-size: 1.2rem;
    line-height: 44px;
    color: #fff;
    background: #0081cc;
    border: none;
    padding: 0 !important;
  }
  #downloadBtn:hover {
    cursor: pointer;
  }
}
@media only screen and (max-width: 749px) {
  #nameModal > div {
    width: 95vw !important;
    height: auto !important;
    padding: 40px 20px !important;
  }  
  #nameModal > div > div {
    margin-top: 0 !important;
    margin-left: auto !important;
  }  
}

/* policies */
.shopify-policy__body {
  .rte {
    table:not(.content-table) {
      tbody {
        tr {
          td:nth-of-type(1) {
            background: #f9f9f9;
          }
        }
      }
    }
  }
}
.shopify-policy__container {
  width: calc(100% - 30px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}
.privacy-policy-ft.use-content {}
.privacy-policy-ft.use-content dl {
  margin-bottom: 40px;
}
.privacy-policy-ft.use-content dl dt {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.privacy-policy-ft.use-content dl dd {
  margin: 0;
  padding: 0;
  line-height: 2;
}
.privacy-policy-ft.use-content .content-table-top {
  overflow-x: scroll;
}
.privacy-policy-ft.use-content .content-table {
  width: 100%;
  border-collapse:  collapse;
  margin: 0 0 30px;
  min-width: 600px;
}
.privacy-policy-ft.use-content .content-table th,.content-table td {
  border: solid 1px #dcdcdc;
  padding: 10px;
}
.privacy-policy-ft.use-content .content-table th {
  width: 50%;
  font-weight: normal;
  background-color: #f9f9f9;
  text-align: left;
}

/* 新規会員登録 */
#MainContent .customer.register {
  max-width: calc(600px + 3rem);
  .register_form {
    .register_form_nav {
      display: flex;
      .tab {
        cursor: pointer;
        width: 50%;
        color: #ddd;
        border-bottom: 2px solid #ddd;
        font-size: 1.5rem;
        padding: 16px 0;
      }
      .tab.active {
        color: #000;
        border-bottom: 2px solid #0081cc;
      }
    }
    .register_form_content {
      display: none;
      margin-top: 20px;
      form {
        margin-top: 0;
      }
      .cf-fields-container {
        .cf-field-container {
          .cf-field {
            label {}
            label::after {
              color: #FE62BD;
            }
            input,
            select {
              background: #F7F8F9;
              border: none;
              box-shadow: none;
            }
          }
        }
      }
      .cf-form-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        .cf-submit-form {
          order: 1;
          width: calc((270 / 375)* 100vw);
          max-width: 450px;
          margin: 0 auto;
          border-radius: 6px;
          font-size: 1.2rem;
          line-height: 44px;
        }
        .cf-cancel {
          order: 2;
          width: calc((270 / 375)* 100vw);
          max-width: 450px;
          margin: 0 auto;
          border-radius: 6px;
          font-size: 1.2rem;
          line-height: 44px;
          color: #0081cc;
          background-color: #fff;
          border: 1px solid #0081cc;
        }
        .cf-reset-password {
          display: none !important;
          order: 3;
          a {
            margin: 0;
          }
        }
        button:hover::after {
          box-shadow: none !important;
        }
      }
    }
    .register_form_content.active {
      display: block;
    }
  }
}
.cf-field-description a,
.cf-reset-password a {
  color: #0081cc;
}
@media only screen and (min-width: 750px) {
#MainContent .customer.register {
  .register_form {
    .register_form_nav {
      .tab {
        font-size: 1.5rem;
      }
    }
    .register_form_content {
      .cf-fields-container {
        .cf-field-container {
          .cf-field {
            input,
            select {
              height: 5rem;
            }
          }
        }
      }
      .cf-form-actions {
        .cf-submit-form {
          font-size: 1.5rem;
          line-height: 50px;
        }
        .cf-cancel {
          font-size: 1.5rem;
          line-height: 50px;
        }
      }
    }
  }
}
}

/* 社員用会員登録 */
#MainContent #create_customer {
  max-width: calc(600px + 3rem);
  .cf-fields-container {
    margin: 0;
    width: auto;
    .cf-field-container {
      .cf-field {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        label {}
        label::after {
          color: #FE62BD;
        }
        input,
        select {
          background: #F7F8F9;
          border: none;
          box-shadow: none;
        }
      }
    }
  }
  .cf-form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    .cf-submit-form {
      order: 1;
      width: calc((270 / 375)* 100vw);
      max-width: 450px;
      margin: 0 auto;
      border-radius: 6px;
      font-size: 1.2rem;
      line-height: 44px;
    }
    .cf-cancel {
      order: 2;
      width: calc((270 / 375)* 100vw);
      max-width: 450px;
      margin: 0 auto;
      border-radius: 6px;
      font-size: 1.2rem;
      line-height: 44px;
      color: #0081cc;
      background-color: #fff;
      border: 1px solid #0081cc;
    }
    .cf-reset-password {
      order: 3;
      a {
        margin: 0;
      }
    }
    button:hover::after {
      box-shadow: none !important;
    }
  }
}
@media only screen and (min-width: 750px) {
  #MainContent #create_customer {
    .cf-fields-container {
      .cf-field-container {
        .cf-field {
          input,
          select {
            height: 5rem;
          }
        }
      }
    }
    .cf-form-actions {
      .cf-submit-form {
        font-size: 1.5rem;
        line-height: 50px;
      }
      .cf-cancel {
        font-size: 1.5rem;
        line-height: 50px;
      }
    }
  }
}

/* 会員情報編集 */
#MainContent .cf-form-section.customer {
  max-width: calc(600px + 3rem);
  width: auto;
  margin-top: 2rem !important;
  #cf-edit-account-back-link {
    display: none;
  }
  .cf-fields-container {
    margin: 0;
    width: auto;
    .cf-field-container {
      .cf-field {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        label {}
        label::after {
          color: #FE62BD;
        }
        input,
        select {
          background: #F7F8F9;
          border: none;
          box-shadow: none;
          height: 5rem;
        }
      }
    }
  }
  .cf-form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    .cf-submit-form {
      order: 1;
      width: calc((270 / 375)* 100vw);
      max-width: 450px;
      margin: 0 auto;
      border-radius: 6px;
      font-size: 1.2rem;
      line-height: 44px;
    }
    .cf-cancel {
      order: 2;
      width: calc((270 / 375)* 100vw);
      max-width: 450px;
      margin: 0 auto;
      border-radius: 6px;
      font-size: 1.2rem;
      line-height: 44px;
      color: #0081cc;
      background-color: #fff;
      border: 1px solid #0081cc;
    }
    .cf-reset-password {
      order: 3;
      a {
        margin: 0;
      }
    }
    button:hover::after {
      box-shadow: none !important;
    }
  }
}
@media only screen and (min-width: 750px) {
  #MainContent #create_customer {
    .cf-fields-container {
      .cf-field-container {
        .cf-field {
          input,
          select {
            height: 5rem;
          }
        }
      }
    }
    .cf-form-actions {
      .cf-submit-form {
        font-size: 1.5rem;
        line-height: 50px;
      }
      .cf-cancel {
        font-size: 1.5rem;
        line-height: 50px;
      }
    }
  }
}

/* ログイン・アカウント有効化・配送先・パスワードリセット */
#MainContent {
  .customer.login ,
  .customer.activate,
  .customer.addresses,
  .customer.reset-password {
    max-width: calc(600px + 3rem);
    .field {
      flex-direction: column;
      align-items: flex-start;
      input {
        order: 2;
        background: #F7F8F9;
        height: auto;
        padding: 1.2rem 1.5rem !important;
      }
      input:focus {
        box-shadow: none;
      }
      input:focus~label,
      input:not(:placeholder-shown)~label {
        font-size: 1.5rem !important;
        letter-spacing: .1rem;
      }
      label {
        position: static;
        font-size: 1.2rem;
      }
      label[for] {
        font-size: 1.2rem;
      }
    }
    .field::after {
      box-shadow: none;
    }
    .field + a {
      color: #0081cc;
    }
    #AddressProvinceContainerNew {
      margin: 2rem 0 0;
      label[for=AddressProvinceNew] {
        font-size: 1.2rem;
      }
    }
    input[type=checkbox] + label {
      font-size: 1.2rem;
    }
    button {
      width: calc((270 / 375)* 100vw);
      max-width: 450px;
      margin: 0 auto;
      border-radius: 6px;
      font-size: 1.2rem;
      line-height: 44px;
      color: #0081cc;
      border: 1px solid #0081cc;
      background: #fff;
      margin-top: 48px;
    }
    button + a,
    button + button {
      width: calc((270 / 375)* 100vw);
      max-width: 450px;
      margin: 0 auto;
      border-radius: 6px;
      font-size: 1.2rem;
      line-height: 44px;
      color: #0081cc;
      border: 1px solid #0081cc;
      background: #fff;
      text-decoration: none;
      margin-top: 16px;
    }
    button::after {
      box-shadow: none !important;
    }
  } 
}
#MainContent {
  .customer.login {
    button {
      color: #fff;
      border: 1px solid #0081cc;
      background: #0081cc;
    }
    button + a,
    button + button {
      color: #0081cc;
      border: 1px solid #0081cc;
      background: #fff;
    }
  }
  .customer.activate {
    .field + button {
      color: #fff;
      border: 1px solid #0081cc;
      background: #0081cc;
    }
  }
  .customer.addresses {
    div[data-address] {
      button {
        color: #fff;
        border: 1px solid #0081cc;
        background: #0081cc;
      }
      button + button {
        color: #0081cc;
        border: 1px solid #0081cc;
        background: #fff;
      }
    }
    h1 + a {
      color: #0081cc;
    }
    .address_button {
      margin-top: 20px;
      display: flex;
      gap: 20px;
      button {
        margin: 0;
      }
    }
    .select::after {
      display: none;
    }
    select {
      background: #F7F8F9;
    }
    select + .svg-wrapper {
      right: 10px;
    }
    li[data-address] > button {
      width: 40%;
      margin-top: 20px;
    }
    input[required] + label::after,
    input[required] + div + label::after,
    #AddressProvinceContainerNew label::after,
    .AddressProvinceContainer label::after {
      content: " *";
      color: #FE62BD;
    }
  }
}
@media only screen and (max-width: 749px) {
  #MainContent {
    .customer.login ,
    .customer.activate,
    .customer.addresses,
    .customer.reset-password {
      .address_button {
        flex-direction: column;
        align-items: center;
      }
    }
  }
}
@media only screen and (min-width: 750px) {
  #MainContent {
    .customer.login ,
    .customer.activate,
    .customer.addresses,
    .customer.reset-password {
      button {
        font-size: 1.5rem !important;
        line-height: 50px;
      }
      button + a,
      button + button {
        font-size: 1.5rem !important;
        line-height: 50px;
      }
      label {
        position: static;
        font-size: 1.5rem !important;
      }
      input[type=checkbox] + label {
        font-size: 1.5rem !important;
      }
    }
  }
}

/* マイページ */
#MainContent {
  .customer.account,
  .customer.addresses,
  .customer.order {
    a {
      color: #0081cc;
    }
  }
}

/* 404 */
.template-404 {
  a.button {
    width: calc((270 / 375)* 100vw);
    max-width: 450px;
    margin: 0 auto;
    border-radius: 6px;
    font-size: 14px;
    line-height: 44px;
    background: #0081cc;
  }
  a.button::after {
    box-shadow: none !important;
  }
}
@media only screen and (min-width: 750px) {
  .template-404 {
    a.button {
      font-size: 1.5rem;
      line-height: 50px;
    }
  }
}

/* cart */
/* 送料無料 */
.section_free_shipping {
  background: #F7F8F9;
  padding: 16px;
  margin-bottom: 20px;
  p {
    text-align: center;
    font-size: 1.2rem;
    line-height: 14.4px;
    margin: 0;
  }
}
@media only screen and (min-width: 750px) {}

/* クーポンコード・配送関連 */
.saso-use-discount-code-cart-container {
  display: flex;
  gap: 4px;
  .saso-use-discount-code-cart-code {
    width: 100% !important;
  }
}
.totals {
  justify-content: flex-end !important;
  align-items: center !important;
  .totals__total {
    margin-top: 0 !important;
    margin-right: 2rem;
  }
  .saw-extra-note {}
  .saw-cart-original-total {
    .totals__total-value {
      .tax {}
    }
  }
  .saw-cart-total {
    margin-top: 0 !important;
  }
}
.totals > * + * {
  margin-left: 0 !important;
}
@media screen and (max-width: 749px) {
  .cart-item__totals {
    align-items: center !important;
  }
}
/* 配送指定 */
.cc-calendar-input-overall .cc-selection,
.slot-body .cc-selection,
.cc-calendar-input-overall .cc-calendar-input {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
}
.cc-calendar-input-overall .cc-time-options,
.slot-body .cc-time-options,
.cc-calendar-input-overall .cc-calendar-input input {
  padding-left: 3rem !important;
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
}
/* カート内数量設定 */
.cart-item {
  .cart-quantity {
    border: 1px solid #D6CED6;
    border-radius: 6px;
  }
  .cart-quantity::before,
  .cart-quantity::after {
    display: none;
  }
}
.cart__footer {
  button {
    border-radius: 6px;
    font-size: 1.2rem;
    line-height: 44px;
    background: #0081cc;
    color: #fff;
  }
  button::before,
  button::after {
    display: none;
  }
  input,
  select {
    border: none !important;
    background: #F7F8F9 !important;
    padding: 1.2rem 1.5rem !important;
  }
  input:focus-visible,
  select:focus-visible {
    outline: none;
    box-shadow: none;
  }
}

/* cart drawer */
.cart-notification {
  #cart-notification-button {
    border: 1px solid #0081cc;
    color: #0081cc;
  }
  #cart-notification-button::before,
  #cart-notification-button::after {
    display: none;
  }
  #cart-notification-form {}
  #cart-notification-form + button {
    color: #0081cc;
  }
}

