.site-page--ready main {
  position: relative;
}

.ready-guide {
  color: #333;
}

.ready-main__heading > div > p {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 16px 0 0;
}

.ready-main__content {
  margin-top: 64px;
}

.ready-lead {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.ready-main__nav {
  display: flex;
  gap: 8px;
  margin-top: 72px;
  overflow-x: auto;
}

.ready-main__nav a {
  border: 1px solid #ea497f;
  border-radius: 30px;
  color: #ea497f;
  flex: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 24px;
  text-decoration: none;
  white-space: nowrap;
}

.ready-main__nav .ready-main__nav--green {
  border-color: var(--acc-color);
  color: var(--acc-color);
}

.ready-section {
  margin-top: 104px;
  scroll-margin-top: 24px;
}

.ready-section__heading {
  border-left: 3px solid #333;
  padding-left: 16px;
}

.ready-section__heading h2 {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 32px;
  line-height: 1;
  margin: 0;
}

.ready-section__heading p {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 8px 0 0;
}

.ready-section--before {
  margin-top: 72px;
}

.ready-howto__steps {
  display: flex;
  gap: 42px;
  margin-top: 56px;
  overflow-x: auto;
}

.ready-howto__step {
  flex: 1 0 0;
  min-width: 0;
  position: relative;
}

.ready-howto__step:not(:last-child)::after {
  aspect-ratio: 49/18;
  background: url("../images/guide/howto_arrow.svg") center/contain no-repeat;
  content: "";
  position: absolute;
  right: -20px;
  top: 228px;
  width: 4rem;
}

.ready-howto__number {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: -0.04em;
  display: block;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}

.ready-howto__step > img {
  aspect-ratio: 188/236;
  display: block;
  height: auto;
  margin: 0 auto 16px;
  width: 100%;
}

.ready-howto__step h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 auto;
  width: 80%;
}

.ready-howto__step > p {
  font-size: 12px;
  line-height: 1.4;
  margin: 16px 0 0;
}

