.rh-subpage main {
  color: var(--rh-text);
}

.rh-page-title {
  padding: 32px 16px 34px;
  border-top: 1px solid #f2d7df;
  border-bottom: 1px solid #f2d7df;
  background: linear-gradient(135deg, #fff 0%, #fff8fa 55%, #eef8f6 100%);
}

.rh-page-title__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 1100px);
  margin-inline: auto;
}

.rh-page-title__en,
.rh-page-title__en img,
.rh-page-title h2 img {
  display: block;
}

.rh-page-title h2 {
  margin: 0;
  line-height: 0;
}

.rh-page-title h2 span {
  display: none;
}

.rh-about-lead {
  padding: 74px 16px;
  background: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)), url('../images/desktop/flow_top_bg.jpg') center / cover no-repeat;
}

.rh-about-lead__inner {
  width: min(100%, 820px);
  margin-inline: auto;
  text-align: center;
}

.rh-about-lead__inner picture,
.rh-about-lead__inner picture img {
  display: block;
  width: min(100%, 637px);
  margin-inline: auto;
}

.rh-about-lead p {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 2;
}

.rh-about-points {
  padding: 58px 16px 72px;
  background: #f4f4f4;
}

.rh-about-points__inner,
.rh-about-events__inner {
  width: min(100%, 1100px);
  margin-inline: auto;
}

.rh-about-points__inner > h2 {
  margin: 0 0 36px;
  line-height: 0;
}

.rh-about-points__inner > h2 picture,
.rh-about-points__inner > h2 img {
  display: block;
  width: 100%;
}

.rh-about-point {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 36px 0;
  background: #fff;
}

.rh-about-point__visual {
  grid-area: 1 / 1;
  align-self: start;
  line-height: 0;
}

.rh-about-point__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.rh-about-point__copy {
  z-index: 1;
  grid-area: 1 / 1;
  align-self: start;
  width: 480px;
  margin-left: auto;
  padding: 185px 50px 24px 0;
  box-sizing: border-box;
  text-align: left;
}

.rh-about-point--even .rh-about-point__copy {
  width: 470px;
  margin-right: auto;
  margin-left: 0;
  padding: 185px 0 24px 70px;
}

.rh-about-point__number {
  display: none;
}

