/* =============================================
   Recruit CTA Bar + Modal — shared component
   ============================================= */

/* --- Fixed CTA bar --- */

.recruit-cta-bar {
  position: fixed;
  bottom: 60px;
  right: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.recruit-cta-bar__entry,
.recruit-cta-bar__mail {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
}

.recruit-cta-bar__img {
  display: block;
  height: auto;
  max-width: 100%;
}

.recruit-cta-bar__entry .recruit-cta-bar__img {
  width: 195px;
}

.recruit-cta-bar__mail .recruit-cta-bar__img {
  width: 190px;
}

@media screen and (max-width: 480px) {
  .recruit-cta-bar {
    display: none;
  }
}

/* --- Modal --- */

.recruit-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.recruit-modal[aria-hidden='false'] {
  opacity: 1;
  visibility: visible;
}

.recruit-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  cursor: pointer;
}

.recruit-modal__dialog {
  position: relative;
  background: #ff0000;
  width: 500px;
  max-width: calc(100% - 80px);
  margin: 40px;
  padding: 10px 40px 50px;
  box-sizing: border-box;
}

.recruit-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  z-index: 1;
  line-height: 0;
}

.recruit-modal__title {
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  text-align: center;
  margin: 0;
  width: 100%;
}

.recruit-modal__subtitle {
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin: 25px 0 15px;
  width: 100%;
}

.recruit-modal__email-box {
  background: #fff;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.recruit-modal__email {
  color: #000;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 2;
  text-align: center;
  margin: 0;
}

@media screen and (max-width: 480px) {
  .recruit-modal__dialog {
    margin: 20px;
    padding: 10px 20px 40px;
    max-width: calc(100% - 40px);
  }
}
