/**
 * 「初めてのマイホーム、〜」フェーズ資料セクション
 * BEM: reno-section-first-myhome
 */
.reno-section-first-myhome {
  position: relative;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

@media (min-width: 768px) {
  .reno-section-first-myhome {
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
  }
}

.reno-section-first-myhome__inner {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .reno-section-first-myhome__inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}

.reno-section-first-myhome__heading {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  justify-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .reno-section-first-myhome__heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
}

.reno-section-first-myhome__heading-badge {
  text-align: center;
  background-color: #38538d;
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-weight: 900;
}

.reno-section-first-myhome__lead {
  margin: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
}

.reno-section-first-myhome__lead-mark {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(to top, #fffc76 0 5px, transparent 5px);
}

@media (min-width: 768px) {
  .reno-section-first-myhome__hide-br-md {
    display: none;
  }
}

.reno-section-first-myhome__phases {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 3.75rem;
}

@media (min-width: 768px) {
  .reno-section-first-myhome__phase {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

.reno-section-first-myhome__phase-head {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .reno-section-first-myhome__phase-head {
    padding-bottom: 2.25rem;
  }
}

.reno-section-first-myhome__phase-badge {
  width: fit-content;
  border-radius: 9999px;
  background-color: #e37940;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
}

.reno-section-first-myhome__phase-title {
  margin: 0;
  font-weight: 900;
  font-size: 1.25rem;
  color: #3f3f3f;
}

@media (min-width: 768px) {
  .reno-section-first-myhome__phase-title {
    font-size: 2rem;
  }
}

.reno-section-first-myhome__phase-hr {
  margin: 0;
  border: 0;
  border-top-width: 2px;
  border-top-style: dashed;
  border-color: #e37940;
}

.reno-section-first-myhome__swiper {
  width: 100%;
}

.reno-section-first-myhome__card {
  height: auto;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  background-color: #fff;
  border-radius: 0.25rem;
  overflow: hidden;
  padding-top: 0.5rem;
}

.reno-section-first-myhome__card-cover {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  background: linear-gradient(to bottom, transparent 50%, #dbdfe7 50%);
}

.reno-section-first-myhome__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reno-section-first-myhome__card-img--max-411 {
  max-height: 411px;
}

.reno-section-first-myhome__card-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 0.75rem 0.5rem;
  background-color: #dbdfe7;
}

@media (min-width: 768px) {
  .reno-section-first-myhome__card-title--md-28 {
    font-size: 28px;
  }

  .reno-section-first-myhome__card-title--md-pb-10 {
    padding-bottom: 2.5rem;
  }

  .reno-section-first-myhome__card-title--md-pb-20 {
    padding-bottom: 5rem;
  }
}

.reno-section-first-myhome__card-label {
  display: block;
  width: 100%;
  min-width: 0;
  color: #38538d;
  font-weight: 900;
}

.reno-section-first-myhome__card-subl {
  font-size: 0.875rem;
}

.reno-section-first-myhome__card-text {
  margin: 0;
  height: 100%;
  font-weight: 500;
  font-size: 1rem;
  color: #3f3f3f;
  padding: 0 0.75rem 0.5rem;
  background-color: #dbdfe7;
}

@media (min-width: 768px) {
  .reno-section-first-myhome__card-text--md-pb-10 {
    padding-bottom: 2.5rem;
  }

  .reno-section-first-myhome__card-text--md-pb-20 {
    padding-bottom: 5rem;
  }
}

.reno-section-first-myhome__pc-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .reno-section-first-myhome__pc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.reno-section-first-myhome__nav-row--sp {
  display: flex;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.reno-section-first-myhome__nav-row--phase2 {
  display: flex;
  margin-top: 1.5rem;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .reno-section-first-myhome__nav-row--phase2 {
    justify-content: center;
    gap: 5rem;
  }
}

.reno-section-first-myhome__nav-pair {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .reno-section-first-myhome__nav-pair--phase2 {
    display: contents;
  }
}

.reno-section-first-myhome__nav-btn {
  display: grid;
  cursor: pointer;
  color: #fff;
  height: 3.5rem;
  width: 3.5rem;
  place-items: center;
  background-color: #3b3f45;
  border: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .reno-section-first-myhome__nav-btn--order-1 {
    order: 1;
  }

  .reno-section-first-myhome__nav-btn--order-3 {
    order: 3;
  }
}

.reno-section-first-myhome__nav-icon--prev {
  display: block;
  height: 1rem;
  width: 0.75rem;
  background-color: #fff;
  clip-path: polygon(100% 0, 84% 0, 0 50%, 84% 100%, 100% 100%, 18% 50%);
}

.reno-section-first-myhome__nav-icon--next {
  display: block;
  height: 1rem;
  width: 0.75rem;
  background-color: #fff;
  clip-path: polygon(0 0, 16% 0, 100% 50%, 16% 100%, 0 100%, 82% 50%);
}

.reno-section-first-myhome__pagination.before-after-pagination {
  cursor: pointer;
  margin-left: auto !important;
  display: flex !important;
  width: auto !important;
  justify-content: flex-end !important;
  --swiper-pagination-color: #38538d;
  --swiper-pagination-bullet-inactive-color: #c9c9c9;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-size: 10px;
}

@media (min-width: 1024px) {
  .reno-section-first-myhome__pagination--phase2.before-after-pagination {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
    order: 2;
  }
}

.reno-section-first-myhome__cta-wrap {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  justify-items: center;
  gap: 0.5rem;
  padding-top: 2.5rem;
  color: #fff;
}

.reno-section-first-myhome__cta {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 9999px;
  border: 3px solid #fff;
  background: linear-gradient(to bottom, #f97b37 20%, #ad4d19 100%);
  padding: 1rem 2.5rem 1rem 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 8px 0 #ccc;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.reno-section-first-myhome__cta::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  height: 8px;
  width: 8px;
  transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg) translateZ(0);
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (min-width: 768px) {
  .reno-section-first-myhome__cta {
    width: 402px;
  }
}