.rh-about-point__copy h3 {
  margin: 0 0 18px;
  color: var(--rh-pink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.rh-about-point__copy > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.rh-about-point__headline,
.rh-about-point__options,
.rh-about-point__link,
.rh-about-school {
  grid-column: 1;
}

.rh-about-point__headline,
.rh-about-point__headline img {
  display: block;
  width: 100%;
}

.rh-about-point__options {
  position: relative;
  display: block;
  width: min(calc(100% - 120px), 900px);
  margin: 24px auto 8px;
  min-height: 169px;
  padding: 0;
  box-sizing: border-box;
  background: url('../images/desktop/about01_02.png') center / 100% 100% no-repeat;
}

.rh-about-point__options p {
  position: absolute;
  top: 50px;
  width: 27.8%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
}

.rh-about-point__options p:first-child {
  left: 18.9%;
}

.rh-about-point__options p:last-child {
  left: 72.1%;
}

.rh-about-point__link {
  display: block;
  width: min(calc(100% - 32px), 565px);
  margin: 12px auto 30px;
  line-height: 0;
}

.rh-about-point__link picture,
.rh-about-point__link img {
  display: block;
  width: 100%;
}

.rh-about-school {
  display: block;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.rh-about-school img {
  display: block;
  width: 100%;
}

.rh-about-events {
  padding: 62px 16px;
  background: #fff;
}

.rh-about-events h2 {
  margin: 0 0 24px;
  line-height: 0;
}

.rh-about-events h2 img {
  display: block;
  width: 100%;
}

.rh-about-events__list {
  display: grid;
  gap: 14px;
}

.rh-about-event {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border: 1px solid #ece5e7;
  border-radius: 14px;
  background: #fff;
}

.rh-about-event__photo {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  line-height: 0;
}

.rh-about-event__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rh-about-event time {
  color: #88757a;
  font-size: 13px;
}

.rh-about-event h3 {
  margin: 4px 0 8px;
  font-size: 19px;
  line-height: 1.5;
}

.rh-about-event h3 a {
  color: var(--rh-pink);
}

.rh-about-event__excerpt {
  font-size: 13px;
  line-height: 1.7;
}

.rh-about-event__excerpt p {
  margin: 0;
}

.rh-about-events__more {
  display: block;
  width: min(100%, 332px);
  margin: 28px auto 0;
  line-height: 0;
}

.rh-plan-page .rh-plan {
  padding: 50px 16px 12px;
}

.rh-plan-page .rh-plan:last-of-type {
  padding-bottom: 68px;
}

.rh-plan-page .rh-plan__inner {
  padding-bottom: 38px;
  border-bottom: 1px solid #f0dce2;
}

.rh-plan-page .rh-plan:last-of-type .rh-plan__inner {
  padding-bottom: 0;
  border-bottom: 0;
}

.rh-plan-page .rh-plan__table td {
  font-size: 15px;
}

.rh-plan-page .rh-plan__table .red {
  color: #f05d7f;
}

.rh-plan-page .rh-plan__annotation {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.rh-plan-page .rh-plan__subtext {
  margin: 20px auto 22px;
  font-size: 17px;
  line-height: 1.9;
}

.rh-plan-page .rh-plan__subtext strong {
  color: var(--rh-pink);
  font-weight: 400;
}

.rh-flow-lead {
  padding: 82px 16px 88px;
  background: url('../images/desktop/about_bg01.jpg') center / cover no-repeat;
}

.rh-flow-lead__inner {
  width: min(100%, 785px);
  margin-inline: auto;
  text-align: center;
}

.rh-flow-lead__inner img {
  display: block;
  width: min(100%, 531px);
  height: auto;
  margin: 0 auto 24px;
}

.rh-flow-lead__inner p {
  margin: 0;
  font-size: 16px;
  line-height: 2.15;
}

.rh-flow-process {
  padding: 58px 16px 74px;
  background: #fff;
}

.rh-flow-process__inner {
  width: min(100%, 1100px);
  margin-inline: auto;
}

.rh-flow-process__title {
  margin: 0 0 30px;
  line-height: 0;
}

.rh-flow-process__title picture,
.rh-flow-process__title img {
  display: block;
  width: 100%;
}

.rh-flow-steps {
  width: min(100%, 815px);
  margin-inline: auto;
}

.rh-flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 25px 38px 220px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.rh-flow-step:nth-child(1) { min-height: 197px; background-image: url('../images/desktop/flow1.png'); }
.rh-flow-step:nth-child(2) { min-height: 144px; background-image: url('../images/desktop/flow2.png'); }
.rh-flow-step:nth-child(3) { min-height: 144px; background-image: url('../images/desktop/flow3.png'); }
.rh-flow-step:nth-child(4) { min-height: 164px; background-image: url('../images/desktop/flow4.png'); }
.rh-flow-step:nth-child(5) { min-height: 214px; background-image: url('../images/desktop/flow5.png'); }
.rh-flow-step:nth-child(6) { min-height: 164px; background-image: url('../images/desktop/flow6.png'); }
.rh-flow-step:nth-child(7) { min-height: 144px; background-image: url('../images/desktop/flow7.png'); }
.rh-flow-step:nth-child(8) { min-height: 170px; background-image: url('../images/desktop/flow8.png'); }
.rh-flow-step:nth-child(9) { min-height: 144px; background-image: url('../images/desktop/flow9.png'); }

.rh-flow-step h3 {
  margin: 0;
  color: var(--rh-pink);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

.rh-flow-step p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.rh-flow-step__finish {
  position: absolute;
  right: 2px;
  bottom: 0;
  width: 180px;
  height: auto;
}

.rh-flow-step:last-child {
  padding-right: 200px;
}

.rh-faq-list {
  padding: 60px 16px 76px;
  background: #f7f4f5;
}

.rh-faq-list__inner {
  width: min(100%, 960px);
  margin-inline: auto;
}

.rh-faq-item {
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid #edc7d1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(116, 74, 84, 0.05);
}

.rh-faq-question,
.rh-faq-answer {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  box-sizing: border-box;
  padding: 20px 26px;
}

.rh-faq-question {
  background: #fff0f4;
}

.rh-faq-question::before,
.rh-faq-answer::before {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.rh-faq-question::before {
  background: #ef819d;
  content: 'Q';
}

.rh-faq-answer::before {
  background: #69b9ad;
  content: 'A';
}

.rh-faq-question h3 {
  margin: 5px 0 0;
  color: #8a5f69;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.rh-faq-answer {
  border-top: 1px solid #f1dce2;
  font-size: 14px;
  line-height: 1.9;
}

.rh-faq-answer p {
  margin: 3px 0 0;
}

.rh-company-content {
  padding: 60px 16px 76px;
  background: #fff;
}

.rh-company-content__inner {
  width: min(100%, 820px);
  margin-inline: auto;
}

.rh-company-logo {
  display: block;
  width: min(100%, 543px);
  height: auto;
  margin: 0 auto 34px;
}

.rh-company-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid #ead9de;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(116, 74, 84, 0.05);
}

.rh-company-table th,
.rh-company-table td {
  box-sizing: border-box;
  height: auto;
  padding: 17px 22px;
  border: 0;
  border-bottom: 1px solid #eee3e6;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

.rh-company-table th {
  width: 180px;
  background: #fff0f4;
  color: #c95f7a;
  font-weight: 600;
}

.rh-company-table tr:last-child th,
.rh-company-table tr:last-child td {
  border-bottom: 0;
}

.rh-company-table a {
  color: #4b9d94;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rh-school-page .rh-about-points {
  padding-top: 58px;
}

.rh-school-page .rh-page-title h2 span {
  display: block;
  color: var(--rh-pink);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
}

.rh-school-page .rh-school-feature {
  padding-bottom: 0;
}

.rh-school-page .rh-about-events {
  border-top: 1px solid #f0dce2;
}

.rh-contact-form {
  padding: 58px 16px 76px;
  background: #f7f4f5;
}

.rh-contact-form #contact_in {
  box-sizing: border-box;
  width: min(100%, 860px);
  margin-inline: auto;
  padding: 38px;
  border: 1px solid #ead9de;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(116, 74, 84, 0.05);
}

.rh-contact-form #contact_in table {
  width: 100%;
  border: 1px solid #eadfe2;
  border-collapse: collapse;
}

.rh-contact-form #contact_in th,
.rh-contact-form #contact_in td {
  box-sizing: border-box;
  height: auto;
  padding: 18px;
  border: 1px solid #eadfe2;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

.rh-contact-form #contact_in th {
  width: 220px;
  background: #fff0f4;
  color: #a75d70;
  font-weight: 600;
}

.rh-contact-form #contact_in input[type='text'],
.rh-contact-form #contact_in input[type='email'],
.rh-contact-form #contact_in input[type='number'],
.rh-contact-form #contact_in input[type='date'],
.rh-contact-form #contact_in select,
.rh-contact-form #contact_in textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfc4c7;
  border-radius: 5px;
  background: #fff;
  color: #333;
  font: inherit;
}

.rh-contact-form #contact_in input[name^='tel[data]'] {
  width: 28%;
}

.rh-contact-form #contact_in textarea {
  min-height: 180px;
  resize: vertical;
}

