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

@media screen and (min-width: 768px) {
.ec-headerNaviRole {
    align-items: center;
    padding-top: 5px;
}
.ec-pageHeader h1, .ec-pageHeader .h1 {
    border-bottom: none;
    text-align: center;
}
.ec-headerNaviRole,
.ec-headerRole,
.ec-layoutRole .ec-layoutRole__contents,
  .ec-searchnavRole,
  .ec-searchnavRole .ec-searchnavRole__infos{
max-width: 100%;
}

.ec-headerNaviRole {
    padding-bottom: 10px;
    margin-bottom: 40px;
    /*border-bottom: 1px solid rgba(82, 82, 99, 0.14);*/
}

  .ec-layoutRole .ec-layoutRole__left{
    width: 20%;
  }
  .nk-specList__cell:nth-of-type(2) {
    text-align: center;
  }
  .nk-specList__cell:nth-of-type(3) {
    text-align: center;
  }
  .nk-specList__cell:nth-of-type(4) {
    text-align: right;
  }
  .nk-specList__cell:nth-of-type(5) {
    text-align: right;
  }
  .nk-specList__cell:nth-of-type(6) {
    text-align: center;
  }
  .ec-itemNav__nav li {
    float: none;
  }
  .ec-itemNav__nav li a {
    text-align:left;
    font-size: 90%;
    font-weight: normal;
  }
  ul.ec-itemNav__nav {
  border: 2px solid #f8f8f8;
  }
  .ec-itemNav__nav li.title_header {
  background: #f8f8f8;
  padding: 10px;
  font-weight: bold;
  font-size: 90%;
  }
  .ec-itemNav__nav li.top-category {
  }
   .ec-itemNav__nav li.top-category a{
    display: flex;
    align-items: center;
    padding: 10px 0px 10px 10px;
    font-size: 85%;
   }
   .ec-itemNav__nav li.top-category img {
   width: 40px;
   }
   .ec-itemNav__nav li.top-category span {
   padding: 8px 0 8px 8px;
  min-width: 0;
  width: 100%;
   }
   ul.ec-itemNav__nav > li > ul > li > ul {
    width:500px;
   }
   .ec-itemNav__nav > li > ul {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  .ec-itemNav__nav > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
    .ec-itemNav__nav li ul {
        width: 100%;
    }
    .ec-itemNav__nav li ul li a {
     width: 100%;
     font-size: 80%;
    font-weight: normal;
    }
   .ec-topicpath {
    padding: 0px 0 10px;
   }
   .ec-calendarNaviRole {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 50px;
   }
   .ec-calendar {
     margin-left: 0px;
    justify-content: center;
   }
   .ec-calendar__month {
     margin-left: 0px;
     margin-bottom: 20px;
   }
     .ec-newsRole {
    padding: 0px 0 0;
    }
    .ec-categoryRole{
        margin-top: 80px;
    }
      .ec-borderedDefs dd {
    line-height: 1.5;
  }
  .ec-searchnavRole .ec-searchnavRole__infos {
    border-top: none;
  }
  .ec-calendar__month th, .ec-calendar__month td {
    font-size: 90%;
  }

}
a,
.ec-topicpath .ec-topicpath__item a,
.ec-topicpath .ec-topicpath__item--active a,
.ec-productRole .ec-productRole__category a {
    color: #0066cc;
}
a:hover,
.ec-topicpath .ec-topicpath__item a:hover,
.ec-topicpath .ec-topicpath__item--active a:hover,
.ec-productRole .ec-productRole__category a:hover{
    color: #2e91f4;
    text-decoration: underline;
}
.ec-footerRole {
border-top: 1px solid #2f3138;
  background: #2f3138;
}

.ec-headerNaviRole .ec-headerNaviRole__left h1 {
margin:0;
padding-left: 10px;
}
.ec-headerNaviRole .ec-headerNaviRole__left h1 a img {
height: 60px;
  width: auto;
}
.ec-cartNaviIsset__container {
  max-height: 50vh;
  overflow: scroll;
}
.nk-specFilter {
    margin: 0 0 24px;
    padding: 16px;
    background: #f8f8f8;
}

.nk-specFilter__form {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

.nk-specFilter__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nk-specFilter__group label {
    font-weight: 600;
}

.nk-specFilter__group select {
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ccc;
    background: #fff;
}

.nk-specFilter__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nk-specList {
    margin-bottom: 24px;
}

.nk-specList__head {
    display: grid;
    grid-template-columns: 2.5fr 1fr 0.5fr 0.5fr 1fr 1fr 0.5fr;
    gap: 12px;
    padding: 20px 12px 10px;
    border-bottom: 2px solid #525263;
    font-weight: 700;
    text-align:center;
    position: sticky;
  top: 0;
  background-color: #FFF;
}

.nk-specList__rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nk-specList__row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 0.5fr 0.5fr 1fr 1fr 0.5fr;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    align-items: center;
}
.nk-specList__row:hover {
    background-color: #fafafa;
}

.nk-specList__cell {
    font-size: 14px;
    line-height: 1.6;
}

.nk-specList__cell--name a {
    font-weight: 600;
}

.nk-specList__cell--detail .ec-inlineBtn--action {
    min-width: 84px;
    text-align: center;
}

.nk-specList__label {
    display: none;
    color: #666;
    font-size: 12px;
    margin-bottom: 4px;
}

.nk-priceTaxNote {
    font-size: 80%;
    font-weight: 400;
}

.nk-priceMain {
    color: #DE5D50;
    font-weight: 700;
    font-size: 120%;
}

.nk-priceMain__yen {
    font-size: 80%;
}

.nk-priceMain--empty {
    color: #666;
}

.nk-unitPrice {
    font-size: 90%;
    white-space: nowrap;
}

.nk-unitPrice__yen {
    font-size: 80%;
}

.nk-unitPrice--empty {
    color: #666;
}

.nk-categoryInfo {
    margin: 20px 0 50px;
    background: #fff;
}

.nk-categoryInfo__header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
}

