@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #101010;
  background: #FFFFFF;
  overflow-x: hidden;
}

/* ======================== */
/* Navigation               */
/* ======================== */
/*.nav-container {*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 50%;*/
/*  transform: translateX(-50%);*/
/*  width: 1128px;*/
/*  max-width: calc(100% - 40px);*/
/*  z-index: 50;*/
/*  background: rgba(255, 255, 255, 0.2);*/
/*  backdrop-filter: blur(8px);*/
/*  -webkit-backdrop-filter: blur(8px);*/
/*  border-radius: 0 0 80px 80px;*/
/*}*/

/*.nav-inner {*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: center;*/
/*  padding: 0 80px;*/
/*  height: 56px;*/
/*}*/

/*.nav-links {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 32px;*/
/*}*/

/*.nav-links a {*/
/*  font-family: 'Noto Sans JP', sans-serif;*/
/*  font-size: 14px;*/
/*  font-weight: 400;*/
/*  line-height: 1.43;*/
/*  color: #101010;*/
/*  text-decoration: none;*/
/*}*/

/*.nav-links a.nav-active {*/
/*  color: #585858;*/
/*}*/

/*.nav-contact-btn {*/
/*  display: inline-flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  padding: 0 24px;*/
/*  height: 40px;*/
/*  background: #101010;*/
/*  color: #FFFFFF !important;*/
/*  border-radius: 80px;*/
/*  font-weight: 500;*/
/*  font-size: 14px;*/
/*  line-height: 1.43;*/
/*}*/

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #101010;
}

/* ======================== */
/* Hero Section (bg)        */
/* ======================== */
/*.career-info-hero {*/
/*  width: 100%;*/
/*  height: 264px;*/
/*  background: #5FA9D1;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: flex-end;*/
/*  align-items: center;*/
/*  padding: 56px 156px;*/
/*}*/

/*.career-info-hero-content {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 24px;*/
/*  width: 100%;*/
/*  max-width: 815px;*/
/*}*/

.career-info-hero-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #FFFFFF;
}

.career-info-hero-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.career-info-hero-heading .heading-text {
  height: 60px;
}

/*.career-info-hero-heading .heading-icon {*/
/*  width: 40px;*/
/*  height: 40px;*/
/*}*/

/* ======================== */
/* Banner Image (bg)        */
/* ======================== */
.career-info-banner {
  width: 100%;
  height: 498px;
  overflow: hidden;
}

.career-info-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================== */
/* Modal Overlay            */
/* ======================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 42, 42, 0.8);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 72px;
  overflow-y: auto;
}

.modal-overlay.hidden {
  display: none;
}

/* ======================== */
/* Modal Container          */
/* ======================== */
.modal {
  width: 744px;
  max-width: calc(100% - 40px);
  background: #FFFFFF;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 85px;
  flex-shrink: 0;
  border-bottom: 1px solid #F2F2F2;
}

.modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #0A0A0A;
}

.modal-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: -0.01em;
  color: #4A5565;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
}

.modal-close:hover {
  background: #F2F2F2;
}

.modal-close img {
  width: 36px;
  height: 36px;
}

/* Modal Body */
.modal-body {
  background: #FFFFFF;
  border-radius: 0 0 10px 10px;
  box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.1), 0px 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ======================== */
/* Form                     */
/* ======================== */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 24px 24px;
}

/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 20px;
}

.form-label-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-label-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: -0.01em;
  color: #0A0A0A;
}

.form-label-required {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: -0.01em;
  color: #FB2C36;
  margin-left: -4px;
}

