.regist_top_main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.regist_top_title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.regist_top_title .regist_top_pre {
  color: #f4810e;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.regist_top_title .regist_top_pre:before {
  content: "";
  width: 36px;
  height: 0px;
  border-top: 2px solid #f4810e;
  opacity: 1;
  transform: rotate(-108deg);
  position: absolute;
}

.regist_top_title .regist_top_pre:after {
  content: "";
  width: 36px;
  height: 0px;
  border-top: 2px solid #f4810e;
  opacity: 1;
  transform: rotate(-72deg);
  position: absolute;
}

.regist_top_title .regist_top_pre:before {
  left: -40px;
}

.regist_top_title .regist_top_pre:after {
  right: -40px;
}

.regist_top_content {
  display: flex;
  flex-direction: column;
}

.regist_top_title_main {
  text-align: center;
  margin-top: 8px;
}

.regist_top_title_main span {
  display: inline-block;
  background-color: #f4810e;
  color: #fff;
  padding: 4px 24px;
  border-radius: 8px;
  text-align: center;
  margin: 0 5px;
  text-decoration: none;
  font-size: 18px;
}

.regist_top_title_sub {
  margin-top: 8px;
  font-size: 24px;
  font-weight: bold;
}

.regist_top_title_sub span {
  text-decoration: underline;
  text-decoration-color: #f5c81d;
  text-decoration-thickness: 10px;
  text-underline-offset: -5px;
}

.regist_top_mv {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

.regist_top_mv_sub {
  display: flex;
  flex-direction: column;
  width: 335px;
  border: 2px solid #f6921d;
  border-radius: 8px;
  padding: 12px 40px;
}

.regist_top_mv_sub p {
  position: relative;
  padding-left: 26px;
  margin: 4px 0;
  font-size: 14px;
  font-weight: bold;
}

/* チェックアイコンを各項目の左に追加 */
.regist_top_mv_sub p::before {
  content: url("../img/check-icon.png");
  position: absolute;
  left: 0;
  top: 60%;
  transform: translateY(-50%);
}

/* span要素に色付きの下線を追加 */
.regist_top_mv_sub p span {
  color: #f6921d; /* 文字色 */
  text-decoration: underline;
  text-decoration-color: #f6921d;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.regist_top_link {
  margin-top: 20px;
}

.regist_top_link_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.regist_top_link_main span {
  color: #f6921d; /* spanタグの文字色を変更 */
  font-weight: bold; /* 必要であれば、文字の太さを調整 */
}

.main_strong {
  font-size: 24px;
}

.regist_top_link_sub {
  display: flex;
  flex-direction: row;
  justify-content: center; /* 横並びで中央揃え */
  align-items: center;
  gap: 15px; /* 要素間の間隔を調整 */
  margin-top: 32px;
}

.regist_top_link_sub div {
  position: relative;
}

.regist_top_link_sub div::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #000;
}

.regist_top_link_sub p {
  text-decoration: none;
  font-weight: bold;
}

.link_kaigo {
  background-color: #fd7b33;
  color: #fff;
  padding: 18px 24px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}

.link_hoiku {
  background-color: #f5c81d;
  color: #000000;
  padding: 18px 24px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}

.regist_top_link_login {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.regist_top_link_login {
  text-decoration: underline !important;
}

.header__nav {
  visibility: hidden;
}

@media screen and (min-width: 768px) {
  .regist_top_title .regist_top_pre {
    font-size: 64px;
  }

  .regist_top_title_main span {
    margin-top: 4px;
    font-size: 24px;
  }

  .regist_top_title_sub {
    font-size: 36px;
    font-weight: bold;
  }

  .regist_top_title_sub span {
    margin-left: 5px;
    text-underline-offset: 0px;
  }

  .regist_top_mv_sub {
    width: 560px;
    padding: 20px 80px;
  }

  .regist_top_mv_sub p {
    padding-left: 32px;
    margin: 4px 0;
    font-size: 20px;
  }

  .regist_top_content {
    display: flex;
    flex-direction: row;
  }

  .regist_top_link_main {
    font-size: 28px;
  }

  .main_strong {
    font-size: 36px;
  }

  .regist_top_link_sub {
    display: flex;
    flex-direction: row;
    justify-content: center; /* 横並びで中央揃え */
    align-items: center;
    gap: 15px; /* 要素間の間隔を調整 */
    margin-top: 32px;
  }

  .link_kaigo {
    padding: 24.5px 96px;
    font-size: 16px;
  }

  .link_hoiku {
    padding: 24.5px 96px;
    font-size: 16px;
  }
}
