html {
    scroll-behavior: smooth;
}

.section-theme-recruit {
    scroll-margin-top: 80px;
}

.page-sub-title-en{
    position: relative;
    font-family: "Montserrat",sans-serif;
}

.section-page-header h3 {
    padding-left: 9px;
}

.btn-under-allow {
  background-color: #f5f5f5;
  color: #000;
  width: 170px;
}


.section-new-graduate{
    padding: 5% 0;
}

.section-mid-career{
    padding-bottom: 0!important;
}

.section-mid-career-header {
    padding: 2% 0 5%;
}

.section-new-graduate-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-mid-career-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: #fff;
  padding: 0 0 6%;
}

.recruit-occupation {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 37px;
    letter-spacing: 0.08em;
    color: #262A42;
    border-bottom: #262A42 solid 1px;
    padding-bottom: 8px;
}
    
.recruit-img-left {
  display: flex;
  flex-direction: row;
  gap:56px;
  padding-bottom: 2%;
}

.recruit-img-right {
  display: flex;
  flex-direction: row-reverse;
  gap: 56px;
  padding-bottom: 2%;
}

.section-new-graduate-content-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

[class^="recruit-img-"] img{
  height: 100%;
  width: 49%;
  border-radius: 24px;
}

.white-space {
    background-color: #fff;
    height: 0px;
}

.section-button {
    background-color: #F9F6F2;
    padding:16px 0 !important;
}

.section-button .inner {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

.btn-under-allow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #262A42;
    padding: 12px 5px 12px 10px;
    position: relative;
    cursor: pointer;
    border-radius: 27px;
    letter-spacing: 0.08em;
    border: 1px solid #e4e4dd;
}

.fa-arrow-down:before {
    padding-left: 6px;
    font-size: 14px;
    color: #ff6b4c;
}

.btn-under-allow:hover {
    background-color: #262A42;
    color: #fff;
}

.btn-under-allow span {
    position: relative;
    font-size: 14px;
}

.mirapro-recruit-message {
    padding: 4% 10%;
    background: url(../images/about-bg.png) no-repeat;
    background-size: cover;
}