.ready-howto__buttons {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.ready-howto__buttons a, .ready-link-button {
  border: 1px solid #333;
  border-radius: 30px;
  color: #333;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ready-howto__buttons a:hover, .ready-link-button:hover {
  background: var(--primary-color);
  color: #fff;
}

.ready-before-list {
  display: grid;
  gap: 32px;
  margin-top: 56px;
}

.ready-before-list__item {
  display: grid;
  gap: 8px;
}

.ready-before-list__item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.ready-before-list__item h3::before {
  background: url("../images/guide/icon_asterisk.svg") center/contain no-repeat;
  content: "";
  display: inline-block;
  height: 9px;
  margin-right: 4px;
  position: relative;
  top: -1px;
  vertical-align: middle;
  width: 10px;
}

.ready-before-list__item p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.ready-before-list__item .ready-link-button {
  justify-self: start;
  margin-top: 12px;
}

.ready-rules {
  display: grid;
  gap: 56px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.ready-rules__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ready-rules__pict {
  align-items: center;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.ready-rules__pict img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  transform: scale(0.9);
  transform-origin: center;
  width: var(--pict-width);
}

.ready-rules__pict--1 {
  --pict-width: 62.424%;
}

.ready-rules__pict--2 {
  --pict-width: 56.061%;
}

.ready-rules__pict--3 {
  --pict-width: 67.576%;
}

.ready-rules__pict--4 {
  --pict-width: 77.576%;
}

.ready-rules__pict--5 {
  --pict-width: 99.697%;
}

.ready-rules__pict--6 {
  --pict-width: 100%;
}

.ready-rules__pict--7 {
  --pict-width: 30.606%;
}

.ready-rules__pict--8 {
  --pict-width: 85.152%;
}

.ready-rules__pict--9 {
  --pict-width: 100%;
}

.ready-rules__pict .ready-rules__placeholder {
  height: 100%;
  width: 100%;
}

.ready-rules__item h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.ready-rules__item p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.ready-facilities__lead {
  font-size: 16px;
  line-height: 1.6;
  margin: 56px 0 0;
}

.ready-facilities__list {
  display: grid;
  gap: 32px;
  margin: 40px 0 0;
}

.ready-facilities__list div {
  display: grid;
  gap: 8px;
}

.ready-facilities__list dt {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.ready-facilities__list dt::before {
  background: url("../images/guide/icon_asterisk.svg") center/contain no-repeat;
  content: "";
  display: inline-block;
  height: 9px;
  margin-right: 6px;
  position: relative;
  top: -1px;
  vertical-align: middle;
  width: 10px;
}

.ready-facilities__list dd {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.ready-facilities__link {
  margin-top: 40px;
}

.ready-charity__body {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 316px minmax(0, 1fr);
  margin-top: 56px;
}

.ready-charity__body > img {
  display: block;
  width: 100%;
}

.ready-charity__body p, .ready-message > p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.ready-charity__body .ready-link-button, .ready-message .ready-link-button {
  margin-top: 16px;
}

.ready-message > p:first-of-type {
  margin-top: 56px;
}

.ready-message > p + p {
  margin-top: 16px;
}

.ready-message > .ready-message__guide {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .site-page--ready .guide {
    padding: 32px 24px;
  }
  .ready-main__heading > div > p {
    font-size: 16px;
    margin-top: 4px;
  }
  .ready-main__content {
    margin-top: 40px;
  }
  .ready-lead {
    font-size: 14px;
    line-height: 1.8;
  }
  .ready-main__nav {
    gap: 5px;
    margin: 40px calc(var(--base-grid) * -1) 0;
    padding: 0 var(--base-grid);
    scrollbar-width: none;
  }
  .ready-main__nav::-webkit-scrollbar, .ready-howto__steps::-webkit-scrollbar {
    display: none;
  }
  .ready-main__nav a {
    font-size: 13px;
    padding: 6px 12px;
  }
  .ready-section {
    margin-top: 80px;
  }
  .ready-section--before {
    margin-top: 56px;
  }
  .ready-section__heading {
    padding-left: 12px;
  }
  .ready-section__heading h2 {
    font-size: 24px;
  }
  .ready-section__heading p {
    font-size: 16px;
    margin-top: 8px;
  }
  .ready-howto__steps {
    gap: 40px;
    margin: 40px calc(var(--base-grid) * -1) 0;
    padding: 0 var(--base-grid);
    scrollbar-width: none;
  }
  .ready-howto__step {
    flex: 0 0 188px;
  }
  .ready-howto__step:not(:last-child)::after {
    right: -39px;
    top: 202px;
    transform: scale(0.72);
    transform-origin: center;
  }
  .ready-howto__number {
    font-size: 28px;
  }
  .ready-howto__step > img {
    margin-bottom: 12px;
  }
  .ready-howto__step h3 {
    font-size: 14px;
  }
  .ready-howto__buttons a {
    font-size: 13px;
  }
  .ready-before-list {
    gap: 32px;
    margin-top: 40px;
  }
  .ready-before-list__item h3 {
    font-size: 14px;
  }
  .ready-before-list__item p {
    font-size: 12px;
  }
  .ready-before-list__item .ready-link-button {
    margin-top: 8px;
  }
  .ready-rules {
    gap: 40px;
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .ready-rules__item {
    gap: 12px;
  }
  .ready-rules__item h3 {
    font-size: 16px;
  }
  .ready-rules__item p {
    font-size: 12px;
  }
  .ready-facilities__lead {
    font-size: 14px;
    margin-top: 40px;
  }
  .ready-facilities__list {
    gap: 28px;
    margin-top: 32px;
  }
  .ready-facilities__list div {
    gap: 8px;
  }
  .ready-facilities__list dt {
    font-size: 14px;
  }
  .ready-facilities__list dd {
    font-size: 12px;
  }
  .ready-charity__body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
  }
  .ready-charity__body > img {
    width: min(100%, 260px);
  }
  .ready-charity__body p, .ready-message > p {
    font-size: 14px;
  }
  .ready-message > p:first-of-type {
    margin-top: 40px;
  }
  .ready-link-button {
    font-size: 13px;
  }
  .site-page--ready .guide-scrollbar {
    margin-left: 0;
    margin-right: 0;
  }
}