.color-chart {
  margin-top: 3em;
  padding: 2.95em 0 3.29em;
  background: #f1f1f1;
}
.title-style1 {
  position: relative;
  text-align: center;
  font-size: 2.5em;
  line-height: 1.625em;
  font-weight: 600;
  color: #013780;
}
.title-style1:before {
  content: "";
  position: absolute;
  display: inline-block;
  bottom: -0.28em;
  left: 50%;
  transform: translateX(-50%);
  width: 1.9em;
  height: 0.125em;
  background: #d73231;
}
.title-style1:after {
  content: "";
  position: absolute;
  display: inline-block;
  bottom: -0.28em;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0.475em;
  width: 0.95em;
  height: 0.125em;
  background: #e79e1a;
  z-index: 2;
}
.color-grid {
  padding: 4.7em 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.1875em, 1fr));
  gap: 2.5em 1.0625em;
  justify-content: center;
  align-items: start;
}
.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.color-info .color-code {
  margin-top: 0.55em;
  font-size: 1.375em;
  line-height: 1.2em;

  font-weight: 600;
  color: #00579b;
}
.color-info span {
  display: block;
  font-size: 1em;
  line-height: 1.375em;
  letter-spacing: 0.0125em;
  color: #2a2a2a;
}
@media (max-width: 980px) {
  .color-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 5vw 2vw;
  }
  .color-item img {
    width: 100%;
  }
  .color-info .color-code {
    font-size: 1em;
  }
  .color-info span {
    font-size: 0.7em;
    line-height: 1.3em;
  }
}

.color-choose {
  padding: 3.6em 0 3.4em;
}
.color-choose .sub_title {
  margin-top: 1.35em;
}
.color-choose .sub_title.style2 {
  margin-top: 0.6em;
  font-size: 1.1em;
}
.color-choose .sub_title.style2 .red {
  display: inline;
  color: red;
}

.sacm-button.sacm-button-full {
  display: none;
}
.sacm-pebbles {
  display: flex;
}

.sample-img {
  padding-bottom: 153px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.9375em 2.0625em;
}
.sample-item img {
  width: 100%;
}
.sample-item-content {
  padding: 0.938em 0.9em 0.75em;
  text-align: left;
  border: 1px solid #b4b4b4;
}
.sample-item-content h3 {
  margin-bottom: 11px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}
.sample-item-content p {
  gap: 13px;
  color: #323131;
}
.sample-item-content p span {
  display: inline-block;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.sample-item-content .name {
  margin-right: 13px;
}

.result-box {
  margin: 0 auto;
  width: 500px;
  max-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.result-box.show {
  opacity: 1;
}
#mixCanvas {
  display: none;
  margin: 0 auto;
  margin-top: 1rem;
  max-width: 100%;
}
.mix-info-display {
  padding: 3rem 0;
  text-align: left;
}
.result-box .text-box {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #000;
}
.result-box .text-box .circle {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #ef4444;
  border-radius: 9999px;
  margin-right: 0.5rem;
}
.result-box .text-box h3 {
  font-size: 1.555555555555556rem;
  font-weight: 600;
  color: #474747;
}
.result-box .selected-color {
  color: #474747;
  margin-bottom: 0.55rem;
  font-size: 1.111111111111111rem;
  font-weight: 500;
}

.message-box {
  padding: 0.75rem 1rem;
  margin-bottom: 3rem;
  text-align: center;
  display: none;
}
.message-box.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}
.message-box.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #34d399;
}
@media screen and (max-width: 960px) {
  .sample-img {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media screen and (max-width: 540px) {
  .result-box .text-box {
    margin-bottom: 3vw;
    padding-bottom: 1.5vw;
  }
  .result-box .text-box .circle {
    width: 2vw;
    height: 2vw;
    margin-right: 1.3vw;
  }
  .result-box .text-box h3 {
    font-size: 4.5vw;
  }
  .result-box .selected-color {
    margin-bottom: 1vw;
    font-size: 3vw;
  }
}
@media screen and (max-width: 480px) {
  .sample-item-content {
    padding: 10px 8px;
  }
  .sample-item-content h3 {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 20px;
  }
  .sample-item-content p span {
    font-size: 9px;
    line-height: 15px;
  }
  .sample-item-content .name {
    margin-right: 6px;
  }
}