.rh-contact-form #contact_in input[type='radio'],
.rh-contact-form #contact_in input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  accent-color: #ef819d;
  vertical-align: -4px;
}

.rh-contact-form #contact_in .mwform-radio-field.vertical-item {
  display: block;
  margin-left: 0 !important;
}

.rh-contact-form #contact_in input[type='submit'],
.rh-contact-form #contact_in button[type='submit'] {
  min-width: 250px;
  margin-top: 24px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: #ef819d;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.rh-contact-form #contact_in .action-buttons,
.rh-contact-form #contact_in form > p:last-child {
  text-align: center;
}

.rh-policy {
  padding: 60px 16px 76px;
  background: #f7f4f5;
}

.rh-policy__inner {
  box-sizing: border-box;
  width: min(100%, 900px);
  margin-inline: auto;
  padding: 46px 52px;
  border: 1px solid #ead9de;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(116, 74, 84, 0.05);
}

.rh-policy__intro {
  margin: 0 0 38px;
  font-size: 15px;
  line-height: 2;
}

.rh-policy__section {
  margin-top: 34px;
}

.rh-policy__section h3 {
  margin: 0 0 13px;
  padding: 7px 0 7px 14px;
  border-left: 4px solid #ef819d;
  color: #a85f71;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.rh-policy__section p,
.rh-policy__section ul {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
}

.rh-policy__section ul {
  padding-left: 1.4em;
}

.rh-policy__section--operator {
  padding: 22px 24px;
  border-radius: 8px;
  background: #eff8f6;
}

.rh-policy__section--operator h3 {
  border-left-color: #69b9ad;
}

@media (min-width: 768px) {
  .rh-flow-step h3,
  .rh-flow-step p {
    position: relative;
    top: -12px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .rh-about-point__copy,
  .rh-about-point--even .rh-about-point__copy {
    width: 45%;
    padding-top: 13vw;
    padding-right: 24px;
    padding-left: 24px;
  }

  .rh-about-point__copy h3 {
    margin-bottom: 12px;
    font-size: 19px;
  }

  .rh-about-point__copy > p:last-child {
    font-size: 12px;
    line-height: 1.7;
  }

  .rh-about-point__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - 60px), 900px);
    min-height: 145px;
    padding-top: 36px;
    background-size: 100% 100%;
  }

  .rh-about-point__options p {
    position: static;
    width: auto;
    padding-inline: 22%;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .rh-page-title {
    padding: 24px 16px 26px;
  }

  .rh-page-title__inner {
    display: block;
    text-align: center;
  }

  .rh-page-title__en,
  .rh-page-title__en img {
    width: min(100%, 209px);
    margin-inline: auto;
  }

  .rh-page-title h2 {
    margin-top: 12px;
  }

  .rh-page-title h2 img {
    display: none;
  }

  .rh-page-title h2 span {
    display: block;
    color: var(--rh-pink);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
  }

  .rh-about-lead {
    padding: 46px 18px;
  }

  .rh-about-lead p {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.9;
  }

  .rh-about-points {
    padding: 38px 16px 52px;
  }

  .rh-about-points__inner > h2 {
    margin-bottom: 22px;
  }

  .rh-about-point {
    display: block;
    margin: 0 0 28px;
    padding: 16px;
    box-sizing: border-box;
  }

  .rh-about-point__visual,
  .rh-about-point--even .rh-about-point__visual {
    height: 212px;
    overflow: hidden;
  }

  .rh-about-point__visual picture {
    display: block;
    line-height: 0;
  }

  .rh-about-point__visual img {
    width: 100%;
    height: auto;
  }

  .rh-about-point:nth-of-type(1) .rh-about-point__visual img {
    content: url('../images/mobile/point1.webp');
  }

  .rh-about-point:nth-of-type(2) .rh-about-point__visual img {
    content: url('../images/mobile/point2.jpg');
  }

  .rh-about-point:nth-of-type(3) .rh-about-point__visual img {
    content: url('../images/mobile/point3.webp');
  }

  .rh-about-point:nth-of-type(4) .rh-about-point__visual img {
    content: url('../images/mobile/point4.jpg');
  }

  .rh-about-point:nth-of-type(5) .rh-about-point__visual img {
    content: url('../images/mobile/point5.webp');
  }

  .rh-about-point--even .rh-about-point__copy {
    width: 100%;
    margin: 0;
    padding: 24px 4px 28px;
  }

  .rh-about-point__copy {
    width: 100%;
    margin: 0;
    padding: 24px 4px 28px;
    background: #fff;
  }

  .rh-about-point__number {
    display: none;
  }

  .rh-about-point__copy h3 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .rh-about-point__copy > p:last-child {
    font-size: 13px;
    line-height: 1.85;
  }

  .rh-about-point__options {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin: 0;
    min-height: 0;
    padding: 18px 4px;
    background: #fff8fa;
  }

  .rh-about-point__options p {
    position: static;
    width: auto;
    margin: 0;
    padding: 14px 0;
    font-size: 13px;
  }

  .rh-about-point__options p:first-child,
  .rh-about-point__options p:last-child {
    margin-left: 0;
  }

  .rh-about-point__link {
    width: 100%;
    margin: 10px 0 8px;
  }

  .rh-about-school {
    width: 100%;
    margin: 0;
  }

  .rh-about-events {
    padding: 42px 16px;
  }

  .rh-about-event {
    grid-template-columns: 82px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .rh-about-event h3 {
    margin-bottom: 0;
    font-size: 15px;
  }

  .rh-about-event__excerpt {
    grid-column: 1 / -1;
    font-size: 12px;
  }

  .rh-plan-page .rh-plan {
    padding: 34px 16px 6px;
  }

  .rh-plan-page .rh-plan:last-of-type {
    padding-bottom: 50px;
  }

  .rh-plan-page .rh-plan__inner {
    padding-bottom: 28px;
  }

  .rh-plan-page .rh-plan__subtext {
    margin: 18px 2px 22px;
    font-size: 13px;
    line-height: 1.9;
  }

  .rh-plan-page .rh-plan__table td {
    font-size: 14px;
  }

  .rh-plan-page .rh-plan__amount,
  .rh-plan-page .rh-plan__annotation {
    display: block;
    text-align: right;
  }

  .rh-flow-lead {
    padding: 48px 24px 52px;
    background-image: url('../images/mobile/flow_bg2.jpg');
    background-position: center top;
  }

  .rh-flow-lead__inner img {
    width: min(100%, 526px);
    margin-bottom: 18px;
    content: url('../images/mobile/flow_txt.png');
  }

  .rh-flow-lead__inner p {
    font-size: 13px;
    line-height: 1.9;
  }

  .rh-flow-process {
    padding: 38px 16px 56px;
    background: #f7f4f5;
  }

  .rh-flow-process__title {
    margin-bottom: 24px;
  }

  .rh-flow-step,
  .rh-flow-step:nth-child(n) {
    display: block;
    min-height: 0;
    margin: 0 0 24px;
    padding: 20px 16px 22px 88px;
    border: 1px solid #f0a0b4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(116, 74, 84, 0.07);
  }

  .rh-flow-step:not(:last-child)::after {
    position: absolute;
    bottom: -18px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 10px solid #ef819d;
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
    content: '';
    transform: translateX(-50%);
  }

  .rh-flow-step::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 70px;
    align-items: center;
    justify-content: center;
    border-radius: 11px 0 0 11px;
    background: #facbd6;
    color: #fff;
    content: 'STEP\A' attr(data-step);
    font-size: 17px;
    line-height: 1.35;
    text-align: center;
    white-space: pre;
  }

  .rh-flow-step h3 {
    font-size: 20px;
  }

  .rh-flow-step p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
  }

  .rh-flow-step:last-child {
    padding-right: 100px;
  }

  .rh-flow-step__finish {
    right: 4px;
    width: 92px;
  }

  .rh-faq-list {
    padding: 38px 16px 52px;
  }

  .rh-faq-item {
    margin-bottom: 18px;
    border-radius: 10px;
  }

  .rh-faq-question,
  .rh-faq-answer {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 16px 14px;
  }

  .rh-faq-question::before,
  .rh-faq-answer::before {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .rh-faq-question h3 {
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.65;
  }

  .rh-faq-answer {
    font-size: 13px;
    line-height: 1.85;
  }

  .rh-company-content {
    padding: 40px 16px 52px;
    background: #f7f4f5;
  }

  .rh-company-logo {
    width: min(90%, 543px);
    margin-bottom: 26px;
  }

  .rh-company-table,
  .rh-company-table tbody,
  .rh-company-table tr,
  .rh-company-table th,
  .rh-company-table td {
    display: block;
    width: 100%;
  }

  .rh-company-table tr:last-child th {
    border-bottom: 1px solid #eee3e6;
  }

  .rh-company-table th,
  .rh-company-table td {
    padding: 12px 16px;
    font-size: 13px;
  }

  .rh-company-table td {
    padding-top: 14px;
    padding-bottom: 18px;
  }

  .rh-school-page .rh-about-points {
    padding-top: 38px;
  }

  .rh-school-page .rh-page-title h2 span {
    font-size: 22px;
  }

  .rh-school-page .rh-school-feature .rh-about-point__visual img {
    content: url('../images/mobile/point4.jpg');
  }

  .rh-contact-form {
    padding: 38px 16px 52px;
  }

  .rh-contact-form #contact_in {
    padding: 16px;
    border-radius: 10px;
  }

  .rh-contact-form #contact_in table,
  .rh-contact-form #contact_in tbody,
  .rh-contact-form #contact_in tr,
  .rh-contact-form #contact_in th,
  .rh-contact-form #contact_in td {
    display: block;
    width: 100%;
  }

  .rh-contact-form #contact_in tr {
    margin-bottom: 14px;
  }

  .rh-contact-form #contact_in th,
  .rh-contact-form #contact_in td {
    padding: 12px;
    font-size: 13px;
  }

  .rh-contact-form #contact_in th {
    border-bottom: 0;
  }

  .rh-contact-form #contact_in input[type='text'],
  .rh-contact-form #contact_in input[type='email'],
  .rh-contact-form #contact_in input[type='number'],
  .rh-contact-form #contact_in input[type='date'],
  .rh-contact-form #contact_in select,
  .rh-contact-form #contact_in textarea {
    min-height: 44px;
    font-size: 16px;
  }

  .rh-contact-form #contact_in input[type='submit'],
  .rh-contact-form #contact_in button[type='submit'] {
    width: 100%;
    min-height: 48px;
    min-width: 0;
  }

  .rh-policy {
    padding: 38px 16px 52px;
  }

  .rh-policy__inner {
    padding: 26px 18px;
    border-radius: 10px;
  }

  .rh-policy__intro {
    margin-bottom: 30px;
    font-size: 13px;
    line-height: 1.9;
  }

  .rh-policy__section {
    margin-top: 28px;
  }

  .rh-policy__section h3 {
    padding-left: 11px;
    font-size: 16px;
  }

  .rh-policy__section p,
  .rh-policy__section ul {
    font-size: 13px;
    line-height: 1.9;
  }

  .rh-policy__section--operator {
    padding: 18px 16px;
  }
}

