@charset "UTF-8";

.flex { display: flex; }

.sec-Head {
  text-align: center;
  margin: 150px auto;
}
.sec-Head .ttl-Box {
  margin: 0 0 40px;
}
.sec-Head .ttl-Box h2 {
  display: inline-block;
  background: linear-gradient(0deg, #998770 0%, #e4cbac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Cinzel', serif;
  /*font-size: min(4.64vw, 58px);*/
  font-size: clamp(34px, 4.14vw, 58px);
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.sec-Head .catch-Copy {
  margin: 0 0 40px;
}
.sec-Head .catch-Copy p {
  font-size: clamp(20px, 1.71vw, 24px);
  line-height: 2;
}
.sec-Head .lead-Copy p {
  font-size: clamp(14px, 1.14vw, 16px);
  line-height: 2.8125;
}

.qua-tab-Wrap {}
.qua-tab-Wrap ul {
  justify-content: center;
  gap: 25px;
  margin: 0 0 60px;
}
.tab-item {
  display: block;
  text-align: center;
  background: #d8d5ce;
  color: #000;
  font-size: clamp(14px, 1.14vw, 16px);
  width: 220px;
  padding: 1.375em 1em;
  cursor: pointer;
  transition: .2s;
  position: relative;
}
.tab-item:hover,
.tab-item.is-active {
  background: #b49a83;
  color: #fff;
}
.tab-item::after {
  content: "";
  display: block;
  width: 12px;
  height: 10px;
  background: #b49a83;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition-duration: .4s;
  opacity: 0;
}
.tab-item:hover::after,
.tab-item.is-active::after {
  bottom: -10px;
  opacity: 1;
}


.qua-contents-Wrap {
  background: url(../img/quality/bg.jpg) repeat-y top center / 100% auto;
  padding: 100px 0;
}
.qua-box {
  position: relative;
  padding: 0 0 70px;
  margin: 0 0 70px;
}
.qua-box::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #B49A83;
  background: linear-gradient(90deg, rgba(180, 154, 131, 1) 0%, rgba(231, 214, 172, 1) 50%, rgba(180, 154, 131, 1) 100%);
  position: absolute;
  left: 0;
  bottom: 0;
}

.tab_contents .qua-box:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}
.tab_contents .qua-box:last-of-type::after {
  content: none;
}

.subttl-Box {
  margin: 0 0 50px;
  text-align: center;
}
.subttl-Box h3 {
  display: inline-block;
  background: linear-gradient(0deg, #998770 0%, #e4cbac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Cinzel', serif;
  font-size: clamp(30px, 2.57vw, 36px);
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.qua-list {
  flex-wrap: wrap;
  gap: 30px 40px;
}
.qua-list-item {
  width: calc((100% - 120px) / 4);
}
.qua-list-item.wide {
  width: calc((100% - 30px) / 2);
}
.qua-list-item figure {}
.qua-list-item h4 {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  margin-top: 1.2em;
}
.qua-list-item p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 1.3em;
}
.qua-list-item p.notes {
  font-size: 12px;
  margin-top: .8em;
}

/*---------------------------
PC・TABのみ
---------------------------*/
@media only screen and (min-width: 769px) and (max-width: 1024px) {}

/*---------------------------
Tab
---------------------------*/
@media screen and (max-width: 1024px) {}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 768px) {


  .sec-Head {
    margin: 50px auto 40px;
  }
  .sec-Head .ttl-Box {
    margin: 0 0 25px;
  }
  .sec-Head .catch-Copy {
    margin: 0 0 40px;
  }
  .sec-Head .catch-Copy p {
    font-size: clamp(20px, 1.71vw, 24px);
  }
  .sec-Head .lead-Copy p {
    font-size: clamp(14px, 1.14vw, 16px);
    line-height: 2;
  }

  .qua-tab-Wrap ul {
    gap: 5px;
    margin: 0 0 35px;
  }
  .tab-item {
    font-size: clamp(15px, 1.14vw, 16px);
    width: calc((100% - 10px) / 2);
    padding: 1.5em 0.5em;
  }
  .tab-item:hover,
  .tab-item.is-active {
    background: #b49a83;
    color: #fff;
  }
  .tab-item::after {
    width: 10px;
    height: 8px;
  }
  .tab-item:hover::after,
  .tab-item.is-active::after {
    bottom: -8px;
  }

  .qua-contents-Wrap {
    padding: 50px 0;
  }
  .qua-box {
    padding: 0 0 40px;
    margin: 0 0 40px;
  }

  .subttl-Box {
    margin: 0 0 30px;
  }
  .qua-list {
    flex-wrap: wrap;
    gap: 30px 20px;
  }
  .qua-list-item {
    width: calc((100% - 20px) / 2);
  }
  .qua-list-item.wide {
    width: 100%;
  }
  .qua-list-item h4 {
    font-size: 15px;
    margin-top: 1.0em;
  }
  .qua-list-item p {
    font-size: 13px;
    margin-top: 1.1em;
  }
  .qua-list-item p.notes {
    font-size: 10px;
  }


}