/* Text Input */
.form-input {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #D1D5DC;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

.form-input:focus {
  border-color: #5FA9D1;
}

/* Textarea */
.form-textarea {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid #D1D5DC;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  background: #FFFFFF;
  outline: none;
  resize: vertical;
  min-height: 144px;
  transition: border-color 0.2s;
}

.form-textarea::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

.form-textarea:focus {
  border-color: #5FA9D1;
}

/* File Upload */
.form-file-upload {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 26px 26px 26px;
  border: 2px dashed #D1D5DC;
  border-radius: 4px;
  min-height: 132px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.form-file-upload:hover {
  border-color: #5FA9D1;
  background: rgba(95, 169, 209, 0.04);
}

.form-file-upload.dragover {
  border-color: #5FA9D1;
  background: rgba(95, 169, 209, 0.08);
}

.form-file-upload-icon {
  width: 32px;
  height: 32px;
}

.form-file-upload-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: -0.01em;
  color: #4A5565;
  text-align: center;
}

.form-file-upload-hint {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  color: #6A7282;
  text-align: center;
}

.form-file-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #5FA9D1;
  text-align: center;
  margin-top: 4px;
  display: none;
}

.form-file-name.show {
  display: block;
}

.form-file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.form-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #F7F9FB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
}

.form-file-item-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #5FA9D1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 8px;
}

.form-file-item-remove {
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.form-file-item-remove:hover {
  color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
}

/* Button Row */
.form-buttons {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #F2F2F2;
}

.form-btn {
  flex: 1;
  height: 50px;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-btn-cancel {
  background: #FFFFFF;
  color: #0A0A0A;
  border: 1px solid #D1D5DC;
}

.form-btn-cancel:hover {
  background: #F9FAFB;
}

.form-btn-submit {
  background: #101010;
  color: #FFFFFF;
  border: none;
}

.form-btn-submit:hover {
  opacity: 0.85;
}

/* ======================== */
/* Success View             */
/* ======================== */
.modal-success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 45px 24px 64px;
}

.modal-success-view .offer-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 40px;
}

.offer-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #101010;
  text-align: center;
  margin-bottom: 20px;
}

.offer-description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: #585858;
  text-align: center;
  margin-bottom: 64px;
}

.offer-info-box {
  background: #F2F2F2;
  border-radius: 8px;
  padding: 10px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 552px;
  max-width: 100%;
}

.offer-info-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.offer-info-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5FA9D1;
  flex-shrink: 0;
}

.offer-info-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.71;
  letter-spacing: -0.02em;
  color: #585858;
}

/* ======================== */
/* Responsive: 1280px       */
/* ======================== */
@media (max-width: 1280px) {
  /*.career-info-hero {*/
  /*  padding: 56px 40px;*/
  /*  height: auto;*/
  /*  min-height: 200px;*/
  /*}*/

  .career-info-banner {
    height: 360px;
  }

  .modal-overlay {
    padding-top: 40px;
  }

  .nav-inner {
    padding: 0 40px;
  }
}

/* ======================== */
/* Responsive: 768px        */
/* ======================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 24px;
    gap: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-inner {
    height: 56px;
    padding: 0 16px;
  }

  /*.career-info-hero {*/
  /*  padding: 48px 20px;*/
  /*  height: auto;*/
  /*  min-height: 180px;*/
  /*}*/

  /*.career-info-hero-heading .heading-text {*/
  /*  height: 36px;*/
  /*}*/

  /*.career-info-hero-heading .heading-icon {*/
  /*  width: 28px;*/
  /*  height: 28px;*/
  /*}*/

  .career-info-banner {
    height: 240px;
  }

  .modal-overlay {
    padding-top: 20px;
    align-items: flex-start;
  }

  .modal {
    max-width: calc(100% - 20px);
  }

  .modal-header {
    padding: 0 16px;
    height: 72px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-form {
    padding: 20px 16px 20px;
    gap: 20px;
  }

  .form-buttons {
    flex-direction: column-reverse;
  }

  .form-btn {
    width: 100%;
    font-size: 14px;
    line-height: 40px;
  }

  .modal-success-view {
    padding: 32px 16px 40px;
  }

  .modal-success-view .offer-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .offer-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .offer-description {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .offer-info-box {
    padding: 10px 20px;
    width: 100%;
  }

  .offer-info-text {
    font-size: 13px;
  }
}
