.page-guide-step1 .site-main {
  background: #f5f5f5;
}

.page-guide-step1 .guide-accent-orange {
  --guide-step-color: var(--color-primary);
  --guide-step-border: #f4bf8b;
}

.page-guide-step1 .guide-accent-red {
  --guide-step-color: var(--guide-red);
  --guide-step-border: #e96e75;
}

.page-guide-step1 .guide-accent-blue {
  --guide-step-color: #3458b7;
  --guide-step-border: #4168c9;
}

.page-guide-step1 .guide-accent-green {
  --guide-step-color: #3f9b50;
  --guide-step-border: var(--guide-green);
}

.page-guide-step1 .guide-hero {
  padding: 78px 24px 145px;
  overflow: hidden;
  background: none;
}

.guide-step-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.guide-step-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-guide-step1 .guide-hero::after {
  right: 0;
  left: 0;
  height: 110px;
  border-radius: 0;
  background: url("../../img/guide/curve_pc.svg") center bottom / 100% 100% no-repeat;
}

.page-guide-step1 .guide-step-label {
  margin-bottom: 18px;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.page-guide-step1 .guide-step-label::after {
  content: "";
  display: block;
  width: 160px;
  margin: 18px auto 0;
  border-top: 1px dashed currentColor;
}

.page-guide-step1 .guide-hero__title {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 2;
}

.page-guide-step1 .guide-hero__title--hidden {
  display: none;
}

.page-guide-step1 .guide-section {
  padding-top: 0;
  background: #f5f5f5;
}

.page-guide-step1 .guide-section__inner {
  width: min(980px, 100%);
}

.page-guide-step1 .guide-category-label {
  margin-bottom: 28px;
  line-height: 0;
}

.page-guide-step1 .guide-category-label img {
  display: block;
  width: min(180px, 100%);
  height: auto;
  margin: 0 auto;
}

.page-guide-step1 .guide-category-title {
  width: min(430px, 100%);
  margin: 0 auto;
  line-height: 0;
}

.page-guide-step1 .guide-category-title img {
  display: block;
  width: 100%;
  height: auto;
}

.page-guide-step1 .guide-illustration {
  width: min(430px, 100%);
  height: auto;
  margin: 22px auto 28px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.page-guide-step1 .guide-text {
  color: #676767;
  font-size: 16px;
  line-height: 2;
}

.guide-step1-divider {
  width: 100%;
  margin: 54px 0;
  border: 0;
  border-top: 1px dashed #aaa;
}

.page-guide-step1 .guide-check-note {
  display: block;
  width: min(595px, 100%);
  margin: 0 auto 34px;
  line-height: 0;
}

.page-guide-step1 .guide-check-note img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-check-list {
  display: grid;
  gap: 20px;
  width: min(620px, 100%);
  margin: 0 auto;
}

.guide-check {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 20px 28px;
  border: 2px solid var(--guide-step-border, #f4bf8b);
  border-radius: 30px;
  background: #fff;
  box-shadow:
    20px 20px 30px rgba(0, 0, 0, 0.1),
    -20px -20px 20px rgba(255, 255, 255, 0.3);
  color: #676767;
  font-weight: 700;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-base), opacity var(--transition-base), transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.guide-check:has(input:checked),
.guide-check.is-checked {
  border-color: var(--guide-step-color, var(--color-primary));
  color: #fff;
  background: var(--guide-step-color, var(--color-primary));
}

.page-guide-step1 .guide-accent-red .guide-check:has(input:checked),
.page-guide-step1 .guide-accent-red .guide-check.is-checked,
.page-guide-step1 .guide-accent-blue .guide-check:has(input:checked),
.page-guide-step1 .guide-accent-blue .guide-check.is-checked,
.page-guide-step1 .guide-accent-green .guide-check:has(input:checked),
.page-guide-step1 .guide-accent-green .guide-check.is-checked {
  border-color: var(--guide-step-color);
  background: var(--guide-step-color);
}

.guide-check input {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0;
  appearance: none;
  border: 2px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
}

.guide-check input::before {
  content: "";
  width: 14px;
  height: 9px;
  border-bottom: 4px solid var(--guide-step-color, var(--color-primary));
  border-left: 4px solid var(--guide-step-color, var(--color-primary));
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.guide-check input:checked {
  border-color: var(--guide-step-color, var(--color-primary));
  background: var(--guide-step-color, var(--color-primary));
}

.guide-check input:checked::before {
  opacity: 1;
  border-color: #fff;
}

.page-guide-step1 .guide-count {
  margin: 46px auto 42px;
  background: #f1f0f0;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.04);
}

.page-guide-step1 .guide-count > span::before {
  content: "";
  position: absolute;
  top: .5em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--guide-step-color, var(--color-primary));
}

.page-guide-step1 .guide-count > span {
  position: relative;
  display: block;
  padding-left: 16px;
}

.page-guide-step1 .guide-step1-result {
  margin-bottom: 42px;
}

.page-guide-step1 .guide-count strong {
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
}

.page-guide-step1 .guide-count [data-guide-count] {
  font-size: 50px;
  font-weight: 600;
}

.page-guide-step1 .guide-button {
  font-size: 15px;
  letter-spacing: 1px;
}

.page-guide-step1 .guide-button--summary {
  font-size: 18px;
  letter-spacing: 1px;
}

.page-guide-step1 .guide-button__num {
  font-size: 17px;
}

@media (max-width: 767px) {
  .page-guide-step1 .guide-hero {
    padding: 42px 24px 86px;
  }

  .page-guide-step1 .guide-hero::after {
    height: 50px;
    background-image: url("../../img/guide/curve.svg");
  }

  .page-guide-step1 .guide-step-label {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .page-guide-step1 .guide-step-label::after {
    width: 118px;
    margin-top: 14px;
  }

  .page-guide-step1 .guide-hero__title {
    font-size: 20px;
    line-height: 2;
  }

  .page-guide-step1 .guide-section {
    padding: 0 24px 80px;
  }

  .page-guide-step1 .guide-section__inner {
    width: min(920px, 100%);
  }

  .page-guide-step1 .guide-category-label {
    margin-bottom: 24px;
  }

  .page-guide-step1 .guide-category-label img {
    width: min(180px, 100%);
  }

  .page-guide-step1 .guide-category-title {
    width: min(323px, 100%);
  }

  .page-guide-step1 .guide-illustration {
    width: min(318px, 100%);
    margin: 20px auto 28px;
  }

  .page-guide-step1 .guide-text {
    font-size: 14px;
    line-height: 2.2;
  }

  .guide-step1-divider {
    margin: 44px 0;
  }

  .page-guide-step1 .guide-check-note {
    width: min(323px, 100%);
    margin: 44px auto 28px;
  }

  .guide-check-list {
    gap: 16px;
    width: min(620px, 100%);
  }

  .guide-check {
    grid-template-columns: 28px 1fr;
    gap: 14px;
    min-height: 78px;
    padding: 20px 18px;
    font-size: 14px;
  }

  .guide-check input {
    width: 24px;
    height: 24px;
  }

  .guide-check input::before {
    width: 12px;
    height: 8px;
    border-bottom-width: 3px;
    border-left-width: 3px;
  }

  .page-guide-step1 .guide-count {
    gap: 12px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-guide-step1 .guide-count > span {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .guide-check:hover {
    transform: translateY(-2px);
  }

  .page-guide-step1 .guide-hero {
    padding: 78px 24px 170px;
  }

  .page-guide-step1 .guide-section {
    padding-bottom: 120px;
  }

  .page-guide-step1 .guide-category-label {
    margin-bottom: 34px;
  }

  .page-guide-step1 .guide-category-title {
    width: min(340px, 100%);
  }

  .page-guide-step1 .guide-illustration {
    width: min(230px, 100%);
    margin: 26px auto 34px;
  }

  .page-guide-step1 .guide-text {
    width: min(720px, 100%);
    font-size: 15px;
    line-height: 2.2;
  }

  .guide-step1-divider {
    margin: 62px auto 54px;
  }

  .page-guide-step1 .guide-check-note {
    width: min(600px, 100%);
    margin-bottom: 42px;
  }

  .guide-check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 30px;
    width: min(900px, 100%);
  }

  .guide-check {
    grid-template-columns: 28px 1fr;
    gap: 16px;
    min-height: 86px;
    padding: 20px 24px;
    font-size: 14px;
  }

  .guide-check input {
    width: 24px;
    height: 24px;
  }

  .guide-check input::before {
    width: 12px;
    height: 8px;
    border-bottom-width: 3px;
    border-left-width: 3px;
  }

  .page-guide-step1 .guide-count {
    width: min(390px, 100%);
    margin: 62px auto 46px;
    padding: 24px 24px;
  }

  .page-guide-step1 .guide-step1-result {
    width: min(740px, 100%);
    margin-bottom: 54px;
  }
}