.rh-not-found {
  min-height: 560px;
  padding: 72px 20px 84px;
  background: linear-gradient(135deg, #fff7fa 0%, #f2fbf9 100%);
}

.rh-not-found__inner {
  box-sizing: border-box;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 46px 54px 50px;
  border: 1px solid #f0ccd5;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  text-align: center;
}

.rh-not-found__code {
  margin: 0;
  color: #ed7d9b;
  font-family: Georgia, serif;
  font-size: clamp(74px, 10vw, 118px);
  line-height: .9;
  letter-spacing: .04em;
}

.rh-not-found h1 {
  margin: 22px 0 18px;
  color: #df6c8c;
  font-size: 28px;
  font-weight: 500;
}

.rh-not-found__lead {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 2;
}

.rh-not-found__home {
  margin: 30px 0 34px;
}

.rh-not-found__home a {
  display: inline-block;
  min-width: 260px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #ed7d9b;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: opacity .2s ease;
}

.rh-not-found__home a:hover {
  opacity: .82;
}

.rh-not-found__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rh-not-found__links a {
  padding: 11px 8px;
  border: 1px solid #abd8d0;
  border-radius: 8px;
  color: #498d82;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

@media (max-width: 767px) {
  .rh-not-found {
    min-height: 0;
    padding: 36px 15px 48px;
  }

  .rh-not-found__inner {
    padding: 34px 18px 36px;
    border-radius: 14px;
  }

  .rh-not-found h1 {
    margin-top: 18px;
    font-size: 22px;
  }

  .rh-not-found__lead {
    font-size: 14px;
    line-height: 1.85;
  }

  .rh-not-found__lead br {
    display: none;
  }

  .rh-not-found__home {
    margin: 26px 0 28px;
  }

  .rh-not-found__home a {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }

  .rh-not-found__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
