@charset "utf-8";

/* ↓↓↓ entry-btn ↓↓↓ */
.entry-btn {
  display: none;
}

@media (max-width: 768px) {
  .entry-btn {
    position: fixed;
    width: 100%;
    height: 72px;
    background-color: #1994A0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .entry-btn .linkbtn {
    position: relative;
    margin-left: 6px;
    width: 238px;
    height: 60px;
    padding-right: 30px;
    font-size: 1.7rem;
    font-weight: bold;
    letter-spacing: .1em;
    line-height: 1.2;
    color: var(--text-color);
    display: grid;
    place-content: center;
    text-align: center;
    background: var(--yellow-grad);
    border-radius: 7px;
  }

  .entry-btn .linkbtn p::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 13px;
    translate: 0 -50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff url(../img/common/navi-arrow.svg) no-repeat center center;
  }
}

.new_linkbtn {
  display: none;
}

@media (max-width: 768px) {
  .new_linkbtn {
    display: grid;
    place-content: center;
    width: 125px;
    height: 100%;
    margin-left: 6px;
    background-color: #98FB98;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: .03em;
    line-height: 1.2;
    text-align: center;
  }
}

/* ↑↑↑ entry-btn ↑↑↑ */
/* ↓↓↓ main_section ↓↓↓ */
.main_section {
  width: 100%;
  margin-top: 100px;
  padding: 0 30px;
}

@media (max-width: 768px) {
  .main_section {
    margin-top: 10px;
  }
}

.main_section .inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ↑↑↑ main_section ↑↑↑ */
/* ↓↓↓ top_image ↓↓↓ */
.top_image {
  max-width: 706px;
  margin: 0 auto 64px;
  display: block;
}

@media (max-width: 768px) {
  .top_image {
    max-width: 400px;
    margin-bottom: 48px;
  }
}

/* ↑↑↑ top_image ↑↑↑ */
/* ↓↓↓ info_wrap ↓↓↓ */
.info_wrap h2.title {
  width: 100%;
  height: 77px;
  padding: 0 24px;
  background-color: #0097B1;
  font-size: 2.0rem;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .info_wrap h2.title {
    height: 65px;
    font-size: 1.7rem;
    padding: 0;
    justify-content: center;
  }
}

/* ↑↑↑ info_wrap ↑↑↑ */
/* ↓↓↓ form ↓↓↓ */
form {
  padding: 0 24px 40px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #878787;
  background-color: #F0F0F0;
}

@media (max-width: 768px) {
  form {
    padding-bottom: 20px;
  }
}

form .read {
  width: 100%;
  height: 70px;
  display: flex;
  flex-wrap: wrap;
  place-content: center;
  border-bottom: 1px solid #C8C8C8;
}

form input[type="mail"],
form input[type="tel"],
form input[type="text"] {
  width: 100%;
  max-width: 360px;
  height: 32px;
  padding: 0 6px;
  vertical-align: bottom;
  background-color: #fff;
  border: 1px solid #C8C8C8;
  appearance: none;
  word-break: normal;
  color: #434343;
}

@media (max-width: 768px) {
  form input[type="text"] {
    max-width: 100%;
  }
}

form input[type="text"]::placeholder {
  color: #878787;
  letter-spacing: 0.1em;
}

form select.invalid,
form input[type="checkbox"].invalid,
form input[type="radio"].invalid,
form input.invalid {
  border-color: red !important;
}

form textarea:focus,
form select:focus,
form input[type="text"]:focus {
  border-color: #0097B1;
  outline: none;
}

form input[type="text"]:focus::placeholder {
  color: #fff;
}

form select {
  height: 32px;
  padding: 0 20px 0 6px;
  vertical-align: bottom;
  background-color: #fff;
  border: 1px solid #C8C8C8;
  appearance: none;
  word-break: normal;
  color: #434343;
  position: relative;
  background-image: url(../img/entry/select-arrow.svg);
  background-repeat: no-repeat;
  background-size: 10px auto;
  background-position: right 5px center;
}