.nk-categoryInfo__title {
    margin: 0;
    font-size: 25px;
    line-height: 1.4;
    font-weight: 600;
}

.nk-categoryInfo__rohs {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #888;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.2;
}
.rohs_1 {
  border-color: #556b2f;
  background-color: #556b2f;
  color: #fff8c6;
}
.rohs_2 {
  border-color: #9a9a9a;
  background-color: #9a9a9a;
  color: #fffbe8;
}

.nk-categoryInfo__content {
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 90%;
}

.nk-categoryInfo__images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nk-categoryInfo__thumb {
    width: auto;
    padding: 0;
    border: 1px solid #fff;
    background: #fff;
    cursor: zoom-in !important;
}

.nk-categoryInfo__thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.nk-categoryModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
}

.nk-categoryModal.is-open {
    display: block;
}

.nk-categoryModal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.nk-categoryModal__dialog {
    position: relative;
    max-width: 840px;
    margin: 30px auto;
    background: #fff;
    padding: 14px;
}

.nk-categoryModal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.nk-categoryModal__main {
    padding: 10px 0;
    text-align: center;
}

.nk-categoryModal__mainImage {
    max-width: 100%;
    max-height: 70vh;
}

.nk-categoryModal__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nk-categoryModal__thumb {
    width: 88px;
    padding: 0;
    border: 2px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.nk-categoryModal__thumb.is-active {
    border-color: #555;
}

.nk-categoryModal__thumb img {
    display: block;
    width: 100%;
    height: 64px;
    object-fit: cover;
}
   .ec-categoryRole__list2 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    }

    .ec-categoryRole__list2Item {
    width: 100%;
    opacity: 1;
    }
    .ec-categoryRole__list2Item:hover {
        opacity: 0.8;
    }
    .ec-categoryRole__list2Item img {
    width: 100%;
    height: auto;
    display: block;
    }
    .ec-categoryRole__list2Item a p {
    color: #2e3233;
  margin-top: 10px;
  font-weight: bold;
  font-size: 90%;
    }

@media screen and (max-width: 767px) {
    .ec-layoutRole__header {
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    .ec-headerNaviRole {
        padding: 10px 20px;
    }
    .ec-headerNaviRole .ec-headerNaviRole__left {
        width: 40%;
        padding-left: 30px;
    }
    .ec-headerNaviRole .ec-headerNaviRole__left h1 {
        padding: 0;
    }
    .ec-headerNaviRole .ec-headerNaviRole__left h1 a img {
        height: 37px;
        width: auto;
    }
    .ec-layoutRole__contents {
        margin-top: 20px;
    }
    .ec-pageHeader h1, .ec-pageHeader .h1 {
        border: none;
        text-align: center;
    }
    .ec-topicpath {
        border-top: none;
    }
    .ec-label {
        font-size: 0.8rem;
    }

    .ec-borderedDefs dd {
        line-height: 1.6;
    }
    .ec-eyecatchRole {
        margin-bottom: 0px;
    }
    .ec-eyecatchRole .ec-eyecatchRole__introTitle {
        font-size: 1.1rem;
    }
    .ec-eyecatchRole .ec-eyecatchRole__introDescription {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .ec-newsRole {
        margin-bottom: 40px;
    }
    .nk-categoryInfo {
        padding: 12px;
    }

    .nk-categoryInfo__title {
        font-size: 20px;
    }

    .nk-categoryModal__dialog {
        margin: 16px;
        padding: 12px;
    }

    .nk-categoryModal__thumb {
        width: 72px;
    }

    .nk-categoryModal__thumb img {
        height: 54px;
    }

    .nk-specFilter__form {
        grid-template-columns: 1fr;
    }

    .nk-specFilter__actions {
        justify-content: flex-end;
    }

    .nk-specList__head {
        display: none;
    }

    .nk-specList__row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 12px;
    }

    .nk-specList__label {
        display: block;
    }
    .ec-categoryRole__list2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nk-categoryInfo__thumb {
    width:30%;
  }
  .nk-specList__cell {
    display: grid;
    grid-template-columns: 0.7fr 2fr;
  }
  .ec-drawerRole .ec-headerSearch {
    display:none;
  }
  .ec-drawerRole .ec-headerCategoryArea .ec-headerCategoryArea__heading {
    background-color: #000;
    color: #FFF;
  }
  .ec-footerRole {
    margin-top: 100px;
  }
  .ec-footerTitle .ec-footerTitle__logo a {
    font-size: 1rem;
  }
}
