@charset "UTF-8";
#page .sp {
  display: none;
}
@media screen and (max-width: 768px) {
  #page .sp {
    display: block !important;
  }
}
#page .c-header__text {
  color: #483f3f;
}

.entry-form {
  background: var(--color-gray);
  padding: 220px 0 120px;
}
@media screen and (max-width: 768px) {
  .entry-form {
    padding: 120px 0 80px;
  }
}
.entry-form__inner {
  margin: 0 auto;
  max-width: 1080px;
}
@media screen and (max-width: 768px) {
  .entry-form__inner {
    width: 90%;
  }
}
.entry-form__inner h1 {
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #483f3f;
}
@media screen and (max-width: 768px) {
  .entry-form__inner h1 {
    font-size: 28px;
    margin-bottom: 40px;
  }
}
.entry-form__step {
  display: flex;
  justify-content: center;
  gap: 100px;
  text-align: center;
  color: #ea1930;
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 0 auto 60px;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .entry-form__step {
    gap: 85px;
  }
}
.entry-form__step::before {
  content: "";
  background: #ea1930;
  position: absolute;
  bottom: 10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  margin: 0 auto;
  width: 86%;
  height: 1px;
  z-index: -1;
}
.entry-form__step .step__number {
  display: block;
  background: #fff;
  border: 1px solid #ea1930;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  text-align: center;
  margin: 10px auto 0;
  position: relative;
  z-index: 2;
}
.entry-form__step .step__number._action {
  background: #ea1930;
}
.entry-form__step small {
  font-size: 16px;
}
.entry-form .contact-table {
  width: 100%;
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-all;
}
.entry-form .contact-table tr {
  display: block;
  margin-bottom: 40px;
}
.entry-form .contact-table tr.email {
  margin-bottom: 20px !important;
}
.entry-form .contact-table tr.required th span {
  background: #ea1930;
  color: #fff;
  margin-left: 20px;
  padding: 0px 7px;
  font-size: 14px;
  border-radius: 3px;
}
.entry-form .contact-table tr th,
.entry-form .contact-table tr td {
  display: block;
  color: #483f3f;
}
.entry-form .contact-table tr th {
  margin-bottom: 20px;
}
.entry-form .contact-table tr td {
  text-align: left;
  font-weight: 500;
  width: 100%;
}
.entry-form .contact-table tr td input {
  border: 1px solid #000;
  width: 100%;
  height: 70px;
  border-radius: 5px;
  padding: 10px 25px;
  background-color: #fff;
}
.entry-form .contact-table tr td textarea {
  border: 1px solid #000;
  width: 100%;
  height: 200px;
  border-radius: 5px;
  padding: 10px 25px;
  background-color: #fff;
  resize: vertical; /* 縦方向のリサイズを許可 */
}
.entry-form .contact-table tr.birthday {
  width: 70%;
}
@media screen and (max-width: 768px) {
  .entry-form .contact-table tr.birthday {
    width: 100%;
  }
}
.entry-form .contact-table tr.birthday td {
  display: flex;
  gap: 10px;
  font-size: 20px;
}
.entry-form .contact-table tr.birthday td div {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .entry-form .contact-table tr.birthday td div {
    width: 95%;
  }
}
.entry-form .contact-table tr.birthday td div:not(:first-child) {
  margin-left: 15px;
}
@media screen and (max-width: 768px) {
  .entry-form .contact-table tr.birthday td div:not(:first-child) {
    margin-left: 0px;
  }
}
@media screen and (max-width: 768px) {
  .entry-form .contact-table tr.birthday td {
    flex-wrap: wrap;
  }
}
.entry-form .contact-table tr.birthday td input {
  font-size: 16px;
}
.entry-form .contact-table tr.file td {
  border: 1px solid #000;
  width: 100%;
  height: 120px;
  border-radius: 5px;
  padding: 0px 25px;
  background-color: #fff;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .entry-form .contact-table tr.file td {
    height: 80px;
  }
}
.entry-form .contact-table tr.file input {
  border: none;
  background: none;
  height: auto;
  padding: 0;
}
.entry-form .contact-table tr.policy {
  text-align: center;
  width: fit-content;
  margin: 80px auto 0;
}
@media screen and (max-width: 768px) {
  .entry-form .contact-table tr.policy {
    margin: 40px auto 0;
    text-align: left;
  }
}
.entry-form .contact-table tr.policy input {
  width: 15px !important;
  height: 15px !important;
  vertical-align: text-bottom;
  margin-right: 0.5em; /* テキストとの余白 */
}
@media screen and (max-width: 768px) {
  .entry-form .contact-table tr.policy input {
    -webkit-appearance: auto;
    appearance: auto;
    width: auto;
    height: auto;
    margin: 0; /* iOS のデフォルト margin を消す */
    padding: 0;
  }
}
.entry-form .contact-table tr.policy td label {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* ここも一度 小さめ or 0 に */
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .entry-form .contact-table tr.policy td label {
    font-size: 13px;
  }
}
.entry-form .contact-table tr.policy td label a {
  color: #202a5a;
  text-decoration: underline;
}
.entry-form .contact-table tr.policy .mwform-checkbox-field-text {
  line-height: 1.4;
}
.entry-form .button-wrap {
  width: 280px;
  margin: 60px auto 0;
  border-radius: 10px;
  background-color: #ea1930;
  text-align: center;
  color: #fff;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .entry-form .button-wrap {
    margin: 40px auto 0;
    width: 100%;
  }
}
.entry-form .button-wrap input {
  display: block;
  padding: 20px 25px;
  text-align: center;
  width: 100%;
}
.entry-form__confirmation .entry-form__inner {
  max-width: 800px;
}
.entry-form__confirmation tr {
  display: flex !important;
}
@media screen and (max-width: 768px) {
  .entry-form__confirmation tr {
    display: block !important;
  }
}
.entry-form__confirmation tr th {
  width: 250px;
}
.entry-form__confirmation tr td {
  width: 550px;
}
.entry-form__confirmation tr.birthday {
  width: 100% !important;
}
@media screen and (max-width: 768px) {
  .entry-form__confirmation tr.birthday td div {
    width: fit-content !important;
  }
}
.entry-form__confirmation tr.email_confirm {
  display: none !important;
}
.entry-form__confirmation tr.file td {
  width: 550px !important;
  background: none !important;
  border: none !important;
}
@media screen and (max-width: 768px) {
  .entry-form__confirmation tr.file td {
    width: 100% !important;
  }
}
.entry-form__confirmation tr.policy {
  display: none !important;
}
.entry-form__confirmation .file {
  display: block !important;
}
.entry-form__confirmation .file td {
  padding-left: 0 !important;
  height: auto !important;
}
.entry-form__confirmation .imgattached__status {
  display: none !important;
}
.entry-form__confirmation .imgattached {
  padding: 0 !important;
}
.entry-form__confirmation .imgattached label {
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.entry-form__confirmation .imgattached .label-inner {
  display: none !important;
}
.entry-form__confirmation .imgattached .mw-wp-form_file {
  color: #483f3f !important;
}
.entry-form__confirmation .flex {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-direction: row-reverse;
  width: 600px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .entry-form__confirmation .flex {
    width: 100%;
    flex-direction: column-reverse;
  }
}
.entry-form__confirmation .flex .button-back {
  width: 280px;
  margin: 60px auto 0;
  border-radius: 10px;
  background-color: #483f3f;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.entry-form__confirmation .flex .button-back input {
  display: block;
  padding: 20px 25px;
  text-align: center;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .entry-form__confirmation .flex .button-back {
    width: 100%;
  }
}
.entry-form__confirmation .button-wrap {
  margin-top: 25px !important;
}
.entry-form__complete {
  text-align: center;
}
.entry-form__complete h2 {
  font-size: 26px;
  font-weight: bold;
  margin-block: 30px;
  color: #483f3f;
}
.entry-form__complete p {
  font-size: 20px;
  font-weight: 500;
  margin-block: 0 20px;
  color: #483f3f;
}
@media screen and (max-width: 768px) {
  .entry-form__complete p {
    font-size: 16px;
  }
}
.entry-form__complete small {
  font-size: 14px;
  display: block;
  margin-bottom: 30px;
  color: #483f3f;
}
.entry-form__complete .flow_box {
  background-color: #fff;
  border-radius: 10px;
  margin: 60px auto 0;
  padding: 60px;
  max-width: 900px;
}
@media screen and (max-width: 768px) {
  .entry-form__complete .flow_box {
    padding: 40px 20px;
  }
}
.entry-form__complete .flow_box h3 {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #483f3f;
}
.entry-form__complete .flow_box ul {
  display: flex;
  justify-content: center;
  gap: 80px;
}
@media screen and (max-width: 768px) {
  .entry-form__complete .flow_box ul {
    gap: 25px;
  }
}
.entry-form__complete .flow_box ul li {
  color: #ea1930;
  font-size: 18px;
  position: relative;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .entry-form__complete .flow_box ul li {
    font-size: 14px;
  }
}
.entry-form__complete .flow_box ul li:not(:last-child)::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: #ea1930 solid 1px;
  border-right: #ea1930 solid 1px;
  transform: rotate(45deg);
  position: absolute;
  top: 9px;
  right: -40px;
}
@media screen and (max-width: 768px) {
  .entry-form__complete .flow_box ul li:not(:last-child)::before {
    width: 7px;
    height: 7px;
    top: 6px;
    right: -15px;
  }
}
.entry-form__complete .btn-box {
  width: 280px;
  margin: 60px auto 0;
  border-radius: 10px;
  background-color: #ea1930;
  text-align: center;
  display: block;
}
.entry-form__complete .btn-box a {
  display: block;
  padding: 20px 25px;
  text-align: center;
  width: 100%;
  color: #fff;
  font-weight: 500;
}

.imgattached {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 0;
  position: relative;
}
@media screen and (max-width: 768px) {
  .imgattached {
    padding: 0px 0;
  }
}

.imgattached [type=file] {
  display: none !important;
}

.imgattached label {
  border: 1px solid #5d5b5b;
  background-color: #5d5b5b;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 15px 40px;
  cursor: pointer;
  text-align: center;
  background-image: url(../images/contact/icon-camera.svg), url(../images/contact/icon-plus.svg);
  background-repeat: no-repeat;
  background-position: left 20px center, right 20px center;
  background-size: 29px auto, 12px auto;
}
@media screen and (max-width: 768px) {
  .imgattached label {
    padding: 5px 10px;
    font-size: 13px;
  }
}

.imgattached label .mwform-file-delete {
  display: none;
}

.imgattached__status {
  color: #483f3f;
  font-weight: 500;
}

.imgattached__delete {
  background: url(../images/contact/btn-delete.svg) no-repeat center/cover;
  position: absolute;
  right: 0;
  display: block;
  width: 74px;
  height: 42px;
  display: none;
  cursor: pointer;
}