.block + .block,
.notes + .block {
  margin-top: 12px;
}

@media (max-width: 768px) {

  .block + .block,
  .notes + .block {
    margin-top: 20px;
  }
}

.category {
  padding: 24px 0 48px;
  border-bottom: 1px solid #C8C8C8;
}

@media (max-width: 768px) {
  .category {
    padding-bottom: 24px;
  }
}

.category.reason {
  padding-bottom: 0;
  border-bottom: none;
}

.category .head {
  margin-bottom: 16px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  color: #646464;
}

.category .block {
  display: flex;
  align-items: center;
  position: relative;
}

@media (max-width: 768px) {
  .category .block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px 0;
  }
}

.category .block .title {
  width: 32%;
  padding-right: 16px;
  text-align: right;
  position: relative;
}

@media (max-width: 768px) {
  .category .block .title {
    width: fit-content;
    text-align: left;
  }
}

.category .block .title.inq {
  padding-right: 52px;
}

.category .block .title.inq::after {
  content: '必須';
  position: absolute;
  right: 16px;
  top: 2px;
  display: flex;
  flex-wrap: wrap;
  place-content: center;
  width: 28px;
  height: 18px;
  border-radius: 2px;
  font-size: 1rem;
  line-height: 1;
  color: #646464;
  border: 1px solid #646464;
}

.category .block .data {
  flex: 1;
  position: relative;
}

@media (max-width: 768px) {
  .category .block .data {
    width: 100%;
  }
}

.category .center {
  display: flex;
  align-items: center;
}

.category .start {
  display: flex;
  align-items: flex-start;
}

.category .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
}

.category label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #646464;
}

.category input[type="radio"] {
  margin-right: 6px;
  appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid #C8C8C8;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
  cursor: pointer;
}

.category label:has(input[type="radio"]:checked) {
  color: #4197D9;
}

.category input[type="radio"]:checked {
  border-color: #4197D9;

  &::before {
    content: "";
    display: block;
    position: absolute;
    width: 75%;
    height: 75%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #4197D9;
  }
}

.category .notes {
  width: 100%;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.basic .notes {
  margin-top: 5px;
}

.category label:has(input[type="checkbox"]:checked) {
  color: #4197D9;
}

.category input[type="checkbox"] {
  position: relative;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  appearance: none;
  background: #FFFFFF;
  border: solid 1px #C8C8C8;
  border-radius: 3px;
  transition-duration: 0.2s;
  transition-property: background-color, border, color;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    mask-image: url(../img/entry/check.svg);
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #FFFFFF;
  }

  &:checked {
    color: #4197D9;
    background: #4197D9;
    border-color: #4197D9;
  }

  &:checked::before {
    opacity: 1;
  }
}

.basic select[name="year"] {
  width: 88px;
}

.basic select[name="month"],
.basic select[name="day"] {
  width: 64px;
}

.basic .unit {
  display: block;
  padding: 0 6px;
}

.workhistory .wrap {
  position: relative;
}

.workhistory template + .wrap,
.workhistory .wrap + .wrap {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #C8C8C8;
}

.workhistory textarea {
  width: 100%;
  height: 144px;
  padding: 5px 6px;
  vertical-align: bottom;
  background-color: #fff;
  border: 1px solid #C8C8C8;
  appearance: none;
  word-break: normal;
  color: #434343;
  line-height: 1.7;
}

.workhistory .removeitem {
  position: absolute;
  top: 22px;
  left: 65px;
  display: block;
  width: 40px;
  height: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #4197D9;
  background-color: transparent;
  border: none;
  text-align: right;
  cursor: pointer;
  transition: opacity 300ms 0s ease;

  &::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 10px;
    height: 14px;
    background: url(../img/entry/icon-trash-can.svg)no-repeat;
  }
}

@media (min-width: 769px) {
  .workhistory .removeitem:hover {
    opacity: .7;
  }
}

