@charset "UTF-8";
/* 共通下層h1 (p-sub-fv) */
.p-sub-fv {
  background-image: url('../img/fv_step_bg.webp');
}

/* ステップリスト (step-list) */
.step-list__item {
  background-color: #ffffff;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 80px;
}

.step-list__item:not(:last-child) {
  margin: 0 auto 80px;
}

.step-list__row {
  display: flex;
  gap: 20px;
}

.step-list__row .step-list__figure {
  width: 25%;
}

.step-list__row .step-list__text {
  width: 75%;
}

.step-list__number {
  text-align: center;
  font-size: 40px;
  color: #ff849c;
}

.step-list__title {
  margin: 40px auto 20px;
  color: #ff849c;
  font-size: 28px;
}

.step-point {
  margin: 40px auto 60px;
}

.step-point__example-wrapper {
  display: flex;
  gap: 40px;
}

/* 注意事項・インフォ (step-info) */
.step-info__content {
  padding: 80px 60px;
}

.step-info__content:first-child {
  position: relative;
}

.step-info__content:first-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-bottom: 1px solid #ccc;
}

.step-info__list {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
  gap: 30px;
  border: 1px solid #ccc;
  padding: 30px 20px;
  border-radius: 15px;
  background-color: #ffffff;
}

.step-info__list-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-info__list-img {
  flex-shrink: 0;
}

.step-info__list-img img {
  height: auto;
  display: block;
}

.step-info__heading {
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.step-info__heading h2 {
  color: #11447A;
}

.step-info__heading figure {
  flex-shrink: 0;
  width: 10%;
}

.step-info__heading figure img {
  height: auto;
  display: block;
}

.step-info-promise {
  background-color: #FFF7EC;
}

/* ==========================================================================
  お約束 (p-promise)
   ========================================================================== */

/* セクション全体の親要素 */
.p-promise {
  overflow: visible !important;
}

.p-promise__bg {
  position: relative;
  padding: 120px 0;
  background-image: url('../img/promise_bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.p-promise__inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start; 
  position: relative;
}

.p-promise h2,
.p-promise .c-section-title__en,
.p-promise__message-card h3,
.p-promise__message-card h4,
.p-promise__message-card p,
.p-promise__message-card span:not(.u-text--accent):not(.c-label) {
  color: #ffffff !important;
}

.p-promise__left {
  flex: 0 0 200px;
  position: -webkit-sticky;
  position: sticky;
  top: 100px; 
  z-index: 10;
  height: auto;
  align-self: flex-start;
}

.p-promise__right {
  flex: 1;
}

.p-promise__message-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.p-promise__intro {
  margin-bottom: 40px;
}

.p-promise__info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 50px 0;
  list-style: none;
  padding: 0;
}

.p-promise__info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.p-promise__info-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-promise__info-icon img {
  width: 100%;
  height: auto;
}

.p-promise__info-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

.p-promise__info-text {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.7;
}

.p-promise__footer-text {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 40px;
  margin-top: 20px;
}

@media screen and (max-width: 1100px) {
  .p-promise__info-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .p-promise__bg {
    padding: 60px 0;
    background-position: left center;
  }
  .p-promise__inner {
    display: block;
  }
  .p-promise__left {
    position: static;
  }
  .p-promise__message-card {
    padding: 30px 20px;
    border-radius: 16px;
  }
  .p-promise__info-item {
    padding: 20px;
    gap: 15px;
  }
  .p-promise__info-icon {
    flex: 0 0 50px;
    width: 50px;
  }
}

@media screen and (max-width: 768px) {
  /* ステップ SP */
  .step-list__item {
    padding: 30px 30px 50px;
  }
  .step-list__row {
    flex-direction: column;
  }
  .step-list__row .step-list__text {
    width: 100%;
  }
  .step-list__row .step-list__figure {
    width: 58%;
    margin: 0 auto;
  }
  .step-list__title {
    margin-top: 0;
    text-align: left;
    font-size: 22px;
  }
  .step-point {
    margin: 20px auto;
  }

  /* インフォ SP (2カラム化) */
  .step-info__content {
    padding: 60px 0;
  }
  .step-info__heading {
    flex-direction: column;
    text-align: center;
  }
  .step-info__list-item {
    gap: 15px;
  }
  .step-point__example-wrapper {
    gap: 20px;
  }
  .step-point__text {
    font-size: 12px;
  }
  .step-info-promise {
    padding: 40px 20px;
  }
  .step-info__list {
    gap: 20px;
  }
  .step-info__list-text {
    font-size: 12px;
  }
}
