/* =========================
FABRIC NOTES
========================= */

.fabric-notes {
  /* background: #f6f3ee; */
  padding: 48px 0 !important;
  margin-top: 56px !important;
}

.fabric-notes-head {
  text-align: center;
  margin-bottom: 32px;
}

.fabric-subtitle {
  font-size: 18px !important;
  letter-spacing: 0.35em;
  color: #b79b72;
  /* margin-bottom: 20px; */
}

.fabric-notes-head h2 {
  font-size: 32px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  color: #2f2a26 !important;
  margin-bottom: 32px !important;
  border-bottom: none !important;
  padding: 24px !important;
}

.fabric-lead {
  font-size: 16px;
  line-height: 2.2;
  color: #333333;
}

.fabric-grid {
  max-width: px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.0fr 1fr;
  gap: 16px;
  padding: 0px 28px;
  margin-bottom: 24px;
}

.fabric-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fabric-top-grid {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  /* gap: 20px; */
}

/* カード */

.fabric-card {
  position: relative;
  overflow: hidden;
  /* background: #ece7df; */
  min-height: 300px;
  min-width: 250px;
}

.fabric-large {
  min-height: 86px;
  min-width: 300px;
}

.fabric-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ラベル */

.fabric-label {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 1px solid #d8c4a0;
  color: #c7a979;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.7);
}

/* 下グラデ */

.fabric-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 7px 28px;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0));
  color: #fff;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  box-sizing: border-box;
}

.fabric-bottom h3 {
  margin: 0;
  font-size: 18px !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: none !important;
  color: white !important;
}

.fabric-bottom span {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #d7b98f;
  line-height: 1.6;
  text-align: right;
}

/* 説明 */

.fabric-text-box {
  /* background: #ece7df; */
  padding: 50px;
  box-sizing: border-box;
  min-height: 240px;
}

.fabric-text-sub {
  font-size: 18px;
  letter-spacing: 0.25em;
  color: #c2a57b;
  margin-bottom: 16px;
}

.fabric-text {
  line-height: 2.2 !important;
  color: #333333;
  margin-bottom: 28px;
  text-align: center;
}

.fabric-tag {
  display: inline-block;
  border: 1px solid #b7c1b5;
  color: #7d8c7d;
  font-size: 12px;
  padding: 6px 12px;
}

.nep_detail {
  background: #192e59;
  color: #FFFFFF !important;
  padding: 13px 34px;
  font-size: 16px;
  letter-spacing: .08em;
  border: 1px solid #192e59;
  width: 330px;
  margin: 0 auto;
  border-radius: 28px;
  display: inline-block;
  text-decoration: none;
  transition: .25s;

}

.nep_detail:hover {
  background: #666666;
  border-color: #666666;
  color: white;
  transform: translateY(-1px);
  /* box-shadow: 0 4px 12px rgba(141, 110, 99, 0.3); */
  text-decoration: none;
  opacity: 1;
}


/* =========================
SP
========================= */

@media screen and (max-width: 768px) {

  .fabric-notes {
    padding: 70px 20px;
    margin-top: 64px !important;
  }

  .fabric-subtitle {
    margin-bottom: 16px;
  }

  .fabric-notes-head {
    margin-bottom: 50px;
  }

  .fabric-notes-head h2 {
    font-size: 24px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
  }

  .fabric-lead {
    font-size: 16px !important;
    line-height: 2;
    margin-bottom: 24px !important;
    text-align: left;
    margin: 1em 1em;
  }

  .fabric-grid {
    grid-template-columns: 1fr;
    padding: 0 !important;
  }

  .fabric-top-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fabric-large {
    min-height: 520px;
  }

  .fabric-card {
    min-height: 360px;
    margin: 0 16px;
  }

  .fabric-bottom {
    padding: 8px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
  }

  .fabric-bottom h3 {
    font-size: 22px;
  }

  .fabric-bottom span {
    text-align: left;
    font-size: 11px;
  }

  .fabric-text-box {
    padding: 32px 24px;
    min-height: auto;
    margin: 0 16px;
  }

  .fabric-text {
    font-size: 16px;
    line-height: 2;
    text-align: left;
  }

  .nep_detail{
    width: 240px;
  }

}