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

.page-guide-summary .guide-accent-orange {
  --guide-summary-color: var(--color-primary);
}

.page-guide-summary .guide-accent-red {
  --guide-summary-color: var(--guide-red);
}

.page-guide-summary .guide-accent-blue {
  --guide-summary-color: #3458b7;
}

.page-guide-summary .guide-accent-green {
  --guide-summary-color: #3f9b50;
}

.page-guide-summary .guide-hero {
  padding: 72px 24px 170px;
  overflow: hidden;
  background: none;
}

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

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

.page-guide-summary .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-summary .guide-step-label {
  margin-bottom: 18px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

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

.page-guide-summary .guide-hero__title {
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.9;
}

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

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

.page-guide-summary .guide-section > .guide-section__inner > .guide-text {
  width: min(560px, 100%);
  margin-bottom: 46px;
  color: #676767;
  font-size: 16px;
  line-height: 2.3;
}

.guide-summary-list {
  display: grid;
  gap: 48px;
  margin: 0;
}

.guide-summary-card {
  padding: 40px 32px 42px;
  border-radius: 28px;
  background: #f5f5f5;
  box-shadow:
    20px 20px 30px rgba(0, 0, 0, 0.1),
    -20px -20px 20px rgba(255, 255, 255, 0.3);
  text-align: center;
}

.guide-summary-card__head,
.guide-summary-card__image,
.guide-summary-card__action {
  min-width: 0;
}

.guide-summary-card .guide-category-label {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #aaa;
  line-height: 0;
}

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

.guide-summary-card h3 {
  margin: 0 0 25px;
  color: #565656;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.55;
	letter-spacing: -1.5px;
	transform: scaleY(1.2);
}

.guide-summary-card .guide-illustration {
  width: min(250px, 70%);
  height: auto;
  margin: 22px auto 26px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.guide-summary-card .guide-count {
  width: min(390px, 100%);
  margin: 0 auto 26px;
  padding: 18px 28px;
  background: #f1f0f0;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.04);
}

.guide-summary-card .guide-count > span {
  position: relative;
  display: block;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.55;
}

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

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

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

.guide-summary-card p {
  margin: 0 0 18px;
  color: #676767;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

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

@media (min-width: 768px) {
  .guide-summary-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px minmax(0, .95fr);
    grid-template-areas:
      "label label label"
      "head image action"
      "count image action";
    align-items: center;
    gap: 30px;
    padding: 40px 42px;
    border-radius: 24px;
    text-align: left;
  }

  .guide-summary-card .guide-category-label {
    grid-area: label;
  }

  .guide-summary-card__head {
    grid-area: head;
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }

  .guide-summary-card__image {
    grid-area: image;
  }

  .guide-summary-card .guide-count {
    grid-area: count;
  }

  .guide-summary-card__action {
    grid-area: action;
  }

  .guide-summary-card .guide-category-label {
    margin-bottom: 0;
    padding-bottom: 18px;
    text-align: left;
  }

  .guide-summary-card .guide-category-label img {
    margin: 0;
  }

  .guide-summary-card h3 {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
    font-size: 26px;
    text-align: left;
		transform-origin: left;
  }

  .guide-summary-card .guide-illustration {
    width: 250px;
    margin: 0 auto;
  }

  .guide-summary-card .guide-count {
    margin: 0;
  }

  .guide-summary-card__action {
    padding: 36px 24px;
    border-radius: 8px;
    background: #f2ede9;
    text-align: center;
  }

  .guide-summary-card__action p {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .guide-summary-card .guide-button {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .page-guide-summary .guide-hero {
    padding: 30px 24px 84px;
  }

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

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

  .page-guide-summary .guide-step-label::after {
    width: 160px;
    margin-top: 12px;
  }

  .page-guide-summary .guide-hero__title {
    font-size: 22px;
    line-height: 1.85;
  }

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

  .page-guide-summary .guide-section > .guide-section__inner > .guide-text {
    margin-bottom: 36px;
    font-size: 13px;
    line-height: 2.4;
  }

  .guide-summary-list {
    gap: 32px;
  }

  .guide-summary-card {
    padding: 32px 22px 34px;
    border-radius: 24px;
  }

  .guide-summary-card .guide-category-label {
    margin-bottom: 24px;
    padding-bottom: 14px;
  }

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

  .guide-summary-card h3 {
    font-size: 23px;
  }

  .guide-summary-card .guide-illustration {
    width: min(210px, 78%);
    margin: 18px auto 24px;
  }

  .guide-summary-card .guide-count {
    gap: 12px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .guide-summary-card .guide-count > span {
    font-size: 13px;
  }

  .guide-summary-card .guide-button {
    font-size: 18px;
  }
}
