.page-title {
  background-image: url(../images/recruit/title-bg-recruit.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 30.52vw;
  max-height: 417px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 12px;
}

.page-title .container {
  width: 100%;
}

.page-title .page-title-inner {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 95px;
  margin-left: -0.8em;
}

.page-title .title {
  font-size: 15px;
  line-height: 1;
  color: #fff;
  padding-bottom: 16px;
}

.page-title .caveat {
  font-size: 110px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}

.page-title .breadcrumb ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.page-title .breadcrumb ul li {
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #fff;
  display: flex;
  align-items: center;
}

.page-title .breadcrumb ul li:not(:last-child)::after {
  content: ">";
  display: inline-block;
  margin-left: 10px;
  font-size: 1.5em;
}

.page-title .breadcrumb ul li a {
  color: #fff !important;
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
  .page-title {
    padding-bottom: 0.9vw;
  }

  .page-title .page-title-inner {
    gap: 2.2vw;
    margin-bottom: 6.9vw;
  }

  .page-title .title {
    font-size: 1.1vw;
    padding-bottom: 1.2vw;
  }

  .page-title .caveat {
    font-size: 8vw;
  }

  .page-title .breadcrumb ul {
    gap: 0.75vw;
  }

  .page-title .breadcrumb ul li {
    font-size: 0.9vw;
  }

  .page-title .breadcrumb ul li:not(:last-child)::after {
    margin-left: 0.75vw;
  }
}

@media screen and (max-width: 767px) {
  .page-title {
    background-image: url(../images/recruit/title-bg-recruit-sp.png);
    height: 77.6vw;
    max-height: unset;
    padding-bottom: 1.6vw;
  }

  .page-title .page-title-inner {
    gap: 7vw;
    margin-bottom: 16vw;
    margin-left: 0;
  }

  .page-title .title {
    font-size: 4vw;
    padding-bottom: 3vw;
  }

  .page-title .caveat {
    font-size: 20vw;
    letter-spacing: 0.04em;
  }

  .page-title .breadcrumb ul {
    gap: 4vw;
  }

  .page-title .breadcrumb ul li {
    font-size: 3vw;
  }

  .page-title .breadcrumb ul li:not(:last-child)::after {
    margin-left: 4vw;
  }
}

.page-content {
  padding-top: 70px;
  padding-bottom: 70px;
  background-image: url(../images/recruit/bg.png);
  background-position: center top -50px;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.message-img {
  width: 189px;
  margin-bottom: 15px;
}

.message-title span {
  font-size: 35px;
  letter-spacing: 0.08em;
  line-height: 1.42;
  font-weight: bold;
  color: #000;
}

.message-title {
  margin-bottom: 45px;
}

.message-content {
  font-size: 18px;
  letter-spacing: 0.03em;
  line-height: 1.77;
  color: #000;
  margin-bottom: 1.8em;
}

.recruit-closed {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
letter-spacing: 0.03em;
line-height: 1.77;
color: #000;
margin-top: 100px;
margin-bottom: 500px;
}

@media screen and (max-width: 1200px) {
  .recruit-closed {
    font-size: 2.5vw;
    margin-top: 6.25vw;
    margin-bottom: 30.5vw;
  }
  
}


@media screen and (max-width: 767px) {
  .recruit-closed {
    font-size: 4.3vw;
    margin-top: 20vw;
    margin-bottom: 60vw;
  }
}

.recruit-tab .title {
  font-size: 32px;
  letter-spacing: 0.08em;
  line-height: 2.5;
  font-weight: bold;
  color: #000;
  margin-top: 50px;
}

.recruit-tab .sub-title {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.26;
  color: #4764dd;
}

.tab-container {
  margin-top: 45px;
}

.tab-buttons {
  display: flex;
  gap: 2%;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid #4764dd;
}

.tab-button {
  padding: 18px 0;
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
  color: #c1d7ea;
  background: #fff;
  border: 2px solid #c1d7ea;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  width: 45.9%;
}

.tab-button.active {
  color: #fff;
  background: #4764dd;
  border: 2px solid #4764dd;
}

.tab-content {
  padding: 10px 4% 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.recruit-info .recruit-info-item {
  display: flex;
  align-items: stretch;
  padding-top: 1.8em;
}

.recruit-info .recruit-info-item-title {
  font-size: 18px;
  font-weight: bold;
  width: 150px;
  border-bottom: 2px solid #4764dc;
}

.recruit-info .recruit-info-item-text-inner {
  padding-bottom: 2em;
  border-bottom: 2px solid #bebebe;
  padding-left: 2.5em;
  width: calc(100% - 150px);
}

.recruit-info .recruit-info-item-text {
  font-size: 16px;
  letter-spacing: 0;
  margin-bottom: 1.5em;
  line-height: 1.35;
}

.recruit-info .recruit-info-item-text:last-child {
  margin-bottom: 0;
}

.entry-button {
  width: 332px;
  display: block;
  margin: 0 auto;
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  padding: 20px 0 20px 55px;
  margin-top: 40px;
}

.entry-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #9198e5 0%, #203ac3 100%);
  opacity: 1;
  transition: all 0.3s ease;
}

.entry-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #203ac3, #9198e5);
  opacity: 0;
  transition: all 0.3s ease;
}

.entry-button span {
  font-size: 16px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.entry-button .entry-button-arrow {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 26px;
  height: 22px;
  z-index: 1;
}

.entry-button .entry-button-arrow::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  background-image: url(../images/recruit/right.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: none;
}

.entry-button .entry-button-arrow::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-60%, 0);
  background-image: url(../images/recruit/right.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: none;
}

@media screen and (min-width: 768px) {
  .entry-button:hover .entry-button-arrow::after {
    opacity: 1;
    transform: translate(0, 0);
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease 0.3s;
  }
  .entry-button:hover .entry-button-arrow::before {
    opacity: 0;
    transform: translate(40%, 0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

@media screen and (max-width: 1200px) {
  .page-content {
    padding-top: 5.8vw;
    padding-bottom: 5.8vw;
  }

  .message-img {
    width: 15.7vw;
    margin-bottom: 1.25vw;
  }

  .message-title span {
    font-size: 2.9vw;
  }

  .message-title {
    margin-bottom: 3.75vw;
  }

  .message-content {
    font-size: 1.5vw;
  }

  .recruit-tab .title {
    font-size: 2.6vw;
    margin-top: 4.1vw;
  }

  .recruit-tab .sub-title {
    font-size: 1.25vw;
  }

  .tab-container {
    margin-top: 3.75vw;
  }

  .tab-button {
    padding: 1.5vw 0;
    font-size: 1.67vw;
  }

  .tab-content {
    padding: 0.83vw 4% 0;
  }

  .recruit-info .recruit-info-item-title {
    font-size: 1.5vw;
    width: 12.5vw;
  }

  .recruit-info .recruit-info-item-text-inner {
    width: calc(100% - 12.5vw);
  }

  .recruit-info .recruit-info-item-text {
    font-size: 1.33vw;
  }

  .entry-button {
    width: 27.67vw;
    border-radius: 4.16vw;
    padding: 1.67vw 0 1.67vw 4.58vw;
    margin-top: 3.33vw;
  }

  .entry-button span {
    font-size: 1.33vw;
  }

  .entry-button .entry-button-arrow {
    right: 1.6vw;
    width: 2.1vw;
    height: 1.8vw;
  }
}

@media screen and (min-width: 768px) {
  .entry-button:hover::before {
    opacity: 0;
  }

  .entry-button:hover::after {
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .page-content {
    padding-top: 10.6vw;
    padding-bottom: 18vw;
    background-image: unset;
  }

  .message-img {
    width: 42.1vw;
    margin-bottom: 5vw;
  }

  .message-title span {
    font-size: 5.3vw;
    line-height: 1.5;
  }

  .message-title {
    margin-bottom: 7vw;
  }

  .message-content {
    font-size: 4.3vw;
    letter-spacing: 0;
  }

  .recruit-tab .title {
    font-size: 5.6vw;
    margin-top: 0;
    line-height: 1;
  }

  .recruit-tab .sub-title {
    font-size: 4vw;
    margin-top: 2vw;
  }

  .tab-container {
    margin-top: 11vw;
  }

  .tab-buttons {
    gap: 4%;
    border-bottom: 2px solid #4764dd;
  }

  .tab-button {
    width: 44%;
    padding: 4vw 0;
    font-size: 4.5vw;
  }

  .tab-content {
    padding: 3.5vw 5% 0;
  }

  .recruit-info .recruit-info-item {
    flex-direction: column;
    padding-top: 5.5vw;
  }

  .recruit-info .recruit-info-item-title {
    font-size: 4.5vw;
    width: 100%;
    border-bottom: unset;
  }

  .recruit-info .recruit-info-item-text-inner {
    width: 100%;
    padding-left: 0;
    padding-top: 3.5vw;
    position: relative;
    border-bottom: 0.5vw solid #bebebe;
  }

  .recruit-info .recruit-info-item-text-inner::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5vw;
    width: 26.6vw;
    height: 0.5vw;
    background-color: #4764dc;
  }

  .recruit-info .recruit-info-item-text {
    font-size: 4vw;
    line-height: 1.6;
  }

  .entry-button {
    width: 84vw;
    border-radius: 5vw;
    padding: 4vw 0 4vw 7vw;
    margin-top: 10vw;
    border-radius: 8vw;
  }

  .entry-button span {
    font-size: 5vw;
  }

  .entry-button .entry-button-arrow {
    right: 5.3vw;
    width: 6.9vw;
    height: 5.8vw;
  }
}
