/* カスタマイズ用CSS */
body,input,select,textarea,
.ec-itemNav__nav li a,
.form-control,
.ec-newsRole .ec-newsRole__newsTitle,
.ec-role,
.ec-mypageRole,
.ec-navlistRole .ec-navlistRole__item a,
.ec-welcomeMsg,
.ec-inlineBtn,
.text-muted,
.ec-productRole,
.ec-contactRole,
.ec-orderRole,
.ec-headerNaviRole,
.ec-withdrawRole,
.ec-cartRole,
.page_polylumber_page .item-list-sp .item-code {
  color: #000 !important;
}

@media screen and (min-width: 768px) {
  .ec-itemNav__nav li ul li a {
    color: #fff !important;
  }
}

.ec-blockBtn--primary,
.ec-blockBtn--action,
.ec-blockBtn--cancel {
  color: #fff !important;
  font-size: 18px !important;
}

.ec-cartNavi--cancel {
  font-size: 18px !important;
  color: #000 !important;
}

.ec-blockBtn--small {
  font-size: 16px !important;
  line-height: 44px;
  height: 44px;
  margin: 0 auto 0 100%;
}

.flex-wrap {
  flex-wrap: wrap;
}

.ec-orderDelivery__item .ec-imageGrid__content {
  padding: 10px 0;
}

.ec-orderDelivery__item .ec-imageGrid__content p + p {
  margin-left: 1em;
}

.polylumber_select > div {
  width: 100%;
}

.ec-blockBtn--polylumber {
    background-color: #009953;
    border: 0;
    border-radius: 22px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    height: 44px;
    line-height: 44px;
    text-decoration: none;
    white-space: nowrap;
    min-width: 240px;
    letter-spacing: -.5px;
    text-align: center;
}

.ec-blockBtn--polylumber span {
    margin: 0 4px 0 7px;
}

.ec-blockBtn--polylumber:hover {
    background: #00713E;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.btn-pl2 {
    background: linear-gradient(to top, #008247, #009953);
    border-radius: 11px;
    border: 4px solid #00713E;
    box-shadow: inset 0px 0px 0px 2px #009953;
    justify-content: space-between;
    text-shadow: 0 0 0.05em #00713E, 0 0 0.10em #00713E, 0 0 0.15em #00713E, 0 0 0.30em #00713E;
}

.btn-pl2:hover {
    background: linear-gradient(to top, #00713E, #00713E);
    box-shadow: none;
}

.btn-pl2::before {
    content: "";
    display: block;
    width: 10px;
}

.btn-pl3 {
    border-bottom: 5px solid #00713E;
    justify-content: space-between;
}

.btn-pl3:hover {
    border: 0;
}

.ec-blockBtn--polylumber + .ec-blockBtn--polylumber {
    margin-top: 10px;
}

.remark {
    width: 100%;
    border: 0 !important;
    padding-top: 0 !important;
}

.ec-polylumberCart_note {
    color: #f00;
    margin: 0 0 20px;
    padding: 15px;
    border: 2px solid #f00;
    font-weight: 700;
    position: relative;
}

.ec-polylumberCart_note::before{
    font-family: "Font Awesome 5 Free";
    color: #f00;
    position: absolute;
}

@media screen and (max-width: 767px) {
    .ec-off4Grid:has(.ec-polylumberCart_note) {
        display: flex;
        flex-direction: column-reverse;
    }

    .ec-polylumberCart_note::before{
        content: '\f063';
        top: 98%;
        left: calc(50% - 8px);
    }
}

@media screen and (min-width: 768px) {
    .ec-polylumberCart_note {
        margin: 0 0 0 20px;
        padding: 20px;
    }

    .ec-polylumberCart_note::before{
        content: '\f060';
        top: 20px;
        left: -16px;
    }
}

.ec-headerSearch .ec-headerSearch__category .ec-select select {
  color: #fff !important;
  padding: 8px 24px 8px 15px !important;
}

@media screen and (max-width: 767px) {
  .ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search::before {
    top: 1em;
    right: .8em;
  }
}

.ec-headerSearch .ec-headerSearch__keyword input[type="search"] {
  padding: 0 0 0 7px;
  max-width: none;
  text-align: left;
  width: calc(100% - 40px);
}

@media screen and (min-width: 768px) {
  .ec-headerNaviRole .ec-headerNaviRole__left {
    width: 100% !important;
  }

  .ec-headerNaviRole__search {
    width: 350px;
  }
  .ec-headerSearch .ec-headerSearch__keyword .ec-input {
    width: 100%;
  }

  .d-md-flex {
    display: flex;
    align-items: center;
  }

  .ps-md-35 {
    padding-left: 35px !important;
  }
}

.ec-smallBtn--cancel {
  padding: 13px 15px;
  color: #fff;
  background: #525263;
  text-align: center;
  border: 0;
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
}

.ec-smallBtn--cancel:hover {
  text-decoration: none;
  background: #3b3b47;
}

.ec-orderDelivery .ec-imageGrid {
  display: flex;
  align-items: center;
}

.ec-orderDelivery .ec-imageGrid .ec-imageGrid__no {
  width: 2em;
  text-align: center;
}
