.chroma-how-to-use-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
}

.chroma-how-to-use-container section {
  margin-bottom: 62px;
}

.chroma-how-to-use-container p {
  font-size: 14px;
}

.chroma-how-to-use-step-button {
  display: flex;
  height: 25px;
  color: #343b41;
}

.chroma-how-to-use-container h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 28px;
}

.main-title {
  font-family: 'Times New Roman', serif;
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 8px;
}

.sub-title {
  color: #8898a3;
  font-size: 14px;
}

.intro-box {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 42px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.step-content {
  flex: 1;
  order: 2;
}

.step-content h3 {
  color: #73828e;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}

.step-image {
  width: 488px;
  height: 305px;
  order: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #000;
}

/* PC用の画像 (768px以上) */
.color-chart .steps .step:nth-child(1) .step-image {
  background-image: url('/static/images/v1258_18488.png');
}

.color-chart .steps .step:nth-child(2) .step-image {
  background-image: url('/static/images/v1258_18496.png');
}

.color-chart .steps .step:nth-child(3) .step-image {
  background-image: url('/static/images/v1258_18505.png');
}

.color-chart .steps .step:nth-child(4) .step-image {
  background-image: url('/static/images/v1258_18508.png');
}

.color-chart .steps .step:nth-child(5) .step-image {
  background-image: url('/static/images/v1258_18511.png');
}

.color-chart .steps .step:nth-child(6) .step-image {
  background-image: url('/static/images/v1258_18514.png');
}

.image-upload .steps .step:nth-child(1) .step-image {
  background-image: url('/static/images/v1258_18553.png');
}

.image-upload .steps .step:nth-child(2) .step-image {
  background-image: url('/static/images/v1258_18550.png');
}

.image-upload .steps .step:nth-child(3) .step-image {
  background-image: url('/static/images/v1258_18517.png');
}

.image-upload .steps .step:nth-child(4) .step-image {
  background-image: url('/static/images/v1258_18547.png');
}

.image-upload .steps .step:nth-child(5) .step-image {
  background-image: url('/static/images/v1258_18544.png');
}

.image-upload .steps .step:nth-child(6) .step-image {
  background-image: url('/static/images/v1258_18541.png');
}

/* SP用のレイアウトと画像 (768px未満) */
@media (max-width: 767px) {
  .step {
    flex-direction: column;
    align-items: center;
  }

  .step-content {
    width: 100%;
    order: 1;
    margin-bottom: 16px;
  }

  .step-image {
    width: 200px;
    height: 400px;
    order: 2;
    margin: 0 auto;
    border: none;
  }

  /* SP用の画像設定 */
  .color-chart .steps .step:nth-child(1) .step-image {
    background-image: url('/static/images/v1258_18340.png');
  }

  .color-chart .steps .step:nth-child(2) .step-image {
    background-image: url('/static/images/v1258_18343.png');
  }

  .color-chart .steps .step:nth-child(3) .step-image {
    background-image: url('/static/images/v1258_18346.png');
  }

  .color-chart .steps .step:nth-child(4) .step-image {
    background-image: url('/static/images/v1258_18349.png');
  }

  .color-chart .steps .step:nth-child(5) .step-image {
    background-image: url('/static/images/v1258_18352.png');
  }

  .color-chart .steps .step:nth-child(6) .step-image {
    background-image: url('/static/images/v1258_18358.png');
  }

  .image-upload .steps .step:nth-child(1) .step-image {
    background-image: url('/static/images/v1258_18362.png');
  }

  .image-upload .steps .step:nth-child(2) .step-image {
    background-image: url('/static/images/v1258_18366.png');
  }

  .image-upload .steps .step:nth-child(3) .step-image {
    background-image: url('/static/images/v1258_18369.png');
  }

  .image-upload .steps .step:nth-child(4) .step-image {
    background-image: url('/static/images/v1167_17864.png');
  }

  .image-upload .steps .step:nth-child(5) .step-image {
    background-image: url('/static/images/v1167_17867.png');
  }

  .image-upload .steps .step:nth-child(6) .step-image {
    background-image: url('/static/images/v1167_17870.png');
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 20px;
  }

  h2 {
    font-size: 16px;
  }
}
