.downloadList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0;
  text-align:center;
}
  


.downloadList li {
  list-style: none;
  border: 1px solid #857164;
    background: rgba(16,12,9,0.8);

  padding: 20px;
  box-sizing: border-box;
}

.downloadList li dl {
  display: block;
  gap: 20px;
  align-items: center;
}

.downloadList li dl dt img {
  width: 128px;
  height: 128px;
  border-radius: 17px;
}

.downloadList li dl dd.tit {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.downloadList li dl dd.txt01,
.downloadList li dl dd.txt02 {
  font-size: 14px;
  color: #ccc;
  text-align: center;
  display: block; 
  margin-top: 4px;
}


.downloadList li dl dd.btn {
  margin-top: 10px;
}

.downloadList li dl dd.btn a {
  display: inline-block;
  width: 100%;
  max-width: 250px;
  height: 50px;
  line-height: 50px;
 background-color: #857164;
    color: #fff;
  text-align: center;
  border-radius: 30px;
  font-size: 16px;
  text-decoration: none;
  padding: 0 20px 0px 20px;
font-weight:bold;
}

.downloadList li dl dd.btn a:hover {
  background: #dcdcf7;  
   transition-duration: 0.8s;
}
  
  .downloadList p {
    font-weight:bold;
    font-size:24px; color:#fff;
    margin-top:10px;
  }

 .button-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    justify-items: center;
    margin-top: 20px;
  }

  .bt {
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    color: #666666;
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 30px;
    text-align: center;
    width: 100%;
        background: #eaeaea;
  }

  .bt:hover {
    background: linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
  }

  .bt:active {
    position: relative;
    top: 1px;
  }

  .bt-copy {
    font-size: 18px;
    padding: 10px 25px;
    margin-left: 40px;
    margin-top: 2px;
    margin-bottom:20px;
  }

.custom-tab-container {
  display: block;
  margin-top: 20px;
}

.custom-tabs {
  position: sticky;
  top: var(--tabs-top);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  padding: 8px 10px;
  background: linear-gradient(135deg, rgba(16,12,9,.9), rgba(25,22,18,.9));
  border-right: none;
  border-bottom: 2px solid rgba(255,215,150,.3);
}

.custom-tab {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 10px 14px;
  background: rgba(0,0,0,.1);
  color: #d4b17a;
  border: 1px solid #857164;
  border-bottom: none;
  cursor: pointer;
  transition: background .3s, color .3s, box-shadow .3s, border-color .3s;
}

.custom-tab:hover {
  background: rgba(65,55,40,.9);
  color: #ffdd99;
}

.custom-tab.active {
  background: #28221e;
  color: #fff;
  font-weight: 700;
  border-color: #a4866d;
  box-shadow: 0 2px 0 0 #28221e, inset 0 -3px 0 0 #a4866d;
}

.custom-content-container {
  padding-left: 0;
  padding-top: 16px;
  width: 100%;
  min-width: 0;
  flex-grow: 1;
}

.custom-content { 
  display: none; 
  text-align: left; 
  width: 100%; 
  min-height: 200px; 
}

.custom-content.active { 
  display: block; 
}

@media (max-width: 768px) {
  :root { --tabs-top: 68px; }
  .custom-tab { font-size: 14px; padding: 10px 12px; }
}

@media (max-width: 768px) { 
  .custom-tab-container {
    flex-direction: column; 
    align-items: center;
  }
  .custom-tabs {
    width: 100%; 
    border-right: none;
    border-bottom: 2px solid #8d8d8d;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-height: none;
    overflow-y: visible;
  }
  .custom-tab {
    width: auto;
    flex: 1; 
    text-align: center;
    margin-bottom: 0;
    font-size:14px;
  }
  .custom-content-container {
    padding-left: 0;
    padding-top: 10px;
    width: 100%;
  }
}

.custom-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
}
.custom-tabs:active { cursor: grabbing; }

.custom-tabs {
  scrollbar-width: thin;
  scrollbar-color: #eaeaea rgba(255,255,255,0.08);
}

.custom-tabs::-webkit-scrollbar { height: 10px; }
.custom-tabs::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
}
.custom-tabs::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #a4866d, #d4b17a);
  border-radius: 10px;
}
.custom-tabs::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #b89372, #e6c58a);
}

.custom-tabs.is-dragging { user-select: none; }

.custom-tabs { touch-action: pan-x; }

.custom-tabs.dragging * { pointer-events: none; }

.custom-tabs.is-dragging { user-select: none; }


  .nbX7a {
  position: fixed;
  top: 74px; 
  width: 100%;
  background-color: rgba(0,0,0,.5);
  color: #ccc;
  text-align: center;
  padding: 10px 0;
  font-size: 18px;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.5s ease;
}

@media (max-width: 768px) {
  .nbX7a {
    top: 68px;
  }
}

.nbX7a_text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  background-color: transparent;
}

.nbX7a.hide {
  opacity: 0;
  pointer-events: none;
}