.workhistory .additem {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 24px;
  background-color: #fff;
  border: 2px dashed #C8C8C8;
  font-size: 1.4rem;
  font-weight: 500;
  color: #4197D9;
  cursor: pointer;
  transition: border-color 200ms 0s ease;
}

.workhistory .additem:hover {
  border-color: #4197D9;
}

.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 90px auto 0;
  position: relative;
}

@media (max-width: 768px) {
  .btn-group {
    margin-top: 30px;
  }
}

.btn-group p {
  width: 100%;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.05em;

  a {
    padding-right: 18px;
    color: #4197D9;
    position: relative;
    transition: opacity 300ms 0s ease;

    @media (min-width: 769px) {
      &:hover {
        opacity: .7;
      }
    }

    &::after {
      content: '';
      position: absolute;
      top: 54%;
      right: 5px;
      translate: 0 -50%;
      width: 10px;
      height: 10px;
      background: url(../img/entry/icon-other.svg)no-repeat;
      background-size: contain;
    }
  }
}

.btn-group button[type="submit"] {
  width: 248px;
  height: 48px;
  background-color: #0097B1;
  border: none;
  border-radius: 4px;
  display: grid;
  place-content: center;
  font-family: var(--text-sans);
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background-color 300ms 0s ease;
}

.btn-group button.back {
  width: 248px;
  height: 48px;
  margin-right: 20px;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  display: grid;
  place-content: center;
  font-family: var(--text-sans);
  font-size: 1.6rem;
  font-weight: bold;
  color: #0097B1;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background-color 300ms 0s ease;
}

@media (min-width: 769px) {
  .btn-group button[type="submit"]:hover {
    background-color: #1abad6;
  }

  .btn-group button.back:hover {
    background-color: #b7f7e9;
  }
}

@media (max-width: 768px) {
  .btn-group button.back {
    margin-bottom: 20px;
    margin-right: 0;
  }
}

[x-cloak] {
  display: none !important;
}

.category .error {
  position: absolute;
  top: -32px;
  left: 0;
  width: fit-content;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-content: center;
  background-color: #C40000;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  border-radius: 4px;
  display: none;
}

.category .show .error {
  display: block;
}

.category .data:hover .error {
  display: block;
}

.conf .unit,
.conf .confTxt {
  color: #222;
}

.send_txt {
  padding: 24px 40px;
  background-color: #F0F0F0;
  font-size: 1.6rem;
  color: #333;
  text-align: justify;

  .btn {
    display: block;
    width: fit-content;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .send_txt {
    padding: 15px 20px;
  }
}

/* ↑↑↑ form ↑↑↑ */
/* ↓↓↓ footer_announce ↓↓↓ */
.footer_announce {
  display: block;
  width: 100%;
  margin-top: 88px;
  position: relative;
  container-type: inline-size;
}

.footer_announce picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .footer_announce {
    height: 160px;
    margin-top: 32px;

    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }
}

.footer_announce .text {
  position: absolute;
  top: 50%;
  left: 152px;
  translate: 0 -50%;
}

@container (max-width: 1032px) {
  .footer_announce .text {
    left: 14.7287cqw;
  }
}

@media (max-width: 768px) {
  .footer_announce .text {
    top: 47%;
    left: 22px;
    translate: 0;
  }
}

.footer_announce .text .line {
  display: block;
  width: fit-content;
  padding: 0 5px 2px;
  font-size: 4.0rem;
  font-weight: 900;
  line-height: 1.5;
  color: var(--text-color);
  background-color: #fff;
}

@container (max-width: 1032px) {
  .footer_announce .text .line {
    font-size: 3.87597cqw;
  }
}

@media (max-width: 768px) {
  .footer_announce .text .line {
    font-size: 2.0rem;
  }
}

.footer_announce .text .line + .line {
  margin-top: 5px;
}

/* ↑↑↑ footer_announce ↑↑↑ */