/* カスタマイズ用CSS */

/* カテゴリナビ: 子カテゴリが横並びになる不具合の修正 */
@media only screen and (min-width: 768px) {
  .ec-categoryNaviRole .ec-itemNav__nav > li {
    float: left !important;
    width: auto !important;
  }

  .ec-categoryNaviRole .ec-itemNav__nav li ul {
    display: block !important;
  }

  .ec-categoryNaviRole .ec-itemNav__nav li ul li,
  .ec-categoryNaviRole .ec-itemNav__nav li ul li ul li {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ec-categoryNaviRole .ec-itemNav__nav li ul li a,
  .ec-categoryNaviRole .ec-itemNav__nav li ul li ul li a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ec-categoryNaviRole .ec-itemNav__nav > li:hover > ul > li,
  .ec-categoryNaviRole .ec-itemNav__nav li ul li:hover > ul > li {
    overflow: visible !important;
    height: auto !important;
    width: 100% !important;
  }
}

/* パスワード表示切替 */
.ec-passwordInput {
  position: relative;
  width: 100%;
}

.ec-passwordInput__field,
.ec-passwordInput input {
  width: 100%;
  padding-right: 2.5rem;
  box-sizing: border-box;
}

.ec-passwordInput__toggle {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #525263;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin: 0;
}

.ec-passwordInput__toggle i {
  display: block;
  line-height: 1;
}

.ec-passwordInput__toggle:hover {
  color: #DE5D50;
}

/* ご注文者（請求先）の案内文 */
.ec-orderAccount__notice {
  margin: 0 0 1rem;
  font-size: 14px;
  color: #525263;
  line-height: 1.6;
}

/* ご注文手続き：お届け先変更ボタンエリア */
.ec-orderDelivery__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dotted #ccc;
}

.ec-orderDelivery__edit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ec-orderDelivery__footer--shipping {
  margin-top: 2rem;
  text-align: center;
}

/* お届け先複数指定：ボタン横並び */
.ec-AddAddress__rowActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ec-AddAddress__rowActions .ec-inlineBtn {
  flex: 1 1 auto;
  min-width: 200px;
  text-align: center;
}