.mirapro-recruit-message p {
    font-size: 18px;
    color: #262A42;
    line-height: 34px;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.staff-blog-title {
    font-family: Montserrat,sans-serif;
    font-size: 78px;
    font-weight: 700;
    line-height: 73.32px;
    text-align: left;
    color: #ffdb3a;
    -webkit-text-stroke: 1px #262a42;

}
.staff-blog-title img {
    height: 7vw;
}
.staff-blog-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.section-new-graduate-content-text-banner {
    display: inline-flex;
    justify-content: flex-start;
    gap: 24px;
}

.section-new-graduate-content-text-banner a {
    width: 100%;
    border: solid 1px rgba(221, 220, 225, 1);
    padding: 16px;
    border-radius: 8px;
}
.section-new-graduate-content-text-banner a:hover {
    opacity: 0.7;
}


.section-new-graduate-content-text-banner img {
    width: 100%;
    border-radius: 0;
}

.section-home-news .inner {
    padding: 0 7%;
}

.entry-content {
    line-height: 0;
}

.staffblog-wrap .job-sub-title-jp {
    padding: 14px 0 11px;
  }

.section-new-graduate-content-text-btn-inactive {
    color: #fff;
    background-color: #ccc;
    padding: 20px;
    font-size: 14px;
    text-align: center;
}

.section-new-graduate-content-text-btn a {
    min-width: 250px;
}

.saiyou-sns {
  background: #32315e;
  height: 300px;
  background-image: linear-gradient(90deg, rgb(80 80 109), rgb(50 49 94));
  position: relative;
  background-image: linear-gradient(90deg, rgb(22 22 50), rgb(67 66 112));
}

.saiyou-sns .section-recruit {
  margin-left: 30%;
  padding-top: 40px;
  height: auto;
  display: flex;
  align-items: center;
}

.saiyou-sns .section-title-en img {
    height: 90px;
    object-fit: contain;
    z-index: 2;
}

.saiyou-sns .section-title {
  position: relative;
  margin-left: 8px;

  z-index: 2;
}

.saiyou-sns .section-title-text {
  font-family: "Noto Sans JP",sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 23px;
  letter-spacing: 0.08em;

  color: white;
}

.saiyou-sns .home-recruit-image {
  max-width: 431px;
  width: 43%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.saiyou-sns .section-recruit-links {
  display: flex;
  flex-direction: column;
  margin-left: 30%;
  margin-top: 32px;
  z-index: 2;
  position: relative;
}

.saiyou-sns .section-recruit-subtxt {
  font-size: 13px;
  color: #A8B4FF;
  padding-top: 8px;
  line-height: normal;
}

.saiyou-sns .recruit-buttons {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.saiyou-sns .recruit-buttons .fa {
  margin-left: 16px;
}

.saiyou-sns .recruit-button-insta {
  background-image: linear-gradient(90deg, #ffffff 1%, #ffcfda);
  box-shadow: 4px 4px #ff74ce;
  max-width: 250px;
}

.saiyou-sns .recruit-button-insta:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: -3px 5px 0 0;
  background: url("../images/saiyou_sns-insta.png") no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.saiyou-sns .recruit-button-tiktok {
  background-image: linear-gradient(90deg, #ffffff 1%, #BCEDEE);
  box-shadow: 4px 4px #2DCCD3;
}
.saiyou-sns .recruit-button-tiktok:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: -3px 5px 0 0;
  background: url("../images/saiyou_sns-tiktok.png") no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.saiyou-sns .recruit-button {
  transition-duration: 0.5s;
  padding: 14px;
  border: 1px solid #fff;
  font-family: "Noto Sans JP",sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 240px;  
  border-radius: 5px;
}

.saiyou-sns .recruit-button:hover {
  border: 1px solid #fff;
  background: #32315e;
  color: white;
  box-shadow: none;
}
.saiyou-sns .recruit-link-button {
  display: flex;
  width: 240px;
}

.saiyou-sns .recruit-link-button a.btn {
  position: relative;
  text-decoration: none;
  color: white;

  font-family: "Noto Sans JP",sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  letter-spacing: 0.04em;
}
.saiyou-sns .recruit-link-button a.btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -8px;
  left: 0;
  background-color: #ffdb3a;
  transition: all 0.6s ease-in-out;
}

.saiyou-sns .recruit-link-button a.btn:hover::before {
  height: 2px;
}

.saiyou-sns .recruit-link-button a.btn .fa {
  margin-left: 12px;
  color: #ffdb3a;
}

@media screen and (max-width: 770px) {

    .staff-blog-title img {
        height: 120px;
    }
    .recruit-img-left, .recruit-img-right {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    [class^="recruit-img-"] img{
        width: 87%;
        border-radius: 14px;
      }

    .section-new-graduate-content-text-banner img {
        width: 100%;
        border-radius: 0;
    }

    .section-new-graduate-content-text-btn {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: left;
        max-width: 250px;
    }

    .section-new-graduate-content-text-banner {
        gap: 8px;
    }

    .section-button .inner {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .section-home-news .inner {
        padding: 0 2%;
    }

    .section-button .inner > .btn-under-allow {
        flex: 1 1 calc(50% - 20px); /* 2列に分ける */
        box-sizing: border-box;
        max-width: 45%;
        padding: 8px 4px 8px 13px;
    }


    .section-button .inner > .btn-under-allow:nth-child(3):nth-last-child(1):after {
        max-width: 45%;
    }
    .section-new-graduate-content-text {
        width: 100%;
    }
    .mirapro-recruit-message {
        padding: 40px 6%;
        font-size: 14px;
    }

    .section-new-graduate-content-text-banner a {
        width: 100%;
        border: solid 1px rgba(221, 220, 225, 1);
        padding: 11px 6px;
        border-radius: 8px;
        height: auto;
        text-align: center;
    }

    .recruit-occupation {
        font-family: "Noto Sans JP", sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 27px;
        letter-spacing: 0.08em;
        color: #262A42;
    }
    .section-mid-career-content {
        padding: 0 0 12%;
        gap: 24px;
    }
      .mirapro-recruit-message p {
        font-size: 14px;
        line-height: 30px;
        letter-spacing: 0.08em;
        font-weight: 700;
    }
      .staffblog-wrap .job-sub-title-jp {
        padding: 10px 0;
    }
      .staff-blog-content {
        gap: 0px;
    }

      .saiyou-sns {
        padding-top: 186px;
        padding-bottom: 40px;
        height: auto;
    }

      .saiyou-sns .home-recruit-image {
        width: 90%;
        max-width:570px;
    }
      .saiyou-sns .section-recruit {
        margin-left: 24px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0;
    }
      .saiyou-sns .section-title-en img {
          height: 90px;
          object-fit: contain;
          z-index: 2;
          margin-left: 0;
    }
      .saiyou-sns .section-title {
          margin-top: 8px;
          margin-left: 0;
    }
      .saiyou-sns .section-recruit-links {
          margin: 0 24px;
    }
      .saiyou-sns .recruit-button-insta {
          font-size: 14px;
    }
      .saiyou-sns .recruit-button-tiktok {
          font-size: 14px;
    }
    .saiyou-sns .recruit-button {
          padding: 12px;
          margin-left: 0;
    }
      .saiyou-sns .recruit-buttons {
          gap: 16px;
          flex-direction: column;
    }
    .saiyou-sns .section-recruit-subtxt {
          padding: 8px 0 24px;
    }
  }
