@charset "UTF-8";
small {
  font-size: 0.7em;
}

.gold {
  color: #b89c3b;
}

#quality_P .note {
  max-width: 1200px;
}

#quality_P{
  color: #38383a;
}

#quality_P .under_content{
  padding-top: 0;
}


.quality_MV{
  position: relative;
}

.quality_MV .mv-ttl{
  position: absolute;
  font-size: 30px;
  letter-spacing: 0.15em;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: inline-block;
  color: #fff;
}

.mv-ttl p::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: -8px;
  width: 70%;
  height: 1px;
  background: #fff;

  transform: scaleX(0);
  transform-origin: left;
}

.mv-ttl p.aos-animate::after {
  animation: lineIn 0.5s ease forwards;
  animation-delay: 0.5s;
}

@keyframes lineIn {
  to {
    transform: scaleX(1);
  }
}

.tab {
  margin-top: 80px;
}

.tab_flex {
  gap: 1%;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.tab_flex li {
  width: calc(96% / 5);
}

.tab_flex li a {
  display: block;
  color: #5c6164;
  text-align: center;
  border: 1px solid #5c6164;
  background: #fff;
  padding: 13px 0;
  font-size: clamp(10px, 1.08vw, 13px);
  letter-spacing: 0.02em;
}

.tab_flex li a span{
  font-size: 80%;
}


.tab_flex li a:hover {
  color: #fff;
  background: #5c6164;
}

.tab_flex li a:hover::before {
  border-top: 7px solid #fff;
}

.tab_flex li.here a {
  color: #fff;
  background: #5c6164;
}

.tab_flex li.here a::before {
  border-top: 7px solid #fff;
}


.pagettl_area{
  display: flex;
align-items: center;
justify-content: center;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 0;
  position: relative;
}

.pagettl_area div {
  margin-right: 50px;
}

.pagettl_area .pagettl{
  width: auto;
  height: 58px;
  display: block;
}

.pagettl_area .pagettl_en{
  width: auto;
  height: 22px;
  margin-top: 15px;
  display: block;
}

.pagettl_area h3{
  letter-spacing: 0.06em;
  line-height: 1.4;
  font-size: 24px;
  text-align: right;
  font-weight: 400;
}

.flex_area{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


.column2 {
  gap: 3%;
  row-gap: 60px;
}

.column2 li {
  width: 48.5%;
}

.column3 {
  gap: 3%;
  row-gap: 60px;
}

.column3 li {
  width: 31.3333333333%;
}

.column3 .flex_item--wide{
  width:65.66666666666% ;
}

.column4 {
  gap: 3%;
  row-gap: 60px;
}

.column4 li {
  width: 22.75%;
}

.column4 .flex_item--wide{
  width:48.5% ;
}



.item_ttl {
  font-size: 18px;
  margin-top: 13px;
  border-bottom: 1px solid #815715;
  padding-bottom: 13px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #815715;
}

.text-top .item_ttl{
  margin-top: 0;
}

.item_ttl.mini {
  font-size: 16px;
  letter-spacing: 0;
  position: relative;
  top: -4px;
}


.item_txt {
  font-size: 14px;
  margin-top: 13px;
  text-align: justify;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.item_txt .num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #00253d;
  min-width: 20px;
  min-height: 20px;
  color: #fff;
  margin-right: 5px;
}

.numtext {
  display: flex;
  align-items: flex-start;
}

.numtext:nth-of-type(n+2) {
  margin-top: 8px;
}



.item_note{
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.mt-60{
  margin-top: 60px;
}

.mt-80{
  margin-top: 80px;
}

.mb-100{
  margin-bottom: 100px;
}

.pc_only {
  display: block;
}

.text-nowrap{
  white-space: nowrap;
}

.note-mark {
  vertical-align: super;
  font-size: 0.7em;
}
/*---------------------------
tab
---------------------------*/
@media only screen and (max-width: 1024px) {

  .quality_MV p{
  font-size:24px;
}

  .pc_only {
    display: none;
  }

   .tab_flex {
    row-gap: 10px;
  }

  .tab_flex li {
    width: 49.5%;
  }

  .tab_flex li:last-child{
    width: 100%;
  }

  .tab_flex li a {
    font-size: 14px;
    letter-spacing: 0;
    padding-top: 12px;
  }

  

  .tab_flex li a::before {
    right: 4px;
  }

.pagettl_area .pagettl{
  height: 65px;
}

.pagettl_area .pagettl_en{
  height: 18px;
  margin-top: 15px;
}

.pagettl_area h3{
  font-size: 18px;
}
}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 768px) {

.quality_MV p{
  font-size:18px;
}


  .tab {
    margin-top: 50px;
  }

  .tab_flex {
    row-gap: 10px;
  }


  .pagettl_area{
    flex-wrap: wrap;
  padding: 50px 0 ;
}

.pagettl_area div {
  width: 100%;
  text-align: center;
  margin-right: 0;
}

.pagettl_area .pagettl{
  height: 45px;
  margin: 0 auto;
}

.pagettl_area .pagettl_en{
  height: 16px;
    margin: 15px auto 0;
}

.pagettl_area h3{
  font-size: 20px;
  text-align: center;
  margin-top: 15px;
}

.column4 .flex_item--wide{
  width:100%;
}

  .lead {
    padding: 50px 0 0 0;
  }

  .column2 {
    gap: 0;
    row-gap: 40px;
  }

  .column2 li {
    width: 100%;
  }

  .column3 {
    gap: 0;
    row-gap: 40px;
  }

  .column3 li {
    width: 100%;
  }

  .column3 .flex_item--wide {
    width: 100%;
}

  .column4 {
    gap: 0;
    row-gap: 40px;
  }

  .column4 li {
    width: 100%;
  }

  .mt-60{
  margin-top: 40px;
}

.mt-80{
  margin-top: 50px;
}

.mb-100{
  margin-bottom: 80px;
}


}