@charset "utf-8";
/* CSS Document */

/* ----------------------------------------
  段差について
  slug: step
---------------------------------------- */

.page-main--step {
  background: #0d0d0d;
}

.step-page {
  background: #0d0d0d;
  color: #fff;
  padding: 180px 20px 130px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
}

.step-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.step-header {
  text-align: center;
  margin-bottom: 90px;
}

.step-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.18em;
}

.step-room {
  margin-bottom: 120px;
}

.step-room:last-child {
  margin-bottom: 0;
}

.step-room h2 {
  margin: 0 0 70px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.16em;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 70px 110px;
  align-items: start;
}

.step-grid figure {
  margin: 0;
  text-align: center;
}

.step-grid img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 230px;
  margin: 0 auto 16px;
  object-fit: cover;
}

.step-grid figcaption {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.step-grid--last {
  grid-template-columns: repeat(4, 1fr);
}

.step-character-area {
  margin-top: -170px;
	max-width: 1000px;
  text-align: right;
}


/* ----------------------------------------
  SP
---------------------------------------- */

@media (max-width: 768px) {
  .step-page {
    padding: 120px 20px 90px;
  }

  .step-header {
    margin-bottom: 60px;
  }

  .step-header h1 {
    font-size: 26px;
    letter-spacing: 0.14em;
  }

  .step-room {
    margin-bottom: 80px;
  }

  .step-room h2 {
    margin-bottom: 40px;
    font-size: 18px;
  }

  .step-grid,
  .step-grid--last {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 28px;
  }

  .step-grid img {
    max-width: 130px;
    height: 200px;
    margin-bottom: 12px;
  }

  .step-grid figcaption {
    font-size: 12px;
    line-height: 1.6;
  }

  .step-character-area {
    margin-top: 50px;
    text-align: center;
  }
}